OSDN Git Service

* acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT_ancilliary): Print
[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 LIBTOOL CXXCPP CPPFLAGS 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 CPP EGREP 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_MAP port_specific_symbol_files ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_DARWIN_EXPORT_TRUE ENABLE_SYMVERS_DARWIN_EXPORT_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_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_CXXCPP_set=${CXXCPP+set}
754 ac_env_CXXCPP_value=$CXXCPP
755 ac_cv_env_CXXCPP_set=${CXXCPP+set}
756 ac_cv_env_CXXCPP_value=$CXXCPP
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_CPP_set=${CPP+set}
762 ac_env_CPP_value=$CPP
763 ac_cv_env_CPP_set=${CPP+set}
764 ac_cv_env_CPP_value=$CPP
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-c99            turns on ISO/IEC 9899:1999 support
873                           [default=yes]
874   --enable-long-long      enable template specializations for 'long long'
875                           [default=yes]
876   --enable-wchar_t        enable template specializations for 'wchar_t'
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-symvers=STYLE  enables symbol versioning of the shared library
891                           [default=yes]
892   --enable-version-specific-runtime-libs
893                           Specify that runtime libraries should be installed
894                           in a compiler-specific directory
895
896 Optional Packages:
897   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
898   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
899   --with-target-subdir=SUBDIR
900                           configuring in a subdirectory
901   --with-cross-host=HOST  configuring with a cross compiler
902   --with-newlib           assume newlib as a system C library
903   --with-gnu-ld           assume the C compiler uses GNU ld default=no
904   --with-pic              try to use only PIC/non-PIC objects default=use both
905   --with-gxx-include-dir=DIR
906                           installation directory for include files
907
908 Some influential environment variables:
909   CC          C compiler command
910   CFLAGS      C compiler flags
911   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
912               nonstandard directory <lib dir>
913   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
914               headers in a nonstandard directory <include dir>
915   CXX         C++ compiler command
916   CXXFLAGS    C++ compiler flags
917   CXXCPP      C++ preprocessor
918   CPP         C preprocessor
919
920 Use these variables to override the choices made by `configure' or to help
921 it to find libraries and programs with nonstandard names/locations.
922
923 _ACEOF
924 fi
925
926 if test "$ac_init_help" = "recursive"; then
927   # If there are subdirs, report their specific --help.
928   ac_popdir=`pwd`
929   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
930     test -d $ac_dir || continue
931     ac_builddir=.
932
933 if test "$ac_dir" != .; then
934   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
935   # A "../" for each directory in $ac_dir_suffix.
936   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
937 else
938   ac_dir_suffix= ac_top_builddir=
939 fi
940
941 case $srcdir in
942   .)  # No --srcdir option.  We are building in place.
943     ac_srcdir=.
944     if test -z "$ac_top_builddir"; then
945        ac_top_srcdir=.
946     else
947        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
948     fi ;;
949   [\\/]* | ?:[\\/]* )  # Absolute path.
950     ac_srcdir=$srcdir$ac_dir_suffix;
951     ac_top_srcdir=$srcdir ;;
952   *) # Relative path.
953     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
954     ac_top_srcdir=$ac_top_builddir$srcdir ;;
955 esac
956
957 # Do not use `cd foo && pwd` to compute absolute paths, because
958 # the directories may not exist.
959 case `pwd` in
960 .) ac_abs_builddir="$ac_dir";;
961 *)
962   case "$ac_dir" in
963   .) ac_abs_builddir=`pwd`;;
964   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
965   *) ac_abs_builddir=`pwd`/"$ac_dir";;
966   esac;;
967 esac
968 case $ac_abs_builddir in
969 .) ac_abs_top_builddir=${ac_top_builddir}.;;
970 *)
971   case ${ac_top_builddir}. in
972   .) ac_abs_top_builddir=$ac_abs_builddir;;
973   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
974   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
975   esac;;
976 esac
977 case $ac_abs_builddir in
978 .) ac_abs_srcdir=$ac_srcdir;;
979 *)
980   case $ac_srcdir in
981   .) ac_abs_srcdir=$ac_abs_builddir;;
982   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
983   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
984   esac;;
985 esac
986 case $ac_abs_builddir in
987 .) ac_abs_top_srcdir=$ac_top_srcdir;;
988 *)
989   case $ac_top_srcdir in
990   .) ac_abs_top_srcdir=$ac_abs_builddir;;
991   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
992   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
993   esac;;
994 esac
995
996     cd $ac_dir
997     # Check for guested configure; otherwise get Cygnus style configure.
998     if test -f $ac_srcdir/configure.gnu; then
999       echo
1000       $SHELL $ac_srcdir/configure.gnu  --help=recursive
1001     elif test -f $ac_srcdir/configure; then
1002       echo
1003       $SHELL $ac_srcdir/configure  --help=recursive
1004     elif test -f $ac_srcdir/configure.ac ||
1005            test -f $ac_srcdir/configure.in; then
1006       echo
1007       $ac_configure --help
1008     else
1009       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1010     fi
1011     cd $ac_popdir
1012   done
1013 fi
1014
1015 test -n "$ac_init_help" && exit 0
1016 if $ac_init_version; then
1017   cat <<\_ACEOF
1018 package-unused configure version-unused
1019 generated by GNU Autoconf 2.59
1020
1021 Copyright (C) 2003 Free Software Foundation, Inc.
1022 This configure script is free software; the Free Software Foundation
1023 gives unlimited permission to copy, distribute and modify it.
1024 _ACEOF
1025   exit 0
1026 fi
1027 exec 5>config.log
1028 cat >&5 <<_ACEOF
1029 This file contains any messages produced by compilers while
1030 running configure, to aid debugging if configure makes a mistake.
1031
1032 It was created by package-unused $as_me version-unused, which was
1033 generated by GNU Autoconf 2.59.  Invocation command line was
1034
1035   $ $0 $@
1036
1037 _ACEOF
1038 {
1039 cat <<_ASUNAME
1040 ## --------- ##
1041 ## Platform. ##
1042 ## --------- ##
1043
1044 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1045 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1046 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1047 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1048 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1049
1050 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1051 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1052
1053 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1054 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1055 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1056 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1057 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1058 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1059 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1060
1061 _ASUNAME
1062
1063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1064 for as_dir in $PATH
1065 do
1066   IFS=$as_save_IFS
1067   test -z "$as_dir" && as_dir=.
1068   echo "PATH: $as_dir"
1069 done
1070
1071 } >&5
1072
1073 cat >&5 <<_ACEOF
1074
1075
1076 ## ----------- ##
1077 ## Core tests. ##
1078 ## ----------- ##
1079
1080 _ACEOF
1081
1082
1083 # Keep a trace of the command line.
1084 # Strip out --no-create and --no-recursion so they do not pile up.
1085 # Strip out --silent because we don't want to record it for future runs.
1086 # Also quote any args containing shell meta-characters.
1087 # Make two passes to allow for proper duplicate-argument suppression.
1088 ac_configure_args=
1089 ac_configure_args0=
1090 ac_configure_args1=
1091 ac_sep=
1092 ac_must_keep_next=false
1093 for ac_pass in 1 2
1094 do
1095   for ac_arg
1096   do
1097     case $ac_arg in
1098     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1099     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1100     | -silent | --silent | --silen | --sile | --sil)
1101       continue ;;
1102     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1103       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1104     esac
1105     case $ac_pass in
1106     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1107     2)
1108       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1109       if test $ac_must_keep_next = true; then
1110         ac_must_keep_next=false # Got value, back to normal.
1111       else
1112         case $ac_arg in
1113           *=* | --config-cache | -C | -disable-* | --disable-* \
1114           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1115           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1116           | -with-* | --with-* | -without-* | --without-* | --x)
1117             case "$ac_configure_args0 " in
1118               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1119             esac
1120             ;;
1121           -* ) ac_must_keep_next=true ;;
1122         esac
1123       fi
1124       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1125       # Get rid of the leading space.
1126       ac_sep=" "
1127       ;;
1128     esac
1129   done
1130 done
1131 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1132 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1133
1134 # When interrupted or exit'd, cleanup temporary files, and complete
1135 # config.log.  We remove comments because anyway the quotes in there
1136 # would cause problems or look ugly.
1137 # WARNING: Be sure not to use single quotes in there, as some shells,
1138 # such as our DU 5.0 friend, will then `close' the trap.
1139 trap 'exit_status=$?
1140   # Save into config.log some information that might help in debugging.
1141   {
1142     echo
1143
1144     cat <<\_ASBOX
1145 ## ---------------- ##
1146 ## Cache variables. ##
1147 ## ---------------- ##
1148 _ASBOX
1149     echo
1150     # The following way of writing the cache mishandles newlines in values,
1151 {
1152   (set) 2>&1 |
1153     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1154     *ac_space=\ *)
1155       sed -n \
1156         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1157           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1158       ;;
1159     *)
1160       sed -n \
1161         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1162       ;;
1163     esac;
1164 }
1165     echo
1166
1167     cat <<\_ASBOX
1168 ## ----------------- ##
1169 ## Output variables. ##
1170 ## ----------------- ##
1171 _ASBOX
1172     echo
1173     for ac_var in $ac_subst_vars
1174     do
1175       eval ac_val=$`echo $ac_var`
1176       echo "$ac_var='"'"'$ac_val'"'"'"
1177     done | sort
1178     echo
1179
1180     if test -n "$ac_subst_files"; then
1181       cat <<\_ASBOX
1182 ## ------------- ##
1183 ## Output files. ##
1184 ## ------------- ##
1185 _ASBOX
1186       echo
1187       for ac_var in $ac_subst_files
1188       do
1189         eval ac_val=$`echo $ac_var`
1190         echo "$ac_var='"'"'$ac_val'"'"'"
1191       done | sort
1192       echo
1193     fi
1194
1195     if test -s confdefs.h; then
1196       cat <<\_ASBOX
1197 ## ----------- ##
1198 ## confdefs.h. ##
1199 ## ----------- ##
1200 _ASBOX
1201       echo
1202       sed "/^$/d" confdefs.h | sort
1203       echo
1204     fi
1205     test "$ac_signal" != 0 &&
1206       echo "$as_me: caught signal $ac_signal"
1207     echo "$as_me: exit $exit_status"
1208   } >&5
1209   rm -f core *.core &&
1210   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1211     exit $exit_status
1212      ' 0
1213 for ac_signal in 1 2 13 15; do
1214   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1215 done
1216 ac_signal=0
1217
1218 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1219 rm -rf conftest* confdefs.h
1220 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1221 echo >confdefs.h
1222
1223 # Predefined preprocessor variables.
1224
1225 cat >>confdefs.h <<_ACEOF
1226 #define PACKAGE_NAME "$PACKAGE_NAME"
1227 _ACEOF
1228
1229
1230 cat >>confdefs.h <<_ACEOF
1231 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1232 _ACEOF
1233
1234
1235 cat >>confdefs.h <<_ACEOF
1236 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1237 _ACEOF
1238
1239
1240 cat >>confdefs.h <<_ACEOF
1241 #define PACKAGE_STRING "$PACKAGE_STRING"
1242 _ACEOF
1243
1244
1245 cat >>confdefs.h <<_ACEOF
1246 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1247 _ACEOF
1248
1249
1250 # Let the site file select an alternate cache file if it wants to.
1251 # Prefer explicitly selected file to automatically selected ones.
1252 if test -z "$CONFIG_SITE"; then
1253   if test "x$prefix" != xNONE; then
1254     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1255   else
1256     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1257   fi
1258 fi
1259 for ac_site_file in $CONFIG_SITE; do
1260   if test -r "$ac_site_file"; then
1261     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1262 echo "$as_me: loading site script $ac_site_file" >&6;}
1263     sed 's/^/| /' "$ac_site_file" >&5
1264     . "$ac_site_file"
1265   fi
1266 done
1267
1268 if test -r "$cache_file"; then
1269   # Some versions of bash will fail to source /dev/null (special
1270   # files actually), so we avoid doing that.
1271   if test -f "$cache_file"; then
1272     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1273 echo "$as_me: loading cache $cache_file" >&6;}
1274     case $cache_file in
1275       [\\/]* | ?:[\\/]* ) . $cache_file;;
1276       *)                      . ./$cache_file;;
1277     esac
1278   fi
1279 else
1280   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1281 echo "$as_me: creating cache $cache_file" >&6;}
1282   >$cache_file
1283 fi
1284
1285 # Check that the precious variables saved in the cache have kept the same
1286 # value.
1287 ac_cache_corrupted=false
1288 for ac_var in `(set) 2>&1 |
1289                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1290   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1291   eval ac_new_set=\$ac_env_${ac_var}_set
1292   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1293   eval ac_new_val="\$ac_env_${ac_var}_value"
1294   case $ac_old_set,$ac_new_set in
1295     set,)
1296       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1297 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1298       ac_cache_corrupted=: ;;
1299     ,set)
1300       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1301 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1302       ac_cache_corrupted=: ;;
1303     ,);;
1304     *)
1305       if test "x$ac_old_val" != "x$ac_new_val"; then
1306         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1307 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1308         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1309 echo "$as_me:   former value:  $ac_old_val" >&2;}
1310         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1311 echo "$as_me:   current value: $ac_new_val" >&2;}
1312         ac_cache_corrupted=:
1313       fi;;
1314   esac
1315   # Pass precious variables to config.status.
1316   if test "$ac_new_set" = set; then
1317     case $ac_new_val in
1318     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1319       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1320     *) ac_arg=$ac_var=$ac_new_val ;;
1321     esac
1322     case " $ac_configure_args " in
1323       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1324       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1325     esac
1326   fi
1327 done
1328 if $ac_cache_corrupted; then
1329   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1330 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1331   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1332 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1333    { (exit 1); exit 1; }; }
1334 fi
1335
1336 ac_ext=c
1337 ac_cpp='$CPP $CPPFLAGS'
1338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1341
1342
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           ac_config_headers="$ac_config_headers config.h"
1370
1371
1372 # This works around the fact that libtool configuration may change LD
1373 # for this particular configuration, but some shells, instead of
1374 # keeping the changes in LD private, export them just because LD is
1375 # exported.  Only used at the end of this file.
1376 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
1377
1378 # For libtool versioning info, format is CURRENT:REVISION:AGE
1379 libtool_VERSION=6:6:0
1380
1381
1382 # Find the rest of the source tree framework.
1383 # Default to --enable-multilib
1384 # Check whether --enable-multilib or --disable-multilib was given.
1385 if test "${enable_multilib+set}" = set; then
1386   enableval="$enable_multilib"
1387   case "$enableval" in
1388   yes) multilib=yes ;;
1389   no)  multilib=no ;;
1390   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1391 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1392    { (exit 1); exit 1; }; } ;;
1393  esac
1394 else
1395   multilib=yes
1396 fi;
1397
1398 # We may get other options which we leave undocumented:
1399 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1400 # See config-ml.in if you want the gory details.
1401
1402 if test "$srcdir" = "."; then
1403   if test "$with_target_subdir" != "."; then
1404     multi_basedir="$srcdir/$with_multisrctop../.."
1405   else
1406     multi_basedir="$srcdir/$with_multisrctop.."
1407   fi
1408 else
1409   multi_basedir="$srcdir/.."
1410 fi
1411
1412
1413           ac_config_commands="$ac_config_commands default-1"
1414
1415
1416 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1417 #
1418 # You will slowly go insane if you do not grok the following fact:  when
1419 # building v3 as part of the compiler, the top-level /target/ becomes the
1420 # library's /host/.  configure then causes --target to default to --host,
1421 # exactly like any other package using autoconf.  Therefore, 'target' and
1422 # 'host' will always be the same.  This makes sense both for native and
1423 # cross compilers, just think about it for a little while.  :-)
1424 #
1425 # Also, if v3 is being configured as part of a cross compiler, the top-level
1426 # configure script will pass the "real" host as $with_cross_host.
1427 #
1428 # Do not delete or change the following two lines.  For why, see
1429 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1430 ac_aux_dir=
1431 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1432   if test -f $ac_dir/install-sh; then
1433     ac_aux_dir=$ac_dir
1434     ac_install_sh="$ac_aux_dir/install-sh -c"
1435     break
1436   elif test -f $ac_dir/install.sh; then
1437     ac_aux_dir=$ac_dir
1438     ac_install_sh="$ac_aux_dir/install.sh -c"
1439     break
1440   elif test -f $ac_dir/shtool; then
1441     ac_aux_dir=$ac_dir
1442     ac_install_sh="$ac_aux_dir/shtool install -c"
1443     break
1444   fi
1445 done
1446 if test -z "$ac_aux_dir"; then
1447   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1448 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1449    { (exit 1); exit 1; }; }
1450 fi
1451 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1452 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1453 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1454
1455 # Make sure we can run config.sub.
1456 $ac_config_sub sun4 >/dev/null 2>&1 ||
1457   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1458 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1459    { (exit 1); exit 1; }; }
1460
1461 echo "$as_me:$LINENO: checking build system type" >&5
1462 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1463 if test "${ac_cv_build+set}" = set; then
1464   echo $ECHO_N "(cached) $ECHO_C" >&6
1465 else
1466   ac_cv_build_alias=$build_alias
1467 test -z "$ac_cv_build_alias" &&
1468   ac_cv_build_alias=`$ac_config_guess`
1469 test -z "$ac_cv_build_alias" &&
1470   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1471 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1472    { (exit 1); exit 1; }; }
1473 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1474   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1475 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1476    { (exit 1); exit 1; }; }
1477
1478 fi
1479 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1480 echo "${ECHO_T}$ac_cv_build" >&6
1481 build=$ac_cv_build
1482 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1483 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1484 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1485
1486
1487 echo "$as_me:$LINENO: checking host system type" >&5
1488 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1489 if test "${ac_cv_host+set}" = set; then
1490   echo $ECHO_N "(cached) $ECHO_C" >&6
1491 else
1492   ac_cv_host_alias=$host_alias
1493 test -z "$ac_cv_host_alias" &&
1494   ac_cv_host_alias=$ac_cv_build_alias
1495 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1496   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1497 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1498    { (exit 1); exit 1; }; }
1499
1500 fi
1501 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1502 echo "${ECHO_T}$ac_cv_host" >&6
1503 host=$ac_cv_host
1504 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1505 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1506 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1507
1508
1509 echo "$as_me:$LINENO: checking target system type" >&5
1510 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1511 if test "${ac_cv_target+set}" = set; then
1512   echo $ECHO_N "(cached) $ECHO_C" >&6
1513 else
1514   ac_cv_target_alias=$target_alias
1515 test "x$ac_cv_target_alias" = "x" &&
1516   ac_cv_target_alias=$ac_cv_host_alias
1517 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1518   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1519 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1520    { (exit 1); exit 1; }; }
1521
1522 fi
1523 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1524 echo "${ECHO_T}$ac_cv_target" >&6
1525 target=$ac_cv_target
1526 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1527 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1528 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1529
1530
1531 # The aliases save the names the user supplied, while $host etc.
1532 # will get canonicalized.
1533 test -n "$target_alias" &&
1534   test "$program_prefix$program_suffix$program_transform_name" = \
1535     NONENONEs,x,x, &&
1536   program_prefix=${target_alias}-
1537 target_alias=${target_alias-$host_alias}
1538
1539 # Handy for debugging:
1540 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1541
1542 if test "$build" != "$host"; then
1543   # We are being configured with some form of cross compiler.
1544   GLIBCXX_IS_NATIVE=false
1545
1546 else
1547   GLIBCXX_IS_NATIVE=true
1548 fi
1549
1550 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1551 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1552 #  1.x:  minimum required version
1553 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1554 #              of other PACKAGE_* variables will, however, and there's nothing
1555 #              we can do about that; they come from AC_INIT).
1556 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1557 #            file in the top srcdir, etc, etc), so stop complaining.
1558 #  no-dependencies:  turns off auto dependency generation (just for now)
1559 #  -Wall:  turns on all automake warnings...
1560 #  -Wno-portability:  ...except this one, since GNU make is now required.
1561 am__api_version="1.9"
1562 # Find a good install program.  We prefer a C program (faster),
1563 # so one script is as good as another.  But avoid the broken or
1564 # incompatible versions:
1565 # SysV /etc/install, /usr/sbin/install
1566 # SunOS /usr/etc/install
1567 # IRIX /sbin/install
1568 # AIX /bin/install
1569 # AmigaOS /C/install, which installs bootblocks on floppy discs
1570 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1571 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1572 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1573 # OS/2's system install, which has a completely different semantic
1574 # ./install, which can be erroneously created by make from ./install.sh.
1575 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1576 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1577 if test -z "$INSTALL"; then
1578 if test "${ac_cv_path_install+set}" = set; then
1579   echo $ECHO_N "(cached) $ECHO_C" >&6
1580 else
1581   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1582 for as_dir in $PATH
1583 do
1584   IFS=$as_save_IFS
1585   test -z "$as_dir" && as_dir=.
1586   # Account for people who put trailing slashes in PATH elements.
1587 case $as_dir/ in
1588   ./ | .// | /cC/* | \
1589   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1590   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1591   /usr/ucb/* ) ;;
1592   *)
1593     # OSF1 and SCO ODT 3.0 have their own names for install.
1594     # Don't use installbsd from OSF since it installs stuff as root
1595     # by default.
1596     for ac_prog in ginstall scoinst install; do
1597       for ac_exec_ext in '' $ac_executable_extensions; do
1598         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1599           if test $ac_prog = install &&
1600             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1601             # AIX install.  It has an incompatible calling convention.
1602             :
1603           elif test $ac_prog = install &&
1604             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1605             # program-specific install script used by HP pwplus--don't use.
1606             :
1607           else
1608             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1609             break 3
1610           fi
1611         fi
1612       done
1613     done
1614     ;;
1615 esac
1616 done
1617
1618
1619 fi
1620   if test "${ac_cv_path_install+set}" = set; then
1621     INSTALL=$ac_cv_path_install
1622   else
1623     # As a last resort, use the slow shell script.  We don't cache a
1624     # path for INSTALL within a source directory, because that will
1625     # break other packages using the cache if that directory is
1626     # removed, or if the path is relative.
1627     INSTALL=$ac_install_sh
1628   fi
1629 fi
1630 echo "$as_me:$LINENO: result: $INSTALL" >&5
1631 echo "${ECHO_T}$INSTALL" >&6
1632
1633 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1634 # It thinks the first close brace ends the variable substitution.
1635 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1636
1637 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1638
1639 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1640
1641 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1642 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1643 # Just in case
1644 sleep 1
1645 echo timestamp > conftest.file
1646 # Do `set' in a subshell so we don't clobber the current shell's
1647 # arguments.  Must try -L first in case configure is actually a
1648 # symlink; some systems play weird games with the mod time of symlinks
1649 # (eg FreeBSD returns the mod time of the symlink's containing
1650 # directory).
1651 if (
1652    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1653    if test "$*" = "X"; then
1654       # -L didn't work.
1655       set X `ls -t $srcdir/configure conftest.file`
1656    fi
1657    rm -f conftest.file
1658    if test "$*" != "X $srcdir/configure conftest.file" \
1659       && test "$*" != "X conftest.file $srcdir/configure"; then
1660
1661       # If neither matched, then we have a broken ls.  This can happen
1662       # if, for instance, CONFIG_SHELL is bash and it inherits a
1663       # broken ls alias from the environment.  This has actually
1664       # happened.  Such a system could not be considered "sane".
1665       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1666 alias in your environment" >&5
1667 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1668 alias in your environment" >&2;}
1669    { (exit 1); exit 1; }; }
1670    fi
1671
1672    test "$2" = conftest.file
1673    )
1674 then
1675    # Ok.
1676    :
1677 else
1678    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1679 Check your system clock" >&5
1680 echo "$as_me: error: newly created file is older than distributed files!
1681 Check your system clock" >&2;}
1682    { (exit 1); exit 1; }; }
1683 fi
1684 echo "$as_me:$LINENO: result: yes" >&5
1685 echo "${ECHO_T}yes" >&6
1686 test "$program_prefix" != NONE &&
1687   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1688 # Use a double $ so make ignores it.
1689 test "$program_suffix" != NONE &&
1690   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1691 # Double any \ or $.  echo might interpret backslashes.
1692 # By default was `s,x,x', remove it if useless.
1693 cat <<\_ACEOF >conftest.sed
1694 s/[\\$]/&&/g;s/;s,x,x,$//
1695 _ACEOF
1696 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1697 rm conftest.sed
1698
1699 # expand $ac_aux_dir to an absolute path
1700 am_aux_dir=`cd $ac_aux_dir && pwd`
1701
1702 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1703 # Use eval to expand $SHELL
1704 if eval "$MISSING --run true"; then
1705   am_missing_run="$MISSING --run "
1706 else
1707   am_missing_run=
1708   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1709 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1710 fi
1711
1712 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1713   # We used to keeping the `.' as first argument, in order to
1714   # allow $(mkdir_p) to be used without argument.  As in
1715   #   $(mkdir_p) $(somedir)
1716   # where $(somedir) is conditionally defined.  However this is wrong
1717   # for two reasons:
1718   #  1. if the package is installed by a user who cannot write `.'
1719   #     make install will fail,
1720   #  2. the above comment should most certainly read
1721   #     $(mkdir_p) $(DESTDIR)$(somedir)
1722   #     so it does not work when $(somedir) is undefined and
1723   #     $(DESTDIR) is not.
1724   #  To support the latter case, we have to write
1725   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1726   #  so the `.' trick is pointless.
1727   mkdir_p='mkdir -p --'
1728 else
1729   # On NextStep and OpenStep, the `mkdir' command does not
1730   # recognize any option.  It will interpret all options as
1731   # directories to create, and then abort because `.' already
1732   # exists.
1733   for d in ./-p ./--version;
1734   do
1735     test -d $d && rmdir $d
1736   done
1737   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1738   if test -f "$ac_aux_dir/mkinstalldirs"; then
1739     mkdir_p='$(mkinstalldirs)'
1740   else
1741     mkdir_p='$(install_sh) -d'
1742   fi
1743 fi
1744
1745 for ac_prog in gawk mawk nawk awk
1746 do
1747   # Extract the first word of "$ac_prog", so it can be a program name with args.
1748 set dummy $ac_prog; ac_word=$2
1749 echo "$as_me:$LINENO: checking for $ac_word" >&5
1750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1751 if test "${ac_cv_prog_AWK+set}" = set; then
1752   echo $ECHO_N "(cached) $ECHO_C" >&6
1753 else
1754   if test -n "$AWK"; then
1755   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1756 else
1757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1758 for as_dir in $PATH
1759 do
1760   IFS=$as_save_IFS
1761   test -z "$as_dir" && as_dir=.
1762   for ac_exec_ext in '' $ac_executable_extensions; do
1763   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1764     ac_cv_prog_AWK="$ac_prog"
1765     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1766     break 2
1767   fi
1768 done
1769 done
1770
1771 fi
1772 fi
1773 AWK=$ac_cv_prog_AWK
1774 if test -n "$AWK"; then
1775   echo "$as_me:$LINENO: result: $AWK" >&5
1776 echo "${ECHO_T}$AWK" >&6
1777 else
1778   echo "$as_me:$LINENO: result: no" >&5
1779 echo "${ECHO_T}no" >&6
1780 fi
1781
1782   test -n "$AWK" && break
1783 done
1784
1785 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1786 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1787 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1788 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1789   echo $ECHO_N "(cached) $ECHO_C" >&6
1790 else
1791   cat >conftest.make <<\_ACEOF
1792 all:
1793         @echo 'ac_maketemp="$(MAKE)"'
1794 _ACEOF
1795 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1796 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1797 if test -n "$ac_maketemp"; then
1798   eval ac_cv_prog_make_${ac_make}_set=yes
1799 else
1800   eval ac_cv_prog_make_${ac_make}_set=no
1801 fi
1802 rm -f conftest.make
1803 fi
1804 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1805   echo "$as_me:$LINENO: result: yes" >&5
1806 echo "${ECHO_T}yes" >&6
1807   SET_MAKE=
1808 else
1809   echo "$as_me:$LINENO: result: no" >&5
1810 echo "${ECHO_T}no" >&6
1811   SET_MAKE="MAKE=${MAKE-make}"
1812 fi
1813
1814 rm -rf .tst 2>/dev/null
1815 mkdir .tst 2>/dev/null
1816 if test -d .tst; then
1817   am__leading_dot=.
1818 else
1819   am__leading_dot=_
1820 fi
1821 rmdir .tst 2>/dev/null
1822
1823 # test to see if srcdir already configured
1824 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1825    test -f $srcdir/config.status; then
1826   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1827 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1828    { (exit 1); exit 1; }; }
1829 fi
1830
1831 # test whether we have cygpath
1832 if test -z "$CYGPATH_W"; then
1833   if (cygpath --version) >/dev/null 2>/dev/null; then
1834     CYGPATH_W='cygpath -w'
1835   else
1836     CYGPATH_W=echo
1837   fi
1838 fi
1839
1840
1841 # Define the identity of the package.
1842  PACKAGE='libstdc++'
1843  VERSION='version-unused'
1844
1845
1846 # Some tools Automake needs.
1847
1848 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1849
1850
1851 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1852
1853
1854 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1855
1856
1857 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1858
1859
1860 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1861
1862 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1863
1864 # Installed binaries are usually stripped using `strip' when the user
1865 # run `make install-strip'.  However `strip' might not be the right
1866 # tool to use in cross-compilation environments, therefore Automake
1867 # will honor the `STRIP' environment variable to overrule this program.
1868 if test "$cross_compiling" != no; then
1869   if test -n "$ac_tool_prefix"; then
1870   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1871 set dummy ${ac_tool_prefix}strip; ac_word=$2
1872 echo "$as_me:$LINENO: checking for $ac_word" >&5
1873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1874 if test "${ac_cv_prog_STRIP+set}" = set; then
1875   echo $ECHO_N "(cached) $ECHO_C" >&6
1876 else
1877   if test -n "$STRIP"; then
1878   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1879 else
1880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1881 for as_dir in $PATH
1882 do
1883   IFS=$as_save_IFS
1884   test -z "$as_dir" && as_dir=.
1885   for ac_exec_ext in '' $ac_executable_extensions; do
1886   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1887     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1888     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1889     break 2
1890   fi
1891 done
1892 done
1893
1894 fi
1895 fi
1896 STRIP=$ac_cv_prog_STRIP
1897 if test -n "$STRIP"; then
1898   echo "$as_me:$LINENO: result: $STRIP" >&5
1899 echo "${ECHO_T}$STRIP" >&6
1900 else
1901   echo "$as_me:$LINENO: result: no" >&5
1902 echo "${ECHO_T}no" >&6
1903 fi
1904
1905 fi
1906 if test -z "$ac_cv_prog_STRIP"; then
1907   ac_ct_STRIP=$STRIP
1908   # Extract the first word of "strip", so it can be a program name with args.
1909 set dummy strip; ac_word=$2
1910 echo "$as_me:$LINENO: checking for $ac_word" >&5
1911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1912 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1913   echo $ECHO_N "(cached) $ECHO_C" >&6
1914 else
1915   if test -n "$ac_ct_STRIP"; then
1916   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1917 else
1918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1919 for as_dir in $PATH
1920 do
1921   IFS=$as_save_IFS
1922   test -z "$as_dir" && as_dir=.
1923   for ac_exec_ext in '' $ac_executable_extensions; do
1924   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1925     ac_cv_prog_ac_ct_STRIP="strip"
1926     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1927     break 2
1928   fi
1929 done
1930 done
1931
1932   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1933 fi
1934 fi
1935 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1936 if test -n "$ac_ct_STRIP"; then
1937   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1938 echo "${ECHO_T}$ac_ct_STRIP" >&6
1939 else
1940   echo "$as_me:$LINENO: result: no" >&5
1941 echo "${ECHO_T}no" >&6
1942 fi
1943
1944   STRIP=$ac_ct_STRIP
1945 else
1946   STRIP="$ac_cv_prog_STRIP"
1947 fi
1948
1949 fi
1950 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1951
1952 # We need awk for the "check" target.  The system "awk" is bad on
1953 # some platforms.
1954 # Always define AMTAR for backward compatibility.
1955
1956 AMTAR=${AMTAR-"${am_missing_run}tar"}
1957
1958 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969 # Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
1970 # up critical shell variables.
1971
1972   # Keep these sync'd with the list in Makefile.am.  The first provides an
1973   # expandable list at autoconf time; the second provides an expandable list
1974   # (i.e., shell variable) at configure time.
1975
1976   SUBDIRS='include libmath libsupc++ src po testsuite'
1977
1978   # These need to be absolute paths, yet at the same time need to
1979   # canonicalize only relative paths, because then amd will not unmount
1980   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1981   glibcxx_builddir=`${PWDCMD-pwd}`
1982   case $srcdir in
1983     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1984     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1985   esac
1986   toplevel_srcdir=${glibcxx_srcdir}/..
1987
1988
1989
1990
1991   # We use these options to decide which functions to include.  They are
1992   # set from the top level.
1993
1994 # Check whether --with-target-subdir or --without-target-subdir was given.
1995 if test "${with_target_subdir+set}" = set; then
1996   withval="$with_target_subdir"
1997
1998 fi;
1999
2000
2001 # Check whether --with-cross-host or --without-cross-host was given.
2002 if test "${with_cross_host+set}" = set; then
2003   withval="$with_cross_host"
2004
2005 fi;
2006
2007
2008 # Check whether --with-newlib or --without-newlib was given.
2009 if test "${with_newlib+set}" = set; then
2010   withval="$with_newlib"
2011
2012 fi;
2013
2014   # We're almost certainly being configured before anything else which uses
2015   # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
2016   # we not cache the value of CXX that we "discover" here, because it's set
2017   # to something unique for us and libjava.  Other target libraries need to
2018   # find CXX for themselves.  We yank the rug out from under the normal AC_*
2019   # process by sneakily renaming the cache variable.  This also lets us debug
2020   # the value of "our" CXX in postmortems.
2021   #
2022   # We must also force CXX to /not/ be a precious variable, otherwise the
2023   # wrong (non-multilib-adjusted) value will be used in multilibs.  This
2024   # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
2025   # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2026   # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2027   #
2028   # -fno-builtin must be present here so that a non-conflicting form of
2029   # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2030
2031
2032
2033
2034   save_CXXFLAGS="$CXXFLAGS"
2035   CXXFLAGS="$CXXFLAGS -fno-builtin"
2036   ac_ext=c
2037 ac_cpp='$CPP $CPPFLAGS'
2038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2041 if test -n "$ac_tool_prefix"; then
2042   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2043 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2044 echo "$as_me:$LINENO: checking for $ac_word" >&5
2045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2046 if test "${ac_cv_prog_CC+set}" = set; then
2047   echo $ECHO_N "(cached) $ECHO_C" >&6
2048 else
2049   if test -n "$CC"; then
2050   ac_cv_prog_CC="$CC" # Let the user override the test.
2051 else
2052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2053 for as_dir in $PATH
2054 do
2055   IFS=$as_save_IFS
2056   test -z "$as_dir" && as_dir=.
2057   for ac_exec_ext in '' $ac_executable_extensions; do
2058   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2059     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2060     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2061     break 2
2062   fi
2063 done
2064 done
2065
2066 fi
2067 fi
2068 CC=$ac_cv_prog_CC
2069 if test -n "$CC"; then
2070   echo "$as_me:$LINENO: result: $CC" >&5
2071 echo "${ECHO_T}$CC" >&6
2072 else
2073   echo "$as_me:$LINENO: result: no" >&5
2074 echo "${ECHO_T}no" >&6
2075 fi
2076
2077 fi
2078 if test -z "$ac_cv_prog_CC"; then
2079   ac_ct_CC=$CC
2080   # Extract the first word of "gcc", so it can be a program name with args.
2081 set dummy gcc; ac_word=$2
2082 echo "$as_me:$LINENO: checking for $ac_word" >&5
2083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2084 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2085   echo $ECHO_N "(cached) $ECHO_C" >&6
2086 else
2087   if test -n "$ac_ct_CC"; then
2088   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2089 else
2090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2091 for as_dir in $PATH
2092 do
2093   IFS=$as_save_IFS
2094   test -z "$as_dir" && as_dir=.
2095   for ac_exec_ext in '' $ac_executable_extensions; do
2096   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2097     ac_cv_prog_ac_ct_CC="gcc"
2098     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2099     break 2
2100   fi
2101 done
2102 done
2103
2104 fi
2105 fi
2106 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2107 if test -n "$ac_ct_CC"; then
2108   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2109 echo "${ECHO_T}$ac_ct_CC" >&6
2110 else
2111   echo "$as_me:$LINENO: result: no" >&5
2112 echo "${ECHO_T}no" >&6
2113 fi
2114
2115   CC=$ac_ct_CC
2116 else
2117   CC="$ac_cv_prog_CC"
2118 fi
2119
2120 if test -z "$CC"; then
2121   if test -n "$ac_tool_prefix"; then
2122   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2123 set dummy ${ac_tool_prefix}cc; ac_word=$2
2124 echo "$as_me:$LINENO: checking for $ac_word" >&5
2125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2126 if test "${ac_cv_prog_CC+set}" = set; then
2127   echo $ECHO_N "(cached) $ECHO_C" >&6
2128 else
2129   if test -n "$CC"; then
2130   ac_cv_prog_CC="$CC" # Let the user override the test.
2131 else
2132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2133 for as_dir in $PATH
2134 do
2135   IFS=$as_save_IFS
2136   test -z "$as_dir" && as_dir=.
2137   for ac_exec_ext in '' $ac_executable_extensions; do
2138   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2139     ac_cv_prog_CC="${ac_tool_prefix}cc"
2140     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2141     break 2
2142   fi
2143 done
2144 done
2145
2146 fi
2147 fi
2148 CC=$ac_cv_prog_CC
2149 if test -n "$CC"; then
2150   echo "$as_me:$LINENO: result: $CC" >&5
2151 echo "${ECHO_T}$CC" >&6
2152 else
2153   echo "$as_me:$LINENO: result: no" >&5
2154 echo "${ECHO_T}no" >&6
2155 fi
2156
2157 fi
2158 if test -z "$ac_cv_prog_CC"; then
2159   ac_ct_CC=$CC
2160   # Extract the first word of "cc", so it can be a program name with args.
2161 set dummy cc; ac_word=$2
2162 echo "$as_me:$LINENO: checking for $ac_word" >&5
2163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2164 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2165   echo $ECHO_N "(cached) $ECHO_C" >&6
2166 else
2167   if test -n "$ac_ct_CC"; then
2168   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2169 else
2170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2171 for as_dir in $PATH
2172 do
2173   IFS=$as_save_IFS
2174   test -z "$as_dir" && as_dir=.
2175   for ac_exec_ext in '' $ac_executable_extensions; do
2176   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2177     ac_cv_prog_ac_ct_CC="cc"
2178     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2179     break 2
2180   fi
2181 done
2182 done
2183
2184 fi
2185 fi
2186 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2187 if test -n "$ac_ct_CC"; then
2188   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2189 echo "${ECHO_T}$ac_ct_CC" >&6
2190 else
2191   echo "$as_me:$LINENO: result: no" >&5
2192 echo "${ECHO_T}no" >&6
2193 fi
2194
2195   CC=$ac_ct_CC
2196 else
2197   CC="$ac_cv_prog_CC"
2198 fi
2199
2200 fi
2201 if test -z "$CC"; then
2202   # Extract the first word of "cc", so it can be a program name with args.
2203 set dummy cc; ac_word=$2
2204 echo "$as_me:$LINENO: checking for $ac_word" >&5
2205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2206 if test "${ac_cv_prog_CC+set}" = set; then
2207   echo $ECHO_N "(cached) $ECHO_C" >&6
2208 else
2209   if test -n "$CC"; then
2210   ac_cv_prog_CC="$CC" # Let the user override the test.
2211 else
2212   ac_prog_rejected=no
2213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2214 for as_dir in $PATH
2215 do
2216   IFS=$as_save_IFS
2217   test -z "$as_dir" && as_dir=.
2218   for ac_exec_ext in '' $ac_executable_extensions; do
2219   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2220     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2221        ac_prog_rejected=yes
2222        continue
2223      fi
2224     ac_cv_prog_CC="cc"
2225     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2226     break 2
2227   fi
2228 done
2229 done
2230
2231 if test $ac_prog_rejected = yes; then
2232   # We found a bogon in the path, so make sure we never use it.
2233   set dummy $ac_cv_prog_CC
2234   shift
2235   if test $# != 0; then
2236     # We chose a different compiler from the bogus one.
2237     # However, it has the same basename, so the bogon will be chosen
2238     # first if we set CC to just the basename; use the full file name.
2239     shift
2240     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2241   fi
2242 fi
2243 fi
2244 fi
2245 CC=$ac_cv_prog_CC
2246 if test -n "$CC"; then
2247   echo "$as_me:$LINENO: result: $CC" >&5
2248 echo "${ECHO_T}$CC" >&6
2249 else
2250   echo "$as_me:$LINENO: result: no" >&5
2251 echo "${ECHO_T}no" >&6
2252 fi
2253
2254 fi
2255 if test -z "$CC"; then
2256   if test -n "$ac_tool_prefix"; then
2257   for ac_prog in cl
2258   do
2259     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2260 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2261 echo "$as_me:$LINENO: checking for $ac_word" >&5
2262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2263 if test "${ac_cv_prog_CC+set}" = set; then
2264   echo $ECHO_N "(cached) $ECHO_C" >&6
2265 else
2266   if test -n "$CC"; then
2267   ac_cv_prog_CC="$CC" # Let the user override the test.
2268 else
2269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2270 for as_dir in $PATH
2271 do
2272   IFS=$as_save_IFS
2273   test -z "$as_dir" && as_dir=.
2274   for ac_exec_ext in '' $ac_executable_extensions; do
2275   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2276     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2277     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2278     break 2
2279   fi
2280 done
2281 done
2282
2283 fi
2284 fi
2285 CC=$ac_cv_prog_CC
2286 if test -n "$CC"; then
2287   echo "$as_me:$LINENO: result: $CC" >&5
2288 echo "${ECHO_T}$CC" >&6
2289 else
2290   echo "$as_me:$LINENO: result: no" >&5
2291 echo "${ECHO_T}no" >&6
2292 fi
2293
2294     test -n "$CC" && break
2295   done
2296 fi
2297 if test -z "$CC"; then
2298   ac_ct_CC=$CC
2299   for ac_prog in cl
2300 do
2301   # Extract the first word of "$ac_prog", so it can be a program name with args.
2302 set dummy $ac_prog; ac_word=$2
2303 echo "$as_me:$LINENO: checking for $ac_word" >&5
2304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2305 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2306   echo $ECHO_N "(cached) $ECHO_C" >&6
2307 else
2308   if test -n "$ac_ct_CC"; then
2309   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2310 else
2311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2312 for as_dir in $PATH
2313 do
2314   IFS=$as_save_IFS
2315   test -z "$as_dir" && as_dir=.
2316   for ac_exec_ext in '' $ac_executable_extensions; do
2317   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2318     ac_cv_prog_ac_ct_CC="$ac_prog"
2319     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2320     break 2
2321   fi
2322 done
2323 done
2324
2325 fi
2326 fi
2327 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2328 if test -n "$ac_ct_CC"; then
2329   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2330 echo "${ECHO_T}$ac_ct_CC" >&6
2331 else
2332   echo "$as_me:$LINENO: result: no" >&5
2333 echo "${ECHO_T}no" >&6
2334 fi
2335
2336   test -n "$ac_ct_CC" && break
2337 done
2338
2339   CC=$ac_ct_CC
2340 fi
2341
2342 fi
2343
2344
2345 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2346 See \`config.log' for more details." >&5
2347 echo "$as_me: error: no acceptable C compiler found in \$PATH
2348 See \`config.log' for more details." >&2;}
2349    { (exit 1); exit 1; }; }
2350
2351 # Provide some information about the compiler.
2352 echo "$as_me:$LINENO:" \
2353      "checking for C compiler version" >&5
2354 ac_compiler=`set X $ac_compile; echo $2`
2355 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2356   (eval $ac_compiler --version </dev/null >&5) 2>&5
2357   ac_status=$?
2358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359   (exit $ac_status); }
2360 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2361   (eval $ac_compiler -v </dev/null >&5) 2>&5
2362   ac_status=$?
2363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364   (exit $ac_status); }
2365 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2366   (eval $ac_compiler -V </dev/null >&5) 2>&5
2367   ac_status=$?
2368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369   (exit $ac_status); }
2370
2371 cat >conftest.$ac_ext <<_ACEOF
2372 /* confdefs.h.  */
2373 _ACEOF
2374 cat confdefs.h >>conftest.$ac_ext
2375 cat >>conftest.$ac_ext <<_ACEOF
2376 /* end confdefs.h.  */
2377
2378 int
2379 main ()
2380 {
2381
2382   ;
2383   return 0;
2384 }
2385 _ACEOF
2386 # FIXME: Cleanup?
2387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2388   (eval $ac_link) 2>&5
2389   ac_status=$?
2390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391   (exit $ac_status); }; then
2392   gcc_no_link=no
2393 else
2394   gcc_no_link=yes
2395 fi
2396
2397 if test x$gcc_no_link = xyes; then
2398   # Setting cross_compile will disable run tests; it will
2399   # also disable AC_CHECK_FILE but that's generally
2400   # correct if we can't link.
2401   cross_compiling=yes
2402   EXEEXT=
2403 else
2404   cat >conftest.$ac_ext <<_ACEOF
2405 /* confdefs.h.  */
2406 _ACEOF
2407 cat confdefs.h >>conftest.$ac_ext
2408 cat >>conftest.$ac_ext <<_ACEOF
2409 /* end confdefs.h.  */
2410
2411 int
2412 main ()
2413 {
2414
2415   ;
2416   return 0;
2417 }
2418 _ACEOF
2419 ac_clean_files_save=$ac_clean_files
2420 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2421 # Try to create an executable without -o first, disregard a.out.
2422 # It will help us diagnose broken compilers, and finding out an intuition
2423 # of exeext.
2424 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2425 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2426 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2427 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2428   (eval $ac_link_default) 2>&5
2429   ac_status=$?
2430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2431   (exit $ac_status); }; then
2432   # Find the output, starting from the most likely.  This scheme is
2433 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2434 # resort.
2435
2436 # Be careful to initialize this variable, since it used to be cached.
2437 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2438 ac_cv_exeext=
2439 # b.out is created by i960 compilers.
2440 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2441 do
2442   test -f "$ac_file" || continue
2443   case $ac_file in
2444     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2445         ;;
2446     conftest.$ac_ext )
2447         # This is the source file.
2448         ;;
2449     [ab].out )
2450         # We found the default executable, but exeext='' is most
2451         # certainly right.
2452         break;;
2453     *.* )
2454         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2455         # FIXME: I believe we export ac_cv_exeext for Libtool,
2456         # but it would be cool to find out if it's true.  Does anybody
2457         # maintain Libtool? --akim.
2458         export ac_cv_exeext
2459         break;;
2460     * )
2461         break;;
2462   esac
2463 done
2464 else
2465   echo "$as_me: failed program was:" >&5
2466 sed 's/^/| /' conftest.$ac_ext >&5
2467
2468 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2469 See \`config.log' for more details." >&5
2470 echo "$as_me: error: C compiler cannot create executables
2471 See \`config.log' for more details." >&2;}
2472    { (exit 77); exit 77; }; }
2473 fi
2474
2475 ac_exeext=$ac_cv_exeext
2476 echo "$as_me:$LINENO: result: $ac_file" >&5
2477 echo "${ECHO_T}$ac_file" >&6
2478
2479 # Check the compiler produces executables we can run.  If not, either
2480 # the compiler is broken, or we cross compile.
2481 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2482 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2483 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2484 # If not cross compiling, check that we can run a simple program.
2485 if test "$cross_compiling" != yes; then
2486   if { ac_try='./$ac_file'
2487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2488   (eval $ac_try) 2>&5
2489   ac_status=$?
2490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491   (exit $ac_status); }; }; then
2492     cross_compiling=no
2493   else
2494     if test "$cross_compiling" = maybe; then
2495         cross_compiling=yes
2496     else
2497         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2498 If you meant to cross compile, use \`--host'.
2499 See \`config.log' for more details." >&5
2500 echo "$as_me: error: cannot run C compiled programs.
2501 If you meant to cross compile, use \`--host'.
2502 See \`config.log' for more details." >&2;}
2503    { (exit 1); exit 1; }; }
2504     fi
2505   fi
2506 fi
2507 echo "$as_me:$LINENO: result: yes" >&5
2508 echo "${ECHO_T}yes" >&6
2509
2510 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2511 ac_clean_files=$ac_clean_files_save
2512 # Check the compiler produces executables we can run.  If not, either
2513 # the compiler is broken, or we cross compile.
2514 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2515 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2516 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2517 echo "${ECHO_T}$cross_compiling" >&6
2518
2519 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2520 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2522   (eval $ac_link) 2>&5
2523   ac_status=$?
2524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525   (exit $ac_status); }; then
2526   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2527 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2528 # work properly (i.e., refer to `conftest.exe'), while it won't with
2529 # `rm'.
2530 for ac_file in conftest.exe conftest conftest.*; do
2531   test -f "$ac_file" || continue
2532   case $ac_file in
2533     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2534     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2535           export ac_cv_exeext
2536           break;;
2537     * ) break;;
2538   esac
2539 done
2540 else
2541   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2542 See \`config.log' for more details." >&5
2543 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2544 See \`config.log' for more details." >&2;}
2545    { (exit 1); exit 1; }; }
2546 fi
2547
2548 rm -f conftest$ac_cv_exeext
2549 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2550 echo "${ECHO_T}$ac_cv_exeext" >&6
2551
2552 rm -f conftest.$ac_ext
2553 EXEEXT=$ac_cv_exeext
2554 ac_exeext=$EXEEXT
2555 fi
2556 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2557 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2558 if test "${ac_cv_objext+set}" = set; then
2559   echo $ECHO_N "(cached) $ECHO_C" >&6
2560 else
2561   cat >conftest.$ac_ext <<_ACEOF
2562 /* confdefs.h.  */
2563 _ACEOF
2564 cat confdefs.h >>conftest.$ac_ext
2565 cat >>conftest.$ac_ext <<_ACEOF
2566 /* end confdefs.h.  */
2567
2568 int
2569 main ()
2570 {
2571
2572   ;
2573   return 0;
2574 }
2575 _ACEOF
2576 rm -f conftest.o conftest.obj
2577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2578   (eval $ac_compile) 2>&5
2579   ac_status=$?
2580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581   (exit $ac_status); }; then
2582   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2583   case $ac_file in
2584     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2585     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2586        break;;
2587   esac
2588 done
2589 else
2590   echo "$as_me: failed program was:" >&5
2591 sed 's/^/| /' conftest.$ac_ext >&5
2592
2593 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2594 See \`config.log' for more details." >&5
2595 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2596 See \`config.log' for more details." >&2;}
2597    { (exit 1); exit 1; }; }
2598 fi
2599
2600 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2601 fi
2602 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2603 echo "${ECHO_T}$ac_cv_objext" >&6
2604 OBJEXT=$ac_cv_objext
2605 ac_objext=$OBJEXT
2606 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2607 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2608 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2609   echo $ECHO_N "(cached) $ECHO_C" >&6
2610 else
2611   cat >conftest.$ac_ext <<_ACEOF
2612 /* confdefs.h.  */
2613 _ACEOF
2614 cat confdefs.h >>conftest.$ac_ext
2615 cat >>conftest.$ac_ext <<_ACEOF
2616 /* end confdefs.h.  */
2617
2618 int
2619 main ()
2620 {
2621 #ifndef __GNUC__
2622        choke me
2623 #endif
2624
2625   ;
2626   return 0;
2627 }
2628 _ACEOF
2629 rm -f conftest.$ac_objext
2630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2631   (eval $ac_compile) 2>conftest.er1
2632   ac_status=$?
2633   grep -v '^ *+' conftest.er1 >conftest.err
2634   rm -f conftest.er1
2635   cat conftest.err >&5
2636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637   (exit $ac_status); } &&
2638          { ac_try='test -z "$ac_c_werror_flag"
2639                          || test ! -s conftest.err'
2640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2641   (eval $ac_try) 2>&5
2642   ac_status=$?
2643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644   (exit $ac_status); }; } &&
2645          { ac_try='test -s conftest.$ac_objext'
2646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2647   (eval $ac_try) 2>&5
2648   ac_status=$?
2649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650   (exit $ac_status); }; }; then
2651   ac_compiler_gnu=yes
2652 else
2653   echo "$as_me: failed program was:" >&5
2654 sed 's/^/| /' conftest.$ac_ext >&5
2655
2656 ac_compiler_gnu=no
2657 fi
2658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2659 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2660
2661 fi
2662 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2663 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2664 GCC=`test $ac_compiler_gnu = yes && echo yes`
2665 ac_test_CFLAGS=${CFLAGS+set}
2666 ac_save_CFLAGS=$CFLAGS
2667 CFLAGS="-g"
2668 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2669 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2670 if test "${ac_cv_prog_cc_g+set}" = set; then
2671   echo $ECHO_N "(cached) $ECHO_C" >&6
2672 else
2673   cat >conftest.$ac_ext <<_ACEOF
2674 /* confdefs.h.  */
2675 _ACEOF
2676 cat confdefs.h >>conftest.$ac_ext
2677 cat >>conftest.$ac_ext <<_ACEOF
2678 /* end confdefs.h.  */
2679
2680 int
2681 main ()
2682 {
2683
2684   ;
2685   return 0;
2686 }
2687 _ACEOF
2688 rm -f conftest.$ac_objext
2689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2690   (eval $ac_compile) 2>conftest.er1
2691   ac_status=$?
2692   grep -v '^ *+' conftest.er1 >conftest.err
2693   rm -f conftest.er1
2694   cat conftest.err >&5
2695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2696   (exit $ac_status); } &&
2697          { ac_try='test -z "$ac_c_werror_flag"
2698                          || test ! -s conftest.err'
2699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2700   (eval $ac_try) 2>&5
2701   ac_status=$?
2702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703   (exit $ac_status); }; } &&
2704          { ac_try='test -s conftest.$ac_objext'
2705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2706   (eval $ac_try) 2>&5
2707   ac_status=$?
2708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709   (exit $ac_status); }; }; then
2710   ac_cv_prog_cc_g=yes
2711 else
2712   echo "$as_me: failed program was:" >&5
2713 sed 's/^/| /' conftest.$ac_ext >&5
2714
2715 ac_cv_prog_cc_g=no
2716 fi
2717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2718 fi
2719 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2720 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2721 if test "$ac_test_CFLAGS" = set; then
2722   CFLAGS=$ac_save_CFLAGS
2723 elif test $ac_cv_prog_cc_g = yes; then
2724   if test "$GCC" = yes; then
2725     CFLAGS="-g -O2"
2726   else
2727     CFLAGS="-g"
2728   fi
2729 else
2730   if test "$GCC" = yes; then
2731     CFLAGS="-O2"
2732   else
2733     CFLAGS=
2734   fi
2735 fi
2736 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2737 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2738 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2739   echo $ECHO_N "(cached) $ECHO_C" >&6
2740 else
2741   ac_cv_prog_cc_stdc=no
2742 ac_save_CC=$CC
2743 cat >conftest.$ac_ext <<_ACEOF
2744 /* confdefs.h.  */
2745 _ACEOF
2746 cat confdefs.h >>conftest.$ac_ext
2747 cat >>conftest.$ac_ext <<_ACEOF
2748 /* end confdefs.h.  */
2749 #include <stdarg.h>
2750 #include <stdio.h>
2751 #include <sys/types.h>
2752 #include <sys/stat.h>
2753 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2754 struct buf { int x; };
2755 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2756 static char *e (p, i)
2757      char **p;
2758      int i;
2759 {
2760   return p[i];
2761 }
2762 static char *f (char * (*g) (char **, int), char **p, ...)
2763 {
2764   char *s;
2765   va_list v;
2766   va_start (v,p);
2767   s = g (p, va_arg (v,int));
2768   va_end (v);
2769   return s;
2770 }
2771
2772 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2773    function prototypes and stuff, but not '\xHH' hex character constants.
2774    These don't provoke an error unfortunately, instead are silently treated
2775    as 'x'.  The following induces an error, until -std1 is added to get
2776    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2777    array size at least.  It's necessary to write '\x00'==0 to get something
2778    that's true only with -std1.  */
2779 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2780
2781 int test (int i, double x);
2782 struct s1 {int (*f) (int a);};
2783 struct s2 {int (*f) (double a);};
2784 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2785 int argc;
2786 char **argv;
2787 int
2788 main ()
2789 {
2790 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2791   ;
2792   return 0;
2793 }
2794 _ACEOF
2795 # Don't try gcc -ansi; that turns off useful extensions and
2796 # breaks some systems' header files.
2797 # AIX                   -qlanglvl=ansi
2798 # Ultrix and OSF/1      -std1
2799 # HP-UX 10.20 and later -Ae
2800 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2801 # SVR4                  -Xc -D__EXTENSIONS__
2802 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2803 do
2804   CC="$ac_save_CC $ac_arg"
2805   rm -f conftest.$ac_objext
2806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2807   (eval $ac_compile) 2>conftest.er1
2808   ac_status=$?
2809   grep -v '^ *+' conftest.er1 >conftest.err
2810   rm -f conftest.er1
2811   cat conftest.err >&5
2812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813   (exit $ac_status); } &&
2814          { ac_try='test -z "$ac_c_werror_flag"
2815                          || test ! -s conftest.err'
2816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2817   (eval $ac_try) 2>&5
2818   ac_status=$?
2819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820   (exit $ac_status); }; } &&
2821          { ac_try='test -s conftest.$ac_objext'
2822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2823   (eval $ac_try) 2>&5
2824   ac_status=$?
2825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826   (exit $ac_status); }; }; then
2827   ac_cv_prog_cc_stdc=$ac_arg
2828 break
2829 else
2830   echo "$as_me: failed program was:" >&5
2831 sed 's/^/| /' conftest.$ac_ext >&5
2832
2833 fi
2834 rm -f conftest.err conftest.$ac_objext
2835 done
2836 rm -f conftest.$ac_ext conftest.$ac_objext
2837 CC=$ac_save_CC
2838
2839 fi
2840
2841 case "x$ac_cv_prog_cc_stdc" in
2842   x|xno)
2843     echo "$as_me:$LINENO: result: none needed" >&5
2844 echo "${ECHO_T}none needed" >&6 ;;
2845   *)
2846     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2847 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2848     CC="$CC $ac_cv_prog_cc_stdc" ;;
2849 esac
2850
2851 # Some people use a C++ compiler to compile C.  Since we use `exit',
2852 # in C++ we need to declare it.  In case someone uses the same compiler
2853 # for both compiling C and C++ we need to have the C++ compiler decide
2854 # the declaration of exit, since it's the most demanding environment.
2855 cat >conftest.$ac_ext <<_ACEOF
2856 #ifndef __cplusplus
2857   choke me
2858 #endif
2859 _ACEOF
2860 rm -f conftest.$ac_objext
2861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2862   (eval $ac_compile) 2>conftest.er1
2863   ac_status=$?
2864   grep -v '^ *+' conftest.er1 >conftest.err
2865   rm -f conftest.er1
2866   cat conftest.err >&5
2867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868   (exit $ac_status); } &&
2869          { ac_try='test -z "$ac_c_werror_flag"
2870                          || test ! -s conftest.err'
2871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2872   (eval $ac_try) 2>&5
2873   ac_status=$?
2874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875   (exit $ac_status); }; } &&
2876          { ac_try='test -s conftest.$ac_objext'
2877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2878   (eval $ac_try) 2>&5
2879   ac_status=$?
2880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881   (exit $ac_status); }; }; then
2882   for ac_declaration in \
2883    '' \
2884    'extern "C" void std::exit (int) throw (); using std::exit;' \
2885    'extern "C" void std::exit (int); using std::exit;' \
2886    'extern "C" void exit (int) throw ();' \
2887    'extern "C" void exit (int);' \
2888    'void exit (int);'
2889 do
2890   cat >conftest.$ac_ext <<_ACEOF
2891 /* confdefs.h.  */
2892 _ACEOF
2893 cat confdefs.h >>conftest.$ac_ext
2894 cat >>conftest.$ac_ext <<_ACEOF
2895 /* end confdefs.h.  */
2896 $ac_declaration
2897 #include <stdlib.h>
2898 int
2899 main ()
2900 {
2901 exit (42);
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   :
2929 else
2930   echo "$as_me: failed program was:" >&5
2931 sed 's/^/| /' conftest.$ac_ext >&5
2932
2933 continue
2934 fi
2935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2936   cat >conftest.$ac_ext <<_ACEOF
2937 /* confdefs.h.  */
2938 _ACEOF
2939 cat confdefs.h >>conftest.$ac_ext
2940 cat >>conftest.$ac_ext <<_ACEOF
2941 /* end confdefs.h.  */
2942 $ac_declaration
2943 int
2944 main ()
2945 {
2946 exit (42);
2947   ;
2948   return 0;
2949 }
2950 _ACEOF
2951 rm -f conftest.$ac_objext
2952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2953   (eval $ac_compile) 2>conftest.er1
2954   ac_status=$?
2955   grep -v '^ *+' conftest.er1 >conftest.err
2956   rm -f conftest.er1
2957   cat conftest.err >&5
2958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959   (exit $ac_status); } &&
2960          { ac_try='test -z "$ac_c_werror_flag"
2961                          || test ! -s conftest.err'
2962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2963   (eval $ac_try) 2>&5
2964   ac_status=$?
2965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966   (exit $ac_status); }; } &&
2967          { ac_try='test -s conftest.$ac_objext'
2968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2969   (eval $ac_try) 2>&5
2970   ac_status=$?
2971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972   (exit $ac_status); }; }; then
2973   break
2974 else
2975   echo "$as_me: failed program was:" >&5
2976 sed 's/^/| /' conftest.$ac_ext >&5
2977
2978 fi
2979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2980 done
2981 rm -f conftest*
2982 if test -n "$ac_declaration"; then
2983   echo '#ifdef __cplusplus' >>confdefs.h
2984   echo $ac_declaration      >>confdefs.h
2985   echo '#endif'             >>confdefs.h
2986 fi
2987
2988 else
2989   echo "$as_me: failed program was:" >&5
2990 sed 's/^/| /' conftest.$ac_ext >&5
2991
2992 fi
2993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2994 ac_ext=c
2995 ac_cpp='$CPP $CPPFLAGS'
2996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2999
3000   ac_ext=cc
3001 ac_cpp='$CXXCPP $CPPFLAGS'
3002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3005 if test -n "$ac_tool_prefix"; then
3006   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3007   do
3008     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3009 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3010 echo "$as_me:$LINENO: checking for $ac_word" >&5
3011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3012 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3013   echo $ECHO_N "(cached) $ECHO_C" >&6
3014 else
3015   if test -n "$CXX"; then
3016   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3017 else
3018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3019 for as_dir in $PATH
3020 do
3021   IFS=$as_save_IFS
3022   test -z "$as_dir" && as_dir=.
3023   for ac_exec_ext in '' $ac_executable_extensions; do
3024   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3025     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3026     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3027     break 2
3028   fi
3029 done
3030 done
3031
3032 fi
3033 fi
3034 CXX=$glibcxx_cv_prog_CXX
3035 if test -n "$CXX"; then
3036   echo "$as_me:$LINENO: result: $CXX" >&5
3037 echo "${ECHO_T}$CXX" >&6
3038 else
3039   echo "$as_me:$LINENO: result: no" >&5
3040 echo "${ECHO_T}no" >&6
3041 fi
3042
3043     test -n "$CXX" && break
3044   done
3045 fi
3046 if test -z "$CXX"; then
3047   ac_ct_CXX=$CXX
3048   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3049 do
3050   # Extract the first word of "$ac_prog", so it can be a program name with args.
3051 set dummy $ac_prog; ac_word=$2
3052 echo "$as_me:$LINENO: checking for $ac_word" >&5
3053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3054 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3055   echo $ECHO_N "(cached) $ECHO_C" >&6
3056 else
3057   if test -n "$ac_ct_CXX"; then
3058   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3059 else
3060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3061 for as_dir in $PATH
3062 do
3063   IFS=$as_save_IFS
3064   test -z "$as_dir" && as_dir=.
3065   for ac_exec_ext in '' $ac_executable_extensions; do
3066   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3067     ac_cv_prog_ac_ct_CXX="$ac_prog"
3068     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3069     break 2
3070   fi
3071 done
3072 done
3073
3074 fi
3075 fi
3076 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3077 if test -n "$ac_ct_CXX"; then
3078   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3079 echo "${ECHO_T}$ac_ct_CXX" >&6
3080 else
3081   echo "$as_me:$LINENO: result: no" >&5
3082 echo "${ECHO_T}no" >&6
3083 fi
3084
3085   test -n "$ac_ct_CXX" && break
3086 done
3087 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3088
3089   CXX=$ac_ct_CXX
3090 fi
3091
3092
3093 # Provide some information about the compiler.
3094 echo "$as_me:$LINENO:" \
3095      "checking for C++ compiler version" >&5
3096 ac_compiler=`set X $ac_compile; echo $2`
3097 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3098   (eval $ac_compiler --version </dev/null >&5) 2>&5
3099   ac_status=$?
3100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101   (exit $ac_status); }
3102 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3103   (eval $ac_compiler -v </dev/null >&5) 2>&5
3104   ac_status=$?
3105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106   (exit $ac_status); }
3107 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3108   (eval $ac_compiler -V </dev/null >&5) 2>&5
3109   ac_status=$?
3110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111   (exit $ac_status); }
3112
3113 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3114 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3115 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3116   echo $ECHO_N "(cached) $ECHO_C" >&6
3117 else
3118   cat >conftest.$ac_ext <<_ACEOF
3119 /* confdefs.h.  */
3120 _ACEOF
3121 cat confdefs.h >>conftest.$ac_ext
3122 cat >>conftest.$ac_ext <<_ACEOF
3123 /* end confdefs.h.  */
3124
3125 int
3126 main ()
3127 {
3128 #ifndef __GNUC__
3129        choke me
3130 #endif
3131
3132   ;
3133   return 0;
3134 }
3135 _ACEOF
3136 rm -f conftest.$ac_objext
3137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3138   (eval $ac_compile) 2>conftest.er1
3139   ac_status=$?
3140   grep -v '^ *+' conftest.er1 >conftest.err
3141   rm -f conftest.er1
3142   cat conftest.err >&5
3143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144   (exit $ac_status); } &&
3145          { ac_try='test -z "$ac_cxx_werror_flag"
3146                          || test ! -s conftest.err'
3147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3148   (eval $ac_try) 2>&5
3149   ac_status=$?
3150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151   (exit $ac_status); }; } &&
3152          { ac_try='test -s conftest.$ac_objext'
3153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3154   (eval $ac_try) 2>&5
3155   ac_status=$?
3156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157   (exit $ac_status); }; }; then
3158   ac_compiler_gnu=yes
3159 else
3160   echo "$as_me: failed program was:" >&5
3161 sed 's/^/| /' conftest.$ac_ext >&5
3162
3163 ac_compiler_gnu=no
3164 fi
3165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3166 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3167
3168 fi
3169 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3170 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3171 GXX=`test $ac_compiler_gnu = yes && echo yes`
3172 ac_test_CXXFLAGS=${CXXFLAGS+set}
3173 ac_save_CXXFLAGS=$CXXFLAGS
3174 CXXFLAGS="-g"
3175 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3176 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3177 if test "${ac_cv_prog_cxx_g+set}" = set; then
3178   echo $ECHO_N "(cached) $ECHO_C" >&6
3179 else
3180   cat >conftest.$ac_ext <<_ACEOF
3181 /* confdefs.h.  */
3182 _ACEOF
3183 cat confdefs.h >>conftest.$ac_ext
3184 cat >>conftest.$ac_ext <<_ACEOF
3185 /* end confdefs.h.  */
3186
3187 int
3188 main ()
3189 {
3190
3191   ;
3192   return 0;
3193 }
3194 _ACEOF
3195 rm -f conftest.$ac_objext
3196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3197   (eval $ac_compile) 2>conftest.er1
3198   ac_status=$?
3199   grep -v '^ *+' conftest.er1 >conftest.err
3200   rm -f conftest.er1
3201   cat conftest.err >&5
3202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203   (exit $ac_status); } &&
3204          { ac_try='test -z "$ac_cxx_werror_flag"
3205                          || test ! -s conftest.err'
3206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3207   (eval $ac_try) 2>&5
3208   ac_status=$?
3209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210   (exit $ac_status); }; } &&
3211          { ac_try='test -s conftest.$ac_objext'
3212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3213   (eval $ac_try) 2>&5
3214   ac_status=$?
3215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216   (exit $ac_status); }; }; then
3217   ac_cv_prog_cxx_g=yes
3218 else
3219   echo "$as_me: failed program was:" >&5
3220 sed 's/^/| /' conftest.$ac_ext >&5
3221
3222 ac_cv_prog_cxx_g=no
3223 fi
3224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3225 fi
3226 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3227 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3228 if test "$ac_test_CXXFLAGS" = set; then
3229   CXXFLAGS=$ac_save_CXXFLAGS
3230 elif test $ac_cv_prog_cxx_g = yes; then
3231   if test "$GXX" = yes; then
3232     CXXFLAGS="-g -O2"
3233   else
3234     CXXFLAGS="-g"
3235   fi
3236 else
3237   if test "$GXX" = yes; then
3238     CXXFLAGS="-O2"
3239   else
3240     CXXFLAGS=
3241   fi
3242 fi
3243 for ac_declaration in \
3244    '' \
3245    'extern "C" void std::exit (int) throw (); using std::exit;' \
3246    'extern "C" void std::exit (int); using std::exit;' \
3247    'extern "C" void exit (int) throw ();' \
3248    'extern "C" void exit (int);' \
3249    'void exit (int);'
3250 do
3251   cat >conftest.$ac_ext <<_ACEOF
3252 /* confdefs.h.  */
3253 _ACEOF
3254 cat confdefs.h >>conftest.$ac_ext
3255 cat >>conftest.$ac_ext <<_ACEOF
3256 /* end confdefs.h.  */
3257 $ac_declaration
3258 #include <stdlib.h>
3259 int
3260 main ()
3261 {
3262 exit (42);
3263   ;
3264   return 0;
3265 }
3266 _ACEOF
3267 rm -f conftest.$ac_objext
3268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3269   (eval $ac_compile) 2>conftest.er1
3270   ac_status=$?
3271   grep -v '^ *+' conftest.er1 >conftest.err
3272   rm -f conftest.er1
3273   cat conftest.err >&5
3274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275   (exit $ac_status); } &&
3276          { ac_try='test -z "$ac_cxx_werror_flag"
3277                          || test ! -s conftest.err'
3278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3279   (eval $ac_try) 2>&5
3280   ac_status=$?
3281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282   (exit $ac_status); }; } &&
3283          { ac_try='test -s conftest.$ac_objext'
3284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3285   (eval $ac_try) 2>&5
3286   ac_status=$?
3287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288   (exit $ac_status); }; }; then
3289   :
3290 else
3291   echo "$as_me: failed program was:" >&5
3292 sed 's/^/| /' conftest.$ac_ext >&5
3293
3294 continue
3295 fi
3296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3297   cat >conftest.$ac_ext <<_ACEOF
3298 /* confdefs.h.  */
3299 _ACEOF
3300 cat confdefs.h >>conftest.$ac_ext
3301 cat >>conftest.$ac_ext <<_ACEOF
3302 /* end confdefs.h.  */
3303 $ac_declaration
3304 int
3305 main ()
3306 {
3307 exit (42);
3308   ;
3309   return 0;
3310 }
3311 _ACEOF
3312 rm -f conftest.$ac_objext
3313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3314   (eval $ac_compile) 2>conftest.er1
3315   ac_status=$?
3316   grep -v '^ *+' conftest.er1 >conftest.err
3317   rm -f conftest.er1
3318   cat conftest.err >&5
3319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320   (exit $ac_status); } &&
3321          { ac_try='test -z "$ac_cxx_werror_flag"
3322                          || test ! -s conftest.err'
3323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3324   (eval $ac_try) 2>&5
3325   ac_status=$?
3326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327   (exit $ac_status); }; } &&
3328          { ac_try='test -s conftest.$ac_objext'
3329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3330   (eval $ac_try) 2>&5
3331   ac_status=$?
3332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3333   (exit $ac_status); }; }; then
3334   break
3335 else
3336   echo "$as_me: failed program was:" >&5
3337 sed 's/^/| /' conftest.$ac_ext >&5
3338
3339 fi
3340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3341 done
3342 rm -f conftest*
3343 if test -n "$ac_declaration"; then
3344   echo '#ifdef __cplusplus' >>confdefs.h
3345   echo $ac_declaration      >>confdefs.h
3346   echo '#endif'             >>confdefs.h
3347 fi
3348
3349 ac_ext=c
3350 ac_cpp='$CPP $CPPFLAGS'
3351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3354
3355   CXXFLAGS="$save_CXXFLAGS"
3356
3357
3358
3359
3360   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3361   # available).  Uncomment the next line to force a particular method.
3362   echo "$as_me:$LINENO: checking whether ln -s works" >&5
3363 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3364 LN_S=$as_ln_s
3365 if test "$LN_S" = "ln -s"; then
3366   echo "$as_me:$LINENO: result: yes" >&5
3367 echo "${ECHO_T}yes" >&6
3368 else
3369   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3370 echo "${ECHO_T}no, using $LN_S" >&6
3371 fi
3372
3373   #LN_S='cp -p'
3374
3375   if test -n "$ac_tool_prefix"; then
3376   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3377 set dummy ${ac_tool_prefix}as; ac_word=$2
3378 echo "$as_me:$LINENO: checking for $ac_word" >&5
3379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3380 if test "${ac_cv_prog_AS+set}" = set; then
3381   echo $ECHO_N "(cached) $ECHO_C" >&6
3382 else
3383   if test -n "$AS"; then
3384   ac_cv_prog_AS="$AS" # Let the user override the test.
3385 else
3386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3387 for as_dir in $PATH
3388 do
3389   IFS=$as_save_IFS
3390   test -z "$as_dir" && as_dir=.
3391   for ac_exec_ext in '' $ac_executable_extensions; do
3392   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3393     ac_cv_prog_AS="${ac_tool_prefix}as"
3394     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3395     break 2
3396   fi
3397 done
3398 done
3399
3400 fi
3401 fi
3402 AS=$ac_cv_prog_AS
3403 if test -n "$AS"; then
3404   echo "$as_me:$LINENO: result: $AS" >&5
3405 echo "${ECHO_T}$AS" >&6
3406 else
3407   echo "$as_me:$LINENO: result: no" >&5
3408 echo "${ECHO_T}no" >&6
3409 fi
3410
3411 fi
3412 if test -z "$ac_cv_prog_AS"; then
3413   ac_ct_AS=$AS
3414   # Extract the first word of "as", so it can be a program name with args.
3415 set dummy as; ac_word=$2
3416 echo "$as_me:$LINENO: checking for $ac_word" >&5
3417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3418 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3419   echo $ECHO_N "(cached) $ECHO_C" >&6
3420 else
3421   if test -n "$ac_ct_AS"; then
3422   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3423 else
3424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3425 for as_dir in $PATH
3426 do
3427   IFS=$as_save_IFS
3428   test -z "$as_dir" && as_dir=.
3429   for ac_exec_ext in '' $ac_executable_extensions; do
3430   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3431     ac_cv_prog_ac_ct_AS="as"
3432     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3433     break 2
3434   fi
3435 done
3436 done
3437
3438 fi
3439 fi
3440 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3441 if test -n "$ac_ct_AS"; then
3442   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3443 echo "${ECHO_T}$ac_ct_AS" >&6
3444 else
3445   echo "$as_me:$LINENO: result: no" >&5
3446 echo "${ECHO_T}no" >&6
3447 fi
3448
3449   AS=$ac_ct_AS
3450 else
3451   AS="$ac_cv_prog_AS"
3452 fi
3453
3454   if test -n "$ac_tool_prefix"; then
3455   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3456 set dummy ${ac_tool_prefix}ar; ac_word=$2
3457 echo "$as_me:$LINENO: checking for $ac_word" >&5
3458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3459 if test "${ac_cv_prog_AR+set}" = set; then
3460   echo $ECHO_N "(cached) $ECHO_C" >&6
3461 else
3462   if test -n "$AR"; then
3463   ac_cv_prog_AR="$AR" # Let the user override the test.
3464 else
3465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3466 for as_dir in $PATH
3467 do
3468   IFS=$as_save_IFS
3469   test -z "$as_dir" && as_dir=.
3470   for ac_exec_ext in '' $ac_executable_extensions; do
3471   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3472     ac_cv_prog_AR="${ac_tool_prefix}ar"
3473     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3474     break 2
3475   fi
3476 done
3477 done
3478
3479 fi
3480 fi
3481 AR=$ac_cv_prog_AR
3482 if test -n "$AR"; then
3483   echo "$as_me:$LINENO: result: $AR" >&5
3484 echo "${ECHO_T}$AR" >&6
3485 else
3486   echo "$as_me:$LINENO: result: no" >&5
3487 echo "${ECHO_T}no" >&6
3488 fi
3489
3490 fi
3491 if test -z "$ac_cv_prog_AR"; then
3492   ac_ct_AR=$AR
3493   # Extract the first word of "ar", so it can be a program name with args.
3494 set dummy ar; ac_word=$2
3495 echo "$as_me:$LINENO: checking for $ac_word" >&5
3496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3497 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3498   echo $ECHO_N "(cached) $ECHO_C" >&6
3499 else
3500   if test -n "$ac_ct_AR"; then
3501   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3502 else
3503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3504 for as_dir in $PATH
3505 do
3506   IFS=$as_save_IFS
3507   test -z "$as_dir" && as_dir=.
3508   for ac_exec_ext in '' $ac_executable_extensions; do
3509   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3510     ac_cv_prog_ac_ct_AR="ar"
3511     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3512     break 2
3513   fi
3514 done
3515 done
3516
3517 fi
3518 fi
3519 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3520 if test -n "$ac_ct_AR"; then
3521   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3522 echo "${ECHO_T}$ac_ct_AR" >&6
3523 else
3524   echo "$as_me:$LINENO: result: no" >&5
3525 echo "${ECHO_T}no" >&6
3526 fi
3527
3528   AR=$ac_ct_AR
3529 else
3530   AR="$ac_cv_prog_AR"
3531 fi
3532
3533   if test -n "$ac_tool_prefix"; then
3534   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3535 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3536 echo "$as_me:$LINENO: checking for $ac_word" >&5
3537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3538 if test "${ac_cv_prog_RANLIB+set}" = set; then
3539   echo $ECHO_N "(cached) $ECHO_C" >&6
3540 else
3541   if test -n "$RANLIB"; then
3542   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3543 else
3544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3545 for as_dir in $PATH
3546 do
3547   IFS=$as_save_IFS
3548   test -z "$as_dir" && as_dir=.
3549   for ac_exec_ext in '' $ac_executable_extensions; do
3550   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3551     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3552     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3553     break 2
3554   fi
3555 done
3556 done
3557
3558 fi
3559 fi
3560 RANLIB=$ac_cv_prog_RANLIB
3561 if test -n "$RANLIB"; then
3562   echo "$as_me:$LINENO: result: $RANLIB" >&5
3563 echo "${ECHO_T}$RANLIB" >&6
3564 else
3565   echo "$as_me:$LINENO: result: no" >&5
3566 echo "${ECHO_T}no" >&6
3567 fi
3568
3569 fi
3570 if test -z "$ac_cv_prog_RANLIB"; then
3571   ac_ct_RANLIB=$RANLIB
3572   # Extract the first word of "ranlib", so it can be a program name with args.
3573 set dummy ranlib; ac_word=$2
3574 echo "$as_me:$LINENO: checking for $ac_word" >&5
3575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3576 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3577   echo $ECHO_N "(cached) $ECHO_C" >&6
3578 else
3579   if test -n "$ac_ct_RANLIB"; then
3580   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3581 else
3582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3583 for as_dir in $PATH
3584 do
3585   IFS=$as_save_IFS
3586   test -z "$as_dir" && as_dir=.
3587   for ac_exec_ext in '' $ac_executable_extensions; do
3588   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3589     ac_cv_prog_ac_ct_RANLIB="ranlib"
3590     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3591     break 2
3592   fi
3593 done
3594 done
3595
3596   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3597 fi
3598 fi
3599 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3600 if test -n "$ac_ct_RANLIB"; then
3601   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3602 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3603 else
3604   echo "$as_me:$LINENO: result: no" >&5
3605 echo "${ECHO_T}no" >&6
3606 fi
3607
3608   RANLIB=$ac_ct_RANLIB
3609 else
3610   RANLIB="$ac_cv_prog_RANLIB"
3611 fi
3612
3613
3614   echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3615 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3616     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3617 if test "${enable_maintainer_mode+set}" = set; then
3618   enableval="$enable_maintainer_mode"
3619   USE_MAINTAINER_MODE=$enableval
3620 else
3621   USE_MAINTAINER_MODE=no
3622 fi;
3623   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3624 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3625
3626
3627 if test $USE_MAINTAINER_MODE = yes; then
3628   MAINTAINER_MODE_TRUE=
3629   MAINTAINER_MODE_FALSE='#'
3630 else
3631   MAINTAINER_MODE_TRUE='#'
3632   MAINTAINER_MODE_FALSE=
3633 fi
3634
3635   MAINT=$MAINTAINER_MODE_TRUE
3636
3637
3638
3639   # Set up safe default values for all subsequent AM_CONDITIONAL tests
3640   # which are themselves conditionally expanded.
3641   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3642   ## other macros from doing the same.  This should be automated.)  -pme
3643   need_libmath=no
3644
3645   # Find platform-specific directories containing configuration info.
3646   # Also possibly modify flags used elsewhere, as needed by the platform.
3647
3648   . $glibcxx_srcdir/configure.host
3649   { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3650 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3651   { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3652 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3653
3654
3655
3656
3657 # Check whether --enable-shared or --disable-shared was given.
3658 if test "${enable_shared+set}" = set; then
3659   enableval="$enable_shared"
3660   p=${PACKAGE-default}
3661 case $enableval in
3662 yes) enable_shared=yes ;;
3663 no) enable_shared=no ;;
3664 *)
3665   enable_shared=no
3666   # Look at the argument we got.  We use all the common list separators.
3667   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3668   for pkg in $enableval; do
3669     if test "X$pkg" = "X$p"; then
3670       enable_shared=yes
3671     fi
3672   done
3673   IFS="$ac_save_ifs"
3674   ;;
3675 esac
3676 else
3677   enable_shared=yes
3678 fi;
3679 # Check whether --enable-static or --disable-static was given.
3680 if test "${enable_static+set}" = set; then
3681   enableval="$enable_static"
3682   p=${PACKAGE-default}
3683 case $enableval in
3684 yes) enable_static=yes ;;
3685 no) enable_static=no ;;
3686 *)
3687   enable_static=no
3688   # Look at the argument we got.  We use all the common list separators.
3689   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3690   for pkg in $enableval; do
3691     if test "X$pkg" = "X$p"; then
3692       enable_static=yes
3693     fi
3694   done
3695   IFS="$ac_save_ifs"
3696   ;;
3697 esac
3698 else
3699   enable_static=yes
3700 fi;
3701 # Check whether --enable-fast-install or --disable-fast-install was given.
3702 if test "${enable_fast_install+set}" = set; then
3703   enableval="$enable_fast_install"
3704   p=${PACKAGE-default}
3705 case $enableval in
3706 yes) enable_fast_install=yes ;;
3707 no) enable_fast_install=no ;;
3708 *)
3709   enable_fast_install=no
3710   # Look at the argument we got.  We use all the common list separators.
3711   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3712   for pkg in $enableval; do
3713     if test "X$pkg" = "X$p"; then
3714       enable_fast_install=yes
3715     fi
3716   done
3717   IFS="$ac_save_ifs"
3718   ;;
3719 esac
3720 else
3721   enable_fast_install=yes
3722 fi;
3723
3724 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3725 if test "${with_gnu_ld+set}" = set; then
3726   withval="$with_gnu_ld"
3727   test "$withval" = no || with_gnu_ld=yes
3728 else
3729   with_gnu_ld=no
3730 fi;
3731 ac_prog=ld
3732 if test "$GCC" = yes; then
3733   # Check if gcc -print-prog-name=ld gives a path.
3734   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3735 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3736   case $host in
3737   *-*-mingw*)
3738     # gcc leaves a trailing carriage return which upsets mingw
3739     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3740   *)
3741     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3742   esac
3743   case $ac_prog in
3744     # Accept absolute paths.
3745     [\\/]* | [A-Za-z]:[\\/]*)
3746       re_direlt='/[^/][^/]*/\.\./'
3747       # Canonicalize the path of ld
3748       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3749       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3750         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3751       done
3752       test -z "$LD" && LD="$ac_prog"
3753       ;;
3754   "")
3755     # If it fails, then pretend we aren't using GCC.
3756     ac_prog=ld
3757     ;;
3758   *)
3759     # If it is relative, then search for the first ld in PATH.
3760     with_gnu_ld=unknown
3761     ;;
3762   esac
3763 elif test "$with_gnu_ld" = yes; then
3764   echo "$as_me:$LINENO: checking for GNU ld" >&5
3765 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3766 else
3767   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3768 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3769 fi
3770 if test "${lt_cv_path_LD+set}" = set; then
3771   echo $ECHO_N "(cached) $ECHO_C" >&6
3772 else
3773   if test -z "$LD"; then
3774   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3775   for ac_dir in $PATH; do
3776     test -z "$ac_dir" && ac_dir=.
3777     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3778       lt_cv_path_LD="$ac_dir/$ac_prog"
3779       # Check to see if the program is GNU ld.  I'd rather use --version,
3780       # but apparently some GNU ld's only accept -v.
3781       # Break only if it was the GNU/non-GNU ld that we prefer.
3782       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3783         test "$with_gnu_ld" != no && break
3784       else
3785         test "$with_gnu_ld" != yes && break
3786       fi
3787     fi
3788   done
3789   IFS="$ac_save_ifs"
3790 else
3791   lt_cv_path_LD="$LD" # Let the user override the test with a path.
3792 fi
3793 fi
3794
3795 LD="$lt_cv_path_LD"
3796 if test -n "$LD"; then
3797   echo "$as_me:$LINENO: result: $LD" >&5
3798 echo "${ECHO_T}$LD" >&6
3799 else
3800   echo "$as_me:$LINENO: result: no" >&5
3801 echo "${ECHO_T}no" >&6
3802 fi
3803 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3804 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3805    { (exit 1); exit 1; }; }
3806 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3807 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3808 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3809   echo $ECHO_N "(cached) $ECHO_C" >&6
3810 else
3811   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3812 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3813   lt_cv_prog_gnu_ld=yes
3814 else
3815   lt_cv_prog_gnu_ld=no
3816 fi
3817 fi
3818 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3819 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3820 with_gnu_ld=$lt_cv_prog_gnu_ld
3821
3822
3823 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3824 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3825 if test "${lt_cv_ld_reload_flag+set}" = set; then
3826   echo $ECHO_N "(cached) $ECHO_C" >&6
3827 else
3828   lt_cv_ld_reload_flag='-r'
3829 fi
3830 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3831 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3832 reload_flag=$lt_cv_ld_reload_flag
3833 test -n "$reload_flag" && reload_flag=" $reload_flag"
3834
3835 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3836 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3837 if test "${lt_cv_path_NM+set}" = set; then
3838   echo $ECHO_N "(cached) $ECHO_C" >&6
3839 else
3840   if test -n "$NM"; then
3841   # Let the user override the test.
3842   lt_cv_path_NM="$NM"
3843 else
3844   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3845   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3846     test -z "$ac_dir" && ac_dir=.
3847     tmp_nm=$ac_dir/${ac_tool_prefix}nm
3848     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3849       # Check to see if the nm accepts a BSD-compat flag.
3850       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3851       #   nm: unknown option "B" ignored
3852       # Tru64's nm complains that /dev/null is an invalid object file
3853       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3854         lt_cv_path_NM="$tmp_nm -B"
3855         break
3856       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3857         lt_cv_path_NM="$tmp_nm -p"
3858         break
3859       else
3860         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3861         continue # so that we can try to find one that supports BSD flags
3862       fi
3863     fi
3864   done
3865   IFS="$ac_save_ifs"
3866   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3867 fi
3868 fi
3869
3870 NM="$lt_cv_path_NM"
3871 echo "$as_me:$LINENO: result: $NM" >&5
3872 echo "${ECHO_T}$NM" >&6
3873
3874 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3875 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3876 if test "${lt_cv_deplibs_check_method+set}" = set; then
3877   echo $ECHO_N "(cached) $ECHO_C" >&6
3878 else
3879   lt_cv_file_magic_cmd='$MAGIC_CMD'
3880 lt_cv_file_magic_test_file=
3881 lt_cv_deplibs_check_method='unknown'
3882 # Need to set the preceding variable on all platforms that support
3883 # interlibrary dependencies.
3884 # 'none' -- dependencies not supported.
3885 # `unknown' -- same as none, but documents that we really don't know.
3886 # 'pass_all' -- all dependencies passed with no checks.
3887 # 'test_compile' -- check by making test program.
3888 # 'file_magic [regex]' -- check by looking for files in library path
3889 # which responds to the $file_magic_cmd with a given egrep regex.
3890 # If you have `file' or equivalent on your system and you're not sure
3891 # whether `pass_all' will *always* work, you probably want this one.
3892
3893 case $host_os in
3894 aix*)
3895   lt_cv_deplibs_check_method=pass_all
3896   ;;
3897
3898 beos*)
3899   lt_cv_deplibs_check_method=pass_all
3900   ;;
3901
3902 bsdi4*)
3903   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3904   lt_cv_file_magic_cmd='/usr/bin/file -L'
3905   lt_cv_file_magic_test_file=/shlib/libc.so
3906   ;;
3907
3908 cygwin* | mingw* |pw32*)
3909   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3910   lt_cv_file_magic_cmd='$OBJDUMP -f'
3911   ;;
3912
3913 darwin* | rhapsody*)
3914   # this will be overwritten by pass_all, but leave it in just in case
3915   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3916   lt_cv_file_magic_cmd='/usr/bin/file -L'
3917   case "$host_os" in
3918   rhapsody* | darwin1.012)
3919     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3920     ;;
3921   *) # Darwin 1.3 on
3922     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3923     ;;
3924   esac
3925   lt_cv_deplibs_check_method=pass_all
3926   ;;
3927
3928 freebsd* | kfreebsd*-gnu)
3929   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3930     case $host_cpu in
3931     i*86 )
3932       # Not sure whether the presence of OpenBSD here was a mistake.
3933       # Let's accept both of them until this is cleared up.
3934       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3935       lt_cv_file_magic_cmd=/usr/bin/file
3936       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3937       ;;
3938     esac
3939   else
3940     lt_cv_deplibs_check_method=pass_all
3941   fi
3942   ;;
3943
3944 gnu*)
3945   lt_cv_deplibs_check_method=pass_all
3946   ;;
3947
3948 hpux10.20*|hpux11*)
3949   case $host_cpu in
3950   hppa*)
3951     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3952     lt_cv_file_magic_cmd=/usr/bin/file
3953     lt_cv_file_magic_test_file=/usr/lib/libc.sl
3954     ;;
3955   ia64*)
3956     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3957     lt_cv_file_magic_cmd=/usr/bin/file
3958     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3959     ;;
3960   esac
3961   ;;
3962
3963 irix5* | irix6*)
3964   case $host_os in
3965   irix5*)
3966     # this will be overridden with pass_all, but let us keep it just in case
3967     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3968     ;;
3969   *)
3970     case $LD in
3971     *-32|*"-32 ") libmagic=32-bit;;
3972     *-n32|*"-n32 ") libmagic=N32;;
3973     *-64|*"-64 ") libmagic=64-bit;;
3974     *) libmagic=never-match;;
3975     esac
3976     # this will be overridden with pass_all, but let us keep it just in case
3977     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3978     ;;
3979   esac
3980   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3981   lt_cv_deplibs_check_method=pass_all
3982   ;;
3983
3984 # This must be Linux ELF.
3985 linux-gnu*)
3986   lt_cv_deplibs_check_method=pass_all
3987   ;;
3988
3989 netbsd* | knetbsd*-gnu)
3990   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3991     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3992   else
3993     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3994   fi
3995   ;;
3996
3997 newsos6)
3998   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3999   lt_cv_file_magic_cmd=/usr/bin/file
4000   lt_cv_file_magic_test_file=/usr/lib/libnls.so
4001   ;;
4002
4003 osf3* | osf4* | osf5*)
4004   # this will be overridden with pass_all, but let us keep it just in case
4005   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4006   lt_cv_file_magic_test_file=/shlib/libc.so
4007   lt_cv_deplibs_check_method=pass_all
4008   ;;
4009
4010 sco3.2v5*)
4011   lt_cv_deplibs_check_method=pass_all
4012   ;;
4013
4014 solaris*)
4015   lt_cv_deplibs_check_method=pass_all
4016   lt_cv_file_magic_test_file=/lib/libc.so
4017   ;;
4018
4019 sysv5uw[78]* | sysv4*uw2*)
4020   lt_cv_deplibs_check_method=pass_all
4021   ;;
4022
4023 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4024   case $host_vendor in
4025   ncr)
4026     lt_cv_deplibs_check_method=pass_all
4027     ;;
4028   motorola)
4029     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]'
4030     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4031     ;;
4032   esac
4033   ;;
4034 esac
4035
4036 fi
4037 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4038 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4039 file_magic_cmd=$lt_cv_file_magic_cmd
4040 deplibs_check_method=$lt_cv_deplibs_check_method
4041
4042
4043
4044
4045
4046 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4047
4048 # find the maximum length of command line arguments
4049 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4050 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4051 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4052   echo $ECHO_N "(cached) $ECHO_C" >&6
4053 else
4054     i=0
4055   teststring="ABCD"
4056
4057   case $build_os in
4058   msdosdjgpp*)
4059     # On DJGPP, this test can blow up pretty badly due to problems in libc
4060     # (any single argument exceeding 2000 bytes causes a buffer overrun
4061     # during glob expansion).  Even if it were fixed, the result of this
4062     # check would be larger than it should be.
4063     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4064     ;;
4065
4066   cygwin* | mingw*)
4067     # On Win9x/ME, this test blows up -- it succeeds, but takes
4068     # about 5 minutes as the teststring grows exponentially.
4069     # Worse, since 9x/ME are not pre-emptively multitasking,
4070     # you end up with a "frozen" computer, even though with patience
4071     # the test eventually succeeds (with a max line length of 256k).
4072     # Instead, let's just punt: use the minimum linelength reported by
4073     # all of the supported platforms: 8192 (on NT/2K/XP).
4074     lt_cv_sys_max_cmd_len=8192;
4075     ;;
4076
4077   amigaos*)
4078     # On AmigaOS with pdksh, this test takes hours, literally.
4079     # So we just punt and use a minimum line length of 8192.
4080     lt_cv_sys_max_cmd_len=8192;
4081     ;;
4082
4083   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4084     # This has been around since 386BSD, at least.  Likely further.
4085     if test -x /sbin/sysctl; then
4086       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4087     elif test -x /usr/sbin/sysctl; then
4088       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4089     else
4090       lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4091     fi
4092     # And add a safety zone
4093     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4094     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4095     ;;
4096   esac
4097
4098 fi
4099
4100 if test -n "$lt_cv_sys_max_cmd_len" ; then
4101   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4102 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4103 else
4104   echo "$as_me:$LINENO: result: none" >&5
4105 echo "${ECHO_T}none" >&6
4106 fi
4107
4108
4109 # Only perform the check for file, if the check method requires it
4110 case $deplibs_check_method in
4111 file_magic*)
4112   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4113     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4114 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4115 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4116   echo $ECHO_N "(cached) $ECHO_C" >&6
4117 else
4118   case $MAGIC_CMD in
4119   /*)
4120   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4121   ;;
4122   ?:/*)
4123   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4124   ;;
4125   *)
4126   ac_save_MAGIC_CMD="$MAGIC_CMD"
4127   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4128   ac_dummy="/usr/bin:$PATH"
4129   for ac_dir in $ac_dummy; do
4130     test -z "$ac_dir" && ac_dir=.
4131     if test -f $ac_dir/${ac_tool_prefix}file; then
4132       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4133       if test -n "$file_magic_test_file"; then
4134         case $deplibs_check_method in
4135         "file_magic "*)
4136           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4137           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4138           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4139             egrep "$file_magic_regex" > /dev/null; then
4140             :
4141           else
4142             cat <<EOF 1>&2
4143
4144 *** Warning: the command libtool uses to detect shared libraries,
4145 *** $file_magic_cmd, produces output that libtool cannot recognize.
4146 *** The result is that libtool may fail to recognize shared libraries
4147 *** as such.  This will affect the creation of libtool libraries that
4148 *** depend on shared libraries, but programs linked with such libtool
4149 *** libraries will work regardless of this problem.  Nevertheless, you
4150 *** may want to report the problem to your system manager and/or to
4151 *** bug-libtool@gnu.org
4152
4153 EOF
4154           fi ;;
4155         esac
4156       fi
4157       break
4158     fi
4159   done
4160   IFS="$ac_save_ifs"
4161   MAGIC_CMD="$ac_save_MAGIC_CMD"
4162   ;;
4163 esac
4164 fi
4165
4166 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4167 if test -n "$MAGIC_CMD"; then
4168   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4169 echo "${ECHO_T}$MAGIC_CMD" >&6
4170 else
4171   echo "$as_me:$LINENO: result: no" >&5
4172 echo "${ECHO_T}no" >&6
4173 fi
4174
4175 if test -z "$lt_cv_path_MAGIC_CMD"; then
4176   if test -n "$ac_tool_prefix"; then
4177     echo "$as_me:$LINENO: checking for file" >&5
4178 echo $ECHO_N "checking for file... $ECHO_C" >&6
4179 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4180   echo $ECHO_N "(cached) $ECHO_C" >&6
4181 else
4182   case $MAGIC_CMD in
4183   /*)
4184   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4185   ;;
4186   ?:/*)
4187   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4188   ;;
4189   *)
4190   ac_save_MAGIC_CMD="$MAGIC_CMD"
4191   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4192   ac_dummy="/usr/bin:$PATH"
4193   for ac_dir in $ac_dummy; do
4194     test -z "$ac_dir" && ac_dir=.
4195     if test -f $ac_dir/file; then
4196       lt_cv_path_MAGIC_CMD="$ac_dir/file"
4197       if test -n "$file_magic_test_file"; then
4198         case $deplibs_check_method in
4199         "file_magic "*)
4200           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4201           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4202           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4203             egrep "$file_magic_regex" > /dev/null; then
4204             :
4205           else
4206             cat <<EOF 1>&2
4207
4208 *** Warning: the command libtool uses to detect shared libraries,
4209 *** $file_magic_cmd, produces output that libtool cannot recognize.
4210 *** The result is that libtool may fail to recognize shared libraries
4211 *** as such.  This will affect the creation of libtool libraries that
4212 *** depend on shared libraries, but programs linked with such libtool
4213 *** libraries will work regardless of this problem.  Nevertheless, you
4214 *** may want to report the problem to your system manager and/or to
4215 *** bug-libtool@gnu.org
4216
4217 EOF
4218           fi ;;
4219         esac
4220       fi
4221       break
4222     fi
4223   done
4224   IFS="$ac_save_ifs"
4225   MAGIC_CMD="$ac_save_MAGIC_CMD"
4226   ;;
4227 esac
4228 fi
4229
4230 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4231 if test -n "$MAGIC_CMD"; then
4232   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4233 echo "${ECHO_T}$MAGIC_CMD" >&6
4234 else
4235   echo "$as_me:$LINENO: result: no" >&5
4236 echo "${ECHO_T}no" >&6
4237 fi
4238
4239   else
4240     MAGIC_CMD=:
4241   fi
4242 fi
4243
4244   fi
4245   ;;
4246 esac
4247
4248 if test -n "$ac_tool_prefix"; then
4249   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4250 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4251 echo "$as_me:$LINENO: checking for $ac_word" >&5
4252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4253 if test "${ac_cv_prog_RANLIB+set}" = set; then
4254   echo $ECHO_N "(cached) $ECHO_C" >&6
4255 else
4256   if test -n "$RANLIB"; then
4257   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4258 else
4259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4260 for as_dir in $PATH
4261 do
4262   IFS=$as_save_IFS
4263   test -z "$as_dir" && as_dir=.
4264   for ac_exec_ext in '' $ac_executable_extensions; do
4265   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4266     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4267     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4268     break 2
4269   fi
4270 done
4271 done
4272
4273 fi
4274 fi
4275 RANLIB=$ac_cv_prog_RANLIB
4276 if test -n "$RANLIB"; then
4277   echo "$as_me:$LINENO: result: $RANLIB" >&5
4278 echo "${ECHO_T}$RANLIB" >&6
4279 else
4280   echo "$as_me:$LINENO: result: no" >&5
4281 echo "${ECHO_T}no" >&6
4282 fi
4283
4284 fi
4285 if test -z "$ac_cv_prog_RANLIB"; then
4286   ac_ct_RANLIB=$RANLIB
4287   # Extract the first word of "ranlib", so it can be a program name with args.
4288 set dummy ranlib; ac_word=$2
4289 echo "$as_me:$LINENO: checking for $ac_word" >&5
4290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4291 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4292   echo $ECHO_N "(cached) $ECHO_C" >&6
4293 else
4294   if test -n "$ac_ct_RANLIB"; then
4295   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4296 else
4297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4298 for as_dir in $PATH
4299 do
4300   IFS=$as_save_IFS
4301   test -z "$as_dir" && as_dir=.
4302   for ac_exec_ext in '' $ac_executable_extensions; do
4303   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4304     ac_cv_prog_ac_ct_RANLIB="ranlib"
4305     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4306     break 2
4307   fi
4308 done
4309 done
4310
4311   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4312 fi
4313 fi
4314 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4315 if test -n "$ac_ct_RANLIB"; then
4316   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4317 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4318 else
4319   echo "$as_me:$LINENO: result: no" >&5
4320 echo "${ECHO_T}no" >&6
4321 fi
4322
4323   RANLIB=$ac_ct_RANLIB
4324 else
4325   RANLIB="$ac_cv_prog_RANLIB"
4326 fi
4327
4328 if test -n "$ac_tool_prefix"; then
4329   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4330 set dummy ${ac_tool_prefix}strip; ac_word=$2
4331 echo "$as_me:$LINENO: checking for $ac_word" >&5
4332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4333 if test "${ac_cv_prog_STRIP+set}" = set; then
4334   echo $ECHO_N "(cached) $ECHO_C" >&6
4335 else
4336   if test -n "$STRIP"; then
4337   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4338 else
4339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4340 for as_dir in $PATH
4341 do
4342   IFS=$as_save_IFS
4343   test -z "$as_dir" && as_dir=.
4344   for ac_exec_ext in '' $ac_executable_extensions; do
4345   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4346     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4347     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4348     break 2
4349   fi
4350 done
4351 done
4352
4353 fi
4354 fi
4355 STRIP=$ac_cv_prog_STRIP
4356 if test -n "$STRIP"; then
4357   echo "$as_me:$LINENO: result: $STRIP" >&5
4358 echo "${ECHO_T}$STRIP" >&6
4359 else
4360   echo "$as_me:$LINENO: result: no" >&5
4361 echo "${ECHO_T}no" >&6
4362 fi
4363
4364 fi
4365 if test -z "$ac_cv_prog_STRIP"; then
4366   ac_ct_STRIP=$STRIP
4367   # Extract the first word of "strip", so it can be a program name with args.
4368 set dummy strip; ac_word=$2
4369 echo "$as_me:$LINENO: checking for $ac_word" >&5
4370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4371 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4372   echo $ECHO_N "(cached) $ECHO_C" >&6
4373 else
4374   if test -n "$ac_ct_STRIP"; then
4375   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4376 else
4377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4378 for as_dir in $PATH
4379 do
4380   IFS=$as_save_IFS
4381   test -z "$as_dir" && as_dir=.
4382   for ac_exec_ext in '' $ac_executable_extensions; do
4383   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4384     ac_cv_prog_ac_ct_STRIP="strip"
4385     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4386     break 2
4387   fi
4388 done
4389 done
4390
4391   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4392 fi
4393 fi
4394 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4395 if test -n "$ac_ct_STRIP"; then
4396   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4397 echo "${ECHO_T}$ac_ct_STRIP" >&6
4398 else
4399   echo "$as_me:$LINENO: result: no" >&5
4400 echo "${ECHO_T}no" >&6
4401 fi
4402
4403   STRIP=$ac_ct_STRIP
4404 else
4405   STRIP="$ac_cv_prog_STRIP"
4406 fi
4407
4408
4409 # Check for any special flags to pass to ltconfig.
4410 libtool_flags="--cache-file=$cache_file"
4411 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4412 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4413 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4414 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4415 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4416
4417
4418 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4419 if test "${enable_libtool_lock+set}" = set; then
4420   enableval="$enable_libtool_lock"
4421
4422 fi;
4423 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4424 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4425
4426
4427 # Check whether --with-pic or --without-pic was given.
4428 if test "${with_pic+set}" = set; then
4429   withval="$with_pic"
4430   pic_mode="$withval"
4431 else
4432   pic_mode=default
4433 fi;
4434 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4435 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4436
4437 # Some flags need to be propagated to the compiler or linker for good
4438 # libtool support.
4439 case $host in
4440 *-*-irix6*)
4441   # Find out which ABI we are using.
4442   echo '#line 4442 "configure"' > conftest.$ac_ext
4443   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4444   (eval $ac_compile) 2>&5
4445   ac_status=$?
4446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447   (exit $ac_status); }; then
4448    if test "$lt_cv_prog_gnu_ld" = yes; then
4449     case `/usr/bin/file conftest.$ac_objext` in
4450     *32-bit*)
4451       LD="${LD-ld} -melf32bsmip"
4452       ;;
4453     *N32*)
4454       LD="${LD-ld} -melf32bmipn32"
4455       ;;
4456     *64-bit*)
4457       LD="${LD-ld} -melf64bmip"
4458       ;;
4459     esac
4460    else
4461     case `/usr/bin/file conftest.$ac_objext` in
4462     *32-bit*)
4463       LD="${LD-ld} -32"
4464       ;;
4465     *N32*)
4466       LD="${LD-ld} -n32"
4467       ;;
4468     *64-bit*)
4469       LD="${LD-ld} -64"
4470       ;;
4471     esac
4472    fi
4473   fi
4474   rm -rf conftest*
4475   ;;
4476
4477 ia64-*-hpux*)
4478   # Find out which ABI we are using.
4479   echo 'int i;' > conftest.$ac_ext
4480   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4481   (eval $ac_compile) 2>&5
4482   ac_status=$?
4483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4484   (exit $ac_status); }; then
4485     case "`/usr/bin/file conftest.o`" in
4486     *ELF-32*)
4487       HPUX_IA64_MODE="32"
4488       ;;
4489     *ELF-64*)
4490       HPUX_IA64_MODE="64"
4491       ;;
4492     esac
4493   fi
4494   rm -rf conftest*
4495   ;;
4496
4497 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4498   # Find out which ABI we are using.
4499   echo 'int i;' > conftest.$ac_ext
4500   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4501   (eval $ac_compile) 2>&5
4502   ac_status=$?
4503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4504   (exit $ac_status); }; then
4505     case "`/usr/bin/file conftest.o`" in
4506     *32-bit*)
4507       case $host in
4508         x86_64-*linux*)
4509           LD="${LD-ld} -m elf_i386"
4510           ;;
4511         ppc64-*linux*|powerpc64-*linux*)
4512           LD="${LD-ld} -m elf32ppclinux"
4513           ;;
4514         s390x-*linux*)
4515           LD="${LD-ld} -m elf_s390"
4516           ;;
4517         sparc64-*linux*)
4518           LD="${LD-ld} -m elf32_sparc"
4519           ;;
4520       esac
4521       ;;
4522     *64-bit*)
4523       case $host in
4524         x86_64-*linux*)
4525           LD="${LD-ld} -m elf_x86_64"
4526           ;;
4527         ppc*-*linux*|powerpc*-*linux*)
4528           LD="${LD-ld} -m elf64ppc"
4529           ;;
4530         s390*-*linux*)
4531           LD="${LD-ld} -m elf64_s390"
4532           ;;
4533         sparc*-*linux*)
4534           LD="${LD-ld} -m elf64_sparc"
4535           ;;
4536       esac
4537       ;;
4538     esac
4539   fi
4540   rm -rf conftest*
4541   ;;
4542
4543 *-*-sco3.2v5*)
4544   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4545   SAVE_CFLAGS="$CFLAGS"
4546   CFLAGS="$CFLAGS -belf"
4547   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4548 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4549 if test "${lt_cv_cc_needs_belf+set}" = set; then
4550   echo $ECHO_N "(cached) $ECHO_C" >&6
4551 else
4552
4553
4554      ac_ext=c
4555 ac_cpp='$CPP $CPPFLAGS'
4556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4559
4560      if test x$gcc_no_link = xyes; then
4561   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4563    { (exit 1); exit 1; }; }
4564 fi
4565 cat >conftest.$ac_ext <<_ACEOF
4566 /* confdefs.h.  */
4567 _ACEOF
4568 cat confdefs.h >>conftest.$ac_ext
4569 cat >>conftest.$ac_ext <<_ACEOF
4570 /* end confdefs.h.  */
4571
4572 int
4573 main ()
4574 {
4575
4576   ;
4577   return 0;
4578 }
4579 _ACEOF
4580 rm -f conftest.$ac_objext conftest$ac_exeext
4581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4582   (eval $ac_link) 2>conftest.er1
4583   ac_status=$?
4584   grep -v '^ *+' conftest.er1 >conftest.err
4585   rm -f conftest.er1
4586   cat conftest.err >&5
4587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588   (exit $ac_status); } &&
4589          { ac_try='test -z "$ac_c_werror_flag"
4590                          || test ! -s conftest.err'
4591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4592   (eval $ac_try) 2>&5
4593   ac_status=$?
4594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595   (exit $ac_status); }; } &&
4596          { ac_try='test -s conftest$ac_exeext'
4597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4598   (eval $ac_try) 2>&5
4599   ac_status=$?
4600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601   (exit $ac_status); }; }; then
4602   lt_cv_cc_needs_belf=yes
4603 else
4604   echo "$as_me: failed program was:" >&5
4605 sed 's/^/| /' conftest.$ac_ext >&5
4606
4607 lt_cv_cc_needs_belf=no
4608 fi
4609 rm -f conftest.err conftest.$ac_objext \
4610       conftest$ac_exeext conftest.$ac_ext
4611      ac_ext=c
4612 ac_cpp='$CPP $CPPFLAGS'
4613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4616
4617 fi
4618 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4619 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4620   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4621     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4622     CFLAGS="$SAVE_CFLAGS"
4623   fi
4624   ;;
4625
4626
4627 esac
4628
4629
4630 # Save cache, so that ltconfig can load it
4631 cat >confcache <<\_ACEOF
4632 # This file is a shell script that caches the results of configure
4633 # tests run on this system so they can be shared between configure
4634 # scripts and configure runs, see configure's option --config-cache.
4635 # It is not useful on other systems.  If it contains results you don't
4636 # want to keep, you may remove or edit it.
4637 #
4638 # config.status only pays attention to the cache file if you give it
4639 # the --recheck option to rerun configure.
4640 #
4641 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4642 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4643 # following values.
4644
4645 _ACEOF
4646
4647 # The following way of writing the cache mishandles newlines in values,
4648 # but we know of no workaround that is simple, portable, and efficient.
4649 # So, don't put newlines in cache variables' values.
4650 # Ultrix sh set writes to stderr and can't be redirected directly,
4651 # and sets the high bit in the cache file unless we assign to the vars.
4652 {
4653   (set) 2>&1 |
4654     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4655     *ac_space=\ *)
4656       # `set' does not quote correctly, so add quotes (double-quote
4657       # substitution turns \\\\ into \\, and sed turns \\ into \).
4658       sed -n \
4659         "s/'/'\\\\''/g;
4660           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4661       ;;
4662     *)
4663       # `set' quotes correctly as required by POSIX, so do not add quotes.
4664       sed -n \
4665         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4666       ;;
4667     esac;
4668 } |
4669   sed '
4670      t clear
4671      : clear
4672      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4673      t end
4674      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4675      : end' >>confcache
4676 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4677   if test -w $cache_file; then
4678     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4679     cat confcache >$cache_file
4680   else
4681     echo "not updating unwritable cache $cache_file"
4682   fi
4683 fi
4684 rm -f confcache
4685
4686 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
4687 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4688 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4689 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4690 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4691 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4692 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4693 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4694 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4695 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4696 echo "$as_me: error: libtool configure failed" >&2;}
4697    { (exit 1); exit 1; }; }
4698
4699 # Reload cache, that may have been modified by ltconfig
4700 if test -r "$cache_file"; then
4701   # Some versions of bash will fail to source /dev/null (special
4702   # files actually), so we avoid doing that.
4703   if test -f "$cache_file"; then
4704     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4705 echo "$as_me: loading cache $cache_file" >&6;}
4706     case $cache_file in
4707       [\\/]* | ?:[\\/]* ) . $cache_file;;
4708       *)                      . ./$cache_file;;
4709     esac
4710   fi
4711 else
4712   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4713 echo "$as_me: creating cache $cache_file" >&6;}
4714   >$cache_file
4715 fi
4716
4717
4718 # This can be used to rebuild libtool when needed
4719 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4720
4721 # Always use our own libtool.
4722 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4723
4724 # Redirect the config.log output again, so that the ltconfig log is not
4725 # clobbered by the next message.
4726 exec 5>>./config.log
4727
4728 ac_ext=cc
4729 ac_cpp='$CXXCPP $CPPFLAGS'
4730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4733 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4734 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4735 if test -z "$CXXCPP"; then
4736   if test "${ac_cv_prog_CXXCPP+set}" = set; then
4737   echo $ECHO_N "(cached) $ECHO_C" >&6
4738 else
4739       # Double quotes because CXXCPP needs to be expanded
4740     for CXXCPP in "$CXX -E" "/lib/cpp"
4741     do
4742       ac_preproc_ok=false
4743 for ac_cxx_preproc_warn_flag in '' yes
4744 do
4745   # Use a header file that comes with gcc, so configuring glibc
4746   # with a fresh cross-compiler works.
4747   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4748   # <limits.h> exists even on freestanding compilers.
4749   # On the NeXT, cc -E runs the code through the compiler's parser,
4750   # not just through cpp. "Syntax error" is here to catch this case.
4751   cat >conftest.$ac_ext <<_ACEOF
4752 /* confdefs.h.  */
4753 _ACEOF
4754 cat confdefs.h >>conftest.$ac_ext
4755 cat >>conftest.$ac_ext <<_ACEOF
4756 /* end confdefs.h.  */
4757 #ifdef __STDC__
4758 # include <limits.h>
4759 #else
4760 # include <assert.h>
4761 #endif
4762                      Syntax error
4763 _ACEOF
4764 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4765   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4766   ac_status=$?
4767   grep -v '^ *+' conftest.er1 >conftest.err
4768   rm -f conftest.er1
4769   cat conftest.err >&5
4770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4771   (exit $ac_status); } >/dev/null; then
4772   if test -s conftest.err; then
4773     ac_cpp_err=$ac_cxx_preproc_warn_flag
4774     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4775   else
4776     ac_cpp_err=
4777   fi
4778 else
4779   ac_cpp_err=yes
4780 fi
4781 if test -z "$ac_cpp_err"; then
4782   :
4783 else
4784   echo "$as_me: failed program was:" >&5
4785 sed 's/^/| /' conftest.$ac_ext >&5
4786
4787   # Broken: fails on valid input.
4788 continue
4789 fi
4790 rm -f conftest.err conftest.$ac_ext
4791
4792   # OK, works on sane cases.  Now check whether non-existent headers
4793   # can be detected and how.
4794   cat >conftest.$ac_ext <<_ACEOF
4795 /* confdefs.h.  */
4796 _ACEOF
4797 cat confdefs.h >>conftest.$ac_ext
4798 cat >>conftest.$ac_ext <<_ACEOF
4799 /* end confdefs.h.  */
4800 #include <ac_nonexistent.h>
4801 _ACEOF
4802 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4803   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4804   ac_status=$?
4805   grep -v '^ *+' conftest.er1 >conftest.err
4806   rm -f conftest.er1
4807   cat conftest.err >&5
4808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809   (exit $ac_status); } >/dev/null; then
4810   if test -s conftest.err; then
4811     ac_cpp_err=$ac_cxx_preproc_warn_flag
4812     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4813   else
4814     ac_cpp_err=
4815   fi
4816 else
4817   ac_cpp_err=yes
4818 fi
4819 if test -z "$ac_cpp_err"; then
4820   # Broken: success on invalid input.
4821 continue
4822 else
4823   echo "$as_me: failed program was:" >&5
4824 sed 's/^/| /' conftest.$ac_ext >&5
4825
4826   # Passes both tests.
4827 ac_preproc_ok=:
4828 break
4829 fi
4830 rm -f conftest.err conftest.$ac_ext
4831
4832 done
4833 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4834 rm -f conftest.err conftest.$ac_ext
4835 if $ac_preproc_ok; then
4836   break
4837 fi
4838
4839     done
4840     ac_cv_prog_CXXCPP=$CXXCPP
4841
4842 fi
4843   CXXCPP=$ac_cv_prog_CXXCPP
4844 else
4845   ac_cv_prog_CXXCPP=$CXXCPP
4846 fi
4847 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4848 echo "${ECHO_T}$CXXCPP" >&6
4849 ac_preproc_ok=false
4850 for ac_cxx_preproc_warn_flag in '' yes
4851 do
4852   # Use a header file that comes with gcc, so configuring glibc
4853   # with a fresh cross-compiler works.
4854   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4855   # <limits.h> exists even on freestanding compilers.
4856   # On the NeXT, cc -E runs the code through the compiler's parser,
4857   # not just through cpp. "Syntax error" is here to catch this case.
4858   cat >conftest.$ac_ext <<_ACEOF
4859 /* confdefs.h.  */
4860 _ACEOF
4861 cat confdefs.h >>conftest.$ac_ext
4862 cat >>conftest.$ac_ext <<_ACEOF
4863 /* end confdefs.h.  */
4864 #ifdef __STDC__
4865 # include <limits.h>
4866 #else
4867 # include <assert.h>
4868 #endif
4869                      Syntax error
4870 _ACEOF
4871 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4872   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4873   ac_status=$?
4874   grep -v '^ *+' conftest.er1 >conftest.err
4875   rm -f conftest.er1
4876   cat conftest.err >&5
4877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4878   (exit $ac_status); } >/dev/null; then
4879   if test -s conftest.err; then
4880     ac_cpp_err=$ac_cxx_preproc_warn_flag
4881     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4882   else
4883     ac_cpp_err=
4884   fi
4885 else
4886   ac_cpp_err=yes
4887 fi
4888 if test -z "$ac_cpp_err"; then
4889   :
4890 else
4891   echo "$as_me: failed program was:" >&5
4892 sed 's/^/| /' conftest.$ac_ext >&5
4893
4894   # Broken: fails on valid input.
4895 continue
4896 fi
4897 rm -f conftest.err conftest.$ac_ext
4898
4899   # OK, works on sane cases.  Now check whether non-existent headers
4900   # can be detected and how.
4901   cat >conftest.$ac_ext <<_ACEOF
4902 /* confdefs.h.  */
4903 _ACEOF
4904 cat confdefs.h >>conftest.$ac_ext
4905 cat >>conftest.$ac_ext <<_ACEOF
4906 /* end confdefs.h.  */
4907 #include <ac_nonexistent.h>
4908 _ACEOF
4909 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4910   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4911   ac_status=$?
4912   grep -v '^ *+' conftest.er1 >conftest.err
4913   rm -f conftest.er1
4914   cat conftest.err >&5
4915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4916   (exit $ac_status); } >/dev/null; then
4917   if test -s conftest.err; then
4918     ac_cpp_err=$ac_cxx_preproc_warn_flag
4919     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4920   else
4921     ac_cpp_err=
4922   fi
4923 else
4924   ac_cpp_err=yes
4925 fi
4926 if test -z "$ac_cpp_err"; then
4927   # Broken: success on invalid input.
4928 continue
4929 else
4930   echo "$as_me: failed program was:" >&5
4931 sed 's/^/| /' conftest.$ac_ext >&5
4932
4933   # Passes both tests.
4934 ac_preproc_ok=:
4935 break
4936 fi
4937 rm -f conftest.err conftest.$ac_ext
4938
4939 done
4940 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4941 rm -f conftest.err conftest.$ac_ext
4942 if $ac_preproc_ok; then
4943   :
4944 else
4945   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4946 See \`config.log' for more details." >&5
4947 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4948 See \`config.log' for more details." >&2;}
4949    { (exit 1); exit 1; }; }
4950 fi
4951
4952 ac_ext=c
4953 ac_cpp='$CPP $CPPFLAGS'
4954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4957
4958
4959
4960 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4961 lt_save_CC="$CC"
4962 lt_save_CFLAGS="$CFLAGS"
4963 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4964 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4965 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4966 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4967 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4968 deplibs_check_method="$deplibs_check_method" \
4969 file_magic_cmd="$file_magic_cmd" \
4970 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4971 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4972 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4973 echo "$as_me: error: libtool tag configuration failed" >&2;}
4974    { (exit 1); exit 1; }; }
4975 CC="$lt_save_CC"
4976 CFLAGS="$lt_save_CFLAGS"
4977
4978 # Redirect the config.log output again, so that the ltconfig log is not
4979 # clobbered by the next message.
4980 exec 5>>./config.log
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990 # Possibly disable most of the library.
4991 ## TODO: Consider skipping unncessary tests altogether in this case, rather
4992 ## than just ignoring the results.  Faster /and/ more correct, win win.
4993
4994   # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4995 if test "${enable_hosted_libstdcxx+set}" = set; then
4996   enableval="$enable_hosted_libstdcxx"
4997
4998 else
4999   case "$host" in
5000         arm*-*-symbianelf*)
5001             enable_hosted_libstdcxx=no
5002             ;;
5003         *)
5004             enable_hosted_libstdcxx=yes
5005             ;;
5006      esac
5007 fi;
5008   if test "$enable_hosted_libstdcxx" = no; then
5009     { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
5010 echo "$as_me: Only freestanding libraries will be built" >&6;}
5011     is_hosted=no
5012     hosted_define=0
5013     enable_abi_check=no
5014     enable_libstdcxx_pch=no
5015   else
5016     is_hosted=yes
5017     hosted_define=1
5018   fi
5019
5020
5021 cat >>confdefs.h <<_ACEOF
5022 #define _GLIBCXX_HOSTED $hosted_define
5023 _ACEOF
5024
5025
5026
5027 # Check for compiler support that doesn't require linking.
5028
5029   echo "$as_me:$LINENO: checking for exception model to use" >&5
5030 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
5031
5032
5033   ac_ext=cc
5034 ac_cpp='$CXXCPP $CPPFLAGS'
5035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5038
5039    # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5040 if test "${enable_sjlj_exceptions+set}" = set; then
5041   enableval="$enable_sjlj_exceptions"
5042
5043       case "$enableval" in
5044        yes|no|auto) ;;
5045        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5046 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5047    { (exit 1); exit 1; }; } ;;
5048                           esac
5049
5050 else
5051   enable_sjlj_exceptions=auto
5052 fi;
5053
5054
5055   if test $enable_sjlj_exceptions = auto; then
5056     # Botheration.  Now we've got to detect the exception model.  Link tests
5057     # against libgcc.a are problematic since we've not been given proper -L
5058     # bits for single-tree newlib and libgloss.
5059     #
5060     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
5061     cat > conftest.$ac_ext << EOF
5062 #line 5062 "configure"
5063 struct S { ~S(); };
5064 void bar();
5065 void foo()
5066 {
5067   S s;
5068   bar();
5069 }
5070 EOF
5071     old_CXXFLAGS="$CXXFLAGS"
5072     CXXFLAGS=-S
5073     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5074   (eval $ac_compile) 2>&5
5075   ac_status=$?
5076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5077   (exit $ac_status); }; then
5078       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5079         enable_sjlj_exceptions=yes
5080       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5081         enable_sjlj_exceptions=no
5082       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
5083         enable_sjlj_exceptions=no
5084       fi
5085     fi
5086     CXXFLAGS="$old_CXXFLAGS"
5087     rm -f conftest*
5088   fi
5089
5090   # This is a tad weird, for hysterical raisins.  We have to map enable/disable
5091   # to two different models.
5092   case $enable_sjlj_exceptions in
5093     yes)
5094
5095 cat >>confdefs.h <<\_ACEOF
5096 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5097 _ACEOF
5098
5099       ac_exception_model_name=sjlj
5100       ;;
5101     no)
5102       ac_exception_model_name="call frame"
5103       ;;
5104     *)
5105       { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5106 echo "$as_me: error: unable to detect exception model" >&2;}
5107    { (exit 1); exit 1; }; }
5108       ;;
5109   esac
5110  ac_ext=c
5111 ac_cpp='$CPP $CPPFLAGS'
5112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5115
5116  echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5117 echo "${ECHO_T}$ac_exception_model_name" >&6
5118
5119
5120   echo "$as_me:$LINENO: checking for enabled PCH" >&5
5121 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5122    # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5123 if test "${enable_libstdcxx_pch+set}" = set; then
5124   enableval="$enable_libstdcxx_pch"
5125
5126       case "$enableval" in
5127        yes|no) ;;
5128        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5129 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5130    { (exit 1); exit 1; }; } ;;
5131       esac
5132
5133 else
5134   enable_libstdcxx_pch=$is_hosted
5135 fi;
5136
5137   echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5138 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5139
5140   if test $enable_libstdcxx_pch = yes; then
5141     echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5142 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5143 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5144   echo $ECHO_N "(cached) $ECHO_C" >&6
5145 else
5146   ac_save_CXXFLAGS="$CXXFLAGS"
5147        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5148
5149
5150        ac_ext=cc
5151 ac_cpp='$CXXCPP $CPPFLAGS'
5152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5155
5156        echo '#include <math.h>' > conftest.h
5157        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5158                           -o conftest.h.gch 1>&5 2>&1 &&
5159                 echo '#error "pch failed"' > conftest.h &&
5160           echo '#include "conftest.h"' > conftest.cc &&
5161                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5162        then
5163          glibcxx_cv_prog_CXX_pch=yes
5164        else
5165          glibcxx_cv_prog_CXX_pch=no
5166        fi
5167        rm -f conftest*
5168        CXXFLAGS=$ac_save_CXXFLAGS
5169        ac_ext=c
5170 ac_cpp='$CPP $CPPFLAGS'
5171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5174
5175
5176 fi
5177 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5178 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5179     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5180   fi
5181
5182
5183   if test $enable_libstdcxx_pch = yes; then
5184     glibcxx_PCHFLAGS="-include bits/stdc++.h"
5185   else
5186     glibcxx_PCHFLAGS=""
5187   fi
5188
5189
5190
5191 # Enable all the variable C++ runtime options.
5192
5193   echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5194 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5195    # Check whether --enable-cstdio or --disable-cstdio was given.
5196 if test "${enable_cstdio+set}" = set; then
5197   enableval="$enable_cstdio"
5198
5199       case "$enableval" in
5200        stdio) ;;
5201        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5202 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5203    { (exit 1); exit 1; }; } ;;
5204                           esac
5205
5206 else
5207   enable_cstdio=stdio
5208 fi;
5209
5210
5211   # Now that libio has been removed, you can have any color you want as long
5212   # as it's black.  This is one big no-op until other packages are added, but
5213   # showing the framework never hurts.
5214   case ${enable_cstdio} in
5215     stdio)
5216       CSTDIO_H=config/io/c_io_stdio.h
5217       BASIC_FILE_H=config/io/basic_file_stdio.h
5218       BASIC_FILE_CC=config/io/basic_file_stdio.cc
5219       echo "$as_me:$LINENO: result: stdio" >&5
5220 echo "${ECHO_T}stdio" >&6
5221       ;;
5222   esac
5223
5224
5225
5226
5227
5228 ac_ext=c
5229 ac_cpp='$CPP $CPPFLAGS'
5230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5233 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5234 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5235 # On Suns, sometimes $CPP names a directory.
5236 if test -n "$CPP" && test -d "$CPP"; then
5237   CPP=
5238 fi
5239 if test -z "$CPP"; then
5240   if test "${ac_cv_prog_CPP+set}" = set; then
5241   echo $ECHO_N "(cached) $ECHO_C" >&6
5242 else
5243       # Double quotes because CPP needs to be expanded
5244     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5245     do
5246       ac_preproc_ok=false
5247 for ac_c_preproc_warn_flag in '' yes
5248 do
5249   # Use a header file that comes with gcc, so configuring glibc
5250   # with a fresh cross-compiler works.
5251   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5252   # <limits.h> exists even on freestanding compilers.
5253   # On the NeXT, cc -E runs the code through the compiler's parser,
5254   # not just through cpp. "Syntax error" is here to catch this case.
5255   cat >conftest.$ac_ext <<_ACEOF
5256 /* confdefs.h.  */
5257 _ACEOF
5258 cat confdefs.h >>conftest.$ac_ext
5259 cat >>conftest.$ac_ext <<_ACEOF
5260 /* end confdefs.h.  */
5261 #ifdef __STDC__
5262 # include <limits.h>
5263 #else
5264 # include <assert.h>
5265 #endif
5266                      Syntax error
5267 _ACEOF
5268 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5269   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5270   ac_status=$?
5271   grep -v '^ *+' conftest.er1 >conftest.err
5272   rm -f conftest.er1
5273   cat conftest.err >&5
5274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5275   (exit $ac_status); } >/dev/null; then
5276   if test -s conftest.err; then
5277     ac_cpp_err=$ac_c_preproc_warn_flag
5278     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5279   else
5280     ac_cpp_err=
5281   fi
5282 else
5283   ac_cpp_err=yes
5284 fi
5285 if test -z "$ac_cpp_err"; then
5286   :
5287 else
5288   echo "$as_me: failed program was:" >&5
5289 sed 's/^/| /' conftest.$ac_ext >&5
5290
5291   # Broken: fails on valid input.
5292 continue
5293 fi
5294 rm -f conftest.err conftest.$ac_ext
5295
5296   # OK, works on sane cases.  Now check whether non-existent headers
5297   # can be detected and how.
5298   cat >conftest.$ac_ext <<_ACEOF
5299 /* confdefs.h.  */
5300 _ACEOF
5301 cat confdefs.h >>conftest.$ac_ext
5302 cat >>conftest.$ac_ext <<_ACEOF
5303 /* end confdefs.h.  */
5304 #include <ac_nonexistent.h>
5305 _ACEOF
5306 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5307   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5308   ac_status=$?
5309   grep -v '^ *+' conftest.er1 >conftest.err
5310   rm -f conftest.er1
5311   cat conftest.err >&5
5312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5313   (exit $ac_status); } >/dev/null; then
5314   if test -s conftest.err; then
5315     ac_cpp_err=$ac_c_preproc_warn_flag
5316     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5317   else
5318     ac_cpp_err=
5319   fi
5320 else
5321   ac_cpp_err=yes
5322 fi
5323 if test -z "$ac_cpp_err"; then
5324   # Broken: success on invalid input.
5325 continue
5326 else
5327   echo "$as_me: failed program was:" >&5
5328 sed 's/^/| /' conftest.$ac_ext >&5
5329
5330   # Passes both tests.
5331 ac_preproc_ok=:
5332 break
5333 fi
5334 rm -f conftest.err conftest.$ac_ext
5335
5336 done
5337 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5338 rm -f conftest.err conftest.$ac_ext
5339 if $ac_preproc_ok; then
5340   break
5341 fi
5342
5343     done
5344     ac_cv_prog_CPP=$CPP
5345
5346 fi
5347   CPP=$ac_cv_prog_CPP
5348 else
5349   ac_cv_prog_CPP=$CPP
5350 fi
5351 echo "$as_me:$LINENO: result: $CPP" >&5
5352 echo "${ECHO_T}$CPP" >&6
5353 ac_preproc_ok=false
5354 for ac_c_preproc_warn_flag in '' yes
5355 do
5356   # Use a header file that comes with gcc, so configuring glibc
5357   # with a fresh cross-compiler works.
5358   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5359   # <limits.h> exists even on freestanding compilers.
5360   # On the NeXT, cc -E runs the code through the compiler's parser,
5361   # not just through cpp. "Syntax error" is here to catch this case.
5362   cat >conftest.$ac_ext <<_ACEOF
5363 /* confdefs.h.  */
5364 _ACEOF
5365 cat confdefs.h >>conftest.$ac_ext
5366 cat >>conftest.$ac_ext <<_ACEOF
5367 /* end confdefs.h.  */
5368 #ifdef __STDC__
5369 # include <limits.h>
5370 #else
5371 # include <assert.h>
5372 #endif
5373                      Syntax error
5374 _ACEOF
5375 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5376   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5377   ac_status=$?
5378   grep -v '^ *+' conftest.er1 >conftest.err
5379   rm -f conftest.er1
5380   cat conftest.err >&5
5381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5382   (exit $ac_status); } >/dev/null; then
5383   if test -s conftest.err; then
5384     ac_cpp_err=$ac_c_preproc_warn_flag
5385     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5386   else
5387     ac_cpp_err=
5388   fi
5389 else
5390   ac_cpp_err=yes
5391 fi
5392 if test -z "$ac_cpp_err"; then
5393   :
5394 else
5395   echo "$as_me: failed program was:" >&5
5396 sed 's/^/| /' conftest.$ac_ext >&5
5397
5398   # Broken: fails on valid input.
5399 continue
5400 fi
5401 rm -f conftest.err conftest.$ac_ext
5402
5403   # OK, works on sane cases.  Now check whether non-existent headers
5404   # can be detected and how.
5405   cat >conftest.$ac_ext <<_ACEOF
5406 /* confdefs.h.  */
5407 _ACEOF
5408 cat confdefs.h >>conftest.$ac_ext
5409 cat >>conftest.$ac_ext <<_ACEOF
5410 /* end confdefs.h.  */
5411 #include <ac_nonexistent.h>
5412 _ACEOF
5413 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5414   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5415   ac_status=$?
5416   grep -v '^ *+' conftest.er1 >conftest.err
5417   rm -f conftest.er1
5418   cat conftest.err >&5
5419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5420   (exit $ac_status); } >/dev/null; then
5421   if test -s conftest.err; then
5422     ac_cpp_err=$ac_c_preproc_warn_flag
5423     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5424   else
5425     ac_cpp_err=
5426   fi
5427 else
5428   ac_cpp_err=yes
5429 fi
5430 if test -z "$ac_cpp_err"; then
5431   # Broken: success on invalid input.
5432 continue
5433 else
5434   echo "$as_me: failed program was:" >&5
5435 sed 's/^/| /' conftest.$ac_ext >&5
5436
5437   # Passes both tests.
5438 ac_preproc_ok=:
5439 break
5440 fi
5441 rm -f conftest.err conftest.$ac_ext
5442
5443 done
5444 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5445 rm -f conftest.err conftest.$ac_ext
5446 if $ac_preproc_ok; then
5447   :
5448 else
5449   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5450 See \`config.log' for more details." >&5
5451 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5452 See \`config.log' for more details." >&2;}
5453    { (exit 1); exit 1; }; }
5454 fi
5455
5456 ac_ext=c
5457 ac_cpp='$CPP $CPPFLAGS'
5458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5461
5462
5463 echo "$as_me:$LINENO: checking for egrep" >&5
5464 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5465 if test "${ac_cv_prog_egrep+set}" = set; then
5466   echo $ECHO_N "(cached) $ECHO_C" >&6
5467 else
5468   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5469     then ac_cv_prog_egrep='grep -E'
5470     else ac_cv_prog_egrep='egrep'
5471     fi
5472 fi
5473 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5474 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5475  EGREP=$ac_cv_prog_egrep
5476
5477
5478 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5479 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5480 if test "${ac_cv_header_stdc+set}" = set; then
5481   echo $ECHO_N "(cached) $ECHO_C" >&6
5482 else
5483   cat >conftest.$ac_ext <<_ACEOF
5484 /* confdefs.h.  */
5485 _ACEOF
5486 cat confdefs.h >>conftest.$ac_ext
5487 cat >>conftest.$ac_ext <<_ACEOF
5488 /* end confdefs.h.  */
5489 #include <stdlib.h>
5490 #include <stdarg.h>
5491 #include <string.h>
5492 #include <float.h>
5493
5494 int
5495 main ()
5496 {
5497
5498   ;
5499   return 0;
5500 }
5501 _ACEOF
5502 rm -f conftest.$ac_objext
5503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5504   (eval $ac_compile) 2>conftest.er1
5505   ac_status=$?
5506   grep -v '^ *+' conftest.er1 >conftest.err
5507   rm -f conftest.er1
5508   cat conftest.err >&5
5509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510   (exit $ac_status); } &&
5511          { ac_try='test -z "$ac_c_werror_flag"
5512                          || test ! -s conftest.err'
5513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5514   (eval $ac_try) 2>&5
5515   ac_status=$?
5516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5517   (exit $ac_status); }; } &&
5518          { ac_try='test -s conftest.$ac_objext'
5519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5520   (eval $ac_try) 2>&5
5521   ac_status=$?
5522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5523   (exit $ac_status); }; }; then
5524   ac_cv_header_stdc=yes
5525 else
5526   echo "$as_me: failed program was:" >&5
5527 sed 's/^/| /' conftest.$ac_ext >&5
5528
5529 ac_cv_header_stdc=no
5530 fi
5531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5532
5533 if test $ac_cv_header_stdc = yes; then
5534   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5535   cat >conftest.$ac_ext <<_ACEOF
5536 /* confdefs.h.  */
5537 _ACEOF
5538 cat confdefs.h >>conftest.$ac_ext
5539 cat >>conftest.$ac_ext <<_ACEOF
5540 /* end confdefs.h.  */
5541 #include <string.h>
5542
5543 _ACEOF
5544 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5545   $EGREP "memchr" >/dev/null 2>&1; then
5546   :
5547 else
5548   ac_cv_header_stdc=no
5549 fi
5550 rm -f conftest*
5551
5552 fi
5553
5554 if test $ac_cv_header_stdc = yes; then
5555   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5556   cat >conftest.$ac_ext <<_ACEOF
5557 /* confdefs.h.  */
5558 _ACEOF
5559 cat confdefs.h >>conftest.$ac_ext
5560 cat >>conftest.$ac_ext <<_ACEOF
5561 /* end confdefs.h.  */
5562 #include <stdlib.h>
5563
5564 _ACEOF
5565 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5566   $EGREP "free" >/dev/null 2>&1; then
5567   :
5568 else
5569   ac_cv_header_stdc=no
5570 fi
5571 rm -f conftest*
5572
5573 fi
5574
5575 if test $ac_cv_header_stdc = yes; then
5576   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5577   if test "$cross_compiling" = yes; then
5578   :
5579 else
5580   cat >conftest.$ac_ext <<_ACEOF
5581 /* confdefs.h.  */
5582 _ACEOF
5583 cat confdefs.h >>conftest.$ac_ext
5584 cat >>conftest.$ac_ext <<_ACEOF
5585 /* end confdefs.h.  */
5586 #include <ctype.h>
5587 #if ((' ' & 0x0FF) == 0x020)
5588 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5589 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5590 #else
5591 # define ISLOWER(c) \
5592                    (('a' <= (c) && (c) <= 'i') \
5593                      || ('j' <= (c) && (c) <= 'r') \
5594                      || ('s' <= (c) && (c) <= 'z'))
5595 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5596 #endif
5597
5598 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5599 int
5600 main ()
5601 {
5602   int i;
5603   for (i = 0; i < 256; i++)
5604     if (XOR (islower (i), ISLOWER (i))
5605         || toupper (i) != TOUPPER (i))
5606       exit(2);
5607   exit (0);
5608 }
5609 _ACEOF
5610 rm -f conftest$ac_exeext
5611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5612   (eval $ac_link) 2>&5
5613   ac_status=$?
5614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5617   (eval $ac_try) 2>&5
5618   ac_status=$?
5619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5620   (exit $ac_status); }; }; then
5621   :
5622 else
5623   echo "$as_me: program exited with status $ac_status" >&5
5624 echo "$as_me: failed program was:" >&5
5625 sed 's/^/| /' conftest.$ac_ext >&5
5626
5627 ( exit $ac_status )
5628 ac_cv_header_stdc=no
5629 fi
5630 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5631 fi
5632 fi
5633 fi
5634 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5635 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5636 if test $ac_cv_header_stdc = yes; then
5637
5638 cat >>confdefs.h <<\_ACEOF
5639 #define STDC_HEADERS 1
5640 _ACEOF
5641
5642 fi
5643
5644 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5655                   inttypes.h stdint.h unistd.h
5656 do
5657 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5658 echo "$as_me:$LINENO: checking for $ac_header" >&5
5659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5661   echo $ECHO_N "(cached) $ECHO_C" >&6
5662 else
5663   cat >conftest.$ac_ext <<_ACEOF
5664 /* confdefs.h.  */
5665 _ACEOF
5666 cat confdefs.h >>conftest.$ac_ext
5667 cat >>conftest.$ac_ext <<_ACEOF
5668 /* end confdefs.h.  */
5669 $ac_includes_default
5670
5671 #include <$ac_header>
5672 _ACEOF
5673 rm -f conftest.$ac_objext
5674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5675   (eval $ac_compile) 2>conftest.er1
5676   ac_status=$?
5677   grep -v '^ *+' conftest.er1 >conftest.err
5678   rm -f conftest.er1
5679   cat conftest.err >&5
5680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5681   (exit $ac_status); } &&
5682          { ac_try='test -z "$ac_c_werror_flag"
5683                          || test ! -s conftest.err'
5684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5685   (eval $ac_try) 2>&5
5686   ac_status=$?
5687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5688   (exit $ac_status); }; } &&
5689          { ac_try='test -s conftest.$ac_objext'
5690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5691   (eval $ac_try) 2>&5
5692   ac_status=$?
5693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5694   (exit $ac_status); }; }; then
5695   eval "$as_ac_Header=yes"
5696 else
5697   echo "$as_me: failed program was:" >&5
5698 sed 's/^/| /' conftest.$ac_ext >&5
5699
5700 eval "$as_ac_Header=no"
5701 fi
5702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5703 fi
5704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5706 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5707   cat >>confdefs.h <<_ACEOF
5708 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5709 _ACEOF
5710
5711 fi
5712
5713 done
5714
5715
5716
5717   echo "$as_me:$LINENO: checking for C locale to use" >&5
5718 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5719    # Check whether --enable-clocale or --disable-clocale was given.
5720 if test "${enable_clocale+set}" = set; then
5721   enableval="$enable_clocale"
5722
5723       case "$enableval" in
5724        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5725        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5726 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5727    { (exit 1); exit 1; }; } ;;
5728                           esac
5729
5730 else
5731   enable_clocale=auto
5732 fi;
5733
5734
5735   # If they didn't use this option switch, or if they specified --enable
5736   # with no specific model, we'll have to look for one.  If they
5737   # specified --disable (???), do likewise.
5738   if test $enable_clocale = no || test $enable_clocale = yes; then
5739      enable_clocale=auto
5740   fi
5741
5742   # Either a known package, or "auto"
5743   enable_clocale_flag=$enable_clocale
5744
5745   # Probe for locale support if no specific model is specified.
5746   # Default to "generic".
5747   if test $enable_clocale_flag = auto; then
5748     case ${target_os} in
5749       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5750         cat >conftest.$ac_ext <<_ACEOF
5751 /* confdefs.h.  */
5752 _ACEOF
5753 cat confdefs.h >>conftest.$ac_ext
5754 cat >>conftest.$ac_ext <<_ACEOF
5755 /* end confdefs.h.  */
5756
5757         #include <features.h>
5758         #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5759           _GLIBCXX_ok
5760         #endif
5761
5762 _ACEOF
5763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5764   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5765   enable_clocale_flag=gnu
5766 else
5767   enable_clocale_flag=generic
5768 fi
5769 rm -f conftest*
5770
5771
5772         # Test for bugs early in glibc-2.2.x series
5773           if test $enable_clocale_flag = gnu; then
5774           if test "$cross_compiling" = yes; then
5775   enable_clocale_flag=generic
5776 else
5777   cat >conftest.$ac_ext <<_ACEOF
5778 /* confdefs.h.  */
5779 _ACEOF
5780 cat confdefs.h >>conftest.$ac_ext
5781 cat >>conftest.$ac_ext <<_ACEOF
5782 /* end confdefs.h.  */
5783
5784           #define _GNU_SOURCE 1
5785           #include <locale.h>
5786           #include <string.h>
5787           #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5788           extern __typeof(newlocale) __newlocale;
5789           extern __typeof(duplocale) __duplocale;
5790           extern __typeof(strcoll_l) __strcoll_l;
5791           #endif
5792           int main()
5793           {
5794               const char __one[] = "Äuglein Augmen";
5795               const char __two[] = "Äuglein";
5796               int i;
5797               int j;
5798               __locale_t        loc;
5799                __locale_t        loc_dup;
5800               loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5801               loc_dup = __duplocale(loc);
5802               i = __strcoll_l(__one, __two, loc);
5803               j = __strcoll_l(__one, __two, loc_dup);
5804               return 0;
5805           }
5806
5807 _ACEOF
5808 rm -f conftest$ac_exeext
5809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5810   (eval $ac_link) 2>&5
5811   ac_status=$?
5812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5813   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5815   (eval $ac_try) 2>&5
5816   ac_status=$?
5817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5818   (exit $ac_status); }; }; then
5819   enable_clocale_flag=gnu
5820 else
5821   echo "$as_me: program exited with status $ac_status" >&5
5822 echo "$as_me: failed program was:" >&5
5823 sed 's/^/| /' conftest.$ac_ext >&5
5824
5825 ( exit $ac_status )
5826 enable_clocale_flag=generic
5827 fi
5828 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5829 fi
5830           fi
5831
5832         # ... at some point put __strxfrm_l tests in as well.
5833         ;;
5834       darwin* | freebsd*)
5835         enable_clocale_flag=darwin
5836         ;;
5837       *)
5838         enable_clocale_flag=generic
5839         ;;
5840     esac
5841   fi
5842
5843   # Deal with gettext issues.  Default to not using it (=no) until we detect
5844   # support for it later.  Let the user turn it off via --e/d, but let that
5845   # default to on for easier handling.
5846   USE_NLS=no
5847   # Check whether --enable-nls or --disable-nls was given.
5848 if test "${enable_nls+set}" = set; then
5849   enableval="$enable_nls"
5850
5851 else
5852   enable_nls=yes
5853 fi;
5854
5855   # Set configure bits for specified locale package
5856   case ${enable_clocale_flag} in
5857     generic)
5858       echo "$as_me:$LINENO: result: generic" >&5
5859 echo "${ECHO_T}generic" >&6
5860
5861       CLOCALE_H=config/locale/generic/c_locale.h
5862       CLOCALE_CC=config/locale/generic/c_locale.cc
5863       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5864       CCOLLATE_CC=config/locale/generic/collate_members.cc
5865       CCTYPE_CC=config/locale/generic/ctype_members.cc
5866       CMESSAGES_H=config/locale/generic/messages_members.h
5867       CMESSAGES_CC=config/locale/generic/messages_members.cc
5868       CMONEY_CC=config/locale/generic/monetary_members.cc
5869       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5870       CTIME_H=config/locale/generic/time_members.h
5871       CTIME_CC=config/locale/generic/time_members.cc
5872       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5873       ;;
5874     darwin)
5875       echo "$as_me:$LINENO: result: darwin or freebsd" >&5
5876 echo "${ECHO_T}darwin or freebsd" >&6
5877
5878       CLOCALE_H=config/locale/generic/c_locale.h
5879       CLOCALE_CC=config/locale/generic/c_locale.cc
5880       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5881       CCOLLATE_CC=config/locale/generic/collate_members.cc
5882       CCTYPE_CC=config/locale/darwin/ctype_members.cc
5883       CMESSAGES_H=config/locale/generic/messages_members.h
5884       CMESSAGES_CC=config/locale/generic/messages_members.cc
5885       CMONEY_CC=config/locale/generic/monetary_members.cc
5886       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5887       CTIME_H=config/locale/generic/time_members.h
5888       CTIME_CC=config/locale/generic/time_members.cc
5889       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5890       ;;
5891
5892     gnu)
5893       echo "$as_me:$LINENO: result: gnu" >&5
5894 echo "${ECHO_T}gnu" >&6
5895
5896       # Declare intention to use gettext, and add support for specific
5897       # languages.
5898       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5899       ALL_LINGUAS="de fr"
5900
5901       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5902       # Extract the first word of "msgfmt", so it can be a program name with args.
5903 set dummy msgfmt; ac_word=$2
5904 echo "$as_me:$LINENO: checking for $ac_word" >&5
5905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5906 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5907   echo $ECHO_N "(cached) $ECHO_C" >&6
5908 else
5909   if test -n "$check_msgfmt"; then
5910   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5911 else
5912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5913 for as_dir in $PATH
5914 do
5915   IFS=$as_save_IFS
5916   test -z "$as_dir" && as_dir=.
5917   for ac_exec_ext in '' $ac_executable_extensions; do
5918   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5919     ac_cv_prog_check_msgfmt="yes"
5920     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5921     break 2
5922   fi
5923 done
5924 done
5925
5926   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5927 fi
5928 fi
5929 check_msgfmt=$ac_cv_prog_check_msgfmt
5930 if test -n "$check_msgfmt"; then
5931   echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5932 echo "${ECHO_T}$check_msgfmt" >&6
5933 else
5934   echo "$as_me:$LINENO: result: no" >&5
5935 echo "${ECHO_T}no" >&6
5936 fi
5937
5938       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5939         USE_NLS=yes
5940       fi
5941       # Export the build objects.
5942       for ling in $ALL_LINGUAS; do \
5943         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5944         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5945       done
5946
5947
5948
5949       CLOCALE_H=config/locale/gnu/c_locale.h
5950       CLOCALE_CC=config/locale/gnu/c_locale.cc
5951       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5952       CCOLLATE_CC=config/locale/gnu/collate_members.cc
5953       CCTYPE_CC=config/locale/gnu/ctype_members.cc
5954       CMESSAGES_H=config/locale/gnu/messages_members.h
5955       CMESSAGES_CC=config/locale/gnu/messages_members.cc
5956       CMONEY_CC=config/locale/gnu/monetary_members.cc
5957       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5958       CTIME_H=config/locale/gnu/time_members.h
5959       CTIME_CC=config/locale/gnu/time_members.cc
5960       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5961       ;;
5962     ieee_1003.1-2001)
5963       echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5964 echo "${ECHO_T}IEEE 1003.1" >&6
5965
5966       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5967       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5968       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5969       CCOLLATE_CC=config/locale/generic/collate_members.cc
5970       CCTYPE_CC=config/locale/generic/ctype_members.cc
5971       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5972       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5973       CMONEY_CC=config/locale/generic/monetary_members.cc
5974       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5975       CTIME_H=config/locale/generic/time_members.h
5976       CTIME_CC=config/locale/generic/time_members.cc
5977       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5978       ;;
5979   esac
5980
5981   # This is where the testsuite looks for locale catalogs, using the
5982   # -DLOCALEDIR define during testsuite compilation.
5983   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5984
5985
5986   # A standalone libintl (e.g., GNU libintl) may be in use.
5987   if test $USE_NLS = yes; then
5988
5989 for ac_header in libintl.h
5990 do
5991 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5992 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5993   echo "$as_me:$LINENO: checking for $ac_header" >&5
5994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5996   echo $ECHO_N "(cached) $ECHO_C" >&6
5997 fi
5998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5999 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6000 else
6001   # Is the header compilable?
6002 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6003 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6004 cat >conftest.$ac_ext <<_ACEOF
6005 /* confdefs.h.  */
6006 _ACEOF
6007 cat confdefs.h >>conftest.$ac_ext
6008 cat >>conftest.$ac_ext <<_ACEOF
6009 /* end confdefs.h.  */
6010 $ac_includes_default
6011 #include <$ac_header>
6012 _ACEOF
6013 rm -f conftest.$ac_objext
6014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6015   (eval $ac_compile) 2>conftest.er1
6016   ac_status=$?
6017   grep -v '^ *+' conftest.er1 >conftest.err
6018   rm -f conftest.er1
6019   cat conftest.err >&5
6020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6021   (exit $ac_status); } &&
6022          { ac_try='test -z "$ac_c_werror_flag"
6023                          || test ! -s conftest.err'
6024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6025   (eval $ac_try) 2>&5
6026   ac_status=$?
6027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6028   (exit $ac_status); }; } &&
6029          { ac_try='test -s conftest.$ac_objext'
6030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6031   (eval $ac_try) 2>&5
6032   ac_status=$?
6033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6034   (exit $ac_status); }; }; then
6035   ac_header_compiler=yes
6036 else
6037   echo "$as_me: failed program was:" >&5
6038 sed 's/^/| /' conftest.$ac_ext >&5
6039
6040 ac_header_compiler=no
6041 fi
6042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6043 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6044 echo "${ECHO_T}$ac_header_compiler" >&6
6045
6046 # Is the header present?
6047 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6048 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6049 cat >conftest.$ac_ext <<_ACEOF
6050 /* confdefs.h.  */
6051 _ACEOF
6052 cat confdefs.h >>conftest.$ac_ext
6053 cat >>conftest.$ac_ext <<_ACEOF
6054 /* end confdefs.h.  */
6055 #include <$ac_header>
6056 _ACEOF
6057 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6058   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6059   ac_status=$?
6060   grep -v '^ *+' conftest.er1 >conftest.err
6061   rm -f conftest.er1
6062   cat conftest.err >&5
6063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064   (exit $ac_status); } >/dev/null; then
6065   if test -s conftest.err; then
6066     ac_cpp_err=$ac_c_preproc_warn_flag
6067     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6068   else
6069     ac_cpp_err=
6070   fi
6071 else
6072   ac_cpp_err=yes
6073 fi
6074 if test -z "$ac_cpp_err"; then
6075   ac_header_preproc=yes
6076 else
6077   echo "$as_me: failed program was:" >&5
6078 sed 's/^/| /' conftest.$ac_ext >&5
6079
6080   ac_header_preproc=no
6081 fi
6082 rm -f conftest.err conftest.$ac_ext
6083 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6084 echo "${ECHO_T}$ac_header_preproc" >&6
6085
6086 # So?  What about this header?
6087 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6088   yes:no: )
6089     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6090 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6091     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6092 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6093     ac_header_preproc=yes
6094     ;;
6095   no:yes:* )
6096     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6097 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6098     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6099 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6100     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6101 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6102     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6103 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6104     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6105 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6106     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6107 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6108     (
6109       cat <<\_ASBOX
6110 ## ----------------------------------------- ##
6111 ## Report this to the package-unused lists.  ##
6112 ## ----------------------------------------- ##
6113 _ASBOX
6114     ) |
6115       sed "s/^/$as_me: WARNING:     /" >&2
6116     ;;
6117 esac
6118 echo "$as_me:$LINENO: checking for $ac_header" >&5
6119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6121   echo $ECHO_N "(cached) $ECHO_C" >&6
6122 else
6123   eval "$as_ac_Header=\$ac_header_preproc"
6124 fi
6125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6126 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6127
6128 fi
6129 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6130   cat >>confdefs.h <<_ACEOF
6131 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6132 _ACEOF
6133
6134 else
6135   USE_NLS=no
6136 fi
6137
6138 done
6139
6140     echo "$as_me:$LINENO: checking for library containing gettext" >&5
6141 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6142 if test "${ac_cv_search_gettext+set}" = set; then
6143   echo $ECHO_N "(cached) $ECHO_C" >&6
6144 else
6145   ac_func_search_save_LIBS=$LIBS
6146 ac_cv_search_gettext=no
6147 if test x$gcc_no_link = xyes; then
6148   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6150    { (exit 1); exit 1; }; }
6151 fi
6152 cat >conftest.$ac_ext <<_ACEOF
6153 /* confdefs.h.  */
6154 _ACEOF
6155 cat confdefs.h >>conftest.$ac_ext
6156 cat >>conftest.$ac_ext <<_ACEOF
6157 /* end confdefs.h.  */
6158
6159 /* Override any gcc2 internal prototype to avoid an error.  */
6160 #ifdef __cplusplus
6161 extern "C"
6162 #endif
6163 /* We use char because int might match the return type of a gcc2
6164    builtin and then its argument prototype would still apply.  */
6165 char gettext ();
6166 int
6167 main ()
6168 {
6169 gettext ();
6170   ;
6171   return 0;
6172 }
6173 _ACEOF
6174 rm -f conftest.$ac_objext conftest$ac_exeext
6175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6176   (eval $ac_link) 2>conftest.er1
6177   ac_status=$?
6178   grep -v '^ *+' conftest.er1 >conftest.err
6179   rm -f conftest.er1
6180   cat conftest.err >&5
6181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6182   (exit $ac_status); } &&
6183          { ac_try='test -z "$ac_c_werror_flag"
6184                          || test ! -s conftest.err'
6185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6186   (eval $ac_try) 2>&5
6187   ac_status=$?
6188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189   (exit $ac_status); }; } &&
6190          { ac_try='test -s conftest$ac_exeext'
6191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6192   (eval $ac_try) 2>&5
6193   ac_status=$?
6194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195   (exit $ac_status); }; }; then
6196   ac_cv_search_gettext="none required"
6197 else
6198   echo "$as_me: failed program was:" >&5
6199 sed 's/^/| /' conftest.$ac_ext >&5
6200
6201 fi
6202 rm -f conftest.err conftest.$ac_objext \
6203       conftest$ac_exeext conftest.$ac_ext
6204 if test "$ac_cv_search_gettext" = no; then
6205   for ac_lib in intl; do
6206     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6207     if test x$gcc_no_link = xyes; then
6208   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6210    { (exit 1); exit 1; }; }
6211 fi
6212 cat >conftest.$ac_ext <<_ACEOF
6213 /* confdefs.h.  */
6214 _ACEOF
6215 cat confdefs.h >>conftest.$ac_ext
6216 cat >>conftest.$ac_ext <<_ACEOF
6217 /* end confdefs.h.  */
6218
6219 /* Override any gcc2 internal prototype to avoid an error.  */
6220 #ifdef __cplusplus
6221 extern "C"
6222 #endif
6223 /* We use char because int might match the return type of a gcc2
6224    builtin and then its argument prototype would still apply.  */
6225 char gettext ();
6226 int
6227 main ()
6228 {
6229 gettext ();
6230   ;
6231   return 0;
6232 }
6233 _ACEOF
6234 rm -f conftest.$ac_objext conftest$ac_exeext
6235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6236   (eval $ac_link) 2>conftest.er1
6237   ac_status=$?
6238   grep -v '^ *+' conftest.er1 >conftest.err
6239   rm -f conftest.er1
6240   cat conftest.err >&5
6241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6242   (exit $ac_status); } &&
6243          { ac_try='test -z "$ac_c_werror_flag"
6244                          || test ! -s conftest.err'
6245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6246   (eval $ac_try) 2>&5
6247   ac_status=$?
6248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6249   (exit $ac_status); }; } &&
6250          { ac_try='test -s conftest$ac_exeext'
6251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6252   (eval $ac_try) 2>&5
6253   ac_status=$?
6254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6255   (exit $ac_status); }; }; then
6256   ac_cv_search_gettext="-l$ac_lib"
6257 break
6258 else
6259   echo "$as_me: failed program was:" >&5
6260 sed 's/^/| /' conftest.$ac_ext >&5
6261
6262 fi
6263 rm -f conftest.err conftest.$ac_objext \
6264       conftest$ac_exeext conftest.$ac_ext
6265   done
6266 fi
6267 LIBS=$ac_func_search_save_LIBS
6268 fi
6269 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6270 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6271 if test "$ac_cv_search_gettext" != no; then
6272   test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6273
6274 else
6275   USE_NLS=no
6276 fi
6277
6278   fi
6279   if test $USE_NLS = yes; then
6280
6281 cat >>confdefs.h <<\_ACEOF
6282 #define _GLIBCXX_USE_NLS 1
6283 _ACEOF
6284
6285   fi
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302   echo "$as_me:$LINENO: checking for std::allocator base class" >&5
6303 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
6304    # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6305 if test "${enable_libstdcxx_allocator+set}" = set; then
6306   enableval="$enable_libstdcxx_allocator"
6307
6308       case "$enableval" in
6309        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6310        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6311 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6312    { (exit 1); exit 1; }; } ;;
6313                           esac
6314
6315 else
6316   enable_libstdcxx_allocator=auto
6317 fi;
6318
6319
6320   # If they didn't use this option switch, or if they specified --enable
6321   # with no specific model, we'll have to look for one.  If they
6322   # specified --disable (???), do likewise.
6323   if test $enable_libstdcxx_allocator = no ||
6324      test $enable_libstdcxx_allocator = yes;
6325   then
6326      enable_libstdcxx_allocator=auto
6327   fi
6328
6329   # Either a known package, or "auto". Auto implies the default choice
6330   # for a particular platform.
6331   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6332
6333   # Probe for host-specific support if no specific model is specified.
6334   # Default to "new".
6335   if test $enable_libstdcxx_allocator_flag = auto; then
6336     case ${target_os} in
6337       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6338         enable_libstdcxx_allocator_flag=mt
6339         ;;
6340       *)
6341         enable_libstdcxx_allocator_flag=new
6342         ;;
6343     esac
6344   fi
6345   echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6346 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6347
6348
6349   # Set configure bits for specified locale package
6350   case ${enable_libstdcxx_allocator_flag} in
6351     bitmap)
6352       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6353       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6354       ;;
6355     malloc)
6356       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6357       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6358       ;;
6359     mt)
6360       ALLOCATOR_H=config/allocator/mt_allocator_base.h
6361       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6362       ;;
6363     new)
6364       ALLOCATOR_H=config/allocator/new_allocator_base.h
6365       ALLOCATOR_NAME=__gnu_cxx::new_allocator
6366       ;;
6367     pool)
6368       ALLOCATOR_H=config/allocator/pool_allocator_base.h
6369       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6370       ;;
6371   esac
6372
6373
6374
6375
6376
6377    # Check whether --enable-cheaders or --disable-cheaders was given.
6378 if test "${enable_cheaders+set}" = set; then
6379   enableval="$enable_cheaders"
6380
6381       case "$enableval" in
6382        c|c_std) ;;
6383        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6384 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6385    { (exit 1); exit 1; }; } ;;
6386                           esac
6387
6388 else
6389   enable_cheaders=$c_model
6390 fi;
6391
6392   { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6393 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6394
6395   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6396
6397
6398
6399
6400
6401
6402
6403
6404    # Check whether --enable-c99 or --disable-c99 was given.
6405 if test "${enable_c99+set}" = set; then
6406   enableval="$enable_c99"
6407
6408       case "$enableval" in
6409        yes|no) ;;
6410        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6411 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6412    { (exit 1); exit 1; }; } ;;
6413       esac
6414
6415 else
6416   enable_c99=yes
6417 fi;
6418
6419
6420   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos
6421   # even if C99 support is turned off.
6422
6423 for ac_header in wchar.h
6424 do
6425 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6426 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6427   echo "$as_me:$LINENO: checking for $ac_header" >&5
6428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6430   echo $ECHO_N "(cached) $ECHO_C" >&6
6431 fi
6432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6434 else
6435   # Is the header compilable?
6436 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6437 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6438 cat >conftest.$ac_ext <<_ACEOF
6439 /* confdefs.h.  */
6440 _ACEOF
6441 cat confdefs.h >>conftest.$ac_ext
6442 cat >>conftest.$ac_ext <<_ACEOF
6443 /* end confdefs.h.  */
6444 $ac_includes_default
6445 #include <$ac_header>
6446 _ACEOF
6447 rm -f conftest.$ac_objext
6448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6449   (eval $ac_compile) 2>conftest.er1
6450   ac_status=$?
6451   grep -v '^ *+' conftest.er1 >conftest.err
6452   rm -f conftest.er1
6453   cat conftest.err >&5
6454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6455   (exit $ac_status); } &&
6456          { ac_try='test -z "$ac_c_werror_flag"
6457                          || test ! -s conftest.err'
6458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6459   (eval $ac_try) 2>&5
6460   ac_status=$?
6461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6462   (exit $ac_status); }; } &&
6463          { ac_try='test -s conftest.$ac_objext'
6464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6465   (eval $ac_try) 2>&5
6466   ac_status=$?
6467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6468   (exit $ac_status); }; }; then
6469   ac_header_compiler=yes
6470 else
6471   echo "$as_me: failed program was:" >&5
6472 sed 's/^/| /' conftest.$ac_ext >&5
6473
6474 ac_header_compiler=no
6475 fi
6476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6477 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6478 echo "${ECHO_T}$ac_header_compiler" >&6
6479
6480 # Is the header present?
6481 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6482 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6483 cat >conftest.$ac_ext <<_ACEOF
6484 /* confdefs.h.  */
6485 _ACEOF
6486 cat confdefs.h >>conftest.$ac_ext
6487 cat >>conftest.$ac_ext <<_ACEOF
6488 /* end confdefs.h.  */
6489 #include <$ac_header>
6490 _ACEOF
6491 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6492   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6493   ac_status=$?
6494   grep -v '^ *+' conftest.er1 >conftest.err
6495   rm -f conftest.er1
6496   cat conftest.err >&5
6497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6498   (exit $ac_status); } >/dev/null; then
6499   if test -s conftest.err; then
6500     ac_cpp_err=$ac_c_preproc_warn_flag
6501     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6502   else
6503     ac_cpp_err=
6504   fi
6505 else
6506   ac_cpp_err=yes
6507 fi
6508 if test -z "$ac_cpp_err"; then
6509   ac_header_preproc=yes
6510 else
6511   echo "$as_me: failed program was:" >&5
6512 sed 's/^/| /' conftest.$ac_ext >&5
6513
6514   ac_header_preproc=no
6515 fi
6516 rm -f conftest.err conftest.$ac_ext
6517 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6518 echo "${ECHO_T}$ac_header_preproc" >&6
6519
6520 # So?  What about this header?
6521 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6522   yes:no: )
6523     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6524 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6525     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6526 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6527     ac_header_preproc=yes
6528     ;;
6529   no:yes:* )
6530     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6531 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6532     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6533 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6534     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6535 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6536     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6537 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6538     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6539 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6540     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6541 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6542     (
6543       cat <<\_ASBOX
6544 ## ----------------------------------------- ##
6545 ## Report this to the package-unused lists.  ##
6546 ## ----------------------------------------- ##
6547 _ASBOX
6548     ) |
6549       sed "s/^/$as_me: WARNING:     /" >&2
6550     ;;
6551 esac
6552 echo "$as_me:$LINENO: checking for $ac_header" >&5
6553 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6555   echo $ECHO_N "(cached) $ECHO_C" >&6
6556 else
6557   eval "$as_ac_Header=\$ac_header_preproc"
6558 fi
6559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6560 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6561
6562 fi
6563 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6564   cat >>confdefs.h <<_ACEOF
6565 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6566 _ACEOF
6567  ac_has_wchar_h=yes
6568 else
6569   ac_has_wchar_h=no
6570 fi
6571
6572 done
6573
6574   echo "$as_me:$LINENO: checking for mbstate_t" >&5
6575 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6576   cat >conftest.$ac_ext <<_ACEOF
6577 /* confdefs.h.  */
6578 _ACEOF
6579 cat confdefs.h >>conftest.$ac_ext
6580 cat >>conftest.$ac_ext <<_ACEOF
6581 /* end confdefs.h.  */
6582 #include <wchar.h>
6583 int
6584 main ()
6585 {
6586 mbstate_t teststate;
6587   ;
6588   return 0;
6589 }
6590 _ACEOF
6591 rm -f conftest.$ac_objext
6592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6593   (eval $ac_compile) 2>conftest.er1
6594   ac_status=$?
6595   grep -v '^ *+' conftest.er1 >conftest.err
6596   rm -f conftest.er1
6597   cat conftest.err >&5
6598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6599   (exit $ac_status); } &&
6600          { ac_try='test -z "$ac_c_werror_flag"
6601                          || test ! -s conftest.err'
6602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6603   (eval $ac_try) 2>&5
6604   ac_status=$?
6605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6606   (exit $ac_status); }; } &&
6607          { ac_try='test -s conftest.$ac_objext'
6608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6609   (eval $ac_try) 2>&5
6610   ac_status=$?
6611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6612   (exit $ac_status); }; }; then
6613   have_mbstate_t=yes
6614 else
6615   echo "$as_me: failed program was:" >&5
6616 sed 's/^/| /' conftest.$ac_ext >&5
6617
6618 have_mbstate_t=no
6619 fi
6620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6621   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
6622 echo "${ECHO_T}$have_mbstate_t" >&6
6623   if test x"$have_mbstate_t" = xyes; then
6624
6625 cat >>confdefs.h <<\_ACEOF
6626 #define HAVE_MBSTATE_T 1
6627 _ACEOF
6628
6629   fi
6630
6631   if test x"$enable_c99" = x"yes"; then
6632
6633
6634
6635   ac_ext=cc
6636 ac_cpp='$CXXCPP $CPPFLAGS'
6637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6640
6641
6642   # Check for the existence of <math.h> functions used if C99 is enabled.
6643   echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6644 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6645   if test "${ac_c99_math+set}" = set; then
6646   echo $ECHO_N "(cached) $ECHO_C" >&6
6647 else
6648
6649   cat >conftest.$ac_ext <<_ACEOF
6650 /* confdefs.h.  */
6651 _ACEOF
6652 cat confdefs.h >>conftest.$ac_ext
6653 cat >>conftest.$ac_ext <<_ACEOF
6654 /* end confdefs.h.  */
6655 #include <math.h>
6656 int
6657 main ()
6658 {
6659 fpclassify(0.0);
6660                   isfinite(0.0);
6661                   isinf(0.0);
6662                   isnan(0.0);
6663                   isnormal(0.0);
6664                   signbit(0.0);
6665                   isgreater(0.0,0.0);
6666                   isgreaterequal(0.0,0.0);
6667                   isless(0.0,0.0);
6668                   islessequal(0.0,0.0);
6669                   islessgreater(0.0,0.0);
6670                   islessgreater(0.0,0.0);
6671                   isunordered(0.0,0.0);
6672
6673   ;
6674   return 0;
6675 }
6676 _ACEOF
6677 rm -f conftest.$ac_objext
6678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6679   (eval $ac_compile) 2>conftest.er1
6680   ac_status=$?
6681   grep -v '^ *+' conftest.er1 >conftest.err
6682   rm -f conftest.er1
6683   cat conftest.err >&5
6684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6685   (exit $ac_status); } &&
6686          { ac_try='test -z "$ac_cxx_werror_flag"
6687                          || test ! -s conftest.err'
6688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6689   (eval $ac_try) 2>&5
6690   ac_status=$?
6691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6692   (exit $ac_status); }; } &&
6693          { ac_try='test -s conftest.$ac_objext'
6694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6695   (eval $ac_try) 2>&5
6696   ac_status=$?
6697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6698   (exit $ac_status); }; }; then
6699   ac_c99_math=yes
6700 else
6701   echo "$as_me: failed program was:" >&5
6702 sed 's/^/| /' conftest.$ac_ext >&5
6703
6704 ac_c99_math=no
6705 fi
6706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6707
6708 fi
6709
6710   echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6711 echo "${ECHO_T}$ac_c99_math" >&6
6712   if test x"$ac_c99_math" = x"yes"; then
6713
6714 cat >>confdefs.h <<\_ACEOF
6715 #define _GLIBCXX_USE_C99_MATH 1
6716 _ACEOF
6717
6718   fi
6719
6720   # Check for the existence of <complex.h> complex math functions.
6721   # This is necessary even though libstdc++ uses the builtin versions
6722   # of these functions, because if the builtin cannot be used, a reference
6723   # to the library function is emitted.
6724
6725 for ac_header in complex.h
6726 do
6727 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6729   echo "$as_me:$LINENO: checking for $ac_header" >&5
6730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6732   echo $ECHO_N "(cached) $ECHO_C" >&6
6733 fi
6734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6735 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6736 else
6737   # Is the header compilable?
6738 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6739 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6740 cat >conftest.$ac_ext <<_ACEOF
6741 /* confdefs.h.  */
6742 _ACEOF
6743 cat confdefs.h >>conftest.$ac_ext
6744 cat >>conftest.$ac_ext <<_ACEOF
6745 /* end confdefs.h.  */
6746 $ac_includes_default
6747 #include <$ac_header>
6748 _ACEOF
6749 rm -f conftest.$ac_objext
6750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6751   (eval $ac_compile) 2>conftest.er1
6752   ac_status=$?
6753   grep -v '^ *+' conftest.er1 >conftest.err
6754   rm -f conftest.er1
6755   cat conftest.err >&5
6756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6757   (exit $ac_status); } &&
6758          { ac_try='test -z "$ac_cxx_werror_flag"
6759                          || test ! -s conftest.err'
6760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6761   (eval $ac_try) 2>&5
6762   ac_status=$?
6763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6764   (exit $ac_status); }; } &&
6765          { ac_try='test -s conftest.$ac_objext'
6766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6767   (eval $ac_try) 2>&5
6768   ac_status=$?
6769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6770   (exit $ac_status); }; }; then
6771   ac_header_compiler=yes
6772 else
6773   echo "$as_me: failed program was:" >&5
6774 sed 's/^/| /' conftest.$ac_ext >&5
6775
6776 ac_header_compiler=no
6777 fi
6778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6779 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6780 echo "${ECHO_T}$ac_header_compiler" >&6
6781
6782 # Is the header present?
6783 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6784 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6785 cat >conftest.$ac_ext <<_ACEOF
6786 /* confdefs.h.  */
6787 _ACEOF
6788 cat confdefs.h >>conftest.$ac_ext
6789 cat >>conftest.$ac_ext <<_ACEOF
6790 /* end confdefs.h.  */
6791 #include <$ac_header>
6792 _ACEOF
6793 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6794   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6795   ac_status=$?
6796   grep -v '^ *+' conftest.er1 >conftest.err
6797   rm -f conftest.er1
6798   cat conftest.err >&5
6799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6800   (exit $ac_status); } >/dev/null; then
6801   if test -s conftest.err; then
6802     ac_cpp_err=$ac_cxx_preproc_warn_flag
6803     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6804   else
6805     ac_cpp_err=
6806   fi
6807 else
6808   ac_cpp_err=yes
6809 fi
6810 if test -z "$ac_cpp_err"; then
6811   ac_header_preproc=yes
6812 else
6813   echo "$as_me: failed program was:" >&5
6814 sed 's/^/| /' conftest.$ac_ext >&5
6815
6816   ac_header_preproc=no
6817 fi
6818 rm -f conftest.err conftest.$ac_ext
6819 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6820 echo "${ECHO_T}$ac_header_preproc" >&6
6821
6822 # So?  What about this header?
6823 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6824   yes:no: )
6825     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6826 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6827     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6828 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6829     ac_header_preproc=yes
6830     ;;
6831   no:yes:* )
6832     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6833 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6834     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6835 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6836     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6837 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6838     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6839 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6840     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6841 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6842     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6843 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6844     (
6845       cat <<\_ASBOX
6846 ## ----------------------------------------- ##
6847 ## Report this to the package-unused lists.  ##
6848 ## ----------------------------------------- ##
6849 _ASBOX
6850     ) |
6851       sed "s/^/$as_me: WARNING:     /" >&2
6852     ;;
6853 esac
6854 echo "$as_me:$LINENO: checking for $ac_header" >&5
6855 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6856 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6857   echo $ECHO_N "(cached) $ECHO_C" >&6
6858 else
6859   eval "$as_ac_Header=\$ac_header_preproc"
6860 fi
6861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6862 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6863
6864 fi
6865 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6866   cat >>confdefs.h <<_ACEOF
6867 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6868 _ACEOF
6869  ac_has_complex_h=yes
6870 else
6871   ac_has_complex_h=no
6872 fi
6873
6874 done
6875
6876   ac_c99_complex=no;
6877   if test x"$ac_has_complex_h" = x"yes"; then
6878     echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
6879 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
6880     cat >conftest.$ac_ext <<_ACEOF
6881 /* confdefs.h.  */
6882 _ACEOF
6883 cat confdefs.h >>conftest.$ac_ext
6884 cat >>conftest.$ac_ext <<_ACEOF
6885 /* end confdefs.h.  */
6886 #include <complex.h>
6887 int
6888 main ()
6889 {
6890 typedef __complex__ float float_type; float_type tmpf;
6891                     cabsf(tmpf);
6892                     cargf(tmpf);
6893                     ccosf(tmpf);
6894                     ccoshf(tmpf);
6895                     cexpf(tmpf);
6896                     clogf(tmpf);
6897                     csinf(tmpf);
6898                     csinhf(tmpf);
6899                     csqrtf(tmpf);
6900                     ctanf(tmpf);
6901                     ctanhf(tmpf);
6902                     cpowf(tmpf, tmpf);
6903                     typedef __complex__ double double_type; double_type tmpd;
6904                     cabs(tmpd);
6905                     carg(tmpd);
6906                     ccos(tmpd);
6907                     ccosh(tmpd);
6908                     cexp(tmpd);
6909                     clog(tmpd);
6910                     csin(tmpd);
6911                     csinh(tmpd);
6912                     csqrt(tmpd);
6913                     ctan(tmpd);
6914                     ctanh(tmpd);
6915                     cpow(tmpd, tmpd);
6916                     typedef __complex__ long double ld_type; ld_type tmpld;
6917                     cabsl(tmpld);
6918                     cargl(tmpld);
6919                     ccosl(tmpld);
6920                     ccoshl(tmpld);
6921                     cexpl(tmpld);
6922                     clogl(tmpld);
6923                     csinl(tmpld);
6924                     csinhl(tmpld);
6925                     csqrtl(tmpld);
6926                     ctanl(tmpld);
6927                     ctanhl(tmpld);
6928                     cpowl(tmpld, tmpld);
6929
6930   ;
6931   return 0;
6932 }
6933 _ACEOF
6934 rm -f conftest.$ac_objext
6935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6936   (eval $ac_compile) 2>conftest.er1
6937   ac_status=$?
6938   grep -v '^ *+' conftest.er1 >conftest.err
6939   rm -f conftest.er1
6940   cat conftest.err >&5
6941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6942   (exit $ac_status); } &&
6943          { ac_try='test -z "$ac_cxx_werror_flag"
6944                          || test ! -s conftest.err'
6945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6946   (eval $ac_try) 2>&5
6947   ac_status=$?
6948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6949   (exit $ac_status); }; } &&
6950          { ac_try='test -s conftest.$ac_objext'
6951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6952   (eval $ac_try) 2>&5
6953   ac_status=$?
6954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6955   (exit $ac_status); }; }; then
6956   ac_c99_complex=yes
6957 else
6958   echo "$as_me: failed program was:" >&5
6959 sed 's/^/| /' conftest.$ac_ext >&5
6960
6961 ac_c99_complex=no
6962 fi
6963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6964   fi
6965   echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
6966 echo "${ECHO_T}$ac_c99_complex" >&6
6967   if test x"$ac_c99_complex" = x"yes"; then
6968
6969 cat >>confdefs.h <<\_ACEOF
6970 #define _GLIBCXX_USE_C99_COMPLEX 1
6971 _ACEOF
6972
6973   fi
6974
6975   # Check for the existence in <stdio.h> of vscanf, et. al.
6976   echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6977 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6978   if test "${ac_c99_stdio+set}" = set; then
6979   echo $ECHO_N "(cached) $ECHO_C" >&6
6980 else
6981
6982   cat >conftest.$ac_ext <<_ACEOF
6983 /* confdefs.h.  */
6984 _ACEOF
6985 cat confdefs.h >>conftest.$ac_ext
6986 cat >>conftest.$ac_ext <<_ACEOF
6987 /* end confdefs.h.  */
6988 #include <stdio.h>
6989                   #include <stdarg.h>
6990                   void foo(char* fmt, ...)
6991                   {
6992                     va_list args; va_start(args, fmt);
6993                     vfscanf(stderr, "%i", args);
6994                     vscanf("%i", args);
6995                     vsnprintf(fmt, 0, "%i", args);
6996                     vsscanf(fmt, "%i", args);
6997                   }
6998 int
6999 main ()
7000 {
7001 snprintf("12", 0, "%i");
7002   ;
7003   return 0;
7004 }
7005 _ACEOF
7006 rm -f conftest.$ac_objext
7007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7008   (eval $ac_compile) 2>conftest.er1
7009   ac_status=$?
7010   grep -v '^ *+' conftest.er1 >conftest.err
7011   rm -f conftest.er1
7012   cat conftest.err >&5
7013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7014   (exit $ac_status); } &&
7015          { ac_try='test -z "$ac_cxx_werror_flag"
7016                          || test ! -s conftest.err'
7017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7018   (eval $ac_try) 2>&5
7019   ac_status=$?
7020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7021   (exit $ac_status); }; } &&
7022          { ac_try='test -s conftest.$ac_objext'
7023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7024   (eval $ac_try) 2>&5
7025   ac_status=$?
7026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7027   (exit $ac_status); }; }; then
7028   ac_c99_stdio=yes
7029 else
7030   echo "$as_me: failed program was:" >&5
7031 sed 's/^/| /' conftest.$ac_ext >&5
7032
7033 ac_c99_stdio=no
7034 fi
7035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7036
7037 fi
7038
7039   echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7040 echo "${ECHO_T}$ac_c99_stdio" >&6
7041
7042   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7043   echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7044 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7045   if test "${ac_c99_stdlib+set}" = set; then
7046   echo $ECHO_N "(cached) $ECHO_C" >&6
7047 else
7048
7049   cat >conftest.$ac_ext <<_ACEOF
7050 /* confdefs.h.  */
7051 _ACEOF
7052 cat confdefs.h >>conftest.$ac_ext
7053 cat >>conftest.$ac_ext <<_ACEOF
7054 /* end confdefs.h.  */
7055 #include <stdlib.h>
7056 int
7057 main ()
7058 {
7059 char* tmp;
7060                   strtof("gnu", &tmp);
7061                   strtold("gnu", &tmp);
7062                   strtoll("gnu", &tmp, 10);
7063                   strtoull("gnu", &tmp, 10);
7064                   llabs(10);
7065                   lldiv(10,1);
7066                   atoll("10");
7067                   _Exit(0);
7068                   lldiv_t mydivt;
7069   ;
7070   return 0;
7071 }
7072 _ACEOF
7073 rm -f conftest.$ac_objext
7074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7075   (eval $ac_compile) 2>conftest.er1
7076   ac_status=$?
7077   grep -v '^ *+' conftest.er1 >conftest.err
7078   rm -f conftest.er1
7079   cat conftest.err >&5
7080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7081   (exit $ac_status); } &&
7082          { ac_try='test -z "$ac_cxx_werror_flag"
7083                          || test ! -s conftest.err'
7084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7085   (eval $ac_try) 2>&5
7086   ac_status=$?
7087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7088   (exit $ac_status); }; } &&
7089          { ac_try='test -s conftest.$ac_objext'
7090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7091   (eval $ac_try) 2>&5
7092   ac_status=$?
7093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7094   (exit $ac_status); }; }; then
7095   ac_c99_stdlib=yes
7096 else
7097   echo "$as_me: failed program was:" >&5
7098 sed 's/^/| /' conftest.$ac_ext >&5
7099
7100 ac_c99_stdlib=no
7101 fi
7102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7103
7104 fi
7105
7106   echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7107 echo "${ECHO_T}$ac_c99_stdlib" >&6
7108
7109   # Check for the existence in <wchar.h> of wcstoull, WEOF, etc.
7110
7111 for ac_header in wctype.h
7112 do
7113 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7115   echo "$as_me:$LINENO: checking for $ac_header" >&5
7116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7118   echo $ECHO_N "(cached) $ECHO_C" >&6
7119 fi
7120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7121 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7122 else
7123   # Is the header compilable?
7124 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7125 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7126 cat >conftest.$ac_ext <<_ACEOF
7127 /* confdefs.h.  */
7128 _ACEOF
7129 cat confdefs.h >>conftest.$ac_ext
7130 cat >>conftest.$ac_ext <<_ACEOF
7131 /* end confdefs.h.  */
7132 $ac_includes_default
7133 #include <$ac_header>
7134 _ACEOF
7135 rm -f conftest.$ac_objext
7136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7137   (eval $ac_compile) 2>conftest.er1
7138   ac_status=$?
7139   grep -v '^ *+' conftest.er1 >conftest.err
7140   rm -f conftest.er1
7141   cat conftest.err >&5
7142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7143   (exit $ac_status); } &&
7144          { ac_try='test -z "$ac_cxx_werror_flag"
7145                          || test ! -s conftest.err'
7146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7147   (eval $ac_try) 2>&5
7148   ac_status=$?
7149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150   (exit $ac_status); }; } &&
7151          { ac_try='test -s conftest.$ac_objext'
7152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7153   (eval $ac_try) 2>&5
7154   ac_status=$?
7155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7156   (exit $ac_status); }; }; then
7157   ac_header_compiler=yes
7158 else
7159   echo "$as_me: failed program was:" >&5
7160 sed 's/^/| /' conftest.$ac_ext >&5
7161
7162 ac_header_compiler=no
7163 fi
7164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7165 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7166 echo "${ECHO_T}$ac_header_compiler" >&6
7167
7168 # Is the header present?
7169 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7170 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7171 cat >conftest.$ac_ext <<_ACEOF
7172 /* confdefs.h.  */
7173 _ACEOF
7174 cat confdefs.h >>conftest.$ac_ext
7175 cat >>conftest.$ac_ext <<_ACEOF
7176 /* end confdefs.h.  */
7177 #include <$ac_header>
7178 _ACEOF
7179 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7180   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7181   ac_status=$?
7182   grep -v '^ *+' conftest.er1 >conftest.err
7183   rm -f conftest.er1
7184   cat conftest.err >&5
7185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7186   (exit $ac_status); } >/dev/null; then
7187   if test -s conftest.err; then
7188     ac_cpp_err=$ac_cxx_preproc_warn_flag
7189     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7190   else
7191     ac_cpp_err=
7192   fi
7193 else
7194   ac_cpp_err=yes
7195 fi
7196 if test -z "$ac_cpp_err"; then
7197   ac_header_preproc=yes
7198 else
7199   echo "$as_me: failed program was:" >&5
7200 sed 's/^/| /' conftest.$ac_ext >&5
7201
7202   ac_header_preproc=no
7203 fi
7204 rm -f conftest.err conftest.$ac_ext
7205 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7206 echo "${ECHO_T}$ac_header_preproc" >&6
7207
7208 # So?  What about this header?
7209 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7210   yes:no: )
7211     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7212 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7213     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7214 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7215     ac_header_preproc=yes
7216     ;;
7217   no:yes:* )
7218     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7219 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7220     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7221 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7222     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7223 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7224     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7225 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7226     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7227 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7228     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7229 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7230     (
7231       cat <<\_ASBOX
7232 ## ----------------------------------------- ##
7233 ## Report this to the package-unused lists.  ##
7234 ## ----------------------------------------- ##
7235 _ASBOX
7236     ) |
7237       sed "s/^/$as_me: WARNING:     /" >&2
7238     ;;
7239 esac
7240 echo "$as_me:$LINENO: checking for $ac_header" >&5
7241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7243   echo $ECHO_N "(cached) $ECHO_C" >&6
7244 else
7245   eval "$as_ac_Header=\$ac_header_preproc"
7246 fi
7247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7248 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7249
7250 fi
7251 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7252   cat >>confdefs.h <<_ACEOF
7253 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7254 _ACEOF
7255  ac_has_wctype_h=yes
7256 else
7257   ac_has_wctype_h=no
7258 fi
7259
7260 done
7261
7262   ac_c99_wchar=no;
7263   if test x"$ac_has_wchar_h" = xyes &&
7264      test x"$ac_has_wctype_h" = xyes; then
7265     cat >conftest.$ac_ext <<_ACEOF
7266 /* confdefs.h.  */
7267 _ACEOF
7268 cat confdefs.h >>conftest.$ac_ext
7269 cat >>conftest.$ac_ext <<_ACEOF
7270 /* end confdefs.h.  */
7271 #include <wchar.h>
7272                     #include <stddef.h>
7273                     wint_t i;
7274                     long l = WEOF;
7275                     long j = WCHAR_MIN;
7276                     long k = WCHAR_MAX;
7277                     namespace test
7278                     {
7279                       using ::btowc;
7280                       using ::fgetwc;
7281                       using ::fgetws;
7282                       using ::fputwc;
7283                       using ::fputws;
7284                       using ::fwide;
7285                       using ::fwprintf;
7286                       using ::fwscanf;
7287                       using ::getwc;
7288                       using ::getwchar;
7289                       using ::mbrlen;
7290                       using ::mbrtowc;
7291                       using ::mbsinit;
7292                       using ::mbsrtowcs;
7293                       using ::putwc;
7294                       using ::putwchar;
7295                       using ::swprintf;
7296                       using ::swscanf;
7297                       using ::ungetwc;
7298                       using ::vfwprintf;
7299                       using ::vswprintf;
7300                       using ::vwprintf;
7301                       using ::wcrtomb;
7302                       using ::wcscat;
7303                       using ::wcschr;
7304                       using ::wcscmp;
7305                       using ::wcscoll;
7306                       using ::wcscpy;
7307                       using ::wcscspn;
7308                       using ::wcsftime;
7309                       using ::wcslen;
7310                       using ::wcsncat;
7311                       using ::wcsncmp;
7312                       using ::wcsncpy;
7313                       using ::wcspbrk;
7314                       using ::wcsrchr;
7315                       using ::wcsrtombs;
7316                       using ::wcsspn;
7317                       using ::wcsstr;
7318                       using ::wcstod;
7319                       using ::wcstok;
7320                       using ::wcstol;
7321                       using ::wcstold;
7322                       using ::wcstoll;
7323                       using ::wcstoul;
7324                       using ::wcstoull;
7325                       using ::wcsxfrm;
7326                       using ::wctob;
7327                       using ::wmemchr;
7328                       using ::wmemcmp;
7329                       using ::wmemcpy;
7330                       using ::wmemmove;
7331                       using ::wmemset;
7332                       using ::wprintf;
7333                       using ::wscanf;
7334                     }
7335
7336 int
7337 main ()
7338 {
7339
7340   ;
7341   return 0;
7342 }
7343 _ACEOF
7344 rm -f conftest.$ac_objext
7345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7346   (eval $ac_compile) 2>conftest.er1
7347   ac_status=$?
7348   grep -v '^ *+' conftest.er1 >conftest.err
7349   rm -f conftest.er1
7350   cat conftest.err >&5
7351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7352   (exit $ac_status); } &&
7353          { ac_try='test -z "$ac_cxx_werror_flag"
7354                          || test ! -s conftest.err'
7355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7356   (eval $ac_try) 2>&5
7357   ac_status=$?
7358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7359   (exit $ac_status); }; } &&
7360          { ac_try='test -s conftest.$ac_objext'
7361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7362   (eval $ac_try) 2>&5
7363   ac_status=$?
7364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7365   (exit $ac_status); }; }; then
7366   ac_c99_wchar=yes
7367 else
7368   echo "$as_me: failed program was:" >&5
7369 sed 's/^/| /' conftest.$ac_ext >&5
7370
7371 ac_c99_wchar=no
7372 fi
7373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7374
7375     # Checks for wide character functions that may not be present.
7376     # Injection of these is wrapped with guard macros.
7377     # NB: only put functions here, instead of immediately above, if
7378     # absolutely necessary.
7379     cat >conftest.$ac_ext <<_ACEOF
7380 /* confdefs.h.  */
7381 _ACEOF
7382 cat confdefs.h >>conftest.$ac_ext
7383 cat >>conftest.$ac_ext <<_ACEOF
7384 /* end confdefs.h.  */
7385 #include <wchar.h>
7386                     namespace test { using ::vfwscanf; }
7387 int
7388 main ()
7389 {
7390
7391   ;
7392   return 0;
7393 }
7394 _ACEOF
7395 rm -f conftest.$ac_objext
7396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7397   (eval $ac_compile) 2>conftest.er1
7398   ac_status=$?
7399   grep -v '^ *+' conftest.er1 >conftest.err
7400   rm -f conftest.er1
7401   cat conftest.err >&5
7402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7403   (exit $ac_status); } &&
7404          { ac_try='test -z "$ac_cxx_werror_flag"
7405                          || test ! -s conftest.err'
7406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7407   (eval $ac_try) 2>&5
7408   ac_status=$?
7409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7410   (exit $ac_status); }; } &&
7411          { ac_try='test -s conftest.$ac_objext'
7412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7413   (eval $ac_try) 2>&5
7414   ac_status=$?
7415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7416   (exit $ac_status); }; }; then
7417
7418 cat >>confdefs.h <<\_ACEOF
7419 #define HAVE_VFWSCANF 1
7420 _ACEOF
7421
7422 else
7423   echo "$as_me: failed program was:" >&5
7424 sed 's/^/| /' conftest.$ac_ext >&5
7425
7426 fi
7427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7428
7429     cat >conftest.$ac_ext <<_ACEOF
7430 /* confdefs.h.  */
7431 _ACEOF
7432 cat confdefs.h >>conftest.$ac_ext
7433 cat >>conftest.$ac_ext <<_ACEOF
7434 /* end confdefs.h.  */
7435 #include <wchar.h>
7436                     namespace test { using ::vswscanf; }
7437 int
7438 main ()
7439 {
7440
7441   ;
7442   return 0;
7443 }
7444 _ACEOF
7445 rm -f conftest.$ac_objext
7446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7447   (eval $ac_compile) 2>conftest.er1
7448   ac_status=$?
7449   grep -v '^ *+' conftest.er1 >conftest.err
7450   rm -f conftest.er1
7451   cat conftest.err >&5
7452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7453   (exit $ac_status); } &&
7454          { ac_try='test -z "$ac_cxx_werror_flag"
7455                          || test ! -s conftest.err'
7456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7457   (eval $ac_try) 2>&5
7458   ac_status=$?
7459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7460   (exit $ac_status); }; } &&
7461          { ac_try='test -s conftest.$ac_objext'
7462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7463   (eval $ac_try) 2>&5
7464   ac_status=$?
7465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7466   (exit $ac_status); }; }; then
7467
7468 cat >>confdefs.h <<\_ACEOF
7469 #define HAVE_VSWSCANF 1
7470 _ACEOF
7471
7472 else
7473   echo "$as_me: failed program was:" >&5
7474 sed 's/^/| /' conftest.$ac_ext >&5
7475
7476 fi
7477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7478
7479     cat >conftest.$ac_ext <<_ACEOF
7480 /* confdefs.h.  */
7481 _ACEOF
7482 cat confdefs.h >>conftest.$ac_ext
7483 cat >>conftest.$ac_ext <<_ACEOF
7484 /* end confdefs.h.  */
7485 #include <wchar.h>
7486                     namespace test { using ::vwscanf; }
7487 int
7488 main ()
7489 {
7490
7491   ;
7492   return 0;
7493 }
7494 _ACEOF
7495 rm -f conftest.$ac_objext
7496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7497   (eval $ac_compile) 2>conftest.er1
7498   ac_status=$?
7499   grep -v '^ *+' conftest.er1 >conftest.err
7500   rm -f conftest.er1
7501   cat conftest.err >&5
7502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7503   (exit $ac_status); } &&
7504          { ac_try='test -z "$ac_cxx_werror_flag"
7505                          || test ! -s conftest.err'
7506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7507   (eval $ac_try) 2>&5
7508   ac_status=$?
7509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7510   (exit $ac_status); }; } &&
7511          { ac_try='test -s conftest.$ac_objext'
7512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7513   (eval $ac_try) 2>&5
7514   ac_status=$?
7515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7516   (exit $ac_status); }; }; then
7517
7518 cat >>confdefs.h <<\_ACEOF
7519 #define HAVE_VWSCANF 1
7520 _ACEOF
7521
7522 else
7523   echo "$as_me: failed program was:" >&5
7524 sed 's/^/| /' conftest.$ac_ext >&5
7525
7526 fi
7527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7528
7529     cat >conftest.$ac_ext <<_ACEOF
7530 /* confdefs.h.  */
7531 _ACEOF
7532 cat confdefs.h >>conftest.$ac_ext
7533 cat >>conftest.$ac_ext <<_ACEOF
7534 /* end confdefs.h.  */
7535 #include <wchar.h>
7536                     namespace test { using ::wcstof; }
7537 int
7538 main ()
7539 {
7540
7541   ;
7542   return 0;
7543 }
7544 _ACEOF
7545 rm -f conftest.$ac_objext
7546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7547   (eval $ac_compile) 2>conftest.er1
7548   ac_status=$?
7549   grep -v '^ *+' conftest.er1 >conftest.err
7550   rm -f conftest.er1
7551   cat conftest.err >&5
7552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553   (exit $ac_status); } &&
7554          { ac_try='test -z "$ac_cxx_werror_flag"
7555                          || test ! -s conftest.err'
7556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7557   (eval $ac_try) 2>&5
7558   ac_status=$?
7559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7560   (exit $ac_status); }; } &&
7561          { ac_try='test -s conftest.$ac_objext'
7562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7563   (eval $ac_try) 2>&5
7564   ac_status=$?
7565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7566   (exit $ac_status); }; }; then
7567
7568 cat >>confdefs.h <<\_ACEOF
7569 #define HAVE_WCSTOF 1
7570 _ACEOF
7571
7572 else
7573   echo "$as_me: failed program was:" >&5
7574 sed 's/^/| /' conftest.$ac_ext >&5
7575
7576 fi
7577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7578
7579     cat >conftest.$ac_ext <<_ACEOF
7580 /* confdefs.h.  */
7581 _ACEOF
7582 cat confdefs.h >>conftest.$ac_ext
7583 cat >>conftest.$ac_ext <<_ACEOF
7584 /* end confdefs.h.  */
7585 #include <wctype.h>
7586 int
7587 main ()
7588 {
7589  wint_t t; int i = iswblank(t);
7590   ;
7591   return 0;
7592 }
7593 _ACEOF
7594 rm -f conftest.$ac_objext
7595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7596   (eval $ac_compile) 2>conftest.er1
7597   ac_status=$?
7598   grep -v '^ *+' conftest.er1 >conftest.err
7599   rm -f conftest.er1
7600   cat conftest.err >&5
7601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7602   (exit $ac_status); } &&
7603          { ac_try='test -z "$ac_cxx_werror_flag"
7604                          || test ! -s conftest.err'
7605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7606   (eval $ac_try) 2>&5
7607   ac_status=$?
7608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7609   (exit $ac_status); }; } &&
7610          { ac_try='test -s conftest.$ac_objext'
7611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7612   (eval $ac_try) 2>&5
7613   ac_status=$?
7614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7615   (exit $ac_status); }; }; then
7616
7617 cat >>confdefs.h <<\_ACEOF
7618 #define HAVE_ISWBLANK 1
7619 _ACEOF
7620
7621 else
7622   echo "$as_me: failed program was:" >&5
7623 sed 's/^/| /' conftest.$ac_ext >&5
7624
7625 fi
7626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7627
7628     echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
7629 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
7630     echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7631 echo "${ECHO_T}$ac_c99_wchar" >&6
7632   fi
7633
7634   # Option parsed, now set things appropriately.
7635   if test x"$ac_c99_math" = x"no" ||
7636      test x"$ac_c99_complex" = x"no" ||
7637      test x"$ac_c99_stdio" = x"no" ||
7638      test x"$ac_c99_stdlib" = x"no" ||
7639      test x"$ac_c99_wchar" = x"no"; then
7640     enable_c99=no;
7641   else
7642
7643 cat >>confdefs.h <<\_ACEOF
7644 #define _GLIBCXX_USE_C99 1
7645 _ACEOF
7646
7647   fi
7648
7649   ac_ext=c
7650 ac_cpp='$CPP $CPPFLAGS'
7651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7654
7655   fi
7656
7657   echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
7658 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
7659   echo "$as_me:$LINENO: result: $enable_c99" >&5
7660 echo "${ECHO_T}$enable_c99" >&6
7661
7662
7663    # Check whether --enable-long-long or --disable-long-long was given.
7664 if test "${enable_long_long+set}" = set; then
7665   enableval="$enable_long_long"
7666
7667       case "$enableval" in
7668        yes|no) ;;
7669        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7670 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7671    { (exit 1); exit 1; }; } ;;
7672       esac
7673
7674 else
7675   enable_long_long=yes
7676 fi;
7677
7678   if test $enable_long_long = yes; then
7679
7680 cat >>confdefs.h <<\_ACEOF
7681 #define _GLIBCXX_USE_LONG_LONG 1
7682 _ACEOF
7683
7684   fi
7685   echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
7686 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
7687   echo "$as_me:$LINENO: result: $enable_long_long" >&5
7688 echo "${ECHO_T}$enable_long_long" >&6
7689
7690
7691    # Check whether --enable-wchar_t or --disable-wchar_t was given.
7692 if test "${enable_wchar_t+set}" = set; then
7693   enableval="$enable_wchar_t"
7694
7695       case "$enableval" in
7696        yes|no) ;;
7697        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
7698 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
7699    { (exit 1); exit 1; }; } ;;
7700       esac
7701
7702 else
7703   enable_wchar_t=yes
7704 fi;
7705
7706   if test x"$ac_c99_wchar" = x"yes" && test x"$enable_wchar_t" = x"yes"; then
7707
7708 cat >>confdefs.h <<\_ACEOF
7709 #define _GLIBCXX_USE_WCHAR_T 1
7710 _ACEOF
7711
7712   fi
7713   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
7714 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
7715   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
7716 echo "${ECHO_T}$enable_wchar_t" >&6
7717
7718
7719    # Check whether --enable-concept-checks or --disable-concept-checks was given.
7720 if test "${enable_concept_checks+set}" = set; then
7721   enableval="$enable_concept_checks"
7722
7723       case "$enableval" in
7724        yes|no) ;;
7725        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7726 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7727    { (exit 1); exit 1; }; } ;;
7728       esac
7729
7730 else
7731   enable_concept_checks=no
7732 fi;
7733
7734   if test $enable_concept_checks = yes; then
7735
7736 cat >>confdefs.h <<\_ACEOF
7737 #define _GLIBCXX_CONCEPT_CHECKS 1
7738 _ACEOF
7739
7740   fi
7741
7742
7743    # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7744 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7745   enableval="$enable_libstdcxx_debug_flags"
7746   case "x$enable_libstdcxx_debug_flags" in
7747       xno | x)    enable_libstdcxx_debug_flags= ;;
7748       x-*)        ;;
7749       *)          { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7750 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7751    { (exit 1); exit 1; }; } ;;
7752      esac
7753 else
7754   enable_libstdcxx_debug_flags="-g3 -O0"
7755 fi;
7756
7757
7758   # Option parsed, now set things appropriately
7759   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7760
7761
7762   { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7763 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7764
7765
7766   echo "$as_me:$LINENO: checking for additional debug build" >&5
7767 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7768    # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7769 if test "${enable_libstdcxx_debug+set}" = set; then
7770   enableval="$enable_libstdcxx_debug"
7771
7772       case "$enableval" in
7773        yes|no) ;;
7774        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7775 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7776    { (exit 1); exit 1; }; } ;;
7777       esac
7778
7779 else
7780   enable_libstdcxx_debug=no
7781 fi;
7782
7783   echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7784 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7785
7786
7787   echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7788 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7789    # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7790 if test "${enable_cxx_flags+set}" = set; then
7791   enableval="$enable_cxx_flags"
7792   case "x$enable_cxx_flags" in
7793       xno | x)   enable_cxx_flags= ;;
7794       x-*)       ;;
7795       *)         { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7796 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7797    { (exit 1); exit 1; }; } ;;
7798      esac
7799 else
7800   enable_cxx_flags=
7801 fi;
7802
7803
7804   # Run through flags (either default or command-line) and set anything
7805   # extra (e.g., #defines) that must accompany particular g++ options.
7806   if test -n "$enable_cxx_flags"; then
7807     for f in $enable_cxx_flags; do
7808       case "$f" in
7809         -fhonor-std)  ;;
7810         -*)  ;;
7811         *)   # and we're trying to pass /what/ exactly?
7812              { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7813 echo "$as_me: error: compiler flags start with a -" >&2;}
7814    { (exit 1); exit 1; }; } ;;
7815       esac
7816     done
7817   fi
7818
7819   EXTRA_CXX_FLAGS="$enable_cxx_flags"
7820   echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7821 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7822
7823
7824
7825    # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7826 if test "${enable_fully_dynamic_string+set}" = set; then
7827   enableval="$enable_fully_dynamic_string"
7828
7829       case "$enableval" in
7830        yes|no) ;;
7831        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7832 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7833    { (exit 1); exit 1; }; } ;;
7834       esac
7835
7836 else
7837   enable_fully_dynamic_string=no
7838 fi;
7839
7840   if test $enable_fully_dynamic_string = yes; then
7841
7842 cat >>confdefs.h <<\_ACEOF
7843 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7844 _ACEOF
7845
7846   fi
7847
7848
7849 # No surprises, no surprises...
7850
7851   echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7852 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7853   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7854   echo "$as_me:$LINENO: result: $target_thread_file" >&5
7855 echo "${ECHO_T}$target_thread_file" >&6
7856
7857   if test $target_thread_file != single; then
7858
7859 cat >>confdefs.h <<\_ACEOF
7860 #define HAVE_GTHR_DEFAULT 1
7861 _ACEOF
7862
7863   fi
7864
7865   glibcxx_thread_h=gthr-$target_thread_file.h
7866
7867     gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
7868   if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
7869     enable_thread=yes
7870   else
7871    enable_thread=no
7872   fi
7873
7874
7875
7876 if test $atomicity_dir = cpu/generic ; then
7877   { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7878 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7879   if test $target_thread_file = single; then
7880     { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7881 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7882     { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7883 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7884   else
7885     { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7886 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7887     { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7888 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7889   fi
7890 fi
7891
7892
7893 if $GLIBCXX_IS_NATIVE; then
7894
7895   # We can do more elaborate tests that assume a working linker.
7896   CANADIAN=no
7897
7898   # Check for available headers.
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7915   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7916   sys/types.h sys/ipc.h sys/sem.h
7917 do
7918 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7919 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7920   echo "$as_me:$LINENO: checking for $ac_header" >&5
7921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7922 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7923   echo $ECHO_N "(cached) $ECHO_C" >&6
7924 fi
7925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7926 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7927 else
7928   # Is the header compilable?
7929 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7930 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7931 cat >conftest.$ac_ext <<_ACEOF
7932 /* confdefs.h.  */
7933 _ACEOF
7934 cat confdefs.h >>conftest.$ac_ext
7935 cat >>conftest.$ac_ext <<_ACEOF
7936 /* end confdefs.h.  */
7937 $ac_includes_default
7938 #include <$ac_header>
7939 _ACEOF
7940 rm -f conftest.$ac_objext
7941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7942   (eval $ac_compile) 2>conftest.er1
7943   ac_status=$?
7944   grep -v '^ *+' conftest.er1 >conftest.err
7945   rm -f conftest.er1
7946   cat conftest.err >&5
7947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7948   (exit $ac_status); } &&
7949          { ac_try='test -z "$ac_c_werror_flag"
7950                          || test ! -s conftest.err'
7951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7952   (eval $ac_try) 2>&5
7953   ac_status=$?
7954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7955   (exit $ac_status); }; } &&
7956          { ac_try='test -s conftest.$ac_objext'
7957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7958   (eval $ac_try) 2>&5
7959   ac_status=$?
7960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7961   (exit $ac_status); }; }; then
7962   ac_header_compiler=yes
7963 else
7964   echo "$as_me: failed program was:" >&5
7965 sed 's/^/| /' conftest.$ac_ext >&5
7966
7967 ac_header_compiler=no
7968 fi
7969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7970 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7971 echo "${ECHO_T}$ac_header_compiler" >&6
7972
7973 # Is the header present?
7974 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7975 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7976 cat >conftest.$ac_ext <<_ACEOF
7977 /* confdefs.h.  */
7978 _ACEOF
7979 cat confdefs.h >>conftest.$ac_ext
7980 cat >>conftest.$ac_ext <<_ACEOF
7981 /* end confdefs.h.  */
7982 #include <$ac_header>
7983 _ACEOF
7984 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7985   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7986   ac_status=$?
7987   grep -v '^ *+' conftest.er1 >conftest.err
7988   rm -f conftest.er1
7989   cat conftest.err >&5
7990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7991   (exit $ac_status); } >/dev/null; then
7992   if test -s conftest.err; then
7993     ac_cpp_err=$ac_c_preproc_warn_flag
7994     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7995   else
7996     ac_cpp_err=
7997   fi
7998 else
7999   ac_cpp_err=yes
8000 fi
8001 if test -z "$ac_cpp_err"; then
8002   ac_header_preproc=yes
8003 else
8004   echo "$as_me: failed program was:" >&5
8005 sed 's/^/| /' conftest.$ac_ext >&5
8006
8007   ac_header_preproc=no
8008 fi
8009 rm -f conftest.err conftest.$ac_ext
8010 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8011 echo "${ECHO_T}$ac_header_preproc" >&6
8012
8013 # So?  What about this header?
8014 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8015   yes:no: )
8016     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8017 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8018     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8019 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8020     ac_header_preproc=yes
8021     ;;
8022   no:yes:* )
8023     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8024 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8025     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8026 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8027     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8028 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8029     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8030 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8031     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8032 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8033     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8034 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8035     (
8036       cat <<\_ASBOX
8037 ## ----------------------------------------- ##
8038 ## Report this to the package-unused lists.  ##
8039 ## ----------------------------------------- ##
8040 _ASBOX
8041     ) |
8042       sed "s/^/$as_me: WARNING:     /" >&2
8043     ;;
8044 esac
8045 echo "$as_me:$LINENO: checking for $ac_header" >&5
8046 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8047 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8048   echo $ECHO_N "(cached) $ECHO_C" >&6
8049 else
8050   eval "$as_ac_Header=\$ac_header_preproc"
8051 fi
8052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8053 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8054
8055 fi
8056 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8057   cat >>confdefs.h <<_ACEOF
8058 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8059 _ACEOF
8060
8061 fi
8062
8063 done
8064
8065
8066
8067   # All these tests are for C++; save the language and the compiler flags.
8068   # The CXXFLAGS thing is suspicious, but based on similar bits previously
8069   # found in GLIBCXX_CONFIGURE.
8070
8071
8072   ac_ext=cc
8073 ac_cpp='$CXXCPP $CPPFLAGS'
8074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8077
8078   ac_test_CXXFLAGS="${CXXFLAGS+set}"
8079   ac_save_CXXFLAGS="$CXXFLAGS"
8080
8081   # Check for maintainer-mode bits.
8082   if test x"$USE_MAINTAINER_MODE" = xno; then
8083     WERROR=''
8084   else
8085     WERROR='-Werror'
8086   fi
8087
8088   # Check for -ffunction-sections -fdata-sections
8089   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8090 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8091   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8092   cat >conftest.$ac_ext <<_ACEOF
8093 /* confdefs.h.  */
8094 _ACEOF
8095 cat confdefs.h >>conftest.$ac_ext
8096 cat >>conftest.$ac_ext <<_ACEOF
8097 /* end confdefs.h.  */
8098
8099 int
8100 main ()
8101 {
8102 int foo;
8103   ;
8104   return 0;
8105 }
8106 _ACEOF
8107 rm -f conftest.$ac_objext
8108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8109   (eval $ac_compile) 2>conftest.er1
8110   ac_status=$?
8111   grep -v '^ *+' conftest.er1 >conftest.err
8112   rm -f conftest.er1
8113   cat conftest.err >&5
8114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8115   (exit $ac_status); } &&
8116          { ac_try='test -z "$ac_cxx_werror_flag"
8117                          || test ! -s conftest.err'
8118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8119   (eval $ac_try) 2>&5
8120   ac_status=$?
8121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8122   (exit $ac_status); }; } &&
8123          { ac_try='test -s conftest.$ac_objext'
8124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8125   (eval $ac_try) 2>&5
8126   ac_status=$?
8127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8128   (exit $ac_status); }; }; then
8129   ac_fdsections=yes
8130 else
8131   echo "$as_me: failed program was:" >&5
8132 sed 's/^/| /' conftest.$ac_ext >&5
8133
8134 ac_fdsections=no
8135 fi
8136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8137   if test "$ac_test_CXXFLAGS" = set; then
8138     CXXFLAGS="$ac_save_CXXFLAGS"
8139   else
8140     # this is the suspicious part
8141     CXXFLAGS=''
8142   fi
8143   if test x"$ac_fdsections" = x"yes"; then
8144     SECTION_FLAGS='-ffunction-sections -fdata-sections'
8145   fi
8146   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8147 echo "${ECHO_T}$ac_fdsections" >&6
8148
8149   ac_ext=c
8150 ac_cpp='$CPP $CPPFLAGS'
8151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8154
8155
8156
8157
8158
8159   # If we're not using GNU ld, then there's no point in even trying these
8160   # tests.  Check for that first.  We should have already tested for gld
8161   # by now (in libtool), but require it now just to be safe...
8162   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8163   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8164
8165
8166
8167   # The name set by libtool depends on the version of libtool.  Shame on us
8168   # for depending on an impl detail, but c'est la vie.  Older versions used
8169   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8170   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8171   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
8172   # set (hence we're using an older libtool), then set it.
8173   if test x${with_gnu_ld+set} != xset; then
8174     if test x${ac_cv_prog_gnu_ld+set} != xset; then
8175       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
8176       with_gnu_ld=no
8177     else
8178       with_gnu_ld=$ac_cv_prog_gnu_ld
8179     fi
8180   fi
8181
8182   # Start by getting the version number.  I think the libtool test already
8183   # does some of this, but throws away the result.
8184
8185   ldver=`$LD --version 2>/dev/null | head -1 | \
8186          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8187
8188   glibcxx_gnu_ld_version=`echo $ldver | \
8189          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8190
8191   # Set --gc-sections.
8192   if test "$with_gnu_ld" = "notbroken"; then
8193     # GNU ld it is!  Joy and bunny rabbits!
8194
8195     # All these tests are for C++; save the language and the compiler flags.
8196     # Need to do this so that g++ won't try to link in libstdc++
8197     ac_test_CFLAGS="${CFLAGS+set}"
8198     ac_save_CFLAGS="$CFLAGS"
8199     CFLAGS='-x c++  -Wl,--gc-sections'
8200
8201     # Check for -Wl,--gc-sections
8202     # XXX This test is broken at the moment, as symbols required for linking
8203     # are now in libsupc++ (not built yet).  In addition, this test has
8204     # cored on solaris in the past.  In addition, --gc-sections doesn't
8205     # really work at the moment (keeps on discarding used sections, first
8206     # .eh_frame and now some of the glibc sections for iconv).
8207     # Bzzzzt.  Thanks for playing, maybe next time.
8208     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8209 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8210     if test "$cross_compiling" = yes; then
8211   ac_sectionLDflags=yes
8212 else
8213   cat >conftest.$ac_ext <<_ACEOF
8214 /* confdefs.h.  */
8215 _ACEOF
8216 cat confdefs.h >>conftest.$ac_ext
8217 cat >>conftest.$ac_ext <<_ACEOF
8218 /* end confdefs.h.  */
8219
8220      int main(void)
8221      {
8222        try { throw 1; }
8223        catch (...) { };
8224        return 0;
8225      }
8226
8227 _ACEOF
8228 rm -f conftest$ac_exeext
8229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8230   (eval $ac_link) 2>&5
8231   ac_status=$?
8232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8233   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8235   (eval $ac_try) 2>&5
8236   ac_status=$?
8237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8238   (exit $ac_status); }; }; then
8239   ac_sectionLDflags=yes
8240 else
8241   echo "$as_me: program exited with status $ac_status" >&5
8242 echo "$as_me: failed program was:" >&5
8243 sed 's/^/| /' conftest.$ac_ext >&5
8244
8245 ( exit $ac_status )
8246 ac_sectionLDflags=no
8247 fi
8248 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8249 fi
8250     if test "$ac_test_CFLAGS" = set; then
8251       CFLAGS="$ac_save_CFLAGS"
8252     else
8253       # this is the suspicious part
8254       CFLAGS=''
8255     fi
8256     if test "$ac_sectionLDflags" = "yes"; then
8257       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8258     fi
8259     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
8260 echo "${ECHO_T}$ac_sectionLDflags" >&6
8261   fi
8262
8263   # Set linker optimization flags.
8264   if test x"$with_gnu_ld" = x"yes"; then
8265     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8266   fi
8267
8268
8269
8270
8271
8272   ac_test_CXXFLAGS="${CXXFLAGS+set}"
8273   ac_save_CXXFLAGS="$CXXFLAGS"
8274   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8275
8276     echo "$as_me:$LINENO: checking for sin in -lm" >&5
8277 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8278 if test "${ac_cv_lib_m_sin+set}" = set; then
8279   echo $ECHO_N "(cached) $ECHO_C" >&6
8280 else
8281   ac_check_lib_save_LIBS=$LIBS
8282 LIBS="-lm  $LIBS"
8283 if test x$gcc_no_link = xyes; then
8284   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8286    { (exit 1); exit 1; }; }
8287 fi
8288 cat >conftest.$ac_ext <<_ACEOF
8289 /* confdefs.h.  */
8290 _ACEOF
8291 cat confdefs.h >>conftest.$ac_ext
8292 cat >>conftest.$ac_ext <<_ACEOF
8293 /* end confdefs.h.  */
8294
8295 /* Override any gcc2 internal prototype to avoid an error.  */
8296 #ifdef __cplusplus
8297 extern "C"
8298 #endif
8299 /* We use char because int might match the return type of a gcc2
8300    builtin and then its argument prototype would still apply.  */
8301 char sin ();
8302 int
8303 main ()
8304 {
8305 sin ();
8306   ;
8307   return 0;
8308 }
8309 _ACEOF
8310 rm -f conftest.$ac_objext conftest$ac_exeext
8311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8312   (eval $ac_link) 2>conftest.er1
8313   ac_status=$?
8314   grep -v '^ *+' conftest.er1 >conftest.err
8315   rm -f conftest.er1
8316   cat conftest.err >&5
8317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8318   (exit $ac_status); } &&
8319          { ac_try='test -z "$ac_c_werror_flag"
8320                          || test ! -s conftest.err'
8321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8322   (eval $ac_try) 2>&5
8323   ac_status=$?
8324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8325   (exit $ac_status); }; } &&
8326          { ac_try='test -s conftest$ac_exeext'
8327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8328   (eval $ac_try) 2>&5
8329   ac_status=$?
8330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8331   (exit $ac_status); }; }; then
8332   ac_cv_lib_m_sin=yes
8333 else
8334   echo "$as_me: failed program was:" >&5
8335 sed 's/^/| /' conftest.$ac_ext >&5
8336
8337 ac_cv_lib_m_sin=no
8338 fi
8339 rm -f conftest.err conftest.$ac_objext \
8340       conftest$ac_exeext conftest.$ac_ext
8341 LIBS=$ac_check_lib_save_LIBS
8342 fi
8343 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8344 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8345 if test $ac_cv_lib_m_sin = yes; then
8346   libm="-lm"
8347 fi
8348
8349   ac_save_LIBS="$LIBS"
8350   LIBS="$LIBS $libm"
8351
8352
8353
8354   echo "$as_me:$LINENO: checking for isinf declaration" >&5
8355 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8356   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8357     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8358   echo $ECHO_N "(cached) $ECHO_C" >&6
8359 else
8360
8361
8362
8363       ac_ext=cc
8364 ac_cpp='$CXXCPP $CPPFLAGS'
8365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8368
8369       cat >conftest.$ac_ext <<_ACEOF
8370 /* confdefs.h.  */
8371 _ACEOF
8372 cat confdefs.h >>conftest.$ac_ext
8373 cat >>conftest.$ac_ext <<_ACEOF
8374 /* end confdefs.h.  */
8375 #include <math.h>
8376                       #ifdef HAVE_IEEEFP_H
8377                       #include <ieeefp.h>
8378                       #endif
8379
8380 int
8381 main ()
8382 {
8383  isinf(0);
8384   ;
8385   return 0;
8386 }
8387 _ACEOF
8388 rm -f conftest.$ac_objext
8389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8390   (eval $ac_compile) 2>conftest.er1
8391   ac_status=$?
8392   grep -v '^ *+' conftest.er1 >conftest.err
8393   rm -f conftest.er1
8394   cat conftest.err >&5
8395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8396   (exit $ac_status); } &&
8397          { ac_try='test -z "$ac_cxx_werror_flag"
8398                          || test ! -s conftest.err'
8399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8400   (eval $ac_try) 2>&5
8401   ac_status=$?
8402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8403   (exit $ac_status); }; } &&
8404          { ac_try='test -s conftest.$ac_objext'
8405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8406   (eval $ac_try) 2>&5
8407   ac_status=$?
8408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8409   (exit $ac_status); }; }; then
8410   glibcxx_cv_func_isinf_use=yes
8411 else
8412   echo "$as_me: failed program was:" >&5
8413 sed 's/^/| /' conftest.$ac_ext >&5
8414
8415 glibcxx_cv_func_isinf_use=no
8416 fi
8417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8418       ac_ext=c
8419 ac_cpp='$CPP $CPPFLAGS'
8420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8423
8424
8425 fi
8426
8427   fi
8428   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8429 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8430
8431   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8432
8433 for ac_func in isinf
8434 do
8435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8436 echo "$as_me:$LINENO: checking for $ac_func" >&5
8437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8438 if eval "test \"\${$as_ac_var+set}\" = set"; then
8439   echo $ECHO_N "(cached) $ECHO_C" >&6
8440 else
8441   if test x$gcc_no_link = xyes; then
8442   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8444    { (exit 1); exit 1; }; }
8445 fi
8446 cat >conftest.$ac_ext <<_ACEOF
8447 /* confdefs.h.  */
8448 _ACEOF
8449 cat confdefs.h >>conftest.$ac_ext
8450 cat >>conftest.$ac_ext <<_ACEOF
8451 /* end confdefs.h.  */
8452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8453    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8454 #define $ac_func innocuous_$ac_func
8455
8456 /* System header to define __stub macros and hopefully few prototypes,
8457     which can conflict with char $ac_func (); below.
8458     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8459     <limits.h> exists even on freestanding compilers.  */
8460
8461 #ifdef __STDC__
8462 # include <limits.h>
8463 #else
8464 # include <assert.h>
8465 #endif
8466
8467 #undef $ac_func
8468
8469 /* Override any gcc2 internal prototype to avoid an error.  */
8470 #ifdef __cplusplus
8471 extern "C"
8472 {
8473 #endif
8474 /* We use char because int might match the return type of a gcc2
8475    builtin and then its argument prototype would still apply.  */
8476 char $ac_func ();
8477 /* The GNU C library defines this for functions which it implements
8478     to always fail with ENOSYS.  Some functions are actually named
8479     something starting with __ and the normal name is an alias.  */
8480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8481 choke me
8482 #else
8483 char (*f) () = $ac_func;
8484 #endif
8485 #ifdef __cplusplus
8486 }
8487 #endif
8488
8489 int
8490 main ()
8491 {
8492 return f != $ac_func;
8493   ;
8494   return 0;
8495 }
8496 _ACEOF
8497 rm -f conftest.$ac_objext conftest$ac_exeext
8498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8499   (eval $ac_link) 2>conftest.er1
8500   ac_status=$?
8501   grep -v '^ *+' conftest.er1 >conftest.err
8502   rm -f conftest.er1
8503   cat conftest.err >&5
8504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8505   (exit $ac_status); } &&
8506          { ac_try='test -z "$ac_c_werror_flag"
8507                          || test ! -s conftest.err'
8508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8509   (eval $ac_try) 2>&5
8510   ac_status=$?
8511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8512   (exit $ac_status); }; } &&
8513          { ac_try='test -s conftest$ac_exeext'
8514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8515   (eval $ac_try) 2>&5
8516   ac_status=$?
8517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8518   (exit $ac_status); }; }; then
8519   eval "$as_ac_var=yes"
8520 else
8521   echo "$as_me: failed program was:" >&5
8522 sed 's/^/| /' conftest.$ac_ext >&5
8523
8524 eval "$as_ac_var=no"
8525 fi
8526 rm -f conftest.err conftest.$ac_objext \
8527       conftest$ac_exeext conftest.$ac_ext
8528 fi
8529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8531 if test `eval echo '${'$as_ac_var'}'` = yes; then
8532   cat >>confdefs.h <<_ACEOF
8533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8534 _ACEOF
8535
8536 fi
8537 done
8538
8539   else
8540
8541   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8542 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8543   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8544     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8545   echo $ECHO_N "(cached) $ECHO_C" >&6
8546 else
8547
8548
8549
8550       ac_ext=cc
8551 ac_cpp='$CXXCPP $CPPFLAGS'
8552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8555
8556       cat >conftest.$ac_ext <<_ACEOF
8557 /* confdefs.h.  */
8558 _ACEOF
8559 cat confdefs.h >>conftest.$ac_ext
8560 cat >>conftest.$ac_ext <<_ACEOF
8561 /* end confdefs.h.  */
8562 #include <math.h>
8563                       #ifdef HAVE_IEEEFP_H
8564                       #include <ieeefp.h>
8565                       #endif
8566
8567 int
8568 main ()
8569 {
8570  _isinf(0);
8571   ;
8572   return 0;
8573 }
8574 _ACEOF
8575 rm -f conftest.$ac_objext
8576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8577   (eval $ac_compile) 2>conftest.er1
8578   ac_status=$?
8579   grep -v '^ *+' conftest.er1 >conftest.err
8580   rm -f conftest.er1
8581   cat conftest.err >&5
8582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8583   (exit $ac_status); } &&
8584          { ac_try='test -z "$ac_cxx_werror_flag"
8585                          || test ! -s conftest.err'
8586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8587   (eval $ac_try) 2>&5
8588   ac_status=$?
8589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8590   (exit $ac_status); }; } &&
8591          { ac_try='test -s conftest.$ac_objext'
8592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8593   (eval $ac_try) 2>&5
8594   ac_status=$?
8595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8596   (exit $ac_status); }; }; then
8597   glibcxx_cv_func__isinf_use=yes
8598 else
8599   echo "$as_me: failed program was:" >&5
8600 sed 's/^/| /' conftest.$ac_ext >&5
8601
8602 glibcxx_cv_func__isinf_use=no
8603 fi
8604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8605       ac_ext=c
8606 ac_cpp='$CPP $CPPFLAGS'
8607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8610
8611
8612 fi
8613
8614   fi
8615   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8616 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8617
8618     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8619
8620 for ac_func in _isinf
8621 do
8622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8623 echo "$as_me:$LINENO: checking for $ac_func" >&5
8624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8625 if eval "test \"\${$as_ac_var+set}\" = set"; then
8626   echo $ECHO_N "(cached) $ECHO_C" >&6
8627 else
8628   if test x$gcc_no_link = xyes; then
8629   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8631    { (exit 1); exit 1; }; }
8632 fi
8633 cat >conftest.$ac_ext <<_ACEOF
8634 /* confdefs.h.  */
8635 _ACEOF
8636 cat confdefs.h >>conftest.$ac_ext
8637 cat >>conftest.$ac_ext <<_ACEOF
8638 /* end confdefs.h.  */
8639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8640    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8641 #define $ac_func innocuous_$ac_func
8642
8643 /* System header to define __stub macros and hopefully few prototypes,
8644     which can conflict with char $ac_func (); below.
8645     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8646     <limits.h> exists even on freestanding compilers.  */
8647
8648 #ifdef __STDC__
8649 # include <limits.h>
8650 #else
8651 # include <assert.h>
8652 #endif
8653
8654 #undef $ac_func
8655
8656 /* Override any gcc2 internal prototype to avoid an error.  */
8657 #ifdef __cplusplus
8658 extern "C"
8659 {
8660 #endif
8661 /* We use char because int might match the return type of a gcc2
8662    builtin and then its argument prototype would still apply.  */
8663 char $ac_func ();
8664 /* The GNU C library defines this for functions which it implements
8665     to always fail with ENOSYS.  Some functions are actually named
8666     something starting with __ and the normal name is an alias.  */
8667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8668 choke me
8669 #else
8670 char (*f) () = $ac_func;
8671 #endif
8672 #ifdef __cplusplus
8673 }
8674 #endif
8675
8676 int
8677 main ()
8678 {
8679 return f != $ac_func;
8680   ;
8681   return 0;
8682 }
8683 _ACEOF
8684 rm -f conftest.$ac_objext conftest$ac_exeext
8685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8686   (eval $ac_link) 2>conftest.er1
8687   ac_status=$?
8688   grep -v '^ *+' conftest.er1 >conftest.err
8689   rm -f conftest.er1
8690   cat conftest.err >&5
8691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8692   (exit $ac_status); } &&
8693          { ac_try='test -z "$ac_c_werror_flag"
8694                          || test ! -s conftest.err'
8695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8696   (eval $ac_try) 2>&5
8697   ac_status=$?
8698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8699   (exit $ac_status); }; } &&
8700          { ac_try='test -s conftest$ac_exeext'
8701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8702   (eval $ac_try) 2>&5
8703   ac_status=$?
8704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8705   (exit $ac_status); }; }; then
8706   eval "$as_ac_var=yes"
8707 else
8708   echo "$as_me: failed program was:" >&5
8709 sed 's/^/| /' conftest.$ac_ext >&5
8710
8711 eval "$as_ac_var=no"
8712 fi
8713 rm -f conftest.err conftest.$ac_objext \
8714       conftest$ac_exeext conftest.$ac_ext
8715 fi
8716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8718 if test `eval echo '${'$as_ac_var'}'` = yes; then
8719   cat >>confdefs.h <<_ACEOF
8720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8721 _ACEOF
8722
8723 fi
8724 done
8725
8726     fi
8727   fi
8728
8729
8730
8731
8732
8733
8734   echo "$as_me:$LINENO: checking for isnan declaration" >&5
8735 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8736   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8737     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8738   echo $ECHO_N "(cached) $ECHO_C" >&6
8739 else
8740
8741
8742
8743       ac_ext=cc
8744 ac_cpp='$CXXCPP $CPPFLAGS'
8745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8748
8749       cat >conftest.$ac_ext <<_ACEOF
8750 /* confdefs.h.  */
8751 _ACEOF
8752 cat confdefs.h >>conftest.$ac_ext
8753 cat >>conftest.$ac_ext <<_ACEOF
8754 /* end confdefs.h.  */
8755 #include <math.h>
8756                       #ifdef HAVE_IEEEFP_H
8757                       #include <ieeefp.h>
8758                       #endif
8759
8760 int
8761 main ()
8762 {
8763  isnan(0);
8764   ;
8765   return 0;
8766 }
8767 _ACEOF
8768 rm -f conftest.$ac_objext
8769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8770   (eval $ac_compile) 2>conftest.er1
8771   ac_status=$?
8772   grep -v '^ *+' conftest.er1 >conftest.err
8773   rm -f conftest.er1
8774   cat conftest.err >&5
8775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8776   (exit $ac_status); } &&
8777          { ac_try='test -z "$ac_cxx_werror_flag"
8778                          || test ! -s conftest.err'
8779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8780   (eval $ac_try) 2>&5
8781   ac_status=$?
8782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8783   (exit $ac_status); }; } &&
8784          { ac_try='test -s conftest.$ac_objext'
8785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8786   (eval $ac_try) 2>&5
8787   ac_status=$?
8788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8789   (exit $ac_status); }; }; then
8790   glibcxx_cv_func_isnan_use=yes
8791 else
8792   echo "$as_me: failed program was:" >&5
8793 sed 's/^/| /' conftest.$ac_ext >&5
8794
8795 glibcxx_cv_func_isnan_use=no
8796 fi
8797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8798       ac_ext=c
8799 ac_cpp='$CPP $CPPFLAGS'
8800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8803
8804
8805 fi
8806
8807   fi
8808   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8809 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8810
8811   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8812
8813 for ac_func in isnan
8814 do
8815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8816 echo "$as_me:$LINENO: checking for $ac_func" >&5
8817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8818 if eval "test \"\${$as_ac_var+set}\" = set"; then
8819   echo $ECHO_N "(cached) $ECHO_C" >&6
8820 else
8821   if test x$gcc_no_link = xyes; then
8822   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8824    { (exit 1); exit 1; }; }
8825 fi
8826 cat >conftest.$ac_ext <<_ACEOF
8827 /* confdefs.h.  */
8828 _ACEOF
8829 cat confdefs.h >>conftest.$ac_ext
8830 cat >>conftest.$ac_ext <<_ACEOF
8831 /* end confdefs.h.  */
8832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8833    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8834 #define $ac_func innocuous_$ac_func
8835
8836 /* System header to define __stub macros and hopefully few prototypes,
8837     which can conflict with char $ac_func (); below.
8838     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8839     <limits.h> exists even on freestanding compilers.  */
8840
8841 #ifdef __STDC__
8842 # include <limits.h>
8843 #else
8844 # include <assert.h>
8845 #endif
8846
8847 #undef $ac_func
8848
8849 /* Override any gcc2 internal prototype to avoid an error.  */
8850 #ifdef __cplusplus
8851 extern "C"
8852 {
8853 #endif
8854 /* We use char because int might match the return type of a gcc2
8855    builtin and then its argument prototype would still apply.  */
8856 char $ac_func ();
8857 /* The GNU C library defines this for functions which it implements
8858     to always fail with ENOSYS.  Some functions are actually named
8859     something starting with __ and the normal name is an alias.  */
8860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8861 choke me
8862 #else
8863 char (*f) () = $ac_func;
8864 #endif
8865 #ifdef __cplusplus
8866 }
8867 #endif
8868
8869 int
8870 main ()
8871 {
8872 return f != $ac_func;
8873   ;
8874   return 0;
8875 }
8876 _ACEOF
8877 rm -f conftest.$ac_objext conftest$ac_exeext
8878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8879   (eval $ac_link) 2>conftest.er1
8880   ac_status=$?
8881   grep -v '^ *+' conftest.er1 >conftest.err
8882   rm -f conftest.er1
8883   cat conftest.err >&5
8884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8885   (exit $ac_status); } &&
8886          { ac_try='test -z "$ac_c_werror_flag"
8887                          || test ! -s conftest.err'
8888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8889   (eval $ac_try) 2>&5
8890   ac_status=$?
8891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8892   (exit $ac_status); }; } &&
8893          { ac_try='test -s conftest$ac_exeext'
8894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8895   (eval $ac_try) 2>&5
8896   ac_status=$?
8897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8898   (exit $ac_status); }; }; then
8899   eval "$as_ac_var=yes"
8900 else
8901   echo "$as_me: failed program was:" >&5
8902 sed 's/^/| /' conftest.$ac_ext >&5
8903
8904 eval "$as_ac_var=no"
8905 fi
8906 rm -f conftest.err conftest.$ac_objext \
8907       conftest$ac_exeext conftest.$ac_ext
8908 fi
8909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8911 if test `eval echo '${'$as_ac_var'}'` = yes; then
8912   cat >>confdefs.h <<_ACEOF
8913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8914 _ACEOF
8915
8916 fi
8917 done
8918
8919   else
8920
8921   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8922 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8923   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8924     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8925   echo $ECHO_N "(cached) $ECHO_C" >&6
8926 else
8927
8928
8929
8930       ac_ext=cc
8931 ac_cpp='$CXXCPP $CPPFLAGS'
8932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8935
8936       cat >conftest.$ac_ext <<_ACEOF
8937 /* confdefs.h.  */
8938 _ACEOF
8939 cat confdefs.h >>conftest.$ac_ext
8940 cat >>conftest.$ac_ext <<_ACEOF
8941 /* end confdefs.h.  */
8942 #include <math.h>
8943                       #ifdef HAVE_IEEEFP_H
8944                       #include <ieeefp.h>
8945                       #endif
8946
8947 int
8948 main ()
8949 {
8950  _isnan(0);
8951   ;
8952   return 0;
8953 }
8954 _ACEOF
8955 rm -f conftest.$ac_objext
8956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8957   (eval $ac_compile) 2>conftest.er1
8958   ac_status=$?
8959   grep -v '^ *+' conftest.er1 >conftest.err
8960   rm -f conftest.er1
8961   cat conftest.err >&5
8962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8963   (exit $ac_status); } &&
8964          { ac_try='test -z "$ac_cxx_werror_flag"
8965                          || test ! -s conftest.err'
8966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8967   (eval $ac_try) 2>&5
8968   ac_status=$?
8969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8970   (exit $ac_status); }; } &&
8971          { ac_try='test -s conftest.$ac_objext'
8972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8973   (eval $ac_try) 2>&5
8974   ac_status=$?
8975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8976   (exit $ac_status); }; }; then
8977   glibcxx_cv_func__isnan_use=yes
8978 else
8979   echo "$as_me: failed program was:" >&5
8980 sed 's/^/| /' conftest.$ac_ext >&5
8981
8982 glibcxx_cv_func__isnan_use=no
8983 fi
8984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8985       ac_ext=c
8986 ac_cpp='$CPP $CPPFLAGS'
8987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8990
8991
8992 fi
8993
8994   fi
8995   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
8996 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
8997
8998     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
8999
9000 for ac_func in _isnan
9001 do
9002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9003 echo "$as_me:$LINENO: checking for $ac_func" >&5
9004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9005 if eval "test \"\${$as_ac_var+set}\" = set"; then
9006   echo $ECHO_N "(cached) $ECHO_C" >&6
9007 else
9008   if test x$gcc_no_link = xyes; then
9009   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9011    { (exit 1); exit 1; }; }
9012 fi
9013 cat >conftest.$ac_ext <<_ACEOF
9014 /* confdefs.h.  */
9015 _ACEOF
9016 cat confdefs.h >>conftest.$ac_ext
9017 cat >>conftest.$ac_ext <<_ACEOF
9018 /* end confdefs.h.  */
9019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9020    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9021 #define $ac_func innocuous_$ac_func
9022
9023 /* System header to define __stub macros and hopefully few prototypes,
9024     which can conflict with char $ac_func (); below.
9025     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9026     <limits.h> exists even on freestanding compilers.  */
9027
9028 #ifdef __STDC__
9029 # include <limits.h>
9030 #else
9031 # include <assert.h>
9032 #endif
9033
9034 #undef $ac_func
9035
9036 /* Override any gcc2 internal prototype to avoid an error.  */
9037 #ifdef __cplusplus
9038 extern "C"
9039 {
9040 #endif
9041 /* We use char because int might match the return type of a gcc2
9042    builtin and then its argument prototype would still apply.  */
9043 char $ac_func ();
9044 /* The GNU C library defines this for functions which it implements
9045     to always fail with ENOSYS.  Some functions are actually named
9046     something starting with __ and the normal name is an alias.  */
9047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9048 choke me
9049 #else
9050 char (*f) () = $ac_func;
9051 #endif
9052 #ifdef __cplusplus
9053 }
9054 #endif
9055
9056 int
9057 main ()
9058 {
9059 return f != $ac_func;
9060   ;
9061   return 0;
9062 }
9063 _ACEOF
9064 rm -f conftest.$ac_objext conftest$ac_exeext
9065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9066   (eval $ac_link) 2>conftest.er1
9067   ac_status=$?
9068   grep -v '^ *+' conftest.er1 >conftest.err
9069   rm -f conftest.er1
9070   cat conftest.err >&5
9071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9072   (exit $ac_status); } &&
9073          { ac_try='test -z "$ac_c_werror_flag"
9074                          || test ! -s conftest.err'
9075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9076   (eval $ac_try) 2>&5
9077   ac_status=$?
9078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9079   (exit $ac_status); }; } &&
9080          { ac_try='test -s conftest$ac_exeext'
9081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9082   (eval $ac_try) 2>&5
9083   ac_status=$?
9084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9085   (exit $ac_status); }; }; then
9086   eval "$as_ac_var=yes"
9087 else
9088   echo "$as_me: failed program was:" >&5
9089 sed 's/^/| /' conftest.$ac_ext >&5
9090
9091 eval "$as_ac_var=no"
9092 fi
9093 rm -f conftest.err conftest.$ac_objext \
9094       conftest$ac_exeext conftest.$ac_ext
9095 fi
9096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9098 if test `eval echo '${'$as_ac_var'}'` = yes; then
9099   cat >>confdefs.h <<_ACEOF
9100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9101 _ACEOF
9102
9103 fi
9104 done
9105
9106     fi
9107   fi
9108
9109
9110
9111
9112
9113
9114   echo "$as_me:$LINENO: checking for finite declaration" >&5
9115 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9116   if test x${glibcxx_cv_func_finite_use+set} != xset; then
9117     if test "${glibcxx_cv_func_finite_use+set}" = set; then
9118   echo $ECHO_N "(cached) $ECHO_C" >&6
9119 else
9120
9121
9122
9123       ac_ext=cc
9124 ac_cpp='$CXXCPP $CPPFLAGS'
9125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9128
9129       cat >conftest.$ac_ext <<_ACEOF
9130 /* confdefs.h.  */
9131 _ACEOF
9132 cat confdefs.h >>conftest.$ac_ext
9133 cat >>conftest.$ac_ext <<_ACEOF
9134 /* end confdefs.h.  */
9135 #include <math.h>
9136                       #ifdef HAVE_IEEEFP_H
9137                       #include <ieeefp.h>
9138                       #endif
9139
9140 int
9141 main ()
9142 {
9143  finite(0);
9144   ;
9145   return 0;
9146 }
9147 _ACEOF
9148 rm -f conftest.$ac_objext
9149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9150   (eval $ac_compile) 2>conftest.er1
9151   ac_status=$?
9152   grep -v '^ *+' conftest.er1 >conftest.err
9153   rm -f conftest.er1
9154   cat conftest.err >&5
9155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9156   (exit $ac_status); } &&
9157          { ac_try='test -z "$ac_cxx_werror_flag"
9158                          || test ! -s conftest.err'
9159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9160   (eval $ac_try) 2>&5
9161   ac_status=$?
9162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9163   (exit $ac_status); }; } &&
9164          { ac_try='test -s conftest.$ac_objext'
9165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9166   (eval $ac_try) 2>&5
9167   ac_status=$?
9168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9169   (exit $ac_status); }; }; then
9170   glibcxx_cv_func_finite_use=yes
9171 else
9172   echo "$as_me: failed program was:" >&5
9173 sed 's/^/| /' conftest.$ac_ext >&5
9174
9175 glibcxx_cv_func_finite_use=no
9176 fi
9177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9178       ac_ext=c
9179 ac_cpp='$CPP $CPPFLAGS'
9180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9183
9184
9185 fi
9186
9187   fi
9188   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9189 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9190
9191   if test x$glibcxx_cv_func_finite_use = x"yes"; then
9192
9193 for ac_func in finite
9194 do
9195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9196 echo "$as_me:$LINENO: checking for $ac_func" >&5
9197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9198 if eval "test \"\${$as_ac_var+set}\" = set"; then
9199   echo $ECHO_N "(cached) $ECHO_C" >&6
9200 else
9201   if test x$gcc_no_link = xyes; then
9202   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9204    { (exit 1); exit 1; }; }
9205 fi
9206 cat >conftest.$ac_ext <<_ACEOF
9207 /* confdefs.h.  */
9208 _ACEOF
9209 cat confdefs.h >>conftest.$ac_ext
9210 cat >>conftest.$ac_ext <<_ACEOF
9211 /* end confdefs.h.  */
9212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9213    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9214 #define $ac_func innocuous_$ac_func
9215
9216 /* System header to define __stub macros and hopefully few prototypes,
9217     which can conflict with char $ac_func (); below.
9218     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9219     <limits.h> exists even on freestanding compilers.  */
9220
9221 #ifdef __STDC__
9222 # include <limits.h>
9223 #else
9224 # include <assert.h>
9225 #endif
9226
9227 #undef $ac_func
9228
9229 /* Override any gcc2 internal prototype to avoid an error.  */
9230 #ifdef __cplusplus
9231 extern "C"
9232 {
9233 #endif
9234 /* We use char because int might match the return type of a gcc2
9235    builtin and then its argument prototype would still apply.  */
9236 char $ac_func ();
9237 /* The GNU C library defines this for functions which it implements
9238     to always fail with ENOSYS.  Some functions are actually named
9239     something starting with __ and the normal name is an alias.  */
9240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9241 choke me
9242 #else
9243 char (*f) () = $ac_func;
9244 #endif
9245 #ifdef __cplusplus
9246 }
9247 #endif
9248
9249 int
9250 main ()
9251 {
9252 return f != $ac_func;
9253   ;
9254   return 0;
9255 }
9256 _ACEOF
9257 rm -f conftest.$ac_objext conftest$ac_exeext
9258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9259   (eval $ac_link) 2>conftest.er1
9260   ac_status=$?
9261   grep -v '^ *+' conftest.er1 >conftest.err
9262   rm -f conftest.er1
9263   cat conftest.err >&5
9264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9265   (exit $ac_status); } &&
9266          { ac_try='test -z "$ac_c_werror_flag"
9267                          || test ! -s conftest.err'
9268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9269   (eval $ac_try) 2>&5
9270   ac_status=$?
9271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9272   (exit $ac_status); }; } &&
9273          { ac_try='test -s conftest$ac_exeext'
9274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9275   (eval $ac_try) 2>&5
9276   ac_status=$?
9277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9278   (exit $ac_status); }; }; then
9279   eval "$as_ac_var=yes"
9280 else
9281   echo "$as_me: failed program was:" >&5
9282 sed 's/^/| /' conftest.$ac_ext >&5
9283
9284 eval "$as_ac_var=no"
9285 fi
9286 rm -f conftest.err conftest.$ac_objext \
9287       conftest$ac_exeext conftest.$ac_ext
9288 fi
9289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9291 if test `eval echo '${'$as_ac_var'}'` = yes; then
9292   cat >>confdefs.h <<_ACEOF
9293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9294 _ACEOF
9295
9296 fi
9297 done
9298
9299   else
9300
9301   echo "$as_me:$LINENO: checking for _finite declaration" >&5
9302 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9303   if test x${glibcxx_cv_func__finite_use+set} != xset; then
9304     if test "${glibcxx_cv_func__finite_use+set}" = set; then
9305   echo $ECHO_N "(cached) $ECHO_C" >&6
9306 else
9307
9308
9309
9310       ac_ext=cc
9311 ac_cpp='$CXXCPP $CPPFLAGS'
9312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9315
9316       cat >conftest.$ac_ext <<_ACEOF
9317 /* confdefs.h.  */
9318 _ACEOF
9319 cat confdefs.h >>conftest.$ac_ext
9320 cat >>conftest.$ac_ext <<_ACEOF
9321 /* end confdefs.h.  */
9322 #include <math.h>
9323                       #ifdef HAVE_IEEEFP_H
9324                       #include <ieeefp.h>
9325                       #endif
9326
9327 int
9328 main ()
9329 {
9330  _finite(0);
9331   ;
9332   return 0;
9333 }
9334 _ACEOF
9335 rm -f conftest.$ac_objext
9336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9337   (eval $ac_compile) 2>conftest.er1
9338   ac_status=$?
9339   grep -v '^ *+' conftest.er1 >conftest.err
9340   rm -f conftest.er1
9341   cat conftest.err >&5
9342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9343   (exit $ac_status); } &&
9344          { ac_try='test -z "$ac_cxx_werror_flag"
9345                          || test ! -s conftest.err'
9346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9347   (eval $ac_try) 2>&5
9348   ac_status=$?
9349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9350   (exit $ac_status); }; } &&
9351          { ac_try='test -s conftest.$ac_objext'
9352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9353   (eval $ac_try) 2>&5
9354   ac_status=$?
9355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9356   (exit $ac_status); }; }; then
9357   glibcxx_cv_func__finite_use=yes
9358 else
9359   echo "$as_me: failed program was:" >&5
9360 sed 's/^/| /' conftest.$ac_ext >&5
9361
9362 glibcxx_cv_func__finite_use=no
9363 fi
9364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9365       ac_ext=c
9366 ac_cpp='$CPP $CPPFLAGS'
9367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9370
9371
9372 fi
9373
9374   fi
9375   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9376 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9377
9378     if test x$glibcxx_cv_func__finite_use = x"yes"; then
9379
9380 for ac_func in _finite
9381 do
9382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9383 echo "$as_me:$LINENO: checking for $ac_func" >&5
9384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9385 if eval "test \"\${$as_ac_var+set}\" = set"; then
9386   echo $ECHO_N "(cached) $ECHO_C" >&6
9387 else
9388   if test x$gcc_no_link = xyes; then
9389   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9391    { (exit 1); exit 1; }; }
9392 fi
9393 cat >conftest.$ac_ext <<_ACEOF
9394 /* confdefs.h.  */
9395 _ACEOF
9396 cat confdefs.h >>conftest.$ac_ext
9397 cat >>conftest.$ac_ext <<_ACEOF
9398 /* end confdefs.h.  */
9399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9400    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9401 #define $ac_func innocuous_$ac_func
9402
9403 /* System header to define __stub macros and hopefully few prototypes,
9404     which can conflict with char $ac_func (); below.
9405     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9406     <limits.h> exists even on freestanding compilers.  */
9407
9408 #ifdef __STDC__
9409 # include <limits.h>
9410 #else
9411 # include <assert.h>
9412 #endif
9413
9414 #undef $ac_func
9415
9416 /* Override any gcc2 internal prototype to avoid an error.  */
9417 #ifdef __cplusplus
9418 extern "C"
9419 {
9420 #endif
9421 /* We use char because int might match the return type of a gcc2
9422    builtin and then its argument prototype would still apply.  */
9423 char $ac_func ();
9424 /* The GNU C library defines this for functions which it implements
9425     to always fail with ENOSYS.  Some functions are actually named
9426     something starting with __ and the normal name is an alias.  */
9427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9428 choke me
9429 #else
9430 char (*f) () = $ac_func;
9431 #endif
9432 #ifdef __cplusplus
9433 }
9434 #endif
9435
9436 int
9437 main ()
9438 {
9439 return f != $ac_func;
9440   ;
9441   return 0;
9442 }
9443 _ACEOF
9444 rm -f conftest.$ac_objext conftest$ac_exeext
9445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9446   (eval $ac_link) 2>conftest.er1
9447   ac_status=$?
9448   grep -v '^ *+' conftest.er1 >conftest.err
9449   rm -f conftest.er1
9450   cat conftest.err >&5
9451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9452   (exit $ac_status); } &&
9453          { ac_try='test -z "$ac_c_werror_flag"
9454                          || test ! -s conftest.err'
9455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9456   (eval $ac_try) 2>&5
9457   ac_status=$?
9458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9459   (exit $ac_status); }; } &&
9460          { ac_try='test -s conftest$ac_exeext'
9461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9462   (eval $ac_try) 2>&5
9463   ac_status=$?
9464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9465   (exit $ac_status); }; }; then
9466   eval "$as_ac_var=yes"
9467 else
9468   echo "$as_me: failed program was:" >&5
9469 sed 's/^/| /' conftest.$ac_ext >&5
9470
9471 eval "$as_ac_var=no"
9472 fi
9473 rm -f conftest.err conftest.$ac_objext \
9474       conftest$ac_exeext conftest.$ac_ext
9475 fi
9476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9478 if test `eval echo '${'$as_ac_var'}'` = yes; then
9479   cat >>confdefs.h <<_ACEOF
9480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9481 _ACEOF
9482
9483 fi
9484 done
9485
9486     fi
9487   fi
9488
9489
9490
9491
9492
9493
9494   echo "$as_me:$LINENO: checking for copysign declaration" >&5
9495 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9496   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9497     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9498   echo $ECHO_N "(cached) $ECHO_C" >&6
9499 else
9500
9501
9502
9503       ac_ext=cc
9504 ac_cpp='$CXXCPP $CPPFLAGS'
9505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9508
9509       cat >conftest.$ac_ext <<_ACEOF
9510 /* confdefs.h.  */
9511 _ACEOF
9512 cat confdefs.h >>conftest.$ac_ext
9513 cat >>conftest.$ac_ext <<_ACEOF
9514 /* end confdefs.h.  */
9515 #include <math.h>
9516 int
9517 main ()
9518 {
9519  copysign(0, 0);
9520   ;
9521   return 0;
9522 }
9523 _ACEOF
9524 rm -f conftest.$ac_objext
9525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9526   (eval $ac_compile) 2>conftest.er1
9527   ac_status=$?
9528   grep -v '^ *+' conftest.er1 >conftest.err
9529   rm -f conftest.er1
9530   cat conftest.err >&5
9531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9532   (exit $ac_status); } &&
9533          { ac_try='test -z "$ac_cxx_werror_flag"
9534                          || test ! -s conftest.err'
9535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9536   (eval $ac_try) 2>&5
9537   ac_status=$?
9538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9539   (exit $ac_status); }; } &&
9540          { ac_try='test -s conftest.$ac_objext'
9541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9542   (eval $ac_try) 2>&5
9543   ac_status=$?
9544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9545   (exit $ac_status); }; }; then
9546   glibcxx_cv_func_copysign_use=yes
9547 else
9548   echo "$as_me: failed program was:" >&5
9549 sed 's/^/| /' conftest.$ac_ext >&5
9550
9551 glibcxx_cv_func_copysign_use=no
9552 fi
9553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9554       ac_ext=c
9555 ac_cpp='$CPP $CPPFLAGS'
9556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9559
9560
9561 fi
9562
9563   fi
9564   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9565 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9566
9567   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9568
9569 for ac_func in copysign
9570 do
9571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9572 echo "$as_me:$LINENO: checking for $ac_func" >&5
9573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9574 if eval "test \"\${$as_ac_var+set}\" = set"; then
9575   echo $ECHO_N "(cached) $ECHO_C" >&6
9576 else
9577   if test x$gcc_no_link = xyes; then
9578   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9580    { (exit 1); exit 1; }; }
9581 fi
9582 cat >conftest.$ac_ext <<_ACEOF
9583 /* confdefs.h.  */
9584 _ACEOF
9585 cat confdefs.h >>conftest.$ac_ext
9586 cat >>conftest.$ac_ext <<_ACEOF
9587 /* end confdefs.h.  */
9588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9589    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9590 #define $ac_func innocuous_$ac_func
9591
9592 /* System header to define __stub macros and hopefully few prototypes,
9593     which can conflict with char $ac_func (); below.
9594     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9595     <limits.h> exists even on freestanding compilers.  */
9596
9597 #ifdef __STDC__
9598 # include <limits.h>
9599 #else
9600 # include <assert.h>
9601 #endif
9602
9603 #undef $ac_func
9604
9605 /* Override any gcc2 internal prototype to avoid an error.  */
9606 #ifdef __cplusplus
9607 extern "C"
9608 {
9609 #endif
9610 /* We use char because int might match the return type of a gcc2
9611    builtin and then its argument prototype would still apply.  */
9612 char $ac_func ();
9613 /* The GNU C library defines this for functions which it implements
9614     to always fail with ENOSYS.  Some functions are actually named
9615     something starting with __ and the normal name is an alias.  */
9616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9617 choke me
9618 #else
9619 char (*f) () = $ac_func;
9620 #endif
9621 #ifdef __cplusplus
9622 }
9623 #endif
9624
9625 int
9626 main ()
9627 {
9628 return f != $ac_func;
9629   ;
9630   return 0;
9631 }
9632 _ACEOF
9633 rm -f conftest.$ac_objext conftest$ac_exeext
9634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9635   (eval $ac_link) 2>conftest.er1
9636   ac_status=$?
9637   grep -v '^ *+' conftest.er1 >conftest.err
9638   rm -f conftest.er1
9639   cat conftest.err >&5
9640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9641   (exit $ac_status); } &&
9642          { ac_try='test -z "$ac_c_werror_flag"
9643                          || test ! -s conftest.err'
9644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9645   (eval $ac_try) 2>&5
9646   ac_status=$?
9647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9648   (exit $ac_status); }; } &&
9649          { ac_try='test -s conftest$ac_exeext'
9650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9651   (eval $ac_try) 2>&5
9652   ac_status=$?
9653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9654   (exit $ac_status); }; }; then
9655   eval "$as_ac_var=yes"
9656 else
9657   echo "$as_me: failed program was:" >&5
9658 sed 's/^/| /' conftest.$ac_ext >&5
9659
9660 eval "$as_ac_var=no"
9661 fi
9662 rm -f conftest.err conftest.$ac_objext \
9663       conftest$ac_exeext conftest.$ac_ext
9664 fi
9665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9667 if test `eval echo '${'$as_ac_var'}'` = yes; then
9668   cat >>confdefs.h <<_ACEOF
9669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9670 _ACEOF
9671
9672 fi
9673 done
9674
9675   else
9676
9677   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9678 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9679   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9680     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9681   echo $ECHO_N "(cached) $ECHO_C" >&6
9682 else
9683
9684
9685
9686       ac_ext=cc
9687 ac_cpp='$CXXCPP $CPPFLAGS'
9688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9691
9692       cat >conftest.$ac_ext <<_ACEOF
9693 /* confdefs.h.  */
9694 _ACEOF
9695 cat confdefs.h >>conftest.$ac_ext
9696 cat >>conftest.$ac_ext <<_ACEOF
9697 /* end confdefs.h.  */
9698 #include <math.h>
9699 int
9700 main ()
9701 {
9702  _copysign(0, 0);
9703   ;
9704   return 0;
9705 }
9706 _ACEOF
9707 rm -f conftest.$ac_objext
9708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9709   (eval $ac_compile) 2>conftest.er1
9710   ac_status=$?
9711   grep -v '^ *+' conftest.er1 >conftest.err
9712   rm -f conftest.er1
9713   cat conftest.err >&5
9714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9715   (exit $ac_status); } &&
9716          { ac_try='test -z "$ac_cxx_werror_flag"
9717                          || test ! -s conftest.err'
9718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9719   (eval $ac_try) 2>&5
9720   ac_status=$?
9721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9722   (exit $ac_status); }; } &&
9723          { ac_try='test -s conftest.$ac_objext'
9724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9725   (eval $ac_try) 2>&5
9726   ac_status=$?
9727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9728   (exit $ac_status); }; }; then
9729   glibcxx_cv_func__copysign_use=yes
9730 else
9731   echo "$as_me: failed program was:" >&5
9732 sed 's/^/| /' conftest.$ac_ext >&5
9733
9734 glibcxx_cv_func__copysign_use=no
9735 fi
9736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9737       ac_ext=c
9738 ac_cpp='$CPP $CPPFLAGS'
9739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9742
9743
9744 fi
9745
9746   fi
9747   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9748 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9749
9750     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9751
9752 for ac_func in _copysign
9753 do
9754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9755 echo "$as_me:$LINENO: checking for $ac_func" >&5
9756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9757 if eval "test \"\${$as_ac_var+set}\" = set"; then
9758   echo $ECHO_N "(cached) $ECHO_C" >&6
9759 else
9760   if test x$gcc_no_link = xyes; then
9761   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9763    { (exit 1); exit 1; }; }
9764 fi
9765 cat >conftest.$ac_ext <<_ACEOF
9766 /* confdefs.h.  */
9767 _ACEOF
9768 cat confdefs.h >>conftest.$ac_ext
9769 cat >>conftest.$ac_ext <<_ACEOF
9770 /* end confdefs.h.  */
9771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9772    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9773 #define $ac_func innocuous_$ac_func
9774
9775 /* System header to define __stub macros and hopefully few prototypes,
9776     which can conflict with char $ac_func (); below.
9777     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9778     <limits.h> exists even on freestanding compilers.  */
9779
9780 #ifdef __STDC__
9781 # include <limits.h>
9782 #else
9783 # include <assert.h>
9784 #endif
9785
9786 #undef $ac_func
9787
9788 /* Override any gcc2 internal prototype to avoid an error.  */
9789 #ifdef __cplusplus
9790 extern "C"
9791 {
9792 #endif
9793 /* We use char because int might match the return type of a gcc2
9794    builtin and then its argument prototype would still apply.  */
9795 char $ac_func ();
9796 /* The GNU C library defines this for functions which it implements
9797     to always fail with ENOSYS.  Some functions are actually named
9798     something starting with __ and the normal name is an alias.  */
9799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9800 choke me
9801 #else
9802 char (*f) () = $ac_func;
9803 #endif
9804 #ifdef __cplusplus
9805 }
9806 #endif
9807
9808 int
9809 main ()
9810 {
9811 return f != $ac_func;
9812   ;
9813   return 0;
9814 }
9815 _ACEOF
9816 rm -f conftest.$ac_objext conftest$ac_exeext
9817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9818   (eval $ac_link) 2>conftest.er1
9819   ac_status=$?
9820   grep -v '^ *+' conftest.er1 >conftest.err
9821   rm -f conftest.er1
9822   cat conftest.err >&5
9823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9824   (exit $ac_status); } &&
9825          { ac_try='test -z "$ac_c_werror_flag"
9826                          || test ! -s conftest.err'
9827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9828   (eval $ac_try) 2>&5
9829   ac_status=$?
9830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9831   (exit $ac_status); }; } &&
9832          { ac_try='test -s conftest$ac_exeext'
9833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9834   (eval $ac_try) 2>&5
9835   ac_status=$?
9836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9837   (exit $ac_status); }; }; then
9838   eval "$as_ac_var=yes"
9839 else
9840   echo "$as_me: failed program was:" >&5
9841 sed 's/^/| /' conftest.$ac_ext >&5
9842
9843 eval "$as_ac_var=no"
9844 fi
9845 rm -f conftest.err conftest.$ac_objext \
9846       conftest$ac_exeext conftest.$ac_ext
9847 fi
9848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9850 if test `eval echo '${'$as_ac_var'}'` = yes; then
9851   cat >>confdefs.h <<_ACEOF
9852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9853 _ACEOF
9854
9855 fi
9856 done
9857
9858     fi
9859   fi
9860
9861
9862
9863
9864
9865
9866   echo "$as_me:$LINENO: checking for sincos declaration" >&5
9867 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9868   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9869     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9870   echo $ECHO_N "(cached) $ECHO_C" >&6
9871 else
9872
9873
9874
9875       ac_ext=cc
9876 ac_cpp='$CXXCPP $CPPFLAGS'
9877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9880
9881       cat >conftest.$ac_ext <<_ACEOF
9882 /* confdefs.h.  */
9883 _ACEOF
9884 cat confdefs.h >>conftest.$ac_ext
9885 cat >>conftest.$ac_ext <<_ACEOF
9886 /* end confdefs.h.  */
9887 #include <math.h>
9888 int
9889 main ()
9890 {
9891  sincos(0, 0, 0);
9892   ;
9893   return 0;
9894 }
9895 _ACEOF
9896 rm -f conftest.$ac_objext
9897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9898   (eval $ac_compile) 2>conftest.er1
9899   ac_status=$?
9900   grep -v '^ *+' conftest.er1 >conftest.err
9901   rm -f conftest.er1
9902   cat conftest.err >&5
9903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9904   (exit $ac_status); } &&
9905          { ac_try='test -z "$ac_cxx_werror_flag"
9906                          || test ! -s conftest.err'
9907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9908   (eval $ac_try) 2>&5
9909   ac_status=$?
9910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9911   (exit $ac_status); }; } &&
9912          { ac_try='test -s conftest.$ac_objext'
9913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9914   (eval $ac_try) 2>&5
9915   ac_status=$?
9916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9917   (exit $ac_status); }; }; then
9918   glibcxx_cv_func_sincos_use=yes
9919 else
9920   echo "$as_me: failed program was:" >&5
9921 sed 's/^/| /' conftest.$ac_ext >&5
9922
9923 glibcxx_cv_func_sincos_use=no
9924 fi
9925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9926       ac_ext=c
9927 ac_cpp='$CPP $CPPFLAGS'
9928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9931
9932
9933 fi
9934
9935   fi
9936   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9937 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9938
9939   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9940
9941 for ac_func in sincos
9942 do
9943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9944 echo "$as_me:$LINENO: checking for $ac_func" >&5
9945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9946 if eval "test \"\${$as_ac_var+set}\" = set"; then
9947   echo $ECHO_N "(cached) $ECHO_C" >&6
9948 else
9949   if test x$gcc_no_link = xyes; then
9950   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9952    { (exit 1); exit 1; }; }
9953 fi
9954 cat >conftest.$ac_ext <<_ACEOF
9955 /* confdefs.h.  */
9956 _ACEOF
9957 cat confdefs.h >>conftest.$ac_ext
9958 cat >>conftest.$ac_ext <<_ACEOF
9959 /* end confdefs.h.  */
9960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9961    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9962 #define $ac_func innocuous_$ac_func
9963
9964 /* System header to define __stub macros and hopefully few prototypes,
9965     which can conflict with char $ac_func (); below.
9966     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9967     <limits.h> exists even on freestanding compilers.  */
9968
9969 #ifdef __STDC__
9970 # include <limits.h>
9971 #else
9972 # include <assert.h>
9973 #endif
9974
9975 #undef $ac_func
9976
9977 /* Override any gcc2 internal prototype to avoid an error.  */
9978 #ifdef __cplusplus
9979 extern "C"
9980 {
9981 #endif
9982 /* We use char because int might match the return type of a gcc2
9983    builtin and then its argument prototype would still apply.  */
9984 char $ac_func ();
9985 /* The GNU C library defines this for functions which it implements
9986     to always fail with ENOSYS.  Some functions are actually named
9987     something starting with __ and the normal name is an alias.  */
9988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9989 choke me
9990 #else
9991 char (*f) () = $ac_func;
9992 #endif
9993 #ifdef __cplusplus
9994 }
9995 #endif
9996
9997 int
9998 main ()
9999 {
10000 return f != $ac_func;
10001   ;
10002   return 0;
10003 }
10004 _ACEOF
10005 rm -f conftest.$ac_objext conftest$ac_exeext
10006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10007   (eval $ac_link) 2>conftest.er1
10008   ac_status=$?
10009   grep -v '^ *+' conftest.er1 >conftest.err
10010   rm -f conftest.er1
10011   cat conftest.err >&5
10012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10013   (exit $ac_status); } &&
10014          { ac_try='test -z "$ac_c_werror_flag"
10015                          || test ! -s conftest.err'
10016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10017   (eval $ac_try) 2>&5
10018   ac_status=$?
10019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10020   (exit $ac_status); }; } &&
10021          { ac_try='test -s conftest$ac_exeext'
10022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10023   (eval $ac_try) 2>&5
10024   ac_status=$?
10025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10026   (exit $ac_status); }; }; then
10027   eval "$as_ac_var=yes"
10028 else
10029   echo "$as_me: failed program was:" >&5
10030 sed 's/^/| /' conftest.$ac_ext >&5
10031
10032 eval "$as_ac_var=no"
10033 fi
10034 rm -f conftest.err conftest.$ac_objext \
10035       conftest$ac_exeext conftest.$ac_ext
10036 fi
10037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10039 if test `eval echo '${'$as_ac_var'}'` = yes; then
10040   cat >>confdefs.h <<_ACEOF
10041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10042 _ACEOF
10043
10044 fi
10045 done
10046
10047   else
10048
10049   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10050 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10051   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10052     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10053   echo $ECHO_N "(cached) $ECHO_C" >&6
10054 else
10055
10056
10057
10058       ac_ext=cc
10059 ac_cpp='$CXXCPP $CPPFLAGS'
10060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10063
10064       cat >conftest.$ac_ext <<_ACEOF
10065 /* confdefs.h.  */
10066 _ACEOF
10067 cat confdefs.h >>conftest.$ac_ext
10068 cat >>conftest.$ac_ext <<_ACEOF
10069 /* end confdefs.h.  */
10070 #include <math.h>
10071 int
10072 main ()
10073 {
10074  _sincos(0, 0, 0);
10075   ;
10076   return 0;
10077 }
10078 _ACEOF
10079 rm -f conftest.$ac_objext
10080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10081   (eval $ac_compile) 2>conftest.er1
10082   ac_status=$?
10083   grep -v '^ *+' conftest.er1 >conftest.err
10084   rm -f conftest.er1
10085   cat conftest.err >&5
10086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10087   (exit $ac_status); } &&
10088          { ac_try='test -z "$ac_cxx_werror_flag"
10089                          || test ! -s conftest.err'
10090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10091   (eval $ac_try) 2>&5
10092   ac_status=$?
10093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10094   (exit $ac_status); }; } &&
10095          { ac_try='test -s conftest.$ac_objext'
10096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10097   (eval $ac_try) 2>&5
10098   ac_status=$?
10099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10100   (exit $ac_status); }; }; then
10101   glibcxx_cv_func__sincos_use=yes
10102 else
10103   echo "$as_me: failed program was:" >&5
10104 sed 's/^/| /' conftest.$ac_ext >&5
10105
10106 glibcxx_cv_func__sincos_use=no
10107 fi
10108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10109       ac_ext=c
10110 ac_cpp='$CPP $CPPFLAGS'
10111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10114
10115
10116 fi
10117
10118   fi
10119   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10120 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10121
10122     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10123
10124 for ac_func in _sincos
10125 do
10126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10127 echo "$as_me:$LINENO: checking for $ac_func" >&5
10128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10129 if eval "test \"\${$as_ac_var+set}\" = set"; then
10130   echo $ECHO_N "(cached) $ECHO_C" >&6
10131 else
10132   if test x$gcc_no_link = xyes; then
10133   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10135    { (exit 1); exit 1; }; }
10136 fi
10137 cat >conftest.$ac_ext <<_ACEOF
10138 /* confdefs.h.  */
10139 _ACEOF
10140 cat confdefs.h >>conftest.$ac_ext
10141 cat >>conftest.$ac_ext <<_ACEOF
10142 /* end confdefs.h.  */
10143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10144    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10145 #define $ac_func innocuous_$ac_func
10146
10147 /* System header to define __stub macros and hopefully few prototypes,
10148     which can conflict with char $ac_func (); below.
10149     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10150     <limits.h> exists even on freestanding compilers.  */
10151
10152 #ifdef __STDC__
10153 # include <limits.h>
10154 #else
10155 # include <assert.h>
10156 #endif
10157
10158 #undef $ac_func
10159
10160 /* Override any gcc2 internal prototype to avoid an error.  */
10161 #ifdef __cplusplus
10162 extern "C"
10163 {
10164 #endif
10165 /* We use char because int might match the return type of a gcc2
10166    builtin and then its argument prototype would still apply.  */
10167 char $ac_func ();
10168 /* The GNU C library defines this for functions which it implements
10169     to always fail with ENOSYS.  Some functions are actually named
10170     something starting with __ and the normal name is an alias.  */
10171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10172 choke me
10173 #else
10174 char (*f) () = $ac_func;
10175 #endif
10176 #ifdef __cplusplus
10177 }
10178 #endif
10179
10180 int
10181 main ()
10182 {
10183 return f != $ac_func;
10184   ;
10185   return 0;
10186 }
10187 _ACEOF
10188 rm -f conftest.$ac_objext conftest$ac_exeext
10189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10190   (eval $ac_link) 2>conftest.er1
10191   ac_status=$?
10192   grep -v '^ *+' conftest.er1 >conftest.err
10193   rm -f conftest.er1
10194   cat conftest.err >&5
10195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10196   (exit $ac_status); } &&
10197          { ac_try='test -z "$ac_c_werror_flag"
10198                          || test ! -s conftest.err'
10199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10200   (eval $ac_try) 2>&5
10201   ac_status=$?
10202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10203   (exit $ac_status); }; } &&
10204          { ac_try='test -s conftest$ac_exeext'
10205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10206   (eval $ac_try) 2>&5
10207   ac_status=$?
10208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10209   (exit $ac_status); }; }; then
10210   eval "$as_ac_var=yes"
10211 else
10212   echo "$as_me: failed program was:" >&5
10213 sed 's/^/| /' conftest.$ac_ext >&5
10214
10215 eval "$as_ac_var=no"
10216 fi
10217 rm -f conftest.err conftest.$ac_objext \
10218       conftest$ac_exeext conftest.$ac_ext
10219 fi
10220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10222 if test `eval echo '${'$as_ac_var'}'` = yes; then
10223   cat >>confdefs.h <<_ACEOF
10224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10225 _ACEOF
10226
10227 fi
10228 done
10229
10230     fi
10231   fi
10232
10233
10234
10235
10236
10237
10238   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10239 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10240   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10241     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10242   echo $ECHO_N "(cached) $ECHO_C" >&6
10243 else
10244
10245
10246
10247       ac_ext=cc
10248 ac_cpp='$CXXCPP $CPPFLAGS'
10249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10252
10253       cat >conftest.$ac_ext <<_ACEOF
10254 /* confdefs.h.  */
10255 _ACEOF
10256 cat confdefs.h >>conftest.$ac_ext
10257 cat >>conftest.$ac_ext <<_ACEOF
10258 /* end confdefs.h.  */
10259 #include <math.h>
10260                       #ifdef HAVE_IEEEFP_H
10261                       #include <ieeefp.h>
10262                       #endif
10263
10264 int
10265 main ()
10266 {
10267  fpclass(0);
10268   ;
10269   return 0;
10270 }
10271 _ACEOF
10272 rm -f conftest.$ac_objext
10273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10274   (eval $ac_compile) 2>conftest.er1
10275   ac_status=$?
10276   grep -v '^ *+' conftest.er1 >conftest.err
10277   rm -f conftest.er1
10278   cat conftest.err >&5
10279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10280   (exit $ac_status); } &&
10281          { ac_try='test -z "$ac_cxx_werror_flag"
10282                          || test ! -s conftest.err'
10283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10284   (eval $ac_try) 2>&5
10285   ac_status=$?
10286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10287   (exit $ac_status); }; } &&
10288          { ac_try='test -s conftest.$ac_objext'
10289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10290   (eval $ac_try) 2>&5
10291   ac_status=$?
10292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10293   (exit $ac_status); }; }; then
10294   glibcxx_cv_func_fpclass_use=yes
10295 else
10296   echo "$as_me: failed program was:" >&5
10297 sed 's/^/| /' conftest.$ac_ext >&5
10298
10299 glibcxx_cv_func_fpclass_use=no
10300 fi
10301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10302       ac_ext=c
10303 ac_cpp='$CPP $CPPFLAGS'
10304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10307
10308
10309 fi
10310
10311   fi
10312   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10313 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10314
10315   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10316
10317 for ac_func in fpclass
10318 do
10319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10320 echo "$as_me:$LINENO: checking for $ac_func" >&5
10321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10322 if eval "test \"\${$as_ac_var+set}\" = set"; then
10323   echo $ECHO_N "(cached) $ECHO_C" >&6
10324 else
10325   if test x$gcc_no_link = xyes; then
10326   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10328    { (exit 1); exit 1; }; }
10329 fi
10330 cat >conftest.$ac_ext <<_ACEOF
10331 /* confdefs.h.  */
10332 _ACEOF
10333 cat confdefs.h >>conftest.$ac_ext
10334 cat >>conftest.$ac_ext <<_ACEOF
10335 /* end confdefs.h.  */
10336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10337    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10338 #define $ac_func innocuous_$ac_func
10339
10340 /* System header to define __stub macros and hopefully few prototypes,
10341     which can conflict with char $ac_func (); below.
10342     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10343     <limits.h> exists even on freestanding compilers.  */
10344
10345 #ifdef __STDC__
10346 # include <limits.h>
10347 #else
10348 # include <assert.h>
10349 #endif
10350
10351 #undef $ac_func
10352
10353 /* Override any gcc2 internal prototype to avoid an error.  */
10354 #ifdef __cplusplus
10355 extern "C"
10356 {
10357 #endif
10358 /* We use char because int might match the return type of a gcc2
10359    builtin and then its argument prototype would still apply.  */
10360 char $ac_func ();
10361 /* The GNU C library defines this for functions which it implements
10362     to always fail with ENOSYS.  Some functions are actually named
10363     something starting with __ and the normal name is an alias.  */
10364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10365 choke me
10366 #else
10367 char (*f) () = $ac_func;
10368 #endif
10369 #ifdef __cplusplus
10370 }
10371 #endif
10372
10373 int
10374 main ()
10375 {
10376 return f != $ac_func;
10377   ;
10378   return 0;
10379 }
10380 _ACEOF
10381 rm -f conftest.$ac_objext conftest$ac_exeext
10382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10383   (eval $ac_link) 2>conftest.er1
10384   ac_status=$?
10385   grep -v '^ *+' conftest.er1 >conftest.err
10386   rm -f conftest.er1
10387   cat conftest.err >&5
10388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10389   (exit $ac_status); } &&
10390          { ac_try='test -z "$ac_c_werror_flag"
10391                          || test ! -s conftest.err'
10392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10393   (eval $ac_try) 2>&5
10394   ac_status=$?
10395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10396   (exit $ac_status); }; } &&
10397          { ac_try='test -s conftest$ac_exeext'
10398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10399   (eval $ac_try) 2>&5
10400   ac_status=$?
10401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10402   (exit $ac_status); }; }; then
10403   eval "$as_ac_var=yes"
10404 else
10405   echo "$as_me: failed program was:" >&5
10406 sed 's/^/| /' conftest.$ac_ext >&5
10407
10408 eval "$as_ac_var=no"
10409 fi
10410 rm -f conftest.err conftest.$ac_objext \
10411       conftest$ac_exeext conftest.$ac_ext
10412 fi
10413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10415 if test `eval echo '${'$as_ac_var'}'` = yes; then
10416   cat >>confdefs.h <<_ACEOF
10417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10418 _ACEOF
10419
10420 fi
10421 done
10422
10423   else
10424
10425   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10426 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10427   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10428     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10429   echo $ECHO_N "(cached) $ECHO_C" >&6
10430 else
10431
10432
10433
10434       ac_ext=cc
10435 ac_cpp='$CXXCPP $CPPFLAGS'
10436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10439
10440       cat >conftest.$ac_ext <<_ACEOF
10441 /* confdefs.h.  */
10442 _ACEOF
10443 cat confdefs.h >>conftest.$ac_ext
10444 cat >>conftest.$ac_ext <<_ACEOF
10445 /* end confdefs.h.  */
10446 #include <math.h>
10447                       #ifdef HAVE_IEEEFP_H
10448                       #include <ieeefp.h>
10449                       #endif
10450
10451 int
10452 main ()
10453 {
10454  _fpclass(0);
10455   ;
10456   return 0;
10457 }
10458 _ACEOF
10459 rm -f conftest.$ac_objext
10460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10461   (eval $ac_compile) 2>conftest.er1
10462   ac_status=$?
10463   grep -v '^ *+' conftest.er1 >conftest.err
10464   rm -f conftest.er1
10465   cat conftest.err >&5
10466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10467   (exit $ac_status); } &&
10468          { ac_try='test -z "$ac_cxx_werror_flag"
10469                          || test ! -s conftest.err'
10470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10471   (eval $ac_try) 2>&5
10472   ac_status=$?
10473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10474   (exit $ac_status); }; } &&
10475          { ac_try='test -s conftest.$ac_objext'
10476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10477   (eval $ac_try) 2>&5
10478   ac_status=$?
10479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10480   (exit $ac_status); }; }; then
10481   glibcxx_cv_func__fpclass_use=yes
10482 else
10483   echo "$as_me: failed program was:" >&5
10484 sed 's/^/| /' conftest.$ac_ext >&5
10485
10486 glibcxx_cv_func__fpclass_use=no
10487 fi
10488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10489       ac_ext=c
10490 ac_cpp='$CPP $CPPFLAGS'
10491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10494
10495
10496 fi
10497
10498   fi
10499   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10500 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10501
10502     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10503
10504 for ac_func in _fpclass
10505 do
10506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10507 echo "$as_me:$LINENO: checking for $ac_func" >&5
10508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10509 if eval "test \"\${$as_ac_var+set}\" = set"; then
10510   echo $ECHO_N "(cached) $ECHO_C" >&6
10511 else
10512   if test x$gcc_no_link = xyes; then
10513   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10515    { (exit 1); exit 1; }; }
10516 fi
10517 cat >conftest.$ac_ext <<_ACEOF
10518 /* confdefs.h.  */
10519 _ACEOF
10520 cat confdefs.h >>conftest.$ac_ext
10521 cat >>conftest.$ac_ext <<_ACEOF
10522 /* end confdefs.h.  */
10523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10524    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10525 #define $ac_func innocuous_$ac_func
10526
10527 /* System header to define __stub macros and hopefully few prototypes,
10528     which can conflict with char $ac_func (); below.
10529     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10530     <limits.h> exists even on freestanding compilers.  */
10531
10532 #ifdef __STDC__
10533 # include <limits.h>
10534 #else
10535 # include <assert.h>
10536 #endif
10537
10538 #undef $ac_func
10539
10540 /* Override any gcc2 internal prototype to avoid an error.  */
10541 #ifdef __cplusplus
10542 extern "C"
10543 {
10544 #endif
10545 /* We use char because int might match the return type of a gcc2
10546    builtin and then its argument prototype would still apply.  */
10547 char $ac_func ();
10548 /* The GNU C library defines this for functions which it implements
10549     to always fail with ENOSYS.  Some functions are actually named
10550     something starting with __ and the normal name is an alias.  */
10551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10552 choke me
10553 #else
10554 char (*f) () = $ac_func;
10555 #endif
10556 #ifdef __cplusplus
10557 }
10558 #endif
10559
10560 int
10561 main ()
10562 {
10563 return f != $ac_func;
10564   ;
10565   return 0;
10566 }
10567 _ACEOF
10568 rm -f conftest.$ac_objext conftest$ac_exeext
10569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10570   (eval $ac_link) 2>conftest.er1
10571   ac_status=$?
10572   grep -v '^ *+' conftest.er1 >conftest.err
10573   rm -f conftest.er1
10574   cat conftest.err >&5
10575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10576   (exit $ac_status); } &&
10577          { ac_try='test -z "$ac_c_werror_flag"
10578                          || test ! -s conftest.err'
10579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10580   (eval $ac_try) 2>&5
10581   ac_status=$?
10582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10583   (exit $ac_status); }; } &&
10584          { ac_try='test -s conftest$ac_exeext'
10585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10586   (eval $ac_try) 2>&5
10587   ac_status=$?
10588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10589   (exit $ac_status); }; }; then
10590   eval "$as_ac_var=yes"
10591 else
10592   echo "$as_me: failed program was:" >&5
10593 sed 's/^/| /' conftest.$ac_ext >&5
10594
10595 eval "$as_ac_var=no"
10596 fi
10597 rm -f conftest.err conftest.$ac_objext \
10598       conftest$ac_exeext conftest.$ac_ext
10599 fi
10600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10602 if test `eval echo '${'$as_ac_var'}'` = yes; then
10603   cat >>confdefs.h <<_ACEOF
10604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10605 _ACEOF
10606
10607 fi
10608 done
10609
10610     fi
10611   fi
10612
10613
10614
10615
10616
10617
10618   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10619 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10620   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10621     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10622   echo $ECHO_N "(cached) $ECHO_C" >&6
10623 else
10624
10625
10626
10627       ac_ext=cc
10628 ac_cpp='$CXXCPP $CPPFLAGS'
10629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10632
10633       cat >conftest.$ac_ext <<_ACEOF
10634 /* confdefs.h.  */
10635 _ACEOF
10636 cat confdefs.h >>conftest.$ac_ext
10637 cat >>conftest.$ac_ext <<_ACEOF
10638 /* end confdefs.h.  */
10639 #include <math.h>
10640                       #ifdef HAVE_IEEEFP_H
10641                       #include <ieeefp.h>
10642                       #endif
10643
10644 int
10645 main ()
10646 {
10647  qfpclass(0);
10648   ;
10649   return 0;
10650 }
10651 _ACEOF
10652 rm -f conftest.$ac_objext
10653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10654   (eval $ac_compile) 2>conftest.er1
10655   ac_status=$?
10656   grep -v '^ *+' conftest.er1 >conftest.err
10657   rm -f conftest.er1
10658   cat conftest.err >&5
10659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10660   (exit $ac_status); } &&
10661          { ac_try='test -z "$ac_cxx_werror_flag"
10662                          || test ! -s conftest.err'
10663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10664   (eval $ac_try) 2>&5
10665   ac_status=$?
10666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10667   (exit $ac_status); }; } &&
10668          { ac_try='test -s conftest.$ac_objext'
10669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10670   (eval $ac_try) 2>&5
10671   ac_status=$?
10672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10673   (exit $ac_status); }; }; then
10674   glibcxx_cv_func_qfpclass_use=yes
10675 else
10676   echo "$as_me: failed program was:" >&5
10677 sed 's/^/| /' conftest.$ac_ext >&5
10678
10679 glibcxx_cv_func_qfpclass_use=no
10680 fi
10681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10682       ac_ext=c
10683 ac_cpp='$CPP $CPPFLAGS'
10684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10687
10688
10689 fi
10690
10691   fi
10692   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10693 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10694
10695   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10696
10697 for ac_func in qfpclass
10698 do
10699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10700 echo "$as_me:$LINENO: checking for $ac_func" >&5
10701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10702 if eval "test \"\${$as_ac_var+set}\" = set"; then
10703   echo $ECHO_N "(cached) $ECHO_C" >&6
10704 else
10705   if test x$gcc_no_link = xyes; then
10706   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10708    { (exit 1); exit 1; }; }
10709 fi
10710 cat >conftest.$ac_ext <<_ACEOF
10711 /* confdefs.h.  */
10712 _ACEOF
10713 cat confdefs.h >>conftest.$ac_ext
10714 cat >>conftest.$ac_ext <<_ACEOF
10715 /* end confdefs.h.  */
10716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10717    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10718 #define $ac_func innocuous_$ac_func
10719
10720 /* System header to define __stub macros and hopefully few prototypes,
10721     which can conflict with char $ac_func (); below.
10722     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10723     <limits.h> exists even on freestanding compilers.  */
10724
10725 #ifdef __STDC__
10726 # include <limits.h>
10727 #else
10728 # include <assert.h>
10729 #endif
10730
10731 #undef $ac_func
10732
10733 /* Override any gcc2 internal prototype to avoid an error.  */
10734 #ifdef __cplusplus
10735 extern "C"
10736 {
10737 #endif
10738 /* We use char because int might match the return type of a gcc2
10739    builtin and then its argument prototype would still apply.  */
10740 char $ac_func ();
10741 /* The GNU C library defines this for functions which it implements
10742     to always fail with ENOSYS.  Some functions are actually named
10743     something starting with __ and the normal name is an alias.  */
10744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10745 choke me
10746 #else
10747 char (*f) () = $ac_func;
10748 #endif
10749 #ifdef __cplusplus
10750 }
10751 #endif
10752
10753 int
10754 main ()
10755 {
10756 return f != $ac_func;
10757   ;
10758   return 0;
10759 }
10760 _ACEOF
10761 rm -f conftest.$ac_objext conftest$ac_exeext
10762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10763   (eval $ac_link) 2>conftest.er1
10764   ac_status=$?
10765   grep -v '^ *+' conftest.er1 >conftest.err
10766   rm -f conftest.er1
10767   cat conftest.err >&5
10768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10769   (exit $ac_status); } &&
10770          { ac_try='test -z "$ac_c_werror_flag"
10771                          || test ! -s conftest.err'
10772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10773   (eval $ac_try) 2>&5
10774   ac_status=$?
10775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10776   (exit $ac_status); }; } &&
10777          { ac_try='test -s conftest$ac_exeext'
10778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10779   (eval $ac_try) 2>&5
10780   ac_status=$?
10781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10782   (exit $ac_status); }; }; then
10783   eval "$as_ac_var=yes"
10784 else
10785   echo "$as_me: failed program was:" >&5
10786 sed 's/^/| /' conftest.$ac_ext >&5
10787
10788 eval "$as_ac_var=no"
10789 fi
10790 rm -f conftest.err conftest.$ac_objext \
10791       conftest$ac_exeext conftest.$ac_ext
10792 fi
10793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10795 if test `eval echo '${'$as_ac_var'}'` = yes; then
10796   cat >>confdefs.h <<_ACEOF
10797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10798 _ACEOF
10799
10800 fi
10801 done
10802
10803   else
10804
10805   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10806 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10807   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10808     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10809   echo $ECHO_N "(cached) $ECHO_C" >&6
10810 else
10811
10812
10813
10814       ac_ext=cc
10815 ac_cpp='$CXXCPP $CPPFLAGS'
10816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10819
10820       cat >conftest.$ac_ext <<_ACEOF
10821 /* confdefs.h.  */
10822 _ACEOF
10823 cat confdefs.h >>conftest.$ac_ext
10824 cat >>conftest.$ac_ext <<_ACEOF
10825 /* end confdefs.h.  */
10826 #include <math.h>
10827                       #ifdef HAVE_IEEEFP_H
10828                       #include <ieeefp.h>
10829                       #endif
10830
10831 int
10832 main ()
10833 {
10834  _qfpclass(0);
10835   ;
10836   return 0;
10837 }
10838 _ACEOF
10839 rm -f conftest.$ac_objext
10840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10841   (eval $ac_compile) 2>conftest.er1
10842   ac_status=$?
10843   grep -v '^ *+' conftest.er1 >conftest.err
10844   rm -f conftest.er1
10845   cat conftest.err >&5
10846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10847   (exit $ac_status); } &&
10848          { ac_try='test -z "$ac_cxx_werror_flag"
10849                          || test ! -s conftest.err'
10850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10851   (eval $ac_try) 2>&5
10852   ac_status=$?
10853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10854   (exit $ac_status); }; } &&
10855          { ac_try='test -s conftest.$ac_objext'
10856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10857   (eval $ac_try) 2>&5
10858   ac_status=$?
10859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860   (exit $ac_status); }; }; then
10861   glibcxx_cv_func__qfpclass_use=yes
10862 else
10863   echo "$as_me: failed program was:" >&5
10864 sed 's/^/| /' conftest.$ac_ext >&5
10865
10866 glibcxx_cv_func__qfpclass_use=no
10867 fi
10868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10869       ac_ext=c
10870 ac_cpp='$CPP $CPPFLAGS'
10871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10874
10875
10876 fi
10877
10878   fi
10879   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10880 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10881
10882     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10883
10884 for ac_func in _qfpclass
10885 do
10886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10887 echo "$as_me:$LINENO: checking for $ac_func" >&5
10888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10889 if eval "test \"\${$as_ac_var+set}\" = set"; then
10890   echo $ECHO_N "(cached) $ECHO_C" >&6
10891 else
10892   if test x$gcc_no_link = xyes; then
10893   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10895    { (exit 1); exit 1; }; }
10896 fi
10897 cat >conftest.$ac_ext <<_ACEOF
10898 /* confdefs.h.  */
10899 _ACEOF
10900 cat confdefs.h >>conftest.$ac_ext
10901 cat >>conftest.$ac_ext <<_ACEOF
10902 /* end confdefs.h.  */
10903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10904    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10905 #define $ac_func innocuous_$ac_func
10906
10907 /* System header to define __stub macros and hopefully few prototypes,
10908     which can conflict with char $ac_func (); below.
10909     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10910     <limits.h> exists even on freestanding compilers.  */
10911
10912 #ifdef __STDC__
10913 # include <limits.h>
10914 #else
10915 # include <assert.h>
10916 #endif
10917
10918 #undef $ac_func
10919
10920 /* Override any gcc2 internal prototype to avoid an error.  */
10921 #ifdef __cplusplus
10922 extern "C"
10923 {
10924 #endif
10925 /* We use char because int might match the return type of a gcc2
10926    builtin and then its argument prototype would still apply.  */
10927 char $ac_func ();
10928 /* The GNU C library defines this for functions which it implements
10929     to always fail with ENOSYS.  Some functions are actually named
10930     something starting with __ and the normal name is an alias.  */
10931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10932 choke me
10933 #else
10934 char (*f) () = $ac_func;
10935 #endif
10936 #ifdef __cplusplus
10937 }
10938 #endif
10939
10940 int
10941 main ()
10942 {
10943 return f != $ac_func;
10944   ;
10945   return 0;
10946 }
10947 _ACEOF
10948 rm -f conftest.$ac_objext conftest$ac_exeext
10949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10950   (eval $ac_link) 2>conftest.er1
10951   ac_status=$?
10952   grep -v '^ *+' conftest.er1 >conftest.err
10953   rm -f conftest.er1
10954   cat conftest.err >&5
10955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10956   (exit $ac_status); } &&
10957          { ac_try='test -z "$ac_c_werror_flag"
10958                          || test ! -s conftest.err'
10959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10960   (eval $ac_try) 2>&5
10961   ac_status=$?
10962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10963   (exit $ac_status); }; } &&
10964          { ac_try='test -s conftest$ac_exeext'
10965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10966   (eval $ac_try) 2>&5
10967   ac_status=$?
10968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10969   (exit $ac_status); }; }; then
10970   eval "$as_ac_var=yes"
10971 else
10972   echo "$as_me: failed program was:" >&5
10973 sed 's/^/| /' conftest.$ac_ext >&5
10974
10975 eval "$as_ac_var=no"
10976 fi
10977 rm -f conftest.err conftest.$ac_objext \
10978       conftest$ac_exeext conftest.$ac_ext
10979 fi
10980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10982 if test `eval echo '${'$as_ac_var'}'` = yes; then
10983   cat >>confdefs.h <<_ACEOF
10984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10985 _ACEOF
10986
10987 fi
10988 done
10989
10990     fi
10991   fi
10992
10993
10994
10995
10996
10997
10998   echo "$as_me:$LINENO: checking for hypot declaration" >&5
10999 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
11000   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11001     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11002   echo $ECHO_N "(cached) $ECHO_C" >&6
11003 else
11004
11005
11006
11007       ac_ext=cc
11008 ac_cpp='$CXXCPP $CPPFLAGS'
11009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11012
11013       cat >conftest.$ac_ext <<_ACEOF
11014 /* confdefs.h.  */
11015 _ACEOF
11016 cat confdefs.h >>conftest.$ac_ext
11017 cat >>conftest.$ac_ext <<_ACEOF
11018 /* end confdefs.h.  */
11019 #include <math.h>
11020 int
11021 main ()
11022 {
11023  hypot(0, 0);
11024   ;
11025   return 0;
11026 }
11027 _ACEOF
11028 rm -f conftest.$ac_objext
11029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11030   (eval $ac_compile) 2>conftest.er1
11031   ac_status=$?
11032   grep -v '^ *+' conftest.er1 >conftest.err
11033   rm -f conftest.er1
11034   cat conftest.err >&5
11035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11036   (exit $ac_status); } &&
11037          { ac_try='test -z "$ac_cxx_werror_flag"
11038                          || test ! -s conftest.err'
11039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11040   (eval $ac_try) 2>&5
11041   ac_status=$?
11042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11043   (exit $ac_status); }; } &&
11044          { ac_try='test -s conftest.$ac_objext'
11045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11046   (eval $ac_try) 2>&5
11047   ac_status=$?
11048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11049   (exit $ac_status); }; }; then
11050   glibcxx_cv_func_hypot_use=yes
11051 else
11052   echo "$as_me: failed program was:" >&5
11053 sed 's/^/| /' conftest.$ac_ext >&5
11054
11055 glibcxx_cv_func_hypot_use=no
11056 fi
11057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11058       ac_ext=c
11059 ac_cpp='$CPP $CPPFLAGS'
11060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11063
11064
11065 fi
11066
11067   fi
11068   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11069 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11070
11071   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11072
11073 for ac_func in hypot
11074 do
11075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11076 echo "$as_me:$LINENO: checking for $ac_func" >&5
11077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11078 if eval "test \"\${$as_ac_var+set}\" = set"; then
11079   echo $ECHO_N "(cached) $ECHO_C" >&6
11080 else
11081   if test x$gcc_no_link = xyes; then
11082   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11084    { (exit 1); exit 1; }; }
11085 fi
11086 cat >conftest.$ac_ext <<_ACEOF
11087 /* confdefs.h.  */
11088 _ACEOF
11089 cat confdefs.h >>conftest.$ac_ext
11090 cat >>conftest.$ac_ext <<_ACEOF
11091 /* end confdefs.h.  */
11092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11093    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11094 #define $ac_func innocuous_$ac_func
11095
11096 /* System header to define __stub macros and hopefully few prototypes,
11097     which can conflict with char $ac_func (); below.
11098     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11099     <limits.h> exists even on freestanding compilers.  */
11100
11101 #ifdef __STDC__
11102 # include <limits.h>
11103 #else
11104 # include <assert.h>
11105 #endif
11106
11107 #undef $ac_func
11108
11109 /* Override any gcc2 internal prototype to avoid an error.  */
11110 #ifdef __cplusplus
11111 extern "C"
11112 {
11113 #endif
11114 /* We use char because int might match the return type of a gcc2
11115    builtin and then its argument prototype would still apply.  */
11116 char $ac_func ();
11117 /* The GNU C library defines this for functions which it implements
11118     to always fail with ENOSYS.  Some functions are actually named
11119     something starting with __ and the normal name is an alias.  */
11120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11121 choke me
11122 #else
11123 char (*f) () = $ac_func;
11124 #endif
11125 #ifdef __cplusplus
11126 }
11127 #endif
11128
11129 int
11130 main ()
11131 {
11132 return f != $ac_func;
11133   ;
11134   return 0;
11135 }
11136 _ACEOF
11137 rm -f conftest.$ac_objext conftest$ac_exeext
11138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11139   (eval $ac_link) 2>conftest.er1
11140   ac_status=$?
11141   grep -v '^ *+' conftest.er1 >conftest.err
11142   rm -f conftest.er1
11143   cat conftest.err >&5
11144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11145   (exit $ac_status); } &&
11146          { ac_try='test -z "$ac_c_werror_flag"
11147                          || test ! -s conftest.err'
11148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11149   (eval $ac_try) 2>&5
11150   ac_status=$?
11151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11152   (exit $ac_status); }; } &&
11153          { ac_try='test -s conftest$ac_exeext'
11154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11155   (eval $ac_try) 2>&5
11156   ac_status=$?
11157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11158   (exit $ac_status); }; }; then
11159   eval "$as_ac_var=yes"
11160 else
11161   echo "$as_me: failed program was:" >&5
11162 sed 's/^/| /' conftest.$ac_ext >&5
11163
11164 eval "$as_ac_var=no"
11165 fi
11166 rm -f conftest.err conftest.$ac_objext \
11167       conftest$ac_exeext conftest.$ac_ext
11168 fi
11169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11171 if test `eval echo '${'$as_ac_var'}'` = yes; then
11172   cat >>confdefs.h <<_ACEOF
11173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11174 _ACEOF
11175
11176 fi
11177 done
11178
11179   else
11180
11181   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11182 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11183   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11184     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11185   echo $ECHO_N "(cached) $ECHO_C" >&6
11186 else
11187
11188
11189
11190       ac_ext=cc
11191 ac_cpp='$CXXCPP $CPPFLAGS'
11192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11195
11196       cat >conftest.$ac_ext <<_ACEOF
11197 /* confdefs.h.  */
11198 _ACEOF
11199 cat confdefs.h >>conftest.$ac_ext
11200 cat >>conftest.$ac_ext <<_ACEOF
11201 /* end confdefs.h.  */
11202 #include <math.h>
11203 int
11204 main ()
11205 {
11206  _hypot(0, 0);
11207   ;
11208   return 0;
11209 }
11210 _ACEOF
11211 rm -f conftest.$ac_objext
11212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11213   (eval $ac_compile) 2>conftest.er1
11214   ac_status=$?
11215   grep -v '^ *+' conftest.er1 >conftest.err
11216   rm -f conftest.er1
11217   cat conftest.err >&5
11218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11219   (exit $ac_status); } &&
11220          { ac_try='test -z "$ac_cxx_werror_flag"
11221                          || test ! -s conftest.err'
11222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11223   (eval $ac_try) 2>&5
11224   ac_status=$?
11225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11226   (exit $ac_status); }; } &&
11227          { ac_try='test -s conftest.$ac_objext'
11228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11229   (eval $ac_try) 2>&5
11230   ac_status=$?
11231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11232   (exit $ac_status); }; }; then
11233   glibcxx_cv_func__hypot_use=yes
11234 else
11235   echo "$as_me: failed program was:" >&5
11236 sed 's/^/| /' conftest.$ac_ext >&5
11237
11238 glibcxx_cv_func__hypot_use=no
11239 fi
11240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11241       ac_ext=c
11242 ac_cpp='$CPP $CPPFLAGS'
11243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11246
11247
11248 fi
11249
11250   fi
11251   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11252 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11253
11254     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11255
11256 for ac_func in _hypot
11257 do
11258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11259 echo "$as_me:$LINENO: checking for $ac_func" >&5
11260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11261 if eval "test \"\${$as_ac_var+set}\" = set"; then
11262   echo $ECHO_N "(cached) $ECHO_C" >&6
11263 else
11264   if test x$gcc_no_link = xyes; then
11265   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11267    { (exit 1); exit 1; }; }
11268 fi
11269 cat >conftest.$ac_ext <<_ACEOF
11270 /* confdefs.h.  */
11271 _ACEOF
11272 cat confdefs.h >>conftest.$ac_ext
11273 cat >>conftest.$ac_ext <<_ACEOF
11274 /* end confdefs.h.  */
11275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11276    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11277 #define $ac_func innocuous_$ac_func
11278
11279 /* System header to define __stub macros and hopefully few prototypes,
11280     which can conflict with char $ac_func (); below.
11281     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11282     <limits.h> exists even on freestanding compilers.  */
11283
11284 #ifdef __STDC__
11285 # include <limits.h>
11286 #else
11287 # include <assert.h>
11288 #endif
11289
11290 #undef $ac_func
11291
11292 /* Override any gcc2 internal prototype to avoid an error.  */
11293 #ifdef __cplusplus
11294 extern "C"
11295 {
11296 #endif
11297 /* We use char because int might match the return type of a gcc2
11298    builtin and then its argument prototype would still apply.  */
11299 char $ac_func ();
11300 /* The GNU C library defines this for functions which it implements
11301     to always fail with ENOSYS.  Some functions are actually named
11302     something starting with __ and the normal name is an alias.  */
11303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11304 choke me
11305 #else
11306 char (*f) () = $ac_func;
11307 #endif
11308 #ifdef __cplusplus
11309 }
11310 #endif
11311
11312 int
11313 main ()
11314 {
11315 return f != $ac_func;
11316   ;
11317   return 0;
11318 }
11319 _ACEOF
11320 rm -f conftest.$ac_objext conftest$ac_exeext
11321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11322   (eval $ac_link) 2>conftest.er1
11323   ac_status=$?
11324   grep -v '^ *+' conftest.er1 >conftest.err
11325   rm -f conftest.er1
11326   cat conftest.err >&5
11327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11328   (exit $ac_status); } &&
11329          { ac_try='test -z "$ac_c_werror_flag"
11330                          || test ! -s conftest.err'
11331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11332   (eval $ac_try) 2>&5
11333   ac_status=$?
11334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11335   (exit $ac_status); }; } &&
11336          { ac_try='test -s conftest$ac_exeext'
11337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11338   (eval $ac_try) 2>&5
11339   ac_status=$?
11340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11341   (exit $ac_status); }; }; then
11342   eval "$as_ac_var=yes"
11343 else
11344   echo "$as_me: failed program was:" >&5
11345 sed 's/^/| /' conftest.$ac_ext >&5
11346
11347 eval "$as_ac_var=no"
11348 fi
11349 rm -f conftest.err conftest.$ac_objext \
11350       conftest$ac_exeext conftest.$ac_ext
11351 fi
11352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11354 if test `eval echo '${'$as_ac_var'}'` = yes; then
11355   cat >>confdefs.h <<_ACEOF
11356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11357 _ACEOF
11358
11359 fi
11360 done
11361
11362     fi
11363   fi
11364
11365
11366
11367
11368
11369
11370     echo "$as_me:$LINENO: checking for float trig functions" >&5
11371 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11372   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11373   echo $ECHO_N "(cached) $ECHO_C" >&6
11374 else
11375
11376
11377
11378     ac_ext=cc
11379 ac_cpp='$CXXCPP $CPPFLAGS'
11380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11383
11384     cat >conftest.$ac_ext <<_ACEOF
11385 /* confdefs.h.  */
11386 _ACEOF
11387 cat confdefs.h >>conftest.$ac_ext
11388 cat >>conftest.$ac_ext <<_ACEOF
11389 /* end confdefs.h.  */
11390 #include <math.h>
11391 int
11392 main ()
11393 {
11394 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
11395   ;
11396   return 0;
11397 }
11398 _ACEOF
11399 rm -f conftest.$ac_objext
11400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11401   (eval $ac_compile) 2>conftest.er1
11402   ac_status=$?
11403   grep -v '^ *+' conftest.er1 >conftest.err
11404   rm -f conftest.er1
11405   cat conftest.err >&5
11406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11407   (exit $ac_status); } &&
11408          { ac_try='test -z "$ac_cxx_werror_flag"
11409                          || test ! -s conftest.err'
11410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11411   (eval $ac_try) 2>&5
11412   ac_status=$?
11413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11414   (exit $ac_status); }; } &&
11415          { ac_try='test -s conftest.$ac_objext'
11416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11417   (eval $ac_try) 2>&5
11418   ac_status=$?
11419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11420   (exit $ac_status); }; }; then
11421   glibcxx_cv_func_float_trig_use=yes
11422 else
11423   echo "$as_me: failed program was:" >&5
11424 sed 's/^/| /' conftest.$ac_ext >&5
11425
11426 glibcxx_cv_func_float_trig_use=no
11427 fi
11428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11429     ac_ext=c
11430 ac_cpp='$CPP $CPPFLAGS'
11431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11434
11435 fi
11436
11437   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11438 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11439   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
11450 do
11451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11452 echo "$as_me:$LINENO: checking for $ac_func" >&5
11453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11454 if eval "test \"\${$as_ac_var+set}\" = set"; then
11455   echo $ECHO_N "(cached) $ECHO_C" >&6
11456 else
11457   if test x$gcc_no_link = xyes; then
11458   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11460    { (exit 1); exit 1; }; }
11461 fi
11462 cat >conftest.$ac_ext <<_ACEOF
11463 /* confdefs.h.  */
11464 _ACEOF
11465 cat confdefs.h >>conftest.$ac_ext
11466 cat >>conftest.$ac_ext <<_ACEOF
11467 /* end confdefs.h.  */
11468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11469    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11470 #define $ac_func innocuous_$ac_func
11471
11472 /* System header to define __stub macros and hopefully few prototypes,
11473     which can conflict with char $ac_func (); below.
11474     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11475     <limits.h> exists even on freestanding compilers.  */
11476
11477 #ifdef __STDC__
11478 # include <limits.h>
11479 #else
11480 # include <assert.h>
11481 #endif
11482
11483 #undef $ac_func
11484
11485 /* Override any gcc2 internal prototype to avoid an error.  */
11486 #ifdef __cplusplus
11487 extern "C"
11488 {
11489 #endif
11490 /* We use char because int might match the return type of a gcc2
11491    builtin and then its argument prototype would still apply.  */
11492 char $ac_func ();
11493 /* The GNU C library defines this for functions which it implements
11494     to always fail with ENOSYS.  Some functions are actually named
11495     something starting with __ and the normal name is an alias.  */
11496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11497 choke me
11498 #else
11499 char (*f) () = $ac_func;
11500 #endif
11501 #ifdef __cplusplus
11502 }
11503 #endif
11504
11505 int
11506 main ()
11507 {
11508 return f != $ac_func;
11509   ;
11510   return 0;
11511 }
11512 _ACEOF
11513 rm -f conftest.$ac_objext conftest$ac_exeext
11514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11515   (eval $ac_link) 2>conftest.er1
11516   ac_status=$?
11517   grep -v '^ *+' conftest.er1 >conftest.err
11518   rm -f conftest.er1
11519   cat conftest.err >&5
11520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11521   (exit $ac_status); } &&
11522          { ac_try='test -z "$ac_c_werror_flag"
11523                          || test ! -s conftest.err'
11524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11525   (eval $ac_try) 2>&5
11526   ac_status=$?
11527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11528   (exit $ac_status); }; } &&
11529          { ac_try='test -s conftest$ac_exeext'
11530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11531   (eval $ac_try) 2>&5
11532   ac_status=$?
11533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11534   (exit $ac_status); }; }; then
11535   eval "$as_ac_var=yes"
11536 else
11537   echo "$as_me: failed program was:" >&5
11538 sed 's/^/| /' conftest.$ac_ext >&5
11539
11540 eval "$as_ac_var=no"
11541 fi
11542 rm -f conftest.err conftest.$ac_objext \
11543       conftest$ac_exeext conftest.$ac_ext
11544 fi
11545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11547 if test `eval echo '${'$as_ac_var'}'` = yes; then
11548   cat >>confdefs.h <<_ACEOF
11549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11550 _ACEOF
11551
11552 fi
11553 done
11554
11555   else
11556     echo "$as_me:$LINENO: checking for _float trig functions" >&5
11557 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
11558     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
11559   echo $ECHO_N "(cached) $ECHO_C" >&6
11560 else
11561
11562
11563
11564       ac_ext=cc
11565 ac_cpp='$CXXCPP $CPPFLAGS'
11566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11569
11570       cat >conftest.$ac_ext <<_ACEOF
11571 /* confdefs.h.  */
11572 _ACEOF
11573 cat confdefs.h >>conftest.$ac_ext
11574 cat >>conftest.$ac_ext <<_ACEOF
11575 /* end confdefs.h.  */
11576 #include <math.h>
11577 int
11578 main ()
11579 {
11580 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
11581   ;
11582   return 0;
11583 }
11584 _ACEOF
11585 rm -f conftest.$ac_objext
11586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11587   (eval $ac_compile) 2>conftest.er1
11588   ac_status=$?
11589   grep -v '^ *+' conftest.er1 >conftest.err
11590   rm -f conftest.er1
11591   cat conftest.err >&5
11592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11593   (exit $ac_status); } &&
11594          { ac_try='test -z "$ac_cxx_werror_flag"
11595                          || test ! -s conftest.err'
11596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11597   (eval $ac_try) 2>&5
11598   ac_status=$?
11599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11600   (exit $ac_status); }; } &&
11601          { ac_try='test -s conftest.$ac_objext'
11602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11603   (eval $ac_try) 2>&5
11604   ac_status=$?
11605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11606   (exit $ac_status); }; }; then
11607   glibcxx_cv_func__float_trig_use=yes
11608 else
11609   echo "$as_me: failed program was:" >&5
11610 sed 's/^/| /' conftest.$ac_ext >&5
11611
11612 glibcxx_cv_func__float_trig_use=no
11613 fi
11614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11615       ac_ext=c
11616 ac_cpp='$CPP $CPPFLAGS'
11617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11620
11621 fi
11622
11623     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
11624 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
11625     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
11636 do
11637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11638 echo "$as_me:$LINENO: checking for $ac_func" >&5
11639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11640 if eval "test \"\${$as_ac_var+set}\" = set"; then
11641   echo $ECHO_N "(cached) $ECHO_C" >&6
11642 else
11643   if test x$gcc_no_link = xyes; then
11644   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11646    { (exit 1); exit 1; }; }
11647 fi
11648 cat >conftest.$ac_ext <<_ACEOF
11649 /* confdefs.h.  */
11650 _ACEOF
11651 cat confdefs.h >>conftest.$ac_ext
11652 cat >>conftest.$ac_ext <<_ACEOF
11653 /* end confdefs.h.  */
11654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11655    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11656 #define $ac_func innocuous_$ac_func
11657
11658 /* System header to define __stub macros and hopefully few prototypes,
11659     which can conflict with char $ac_func (); below.
11660     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11661     <limits.h> exists even on freestanding compilers.  */
11662
11663 #ifdef __STDC__
11664 # include <limits.h>
11665 #else
11666 # include <assert.h>
11667 #endif
11668
11669 #undef $ac_func
11670
11671 /* Override any gcc2 internal prototype to avoid an error.  */
11672 #ifdef __cplusplus
11673 extern "C"
11674 {
11675 #endif
11676 /* We use char because int might match the return type of a gcc2
11677    builtin and then its argument prototype would still apply.  */
11678 char $ac_func ();
11679 /* The GNU C library defines this for functions which it implements
11680     to always fail with ENOSYS.  Some functions are actually named
11681     something starting with __ and the normal name is an alias.  */
11682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11683 choke me
11684 #else
11685 char (*f) () = $ac_func;
11686 #endif
11687 #ifdef __cplusplus
11688 }
11689 #endif
11690
11691 int
11692 main ()
11693 {
11694 return f != $ac_func;
11695   ;
11696   return 0;
11697 }
11698 _ACEOF
11699 rm -f conftest.$ac_objext conftest$ac_exeext
11700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11701   (eval $ac_link) 2>conftest.er1
11702   ac_status=$?
11703   grep -v '^ *+' conftest.er1 >conftest.err
11704   rm -f conftest.er1
11705   cat conftest.err >&5
11706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11707   (exit $ac_status); } &&
11708          { ac_try='test -z "$ac_c_werror_flag"
11709                          || test ! -s conftest.err'
11710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11711   (eval $ac_try) 2>&5
11712   ac_status=$?
11713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11714   (exit $ac_status); }; } &&
11715          { ac_try='test -s conftest$ac_exeext'
11716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11717   (eval $ac_try) 2>&5
11718   ac_status=$?
11719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11720   (exit $ac_status); }; }; then
11721   eval "$as_ac_var=yes"
11722 else
11723   echo "$as_me: failed program was:" >&5
11724 sed 's/^/| /' conftest.$ac_ext >&5
11725
11726 eval "$as_ac_var=no"
11727 fi
11728 rm -f conftest.err conftest.$ac_objext \
11729       conftest$ac_exeext conftest.$ac_ext
11730 fi
11731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11733 if test `eval echo '${'$as_ac_var'}'` = yes; then
11734   cat >>confdefs.h <<_ACEOF
11735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11736 _ACEOF
11737
11738 fi
11739 done
11740
11741     fi
11742   fi
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757     echo "$as_me:$LINENO: checking for float round functions" >&5
11758 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11759   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11760   echo $ECHO_N "(cached) $ECHO_C" >&6
11761 else
11762
11763
11764
11765     ac_ext=cc
11766 ac_cpp='$CXXCPP $CPPFLAGS'
11767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11770
11771     cat >conftest.$ac_ext <<_ACEOF
11772 /* confdefs.h.  */
11773 _ACEOF
11774 cat confdefs.h >>conftest.$ac_ext
11775 cat >>conftest.$ac_ext <<_ACEOF
11776 /* end confdefs.h.  */
11777 #include <math.h>
11778 int
11779 main ()
11780 {
11781 ceilf (0); floorf (0);
11782   ;
11783   return 0;
11784 }
11785 _ACEOF
11786 rm -f conftest.$ac_objext
11787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11788   (eval $ac_compile) 2>conftest.er1
11789   ac_status=$?
11790   grep -v '^ *+' conftest.er1 >conftest.err
11791   rm -f conftest.er1
11792   cat conftest.err >&5
11793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11794   (exit $ac_status); } &&
11795          { ac_try='test -z "$ac_cxx_werror_flag"
11796                          || test ! -s conftest.err'
11797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11798   (eval $ac_try) 2>&5
11799   ac_status=$?
11800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11801   (exit $ac_status); }; } &&
11802          { ac_try='test -s conftest.$ac_objext'
11803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11804   (eval $ac_try) 2>&5
11805   ac_status=$?
11806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11807   (exit $ac_status); }; }; then
11808   glibcxx_cv_func_float_round_use=yes
11809 else
11810   echo "$as_me: failed program was:" >&5
11811 sed 's/^/| /' conftest.$ac_ext >&5
11812
11813 glibcxx_cv_func_float_round_use=no
11814 fi
11815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11816     ac_ext=c
11817 ac_cpp='$CPP $CPPFLAGS'
11818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11821
11822 fi
11823
11824   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11825 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11826   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11827
11828
11829 for ac_func in ceilf floorf
11830 do
11831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11832 echo "$as_me:$LINENO: checking for $ac_func" >&5
11833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11834 if eval "test \"\${$as_ac_var+set}\" = set"; then
11835   echo $ECHO_N "(cached) $ECHO_C" >&6
11836 else
11837   if test x$gcc_no_link = xyes; then
11838   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11840    { (exit 1); exit 1; }; }
11841 fi
11842 cat >conftest.$ac_ext <<_ACEOF
11843 /* confdefs.h.  */
11844 _ACEOF
11845 cat confdefs.h >>conftest.$ac_ext
11846 cat >>conftest.$ac_ext <<_ACEOF
11847 /* end confdefs.h.  */
11848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11849    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11850 #define $ac_func innocuous_$ac_func
11851
11852 /* System header to define __stub macros and hopefully few prototypes,
11853     which can conflict with char $ac_func (); below.
11854     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11855     <limits.h> exists even on freestanding compilers.  */
11856
11857 #ifdef __STDC__
11858 # include <limits.h>
11859 #else
11860 # include <assert.h>
11861 #endif
11862
11863 #undef $ac_func
11864
11865 /* Override any gcc2 internal prototype to avoid an error.  */
11866 #ifdef __cplusplus
11867 extern "C"
11868 {
11869 #endif
11870 /* We use char because int might match the return type of a gcc2
11871    builtin and then its argument prototype would still apply.  */
11872 char $ac_func ();
11873 /* The GNU C library defines this for functions which it implements
11874     to always fail with ENOSYS.  Some functions are actually named
11875     something starting with __ and the normal name is an alias.  */
11876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11877 choke me
11878 #else
11879 char (*f) () = $ac_func;
11880 #endif
11881 #ifdef __cplusplus
11882 }
11883 #endif
11884
11885 int
11886 main ()
11887 {
11888 return f != $ac_func;
11889   ;
11890   return 0;
11891 }
11892 _ACEOF
11893 rm -f conftest.$ac_objext conftest$ac_exeext
11894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11895   (eval $ac_link) 2>conftest.er1
11896   ac_status=$?
11897   grep -v '^ *+' conftest.er1 >conftest.err
11898   rm -f conftest.er1
11899   cat conftest.err >&5
11900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11901   (exit $ac_status); } &&
11902          { ac_try='test -z "$ac_c_werror_flag"
11903                          || test ! -s conftest.err'
11904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11905   (eval $ac_try) 2>&5
11906   ac_status=$?
11907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11908   (exit $ac_status); }; } &&
11909          { ac_try='test -s conftest$ac_exeext'
11910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11911   (eval $ac_try) 2>&5
11912   ac_status=$?
11913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11914   (exit $ac_status); }; }; then
11915   eval "$as_ac_var=yes"
11916 else
11917   echo "$as_me: failed program was:" >&5
11918 sed 's/^/| /' conftest.$ac_ext >&5
11919
11920 eval "$as_ac_var=no"
11921 fi
11922 rm -f conftest.err conftest.$ac_objext \
11923       conftest$ac_exeext conftest.$ac_ext
11924 fi
11925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11927 if test `eval echo '${'$as_ac_var'}'` = yes; then
11928   cat >>confdefs.h <<_ACEOF
11929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11930 _ACEOF
11931
11932 fi
11933 done
11934
11935   else
11936     echo "$as_me:$LINENO: checking for _float round functions" >&5
11937 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
11938     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
11939   echo $ECHO_N "(cached) $ECHO_C" >&6
11940 else
11941
11942
11943
11944       ac_ext=cc
11945 ac_cpp='$CXXCPP $CPPFLAGS'
11946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11949
11950       cat >conftest.$ac_ext <<_ACEOF
11951 /* confdefs.h.  */
11952 _ACEOF
11953 cat confdefs.h >>conftest.$ac_ext
11954 cat >>conftest.$ac_ext <<_ACEOF
11955 /* end confdefs.h.  */
11956 #include <math.h>
11957 int
11958 main ()
11959 {
11960 _ceilf (0); _floorf (0);
11961   ;
11962   return 0;
11963 }
11964 _ACEOF
11965 rm -f conftest.$ac_objext
11966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11967   (eval $ac_compile) 2>conftest.er1
11968   ac_status=$?
11969   grep -v '^ *+' conftest.er1 >conftest.err
11970   rm -f conftest.er1
11971   cat conftest.err >&5
11972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11973   (exit $ac_status); } &&
11974          { ac_try='test -z "$ac_cxx_werror_flag"
11975                          || test ! -s conftest.err'
11976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11977   (eval $ac_try) 2>&5
11978   ac_status=$?
11979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11980   (exit $ac_status); }; } &&
11981          { ac_try='test -s conftest.$ac_objext'
11982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11983   (eval $ac_try) 2>&5
11984   ac_status=$?
11985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11986   (exit $ac_status); }; }; then
11987   glibcxx_cv_func__float_round_use=yes
11988 else
11989   echo "$as_me: failed program was:" >&5
11990 sed 's/^/| /' conftest.$ac_ext >&5
11991
11992 glibcxx_cv_func__float_round_use=no
11993 fi
11994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11995       ac_ext=c
11996 ac_cpp='$CPP $CPPFLAGS'
11997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12000
12001 fi
12002
12003     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
12004 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
12005     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
12006
12007
12008 for ac_func in _ceilf _floorf
12009 do
12010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12011 echo "$as_me:$LINENO: checking for $ac_func" >&5
12012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12013 if eval "test \"\${$as_ac_var+set}\" = set"; then
12014   echo $ECHO_N "(cached) $ECHO_C" >&6
12015 else
12016   if test x$gcc_no_link = xyes; then
12017   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12019    { (exit 1); exit 1; }; }
12020 fi
12021 cat >conftest.$ac_ext <<_ACEOF
12022 /* confdefs.h.  */
12023 _ACEOF
12024 cat confdefs.h >>conftest.$ac_ext
12025 cat >>conftest.$ac_ext <<_ACEOF
12026 /* end confdefs.h.  */
12027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12028    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12029 #define $ac_func innocuous_$ac_func
12030
12031 /* System header to define __stub macros and hopefully few prototypes,
12032     which can conflict with char $ac_func (); below.
12033     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12034     <limits.h> exists even on freestanding compilers.  */
12035
12036 #ifdef __STDC__
12037 # include <limits.h>
12038 #else
12039 # include <assert.h>
12040 #endif
12041
12042 #undef $ac_func
12043
12044 /* Override any gcc2 internal prototype to avoid an error.  */
12045 #ifdef __cplusplus
12046 extern "C"
12047 {
12048 #endif
12049 /* We use char because int might match the return type of a gcc2
12050    builtin and then its argument prototype would still apply.  */
12051 char $ac_func ();
12052 /* The GNU C library defines this for functions which it implements
12053     to always fail with ENOSYS.  Some functions are actually named
12054     something starting with __ and the normal name is an alias.  */
12055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12056 choke me
12057 #else
12058 char (*f) () = $ac_func;
12059 #endif
12060 #ifdef __cplusplus
12061 }
12062 #endif
12063
12064 int
12065 main ()
12066 {
12067 return f != $ac_func;
12068   ;
12069   return 0;
12070 }
12071 _ACEOF
12072 rm -f conftest.$ac_objext conftest$ac_exeext
12073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12074   (eval $ac_link) 2>conftest.er1
12075   ac_status=$?
12076   grep -v '^ *+' conftest.er1 >conftest.err
12077   rm -f conftest.er1
12078   cat conftest.err >&5
12079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12080   (exit $ac_status); } &&
12081          { ac_try='test -z "$ac_c_werror_flag"
12082                          || test ! -s conftest.err'
12083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12084   (eval $ac_try) 2>&5
12085   ac_status=$?
12086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12087   (exit $ac_status); }; } &&
12088          { ac_try='test -s conftest$ac_exeext'
12089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12090   (eval $ac_try) 2>&5
12091   ac_status=$?
12092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12093   (exit $ac_status); }; }; then
12094   eval "$as_ac_var=yes"
12095 else
12096   echo "$as_me: failed program was:" >&5
12097 sed 's/^/| /' conftest.$ac_ext >&5
12098
12099 eval "$as_ac_var=no"
12100 fi
12101 rm -f conftest.err conftest.$ac_objext \
12102       conftest$ac_exeext conftest.$ac_ext
12103 fi
12104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12106 if test `eval echo '${'$as_ac_var'}'` = yes; then
12107   cat >>confdefs.h <<_ACEOF
12108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12109 _ACEOF
12110
12111 fi
12112 done
12113
12114     fi
12115   fi
12116
12117
12118
12119
12120
12121
12122
12123
12124   echo "$as_me:$LINENO: checking for expf declaration" >&5
12125 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
12126   if test x${glibcxx_cv_func_expf_use+set} != xset; then
12127     if test "${glibcxx_cv_func_expf_use+set}" = set; then
12128   echo $ECHO_N "(cached) $ECHO_C" >&6
12129 else
12130
12131
12132
12133       ac_ext=cc
12134 ac_cpp='$CXXCPP $CPPFLAGS'
12135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12138
12139       cat >conftest.$ac_ext <<_ACEOF
12140 /* confdefs.h.  */
12141 _ACEOF
12142 cat confdefs.h >>conftest.$ac_ext
12143 cat >>conftest.$ac_ext <<_ACEOF
12144 /* end confdefs.h.  */
12145 #include <math.h>
12146                       #ifdef HAVE_IEEEFP_H
12147                       #include <ieeefp.h>
12148                       #endif
12149
12150 int
12151 main ()
12152 {
12153  expf(0);
12154   ;
12155   return 0;
12156 }
12157 _ACEOF
12158 rm -f conftest.$ac_objext
12159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12160   (eval $ac_compile) 2>conftest.er1
12161   ac_status=$?
12162   grep -v '^ *+' conftest.er1 >conftest.err
12163   rm -f conftest.er1
12164   cat conftest.err >&5
12165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12166   (exit $ac_status); } &&
12167          { ac_try='test -z "$ac_cxx_werror_flag"
12168                          || test ! -s conftest.err'
12169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12170   (eval $ac_try) 2>&5
12171   ac_status=$?
12172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12173   (exit $ac_status); }; } &&
12174          { ac_try='test -s conftest.$ac_objext'
12175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12176   (eval $ac_try) 2>&5
12177   ac_status=$?
12178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12179   (exit $ac_status); }; }; then
12180   glibcxx_cv_func_expf_use=yes
12181 else
12182   echo "$as_me: failed program was:" >&5
12183 sed 's/^/| /' conftest.$ac_ext >&5
12184
12185 glibcxx_cv_func_expf_use=no
12186 fi
12187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12188       ac_ext=c
12189 ac_cpp='$CPP $CPPFLAGS'
12190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12193
12194
12195 fi
12196
12197   fi
12198   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
12199 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
12200
12201   if test x$glibcxx_cv_func_expf_use = x"yes"; then
12202
12203 for ac_func in expf
12204 do
12205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12206 echo "$as_me:$LINENO: checking for $ac_func" >&5
12207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12208 if eval "test \"\${$as_ac_var+set}\" = set"; then
12209   echo $ECHO_N "(cached) $ECHO_C" >&6
12210 else
12211   if test x$gcc_no_link = xyes; then
12212   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12214    { (exit 1); exit 1; }; }
12215 fi
12216 cat >conftest.$ac_ext <<_ACEOF
12217 /* confdefs.h.  */
12218 _ACEOF
12219 cat confdefs.h >>conftest.$ac_ext
12220 cat >>conftest.$ac_ext <<_ACEOF
12221 /* end confdefs.h.  */
12222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12223    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12224 #define $ac_func innocuous_$ac_func
12225
12226 /* System header to define __stub macros and hopefully few prototypes,
12227     which can conflict with char $ac_func (); below.
12228     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12229     <limits.h> exists even on freestanding compilers.  */
12230
12231 #ifdef __STDC__
12232 # include <limits.h>
12233 #else
12234 # include <assert.h>
12235 #endif
12236
12237 #undef $ac_func
12238
12239 /* Override any gcc2 internal prototype to avoid an error.  */
12240 #ifdef __cplusplus
12241 extern "C"
12242 {
12243 #endif
12244 /* We use char because int might match the return type of a gcc2
12245    builtin and then its argument prototype would still apply.  */
12246 char $ac_func ();
12247 /* The GNU C library defines this for functions which it implements
12248     to always fail with ENOSYS.  Some functions are actually named
12249     something starting with __ and the normal name is an alias.  */
12250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12251 choke me
12252 #else
12253 char (*f) () = $ac_func;
12254 #endif
12255 #ifdef __cplusplus
12256 }
12257 #endif
12258
12259 int
12260 main ()
12261 {
12262 return f != $ac_func;
12263   ;
12264   return 0;
12265 }
12266 _ACEOF
12267 rm -f conftest.$ac_objext conftest$ac_exeext
12268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12269   (eval $ac_link) 2>conftest.er1
12270   ac_status=$?
12271   grep -v '^ *+' conftest.er1 >conftest.err
12272   rm -f conftest.er1
12273   cat conftest.err >&5
12274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12275   (exit $ac_status); } &&
12276          { ac_try='test -z "$ac_c_werror_flag"
12277                          || test ! -s conftest.err'
12278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12279   (eval $ac_try) 2>&5
12280   ac_status=$?
12281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12282   (exit $ac_status); }; } &&
12283          { ac_try='test -s conftest$ac_exeext'
12284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12285   (eval $ac_try) 2>&5
12286   ac_status=$?
12287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12288   (exit $ac_status); }; }; then
12289   eval "$as_ac_var=yes"
12290 else
12291   echo "$as_me: failed program was:" >&5
12292 sed 's/^/| /' conftest.$ac_ext >&5
12293
12294 eval "$as_ac_var=no"
12295 fi
12296 rm -f conftest.err conftest.$ac_objext \
12297       conftest$ac_exeext conftest.$ac_ext
12298 fi
12299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12301 if test `eval echo '${'$as_ac_var'}'` = yes; then
12302   cat >>confdefs.h <<_ACEOF
12303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12304 _ACEOF
12305
12306 fi
12307 done
12308
12309   else
12310
12311   echo "$as_me:$LINENO: checking for _expf declaration" >&5
12312 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
12313   if test x${glibcxx_cv_func__expf_use+set} != xset; then
12314     if test "${glibcxx_cv_func__expf_use+set}" = set; then
12315   echo $ECHO_N "(cached) $ECHO_C" >&6
12316 else
12317
12318
12319
12320       ac_ext=cc
12321 ac_cpp='$CXXCPP $CPPFLAGS'
12322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12325
12326       cat >conftest.$ac_ext <<_ACEOF
12327 /* confdefs.h.  */
12328 _ACEOF
12329 cat confdefs.h >>conftest.$ac_ext
12330 cat >>conftest.$ac_ext <<_ACEOF
12331 /* end confdefs.h.  */
12332 #include <math.h>
12333                       #ifdef HAVE_IEEEFP_H
12334                       #include <ieeefp.h>
12335                       #endif
12336
12337 int
12338 main ()
12339 {
12340  _expf(0);
12341   ;
12342   return 0;
12343 }
12344 _ACEOF
12345 rm -f conftest.$ac_objext
12346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12347   (eval $ac_compile) 2>conftest.er1
12348   ac_status=$?
12349   grep -v '^ *+' conftest.er1 >conftest.err
12350   rm -f conftest.er1
12351   cat conftest.err >&5
12352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12353   (exit $ac_status); } &&
12354          { ac_try='test -z "$ac_cxx_werror_flag"
12355                          || test ! -s conftest.err'
12356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12357   (eval $ac_try) 2>&5
12358   ac_status=$?
12359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12360   (exit $ac_status); }; } &&
12361          { ac_try='test -s conftest.$ac_objext'
12362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12363   (eval $ac_try) 2>&5
12364   ac_status=$?
12365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12366   (exit $ac_status); }; }; then
12367   glibcxx_cv_func__expf_use=yes
12368 else
12369   echo "$as_me: failed program was:" >&5
12370 sed 's/^/| /' conftest.$ac_ext >&5
12371
12372 glibcxx_cv_func__expf_use=no
12373 fi
12374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12375       ac_ext=c
12376 ac_cpp='$CPP $CPPFLAGS'
12377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12380
12381
12382 fi
12383
12384   fi
12385   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12386 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12387
12388     if test x$glibcxx_cv_func__expf_use = x"yes"; then
12389
12390 for ac_func in _expf
12391 do
12392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12393 echo "$as_me:$LINENO: checking for $ac_func" >&5
12394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12395 if eval "test \"\${$as_ac_var+set}\" = set"; then
12396   echo $ECHO_N "(cached) $ECHO_C" >&6
12397 else
12398   if test x$gcc_no_link = xyes; then
12399   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12401    { (exit 1); exit 1; }; }
12402 fi
12403 cat >conftest.$ac_ext <<_ACEOF
12404 /* confdefs.h.  */
12405 _ACEOF
12406 cat confdefs.h >>conftest.$ac_ext
12407 cat >>conftest.$ac_ext <<_ACEOF
12408 /* end confdefs.h.  */
12409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12410    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12411 #define $ac_func innocuous_$ac_func
12412
12413 /* System header to define __stub macros and hopefully few prototypes,
12414     which can conflict with char $ac_func (); below.
12415     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12416     <limits.h> exists even on freestanding compilers.  */
12417
12418 #ifdef __STDC__
12419 # include <limits.h>
12420 #else
12421 # include <assert.h>
12422 #endif
12423
12424 #undef $ac_func
12425
12426 /* Override any gcc2 internal prototype to avoid an error.  */
12427 #ifdef __cplusplus
12428 extern "C"
12429 {
12430 #endif
12431 /* We use char because int might match the return type of a gcc2
12432    builtin and then its argument prototype would still apply.  */
12433 char $ac_func ();
12434 /* The GNU C library defines this for functions which it implements
12435     to always fail with ENOSYS.  Some functions are actually named
12436     something starting with __ and the normal name is an alias.  */
12437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12438 choke me
12439 #else
12440 char (*f) () = $ac_func;
12441 #endif
12442 #ifdef __cplusplus
12443 }
12444 #endif
12445
12446 int
12447 main ()
12448 {
12449 return f != $ac_func;
12450   ;
12451   return 0;
12452 }
12453 _ACEOF
12454 rm -f conftest.$ac_objext conftest$ac_exeext
12455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12456   (eval $ac_link) 2>conftest.er1
12457   ac_status=$?
12458   grep -v '^ *+' conftest.er1 >conftest.err
12459   rm -f conftest.er1
12460   cat conftest.err >&5
12461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12462   (exit $ac_status); } &&
12463          { ac_try='test -z "$ac_c_werror_flag"
12464                          || test ! -s conftest.err'
12465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12466   (eval $ac_try) 2>&5
12467   ac_status=$?
12468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12469   (exit $ac_status); }; } &&
12470          { ac_try='test -s conftest$ac_exeext'
12471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12472   (eval $ac_try) 2>&5
12473   ac_status=$?
12474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12475   (exit $ac_status); }; }; then
12476   eval "$as_ac_var=yes"
12477 else
12478   echo "$as_me: failed program was:" >&5
12479 sed 's/^/| /' conftest.$ac_ext >&5
12480
12481 eval "$as_ac_var=no"
12482 fi
12483 rm -f conftest.err conftest.$ac_objext \
12484       conftest$ac_exeext conftest.$ac_ext
12485 fi
12486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12488 if test `eval echo '${'$as_ac_var'}'` = yes; then
12489   cat >>confdefs.h <<_ACEOF
12490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12491 _ACEOF
12492
12493 fi
12494 done
12495
12496     fi
12497   fi
12498
12499
12500
12501
12502
12503
12504   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12505 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12506   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12507     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12508   echo $ECHO_N "(cached) $ECHO_C" >&6
12509 else
12510
12511
12512
12513       ac_ext=cc
12514 ac_cpp='$CXXCPP $CPPFLAGS'
12515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12518
12519       cat >conftest.$ac_ext <<_ACEOF
12520 /* confdefs.h.  */
12521 _ACEOF
12522 cat confdefs.h >>conftest.$ac_ext
12523 cat >>conftest.$ac_ext <<_ACEOF
12524 /* end confdefs.h.  */
12525 #include <math.h>
12526                       #ifdef HAVE_IEEEFP_H
12527                       #include <ieeefp.h>
12528                       #endif
12529
12530 int
12531 main ()
12532 {
12533  isnanf(0);
12534   ;
12535   return 0;
12536 }
12537 _ACEOF
12538 rm -f conftest.$ac_objext
12539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12540   (eval $ac_compile) 2>conftest.er1
12541   ac_status=$?
12542   grep -v '^ *+' conftest.er1 >conftest.err
12543   rm -f conftest.er1
12544   cat conftest.err >&5
12545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546   (exit $ac_status); } &&
12547          { ac_try='test -z "$ac_cxx_werror_flag"
12548                          || test ! -s conftest.err'
12549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12550   (eval $ac_try) 2>&5
12551   ac_status=$?
12552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553   (exit $ac_status); }; } &&
12554          { ac_try='test -s conftest.$ac_objext'
12555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12556   (eval $ac_try) 2>&5
12557   ac_status=$?
12558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559   (exit $ac_status); }; }; then
12560   glibcxx_cv_func_isnanf_use=yes
12561 else
12562   echo "$as_me: failed program was:" >&5
12563 sed 's/^/| /' conftest.$ac_ext >&5
12564
12565 glibcxx_cv_func_isnanf_use=no
12566 fi
12567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12568       ac_ext=c
12569 ac_cpp='$CPP $CPPFLAGS'
12570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12573
12574
12575 fi
12576
12577   fi
12578   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12579 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12580
12581   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12582
12583 for ac_func in isnanf
12584 do
12585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12586 echo "$as_me:$LINENO: checking for $ac_func" >&5
12587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12588 if eval "test \"\${$as_ac_var+set}\" = set"; then
12589   echo $ECHO_N "(cached) $ECHO_C" >&6
12590 else
12591   if test x$gcc_no_link = xyes; then
12592   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12594    { (exit 1); exit 1; }; }
12595 fi
12596 cat >conftest.$ac_ext <<_ACEOF
12597 /* confdefs.h.  */
12598 _ACEOF
12599 cat confdefs.h >>conftest.$ac_ext
12600 cat >>conftest.$ac_ext <<_ACEOF
12601 /* end confdefs.h.  */
12602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12603    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12604 #define $ac_func innocuous_$ac_func
12605
12606 /* System header to define __stub macros and hopefully few prototypes,
12607     which can conflict with char $ac_func (); below.
12608     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12609     <limits.h> exists even on freestanding compilers.  */
12610
12611 #ifdef __STDC__
12612 # include <limits.h>
12613 #else
12614 # include <assert.h>
12615 #endif
12616
12617 #undef $ac_func
12618
12619 /* Override any gcc2 internal prototype to avoid an error.  */
12620 #ifdef __cplusplus
12621 extern "C"
12622 {
12623 #endif
12624 /* We use char because int might match the return type of a gcc2
12625    builtin and then its argument prototype would still apply.  */
12626 char $ac_func ();
12627 /* The GNU C library defines this for functions which it implements
12628     to always fail with ENOSYS.  Some functions are actually named
12629     something starting with __ and the normal name is an alias.  */
12630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12631 choke me
12632 #else
12633 char (*f) () = $ac_func;
12634 #endif
12635 #ifdef __cplusplus
12636 }
12637 #endif
12638
12639 int
12640 main ()
12641 {
12642 return f != $ac_func;
12643   ;
12644   return 0;
12645 }
12646 _ACEOF
12647 rm -f conftest.$ac_objext conftest$ac_exeext
12648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12649   (eval $ac_link) 2>conftest.er1
12650   ac_status=$?
12651   grep -v '^ *+' conftest.er1 >conftest.err
12652   rm -f conftest.er1
12653   cat conftest.err >&5
12654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655   (exit $ac_status); } &&
12656          { ac_try='test -z "$ac_c_werror_flag"
12657                          || test ! -s conftest.err'
12658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12659   (eval $ac_try) 2>&5
12660   ac_status=$?
12661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12662   (exit $ac_status); }; } &&
12663          { ac_try='test -s conftest$ac_exeext'
12664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12665   (eval $ac_try) 2>&5
12666   ac_status=$?
12667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668   (exit $ac_status); }; }; then
12669   eval "$as_ac_var=yes"
12670 else
12671   echo "$as_me: failed program was:" >&5
12672 sed 's/^/| /' conftest.$ac_ext >&5
12673
12674 eval "$as_ac_var=no"
12675 fi
12676 rm -f conftest.err conftest.$ac_objext \
12677       conftest$ac_exeext conftest.$ac_ext
12678 fi
12679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12681 if test `eval echo '${'$as_ac_var'}'` = yes; then
12682   cat >>confdefs.h <<_ACEOF
12683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12684 _ACEOF
12685
12686 fi
12687 done
12688
12689   else
12690
12691   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12692 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12693   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12694     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12695   echo $ECHO_N "(cached) $ECHO_C" >&6
12696 else
12697
12698
12699
12700       ac_ext=cc
12701 ac_cpp='$CXXCPP $CPPFLAGS'
12702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12705
12706       cat >conftest.$ac_ext <<_ACEOF
12707 /* confdefs.h.  */
12708 _ACEOF
12709 cat confdefs.h >>conftest.$ac_ext
12710 cat >>conftest.$ac_ext <<_ACEOF
12711 /* end confdefs.h.  */
12712 #include <math.h>
12713                       #ifdef HAVE_IEEEFP_H
12714                       #include <ieeefp.h>
12715                       #endif
12716
12717 int
12718 main ()
12719 {
12720  _isnanf(0);
12721   ;
12722   return 0;
12723 }
12724 _ACEOF
12725 rm -f conftest.$ac_objext
12726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12727   (eval $ac_compile) 2>conftest.er1
12728   ac_status=$?
12729   grep -v '^ *+' conftest.er1 >conftest.err
12730   rm -f conftest.er1
12731   cat conftest.err >&5
12732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12733   (exit $ac_status); } &&
12734          { ac_try='test -z "$ac_cxx_werror_flag"
12735                          || test ! -s conftest.err'
12736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12737   (eval $ac_try) 2>&5
12738   ac_status=$?
12739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12740   (exit $ac_status); }; } &&
12741          { ac_try='test -s conftest.$ac_objext'
12742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12743   (eval $ac_try) 2>&5
12744   ac_status=$?
12745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12746   (exit $ac_status); }; }; then
12747   glibcxx_cv_func__isnanf_use=yes
12748 else
12749   echo "$as_me: failed program was:" >&5
12750 sed 's/^/| /' conftest.$ac_ext >&5
12751
12752 glibcxx_cv_func__isnanf_use=no
12753 fi
12754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12755       ac_ext=c
12756 ac_cpp='$CPP $CPPFLAGS'
12757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12760
12761
12762 fi
12763
12764   fi
12765   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12766 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12767
12768     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12769
12770 for ac_func in _isnanf
12771 do
12772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12773 echo "$as_me:$LINENO: checking for $ac_func" >&5
12774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12775 if eval "test \"\${$as_ac_var+set}\" = set"; then
12776   echo $ECHO_N "(cached) $ECHO_C" >&6
12777 else
12778   if test x$gcc_no_link = xyes; then
12779   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12781    { (exit 1); exit 1; }; }
12782 fi
12783 cat >conftest.$ac_ext <<_ACEOF
12784 /* confdefs.h.  */
12785 _ACEOF
12786 cat confdefs.h >>conftest.$ac_ext
12787 cat >>conftest.$ac_ext <<_ACEOF
12788 /* end confdefs.h.  */
12789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12790    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12791 #define $ac_func innocuous_$ac_func
12792
12793 /* System header to define __stub macros and hopefully few prototypes,
12794     which can conflict with char $ac_func (); below.
12795     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12796     <limits.h> exists even on freestanding compilers.  */
12797
12798 #ifdef __STDC__
12799 # include <limits.h>
12800 #else
12801 # include <assert.h>
12802 #endif
12803
12804 #undef $ac_func
12805
12806 /* Override any gcc2 internal prototype to avoid an error.  */
12807 #ifdef __cplusplus
12808 extern "C"
12809 {
12810 #endif
12811 /* We use char because int might match the return type of a gcc2
12812    builtin and then its argument prototype would still apply.  */
12813 char $ac_func ();
12814 /* The GNU C library defines this for functions which it implements
12815     to always fail with ENOSYS.  Some functions are actually named
12816     something starting with __ and the normal name is an alias.  */
12817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12818 choke me
12819 #else
12820 char (*f) () = $ac_func;
12821 #endif
12822 #ifdef __cplusplus
12823 }
12824 #endif
12825
12826 int
12827 main ()
12828 {
12829 return f != $ac_func;
12830   ;
12831   return 0;
12832 }
12833 _ACEOF
12834 rm -f conftest.$ac_objext conftest$ac_exeext
12835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12836   (eval $ac_link) 2>conftest.er1
12837   ac_status=$?
12838   grep -v '^ *+' conftest.er1 >conftest.err
12839   rm -f conftest.er1
12840   cat conftest.err >&5
12841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842   (exit $ac_status); } &&
12843          { ac_try='test -z "$ac_c_werror_flag"
12844                          || test ! -s conftest.err'
12845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12846   (eval $ac_try) 2>&5
12847   ac_status=$?
12848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12849   (exit $ac_status); }; } &&
12850          { ac_try='test -s conftest$ac_exeext'
12851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12852   (eval $ac_try) 2>&5
12853   ac_status=$?
12854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12855   (exit $ac_status); }; }; then
12856   eval "$as_ac_var=yes"
12857 else
12858   echo "$as_me: failed program was:" >&5
12859 sed 's/^/| /' conftest.$ac_ext >&5
12860
12861 eval "$as_ac_var=no"
12862 fi
12863 rm -f conftest.err conftest.$ac_objext \
12864       conftest$ac_exeext conftest.$ac_ext
12865 fi
12866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12868 if test `eval echo '${'$as_ac_var'}'` = yes; then
12869   cat >>confdefs.h <<_ACEOF
12870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12871 _ACEOF
12872
12873 fi
12874 done
12875
12876     fi
12877   fi
12878
12879
12880
12881
12882
12883
12884   echo "$as_me:$LINENO: checking for isinff declaration" >&5
12885 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12886   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12887     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12888   echo $ECHO_N "(cached) $ECHO_C" >&6
12889 else
12890
12891
12892
12893       ac_ext=cc
12894 ac_cpp='$CXXCPP $CPPFLAGS'
12895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12898
12899       cat >conftest.$ac_ext <<_ACEOF
12900 /* confdefs.h.  */
12901 _ACEOF
12902 cat confdefs.h >>conftest.$ac_ext
12903 cat >>conftest.$ac_ext <<_ACEOF
12904 /* end confdefs.h.  */
12905 #include <math.h>
12906                       #ifdef HAVE_IEEEFP_H
12907                       #include <ieeefp.h>
12908                       #endif
12909
12910 int
12911 main ()
12912 {
12913  isinff(0);
12914   ;
12915   return 0;
12916 }
12917 _ACEOF
12918 rm -f conftest.$ac_objext
12919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12920   (eval $ac_compile) 2>conftest.er1
12921   ac_status=$?
12922   grep -v '^ *+' conftest.er1 >conftest.err
12923   rm -f conftest.er1
12924   cat conftest.err >&5
12925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12926   (exit $ac_status); } &&
12927          { ac_try='test -z "$ac_cxx_werror_flag"
12928                          || test ! -s conftest.err'
12929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12930   (eval $ac_try) 2>&5
12931   ac_status=$?
12932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12933   (exit $ac_status); }; } &&
12934          { ac_try='test -s conftest.$ac_objext'
12935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12936   (eval $ac_try) 2>&5
12937   ac_status=$?
12938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12939   (exit $ac_status); }; }; then
12940   glibcxx_cv_func_isinff_use=yes
12941 else
12942   echo "$as_me: failed program was:" >&5
12943 sed 's/^/| /' conftest.$ac_ext >&5
12944
12945 glibcxx_cv_func_isinff_use=no
12946 fi
12947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12948       ac_ext=c
12949 ac_cpp='$CPP $CPPFLAGS'
12950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12953
12954
12955 fi
12956
12957   fi
12958   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
12959 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
12960
12961   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
12962
12963 for ac_func in isinff
12964 do
12965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12966 echo "$as_me:$LINENO: checking for $ac_func" >&5
12967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12968 if eval "test \"\${$as_ac_var+set}\" = set"; then
12969   echo $ECHO_N "(cached) $ECHO_C" >&6
12970 else
12971   if test x$gcc_no_link = xyes; then
12972   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12974    { (exit 1); exit 1; }; }
12975 fi
12976 cat >conftest.$ac_ext <<_ACEOF
12977 /* confdefs.h.  */
12978 _ACEOF
12979 cat confdefs.h >>conftest.$ac_ext
12980 cat >>conftest.$ac_ext <<_ACEOF
12981 /* end confdefs.h.  */
12982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12983    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12984 #define $ac_func innocuous_$ac_func
12985
12986 /* System header to define __stub macros and hopefully few prototypes,
12987     which can conflict with char $ac_func (); below.
12988     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12989     <limits.h> exists even on freestanding compilers.  */
12990
12991 #ifdef __STDC__
12992 # include <limits.h>
12993 #else
12994 # include <assert.h>
12995 #endif
12996
12997 #undef $ac_func
12998
12999 /* Override any gcc2 internal prototype to avoid an error.  */
13000 #ifdef __cplusplus
13001 extern "C"
13002 {
13003 #endif
13004 /* We use char because int might match the return type of a gcc2
13005    builtin and then its argument prototype would still apply.  */
13006 char $ac_func ();
13007 /* The GNU C library defines this for functions which it implements
13008     to always fail with ENOSYS.  Some functions are actually named
13009     something starting with __ and the normal name is an alias.  */
13010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13011 choke me
13012 #else
13013 char (*f) () = $ac_func;
13014 #endif
13015 #ifdef __cplusplus
13016 }
13017 #endif
13018
13019 int
13020 main ()
13021 {
13022 return f != $ac_func;
13023   ;
13024   return 0;
13025 }
13026 _ACEOF
13027 rm -f conftest.$ac_objext conftest$ac_exeext
13028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13029   (eval $ac_link) 2>conftest.er1
13030   ac_status=$?
13031   grep -v '^ *+' conftest.er1 >conftest.err
13032   rm -f conftest.er1
13033   cat conftest.err >&5
13034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13035   (exit $ac_status); } &&
13036          { ac_try='test -z "$ac_c_werror_flag"
13037                          || test ! -s conftest.err'
13038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13039   (eval $ac_try) 2>&5
13040   ac_status=$?
13041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13042   (exit $ac_status); }; } &&
13043          { ac_try='test -s conftest$ac_exeext'
13044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13045   (eval $ac_try) 2>&5
13046   ac_status=$?
13047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048   (exit $ac_status); }; }; then
13049   eval "$as_ac_var=yes"
13050 else
13051   echo "$as_me: failed program was:" >&5
13052 sed 's/^/| /' conftest.$ac_ext >&5
13053
13054 eval "$as_ac_var=no"
13055 fi
13056 rm -f conftest.err conftest.$ac_objext \
13057       conftest$ac_exeext conftest.$ac_ext
13058 fi
13059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13061 if test `eval echo '${'$as_ac_var'}'` = yes; then
13062   cat >>confdefs.h <<_ACEOF
13063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13064 _ACEOF
13065
13066 fi
13067 done
13068
13069   else
13070
13071   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
13072 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
13073   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
13074     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
13075   echo $ECHO_N "(cached) $ECHO_C" >&6
13076 else
13077
13078
13079
13080       ac_ext=cc
13081 ac_cpp='$CXXCPP $CPPFLAGS'
13082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13085
13086       cat >conftest.$ac_ext <<_ACEOF
13087 /* confdefs.h.  */
13088 _ACEOF
13089 cat confdefs.h >>conftest.$ac_ext
13090 cat >>conftest.$ac_ext <<_ACEOF
13091 /* end confdefs.h.  */
13092 #include <math.h>
13093                       #ifdef HAVE_IEEEFP_H
13094                       #include <ieeefp.h>
13095                       #endif
13096
13097 int
13098 main ()
13099 {
13100  _isinff(0);
13101   ;
13102   return 0;
13103 }
13104 _ACEOF
13105 rm -f conftest.$ac_objext
13106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13107   (eval $ac_compile) 2>conftest.er1
13108   ac_status=$?
13109   grep -v '^ *+' conftest.er1 >conftest.err
13110   rm -f conftest.er1
13111   cat conftest.err >&5
13112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13113   (exit $ac_status); } &&
13114          { ac_try='test -z "$ac_cxx_werror_flag"
13115                          || test ! -s conftest.err'
13116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13117   (eval $ac_try) 2>&5
13118   ac_status=$?
13119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13120   (exit $ac_status); }; } &&
13121          { ac_try='test -s conftest.$ac_objext'
13122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13123   (eval $ac_try) 2>&5
13124   ac_status=$?
13125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13126   (exit $ac_status); }; }; then
13127   glibcxx_cv_func__isinff_use=yes
13128 else
13129   echo "$as_me: failed program was:" >&5
13130 sed 's/^/| /' conftest.$ac_ext >&5
13131
13132 glibcxx_cv_func__isinff_use=no
13133 fi
13134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13135       ac_ext=c
13136 ac_cpp='$CPP $CPPFLAGS'
13137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13140
13141
13142 fi
13143
13144   fi
13145   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
13146 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
13147
13148     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
13149
13150 for ac_func in _isinff
13151 do
13152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13153 echo "$as_me:$LINENO: checking for $ac_func" >&5
13154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13155 if eval "test \"\${$as_ac_var+set}\" = set"; then
13156   echo $ECHO_N "(cached) $ECHO_C" >&6
13157 else
13158   if test x$gcc_no_link = xyes; then
13159   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13161    { (exit 1); exit 1; }; }
13162 fi
13163 cat >conftest.$ac_ext <<_ACEOF
13164 /* confdefs.h.  */
13165 _ACEOF
13166 cat confdefs.h >>conftest.$ac_ext
13167 cat >>conftest.$ac_ext <<_ACEOF
13168 /* end confdefs.h.  */
13169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13170    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13171 #define $ac_func innocuous_$ac_func
13172
13173 /* System header to define __stub macros and hopefully few prototypes,
13174     which can conflict with char $ac_func (); below.
13175     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13176     <limits.h> exists even on freestanding compilers.  */
13177
13178 #ifdef __STDC__
13179 # include <limits.h>
13180 #else
13181 # include <assert.h>
13182 #endif
13183
13184 #undef $ac_func
13185
13186 /* Override any gcc2 internal prototype to avoid an error.  */
13187 #ifdef __cplusplus
13188 extern "C"
13189 {
13190 #endif
13191 /* We use char because int might match the return type of a gcc2
13192    builtin and then its argument prototype would still apply.  */
13193 char $ac_func ();
13194 /* The GNU C library defines this for functions which it implements
13195     to always fail with ENOSYS.  Some functions are actually named
13196     something starting with __ and the normal name is an alias.  */
13197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13198 choke me
13199 #else
13200 char (*f) () = $ac_func;
13201 #endif
13202 #ifdef __cplusplus
13203 }
13204 #endif
13205
13206 int
13207 main ()
13208 {
13209 return f != $ac_func;
13210   ;
13211   return 0;
13212 }
13213 _ACEOF
13214 rm -f conftest.$ac_objext conftest$ac_exeext
13215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13216   (eval $ac_link) 2>conftest.er1
13217   ac_status=$?
13218   grep -v '^ *+' conftest.er1 >conftest.err
13219   rm -f conftest.er1
13220   cat conftest.err >&5
13221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13222   (exit $ac_status); } &&
13223          { ac_try='test -z "$ac_c_werror_flag"
13224                          || test ! -s conftest.err'
13225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13226   (eval $ac_try) 2>&5
13227   ac_status=$?
13228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13229   (exit $ac_status); }; } &&
13230          { ac_try='test -s conftest$ac_exeext'
13231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13232   (eval $ac_try) 2>&5
13233   ac_status=$?
13234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13235   (exit $ac_status); }; }; then
13236   eval "$as_ac_var=yes"
13237 else
13238   echo "$as_me: failed program was:" >&5
13239 sed 's/^/| /' conftest.$ac_ext >&5
13240
13241 eval "$as_ac_var=no"
13242 fi
13243 rm -f conftest.err conftest.$ac_objext \
13244       conftest$ac_exeext conftest.$ac_ext
13245 fi
13246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13248 if test `eval echo '${'$as_ac_var'}'` = yes; then
13249   cat >>confdefs.h <<_ACEOF
13250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13251 _ACEOF
13252
13253 fi
13254 done
13255
13256     fi
13257   fi
13258
13259
13260
13261
13262
13263
13264   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
13265 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
13266   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13267     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
13268   echo $ECHO_N "(cached) $ECHO_C" >&6
13269 else
13270
13271
13272
13273       ac_ext=cc
13274 ac_cpp='$CXXCPP $CPPFLAGS'
13275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13278
13279       cat >conftest.$ac_ext <<_ACEOF
13280 /* confdefs.h.  */
13281 _ACEOF
13282 cat confdefs.h >>conftest.$ac_ext
13283 cat >>conftest.$ac_ext <<_ACEOF
13284 /* end confdefs.h.  */
13285 #include <math.h>
13286 int
13287 main ()
13288 {
13289  atan2f(0, 0);
13290   ;
13291   return 0;
13292 }
13293 _ACEOF
13294 rm -f conftest.$ac_objext
13295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13296   (eval $ac_compile) 2>conftest.er1
13297   ac_status=$?
13298   grep -v '^ *+' conftest.er1 >conftest.err
13299   rm -f conftest.er1
13300   cat conftest.err >&5
13301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13302   (exit $ac_status); } &&
13303          { ac_try='test -z "$ac_cxx_werror_flag"
13304                          || test ! -s conftest.err'
13305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13306   (eval $ac_try) 2>&5
13307   ac_status=$?
13308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13309   (exit $ac_status); }; } &&
13310          { ac_try='test -s conftest.$ac_objext'
13311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13312   (eval $ac_try) 2>&5
13313   ac_status=$?
13314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13315   (exit $ac_status); }; }; then
13316   glibcxx_cv_func_atan2f_use=yes
13317 else
13318   echo "$as_me: failed program was:" >&5
13319 sed 's/^/| /' conftest.$ac_ext >&5
13320
13321 glibcxx_cv_func_atan2f_use=no
13322 fi
13323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13324       ac_ext=c
13325 ac_cpp='$CPP $CPPFLAGS'
13326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13329
13330
13331 fi
13332
13333   fi
13334   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
13335 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
13336
13337   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13338
13339 for ac_func in atan2f
13340 do
13341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13342 echo "$as_me:$LINENO: checking for $ac_func" >&5
13343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13344 if eval "test \"\${$as_ac_var+set}\" = set"; then
13345   echo $ECHO_N "(cached) $ECHO_C" >&6
13346 else
13347   if test x$gcc_no_link = xyes; then
13348   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13350    { (exit 1); exit 1; }; }
13351 fi
13352 cat >conftest.$ac_ext <<_ACEOF
13353 /* confdefs.h.  */
13354 _ACEOF
13355 cat confdefs.h >>conftest.$ac_ext
13356 cat >>conftest.$ac_ext <<_ACEOF
13357 /* end confdefs.h.  */
13358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13359    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13360 #define $ac_func innocuous_$ac_func
13361
13362 /* System header to define __stub macros and hopefully few prototypes,
13363     which can conflict with char $ac_func (); below.
13364     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13365     <limits.h> exists even on freestanding compilers.  */
13366
13367 #ifdef __STDC__
13368 # include <limits.h>
13369 #else
13370 # include <assert.h>
13371 #endif
13372
13373 #undef $ac_func
13374
13375 /* Override any gcc2 internal prototype to avoid an error.  */
13376 #ifdef __cplusplus
13377 extern "C"
13378 {
13379 #endif
13380 /* We use char because int might match the return type of a gcc2
13381    builtin and then its argument prototype would still apply.  */
13382 char $ac_func ();
13383 /* The GNU C library defines this for functions which it implements
13384     to always fail with ENOSYS.  Some functions are actually named
13385     something starting with __ and the normal name is an alias.  */
13386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13387 choke me
13388 #else
13389 char (*f) () = $ac_func;
13390 #endif
13391 #ifdef __cplusplus
13392 }
13393 #endif
13394
13395 int
13396 main ()
13397 {
13398 return f != $ac_func;
13399   ;
13400   return 0;
13401 }
13402 _ACEOF
13403 rm -f conftest.$ac_objext conftest$ac_exeext
13404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13405   (eval $ac_link) 2>conftest.er1
13406   ac_status=$?
13407   grep -v '^ *+' conftest.er1 >conftest.err
13408   rm -f conftest.er1
13409   cat conftest.err >&5
13410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13411   (exit $ac_status); } &&
13412          { ac_try='test -z "$ac_c_werror_flag"
13413                          || test ! -s conftest.err'
13414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13415   (eval $ac_try) 2>&5
13416   ac_status=$?
13417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13418   (exit $ac_status); }; } &&
13419          { ac_try='test -s conftest$ac_exeext'
13420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13421   (eval $ac_try) 2>&5
13422   ac_status=$?
13423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13424   (exit $ac_status); }; }; then
13425   eval "$as_ac_var=yes"
13426 else
13427   echo "$as_me: failed program was:" >&5
13428 sed 's/^/| /' conftest.$ac_ext >&5
13429
13430 eval "$as_ac_var=no"
13431 fi
13432 rm -f conftest.err conftest.$ac_objext \
13433       conftest$ac_exeext conftest.$ac_ext
13434 fi
13435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13437 if test `eval echo '${'$as_ac_var'}'` = yes; then
13438   cat >>confdefs.h <<_ACEOF
13439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13440 _ACEOF
13441
13442 fi
13443 done
13444
13445   else
13446
13447   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13448 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13449   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13450     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13451   echo $ECHO_N "(cached) $ECHO_C" >&6
13452 else
13453
13454
13455
13456       ac_ext=cc
13457 ac_cpp='$CXXCPP $CPPFLAGS'
13458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13461
13462       cat >conftest.$ac_ext <<_ACEOF
13463 /* confdefs.h.  */
13464 _ACEOF
13465 cat confdefs.h >>conftest.$ac_ext
13466 cat >>conftest.$ac_ext <<_ACEOF
13467 /* end confdefs.h.  */
13468 #include <math.h>
13469 int
13470 main ()
13471 {
13472  _atan2f(0, 0);
13473   ;
13474   return 0;
13475 }
13476 _ACEOF
13477 rm -f conftest.$ac_objext
13478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13479   (eval $ac_compile) 2>conftest.er1
13480   ac_status=$?
13481   grep -v '^ *+' conftest.er1 >conftest.err
13482   rm -f conftest.er1
13483   cat conftest.err >&5
13484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13485   (exit $ac_status); } &&
13486          { ac_try='test -z "$ac_cxx_werror_flag"
13487                          || test ! -s conftest.err'
13488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13489   (eval $ac_try) 2>&5
13490   ac_status=$?
13491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13492   (exit $ac_status); }; } &&
13493          { ac_try='test -s conftest.$ac_objext'
13494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13495   (eval $ac_try) 2>&5
13496   ac_status=$?
13497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13498   (exit $ac_status); }; }; then
13499   glibcxx_cv_func__atan2f_use=yes
13500 else
13501   echo "$as_me: failed program was:" >&5
13502 sed 's/^/| /' conftest.$ac_ext >&5
13503
13504 glibcxx_cv_func__atan2f_use=no
13505 fi
13506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13507       ac_ext=c
13508 ac_cpp='$CPP $CPPFLAGS'
13509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13512
13513
13514 fi
13515
13516   fi
13517   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13518 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13519
13520     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13521
13522 for ac_func in _atan2f
13523 do
13524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13525 echo "$as_me:$LINENO: checking for $ac_func" >&5
13526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13527 if eval "test \"\${$as_ac_var+set}\" = set"; then
13528   echo $ECHO_N "(cached) $ECHO_C" >&6
13529 else
13530   if test x$gcc_no_link = xyes; then
13531   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13533    { (exit 1); exit 1; }; }
13534 fi
13535 cat >conftest.$ac_ext <<_ACEOF
13536 /* confdefs.h.  */
13537 _ACEOF
13538 cat confdefs.h >>conftest.$ac_ext
13539 cat >>conftest.$ac_ext <<_ACEOF
13540 /* end confdefs.h.  */
13541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13542    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13543 #define $ac_func innocuous_$ac_func
13544
13545 /* System header to define __stub macros and hopefully few prototypes,
13546     which can conflict with char $ac_func (); below.
13547     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13548     <limits.h> exists even on freestanding compilers.  */
13549
13550 #ifdef __STDC__
13551 # include <limits.h>
13552 #else
13553 # include <assert.h>
13554 #endif
13555
13556 #undef $ac_func
13557
13558 /* Override any gcc2 internal prototype to avoid an error.  */
13559 #ifdef __cplusplus
13560 extern "C"
13561 {
13562 #endif
13563 /* We use char because int might match the return type of a gcc2
13564    builtin and then its argument prototype would still apply.  */
13565 char $ac_func ();
13566 /* The GNU C library defines this for functions which it implements
13567     to always fail with ENOSYS.  Some functions are actually named
13568     something starting with __ and the normal name is an alias.  */
13569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13570 choke me
13571 #else
13572 char (*f) () = $ac_func;
13573 #endif
13574 #ifdef __cplusplus
13575 }
13576 #endif
13577
13578 int
13579 main ()
13580 {
13581 return f != $ac_func;
13582   ;
13583   return 0;
13584 }
13585 _ACEOF
13586 rm -f conftest.$ac_objext conftest$ac_exeext
13587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13588   (eval $ac_link) 2>conftest.er1
13589   ac_status=$?
13590   grep -v '^ *+' conftest.er1 >conftest.err
13591   rm -f conftest.er1
13592   cat conftest.err >&5
13593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13594   (exit $ac_status); } &&
13595          { ac_try='test -z "$ac_c_werror_flag"
13596                          || test ! -s conftest.err'
13597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13598   (eval $ac_try) 2>&5
13599   ac_status=$?
13600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13601   (exit $ac_status); }; } &&
13602          { ac_try='test -s conftest$ac_exeext'
13603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13604   (eval $ac_try) 2>&5
13605   ac_status=$?
13606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13607   (exit $ac_status); }; }; then
13608   eval "$as_ac_var=yes"
13609 else
13610   echo "$as_me: failed program was:" >&5
13611 sed 's/^/| /' conftest.$ac_ext >&5
13612
13613 eval "$as_ac_var=no"
13614 fi
13615 rm -f conftest.err conftest.$ac_objext \
13616       conftest$ac_exeext conftest.$ac_ext
13617 fi
13618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13620 if test `eval echo '${'$as_ac_var'}'` = yes; then
13621   cat >>confdefs.h <<_ACEOF
13622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13623 _ACEOF
13624
13625 fi
13626 done
13627
13628     fi
13629   fi
13630
13631
13632
13633
13634
13635
13636   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13637 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13638   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13639     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13640   echo $ECHO_N "(cached) $ECHO_C" >&6
13641 else
13642
13643
13644
13645       ac_ext=cc
13646 ac_cpp='$CXXCPP $CPPFLAGS'
13647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13650
13651       cat >conftest.$ac_ext <<_ACEOF
13652 /* confdefs.h.  */
13653 _ACEOF
13654 cat confdefs.h >>conftest.$ac_ext
13655 cat >>conftest.$ac_ext <<_ACEOF
13656 /* end confdefs.h.  */
13657 #include <math.h>
13658                       #ifdef HAVE_IEEEFP_H
13659                       #include <ieeefp.h>
13660                       #endif
13661
13662 int
13663 main ()
13664 {
13665  fabsf(0);
13666   ;
13667   return 0;
13668 }
13669 _ACEOF
13670 rm -f conftest.$ac_objext
13671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13672   (eval $ac_compile) 2>conftest.er1
13673   ac_status=$?
13674   grep -v '^ *+' conftest.er1 >conftest.err
13675   rm -f conftest.er1
13676   cat conftest.err >&5
13677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13678   (exit $ac_status); } &&
13679          { ac_try='test -z "$ac_cxx_werror_flag"
13680                          || test ! -s conftest.err'
13681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13682   (eval $ac_try) 2>&5
13683   ac_status=$?
13684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13685   (exit $ac_status); }; } &&
13686          { ac_try='test -s conftest.$ac_objext'
13687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13688   (eval $ac_try) 2>&5
13689   ac_status=$?
13690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13691   (exit $ac_status); }; }; then
13692   glibcxx_cv_func_fabsf_use=yes
13693 else
13694   echo "$as_me: failed program was:" >&5
13695 sed 's/^/| /' conftest.$ac_ext >&5
13696
13697 glibcxx_cv_func_fabsf_use=no
13698 fi
13699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13700       ac_ext=c
13701 ac_cpp='$CPP $CPPFLAGS'
13702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13705
13706
13707 fi
13708
13709   fi
13710   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13711 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13712
13713   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13714
13715 for ac_func in fabsf
13716 do
13717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13718 echo "$as_me:$LINENO: checking for $ac_func" >&5
13719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13720 if eval "test \"\${$as_ac_var+set}\" = set"; then
13721   echo $ECHO_N "(cached) $ECHO_C" >&6
13722 else
13723   if test x$gcc_no_link = xyes; then
13724   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13726    { (exit 1); exit 1; }; }
13727 fi
13728 cat >conftest.$ac_ext <<_ACEOF
13729 /* confdefs.h.  */
13730 _ACEOF
13731 cat confdefs.h >>conftest.$ac_ext
13732 cat >>conftest.$ac_ext <<_ACEOF
13733 /* end confdefs.h.  */
13734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13735    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13736 #define $ac_func innocuous_$ac_func
13737
13738 /* System header to define __stub macros and hopefully few prototypes,
13739     which can conflict with char $ac_func (); below.
13740     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13741     <limits.h> exists even on freestanding compilers.  */
13742
13743 #ifdef __STDC__
13744 # include <limits.h>
13745 #else
13746 # include <assert.h>
13747 #endif
13748
13749 #undef $ac_func
13750
13751 /* Override any gcc2 internal prototype to avoid an error.  */
13752 #ifdef __cplusplus
13753 extern "C"
13754 {
13755 #endif
13756 /* We use char because int might match the return type of a gcc2
13757    builtin and then its argument prototype would still apply.  */
13758 char $ac_func ();
13759 /* The GNU C library defines this for functions which it implements
13760     to always fail with ENOSYS.  Some functions are actually named
13761     something starting with __ and the normal name is an alias.  */
13762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13763 choke me
13764 #else
13765 char (*f) () = $ac_func;
13766 #endif
13767 #ifdef __cplusplus
13768 }
13769 #endif
13770
13771 int
13772 main ()
13773 {
13774 return f != $ac_func;
13775   ;
13776   return 0;
13777 }
13778 _ACEOF
13779 rm -f conftest.$ac_objext conftest$ac_exeext
13780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13781   (eval $ac_link) 2>conftest.er1
13782   ac_status=$?
13783   grep -v '^ *+' conftest.er1 >conftest.err
13784   rm -f conftest.er1
13785   cat conftest.err >&5
13786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787   (exit $ac_status); } &&
13788          { ac_try='test -z "$ac_c_werror_flag"
13789                          || test ! -s conftest.err'
13790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13791   (eval $ac_try) 2>&5
13792   ac_status=$?
13793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13794   (exit $ac_status); }; } &&
13795          { ac_try='test -s conftest$ac_exeext'
13796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13797   (eval $ac_try) 2>&5
13798   ac_status=$?
13799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13800   (exit $ac_status); }; }; then
13801   eval "$as_ac_var=yes"
13802 else
13803   echo "$as_me: failed program was:" >&5
13804 sed 's/^/| /' conftest.$ac_ext >&5
13805
13806 eval "$as_ac_var=no"
13807 fi
13808 rm -f conftest.err conftest.$ac_objext \
13809       conftest$ac_exeext conftest.$ac_ext
13810 fi
13811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13813 if test `eval echo '${'$as_ac_var'}'` = yes; then
13814   cat >>confdefs.h <<_ACEOF
13815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13816 _ACEOF
13817
13818 fi
13819 done
13820
13821   else
13822
13823   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13824 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13825   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13826     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13827   echo $ECHO_N "(cached) $ECHO_C" >&6
13828 else
13829
13830
13831
13832       ac_ext=cc
13833 ac_cpp='$CXXCPP $CPPFLAGS'
13834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13837
13838       cat >conftest.$ac_ext <<_ACEOF
13839 /* confdefs.h.  */
13840 _ACEOF
13841 cat confdefs.h >>conftest.$ac_ext
13842 cat >>conftest.$ac_ext <<_ACEOF
13843 /* end confdefs.h.  */
13844 #include <math.h>
13845                       #ifdef HAVE_IEEEFP_H
13846                       #include <ieeefp.h>
13847                       #endif
13848
13849 int
13850 main ()
13851 {
13852  _fabsf(0);
13853   ;
13854   return 0;
13855 }
13856 _ACEOF
13857 rm -f conftest.$ac_objext
13858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13859   (eval $ac_compile) 2>conftest.er1
13860   ac_status=$?
13861   grep -v '^ *+' conftest.er1 >conftest.err
13862   rm -f conftest.er1
13863   cat conftest.err >&5
13864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865   (exit $ac_status); } &&
13866          { ac_try='test -z "$ac_cxx_werror_flag"
13867                          || test ! -s conftest.err'
13868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13869   (eval $ac_try) 2>&5
13870   ac_status=$?
13871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13872   (exit $ac_status); }; } &&
13873          { ac_try='test -s conftest.$ac_objext'
13874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13875   (eval $ac_try) 2>&5
13876   ac_status=$?
13877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13878   (exit $ac_status); }; }; then
13879   glibcxx_cv_func__fabsf_use=yes
13880 else
13881   echo "$as_me: failed program was:" >&5
13882 sed 's/^/| /' conftest.$ac_ext >&5
13883
13884 glibcxx_cv_func__fabsf_use=no
13885 fi
13886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13887       ac_ext=c
13888 ac_cpp='$CPP $CPPFLAGS'
13889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13892
13893
13894 fi
13895
13896   fi
13897   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13898 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13899
13900     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13901
13902 for ac_func in _fabsf
13903 do
13904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13905 echo "$as_me:$LINENO: checking for $ac_func" >&5
13906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13907 if eval "test \"\${$as_ac_var+set}\" = set"; then
13908   echo $ECHO_N "(cached) $ECHO_C" >&6
13909 else
13910   if test x$gcc_no_link = xyes; then
13911   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13913    { (exit 1); exit 1; }; }
13914 fi
13915 cat >conftest.$ac_ext <<_ACEOF
13916 /* confdefs.h.  */
13917 _ACEOF
13918 cat confdefs.h >>conftest.$ac_ext
13919 cat >>conftest.$ac_ext <<_ACEOF
13920 /* end confdefs.h.  */
13921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13922    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13923 #define $ac_func innocuous_$ac_func
13924
13925 /* System header to define __stub macros and hopefully few prototypes,
13926     which can conflict with char $ac_func (); below.
13927     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13928     <limits.h> exists even on freestanding compilers.  */
13929
13930 #ifdef __STDC__
13931 # include <limits.h>
13932 #else
13933 # include <assert.h>
13934 #endif
13935
13936 #undef $ac_func
13937
13938 /* Override any gcc2 internal prototype to avoid an error.  */
13939 #ifdef __cplusplus
13940 extern "C"
13941 {
13942 #endif
13943 /* We use char because int might match the return type of a gcc2
13944    builtin and then its argument prototype would still apply.  */
13945 char $ac_func ();
13946 /* The GNU C library defines this for functions which it implements
13947     to always fail with ENOSYS.  Some functions are actually named
13948     something starting with __ and the normal name is an alias.  */
13949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13950 choke me
13951 #else
13952 char (*f) () = $ac_func;
13953 #endif
13954 #ifdef __cplusplus
13955 }
13956 #endif
13957
13958 int
13959 main ()
13960 {
13961 return f != $ac_func;
13962   ;
13963   return 0;
13964 }
13965 _ACEOF
13966 rm -f conftest.$ac_objext conftest$ac_exeext
13967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13968   (eval $ac_link) 2>conftest.er1
13969   ac_status=$?
13970   grep -v '^ *+' conftest.er1 >conftest.err
13971   rm -f conftest.er1
13972   cat conftest.err >&5
13973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13974   (exit $ac_status); } &&
13975          { ac_try='test -z "$ac_c_werror_flag"
13976                          || test ! -s conftest.err'
13977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13978   (eval $ac_try) 2>&5
13979   ac_status=$?
13980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13981   (exit $ac_status); }; } &&
13982          { ac_try='test -s conftest$ac_exeext'
13983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13984   (eval $ac_try) 2>&5
13985   ac_status=$?
13986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13987   (exit $ac_status); }; }; then
13988   eval "$as_ac_var=yes"
13989 else
13990   echo "$as_me: failed program was:" >&5
13991 sed 's/^/| /' conftest.$ac_ext >&5
13992
13993 eval "$as_ac_var=no"
13994 fi
13995 rm -f conftest.err conftest.$ac_objext \
13996       conftest$ac_exeext conftest.$ac_ext
13997 fi
13998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14000 if test `eval echo '${'$as_ac_var'}'` = yes; then
14001   cat >>confdefs.h <<_ACEOF
14002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14003 _ACEOF
14004
14005 fi
14006 done
14007
14008     fi
14009   fi
14010
14011
14012
14013
14014
14015
14016   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
14017 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
14018   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
14019     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
14020   echo $ECHO_N "(cached) $ECHO_C" >&6
14021 else
14022
14023
14024
14025       ac_ext=cc
14026 ac_cpp='$CXXCPP $CPPFLAGS'
14027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14030
14031       cat >conftest.$ac_ext <<_ACEOF
14032 /* confdefs.h.  */
14033 _ACEOF
14034 cat confdefs.h >>conftest.$ac_ext
14035 cat >>conftest.$ac_ext <<_ACEOF
14036 /* end confdefs.h.  */
14037 #include <math.h>
14038 int
14039 main ()
14040 {
14041  fmodf(0, 0);
14042   ;
14043   return 0;
14044 }
14045 _ACEOF
14046 rm -f conftest.$ac_objext
14047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14048   (eval $ac_compile) 2>conftest.er1
14049   ac_status=$?
14050   grep -v '^ *+' conftest.er1 >conftest.err
14051   rm -f conftest.er1
14052   cat conftest.err >&5
14053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14054   (exit $ac_status); } &&
14055          { ac_try='test -z "$ac_cxx_werror_flag"
14056                          || test ! -s conftest.err'
14057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14058   (eval $ac_try) 2>&5
14059   ac_status=$?
14060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14061   (exit $ac_status); }; } &&
14062          { ac_try='test -s conftest.$ac_objext'
14063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14064   (eval $ac_try) 2>&5
14065   ac_status=$?
14066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14067   (exit $ac_status); }; }; then
14068   glibcxx_cv_func_fmodf_use=yes
14069 else
14070   echo "$as_me: failed program was:" >&5
14071 sed 's/^/| /' conftest.$ac_ext >&5
14072
14073 glibcxx_cv_func_fmodf_use=no
14074 fi
14075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14076       ac_ext=c
14077 ac_cpp='$CPP $CPPFLAGS'
14078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14081
14082
14083 fi
14084
14085   fi
14086   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
14087 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
14088
14089   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
14090
14091 for ac_func in fmodf
14092 do
14093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14094 echo "$as_me:$LINENO: checking for $ac_func" >&5
14095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14096 if eval "test \"\${$as_ac_var+set}\" = set"; then
14097   echo $ECHO_N "(cached) $ECHO_C" >&6
14098 else
14099   if test x$gcc_no_link = xyes; then
14100   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14102    { (exit 1); exit 1; }; }
14103 fi
14104 cat >conftest.$ac_ext <<_ACEOF
14105 /* confdefs.h.  */
14106 _ACEOF
14107 cat confdefs.h >>conftest.$ac_ext
14108 cat >>conftest.$ac_ext <<_ACEOF
14109 /* end confdefs.h.  */
14110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14111    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14112 #define $ac_func innocuous_$ac_func
14113
14114 /* System header to define __stub macros and hopefully few prototypes,
14115     which can conflict with char $ac_func (); below.
14116     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14117     <limits.h> exists even on freestanding compilers.  */
14118
14119 #ifdef __STDC__
14120 # include <limits.h>
14121 #else
14122 # include <assert.h>
14123 #endif
14124
14125 #undef $ac_func
14126
14127 /* Override any gcc2 internal prototype to avoid an error.  */
14128 #ifdef __cplusplus
14129 extern "C"
14130 {
14131 #endif
14132 /* We use char because int might match the return type of a gcc2
14133    builtin and then its argument prototype would still apply.  */
14134 char $ac_func ();
14135 /* The GNU C library defines this for functions which it implements
14136     to always fail with ENOSYS.  Some functions are actually named
14137     something starting with __ and the normal name is an alias.  */
14138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14139 choke me
14140 #else
14141 char (*f) () = $ac_func;
14142 #endif
14143 #ifdef __cplusplus
14144 }
14145 #endif
14146
14147 int
14148 main ()
14149 {
14150 return f != $ac_func;
14151   ;
14152   return 0;
14153 }
14154 _ACEOF
14155 rm -f conftest.$ac_objext conftest$ac_exeext
14156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14157   (eval $ac_link) 2>conftest.er1
14158   ac_status=$?
14159   grep -v '^ *+' conftest.er1 >conftest.err
14160   rm -f conftest.er1
14161   cat conftest.err >&5
14162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14163   (exit $ac_status); } &&
14164          { ac_try='test -z "$ac_c_werror_flag"
14165                          || test ! -s conftest.err'
14166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14167   (eval $ac_try) 2>&5
14168   ac_status=$?
14169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14170   (exit $ac_status); }; } &&
14171          { ac_try='test -s conftest$ac_exeext'
14172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14173   (eval $ac_try) 2>&5
14174   ac_status=$?
14175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176   (exit $ac_status); }; }; then
14177   eval "$as_ac_var=yes"
14178 else
14179   echo "$as_me: failed program was:" >&5
14180 sed 's/^/| /' conftest.$ac_ext >&5
14181
14182 eval "$as_ac_var=no"
14183 fi
14184 rm -f conftest.err conftest.$ac_objext \
14185       conftest$ac_exeext conftest.$ac_ext
14186 fi
14187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14189 if test `eval echo '${'$as_ac_var'}'` = yes; then
14190   cat >>confdefs.h <<_ACEOF
14191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14192 _ACEOF
14193
14194 fi
14195 done
14196
14197   else
14198
14199   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
14200 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
14201   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
14202     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
14203   echo $ECHO_N "(cached) $ECHO_C" >&6
14204 else
14205
14206
14207
14208       ac_ext=cc
14209 ac_cpp='$CXXCPP $CPPFLAGS'
14210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14213
14214       cat >conftest.$ac_ext <<_ACEOF
14215 /* confdefs.h.  */
14216 _ACEOF
14217 cat confdefs.h >>conftest.$ac_ext
14218 cat >>conftest.$ac_ext <<_ACEOF
14219 /* end confdefs.h.  */
14220 #include <math.h>
14221 int
14222 main ()
14223 {
14224  _fmodf(0, 0);
14225   ;
14226   return 0;
14227 }
14228 _ACEOF
14229 rm -f conftest.$ac_objext
14230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14231   (eval $ac_compile) 2>conftest.er1
14232   ac_status=$?
14233   grep -v '^ *+' conftest.er1 >conftest.err
14234   rm -f conftest.er1
14235   cat conftest.err >&5
14236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237   (exit $ac_status); } &&
14238          { ac_try='test -z "$ac_cxx_werror_flag"
14239                          || test ! -s conftest.err'
14240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14241   (eval $ac_try) 2>&5
14242   ac_status=$?
14243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14244   (exit $ac_status); }; } &&
14245          { ac_try='test -s conftest.$ac_objext'
14246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14247   (eval $ac_try) 2>&5
14248   ac_status=$?
14249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14250   (exit $ac_status); }; }; then
14251   glibcxx_cv_func__fmodf_use=yes
14252 else
14253   echo "$as_me: failed program was:" >&5
14254 sed 's/^/| /' conftest.$ac_ext >&5
14255
14256 glibcxx_cv_func__fmodf_use=no
14257 fi
14258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14259       ac_ext=c
14260 ac_cpp='$CPP $CPPFLAGS'
14261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14264
14265
14266 fi
14267
14268   fi
14269   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
14270 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
14271
14272     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
14273
14274 for ac_func in _fmodf
14275 do
14276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14277 echo "$as_me:$LINENO: checking for $ac_func" >&5
14278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14279 if eval "test \"\${$as_ac_var+set}\" = set"; then
14280   echo $ECHO_N "(cached) $ECHO_C" >&6
14281 else
14282   if test x$gcc_no_link = xyes; then
14283   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14285    { (exit 1); exit 1; }; }
14286 fi
14287 cat >conftest.$ac_ext <<_ACEOF
14288 /* confdefs.h.  */
14289 _ACEOF
14290 cat confdefs.h >>conftest.$ac_ext
14291 cat >>conftest.$ac_ext <<_ACEOF
14292 /* end confdefs.h.  */
14293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14294    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14295 #define $ac_func innocuous_$ac_func
14296
14297 /* System header to define __stub macros and hopefully few prototypes,
14298     which can conflict with char $ac_func (); below.
14299     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14300     <limits.h> exists even on freestanding compilers.  */
14301
14302 #ifdef __STDC__
14303 # include <limits.h>
14304 #else
14305 # include <assert.h>
14306 #endif
14307
14308 #undef $ac_func
14309
14310 /* Override any gcc2 internal prototype to avoid an error.  */
14311 #ifdef __cplusplus
14312 extern "C"
14313 {
14314 #endif
14315 /* We use char because int might match the return type of a gcc2
14316    builtin and then its argument prototype would still apply.  */
14317 char $ac_func ();
14318 /* The GNU C library defines this for functions which it implements
14319     to always fail with ENOSYS.  Some functions are actually named
14320     something starting with __ and the normal name is an alias.  */
14321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14322 choke me
14323 #else
14324 char (*f) () = $ac_func;
14325 #endif
14326 #ifdef __cplusplus
14327 }
14328 #endif
14329
14330 int
14331 main ()
14332 {
14333 return f != $ac_func;
14334   ;
14335   return 0;
14336 }
14337 _ACEOF
14338 rm -f conftest.$ac_objext conftest$ac_exeext
14339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14340   (eval $ac_link) 2>conftest.er1
14341   ac_status=$?
14342   grep -v '^ *+' conftest.er1 >conftest.err
14343   rm -f conftest.er1
14344   cat conftest.err >&5
14345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14346   (exit $ac_status); } &&
14347          { ac_try='test -z "$ac_c_werror_flag"
14348                          || test ! -s conftest.err'
14349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14350   (eval $ac_try) 2>&5
14351   ac_status=$?
14352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14353   (exit $ac_status); }; } &&
14354          { ac_try='test -s conftest$ac_exeext'
14355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14356   (eval $ac_try) 2>&5
14357   ac_status=$?
14358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14359   (exit $ac_status); }; }; then
14360   eval "$as_ac_var=yes"
14361 else
14362   echo "$as_me: failed program was:" >&5
14363 sed 's/^/| /' conftest.$ac_ext >&5
14364
14365 eval "$as_ac_var=no"
14366 fi
14367 rm -f conftest.err conftest.$ac_objext \
14368       conftest$ac_exeext conftest.$ac_ext
14369 fi
14370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14372 if test `eval echo '${'$as_ac_var'}'` = yes; then
14373   cat >>confdefs.h <<_ACEOF
14374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14375 _ACEOF
14376
14377 fi
14378 done
14379
14380     fi
14381   fi
14382
14383
14384
14385
14386
14387
14388   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
14389 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
14390   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
14391     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
14392   echo $ECHO_N "(cached) $ECHO_C" >&6
14393 else
14394
14395
14396
14397       ac_ext=cc
14398 ac_cpp='$CXXCPP $CPPFLAGS'
14399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14402
14403       cat >conftest.$ac_ext <<_ACEOF
14404 /* confdefs.h.  */
14405 _ACEOF
14406 cat confdefs.h >>conftest.$ac_ext
14407 cat >>conftest.$ac_ext <<_ACEOF
14408 /* end confdefs.h.  */
14409 #include <math.h>
14410 int
14411 main ()
14412 {
14413  frexpf(0, 0);
14414   ;
14415   return 0;
14416 }
14417 _ACEOF
14418 rm -f conftest.$ac_objext
14419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14420   (eval $ac_compile) 2>conftest.er1
14421   ac_status=$?
14422   grep -v '^ *+' conftest.er1 >conftest.err
14423   rm -f conftest.er1
14424   cat conftest.err >&5
14425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14426   (exit $ac_status); } &&
14427          { ac_try='test -z "$ac_cxx_werror_flag"
14428                          || test ! -s conftest.err'
14429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14430   (eval $ac_try) 2>&5
14431   ac_status=$?
14432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433   (exit $ac_status); }; } &&
14434          { ac_try='test -s conftest.$ac_objext'
14435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14436   (eval $ac_try) 2>&5
14437   ac_status=$?
14438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14439   (exit $ac_status); }; }; then
14440   glibcxx_cv_func_frexpf_use=yes
14441 else
14442   echo "$as_me: failed program was:" >&5
14443 sed 's/^/| /' conftest.$ac_ext >&5
14444
14445 glibcxx_cv_func_frexpf_use=no
14446 fi
14447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14448       ac_ext=c
14449 ac_cpp='$CPP $CPPFLAGS'
14450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14453
14454
14455 fi
14456
14457   fi
14458   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14459 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14460
14461   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14462
14463 for ac_func in frexpf
14464 do
14465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14466 echo "$as_me:$LINENO: checking for $ac_func" >&5
14467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14468 if eval "test \"\${$as_ac_var+set}\" = set"; then
14469   echo $ECHO_N "(cached) $ECHO_C" >&6
14470 else
14471   if test x$gcc_no_link = xyes; then
14472   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14474    { (exit 1); exit 1; }; }
14475 fi
14476 cat >conftest.$ac_ext <<_ACEOF
14477 /* confdefs.h.  */
14478 _ACEOF
14479 cat confdefs.h >>conftest.$ac_ext
14480 cat >>conftest.$ac_ext <<_ACEOF
14481 /* end confdefs.h.  */
14482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14483    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14484 #define $ac_func innocuous_$ac_func
14485
14486 /* System header to define __stub macros and hopefully few prototypes,
14487     which can conflict with char $ac_func (); below.
14488     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14489     <limits.h> exists even on freestanding compilers.  */
14490
14491 #ifdef __STDC__
14492 # include <limits.h>
14493 #else
14494 # include <assert.h>
14495 #endif
14496
14497 #undef $ac_func
14498
14499 /* Override any gcc2 internal prototype to avoid an error.  */
14500 #ifdef __cplusplus
14501 extern "C"
14502 {
14503 #endif
14504 /* We use char because int might match the return type of a gcc2
14505    builtin and then its argument prototype would still apply.  */
14506 char $ac_func ();
14507 /* The GNU C library defines this for functions which it implements
14508     to always fail with ENOSYS.  Some functions are actually named
14509     something starting with __ and the normal name is an alias.  */
14510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14511 choke me
14512 #else
14513 char (*f) () = $ac_func;
14514 #endif
14515 #ifdef __cplusplus
14516 }
14517 #endif
14518
14519 int
14520 main ()
14521 {
14522 return f != $ac_func;
14523   ;
14524   return 0;
14525 }
14526 _ACEOF
14527 rm -f conftest.$ac_objext conftest$ac_exeext
14528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14529   (eval $ac_link) 2>conftest.er1
14530   ac_status=$?
14531   grep -v '^ *+' conftest.er1 >conftest.err
14532   rm -f conftest.er1
14533   cat conftest.err >&5
14534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14535   (exit $ac_status); } &&
14536          { ac_try='test -z "$ac_c_werror_flag"
14537                          || test ! -s conftest.err'
14538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14539   (eval $ac_try) 2>&5
14540   ac_status=$?
14541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542   (exit $ac_status); }; } &&
14543          { ac_try='test -s conftest$ac_exeext'
14544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14545   (eval $ac_try) 2>&5
14546   ac_status=$?
14547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14548   (exit $ac_status); }; }; then
14549   eval "$as_ac_var=yes"
14550 else
14551   echo "$as_me: failed program was:" >&5
14552 sed 's/^/| /' conftest.$ac_ext >&5
14553
14554 eval "$as_ac_var=no"
14555 fi
14556 rm -f conftest.err conftest.$ac_objext \
14557       conftest$ac_exeext conftest.$ac_ext
14558 fi
14559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14561 if test `eval echo '${'$as_ac_var'}'` = yes; then
14562   cat >>confdefs.h <<_ACEOF
14563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14564 _ACEOF
14565
14566 fi
14567 done
14568
14569   else
14570
14571   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14572 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14573   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14574     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14575   echo $ECHO_N "(cached) $ECHO_C" >&6
14576 else
14577
14578
14579
14580       ac_ext=cc
14581 ac_cpp='$CXXCPP $CPPFLAGS'
14582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14585
14586       cat >conftest.$ac_ext <<_ACEOF
14587 /* confdefs.h.  */
14588 _ACEOF
14589 cat confdefs.h >>conftest.$ac_ext
14590 cat >>conftest.$ac_ext <<_ACEOF
14591 /* end confdefs.h.  */
14592 #include <math.h>
14593 int
14594 main ()
14595 {
14596  _frexpf(0, 0);
14597   ;
14598   return 0;
14599 }
14600 _ACEOF
14601 rm -f conftest.$ac_objext
14602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14603   (eval $ac_compile) 2>conftest.er1
14604   ac_status=$?
14605   grep -v '^ *+' conftest.er1 >conftest.err
14606   rm -f conftest.er1
14607   cat conftest.err >&5
14608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14609   (exit $ac_status); } &&
14610          { ac_try='test -z "$ac_cxx_werror_flag"
14611                          || test ! -s conftest.err'
14612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14613   (eval $ac_try) 2>&5
14614   ac_status=$?
14615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14616   (exit $ac_status); }; } &&
14617          { ac_try='test -s conftest.$ac_objext'
14618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14619   (eval $ac_try) 2>&5
14620   ac_status=$?
14621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14622   (exit $ac_status); }; }; then
14623   glibcxx_cv_func__frexpf_use=yes
14624 else
14625   echo "$as_me: failed program was:" >&5
14626 sed 's/^/| /' conftest.$ac_ext >&5
14627
14628 glibcxx_cv_func__frexpf_use=no
14629 fi
14630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14631       ac_ext=c
14632 ac_cpp='$CPP $CPPFLAGS'
14633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14636
14637
14638 fi
14639
14640   fi
14641   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14642 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14643
14644     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14645
14646 for ac_func in _frexpf
14647 do
14648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14649 echo "$as_me:$LINENO: checking for $ac_func" >&5
14650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14651 if eval "test \"\${$as_ac_var+set}\" = set"; then
14652   echo $ECHO_N "(cached) $ECHO_C" >&6
14653 else
14654   if test x$gcc_no_link = xyes; then
14655   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14657    { (exit 1); exit 1; }; }
14658 fi
14659 cat >conftest.$ac_ext <<_ACEOF
14660 /* confdefs.h.  */
14661 _ACEOF
14662 cat confdefs.h >>conftest.$ac_ext
14663 cat >>conftest.$ac_ext <<_ACEOF
14664 /* end confdefs.h.  */
14665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14666    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14667 #define $ac_func innocuous_$ac_func
14668
14669 /* System header to define __stub macros and hopefully few prototypes,
14670     which can conflict with char $ac_func (); below.
14671     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14672     <limits.h> exists even on freestanding compilers.  */
14673
14674 #ifdef __STDC__
14675 # include <limits.h>
14676 #else
14677 # include <assert.h>
14678 #endif
14679
14680 #undef $ac_func
14681
14682 /* Override any gcc2 internal prototype to avoid an error.  */
14683 #ifdef __cplusplus
14684 extern "C"
14685 {
14686 #endif
14687 /* We use char because int might match the return type of a gcc2
14688    builtin and then its argument prototype would still apply.  */
14689 char $ac_func ();
14690 /* The GNU C library defines this for functions which it implements
14691     to always fail with ENOSYS.  Some functions are actually named
14692     something starting with __ and the normal name is an alias.  */
14693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14694 choke me
14695 #else
14696 char (*f) () = $ac_func;
14697 #endif
14698 #ifdef __cplusplus
14699 }
14700 #endif
14701
14702 int
14703 main ()
14704 {
14705 return f != $ac_func;
14706   ;
14707   return 0;
14708 }
14709 _ACEOF
14710 rm -f conftest.$ac_objext conftest$ac_exeext
14711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14712   (eval $ac_link) 2>conftest.er1
14713   ac_status=$?
14714   grep -v '^ *+' conftest.er1 >conftest.err
14715   rm -f conftest.er1
14716   cat conftest.err >&5
14717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14718   (exit $ac_status); } &&
14719          { ac_try='test -z "$ac_c_werror_flag"
14720                          || test ! -s conftest.err'
14721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14722   (eval $ac_try) 2>&5
14723   ac_status=$?
14724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14725   (exit $ac_status); }; } &&
14726          { ac_try='test -s conftest$ac_exeext'
14727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14728   (eval $ac_try) 2>&5
14729   ac_status=$?
14730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731   (exit $ac_status); }; }; then
14732   eval "$as_ac_var=yes"
14733 else
14734   echo "$as_me: failed program was:" >&5
14735 sed 's/^/| /' conftest.$ac_ext >&5
14736
14737 eval "$as_ac_var=no"
14738 fi
14739 rm -f conftest.err conftest.$ac_objext \
14740       conftest$ac_exeext conftest.$ac_ext
14741 fi
14742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14744 if test `eval echo '${'$as_ac_var'}'` = yes; then
14745   cat >>confdefs.h <<_ACEOF
14746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14747 _ACEOF
14748
14749 fi
14750 done
14751
14752     fi
14753   fi
14754
14755
14756
14757
14758
14759
14760   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14761 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14762   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14763     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14764   echo $ECHO_N "(cached) $ECHO_C" >&6
14765 else
14766
14767
14768
14769       ac_ext=cc
14770 ac_cpp='$CXXCPP $CPPFLAGS'
14771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14774
14775       cat >conftest.$ac_ext <<_ACEOF
14776 /* confdefs.h.  */
14777 _ACEOF
14778 cat confdefs.h >>conftest.$ac_ext
14779 cat >>conftest.$ac_ext <<_ACEOF
14780 /* end confdefs.h.  */
14781 #include <math.h>
14782 int
14783 main ()
14784 {
14785  hypotf(0, 0);
14786   ;
14787   return 0;
14788 }
14789 _ACEOF
14790 rm -f conftest.$ac_objext
14791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14792   (eval $ac_compile) 2>conftest.er1
14793   ac_status=$?
14794   grep -v '^ *+' conftest.er1 >conftest.err
14795   rm -f conftest.er1
14796   cat conftest.err >&5
14797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14798   (exit $ac_status); } &&
14799          { ac_try='test -z "$ac_cxx_werror_flag"
14800                          || test ! -s conftest.err'
14801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14802   (eval $ac_try) 2>&5
14803   ac_status=$?
14804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14805   (exit $ac_status); }; } &&
14806          { ac_try='test -s conftest.$ac_objext'
14807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14808   (eval $ac_try) 2>&5
14809   ac_status=$?
14810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811   (exit $ac_status); }; }; then
14812   glibcxx_cv_func_hypotf_use=yes
14813 else
14814   echo "$as_me: failed program was:" >&5
14815 sed 's/^/| /' conftest.$ac_ext >&5
14816
14817 glibcxx_cv_func_hypotf_use=no
14818 fi
14819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14820       ac_ext=c
14821 ac_cpp='$CPP $CPPFLAGS'
14822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14825
14826
14827 fi
14828
14829   fi
14830   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14831 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14832
14833   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14834
14835 for ac_func in hypotf
14836 do
14837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14838 echo "$as_me:$LINENO: checking for $ac_func" >&5
14839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14840 if eval "test \"\${$as_ac_var+set}\" = set"; then
14841   echo $ECHO_N "(cached) $ECHO_C" >&6
14842 else
14843   if test x$gcc_no_link = xyes; then
14844   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14846    { (exit 1); exit 1; }; }
14847 fi
14848 cat >conftest.$ac_ext <<_ACEOF
14849 /* confdefs.h.  */
14850 _ACEOF
14851 cat confdefs.h >>conftest.$ac_ext
14852 cat >>conftest.$ac_ext <<_ACEOF
14853 /* end confdefs.h.  */
14854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14855    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14856 #define $ac_func innocuous_$ac_func
14857
14858 /* System header to define __stub macros and hopefully few prototypes,
14859     which can conflict with char $ac_func (); below.
14860     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14861     <limits.h> exists even on freestanding compilers.  */
14862
14863 #ifdef __STDC__
14864 # include <limits.h>
14865 #else
14866 # include <assert.h>
14867 #endif
14868
14869 #undef $ac_func
14870
14871 /* Override any gcc2 internal prototype to avoid an error.  */
14872 #ifdef __cplusplus
14873 extern "C"
14874 {
14875 #endif
14876 /* We use char because int might match the return type of a gcc2
14877    builtin and then its argument prototype would still apply.  */
14878 char $ac_func ();
14879 /* The GNU C library defines this for functions which it implements
14880     to always fail with ENOSYS.  Some functions are actually named
14881     something starting with __ and the normal name is an alias.  */
14882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14883 choke me
14884 #else
14885 char (*f) () = $ac_func;
14886 #endif
14887 #ifdef __cplusplus
14888 }
14889 #endif
14890
14891 int
14892 main ()
14893 {
14894 return f != $ac_func;
14895   ;
14896   return 0;
14897 }
14898 _ACEOF
14899 rm -f conftest.$ac_objext conftest$ac_exeext
14900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14901   (eval $ac_link) 2>conftest.er1
14902   ac_status=$?
14903   grep -v '^ *+' conftest.er1 >conftest.err
14904   rm -f conftest.er1
14905   cat conftest.err >&5
14906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14907   (exit $ac_status); } &&
14908          { ac_try='test -z "$ac_c_werror_flag"
14909                          || test ! -s conftest.err'
14910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14911   (eval $ac_try) 2>&5
14912   ac_status=$?
14913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14914   (exit $ac_status); }; } &&
14915          { ac_try='test -s conftest$ac_exeext'
14916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14917   (eval $ac_try) 2>&5
14918   ac_status=$?
14919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14920   (exit $ac_status); }; }; then
14921   eval "$as_ac_var=yes"
14922 else
14923   echo "$as_me: failed program was:" >&5
14924 sed 's/^/| /' conftest.$ac_ext >&5
14925
14926 eval "$as_ac_var=no"
14927 fi
14928 rm -f conftest.err conftest.$ac_objext \
14929       conftest$ac_exeext conftest.$ac_ext
14930 fi
14931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14933 if test `eval echo '${'$as_ac_var'}'` = yes; then
14934   cat >>confdefs.h <<_ACEOF
14935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14936 _ACEOF
14937
14938 fi
14939 done
14940
14941   else
14942
14943   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14944 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14945   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14946     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14947   echo $ECHO_N "(cached) $ECHO_C" >&6
14948 else
14949
14950
14951
14952       ac_ext=cc
14953 ac_cpp='$CXXCPP $CPPFLAGS'
14954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14957
14958       cat >conftest.$ac_ext <<_ACEOF
14959 /* confdefs.h.  */
14960 _ACEOF
14961 cat confdefs.h >>conftest.$ac_ext
14962 cat >>conftest.$ac_ext <<_ACEOF
14963 /* end confdefs.h.  */
14964 #include <math.h>
14965 int
14966 main ()
14967 {
14968  _hypotf(0, 0);
14969   ;
14970   return 0;
14971 }
14972 _ACEOF
14973 rm -f conftest.$ac_objext
14974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14975   (eval $ac_compile) 2>conftest.er1
14976   ac_status=$?
14977   grep -v '^ *+' conftest.er1 >conftest.err
14978   rm -f conftest.er1
14979   cat conftest.err >&5
14980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14981   (exit $ac_status); } &&
14982          { ac_try='test -z "$ac_cxx_werror_flag"
14983                          || test ! -s conftest.err'
14984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14985   (eval $ac_try) 2>&5
14986   ac_status=$?
14987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14988   (exit $ac_status); }; } &&
14989          { ac_try='test -s conftest.$ac_objext'
14990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14991   (eval $ac_try) 2>&5
14992   ac_status=$?
14993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14994   (exit $ac_status); }; }; then
14995   glibcxx_cv_func__hypotf_use=yes
14996 else
14997   echo "$as_me: failed program was:" >&5
14998 sed 's/^/| /' conftest.$ac_ext >&5
14999
15000 glibcxx_cv_func__hypotf_use=no
15001 fi
15002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15003       ac_ext=c
15004 ac_cpp='$CPP $CPPFLAGS'
15005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15008
15009
15010 fi
15011
15012   fi
15013   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
15014 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
15015
15016     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
15017
15018 for ac_func in _hypotf
15019 do
15020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15021 echo "$as_me:$LINENO: checking for $ac_func" >&5
15022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15023 if eval "test \"\${$as_ac_var+set}\" = set"; then
15024   echo $ECHO_N "(cached) $ECHO_C" >&6
15025 else
15026   if test x$gcc_no_link = xyes; then
15027   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15029    { (exit 1); exit 1; }; }
15030 fi
15031 cat >conftest.$ac_ext <<_ACEOF
15032 /* confdefs.h.  */
15033 _ACEOF
15034 cat confdefs.h >>conftest.$ac_ext
15035 cat >>conftest.$ac_ext <<_ACEOF
15036 /* end confdefs.h.  */
15037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15038    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15039 #define $ac_func innocuous_$ac_func
15040
15041 /* System header to define __stub macros and hopefully few prototypes,
15042     which can conflict with char $ac_func (); below.
15043     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15044     <limits.h> exists even on freestanding compilers.  */
15045
15046 #ifdef __STDC__
15047 # include <limits.h>
15048 #else
15049 # include <assert.h>
15050 #endif
15051
15052 #undef $ac_func
15053
15054 /* Override any gcc2 internal prototype to avoid an error.  */
15055 #ifdef __cplusplus
15056 extern "C"
15057 {
15058 #endif
15059 /* We use char because int might match the return type of a gcc2
15060    builtin and then its argument prototype would still apply.  */
15061 char $ac_func ();
15062 /* The GNU C library defines this for functions which it implements
15063     to always fail with ENOSYS.  Some functions are actually named
15064     something starting with __ and the normal name is an alias.  */
15065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15066 choke me
15067 #else
15068 char (*f) () = $ac_func;
15069 #endif
15070 #ifdef __cplusplus
15071 }
15072 #endif
15073
15074 int
15075 main ()
15076 {
15077 return f != $ac_func;
15078   ;
15079   return 0;
15080 }
15081 _ACEOF
15082 rm -f conftest.$ac_objext conftest$ac_exeext
15083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15084   (eval $ac_link) 2>conftest.er1
15085   ac_status=$?
15086   grep -v '^ *+' conftest.er1 >conftest.err
15087   rm -f conftest.er1
15088   cat conftest.err >&5
15089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090   (exit $ac_status); } &&
15091          { ac_try='test -z "$ac_c_werror_flag"
15092                          || test ! -s conftest.err'
15093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15094   (eval $ac_try) 2>&5
15095   ac_status=$?
15096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15097   (exit $ac_status); }; } &&
15098          { ac_try='test -s conftest$ac_exeext'
15099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15100   (eval $ac_try) 2>&5
15101   ac_status=$?
15102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15103   (exit $ac_status); }; }; then
15104   eval "$as_ac_var=yes"
15105 else
15106   echo "$as_me: failed program was:" >&5
15107 sed 's/^/| /' conftest.$ac_ext >&5
15108
15109 eval "$as_ac_var=no"
15110 fi
15111 rm -f conftest.err conftest.$ac_objext \
15112       conftest$ac_exeext conftest.$ac_ext
15113 fi
15114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15116 if test `eval echo '${'$as_ac_var'}'` = yes; then
15117   cat >>confdefs.h <<_ACEOF
15118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15119 _ACEOF
15120
15121 fi
15122 done
15123
15124     fi
15125   fi
15126
15127
15128
15129
15130
15131
15132   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
15133 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
15134   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
15135     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
15136   echo $ECHO_N "(cached) $ECHO_C" >&6
15137 else
15138
15139
15140
15141       ac_ext=cc
15142 ac_cpp='$CXXCPP $CPPFLAGS'
15143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15146
15147       cat >conftest.$ac_ext <<_ACEOF
15148 /* confdefs.h.  */
15149 _ACEOF
15150 cat confdefs.h >>conftest.$ac_ext
15151 cat >>conftest.$ac_ext <<_ACEOF
15152 /* end confdefs.h.  */
15153 #include <math.h>
15154 int
15155 main ()
15156 {
15157  ldexpf(0, 0);
15158   ;
15159   return 0;
15160 }
15161 _ACEOF
15162 rm -f conftest.$ac_objext
15163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15164   (eval $ac_compile) 2>conftest.er1
15165   ac_status=$?
15166   grep -v '^ *+' conftest.er1 >conftest.err
15167   rm -f conftest.er1
15168   cat conftest.err >&5
15169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15170   (exit $ac_status); } &&
15171          { ac_try='test -z "$ac_cxx_werror_flag"
15172                          || test ! -s conftest.err'
15173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15174   (eval $ac_try) 2>&5
15175   ac_status=$?
15176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15177   (exit $ac_status); }; } &&
15178          { ac_try='test -s conftest.$ac_objext'
15179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15180   (eval $ac_try) 2>&5
15181   ac_status=$?
15182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15183   (exit $ac_status); }; }; then
15184   glibcxx_cv_func_ldexpf_use=yes
15185 else
15186   echo "$as_me: failed program was:" >&5
15187 sed 's/^/| /' conftest.$ac_ext >&5
15188
15189 glibcxx_cv_func_ldexpf_use=no
15190 fi
15191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15192       ac_ext=c
15193 ac_cpp='$CPP $CPPFLAGS'
15194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15197
15198
15199 fi
15200
15201   fi
15202   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
15203 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
15204
15205   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
15206
15207 for ac_func in ldexpf
15208 do
15209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15210 echo "$as_me:$LINENO: checking for $ac_func" >&5
15211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15212 if eval "test \"\${$as_ac_var+set}\" = set"; then
15213   echo $ECHO_N "(cached) $ECHO_C" >&6
15214 else
15215   if test x$gcc_no_link = xyes; then
15216   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15218    { (exit 1); exit 1; }; }
15219 fi
15220 cat >conftest.$ac_ext <<_ACEOF
15221 /* confdefs.h.  */
15222 _ACEOF
15223 cat confdefs.h >>conftest.$ac_ext
15224 cat >>conftest.$ac_ext <<_ACEOF
15225 /* end confdefs.h.  */
15226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15227    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15228 #define $ac_func innocuous_$ac_func
15229
15230 /* System header to define __stub macros and hopefully few prototypes,
15231     which can conflict with char $ac_func (); below.
15232     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15233     <limits.h> exists even on freestanding compilers.  */
15234
15235 #ifdef __STDC__
15236 # include <limits.h>
15237 #else
15238 # include <assert.h>
15239 #endif
15240
15241 #undef $ac_func
15242
15243 /* Override any gcc2 internal prototype to avoid an error.  */
15244 #ifdef __cplusplus
15245 extern "C"
15246 {
15247 #endif
15248 /* We use char because int might match the return type of a gcc2
15249    builtin and then its argument prototype would still apply.  */
15250 char $ac_func ();
15251 /* The GNU C library defines this for functions which it implements
15252     to always fail with ENOSYS.  Some functions are actually named
15253     something starting with __ and the normal name is an alias.  */
15254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15255 choke me
15256 #else
15257 char (*f) () = $ac_func;
15258 #endif
15259 #ifdef __cplusplus
15260 }
15261 #endif
15262
15263 int
15264 main ()
15265 {
15266 return f != $ac_func;
15267   ;
15268   return 0;
15269 }
15270 _ACEOF
15271 rm -f conftest.$ac_objext conftest$ac_exeext
15272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15273   (eval $ac_link) 2>conftest.er1
15274   ac_status=$?
15275   grep -v '^ *+' conftest.er1 >conftest.err
15276   rm -f conftest.er1
15277   cat conftest.err >&5
15278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15279   (exit $ac_status); } &&
15280          { ac_try='test -z "$ac_c_werror_flag"
15281                          || test ! -s conftest.err'
15282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15283   (eval $ac_try) 2>&5
15284   ac_status=$?
15285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286   (exit $ac_status); }; } &&
15287          { ac_try='test -s conftest$ac_exeext'
15288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15289   (eval $ac_try) 2>&5
15290   ac_status=$?
15291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15292   (exit $ac_status); }; }; then
15293   eval "$as_ac_var=yes"
15294 else
15295   echo "$as_me: failed program was:" >&5
15296 sed 's/^/| /' conftest.$ac_ext >&5
15297
15298 eval "$as_ac_var=no"
15299 fi
15300 rm -f conftest.err conftest.$ac_objext \
15301       conftest$ac_exeext conftest.$ac_ext
15302 fi
15303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15305 if test `eval echo '${'$as_ac_var'}'` = yes; then
15306   cat >>confdefs.h <<_ACEOF
15307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15308 _ACEOF
15309
15310 fi
15311 done
15312
15313   else
15314
15315   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
15316 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
15317   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
15318     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
15319   echo $ECHO_N "(cached) $ECHO_C" >&6
15320 else
15321
15322
15323
15324       ac_ext=cc
15325 ac_cpp='$CXXCPP $CPPFLAGS'
15326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15329
15330       cat >conftest.$ac_ext <<_ACEOF
15331 /* confdefs.h.  */
15332 _ACEOF
15333 cat confdefs.h >>conftest.$ac_ext
15334 cat >>conftest.$ac_ext <<_ACEOF
15335 /* end confdefs.h.  */
15336 #include <math.h>
15337 int
15338 main ()
15339 {
15340  _ldexpf(0, 0);
15341   ;
15342   return 0;
15343 }
15344 _ACEOF
15345 rm -f conftest.$ac_objext
15346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15347   (eval $ac_compile) 2>conftest.er1
15348   ac_status=$?
15349   grep -v '^ *+' conftest.er1 >conftest.err
15350   rm -f conftest.er1
15351   cat conftest.err >&5
15352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15353   (exit $ac_status); } &&
15354          { ac_try='test -z "$ac_cxx_werror_flag"
15355                          || test ! -s conftest.err'
15356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15357   (eval $ac_try) 2>&5
15358   ac_status=$?
15359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15360   (exit $ac_status); }; } &&
15361          { ac_try='test -s conftest.$ac_objext'
15362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15363   (eval $ac_try) 2>&5
15364   ac_status=$?
15365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366   (exit $ac_status); }; }; then
15367   glibcxx_cv_func__ldexpf_use=yes
15368 else
15369   echo "$as_me: failed program was:" >&5
15370 sed 's/^/| /' conftest.$ac_ext >&5
15371
15372 glibcxx_cv_func__ldexpf_use=no
15373 fi
15374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15375       ac_ext=c
15376 ac_cpp='$CPP $CPPFLAGS'
15377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15380
15381
15382 fi
15383
15384   fi
15385   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
15386 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
15387
15388     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
15389
15390 for ac_func in _ldexpf
15391 do
15392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15393 echo "$as_me:$LINENO: checking for $ac_func" >&5
15394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15395 if eval "test \"\${$as_ac_var+set}\" = set"; then
15396   echo $ECHO_N "(cached) $ECHO_C" >&6
15397 else
15398   if test x$gcc_no_link = xyes; then
15399   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15401    { (exit 1); exit 1; }; }
15402 fi
15403 cat >conftest.$ac_ext <<_ACEOF
15404 /* confdefs.h.  */
15405 _ACEOF
15406 cat confdefs.h >>conftest.$ac_ext
15407 cat >>conftest.$ac_ext <<_ACEOF
15408 /* end confdefs.h.  */
15409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15410    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15411 #define $ac_func innocuous_$ac_func
15412
15413 /* System header to define __stub macros and hopefully few prototypes,
15414     which can conflict with char $ac_func (); below.
15415     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15416     <limits.h> exists even on freestanding compilers.  */
15417
15418 #ifdef __STDC__
15419 # include <limits.h>
15420 #else
15421 # include <assert.h>
15422 #endif
15423
15424 #undef $ac_func
15425
15426 /* Override any gcc2 internal prototype to avoid an error.  */
15427 #ifdef __cplusplus
15428 extern "C"
15429 {
15430 #endif
15431 /* We use char because int might match the return type of a gcc2
15432    builtin and then its argument prototype would still apply.  */
15433 char $ac_func ();
15434 /* The GNU C library defines this for functions which it implements
15435     to always fail with ENOSYS.  Some functions are actually named
15436     something starting with __ and the normal name is an alias.  */
15437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15438 choke me
15439 #else
15440 char (*f) () = $ac_func;
15441 #endif
15442 #ifdef __cplusplus
15443 }
15444 #endif
15445
15446 int
15447 main ()
15448 {
15449 return f != $ac_func;
15450   ;
15451   return 0;
15452 }
15453 _ACEOF
15454 rm -f conftest.$ac_objext conftest$ac_exeext
15455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15456   (eval $ac_link) 2>conftest.er1
15457   ac_status=$?
15458   grep -v '^ *+' conftest.er1 >conftest.err
15459   rm -f conftest.er1
15460   cat conftest.err >&5
15461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15462   (exit $ac_status); } &&
15463          { ac_try='test -z "$ac_c_werror_flag"
15464                          || test ! -s conftest.err'
15465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15466   (eval $ac_try) 2>&5
15467   ac_status=$?
15468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15469   (exit $ac_status); }; } &&
15470          { ac_try='test -s conftest$ac_exeext'
15471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15472   (eval $ac_try) 2>&5
15473   ac_status=$?
15474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15475   (exit $ac_status); }; }; then
15476   eval "$as_ac_var=yes"
15477 else
15478   echo "$as_me: failed program was:" >&5
15479 sed 's/^/| /' conftest.$ac_ext >&5
15480
15481 eval "$as_ac_var=no"
15482 fi
15483 rm -f conftest.err conftest.$ac_objext \
15484       conftest$ac_exeext conftest.$ac_ext
15485 fi
15486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15488 if test `eval echo '${'$as_ac_var'}'` = yes; then
15489   cat >>confdefs.h <<_ACEOF
15490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15491 _ACEOF
15492
15493 fi
15494 done
15495
15496     fi
15497   fi
15498
15499
15500
15501
15502
15503
15504   echo "$as_me:$LINENO: checking for logf declaration" >&5
15505 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15506   if test x${glibcxx_cv_func_logf_use+set} != xset; then
15507     if test "${glibcxx_cv_func_logf_use+set}" = set; then
15508   echo $ECHO_N "(cached) $ECHO_C" >&6
15509 else
15510
15511
15512
15513       ac_ext=cc
15514 ac_cpp='$CXXCPP $CPPFLAGS'
15515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15518
15519       cat >conftest.$ac_ext <<_ACEOF
15520 /* confdefs.h.  */
15521 _ACEOF
15522 cat confdefs.h >>conftest.$ac_ext
15523 cat >>conftest.$ac_ext <<_ACEOF
15524 /* end confdefs.h.  */
15525 #include <math.h>
15526                       #ifdef HAVE_IEEEFP_H
15527                       #include <ieeefp.h>
15528                       #endif
15529
15530 int
15531 main ()
15532 {
15533  logf(0);
15534   ;
15535   return 0;
15536 }
15537 _ACEOF
15538 rm -f conftest.$ac_objext
15539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15540   (eval $ac_compile) 2>conftest.er1
15541   ac_status=$?
15542   grep -v '^ *+' conftest.er1 >conftest.err
15543   rm -f conftest.er1
15544   cat conftest.err >&5
15545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15546   (exit $ac_status); } &&
15547          { ac_try='test -z "$ac_cxx_werror_flag"
15548                          || test ! -s conftest.err'
15549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15550   (eval $ac_try) 2>&5
15551   ac_status=$?
15552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15553   (exit $ac_status); }; } &&
15554          { ac_try='test -s conftest.$ac_objext'
15555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15556   (eval $ac_try) 2>&5
15557   ac_status=$?
15558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15559   (exit $ac_status); }; }; then
15560   glibcxx_cv_func_logf_use=yes
15561 else
15562   echo "$as_me: failed program was:" >&5
15563 sed 's/^/| /' conftest.$ac_ext >&5
15564
15565 glibcxx_cv_func_logf_use=no
15566 fi
15567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15568       ac_ext=c
15569 ac_cpp='$CPP $CPPFLAGS'
15570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15573
15574
15575 fi
15576
15577   fi
15578   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15579 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15580
15581   if test x$glibcxx_cv_func_logf_use = x"yes"; then
15582
15583 for ac_func in logf
15584 do
15585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15586 echo "$as_me:$LINENO: checking for $ac_func" >&5
15587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15588 if eval "test \"\${$as_ac_var+set}\" = set"; then
15589   echo $ECHO_N "(cached) $ECHO_C" >&6
15590 else
15591   if test x$gcc_no_link = xyes; then
15592   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15594    { (exit 1); exit 1; }; }
15595 fi
15596 cat >conftest.$ac_ext <<_ACEOF
15597 /* confdefs.h.  */
15598 _ACEOF
15599 cat confdefs.h >>conftest.$ac_ext
15600 cat >>conftest.$ac_ext <<_ACEOF
15601 /* end confdefs.h.  */
15602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15603    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15604 #define $ac_func innocuous_$ac_func
15605
15606 /* System header to define __stub macros and hopefully few prototypes,
15607     which can conflict with char $ac_func (); below.
15608     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15609     <limits.h> exists even on freestanding compilers.  */
15610
15611 #ifdef __STDC__
15612 # include <limits.h>
15613 #else
15614 # include <assert.h>
15615 #endif
15616
15617 #undef $ac_func
15618
15619 /* Override any gcc2 internal prototype to avoid an error.  */
15620 #ifdef __cplusplus
15621 extern "C"
15622 {
15623 #endif
15624 /* We use char because int might match the return type of a gcc2
15625    builtin and then its argument prototype would still apply.  */
15626 char $ac_func ();
15627 /* The GNU C library defines this for functions which it implements
15628     to always fail with ENOSYS.  Some functions are actually named
15629     something starting with __ and the normal name is an alias.  */
15630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15631 choke me
15632 #else
15633 char (*f) () = $ac_func;
15634 #endif
15635 #ifdef __cplusplus
15636 }
15637 #endif
15638
15639 int
15640 main ()
15641 {
15642 return f != $ac_func;
15643   ;
15644   return 0;
15645 }
15646 _ACEOF
15647 rm -f conftest.$ac_objext conftest$ac_exeext
15648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15649   (eval $ac_link) 2>conftest.er1
15650   ac_status=$?
15651   grep -v '^ *+' conftest.er1 >conftest.err
15652   rm -f conftest.er1
15653   cat conftest.err >&5
15654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15655   (exit $ac_status); } &&
15656          { ac_try='test -z "$ac_c_werror_flag"
15657                          || test ! -s conftest.err'
15658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15659   (eval $ac_try) 2>&5
15660   ac_status=$?
15661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15662   (exit $ac_status); }; } &&
15663          { ac_try='test -s conftest$ac_exeext'
15664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15665   (eval $ac_try) 2>&5
15666   ac_status=$?
15667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15668   (exit $ac_status); }; }; then
15669   eval "$as_ac_var=yes"
15670 else
15671   echo "$as_me: failed program was:" >&5
15672 sed 's/^/| /' conftest.$ac_ext >&5
15673
15674 eval "$as_ac_var=no"
15675 fi
15676 rm -f conftest.err conftest.$ac_objext \
15677       conftest$ac_exeext conftest.$ac_ext
15678 fi
15679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15681 if test `eval echo '${'$as_ac_var'}'` = yes; then
15682   cat >>confdefs.h <<_ACEOF
15683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15684 _ACEOF
15685
15686 fi
15687 done
15688
15689   else
15690
15691   echo "$as_me:$LINENO: checking for _logf declaration" >&5
15692 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15693   if test x${glibcxx_cv_func__logf_use+set} != xset; then
15694     if test "${glibcxx_cv_func__logf_use+set}" = set; then
15695   echo $ECHO_N "(cached) $ECHO_C" >&6
15696 else
15697
15698
15699
15700       ac_ext=cc
15701 ac_cpp='$CXXCPP $CPPFLAGS'
15702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15705
15706       cat >conftest.$ac_ext <<_ACEOF
15707 /* confdefs.h.  */
15708 _ACEOF
15709 cat confdefs.h >>conftest.$ac_ext
15710 cat >>conftest.$ac_ext <<_ACEOF
15711 /* end confdefs.h.  */
15712 #include <math.h>
15713                       #ifdef HAVE_IEEEFP_H
15714                       #include <ieeefp.h>
15715                       #endif
15716
15717 int
15718 main ()
15719 {
15720  _logf(0);
15721   ;
15722   return 0;
15723 }
15724 _ACEOF
15725 rm -f conftest.$ac_objext
15726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15727   (eval $ac_compile) 2>conftest.er1
15728   ac_status=$?
15729   grep -v '^ *+' conftest.er1 >conftest.err
15730   rm -f conftest.er1
15731   cat conftest.err >&5
15732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733   (exit $ac_status); } &&
15734          { ac_try='test -z "$ac_cxx_werror_flag"
15735                          || test ! -s conftest.err'
15736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15737   (eval $ac_try) 2>&5
15738   ac_status=$?
15739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15740   (exit $ac_status); }; } &&
15741          { ac_try='test -s conftest.$ac_objext'
15742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15743   (eval $ac_try) 2>&5
15744   ac_status=$?
15745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15746   (exit $ac_status); }; }; then
15747   glibcxx_cv_func__logf_use=yes
15748 else
15749   echo "$as_me: failed program was:" >&5
15750 sed 's/^/| /' conftest.$ac_ext >&5
15751
15752 glibcxx_cv_func__logf_use=no
15753 fi
15754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15755       ac_ext=c
15756 ac_cpp='$CPP $CPPFLAGS'
15757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15760
15761
15762 fi
15763
15764   fi
15765   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15766 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15767
15768     if test x$glibcxx_cv_func__logf_use = x"yes"; then
15769
15770 for ac_func in _logf
15771 do
15772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15773 echo "$as_me:$LINENO: checking for $ac_func" >&5
15774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15775 if eval "test \"\${$as_ac_var+set}\" = set"; then
15776   echo $ECHO_N "(cached) $ECHO_C" >&6
15777 else
15778   if test x$gcc_no_link = xyes; then
15779   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15781    { (exit 1); exit 1; }; }
15782 fi
15783 cat >conftest.$ac_ext <<_ACEOF
15784 /* confdefs.h.  */
15785 _ACEOF
15786 cat confdefs.h >>conftest.$ac_ext
15787 cat >>conftest.$ac_ext <<_ACEOF
15788 /* end confdefs.h.  */
15789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15790    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15791 #define $ac_func innocuous_$ac_func
15792
15793 /* System header to define __stub macros and hopefully few prototypes,
15794     which can conflict with char $ac_func (); below.
15795     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15796     <limits.h> exists even on freestanding compilers.  */
15797
15798 #ifdef __STDC__
15799 # include <limits.h>
15800 #else
15801 # include <assert.h>
15802 #endif
15803
15804 #undef $ac_func
15805
15806 /* Override any gcc2 internal prototype to avoid an error.  */
15807 #ifdef __cplusplus
15808 extern "C"
15809 {
15810 #endif
15811 /* We use char because int might match the return type of a gcc2
15812    builtin and then its argument prototype would still apply.  */
15813 char $ac_func ();
15814 /* The GNU C library defines this for functions which it implements
15815     to always fail with ENOSYS.  Some functions are actually named
15816     something starting with __ and the normal name is an alias.  */
15817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15818 choke me
15819 #else
15820 char (*f) () = $ac_func;
15821 #endif
15822 #ifdef __cplusplus
15823 }
15824 #endif
15825
15826 int
15827 main ()
15828 {
15829 return f != $ac_func;
15830   ;
15831   return 0;
15832 }
15833 _ACEOF
15834 rm -f conftest.$ac_objext conftest$ac_exeext
15835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15836   (eval $ac_link) 2>conftest.er1
15837   ac_status=$?
15838   grep -v '^ *+' conftest.er1 >conftest.err
15839   rm -f conftest.er1
15840   cat conftest.err >&5
15841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842   (exit $ac_status); } &&
15843          { ac_try='test -z "$ac_c_werror_flag"
15844                          || test ! -s conftest.err'
15845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15846   (eval $ac_try) 2>&5
15847   ac_status=$?
15848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15849   (exit $ac_status); }; } &&
15850          { ac_try='test -s conftest$ac_exeext'
15851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15852   (eval $ac_try) 2>&5
15853   ac_status=$?
15854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15855   (exit $ac_status); }; }; then
15856   eval "$as_ac_var=yes"
15857 else
15858   echo "$as_me: failed program was:" >&5
15859 sed 's/^/| /' conftest.$ac_ext >&5
15860
15861 eval "$as_ac_var=no"
15862 fi
15863 rm -f conftest.err conftest.$ac_objext \
15864       conftest$ac_exeext conftest.$ac_ext
15865 fi
15866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15868 if test `eval echo '${'$as_ac_var'}'` = yes; then
15869   cat >>confdefs.h <<_ACEOF
15870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15871 _ACEOF
15872
15873 fi
15874 done
15875
15876     fi
15877   fi
15878
15879
15880
15881
15882
15883
15884   echo "$as_me:$LINENO: checking for log10f declaration" >&5
15885 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15886   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15887     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15888   echo $ECHO_N "(cached) $ECHO_C" >&6
15889 else
15890
15891
15892
15893       ac_ext=cc
15894 ac_cpp='$CXXCPP $CPPFLAGS'
15895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15898
15899       cat >conftest.$ac_ext <<_ACEOF
15900 /* confdefs.h.  */
15901 _ACEOF
15902 cat confdefs.h >>conftest.$ac_ext
15903 cat >>conftest.$ac_ext <<_ACEOF
15904 /* end confdefs.h.  */
15905 #include <math.h>
15906                       #ifdef HAVE_IEEEFP_H
15907                       #include <ieeefp.h>
15908                       #endif
15909
15910 int
15911 main ()
15912 {
15913  log10f(0);
15914   ;
15915   return 0;
15916 }
15917 _ACEOF
15918 rm -f conftest.$ac_objext
15919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15920   (eval $ac_compile) 2>conftest.er1
15921   ac_status=$?
15922   grep -v '^ *+' conftest.er1 >conftest.err
15923   rm -f conftest.er1
15924   cat conftest.err >&5
15925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15926   (exit $ac_status); } &&
15927          { ac_try='test -z "$ac_cxx_werror_flag"
15928                          || test ! -s conftest.err'
15929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15930   (eval $ac_try) 2>&5
15931   ac_status=$?
15932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15933   (exit $ac_status); }; } &&
15934          { ac_try='test -s conftest.$ac_objext'
15935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15936   (eval $ac_try) 2>&5
15937   ac_status=$?
15938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939   (exit $ac_status); }; }; then
15940   glibcxx_cv_func_log10f_use=yes
15941 else
15942   echo "$as_me: failed program was:" >&5
15943 sed 's/^/| /' conftest.$ac_ext >&5
15944
15945 glibcxx_cv_func_log10f_use=no
15946 fi
15947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15948       ac_ext=c
15949 ac_cpp='$CPP $CPPFLAGS'
15950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15953
15954
15955 fi
15956
15957   fi
15958   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
15959 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
15960
15961   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
15962
15963 for ac_func in log10f
15964 do
15965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15966 echo "$as_me:$LINENO: checking for $ac_func" >&5
15967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15968 if eval "test \"\${$as_ac_var+set}\" = set"; then
15969   echo $ECHO_N "(cached) $ECHO_C" >&6
15970 else
15971   if test x$gcc_no_link = xyes; then
15972   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15974    { (exit 1); exit 1; }; }
15975 fi
15976 cat >conftest.$ac_ext <<_ACEOF
15977 /* confdefs.h.  */
15978 _ACEOF
15979 cat confdefs.h >>conftest.$ac_ext
15980 cat >>conftest.$ac_ext <<_ACEOF
15981 /* end confdefs.h.  */
15982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15983    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15984 #define $ac_func innocuous_$ac_func
15985
15986 /* System header to define __stub macros and hopefully few prototypes,
15987     which can conflict with char $ac_func (); below.
15988     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15989     <limits.h> exists even on freestanding compilers.  */
15990
15991 #ifdef __STDC__
15992 # include <limits.h>
15993 #else
15994 # include <assert.h>
15995 #endif
15996
15997 #undef $ac_func
15998
15999 /* Override any gcc2 internal prototype to avoid an error.  */
16000 #ifdef __cplusplus
16001 extern "C"
16002 {
16003 #endif
16004 /* We use char because int might match the return type of a gcc2
16005    builtin and then its argument prototype would still apply.  */
16006 char $ac_func ();
16007 /* The GNU C library defines this for functions which it implements
16008     to always fail with ENOSYS.  Some functions are actually named
16009     something starting with __ and the normal name is an alias.  */
16010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16011 choke me
16012 #else
16013 char (*f) () = $ac_func;
16014 #endif
16015 #ifdef __cplusplus
16016 }
16017 #endif
16018
16019 int
16020 main ()
16021 {
16022 return f != $ac_func;
16023   ;
16024   return 0;
16025 }
16026 _ACEOF
16027 rm -f conftest.$ac_objext conftest$ac_exeext
16028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16029   (eval $ac_link) 2>conftest.er1
16030   ac_status=$?
16031   grep -v '^ *+' conftest.er1 >conftest.err
16032   rm -f conftest.er1
16033   cat conftest.err >&5
16034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16035   (exit $ac_status); } &&
16036          { ac_try='test -z "$ac_c_werror_flag"
16037                          || test ! -s conftest.err'
16038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16039   (eval $ac_try) 2>&5
16040   ac_status=$?
16041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16042   (exit $ac_status); }; } &&
16043          { ac_try='test -s conftest$ac_exeext'
16044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16045   (eval $ac_try) 2>&5
16046   ac_status=$?
16047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16048   (exit $ac_status); }; }; then
16049   eval "$as_ac_var=yes"
16050 else
16051   echo "$as_me: failed program was:" >&5
16052 sed 's/^/| /' conftest.$ac_ext >&5
16053
16054 eval "$as_ac_var=no"
16055 fi
16056 rm -f conftest.err conftest.$ac_objext \
16057       conftest$ac_exeext conftest.$ac_ext
16058 fi
16059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16061 if test `eval echo '${'$as_ac_var'}'` = yes; then
16062   cat >>confdefs.h <<_ACEOF
16063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16064 _ACEOF
16065
16066 fi
16067 done
16068
16069   else
16070
16071   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
16072 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
16073   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
16074     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
16075   echo $ECHO_N "(cached) $ECHO_C" >&6
16076 else
16077
16078
16079
16080       ac_ext=cc
16081 ac_cpp='$CXXCPP $CPPFLAGS'
16082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16085
16086       cat >conftest.$ac_ext <<_ACEOF
16087 /* confdefs.h.  */
16088 _ACEOF
16089 cat confdefs.h >>conftest.$ac_ext
16090 cat >>conftest.$ac_ext <<_ACEOF
16091 /* end confdefs.h.  */
16092 #include <math.h>
16093                       #ifdef HAVE_IEEEFP_H
16094                       #include <ieeefp.h>
16095                       #endif
16096
16097 int
16098 main ()
16099 {
16100  _log10f(0);
16101   ;
16102   return 0;
16103 }
16104 _ACEOF
16105 rm -f conftest.$ac_objext
16106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16107   (eval $ac_compile) 2>conftest.er1
16108   ac_status=$?
16109   grep -v '^ *+' conftest.er1 >conftest.err
16110   rm -f conftest.er1
16111   cat conftest.err >&5
16112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16113   (exit $ac_status); } &&
16114          { ac_try='test -z "$ac_cxx_werror_flag"
16115                          || test ! -s conftest.err'
16116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16117   (eval $ac_try) 2>&5
16118   ac_status=$?
16119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16120   (exit $ac_status); }; } &&
16121          { ac_try='test -s conftest.$ac_objext'
16122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16123   (eval $ac_try) 2>&5
16124   ac_status=$?
16125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126   (exit $ac_status); }; }; then
16127   glibcxx_cv_func__log10f_use=yes
16128 else
16129   echo "$as_me: failed program was:" >&5
16130 sed 's/^/| /' conftest.$ac_ext >&5
16131
16132 glibcxx_cv_func__log10f_use=no
16133 fi
16134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16135       ac_ext=c
16136 ac_cpp='$CPP $CPPFLAGS'
16137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16140
16141
16142 fi
16143
16144   fi
16145   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
16146 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
16147
16148     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
16149
16150 for ac_func in _log10f
16151 do
16152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16153 echo "$as_me:$LINENO: checking for $ac_func" >&5
16154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16155 if eval "test \"\${$as_ac_var+set}\" = set"; then
16156   echo $ECHO_N "(cached) $ECHO_C" >&6
16157 else
16158   if test x$gcc_no_link = xyes; then
16159   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16161    { (exit 1); exit 1; }; }
16162 fi
16163 cat >conftest.$ac_ext <<_ACEOF
16164 /* confdefs.h.  */
16165 _ACEOF
16166 cat confdefs.h >>conftest.$ac_ext
16167 cat >>conftest.$ac_ext <<_ACEOF
16168 /* end confdefs.h.  */
16169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16170    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16171 #define $ac_func innocuous_$ac_func
16172
16173 /* System header to define __stub macros and hopefully few prototypes,
16174     which can conflict with char $ac_func (); below.
16175     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16176     <limits.h> exists even on freestanding compilers.  */
16177
16178 #ifdef __STDC__
16179 # include <limits.h>
16180 #else
16181 # include <assert.h>
16182 #endif
16183
16184 #undef $ac_func
16185
16186 /* Override any gcc2 internal prototype to avoid an error.  */
16187 #ifdef __cplusplus
16188 extern "C"
16189 {
16190 #endif
16191 /* We use char because int might match the return type of a gcc2
16192    builtin and then its argument prototype would still apply.  */
16193 char $ac_func ();
16194 /* The GNU C library defines this for functions which it implements
16195     to always fail with ENOSYS.  Some functions are actually named
16196     something starting with __ and the normal name is an alias.  */
16197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16198 choke me
16199 #else
16200 char (*f) () = $ac_func;
16201 #endif
16202 #ifdef __cplusplus
16203 }
16204 #endif
16205
16206 int
16207 main ()
16208 {
16209 return f != $ac_func;
16210   ;
16211   return 0;
16212 }
16213 _ACEOF
16214 rm -f conftest.$ac_objext conftest$ac_exeext
16215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16216   (eval $ac_link) 2>conftest.er1
16217   ac_status=$?
16218   grep -v '^ *+' conftest.er1 >conftest.err
16219   rm -f conftest.er1
16220   cat conftest.err >&5
16221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222   (exit $ac_status); } &&
16223          { ac_try='test -z "$ac_c_werror_flag"
16224                          || test ! -s conftest.err'
16225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16226   (eval $ac_try) 2>&5
16227   ac_status=$?
16228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229   (exit $ac_status); }; } &&
16230          { ac_try='test -s conftest$ac_exeext'
16231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16232   (eval $ac_try) 2>&5
16233   ac_status=$?
16234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16235   (exit $ac_status); }; }; then
16236   eval "$as_ac_var=yes"
16237 else
16238   echo "$as_me: failed program was:" >&5
16239 sed 's/^/| /' conftest.$ac_ext >&5
16240
16241 eval "$as_ac_var=no"
16242 fi
16243 rm -f conftest.err conftest.$ac_objext \
16244       conftest$ac_exeext conftest.$ac_ext
16245 fi
16246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16248 if test `eval echo '${'$as_ac_var'}'` = yes; then
16249   cat >>confdefs.h <<_ACEOF
16250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16251 _ACEOF
16252
16253 fi
16254 done
16255
16256     fi
16257   fi
16258
16259
16260
16261
16262
16263
16264   echo "$as_me:$LINENO: checking for modff declaration" >&5
16265 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
16266   if test x${glibcxx_cv_func_modff_use+set} != xset; then
16267     if test "${glibcxx_cv_func_modff_use+set}" = set; then
16268   echo $ECHO_N "(cached) $ECHO_C" >&6
16269 else
16270
16271
16272
16273       ac_ext=cc
16274 ac_cpp='$CXXCPP $CPPFLAGS'
16275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16278
16279       cat >conftest.$ac_ext <<_ACEOF
16280 /* confdefs.h.  */
16281 _ACEOF
16282 cat confdefs.h >>conftest.$ac_ext
16283 cat >>conftest.$ac_ext <<_ACEOF
16284 /* end confdefs.h.  */
16285 #include <math.h>
16286 int
16287 main ()
16288 {
16289  modff(0, 0);
16290   ;
16291   return 0;
16292 }
16293 _ACEOF
16294 rm -f conftest.$ac_objext
16295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16296   (eval $ac_compile) 2>conftest.er1
16297   ac_status=$?
16298   grep -v '^ *+' conftest.er1 >conftest.err
16299   rm -f conftest.er1
16300   cat conftest.err >&5
16301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16302   (exit $ac_status); } &&
16303          { ac_try='test -z "$ac_cxx_werror_flag"
16304                          || test ! -s conftest.err'
16305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16306   (eval $ac_try) 2>&5
16307   ac_status=$?
16308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16309   (exit $ac_status); }; } &&
16310          { ac_try='test -s conftest.$ac_objext'
16311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16312   (eval $ac_try) 2>&5
16313   ac_status=$?
16314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16315   (exit $ac_status); }; }; then
16316   glibcxx_cv_func_modff_use=yes
16317 else
16318   echo "$as_me: failed program was:" >&5
16319 sed 's/^/| /' conftest.$ac_ext >&5
16320
16321 glibcxx_cv_func_modff_use=no
16322 fi
16323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16324       ac_ext=c
16325 ac_cpp='$CPP $CPPFLAGS'
16326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16329
16330
16331 fi
16332
16333   fi
16334   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
16335 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
16336
16337   if test x$glibcxx_cv_func_modff_use = x"yes"; then
16338
16339 for ac_func in modff
16340 do
16341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16342 echo "$as_me:$LINENO: checking for $ac_func" >&5
16343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16344 if eval "test \"\${$as_ac_var+set}\" = set"; then
16345   echo $ECHO_N "(cached) $ECHO_C" >&6
16346 else
16347   if test x$gcc_no_link = xyes; then
16348   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16350    { (exit 1); exit 1; }; }
16351 fi
16352 cat >conftest.$ac_ext <<_ACEOF
16353 /* confdefs.h.  */
16354 _ACEOF
16355 cat confdefs.h >>conftest.$ac_ext
16356 cat >>conftest.$ac_ext <<_ACEOF
16357 /* end confdefs.h.  */
16358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16359    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16360 #define $ac_func innocuous_$ac_func
16361
16362 /* System header to define __stub macros and hopefully few prototypes,
16363     which can conflict with char $ac_func (); below.
16364     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16365     <limits.h> exists even on freestanding compilers.  */
16366
16367 #ifdef __STDC__
16368 # include <limits.h>
16369 #else
16370 # include <assert.h>
16371 #endif
16372
16373 #undef $ac_func
16374
16375 /* Override any gcc2 internal prototype to avoid an error.  */
16376 #ifdef __cplusplus
16377 extern "C"
16378 {
16379 #endif
16380 /* We use char because int might match the return type of a gcc2
16381    builtin and then its argument prototype would still apply.  */
16382 char $ac_func ();
16383 /* The GNU C library defines this for functions which it implements
16384     to always fail with ENOSYS.  Some functions are actually named
16385     something starting with __ and the normal name is an alias.  */
16386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16387 choke me
16388 #else
16389 char (*f) () = $ac_func;
16390 #endif
16391 #ifdef __cplusplus
16392 }
16393 #endif
16394
16395 int
16396 main ()
16397 {
16398 return f != $ac_func;
16399   ;
16400   return 0;
16401 }
16402 _ACEOF
16403 rm -f conftest.$ac_objext conftest$ac_exeext
16404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16405   (eval $ac_link) 2>conftest.er1
16406   ac_status=$?
16407   grep -v '^ *+' conftest.er1 >conftest.err
16408   rm -f conftest.er1
16409   cat conftest.err >&5
16410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411   (exit $ac_status); } &&
16412          { ac_try='test -z "$ac_c_werror_flag"
16413                          || test ! -s conftest.err'
16414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16415   (eval $ac_try) 2>&5
16416   ac_status=$?
16417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16418   (exit $ac_status); }; } &&
16419          { ac_try='test -s conftest$ac_exeext'
16420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16421   (eval $ac_try) 2>&5
16422   ac_status=$?
16423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16424   (exit $ac_status); }; }; then
16425   eval "$as_ac_var=yes"
16426 else
16427   echo "$as_me: failed program was:" >&5
16428 sed 's/^/| /' conftest.$ac_ext >&5
16429
16430 eval "$as_ac_var=no"
16431 fi
16432 rm -f conftest.err conftest.$ac_objext \
16433       conftest$ac_exeext conftest.$ac_ext
16434 fi
16435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16437 if test `eval echo '${'$as_ac_var'}'` = yes; then
16438   cat >>confdefs.h <<_ACEOF
16439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16440 _ACEOF
16441
16442 fi
16443 done
16444
16445   else
16446
16447   echo "$as_me:$LINENO: checking for _modff declaration" >&5
16448 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16449   if test x${glibcxx_cv_func__modff_use+set} != xset; then
16450     if test "${glibcxx_cv_func__modff_use+set}" = set; then
16451   echo $ECHO_N "(cached) $ECHO_C" >&6
16452 else
16453
16454
16455
16456       ac_ext=cc
16457 ac_cpp='$CXXCPP $CPPFLAGS'
16458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16461
16462       cat >conftest.$ac_ext <<_ACEOF
16463 /* confdefs.h.  */
16464 _ACEOF
16465 cat confdefs.h >>conftest.$ac_ext
16466 cat >>conftest.$ac_ext <<_ACEOF
16467 /* end confdefs.h.  */
16468 #include <math.h>
16469 int
16470 main ()
16471 {
16472  _modff(0, 0);
16473   ;
16474   return 0;
16475 }
16476 _ACEOF
16477 rm -f conftest.$ac_objext
16478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16479   (eval $ac_compile) 2>conftest.er1
16480   ac_status=$?
16481   grep -v '^ *+' conftest.er1 >conftest.err
16482   rm -f conftest.er1
16483   cat conftest.err >&5
16484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16485   (exit $ac_status); } &&
16486          { ac_try='test -z "$ac_cxx_werror_flag"
16487                          || test ! -s conftest.err'
16488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16489   (eval $ac_try) 2>&5
16490   ac_status=$?
16491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16492   (exit $ac_status); }; } &&
16493          { ac_try='test -s conftest.$ac_objext'
16494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16495   (eval $ac_try) 2>&5
16496   ac_status=$?
16497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16498   (exit $ac_status); }; }; then
16499   glibcxx_cv_func__modff_use=yes
16500 else
16501   echo "$as_me: failed program was:" >&5
16502 sed 's/^/| /' conftest.$ac_ext >&5
16503
16504 glibcxx_cv_func__modff_use=no
16505 fi
16506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16507       ac_ext=c
16508 ac_cpp='$CPP $CPPFLAGS'
16509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16512
16513
16514 fi
16515
16516   fi
16517   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16518 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16519
16520     if test x$glibcxx_cv_func__modff_use = x"yes"; then
16521
16522 for ac_func in _modff
16523 do
16524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16525 echo "$as_me:$LINENO: checking for $ac_func" >&5
16526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16527 if eval "test \"\${$as_ac_var+set}\" = set"; then
16528   echo $ECHO_N "(cached) $ECHO_C" >&6
16529 else
16530   if test x$gcc_no_link = xyes; then
16531   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16533    { (exit 1); exit 1; }; }
16534 fi
16535 cat >conftest.$ac_ext <<_ACEOF
16536 /* confdefs.h.  */
16537 _ACEOF
16538 cat confdefs.h >>conftest.$ac_ext
16539 cat >>conftest.$ac_ext <<_ACEOF
16540 /* end confdefs.h.  */
16541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16542    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16543 #define $ac_func innocuous_$ac_func
16544
16545 /* System header to define __stub macros and hopefully few prototypes,
16546     which can conflict with char $ac_func (); below.
16547     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16548     <limits.h> exists even on freestanding compilers.  */
16549
16550 #ifdef __STDC__
16551 # include <limits.h>
16552 #else
16553 # include <assert.h>
16554 #endif
16555
16556 #undef $ac_func
16557
16558 /* Override any gcc2 internal prototype to avoid an error.  */
16559 #ifdef __cplusplus
16560 extern "C"
16561 {
16562 #endif
16563 /* We use char because int might match the return type of a gcc2
16564    builtin and then its argument prototype would still apply.  */
16565 char $ac_func ();
16566 /* The GNU C library defines this for functions which it implements
16567     to always fail with ENOSYS.  Some functions are actually named
16568     something starting with __ and the normal name is an alias.  */
16569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16570 choke me
16571 #else
16572 char (*f) () = $ac_func;
16573 #endif
16574 #ifdef __cplusplus
16575 }
16576 #endif
16577
16578 int
16579 main ()
16580 {
16581 return f != $ac_func;
16582   ;
16583   return 0;
16584 }
16585 _ACEOF
16586 rm -f conftest.$ac_objext conftest$ac_exeext
16587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16588   (eval $ac_link) 2>conftest.er1
16589   ac_status=$?
16590   grep -v '^ *+' conftest.er1 >conftest.err
16591   rm -f conftest.er1
16592   cat conftest.err >&5
16593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16594   (exit $ac_status); } &&
16595          { ac_try='test -z "$ac_c_werror_flag"
16596                          || test ! -s conftest.err'
16597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16598   (eval $ac_try) 2>&5
16599   ac_status=$?
16600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16601   (exit $ac_status); }; } &&
16602          { ac_try='test -s conftest$ac_exeext'
16603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16604   (eval $ac_try) 2>&5
16605   ac_status=$?
16606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16607   (exit $ac_status); }; }; then
16608   eval "$as_ac_var=yes"
16609 else
16610   echo "$as_me: failed program was:" >&5
16611 sed 's/^/| /' conftest.$ac_ext >&5
16612
16613 eval "$as_ac_var=no"
16614 fi
16615 rm -f conftest.err conftest.$ac_objext \
16616       conftest$ac_exeext conftest.$ac_ext
16617 fi
16618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16620 if test `eval echo '${'$as_ac_var'}'` = yes; then
16621   cat >>confdefs.h <<_ACEOF
16622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16623 _ACEOF
16624
16625 fi
16626 done
16627
16628     fi
16629   fi
16630
16631
16632
16633
16634
16635
16636   echo "$as_me:$LINENO: checking for modf declaration" >&5
16637 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
16638   if test x${glibcxx_cv_func_modf_use+set} != xset; then
16639     if test "${glibcxx_cv_func_modf_use+set}" = set; then
16640   echo $ECHO_N "(cached) $ECHO_C" >&6
16641 else
16642
16643
16644
16645       ac_ext=cc
16646 ac_cpp='$CXXCPP $CPPFLAGS'
16647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16650
16651       cat >conftest.$ac_ext <<_ACEOF
16652 /* confdefs.h.  */
16653 _ACEOF
16654 cat confdefs.h >>conftest.$ac_ext
16655 cat >>conftest.$ac_ext <<_ACEOF
16656 /* end confdefs.h.  */
16657 #include <math.h>
16658 int
16659 main ()
16660 {
16661  modf(0, 0);
16662   ;
16663   return 0;
16664 }
16665 _ACEOF
16666 rm -f conftest.$ac_objext
16667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16668   (eval $ac_compile) 2>conftest.er1
16669   ac_status=$?
16670   grep -v '^ *+' conftest.er1 >conftest.err
16671   rm -f conftest.er1
16672   cat conftest.err >&5
16673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674   (exit $ac_status); } &&
16675          { ac_try='test -z "$ac_cxx_werror_flag"
16676                          || test ! -s conftest.err'
16677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16678   (eval $ac_try) 2>&5
16679   ac_status=$?
16680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681   (exit $ac_status); }; } &&
16682          { ac_try='test -s conftest.$ac_objext'
16683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16684   (eval $ac_try) 2>&5
16685   ac_status=$?
16686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16687   (exit $ac_status); }; }; then
16688   glibcxx_cv_func_modf_use=yes
16689 else
16690   echo "$as_me: failed program was:" >&5
16691 sed 's/^/| /' conftest.$ac_ext >&5
16692
16693 glibcxx_cv_func_modf_use=no
16694 fi
16695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16696       ac_ext=c
16697 ac_cpp='$CPP $CPPFLAGS'
16698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16701
16702
16703 fi
16704
16705   fi
16706   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
16707 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
16708
16709   if test x$glibcxx_cv_func_modf_use = x"yes"; then
16710
16711 for ac_func in modf
16712 do
16713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16714 echo "$as_me:$LINENO: checking for $ac_func" >&5
16715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16716 if eval "test \"\${$as_ac_var+set}\" = set"; then
16717   echo $ECHO_N "(cached) $ECHO_C" >&6
16718 else
16719   if test x$gcc_no_link = xyes; then
16720   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16722    { (exit 1); exit 1; }; }
16723 fi
16724 cat >conftest.$ac_ext <<_ACEOF
16725 /* confdefs.h.  */
16726 _ACEOF
16727 cat confdefs.h >>conftest.$ac_ext
16728 cat >>conftest.$ac_ext <<_ACEOF
16729 /* end confdefs.h.  */
16730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16731    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16732 #define $ac_func innocuous_$ac_func
16733
16734 /* System header to define __stub macros and hopefully few prototypes,
16735     which can conflict with char $ac_func (); below.
16736     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16737     <limits.h> exists even on freestanding compilers.  */
16738
16739 #ifdef __STDC__
16740 # include <limits.h>
16741 #else
16742 # include <assert.h>
16743 #endif
16744
16745 #undef $ac_func
16746
16747 /* Override any gcc2 internal prototype to avoid an error.  */
16748 #ifdef __cplusplus
16749 extern "C"
16750 {
16751 #endif
16752 /* We use char because int might match the return type of a gcc2
16753    builtin and then its argument prototype would still apply.  */
16754 char $ac_func ();
16755 /* The GNU C library defines this for functions which it implements
16756     to always fail with ENOSYS.  Some functions are actually named
16757     something starting with __ and the normal name is an alias.  */
16758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16759 choke me
16760 #else
16761 char (*f) () = $ac_func;
16762 #endif
16763 #ifdef __cplusplus
16764 }
16765 #endif
16766
16767 int
16768 main ()
16769 {
16770 return f != $ac_func;
16771   ;
16772   return 0;
16773 }
16774 _ACEOF
16775 rm -f conftest.$ac_objext conftest$ac_exeext
16776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16777   (eval $ac_link) 2>conftest.er1
16778   ac_status=$?
16779   grep -v '^ *+' conftest.er1 >conftest.err
16780   rm -f conftest.er1
16781   cat conftest.err >&5
16782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16783   (exit $ac_status); } &&
16784          { ac_try='test -z "$ac_c_werror_flag"
16785                          || test ! -s conftest.err'
16786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16787   (eval $ac_try) 2>&5
16788   ac_status=$?
16789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16790   (exit $ac_status); }; } &&
16791          { ac_try='test -s conftest$ac_exeext'
16792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16793   (eval $ac_try) 2>&5
16794   ac_status=$?
16795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796   (exit $ac_status); }; }; then
16797   eval "$as_ac_var=yes"
16798 else
16799   echo "$as_me: failed program was:" >&5
16800 sed 's/^/| /' conftest.$ac_ext >&5
16801
16802 eval "$as_ac_var=no"
16803 fi
16804 rm -f conftest.err conftest.$ac_objext \
16805       conftest$ac_exeext conftest.$ac_ext
16806 fi
16807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16809 if test `eval echo '${'$as_ac_var'}'` = yes; then
16810   cat >>confdefs.h <<_ACEOF
16811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16812 _ACEOF
16813
16814 fi
16815 done
16816
16817   else
16818
16819   echo "$as_me:$LINENO: checking for _modf declaration" >&5
16820 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
16821   if test x${glibcxx_cv_func__modf_use+set} != xset; then
16822     if test "${glibcxx_cv_func__modf_use+set}" = set; then
16823   echo $ECHO_N "(cached) $ECHO_C" >&6
16824 else
16825
16826
16827
16828       ac_ext=cc
16829 ac_cpp='$CXXCPP $CPPFLAGS'
16830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16833
16834       cat >conftest.$ac_ext <<_ACEOF
16835 /* confdefs.h.  */
16836 _ACEOF
16837 cat confdefs.h >>conftest.$ac_ext
16838 cat >>conftest.$ac_ext <<_ACEOF
16839 /* end confdefs.h.  */
16840 #include <math.h>
16841 int
16842 main ()
16843 {
16844  _modf(0, 0);
16845   ;
16846   return 0;
16847 }
16848 _ACEOF
16849 rm -f conftest.$ac_objext
16850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16851   (eval $ac_compile) 2>conftest.er1
16852   ac_status=$?
16853   grep -v '^ *+' conftest.er1 >conftest.err
16854   rm -f conftest.er1
16855   cat conftest.err >&5
16856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857   (exit $ac_status); } &&
16858          { ac_try='test -z "$ac_cxx_werror_flag"
16859                          || test ! -s conftest.err'
16860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16861   (eval $ac_try) 2>&5
16862   ac_status=$?
16863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16864   (exit $ac_status); }; } &&
16865          { ac_try='test -s conftest.$ac_objext'
16866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16867   (eval $ac_try) 2>&5
16868   ac_status=$?
16869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16870   (exit $ac_status); }; }; then
16871   glibcxx_cv_func__modf_use=yes
16872 else
16873   echo "$as_me: failed program was:" >&5
16874 sed 's/^/| /' conftest.$ac_ext >&5
16875
16876 glibcxx_cv_func__modf_use=no
16877 fi
16878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16879       ac_ext=c
16880 ac_cpp='$CPP $CPPFLAGS'
16881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16884
16885
16886 fi
16887
16888   fi
16889   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
16890 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
16891
16892     if test x$glibcxx_cv_func__modf_use = x"yes"; then
16893
16894 for ac_func in _modf
16895 do
16896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16897 echo "$as_me:$LINENO: checking for $ac_func" >&5
16898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16899 if eval "test \"\${$as_ac_var+set}\" = set"; then
16900   echo $ECHO_N "(cached) $ECHO_C" >&6
16901 else
16902   if test x$gcc_no_link = xyes; then
16903   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16905    { (exit 1); exit 1; }; }
16906 fi
16907 cat >conftest.$ac_ext <<_ACEOF
16908 /* confdefs.h.  */
16909 _ACEOF
16910 cat confdefs.h >>conftest.$ac_ext
16911 cat >>conftest.$ac_ext <<_ACEOF
16912 /* end confdefs.h.  */
16913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16914    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16915 #define $ac_func innocuous_$ac_func
16916
16917 /* System header to define __stub macros and hopefully few prototypes,
16918     which can conflict with char $ac_func (); below.
16919     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16920     <limits.h> exists even on freestanding compilers.  */
16921
16922 #ifdef __STDC__
16923 # include <limits.h>
16924 #else
16925 # include <assert.h>
16926 #endif
16927
16928 #undef $ac_func
16929
16930 /* Override any gcc2 internal prototype to avoid an error.  */
16931 #ifdef __cplusplus
16932 extern "C"
16933 {
16934 #endif
16935 /* We use char because int might match the return type of a gcc2
16936    builtin and then its argument prototype would still apply.  */
16937 char $ac_func ();
16938 /* The GNU C library defines this for functions which it implements
16939     to always fail with ENOSYS.  Some functions are actually named
16940     something starting with __ and the normal name is an alias.  */
16941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16942 choke me
16943 #else
16944 char (*f) () = $ac_func;
16945 #endif
16946 #ifdef __cplusplus
16947 }
16948 #endif
16949
16950 int
16951 main ()
16952 {
16953 return f != $ac_func;
16954   ;
16955   return 0;
16956 }
16957 _ACEOF
16958 rm -f conftest.$ac_objext conftest$ac_exeext
16959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16960   (eval $ac_link) 2>conftest.er1
16961   ac_status=$?
16962   grep -v '^ *+' conftest.er1 >conftest.err
16963   rm -f conftest.er1
16964   cat conftest.err >&5
16965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16966   (exit $ac_status); } &&
16967          { ac_try='test -z "$ac_c_werror_flag"
16968                          || test ! -s conftest.err'
16969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16970   (eval $ac_try) 2>&5
16971   ac_status=$?
16972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16973   (exit $ac_status); }; } &&
16974          { ac_try='test -s conftest$ac_exeext'
16975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16976   (eval $ac_try) 2>&5
16977   ac_status=$?
16978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16979   (exit $ac_status); }; }; then
16980   eval "$as_ac_var=yes"
16981 else
16982   echo "$as_me: failed program was:" >&5
16983 sed 's/^/| /' conftest.$ac_ext >&5
16984
16985 eval "$as_ac_var=no"
16986 fi
16987 rm -f conftest.err conftest.$ac_objext \
16988       conftest$ac_exeext conftest.$ac_ext
16989 fi
16990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16992 if test `eval echo '${'$as_ac_var'}'` = yes; then
16993   cat >>confdefs.h <<_ACEOF
16994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16995 _ACEOF
16996
16997 fi
16998 done
16999
17000     fi
17001   fi
17002
17003
17004
17005
17006
17007
17008   echo "$as_me:$LINENO: checking for powf declaration" >&5
17009 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
17010   if test x${glibcxx_cv_func_powf_use+set} != xset; then
17011     if test "${glibcxx_cv_func_powf_use+set}" = set; then
17012   echo $ECHO_N "(cached) $ECHO_C" >&6
17013 else
17014
17015
17016
17017       ac_ext=cc
17018 ac_cpp='$CXXCPP $CPPFLAGS'
17019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17022
17023       cat >conftest.$ac_ext <<_ACEOF
17024 /* confdefs.h.  */
17025 _ACEOF
17026 cat confdefs.h >>conftest.$ac_ext
17027 cat >>conftest.$ac_ext <<_ACEOF
17028 /* end confdefs.h.  */
17029 #include <math.h>
17030 int
17031 main ()
17032 {
17033  powf(0, 0);
17034   ;
17035   return 0;
17036 }
17037 _ACEOF
17038 rm -f conftest.$ac_objext
17039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17040   (eval $ac_compile) 2>conftest.er1
17041   ac_status=$?
17042   grep -v '^ *+' conftest.er1 >conftest.err
17043   rm -f conftest.er1
17044   cat conftest.err >&5
17045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046   (exit $ac_status); } &&
17047          { ac_try='test -z "$ac_cxx_werror_flag"
17048                          || test ! -s conftest.err'
17049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17050   (eval $ac_try) 2>&5
17051   ac_status=$?
17052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053   (exit $ac_status); }; } &&
17054          { ac_try='test -s conftest.$ac_objext'
17055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17056   (eval $ac_try) 2>&5
17057   ac_status=$?
17058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17059   (exit $ac_status); }; }; then
17060   glibcxx_cv_func_powf_use=yes
17061 else
17062   echo "$as_me: failed program was:" >&5
17063 sed 's/^/| /' conftest.$ac_ext >&5
17064
17065 glibcxx_cv_func_powf_use=no
17066 fi
17067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17068       ac_ext=c
17069 ac_cpp='$CPP $CPPFLAGS'
17070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17073
17074
17075 fi
17076
17077   fi
17078   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
17079 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
17080
17081   if test x$glibcxx_cv_func_powf_use = x"yes"; then
17082
17083 for ac_func in powf
17084 do
17085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17086 echo "$as_me:$LINENO: checking for $ac_func" >&5
17087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17088 if eval "test \"\${$as_ac_var+set}\" = set"; then
17089   echo $ECHO_N "(cached) $ECHO_C" >&6
17090 else
17091   if test x$gcc_no_link = xyes; then
17092   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17094    { (exit 1); exit 1; }; }
17095 fi
17096 cat >conftest.$ac_ext <<_ACEOF
17097 /* confdefs.h.  */
17098 _ACEOF
17099 cat confdefs.h >>conftest.$ac_ext
17100 cat >>conftest.$ac_ext <<_ACEOF
17101 /* end confdefs.h.  */
17102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17103    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17104 #define $ac_func innocuous_$ac_func
17105
17106 /* System header to define __stub macros and hopefully few prototypes,
17107     which can conflict with char $ac_func (); below.
17108     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17109     <limits.h> exists even on freestanding compilers.  */
17110
17111 #ifdef __STDC__
17112 # include <limits.h>
17113 #else
17114 # include <assert.h>
17115 #endif
17116
17117 #undef $ac_func
17118
17119 /* Override any gcc2 internal prototype to avoid an error.  */
17120 #ifdef __cplusplus
17121 extern "C"
17122 {
17123 #endif
17124 /* We use char because int might match the return type of a gcc2
17125    builtin and then its argument prototype would still apply.  */
17126 char $ac_func ();
17127 /* The GNU C library defines this for functions which it implements
17128     to always fail with ENOSYS.  Some functions are actually named
17129     something starting with __ and the normal name is an alias.  */
17130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17131 choke me
17132 #else
17133 char (*f) () = $ac_func;
17134 #endif
17135 #ifdef __cplusplus
17136 }
17137 #endif
17138
17139 int
17140 main ()
17141 {
17142 return f != $ac_func;
17143   ;
17144   return 0;
17145 }
17146 _ACEOF
17147 rm -f conftest.$ac_objext conftest$ac_exeext
17148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17149   (eval $ac_link) 2>conftest.er1
17150   ac_status=$?
17151   grep -v '^ *+' conftest.er1 >conftest.err
17152   rm -f conftest.er1
17153   cat conftest.err >&5
17154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155   (exit $ac_status); } &&
17156          { ac_try='test -z "$ac_c_werror_flag"
17157                          || test ! -s conftest.err'
17158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17159   (eval $ac_try) 2>&5
17160   ac_status=$?
17161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162   (exit $ac_status); }; } &&
17163          { ac_try='test -s conftest$ac_exeext'
17164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17165   (eval $ac_try) 2>&5
17166   ac_status=$?
17167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17168   (exit $ac_status); }; }; then
17169   eval "$as_ac_var=yes"
17170 else
17171   echo "$as_me: failed program was:" >&5
17172 sed 's/^/| /' conftest.$ac_ext >&5
17173
17174 eval "$as_ac_var=no"
17175 fi
17176 rm -f conftest.err conftest.$ac_objext \
17177       conftest$ac_exeext conftest.$ac_ext
17178 fi
17179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17181 if test `eval echo '${'$as_ac_var'}'` = yes; then
17182   cat >>confdefs.h <<_ACEOF
17183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17184 _ACEOF
17185
17186 fi
17187 done
17188
17189   else
17190
17191   echo "$as_me:$LINENO: checking for _powf declaration" >&5
17192 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
17193   if test x${glibcxx_cv_func__powf_use+set} != xset; then
17194     if test "${glibcxx_cv_func__powf_use+set}" = set; then
17195   echo $ECHO_N "(cached) $ECHO_C" >&6
17196 else
17197
17198
17199
17200       ac_ext=cc
17201 ac_cpp='$CXXCPP $CPPFLAGS'
17202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17205
17206       cat >conftest.$ac_ext <<_ACEOF
17207 /* confdefs.h.  */
17208 _ACEOF
17209 cat confdefs.h >>conftest.$ac_ext
17210 cat >>conftest.$ac_ext <<_ACEOF
17211 /* end confdefs.h.  */
17212 #include <math.h>
17213 int
17214 main ()
17215 {
17216  _powf(0, 0);
17217   ;
17218   return 0;
17219 }
17220 _ACEOF
17221 rm -f conftest.$ac_objext
17222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17223   (eval $ac_compile) 2>conftest.er1
17224   ac_status=$?
17225   grep -v '^ *+' conftest.er1 >conftest.err
17226   rm -f conftest.er1
17227   cat conftest.err >&5
17228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17229   (exit $ac_status); } &&
17230          { ac_try='test -z "$ac_cxx_werror_flag"
17231                          || test ! -s conftest.err'
17232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17233   (eval $ac_try) 2>&5
17234   ac_status=$?
17235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17236   (exit $ac_status); }; } &&
17237          { ac_try='test -s conftest.$ac_objext'
17238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17239   (eval $ac_try) 2>&5
17240   ac_status=$?
17241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17242   (exit $ac_status); }; }; then
17243   glibcxx_cv_func__powf_use=yes
17244 else
17245   echo "$as_me: failed program was:" >&5
17246 sed 's/^/| /' conftest.$ac_ext >&5
17247
17248 glibcxx_cv_func__powf_use=no
17249 fi
17250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17251       ac_ext=c
17252 ac_cpp='$CPP $CPPFLAGS'
17253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17256
17257
17258 fi
17259
17260   fi
17261   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
17262 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
17263
17264     if test x$glibcxx_cv_func__powf_use = x"yes"; then
17265
17266 for ac_func in _powf
17267 do
17268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17269 echo "$as_me:$LINENO: checking for $ac_func" >&5
17270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17271 if eval "test \"\${$as_ac_var+set}\" = set"; then
17272   echo $ECHO_N "(cached) $ECHO_C" >&6
17273 else
17274   if test x$gcc_no_link = xyes; then
17275   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17277    { (exit 1); exit 1; }; }
17278 fi
17279 cat >conftest.$ac_ext <<_ACEOF
17280 /* confdefs.h.  */
17281 _ACEOF
17282 cat confdefs.h >>conftest.$ac_ext
17283 cat >>conftest.$ac_ext <<_ACEOF
17284 /* end confdefs.h.  */
17285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17286    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17287 #define $ac_func innocuous_$ac_func
17288
17289 /* System header to define __stub macros and hopefully few prototypes,
17290     which can conflict with char $ac_func (); below.
17291     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17292     <limits.h> exists even on freestanding compilers.  */
17293
17294 #ifdef __STDC__
17295 # include <limits.h>
17296 #else
17297 # include <assert.h>
17298 #endif
17299
17300 #undef $ac_func
17301
17302 /* Override any gcc2 internal prototype to avoid an error.  */
17303 #ifdef __cplusplus
17304 extern "C"
17305 {
17306 #endif
17307 /* We use char because int might match the return type of a gcc2
17308    builtin and then its argument prototype would still apply.  */
17309 char $ac_func ();
17310 /* The GNU C library defines this for functions which it implements
17311     to always fail with ENOSYS.  Some functions are actually named
17312     something starting with __ and the normal name is an alias.  */
17313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17314 choke me
17315 #else
17316 char (*f) () = $ac_func;
17317 #endif
17318 #ifdef __cplusplus
17319 }
17320 #endif
17321
17322 int
17323 main ()
17324 {
17325 return f != $ac_func;
17326   ;
17327   return 0;
17328 }
17329 _ACEOF
17330 rm -f conftest.$ac_objext conftest$ac_exeext
17331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17332   (eval $ac_link) 2>conftest.er1
17333   ac_status=$?
17334   grep -v '^ *+' conftest.er1 >conftest.err
17335   rm -f conftest.er1
17336   cat conftest.err >&5
17337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17338   (exit $ac_status); } &&
17339          { ac_try='test -z "$ac_c_werror_flag"
17340                          || test ! -s conftest.err'
17341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17342   (eval $ac_try) 2>&5
17343   ac_status=$?
17344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17345   (exit $ac_status); }; } &&
17346          { ac_try='test -s conftest$ac_exeext'
17347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17348   (eval $ac_try) 2>&5
17349   ac_status=$?
17350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351   (exit $ac_status); }; }; then
17352   eval "$as_ac_var=yes"
17353 else
17354   echo "$as_me: failed program was:" >&5
17355 sed 's/^/| /' conftest.$ac_ext >&5
17356
17357 eval "$as_ac_var=no"
17358 fi
17359 rm -f conftest.err conftest.$ac_objext \
17360       conftest$ac_exeext conftest.$ac_ext
17361 fi
17362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17364 if test `eval echo '${'$as_ac_var'}'` = yes; then
17365   cat >>confdefs.h <<_ACEOF
17366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17367 _ACEOF
17368
17369 fi
17370 done
17371
17372     fi
17373   fi
17374
17375
17376
17377
17378
17379
17380   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
17381 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
17382   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
17383     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
17384   echo $ECHO_N "(cached) $ECHO_C" >&6
17385 else
17386
17387
17388
17389       ac_ext=cc
17390 ac_cpp='$CXXCPP $CPPFLAGS'
17391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17394
17395       cat >conftest.$ac_ext <<_ACEOF
17396 /* confdefs.h.  */
17397 _ACEOF
17398 cat confdefs.h >>conftest.$ac_ext
17399 cat >>conftest.$ac_ext <<_ACEOF
17400 /* end confdefs.h.  */
17401 #include <math.h>
17402                       #ifdef HAVE_IEEEFP_H
17403                       #include <ieeefp.h>
17404                       #endif
17405
17406 int
17407 main ()
17408 {
17409  sqrtf(0);
17410   ;
17411   return 0;
17412 }
17413 _ACEOF
17414 rm -f conftest.$ac_objext
17415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17416   (eval $ac_compile) 2>conftest.er1
17417   ac_status=$?
17418   grep -v '^ *+' conftest.er1 >conftest.err
17419   rm -f conftest.er1
17420   cat conftest.err >&5
17421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17422   (exit $ac_status); } &&
17423          { ac_try='test -z "$ac_cxx_werror_flag"
17424                          || test ! -s conftest.err'
17425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17426   (eval $ac_try) 2>&5
17427   ac_status=$?
17428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17429   (exit $ac_status); }; } &&
17430          { ac_try='test -s conftest.$ac_objext'
17431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17432   (eval $ac_try) 2>&5
17433   ac_status=$?
17434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17435   (exit $ac_status); }; }; then
17436   glibcxx_cv_func_sqrtf_use=yes
17437 else
17438   echo "$as_me: failed program was:" >&5
17439 sed 's/^/| /' conftest.$ac_ext >&5
17440
17441 glibcxx_cv_func_sqrtf_use=no
17442 fi
17443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17444       ac_ext=c
17445 ac_cpp='$CPP $CPPFLAGS'
17446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17449
17450
17451 fi
17452
17453   fi
17454   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
17455 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
17456
17457   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
17458
17459 for ac_func in sqrtf
17460 do
17461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17462 echo "$as_me:$LINENO: checking for $ac_func" >&5
17463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17464 if eval "test \"\${$as_ac_var+set}\" = set"; then
17465   echo $ECHO_N "(cached) $ECHO_C" >&6
17466 else
17467   if test x$gcc_no_link = xyes; then
17468   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17470    { (exit 1); exit 1; }; }
17471 fi
17472 cat >conftest.$ac_ext <<_ACEOF
17473 /* confdefs.h.  */
17474 _ACEOF
17475 cat confdefs.h >>conftest.$ac_ext
17476 cat >>conftest.$ac_ext <<_ACEOF
17477 /* end confdefs.h.  */
17478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17479    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17480 #define $ac_func innocuous_$ac_func
17481
17482 /* System header to define __stub macros and hopefully few prototypes,
17483     which can conflict with char $ac_func (); below.
17484     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17485     <limits.h> exists even on freestanding compilers.  */
17486
17487 #ifdef __STDC__
17488 # include <limits.h>
17489 #else
17490 # include <assert.h>
17491 #endif
17492
17493 #undef $ac_func
17494
17495 /* Override any gcc2 internal prototype to avoid an error.  */
17496 #ifdef __cplusplus
17497 extern "C"
17498 {
17499 #endif
17500 /* We use char because int might match the return type of a gcc2
17501    builtin and then its argument prototype would still apply.  */
17502 char $ac_func ();
17503 /* The GNU C library defines this for functions which it implements
17504     to always fail with ENOSYS.  Some functions are actually named
17505     something starting with __ and the normal name is an alias.  */
17506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17507 choke me
17508 #else
17509 char (*f) () = $ac_func;
17510 #endif
17511 #ifdef __cplusplus
17512 }
17513 #endif
17514
17515 int
17516 main ()
17517 {
17518 return f != $ac_func;
17519   ;
17520   return 0;
17521 }
17522 _ACEOF
17523 rm -f conftest.$ac_objext conftest$ac_exeext
17524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17525   (eval $ac_link) 2>conftest.er1
17526   ac_status=$?
17527   grep -v '^ *+' conftest.er1 >conftest.err
17528   rm -f conftest.er1
17529   cat conftest.err >&5
17530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531   (exit $ac_status); } &&
17532          { ac_try='test -z "$ac_c_werror_flag"
17533                          || test ! -s conftest.err'
17534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17535   (eval $ac_try) 2>&5
17536   ac_status=$?
17537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17538   (exit $ac_status); }; } &&
17539          { ac_try='test -s conftest$ac_exeext'
17540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17541   (eval $ac_try) 2>&5
17542   ac_status=$?
17543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17544   (exit $ac_status); }; }; then
17545   eval "$as_ac_var=yes"
17546 else
17547   echo "$as_me: failed program was:" >&5
17548 sed 's/^/| /' conftest.$ac_ext >&5
17549
17550 eval "$as_ac_var=no"
17551 fi
17552 rm -f conftest.err conftest.$ac_objext \
17553       conftest$ac_exeext conftest.$ac_ext
17554 fi
17555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17557 if test `eval echo '${'$as_ac_var'}'` = yes; then
17558   cat >>confdefs.h <<_ACEOF
17559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17560 _ACEOF
17561
17562 fi
17563 done
17564
17565   else
17566
17567   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
17568 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
17569   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
17570     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
17571   echo $ECHO_N "(cached) $ECHO_C" >&6
17572 else
17573
17574
17575
17576       ac_ext=cc
17577 ac_cpp='$CXXCPP $CPPFLAGS'
17578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17581
17582       cat >conftest.$ac_ext <<_ACEOF
17583 /* confdefs.h.  */
17584 _ACEOF
17585 cat confdefs.h >>conftest.$ac_ext
17586 cat >>conftest.$ac_ext <<_ACEOF
17587 /* end confdefs.h.  */
17588 #include <math.h>
17589                       #ifdef HAVE_IEEEFP_H
17590                       #include <ieeefp.h>
17591                       #endif
17592
17593 int
17594 main ()
17595 {
17596  _sqrtf(0);
17597   ;
17598   return 0;
17599 }
17600 _ACEOF
17601 rm -f conftest.$ac_objext
17602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17603   (eval $ac_compile) 2>conftest.er1
17604   ac_status=$?
17605   grep -v '^ *+' conftest.er1 >conftest.err
17606   rm -f conftest.er1
17607   cat conftest.err >&5
17608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17609   (exit $ac_status); } &&
17610          { ac_try='test -z "$ac_cxx_werror_flag"
17611                          || test ! -s conftest.err'
17612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17613   (eval $ac_try) 2>&5
17614   ac_status=$?
17615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17616   (exit $ac_status); }; } &&
17617          { ac_try='test -s conftest.$ac_objext'
17618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17619   (eval $ac_try) 2>&5
17620   ac_status=$?
17621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17622   (exit $ac_status); }; }; then
17623   glibcxx_cv_func__sqrtf_use=yes
17624 else
17625   echo "$as_me: failed program was:" >&5
17626 sed 's/^/| /' conftest.$ac_ext >&5
17627
17628 glibcxx_cv_func__sqrtf_use=no
17629 fi
17630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17631       ac_ext=c
17632 ac_cpp='$CPP $CPPFLAGS'
17633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17636
17637
17638 fi
17639
17640   fi
17641   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
17642 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
17643
17644     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
17645
17646 for ac_func in _sqrtf
17647 do
17648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17649 echo "$as_me:$LINENO: checking for $ac_func" >&5
17650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17651 if eval "test \"\${$as_ac_var+set}\" = set"; then
17652   echo $ECHO_N "(cached) $ECHO_C" >&6
17653 else
17654   if test x$gcc_no_link = xyes; then
17655   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17657    { (exit 1); exit 1; }; }
17658 fi
17659 cat >conftest.$ac_ext <<_ACEOF
17660 /* confdefs.h.  */
17661 _ACEOF
17662 cat confdefs.h >>conftest.$ac_ext
17663 cat >>conftest.$ac_ext <<_ACEOF
17664 /* end confdefs.h.  */
17665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17666    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17667 #define $ac_func innocuous_$ac_func
17668
17669 /* System header to define __stub macros and hopefully few prototypes,
17670     which can conflict with char $ac_func (); below.
17671     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17672     <limits.h> exists even on freestanding compilers.  */
17673
17674 #ifdef __STDC__
17675 # include <limits.h>
17676 #else
17677 # include <assert.h>
17678 #endif
17679
17680 #undef $ac_func
17681
17682 /* Override any gcc2 internal prototype to avoid an error.  */
17683 #ifdef __cplusplus
17684 extern "C"
17685 {
17686 #endif
17687 /* We use char because int might match the return type of a gcc2
17688    builtin and then its argument prototype would still apply.  */
17689 char $ac_func ();
17690 /* The GNU C library defines this for functions which it implements
17691     to always fail with ENOSYS.  Some functions are actually named
17692     something starting with __ and the normal name is an alias.  */
17693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17694 choke me
17695 #else
17696 char (*f) () = $ac_func;
17697 #endif
17698 #ifdef __cplusplus
17699 }
17700 #endif
17701
17702 int
17703 main ()
17704 {
17705 return f != $ac_func;
17706   ;
17707   return 0;
17708 }
17709 _ACEOF
17710 rm -f conftest.$ac_objext conftest$ac_exeext
17711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17712   (eval $ac_link) 2>conftest.er1
17713   ac_status=$?
17714   grep -v '^ *+' conftest.er1 >conftest.err
17715   rm -f conftest.er1
17716   cat conftest.err >&5
17717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17718   (exit $ac_status); } &&
17719          { ac_try='test -z "$ac_c_werror_flag"
17720                          || test ! -s conftest.err'
17721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17722   (eval $ac_try) 2>&5
17723   ac_status=$?
17724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725   (exit $ac_status); }; } &&
17726          { ac_try='test -s conftest$ac_exeext'
17727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17728   (eval $ac_try) 2>&5
17729   ac_status=$?
17730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17731   (exit $ac_status); }; }; then
17732   eval "$as_ac_var=yes"
17733 else
17734   echo "$as_me: failed program was:" >&5
17735 sed 's/^/| /' conftest.$ac_ext >&5
17736
17737 eval "$as_ac_var=no"
17738 fi
17739 rm -f conftest.err conftest.$ac_objext \
17740       conftest$ac_exeext conftest.$ac_ext
17741 fi
17742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17744 if test `eval echo '${'$as_ac_var'}'` = yes; then
17745   cat >>confdefs.h <<_ACEOF
17746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17747 _ACEOF
17748
17749 fi
17750 done
17751
17752     fi
17753   fi
17754
17755
17756
17757
17758
17759
17760   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
17761 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
17762   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
17763     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
17764   echo $ECHO_N "(cached) $ECHO_C" >&6
17765 else
17766
17767
17768
17769       ac_ext=cc
17770 ac_cpp='$CXXCPP $CPPFLAGS'
17771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17774
17775       cat >conftest.$ac_ext <<_ACEOF
17776 /* confdefs.h.  */
17777 _ACEOF
17778 cat confdefs.h >>conftest.$ac_ext
17779 cat >>conftest.$ac_ext <<_ACEOF
17780 /* end confdefs.h.  */
17781 #include <math.h>
17782 int
17783 main ()
17784 {
17785  sincosf(0, 0, 0);
17786   ;
17787   return 0;
17788 }
17789 _ACEOF
17790 rm -f conftest.$ac_objext
17791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17792   (eval $ac_compile) 2>conftest.er1
17793   ac_status=$?
17794   grep -v '^ *+' conftest.er1 >conftest.err
17795   rm -f conftest.er1
17796   cat conftest.err >&5
17797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17798   (exit $ac_status); } &&
17799          { ac_try='test -z "$ac_cxx_werror_flag"
17800                          || test ! -s conftest.err'
17801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17802   (eval $ac_try) 2>&5
17803   ac_status=$?
17804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805   (exit $ac_status); }; } &&
17806          { ac_try='test -s conftest.$ac_objext'
17807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17808   (eval $ac_try) 2>&5
17809   ac_status=$?
17810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17811   (exit $ac_status); }; }; then
17812   glibcxx_cv_func_sincosf_use=yes
17813 else
17814   echo "$as_me: failed program was:" >&5
17815 sed 's/^/| /' conftest.$ac_ext >&5
17816
17817 glibcxx_cv_func_sincosf_use=no
17818 fi
17819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17820       ac_ext=c
17821 ac_cpp='$CPP $CPPFLAGS'
17822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17825
17826
17827 fi
17828
17829   fi
17830   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
17831 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
17832
17833   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
17834
17835 for ac_func in sincosf
17836 do
17837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17838 echo "$as_me:$LINENO: checking for $ac_func" >&5
17839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17840 if eval "test \"\${$as_ac_var+set}\" = set"; then
17841   echo $ECHO_N "(cached) $ECHO_C" >&6
17842 else
17843   if test x$gcc_no_link = xyes; then
17844   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17846    { (exit 1); exit 1; }; }
17847 fi
17848 cat >conftest.$ac_ext <<_ACEOF
17849 /* confdefs.h.  */
17850 _ACEOF
17851 cat confdefs.h >>conftest.$ac_ext
17852 cat >>conftest.$ac_ext <<_ACEOF
17853 /* end confdefs.h.  */
17854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17855    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17856 #define $ac_func innocuous_$ac_func
17857
17858 /* System header to define __stub macros and hopefully few prototypes,
17859     which can conflict with char $ac_func (); below.
17860     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17861     <limits.h> exists even on freestanding compilers.  */
17862
17863 #ifdef __STDC__
17864 # include <limits.h>
17865 #else
17866 # include <assert.h>
17867 #endif
17868
17869 #undef $ac_func
17870
17871 /* Override any gcc2 internal prototype to avoid an error.  */
17872 #ifdef __cplusplus
17873 extern "C"
17874 {
17875 #endif
17876 /* We use char because int might match the return type of a gcc2
17877    builtin and then its argument prototype would still apply.  */
17878 char $ac_func ();
17879 /* The GNU C library defines this for functions which it implements
17880     to always fail with ENOSYS.  Some functions are actually named
17881     something starting with __ and the normal name is an alias.  */
17882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17883 choke me
17884 #else
17885 char (*f) () = $ac_func;
17886 #endif
17887 #ifdef __cplusplus
17888 }
17889 #endif
17890
17891 int
17892 main ()
17893 {
17894 return f != $ac_func;
17895   ;
17896   return 0;
17897 }
17898 _ACEOF
17899 rm -f conftest.$ac_objext conftest$ac_exeext
17900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17901   (eval $ac_link) 2>conftest.er1
17902   ac_status=$?
17903   grep -v '^ *+' conftest.er1 >conftest.err
17904   rm -f conftest.er1
17905   cat conftest.err >&5
17906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907   (exit $ac_status); } &&
17908          { ac_try='test -z "$ac_c_werror_flag"
17909                          || test ! -s conftest.err'
17910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17911   (eval $ac_try) 2>&5
17912   ac_status=$?
17913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914   (exit $ac_status); }; } &&
17915          { ac_try='test -s conftest$ac_exeext'
17916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17917   (eval $ac_try) 2>&5
17918   ac_status=$?
17919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17920   (exit $ac_status); }; }; then
17921   eval "$as_ac_var=yes"
17922 else
17923   echo "$as_me: failed program was:" >&5
17924 sed 's/^/| /' conftest.$ac_ext >&5
17925
17926 eval "$as_ac_var=no"
17927 fi
17928 rm -f conftest.err conftest.$ac_objext \
17929       conftest$ac_exeext conftest.$ac_ext
17930 fi
17931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17933 if test `eval echo '${'$as_ac_var'}'` = yes; then
17934   cat >>confdefs.h <<_ACEOF
17935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17936 _ACEOF
17937
17938 fi
17939 done
17940
17941   else
17942
17943   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17944 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17945   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17946     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17947   echo $ECHO_N "(cached) $ECHO_C" >&6
17948 else
17949
17950
17951
17952       ac_ext=cc
17953 ac_cpp='$CXXCPP $CPPFLAGS'
17954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17957
17958       cat >conftest.$ac_ext <<_ACEOF
17959 /* confdefs.h.  */
17960 _ACEOF
17961 cat confdefs.h >>conftest.$ac_ext
17962 cat >>conftest.$ac_ext <<_ACEOF
17963 /* end confdefs.h.  */
17964 #include <math.h>
17965 int
17966 main ()
17967 {
17968  _sincosf(0, 0, 0);
17969   ;
17970   return 0;
17971 }
17972 _ACEOF
17973 rm -f conftest.$ac_objext
17974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17975   (eval $ac_compile) 2>conftest.er1
17976   ac_status=$?
17977   grep -v '^ *+' conftest.er1 >conftest.err
17978   rm -f conftest.er1
17979   cat conftest.err >&5
17980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17981   (exit $ac_status); } &&
17982          { ac_try='test -z "$ac_cxx_werror_flag"
17983                          || test ! -s conftest.err'
17984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17985   (eval $ac_try) 2>&5
17986   ac_status=$?
17987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17988   (exit $ac_status); }; } &&
17989          { ac_try='test -s conftest.$ac_objext'
17990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17991   (eval $ac_try) 2>&5
17992   ac_status=$?
17993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17994   (exit $ac_status); }; }; then
17995   glibcxx_cv_func__sincosf_use=yes
17996 else
17997   echo "$as_me: failed program was:" >&5
17998 sed 's/^/| /' conftest.$ac_ext >&5
17999
18000 glibcxx_cv_func__sincosf_use=no
18001 fi
18002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18003       ac_ext=c
18004 ac_cpp='$CPP $CPPFLAGS'
18005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18008
18009
18010 fi
18011
18012   fi
18013   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
18014 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
18015
18016     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
18017
18018 for ac_func in _sincosf
18019 do
18020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18021 echo "$as_me:$LINENO: checking for $ac_func" >&5
18022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18023 if eval "test \"\${$as_ac_var+set}\" = set"; then
18024   echo $ECHO_N "(cached) $ECHO_C" >&6
18025 else
18026   if test x$gcc_no_link = xyes; then
18027   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18029    { (exit 1); exit 1; }; }
18030 fi
18031 cat >conftest.$ac_ext <<_ACEOF
18032 /* confdefs.h.  */
18033 _ACEOF
18034 cat confdefs.h >>conftest.$ac_ext
18035 cat >>conftest.$ac_ext <<_ACEOF
18036 /* end confdefs.h.  */
18037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18038    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18039 #define $ac_func innocuous_$ac_func
18040
18041 /* System header to define __stub macros and hopefully few prototypes,
18042     which can conflict with char $ac_func (); below.
18043     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18044     <limits.h> exists even on freestanding compilers.  */
18045
18046 #ifdef __STDC__
18047 # include <limits.h>
18048 #else
18049 # include <assert.h>
18050 #endif
18051
18052 #undef $ac_func
18053
18054 /* Override any gcc2 internal prototype to avoid an error.  */
18055 #ifdef __cplusplus
18056 extern "C"
18057 {
18058 #endif
18059 /* We use char because int might match the return type of a gcc2
18060    builtin and then its argument prototype would still apply.  */
18061 char $ac_func ();
18062 /* The GNU C library defines this for functions which it implements
18063     to always fail with ENOSYS.  Some functions are actually named
18064     something starting with __ and the normal name is an alias.  */
18065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18066 choke me
18067 #else
18068 char (*f) () = $ac_func;
18069 #endif
18070 #ifdef __cplusplus
18071 }
18072 #endif
18073
18074 int
18075 main ()
18076 {
18077 return f != $ac_func;
18078   ;
18079   return 0;
18080 }
18081 _ACEOF
18082 rm -f conftest.$ac_objext conftest$ac_exeext
18083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18084   (eval $ac_link) 2>conftest.er1
18085   ac_status=$?
18086   grep -v '^ *+' conftest.er1 >conftest.err
18087   rm -f conftest.er1
18088   cat conftest.err >&5
18089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18090   (exit $ac_status); } &&
18091          { ac_try='test -z "$ac_c_werror_flag"
18092                          || test ! -s conftest.err'
18093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18094   (eval $ac_try) 2>&5
18095   ac_status=$?
18096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18097   (exit $ac_status); }; } &&
18098          { ac_try='test -s conftest$ac_exeext'
18099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18100   (eval $ac_try) 2>&5
18101   ac_status=$?
18102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18103   (exit $ac_status); }; }; then
18104   eval "$as_ac_var=yes"
18105 else
18106   echo "$as_me: failed program was:" >&5
18107 sed 's/^/| /' conftest.$ac_ext >&5
18108
18109 eval "$as_ac_var=no"
18110 fi
18111 rm -f conftest.err conftest.$ac_objext \
18112       conftest$ac_exeext conftest.$ac_ext
18113 fi
18114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18116 if test `eval echo '${'$as_ac_var'}'` = yes; then
18117   cat >>confdefs.h <<_ACEOF
18118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18119 _ACEOF
18120
18121 fi
18122 done
18123
18124     fi
18125   fi
18126
18127
18128
18129
18130
18131
18132   echo "$as_me:$LINENO: checking for finitef declaration" >&5
18133 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
18134   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
18135     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
18136   echo $ECHO_N "(cached) $ECHO_C" >&6
18137 else
18138
18139
18140
18141       ac_ext=cc
18142 ac_cpp='$CXXCPP $CPPFLAGS'
18143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18146
18147       cat >conftest.$ac_ext <<_ACEOF
18148 /* confdefs.h.  */
18149 _ACEOF
18150 cat confdefs.h >>conftest.$ac_ext
18151 cat >>conftest.$ac_ext <<_ACEOF
18152 /* end confdefs.h.  */
18153 #include <math.h>
18154                       #ifdef HAVE_IEEEFP_H
18155                       #include <ieeefp.h>
18156                       #endif
18157
18158 int
18159 main ()
18160 {
18161  finitef(0);
18162   ;
18163   return 0;
18164 }
18165 _ACEOF
18166 rm -f conftest.$ac_objext
18167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18168   (eval $ac_compile) 2>conftest.er1
18169   ac_status=$?
18170   grep -v '^ *+' conftest.er1 >conftest.err
18171   rm -f conftest.er1
18172   cat conftest.err >&5
18173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18174   (exit $ac_status); } &&
18175          { ac_try='test -z "$ac_cxx_werror_flag"
18176                          || test ! -s conftest.err'
18177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18178   (eval $ac_try) 2>&5
18179   ac_status=$?
18180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181   (exit $ac_status); }; } &&
18182          { ac_try='test -s conftest.$ac_objext'
18183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18184   (eval $ac_try) 2>&5
18185   ac_status=$?
18186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18187   (exit $ac_status); }; }; then
18188   glibcxx_cv_func_finitef_use=yes
18189 else
18190   echo "$as_me: failed program was:" >&5
18191 sed 's/^/| /' conftest.$ac_ext >&5
18192
18193 glibcxx_cv_func_finitef_use=no
18194 fi
18195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18196       ac_ext=c
18197 ac_cpp='$CPP $CPPFLAGS'
18198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18201
18202
18203 fi
18204
18205   fi
18206   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
18207 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
18208
18209   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
18210
18211 for ac_func in finitef
18212 do
18213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18214 echo "$as_me:$LINENO: checking for $ac_func" >&5
18215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18216 if eval "test \"\${$as_ac_var+set}\" = set"; then
18217   echo $ECHO_N "(cached) $ECHO_C" >&6
18218 else
18219   if test x$gcc_no_link = xyes; then
18220   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18222    { (exit 1); exit 1; }; }
18223 fi
18224 cat >conftest.$ac_ext <<_ACEOF
18225 /* confdefs.h.  */
18226 _ACEOF
18227 cat confdefs.h >>conftest.$ac_ext
18228 cat >>conftest.$ac_ext <<_ACEOF
18229 /* end confdefs.h.  */
18230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18231    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18232 #define $ac_func innocuous_$ac_func
18233
18234 /* System header to define __stub macros and hopefully few prototypes,
18235     which can conflict with char $ac_func (); below.
18236     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18237     <limits.h> exists even on freestanding compilers.  */
18238
18239 #ifdef __STDC__
18240 # include <limits.h>
18241 #else
18242 # include <assert.h>
18243 #endif
18244
18245 #undef $ac_func
18246
18247 /* Override any gcc2 internal prototype to avoid an error.  */
18248 #ifdef __cplusplus
18249 extern "C"
18250 {
18251 #endif
18252 /* We use char because int might match the return type of a gcc2
18253    builtin and then its argument prototype would still apply.  */
18254 char $ac_func ();
18255 /* The GNU C library defines this for functions which it implements
18256     to always fail with ENOSYS.  Some functions are actually named
18257     something starting with __ and the normal name is an alias.  */
18258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18259 choke me
18260 #else
18261 char (*f) () = $ac_func;
18262 #endif
18263 #ifdef __cplusplus
18264 }
18265 #endif
18266
18267 int
18268 main ()
18269 {
18270 return f != $ac_func;
18271   ;
18272   return 0;
18273 }
18274 _ACEOF
18275 rm -f conftest.$ac_objext conftest$ac_exeext
18276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18277   (eval $ac_link) 2>conftest.er1
18278   ac_status=$?
18279   grep -v '^ *+' conftest.er1 >conftest.err
18280   rm -f conftest.er1
18281   cat conftest.err >&5
18282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283   (exit $ac_status); } &&
18284          { ac_try='test -z "$ac_c_werror_flag"
18285                          || test ! -s conftest.err'
18286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18287   (eval $ac_try) 2>&5
18288   ac_status=$?
18289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18290   (exit $ac_status); }; } &&
18291          { ac_try='test -s conftest$ac_exeext'
18292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18293   (eval $ac_try) 2>&5
18294   ac_status=$?
18295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18296   (exit $ac_status); }; }; then
18297   eval "$as_ac_var=yes"
18298 else
18299   echo "$as_me: failed program was:" >&5
18300 sed 's/^/| /' conftest.$ac_ext >&5
18301
18302 eval "$as_ac_var=no"
18303 fi
18304 rm -f conftest.err conftest.$ac_objext \
18305       conftest$ac_exeext conftest.$ac_ext
18306 fi
18307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18309 if test `eval echo '${'$as_ac_var'}'` = yes; then
18310   cat >>confdefs.h <<_ACEOF
18311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18312 _ACEOF
18313
18314 fi
18315 done
18316
18317   else
18318
18319   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
18320 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
18321   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
18322     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
18323   echo $ECHO_N "(cached) $ECHO_C" >&6
18324 else
18325
18326
18327
18328       ac_ext=cc
18329 ac_cpp='$CXXCPP $CPPFLAGS'
18330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18333
18334       cat >conftest.$ac_ext <<_ACEOF
18335 /* confdefs.h.  */
18336 _ACEOF
18337 cat confdefs.h >>conftest.$ac_ext
18338 cat >>conftest.$ac_ext <<_ACEOF
18339 /* end confdefs.h.  */
18340 #include <math.h>
18341                       #ifdef HAVE_IEEEFP_H
18342                       #include <ieeefp.h>
18343                       #endif
18344
18345 int
18346 main ()
18347 {
18348  _finitef(0);
18349   ;
18350   return 0;
18351 }
18352 _ACEOF
18353 rm -f conftest.$ac_objext
18354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18355   (eval $ac_compile) 2>conftest.er1
18356   ac_status=$?
18357   grep -v '^ *+' conftest.er1 >conftest.err
18358   rm -f conftest.er1
18359   cat conftest.err >&5
18360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18361   (exit $ac_status); } &&
18362          { ac_try='test -z "$ac_cxx_werror_flag"
18363                          || test ! -s conftest.err'
18364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18365   (eval $ac_try) 2>&5
18366   ac_status=$?
18367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18368   (exit $ac_status); }; } &&
18369          { ac_try='test -s conftest.$ac_objext'
18370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18371   (eval $ac_try) 2>&5
18372   ac_status=$?
18373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18374   (exit $ac_status); }; }; then
18375   glibcxx_cv_func__finitef_use=yes
18376 else
18377   echo "$as_me: failed program was:" >&5
18378 sed 's/^/| /' conftest.$ac_ext >&5
18379
18380 glibcxx_cv_func__finitef_use=no
18381 fi
18382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18383       ac_ext=c
18384 ac_cpp='$CPP $CPPFLAGS'
18385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18388
18389
18390 fi
18391
18392   fi
18393   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
18394 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
18395
18396     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
18397
18398 for ac_func in _finitef
18399 do
18400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18401 echo "$as_me:$LINENO: checking for $ac_func" >&5
18402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18403 if eval "test \"\${$as_ac_var+set}\" = set"; then
18404   echo $ECHO_N "(cached) $ECHO_C" >&6
18405 else
18406   if test x$gcc_no_link = xyes; then
18407   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18409    { (exit 1); exit 1; }; }
18410 fi
18411 cat >conftest.$ac_ext <<_ACEOF
18412 /* confdefs.h.  */
18413 _ACEOF
18414 cat confdefs.h >>conftest.$ac_ext
18415 cat >>conftest.$ac_ext <<_ACEOF
18416 /* end confdefs.h.  */
18417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18418    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18419 #define $ac_func innocuous_$ac_func
18420
18421 /* System header to define __stub macros and hopefully few prototypes,
18422     which can conflict with char $ac_func (); below.
18423     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18424     <limits.h> exists even on freestanding compilers.  */
18425
18426 #ifdef __STDC__
18427 # include <limits.h>
18428 #else
18429 # include <assert.h>
18430 #endif
18431
18432 #undef $ac_func
18433
18434 /* Override any gcc2 internal prototype to avoid an error.  */
18435 #ifdef __cplusplus
18436 extern "C"
18437 {
18438 #endif
18439 /* We use char because int might match the return type of a gcc2
18440    builtin and then its argument prototype would still apply.  */
18441 char $ac_func ();
18442 /* The GNU C library defines this for functions which it implements
18443     to always fail with ENOSYS.  Some functions are actually named
18444     something starting with __ and the normal name is an alias.  */
18445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18446 choke me
18447 #else
18448 char (*f) () = $ac_func;
18449 #endif
18450 #ifdef __cplusplus
18451 }
18452 #endif
18453
18454 int
18455 main ()
18456 {
18457 return f != $ac_func;
18458   ;
18459   return 0;
18460 }
18461 _ACEOF
18462 rm -f conftest.$ac_objext conftest$ac_exeext
18463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18464   (eval $ac_link) 2>conftest.er1
18465   ac_status=$?
18466   grep -v '^ *+' conftest.er1 >conftest.err
18467   rm -f conftest.er1
18468   cat conftest.err >&5
18469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18470   (exit $ac_status); } &&
18471          { ac_try='test -z "$ac_c_werror_flag"
18472                          || test ! -s conftest.err'
18473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18474   (eval $ac_try) 2>&5
18475   ac_status=$?
18476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18477   (exit $ac_status); }; } &&
18478          { ac_try='test -s conftest$ac_exeext'
18479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18480   (eval $ac_try) 2>&5
18481   ac_status=$?
18482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18483   (exit $ac_status); }; }; then
18484   eval "$as_ac_var=yes"
18485 else
18486   echo "$as_me: failed program was:" >&5
18487 sed 's/^/| /' conftest.$ac_ext >&5
18488
18489 eval "$as_ac_var=no"
18490 fi
18491 rm -f conftest.err conftest.$ac_objext \
18492       conftest$ac_exeext conftest.$ac_ext
18493 fi
18494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18496 if test `eval echo '${'$as_ac_var'}'` = yes; then
18497   cat >>confdefs.h <<_ACEOF
18498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18499 _ACEOF
18500
18501 fi
18502 done
18503
18504     fi
18505   fi
18506
18507
18508
18509
18510
18511
18512     echo "$as_me:$LINENO: checking for long double trig functions" >&5
18513 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
18514   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
18515   echo $ECHO_N "(cached) $ECHO_C" >&6
18516 else
18517
18518
18519
18520     ac_ext=cc
18521 ac_cpp='$CXXCPP $CPPFLAGS'
18522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18525
18526     cat >conftest.$ac_ext <<_ACEOF
18527 /* confdefs.h.  */
18528 _ACEOF
18529 cat confdefs.h >>conftest.$ac_ext
18530 cat >>conftest.$ac_ext <<_ACEOF
18531 /* end confdefs.h.  */
18532 #include <math.h>
18533 int
18534 main ()
18535 {
18536 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
18537   ;
18538   return 0;
18539 }
18540 _ACEOF
18541 rm -f conftest.$ac_objext
18542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18543   (eval $ac_compile) 2>conftest.er1
18544   ac_status=$?
18545   grep -v '^ *+' conftest.er1 >conftest.err
18546   rm -f conftest.er1
18547   cat conftest.err >&5
18548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18549   (exit $ac_status); } &&
18550          { ac_try='test -z "$ac_cxx_werror_flag"
18551                          || test ! -s conftest.err'
18552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18553   (eval $ac_try) 2>&5
18554   ac_status=$?
18555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18556   (exit $ac_status); }; } &&
18557          { ac_try='test -s conftest.$ac_objext'
18558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18559   (eval $ac_try) 2>&5
18560   ac_status=$?
18561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18562   (exit $ac_status); }; }; then
18563   glibcxx_cv_func_long_double_trig_use=yes
18564 else
18565   echo "$as_me: failed program was:" >&5
18566 sed 's/^/| /' conftest.$ac_ext >&5
18567
18568 glibcxx_cv_func_long_double_trig_use=no
18569 fi
18570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18571     ac_ext=c
18572 ac_cpp='$CPP $CPPFLAGS'
18573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18576
18577 fi
18578
18579   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
18580 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
18581   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
18582
18583
18584
18585
18586
18587
18588
18589
18590
18591 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
18592 do
18593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18594 echo "$as_me:$LINENO: checking for $ac_func" >&5
18595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18596 if eval "test \"\${$as_ac_var+set}\" = set"; then
18597   echo $ECHO_N "(cached) $ECHO_C" >&6
18598 else
18599   if test x$gcc_no_link = xyes; then
18600   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18602    { (exit 1); exit 1; }; }
18603 fi
18604 cat >conftest.$ac_ext <<_ACEOF
18605 /* confdefs.h.  */
18606 _ACEOF
18607 cat confdefs.h >>conftest.$ac_ext
18608 cat >>conftest.$ac_ext <<_ACEOF
18609 /* end confdefs.h.  */
18610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18611    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18612 #define $ac_func innocuous_$ac_func
18613
18614 /* System header to define __stub macros and hopefully few prototypes,
18615     which can conflict with char $ac_func (); below.
18616     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18617     <limits.h> exists even on freestanding compilers.  */
18618
18619 #ifdef __STDC__
18620 # include <limits.h>
18621 #else
18622 # include <assert.h>
18623 #endif
18624
18625 #undef $ac_func
18626
18627 /* Override any gcc2 internal prototype to avoid an error.  */
18628 #ifdef __cplusplus
18629 extern "C"
18630 {
18631 #endif
18632 /* We use char because int might match the return type of a gcc2
18633    builtin and then its argument prototype would still apply.  */
18634 char $ac_func ();
18635 /* The GNU C library defines this for functions which it implements
18636     to always fail with ENOSYS.  Some functions are actually named
18637     something starting with __ and the normal name is an alias.  */
18638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18639 choke me
18640 #else
18641 char (*f) () = $ac_func;
18642 #endif
18643 #ifdef __cplusplus
18644 }
18645 #endif
18646
18647 int
18648 main ()
18649 {
18650 return f != $ac_func;
18651   ;
18652   return 0;
18653 }
18654 _ACEOF
18655 rm -f conftest.$ac_objext conftest$ac_exeext
18656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18657   (eval $ac_link) 2>conftest.er1
18658   ac_status=$?
18659   grep -v '^ *+' conftest.er1 >conftest.err
18660   rm -f conftest.er1
18661   cat conftest.err >&5
18662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663   (exit $ac_status); } &&
18664          { ac_try='test -z "$ac_c_werror_flag"
18665                          || test ! -s conftest.err'
18666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18667   (eval $ac_try) 2>&5
18668   ac_status=$?
18669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18670   (exit $ac_status); }; } &&
18671          { ac_try='test -s conftest$ac_exeext'
18672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18673   (eval $ac_try) 2>&5
18674   ac_status=$?
18675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676   (exit $ac_status); }; }; then
18677   eval "$as_ac_var=yes"
18678 else
18679   echo "$as_me: failed program was:" >&5
18680 sed 's/^/| /' conftest.$ac_ext >&5
18681
18682 eval "$as_ac_var=no"
18683 fi
18684 rm -f conftest.err conftest.$ac_objext \
18685       conftest$ac_exeext conftest.$ac_ext
18686 fi
18687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18689 if test `eval echo '${'$as_ac_var'}'` = yes; then
18690   cat >>confdefs.h <<_ACEOF
18691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18692 _ACEOF
18693
18694 fi
18695 done
18696
18697   else
18698     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
18699 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
18700     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
18701   echo $ECHO_N "(cached) $ECHO_C" >&6
18702 else
18703
18704
18705
18706       ac_ext=cc
18707 ac_cpp='$CXXCPP $CPPFLAGS'
18708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18711
18712       cat >conftest.$ac_ext <<_ACEOF
18713 /* confdefs.h.  */
18714 _ACEOF
18715 cat confdefs.h >>conftest.$ac_ext
18716 cat >>conftest.$ac_ext <<_ACEOF
18717 /* end confdefs.h.  */
18718 #include <math.h>
18719 int
18720 main ()
18721 {
18722 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
18723   ;
18724   return 0;
18725 }
18726 _ACEOF
18727 rm -f conftest.$ac_objext
18728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18729   (eval $ac_compile) 2>conftest.er1
18730   ac_status=$?
18731   grep -v '^ *+' conftest.er1 >conftest.err
18732   rm -f conftest.er1
18733   cat conftest.err >&5
18734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735   (exit $ac_status); } &&
18736          { ac_try='test -z "$ac_cxx_werror_flag"
18737                          || test ! -s conftest.err'
18738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18739   (eval $ac_try) 2>&5
18740   ac_status=$?
18741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18742   (exit $ac_status); }; } &&
18743          { ac_try='test -s conftest.$ac_objext'
18744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18745   (eval $ac_try) 2>&5
18746   ac_status=$?
18747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748   (exit $ac_status); }; }; then
18749   glibcxx_cv_func__long_double_trig_use=yes
18750 else
18751   echo "$as_me: failed program was:" >&5
18752 sed 's/^/| /' conftest.$ac_ext >&5
18753
18754 glibcxx_cv_func__long_double_trig_use=no
18755 fi
18756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18757       ac_ext=c
18758 ac_cpp='$CPP $CPPFLAGS'
18759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18762
18763 fi
18764
18765     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
18766 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
18767     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
18778 do
18779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18780 echo "$as_me:$LINENO: checking for $ac_func" >&5
18781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18782 if eval "test \"\${$as_ac_var+set}\" = set"; then
18783   echo $ECHO_N "(cached) $ECHO_C" >&6
18784 else
18785   if test x$gcc_no_link = xyes; then
18786   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18788    { (exit 1); exit 1; }; }
18789 fi
18790 cat >conftest.$ac_ext <<_ACEOF
18791 /* confdefs.h.  */
18792 _ACEOF
18793 cat confdefs.h >>conftest.$ac_ext
18794 cat >>conftest.$ac_ext <<_ACEOF
18795 /* end confdefs.h.  */
18796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18797    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18798 #define $ac_func innocuous_$ac_func
18799
18800 /* System header to define __stub macros and hopefully few prototypes,
18801     which can conflict with char $ac_func (); below.
18802     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18803     <limits.h> exists even on freestanding compilers.  */
18804
18805 #ifdef __STDC__
18806 # include <limits.h>
18807 #else
18808 # include <assert.h>
18809 #endif
18810
18811 #undef $ac_func
18812
18813 /* Override any gcc2 internal prototype to avoid an error.  */
18814 #ifdef __cplusplus
18815 extern "C"
18816 {
18817 #endif
18818 /* We use char because int might match the return type of a gcc2
18819    builtin and then its argument prototype would still apply.  */
18820 char $ac_func ();
18821 /* The GNU C library defines this for functions which it implements
18822     to always fail with ENOSYS.  Some functions are actually named
18823     something starting with __ and the normal name is an alias.  */
18824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18825 choke me
18826 #else
18827 char (*f) () = $ac_func;
18828 #endif
18829 #ifdef __cplusplus
18830 }
18831 #endif
18832
18833 int
18834 main ()
18835 {
18836 return f != $ac_func;
18837   ;
18838   return 0;
18839 }
18840 _ACEOF
18841 rm -f conftest.$ac_objext conftest$ac_exeext
18842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18843   (eval $ac_link) 2>conftest.er1
18844   ac_status=$?
18845   grep -v '^ *+' conftest.er1 >conftest.err
18846   rm -f conftest.er1
18847   cat conftest.err >&5
18848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18849   (exit $ac_status); } &&
18850          { ac_try='test -z "$ac_c_werror_flag"
18851                          || test ! -s conftest.err'
18852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18853   (eval $ac_try) 2>&5
18854   ac_status=$?
18855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18856   (exit $ac_status); }; } &&
18857          { ac_try='test -s conftest$ac_exeext'
18858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18859   (eval $ac_try) 2>&5
18860   ac_status=$?
18861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862   (exit $ac_status); }; }; then
18863   eval "$as_ac_var=yes"
18864 else
18865   echo "$as_me: failed program was:" >&5
18866 sed 's/^/| /' conftest.$ac_ext >&5
18867
18868 eval "$as_ac_var=no"
18869 fi
18870 rm -f conftest.err conftest.$ac_objext \
18871       conftest$ac_exeext conftest.$ac_ext
18872 fi
18873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18875 if test `eval echo '${'$as_ac_var'}'` = yes; then
18876   cat >>confdefs.h <<_ACEOF
18877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18878 _ACEOF
18879
18880 fi
18881 done
18882
18883     fi
18884   fi
18885
18886
18887
18888
18889
18890
18891
18892
18893
18894
18895
18896
18897
18898
18899     echo "$as_me:$LINENO: checking for long double round functions" >&5
18900 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
18901   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
18902   echo $ECHO_N "(cached) $ECHO_C" >&6
18903 else
18904
18905
18906
18907     ac_ext=cc
18908 ac_cpp='$CXXCPP $CPPFLAGS'
18909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18912
18913     cat >conftest.$ac_ext <<_ACEOF
18914 /* confdefs.h.  */
18915 _ACEOF
18916 cat confdefs.h >>conftest.$ac_ext
18917 cat >>conftest.$ac_ext <<_ACEOF
18918 /* end confdefs.h.  */
18919 #include <math.h>
18920 int
18921 main ()
18922 {
18923 ceill (0); floorl (0);
18924   ;
18925   return 0;
18926 }
18927 _ACEOF
18928 rm -f conftest.$ac_objext
18929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18930   (eval $ac_compile) 2>conftest.er1
18931   ac_status=$?
18932   grep -v '^ *+' conftest.er1 >conftest.err
18933   rm -f conftest.er1
18934   cat conftest.err >&5
18935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936   (exit $ac_status); } &&
18937          { ac_try='test -z "$ac_cxx_werror_flag"
18938                          || test ! -s conftest.err'
18939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18940   (eval $ac_try) 2>&5
18941   ac_status=$?
18942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18943   (exit $ac_status); }; } &&
18944          { ac_try='test -s conftest.$ac_objext'
18945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18946   (eval $ac_try) 2>&5
18947   ac_status=$?
18948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949   (exit $ac_status); }; }; then
18950   glibcxx_cv_func_long_double_round_use=yes
18951 else
18952   echo "$as_me: failed program was:" >&5
18953 sed 's/^/| /' conftest.$ac_ext >&5
18954
18955 glibcxx_cv_func_long_double_round_use=no
18956 fi
18957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18958     ac_ext=c
18959 ac_cpp='$CPP $CPPFLAGS'
18960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18963
18964 fi
18965
18966   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
18967 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
18968   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
18969
18970
18971 for ac_func in ceill floorl
18972 do
18973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18974 echo "$as_me:$LINENO: checking for $ac_func" >&5
18975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18976 if eval "test \"\${$as_ac_var+set}\" = set"; then
18977   echo $ECHO_N "(cached) $ECHO_C" >&6
18978 else
18979   if test x$gcc_no_link = xyes; then
18980   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18982    { (exit 1); exit 1; }; }
18983 fi
18984 cat >conftest.$ac_ext <<_ACEOF
18985 /* confdefs.h.  */
18986 _ACEOF
18987 cat confdefs.h >>conftest.$ac_ext
18988 cat >>conftest.$ac_ext <<_ACEOF
18989 /* end confdefs.h.  */
18990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18991    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18992 #define $ac_func innocuous_$ac_func
18993
18994 /* System header to define __stub macros and hopefully few prototypes,
18995     which can conflict with char $ac_func (); below.
18996     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18997     <limits.h> exists even on freestanding compilers.  */
18998
18999 #ifdef __STDC__
19000 # include <limits.h>
19001 #else
19002 # include <assert.h>
19003 #endif
19004
19005 #undef $ac_func
19006
19007 /* Override any gcc2 internal prototype to avoid an error.  */
19008 #ifdef __cplusplus
19009 extern "C"
19010 {
19011 #endif
19012 /* We use char because int might match the return type of a gcc2
19013    builtin and then its argument prototype would still apply.  */
19014 char $ac_func ();
19015 /* The GNU C library defines this for functions which it implements
19016     to always fail with ENOSYS.  Some functions are actually named
19017     something starting with __ and the normal name is an alias.  */
19018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19019 choke me
19020 #else
19021 char (*f) () = $ac_func;
19022 #endif
19023 #ifdef __cplusplus
19024 }
19025 #endif
19026
19027 int
19028 main ()
19029 {
19030 return f != $ac_func;
19031   ;
19032   return 0;
19033 }
19034 _ACEOF
19035 rm -f conftest.$ac_objext conftest$ac_exeext
19036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19037   (eval $ac_link) 2>conftest.er1
19038   ac_status=$?
19039   grep -v '^ *+' conftest.er1 >conftest.err
19040   rm -f conftest.er1
19041   cat conftest.err >&5
19042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043   (exit $ac_status); } &&
19044          { ac_try='test -z "$ac_c_werror_flag"
19045                          || test ! -s conftest.err'
19046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19047   (eval $ac_try) 2>&5
19048   ac_status=$?
19049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050   (exit $ac_status); }; } &&
19051          { ac_try='test -s conftest$ac_exeext'
19052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19053   (eval $ac_try) 2>&5
19054   ac_status=$?
19055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19056   (exit $ac_status); }; }; then
19057   eval "$as_ac_var=yes"
19058 else
19059   echo "$as_me: failed program was:" >&5
19060 sed 's/^/| /' conftest.$ac_ext >&5
19061
19062 eval "$as_ac_var=no"
19063 fi
19064 rm -f conftest.err conftest.$ac_objext \
19065       conftest$ac_exeext conftest.$ac_ext
19066 fi
19067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19069 if test `eval echo '${'$as_ac_var'}'` = yes; then
19070   cat >>confdefs.h <<_ACEOF
19071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19072 _ACEOF
19073
19074 fi
19075 done
19076
19077   else
19078     echo "$as_me:$LINENO: checking for _long double round functions" >&5
19079 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
19080     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
19081   echo $ECHO_N "(cached) $ECHO_C" >&6
19082 else
19083
19084
19085
19086       ac_ext=cc
19087 ac_cpp='$CXXCPP $CPPFLAGS'
19088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19091
19092       cat >conftest.$ac_ext <<_ACEOF
19093 /* confdefs.h.  */
19094 _ACEOF
19095 cat confdefs.h >>conftest.$ac_ext
19096 cat >>conftest.$ac_ext <<_ACEOF
19097 /* end confdefs.h.  */
19098 #include <math.h>
19099 int
19100 main ()
19101 {
19102 _ceill (0); _floorl (0);
19103   ;
19104   return 0;
19105 }
19106 _ACEOF
19107 rm -f conftest.$ac_objext
19108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19109   (eval $ac_compile) 2>conftest.er1
19110   ac_status=$?
19111   grep -v '^ *+' conftest.er1 >conftest.err
19112   rm -f conftest.er1
19113   cat conftest.err >&5
19114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19115   (exit $ac_status); } &&
19116          { ac_try='test -z "$ac_cxx_werror_flag"
19117                          || test ! -s conftest.err'
19118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19119   (eval $ac_try) 2>&5
19120   ac_status=$?
19121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122   (exit $ac_status); }; } &&
19123          { ac_try='test -s conftest.$ac_objext'
19124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19125   (eval $ac_try) 2>&5
19126   ac_status=$?
19127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128   (exit $ac_status); }; }; then
19129   glibcxx_cv_func__long_double_round_use=yes
19130 else
19131   echo "$as_me: failed program was:" >&5
19132 sed 's/^/| /' conftest.$ac_ext >&5
19133
19134 glibcxx_cv_func__long_double_round_use=no
19135 fi
19136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19137       ac_ext=c
19138 ac_cpp='$CPP $CPPFLAGS'
19139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19142
19143 fi
19144
19145     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
19146 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
19147     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
19148
19149
19150 for ac_func in _ceill _floorl
19151 do
19152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19153 echo "$as_me:$LINENO: checking for $ac_func" >&5
19154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19155 if eval "test \"\${$as_ac_var+set}\" = set"; then
19156   echo $ECHO_N "(cached) $ECHO_C" >&6
19157 else
19158   if test x$gcc_no_link = xyes; then
19159   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19161    { (exit 1); exit 1; }; }
19162 fi
19163 cat >conftest.$ac_ext <<_ACEOF
19164 /* confdefs.h.  */
19165 _ACEOF
19166 cat confdefs.h >>conftest.$ac_ext
19167 cat >>conftest.$ac_ext <<_ACEOF
19168 /* end confdefs.h.  */
19169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19170    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19171 #define $ac_func innocuous_$ac_func
19172
19173 /* System header to define __stub macros and hopefully few prototypes,
19174     which can conflict with char $ac_func (); below.
19175     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19176     <limits.h> exists even on freestanding compilers.  */
19177
19178 #ifdef __STDC__
19179 # include <limits.h>
19180 #else
19181 # include <assert.h>
19182 #endif
19183
19184 #undef $ac_func
19185
19186 /* Override any gcc2 internal prototype to avoid an error.  */
19187 #ifdef __cplusplus
19188 extern "C"
19189 {
19190 #endif
19191 /* We use char because int might match the return type of a gcc2
19192    builtin and then its argument prototype would still apply.  */
19193 char $ac_func ();
19194 /* The GNU C library defines this for functions which it implements
19195     to always fail with ENOSYS.  Some functions are actually named
19196     something starting with __ and the normal name is an alias.  */
19197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19198 choke me
19199 #else
19200 char (*f) () = $ac_func;
19201 #endif
19202 #ifdef __cplusplus
19203 }
19204 #endif
19205
19206 int
19207 main ()
19208 {
19209 return f != $ac_func;
19210   ;
19211   return 0;
19212 }
19213 _ACEOF
19214 rm -f conftest.$ac_objext conftest$ac_exeext
19215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19216   (eval $ac_link) 2>conftest.er1
19217   ac_status=$?
19218   grep -v '^ *+' conftest.er1 >conftest.err
19219   rm -f conftest.er1
19220   cat conftest.err >&5
19221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19222   (exit $ac_status); } &&
19223          { ac_try='test -z "$ac_c_werror_flag"
19224                          || test ! -s conftest.err'
19225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19226   (eval $ac_try) 2>&5
19227   ac_status=$?
19228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229   (exit $ac_status); }; } &&
19230          { ac_try='test -s conftest$ac_exeext'
19231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19232   (eval $ac_try) 2>&5
19233   ac_status=$?
19234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235   (exit $ac_status); }; }; then
19236   eval "$as_ac_var=yes"
19237 else
19238   echo "$as_me: failed program was:" >&5
19239 sed 's/^/| /' conftest.$ac_ext >&5
19240
19241 eval "$as_ac_var=no"
19242 fi
19243 rm -f conftest.err conftest.$ac_objext \
19244       conftest$ac_exeext conftest.$ac_ext
19245 fi
19246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19248 if test `eval echo '${'$as_ac_var'}'` = yes; then
19249   cat >>confdefs.h <<_ACEOF
19250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19251 _ACEOF
19252
19253 fi
19254 done
19255
19256     fi
19257   fi
19258
19259
19260
19261
19262
19263
19264
19265
19266   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
19267 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
19268   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
19269     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
19270   echo $ECHO_N "(cached) $ECHO_C" >&6
19271 else
19272
19273
19274
19275       ac_ext=cc
19276 ac_cpp='$CXXCPP $CPPFLAGS'
19277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19280
19281       cat >conftest.$ac_ext <<_ACEOF
19282 /* confdefs.h.  */
19283 _ACEOF
19284 cat confdefs.h >>conftest.$ac_ext
19285 cat >>conftest.$ac_ext <<_ACEOF
19286 /* end confdefs.h.  */
19287 #include <math.h>
19288                       #ifdef HAVE_IEEEFP_H
19289                       #include <ieeefp.h>
19290                       #endif
19291
19292 int
19293 main ()
19294 {
19295  isnanl(0);
19296   ;
19297   return 0;
19298 }
19299 _ACEOF
19300 rm -f conftest.$ac_objext
19301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19302   (eval $ac_compile) 2>conftest.er1
19303   ac_status=$?
19304   grep -v '^ *+' conftest.er1 >conftest.err
19305   rm -f conftest.er1
19306   cat conftest.err >&5
19307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19308   (exit $ac_status); } &&
19309          { ac_try='test -z "$ac_cxx_werror_flag"
19310                          || test ! -s conftest.err'
19311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19312   (eval $ac_try) 2>&5
19313   ac_status=$?
19314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19315   (exit $ac_status); }; } &&
19316          { ac_try='test -s conftest.$ac_objext'
19317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19318   (eval $ac_try) 2>&5
19319   ac_status=$?
19320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19321   (exit $ac_status); }; }; then
19322   glibcxx_cv_func_isnanl_use=yes
19323 else
19324   echo "$as_me: failed program was:" >&5
19325 sed 's/^/| /' conftest.$ac_ext >&5
19326
19327 glibcxx_cv_func_isnanl_use=no
19328 fi
19329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19330       ac_ext=c
19331 ac_cpp='$CPP $CPPFLAGS'
19332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19335
19336
19337 fi
19338
19339   fi
19340   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
19341 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
19342
19343   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
19344
19345 for ac_func in isnanl
19346 do
19347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19348 echo "$as_me:$LINENO: checking for $ac_func" >&5
19349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19350 if eval "test \"\${$as_ac_var+set}\" = set"; then
19351   echo $ECHO_N "(cached) $ECHO_C" >&6
19352 else
19353   if test x$gcc_no_link = xyes; then
19354   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19356    { (exit 1); exit 1; }; }
19357 fi
19358 cat >conftest.$ac_ext <<_ACEOF
19359 /* confdefs.h.  */
19360 _ACEOF
19361 cat confdefs.h >>conftest.$ac_ext
19362 cat >>conftest.$ac_ext <<_ACEOF
19363 /* end confdefs.h.  */
19364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19365    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19366 #define $ac_func innocuous_$ac_func
19367
19368 /* System header to define __stub macros and hopefully few prototypes,
19369     which can conflict with char $ac_func (); below.
19370     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19371     <limits.h> exists even on freestanding compilers.  */
19372
19373 #ifdef __STDC__
19374 # include <limits.h>
19375 #else
19376 # include <assert.h>
19377 #endif
19378
19379 #undef $ac_func
19380
19381 /* Override any gcc2 internal prototype to avoid an error.  */
19382 #ifdef __cplusplus
19383 extern "C"
19384 {
19385 #endif
19386 /* We use char because int might match the return type of a gcc2
19387    builtin and then its argument prototype would still apply.  */
19388 char $ac_func ();
19389 /* The GNU C library defines this for functions which it implements
19390     to always fail with ENOSYS.  Some functions are actually named
19391     something starting with __ and the normal name is an alias.  */
19392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19393 choke me
19394 #else
19395 char (*f) () = $ac_func;
19396 #endif
19397 #ifdef __cplusplus
19398 }
19399 #endif
19400
19401 int
19402 main ()
19403 {
19404 return f != $ac_func;
19405   ;
19406   return 0;
19407 }
19408 _ACEOF
19409 rm -f conftest.$ac_objext conftest$ac_exeext
19410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19411   (eval $ac_link) 2>conftest.er1
19412   ac_status=$?
19413   grep -v '^ *+' conftest.er1 >conftest.err
19414   rm -f conftest.er1
19415   cat conftest.err >&5
19416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19417   (exit $ac_status); } &&
19418          { ac_try='test -z "$ac_c_werror_flag"
19419                          || test ! -s conftest.err'
19420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19421   (eval $ac_try) 2>&5
19422   ac_status=$?
19423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19424   (exit $ac_status); }; } &&
19425          { ac_try='test -s conftest$ac_exeext'
19426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19427   (eval $ac_try) 2>&5
19428   ac_status=$?
19429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19430   (exit $ac_status); }; }; then
19431   eval "$as_ac_var=yes"
19432 else
19433   echo "$as_me: failed program was:" >&5
19434 sed 's/^/| /' conftest.$ac_ext >&5
19435
19436 eval "$as_ac_var=no"
19437 fi
19438 rm -f conftest.err conftest.$ac_objext \
19439       conftest$ac_exeext conftest.$ac_ext
19440 fi
19441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19443 if test `eval echo '${'$as_ac_var'}'` = yes; then
19444   cat >>confdefs.h <<_ACEOF
19445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19446 _ACEOF
19447
19448 fi
19449 done
19450
19451   else
19452
19453   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
19454 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
19455   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
19456     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
19457   echo $ECHO_N "(cached) $ECHO_C" >&6
19458 else
19459
19460
19461
19462       ac_ext=cc
19463 ac_cpp='$CXXCPP $CPPFLAGS'
19464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19467
19468       cat >conftest.$ac_ext <<_ACEOF
19469 /* confdefs.h.  */
19470 _ACEOF
19471 cat confdefs.h >>conftest.$ac_ext
19472 cat >>conftest.$ac_ext <<_ACEOF
19473 /* end confdefs.h.  */
19474 #include <math.h>
19475                       #ifdef HAVE_IEEEFP_H
19476                       #include <ieeefp.h>
19477                       #endif
19478
19479 int
19480 main ()
19481 {
19482  _isnanl(0);
19483   ;
19484   return 0;
19485 }
19486 _ACEOF
19487 rm -f conftest.$ac_objext
19488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19489   (eval $ac_compile) 2>conftest.er1
19490   ac_status=$?
19491   grep -v '^ *+' conftest.er1 >conftest.err
19492   rm -f conftest.er1
19493   cat conftest.err >&5
19494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19495   (exit $ac_status); } &&
19496          { ac_try='test -z "$ac_cxx_werror_flag"
19497                          || test ! -s conftest.err'
19498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19499   (eval $ac_try) 2>&5
19500   ac_status=$?
19501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502   (exit $ac_status); }; } &&
19503          { ac_try='test -s conftest.$ac_objext'
19504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19505   (eval $ac_try) 2>&5
19506   ac_status=$?
19507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508   (exit $ac_status); }; }; then
19509   glibcxx_cv_func__isnanl_use=yes
19510 else
19511   echo "$as_me: failed program was:" >&5
19512 sed 's/^/| /' conftest.$ac_ext >&5
19513
19514 glibcxx_cv_func__isnanl_use=no
19515 fi
19516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19517       ac_ext=c
19518 ac_cpp='$CPP $CPPFLAGS'
19519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19522
19523
19524 fi
19525
19526   fi
19527   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
19528 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
19529
19530     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
19531
19532 for ac_func in _isnanl
19533 do
19534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19535 echo "$as_me:$LINENO: checking for $ac_func" >&5
19536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19537 if eval "test \"\${$as_ac_var+set}\" = set"; then
19538   echo $ECHO_N "(cached) $ECHO_C" >&6
19539 else
19540   if test x$gcc_no_link = xyes; then
19541   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19543    { (exit 1); exit 1; }; }
19544 fi
19545 cat >conftest.$ac_ext <<_ACEOF
19546 /* confdefs.h.  */
19547 _ACEOF
19548 cat confdefs.h >>conftest.$ac_ext
19549 cat >>conftest.$ac_ext <<_ACEOF
19550 /* end confdefs.h.  */
19551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19552    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19553 #define $ac_func innocuous_$ac_func
19554
19555 /* System header to define __stub macros and hopefully few prototypes,
19556     which can conflict with char $ac_func (); below.
19557     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19558     <limits.h> exists even on freestanding compilers.  */
19559
19560 #ifdef __STDC__
19561 # include <limits.h>
19562 #else
19563 # include <assert.h>
19564 #endif
19565
19566 #undef $ac_func
19567
19568 /* Override any gcc2 internal prototype to avoid an error.  */
19569 #ifdef __cplusplus
19570 extern "C"
19571 {
19572 #endif
19573 /* We use char because int might match the return type of a gcc2
19574    builtin and then its argument prototype would still apply.  */
19575 char $ac_func ();
19576 /* The GNU C library defines this for functions which it implements
19577     to always fail with ENOSYS.  Some functions are actually named
19578     something starting with __ and the normal name is an alias.  */
19579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19580 choke me
19581 #else
19582 char (*f) () = $ac_func;
19583 #endif
19584 #ifdef __cplusplus
19585 }
19586 #endif
19587
19588 int
19589 main ()
19590 {
19591 return f != $ac_func;
19592   ;
19593   return 0;
19594 }
19595 _ACEOF
19596 rm -f conftest.$ac_objext conftest$ac_exeext
19597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19598   (eval $ac_link) 2>conftest.er1
19599   ac_status=$?
19600   grep -v '^ *+' conftest.er1 >conftest.err
19601   rm -f conftest.er1
19602   cat conftest.err >&5
19603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19604   (exit $ac_status); } &&
19605          { ac_try='test -z "$ac_c_werror_flag"
19606                          || test ! -s conftest.err'
19607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19608   (eval $ac_try) 2>&5
19609   ac_status=$?
19610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19611   (exit $ac_status); }; } &&
19612          { ac_try='test -s conftest$ac_exeext'
19613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19614   (eval $ac_try) 2>&5
19615   ac_status=$?
19616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19617   (exit $ac_status); }; }; then
19618   eval "$as_ac_var=yes"
19619 else
19620   echo "$as_me: failed program was:" >&5
19621 sed 's/^/| /' conftest.$ac_ext >&5
19622
19623 eval "$as_ac_var=no"
19624 fi
19625 rm -f conftest.err conftest.$ac_objext \
19626       conftest$ac_exeext conftest.$ac_ext
19627 fi
19628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19630 if test `eval echo '${'$as_ac_var'}'` = yes; then
19631   cat >>confdefs.h <<_ACEOF
19632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19633 _ACEOF
19634
19635 fi
19636 done
19637
19638     fi
19639   fi
19640
19641
19642
19643
19644
19645
19646   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
19647 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
19648   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
19649     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
19650   echo $ECHO_N "(cached) $ECHO_C" >&6
19651 else
19652
19653
19654
19655       ac_ext=cc
19656 ac_cpp='$CXXCPP $CPPFLAGS'
19657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19660
19661       cat >conftest.$ac_ext <<_ACEOF
19662 /* confdefs.h.  */
19663 _ACEOF
19664 cat confdefs.h >>conftest.$ac_ext
19665 cat >>conftest.$ac_ext <<_ACEOF
19666 /* end confdefs.h.  */
19667 #include <math.h>
19668                       #ifdef HAVE_IEEEFP_H
19669                       #include <ieeefp.h>
19670                       #endif
19671
19672 int
19673 main ()
19674 {
19675  isinfl(0);
19676   ;
19677   return 0;
19678 }
19679 _ACEOF
19680 rm -f conftest.$ac_objext
19681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19682   (eval $ac_compile) 2>conftest.er1
19683   ac_status=$?
19684   grep -v '^ *+' conftest.er1 >conftest.err
19685   rm -f conftest.er1
19686   cat conftest.err >&5
19687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19688   (exit $ac_status); } &&
19689          { ac_try='test -z "$ac_cxx_werror_flag"
19690                          || test ! -s conftest.err'
19691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19692   (eval $ac_try) 2>&5
19693   ac_status=$?
19694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695   (exit $ac_status); }; } &&
19696          { ac_try='test -s conftest.$ac_objext'
19697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19698   (eval $ac_try) 2>&5
19699   ac_status=$?
19700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701   (exit $ac_status); }; }; then
19702   glibcxx_cv_func_isinfl_use=yes
19703 else
19704   echo "$as_me: failed program was:" >&5
19705 sed 's/^/| /' conftest.$ac_ext >&5
19706
19707 glibcxx_cv_func_isinfl_use=no
19708 fi
19709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19710       ac_ext=c
19711 ac_cpp='$CPP $CPPFLAGS'
19712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19715
19716
19717 fi
19718
19719   fi
19720   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
19721 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
19722
19723   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
19724
19725 for ac_func in isinfl
19726 do
19727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19728 echo "$as_me:$LINENO: checking for $ac_func" >&5
19729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19730 if eval "test \"\${$as_ac_var+set}\" = set"; then
19731   echo $ECHO_N "(cached) $ECHO_C" >&6
19732 else
19733   if test x$gcc_no_link = xyes; then
19734   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19736    { (exit 1); exit 1; }; }
19737 fi
19738 cat >conftest.$ac_ext <<_ACEOF
19739 /* confdefs.h.  */
19740 _ACEOF
19741 cat confdefs.h >>conftest.$ac_ext
19742 cat >>conftest.$ac_ext <<_ACEOF
19743 /* end confdefs.h.  */
19744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19745    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19746 #define $ac_func innocuous_$ac_func
19747
19748 /* System header to define __stub macros and hopefully few prototypes,
19749     which can conflict with char $ac_func (); below.
19750     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19751     <limits.h> exists even on freestanding compilers.  */
19752
19753 #ifdef __STDC__
19754 # include <limits.h>
19755 #else
19756 # include <assert.h>
19757 #endif
19758
19759 #undef $ac_func
19760
19761 /* Override any gcc2 internal prototype to avoid an error.  */
19762 #ifdef __cplusplus
19763 extern "C"
19764 {
19765 #endif
19766 /* We use char because int might match the return type of a gcc2
19767    builtin and then its argument prototype would still apply.  */
19768 char $ac_func ();
19769 /* The GNU C library defines this for functions which it implements
19770     to always fail with ENOSYS.  Some functions are actually named
19771     something starting with __ and the normal name is an alias.  */
19772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19773 choke me
19774 #else
19775 char (*f) () = $ac_func;
19776 #endif
19777 #ifdef __cplusplus
19778 }
19779 #endif
19780
19781 int
19782 main ()
19783 {
19784 return f != $ac_func;
19785   ;
19786   return 0;
19787 }
19788 _ACEOF
19789 rm -f conftest.$ac_objext conftest$ac_exeext
19790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19791   (eval $ac_link) 2>conftest.er1
19792   ac_status=$?
19793   grep -v '^ *+' conftest.er1 >conftest.err
19794   rm -f conftest.er1
19795   cat conftest.err >&5
19796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19797   (exit $ac_status); } &&
19798          { ac_try='test -z "$ac_c_werror_flag"
19799                          || test ! -s conftest.err'
19800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19801   (eval $ac_try) 2>&5
19802   ac_status=$?
19803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19804   (exit $ac_status); }; } &&
19805          { ac_try='test -s conftest$ac_exeext'
19806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19807   (eval $ac_try) 2>&5
19808   ac_status=$?
19809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19810   (exit $ac_status); }; }; then
19811   eval "$as_ac_var=yes"
19812 else
19813   echo "$as_me: failed program was:" >&5
19814 sed 's/^/| /' conftest.$ac_ext >&5
19815
19816 eval "$as_ac_var=no"
19817 fi
19818 rm -f conftest.err conftest.$ac_objext \
19819       conftest$ac_exeext conftest.$ac_ext
19820 fi
19821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19823 if test `eval echo '${'$as_ac_var'}'` = yes; then
19824   cat >>confdefs.h <<_ACEOF
19825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19826 _ACEOF
19827
19828 fi
19829 done
19830
19831   else
19832
19833   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
19834 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
19835   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
19836     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
19837   echo $ECHO_N "(cached) $ECHO_C" >&6
19838 else
19839
19840
19841
19842       ac_ext=cc
19843 ac_cpp='$CXXCPP $CPPFLAGS'
19844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19847
19848       cat >conftest.$ac_ext <<_ACEOF
19849 /* confdefs.h.  */
19850 _ACEOF
19851 cat confdefs.h >>conftest.$ac_ext
19852 cat >>conftest.$ac_ext <<_ACEOF
19853 /* end confdefs.h.  */
19854 #include <math.h>
19855                       #ifdef HAVE_IEEEFP_H
19856                       #include <ieeefp.h>
19857                       #endif
19858
19859 int
19860 main ()
19861 {
19862  _isinfl(0);
19863   ;
19864   return 0;
19865 }
19866 _ACEOF
19867 rm -f conftest.$ac_objext
19868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19869   (eval $ac_compile) 2>conftest.er1
19870   ac_status=$?
19871   grep -v '^ *+' conftest.er1 >conftest.err
19872   rm -f conftest.er1
19873   cat conftest.err >&5
19874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19875   (exit $ac_status); } &&
19876          { ac_try='test -z "$ac_cxx_werror_flag"
19877                          || test ! -s conftest.err'
19878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19879   (eval $ac_try) 2>&5
19880   ac_status=$?
19881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19882   (exit $ac_status); }; } &&
19883          { ac_try='test -s conftest.$ac_objext'
19884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19885   (eval $ac_try) 2>&5
19886   ac_status=$?
19887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888   (exit $ac_status); }; }; then
19889   glibcxx_cv_func__isinfl_use=yes
19890 else
19891   echo "$as_me: failed program was:" >&5
19892 sed 's/^/| /' conftest.$ac_ext >&5
19893
19894 glibcxx_cv_func__isinfl_use=no
19895 fi
19896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19897       ac_ext=c
19898 ac_cpp='$CPP $CPPFLAGS'
19899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19902
19903
19904 fi
19905
19906   fi
19907   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
19908 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
19909
19910     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
19911
19912 for ac_func in _isinfl
19913 do
19914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19915 echo "$as_me:$LINENO: checking for $ac_func" >&5
19916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19917 if eval "test \"\${$as_ac_var+set}\" = set"; then
19918   echo $ECHO_N "(cached) $ECHO_C" >&6
19919 else
19920   if test x$gcc_no_link = xyes; then
19921   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19923    { (exit 1); exit 1; }; }
19924 fi
19925 cat >conftest.$ac_ext <<_ACEOF
19926 /* confdefs.h.  */
19927 _ACEOF
19928 cat confdefs.h >>conftest.$ac_ext
19929 cat >>conftest.$ac_ext <<_ACEOF
19930 /* end confdefs.h.  */
19931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19932    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19933 #define $ac_func innocuous_$ac_func
19934
19935 /* System header to define __stub macros and hopefully few prototypes,
19936     which can conflict with char $ac_func (); below.
19937     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19938     <limits.h> exists even on freestanding compilers.  */
19939
19940 #ifdef __STDC__
19941 # include <limits.h>
19942 #else
19943 # include <assert.h>
19944 #endif
19945
19946 #undef $ac_func
19947
19948 /* Override any gcc2 internal prototype to avoid an error.  */
19949 #ifdef __cplusplus
19950 extern "C"
19951 {
19952 #endif
19953 /* We use char because int might match the return type of a gcc2
19954    builtin and then its argument prototype would still apply.  */
19955 char $ac_func ();
19956 /* The GNU C library defines this for functions which it implements
19957     to always fail with ENOSYS.  Some functions are actually named
19958     something starting with __ and the normal name is an alias.  */
19959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19960 choke me
19961 #else
19962 char (*f) () = $ac_func;
19963 #endif
19964 #ifdef __cplusplus
19965 }
19966 #endif
19967
19968 int
19969 main ()
19970 {
19971 return f != $ac_func;
19972   ;
19973   return 0;
19974 }
19975 _ACEOF
19976 rm -f conftest.$ac_objext conftest$ac_exeext
19977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19978   (eval $ac_link) 2>conftest.er1
19979   ac_status=$?
19980   grep -v '^ *+' conftest.er1 >conftest.err
19981   rm -f conftest.er1
19982   cat conftest.err >&5
19983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984   (exit $ac_status); } &&
19985          { ac_try='test -z "$ac_c_werror_flag"
19986                          || test ! -s conftest.err'
19987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19988   (eval $ac_try) 2>&5
19989   ac_status=$?
19990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19991   (exit $ac_status); }; } &&
19992          { ac_try='test -s conftest$ac_exeext'
19993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19994   (eval $ac_try) 2>&5
19995   ac_status=$?
19996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19997   (exit $ac_status); }; }; then
19998   eval "$as_ac_var=yes"
19999 else
20000   echo "$as_me: failed program was:" >&5
20001 sed 's/^/| /' conftest.$ac_ext >&5
20002
20003 eval "$as_ac_var=no"
20004 fi
20005 rm -f conftest.err conftest.$ac_objext \
20006       conftest$ac_exeext conftest.$ac_ext
20007 fi
20008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20010 if test `eval echo '${'$as_ac_var'}'` = yes; then
20011   cat >>confdefs.h <<_ACEOF
20012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20013 _ACEOF
20014
20015 fi
20016 done
20017
20018     fi
20019   fi
20020
20021
20022
20023
20024
20025
20026   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
20027 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
20028   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
20029     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
20030   echo $ECHO_N "(cached) $ECHO_C" >&6
20031 else
20032
20033
20034
20035       ac_ext=cc
20036 ac_cpp='$CXXCPP $CPPFLAGS'
20037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20040
20041       cat >conftest.$ac_ext <<_ACEOF
20042 /* confdefs.h.  */
20043 _ACEOF
20044 cat confdefs.h >>conftest.$ac_ext
20045 cat >>conftest.$ac_ext <<_ACEOF
20046 /* end confdefs.h.  */
20047 #include <math.h>
20048 int
20049 main ()
20050 {
20051  copysignl(0, 0);
20052   ;
20053   return 0;
20054 }
20055 _ACEOF
20056 rm -f conftest.$ac_objext
20057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20058   (eval $ac_compile) 2>conftest.er1
20059   ac_status=$?
20060   grep -v '^ *+' conftest.er1 >conftest.err
20061   rm -f conftest.er1
20062   cat conftest.err >&5
20063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20064   (exit $ac_status); } &&
20065          { ac_try='test -z "$ac_cxx_werror_flag"
20066                          || test ! -s conftest.err'
20067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20068   (eval $ac_try) 2>&5
20069   ac_status=$?
20070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20071   (exit $ac_status); }; } &&
20072          { ac_try='test -s conftest.$ac_objext'
20073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20074   (eval $ac_try) 2>&5
20075   ac_status=$?
20076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077   (exit $ac_status); }; }; then
20078   glibcxx_cv_func_copysignl_use=yes
20079 else
20080   echo "$as_me: failed program was:" >&5
20081 sed 's/^/| /' conftest.$ac_ext >&5
20082
20083 glibcxx_cv_func_copysignl_use=no
20084 fi
20085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20086       ac_ext=c
20087 ac_cpp='$CPP $CPPFLAGS'
20088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20091
20092
20093 fi
20094
20095   fi
20096   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
20097 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
20098
20099   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
20100
20101 for ac_func in copysignl
20102 do
20103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20104 echo "$as_me:$LINENO: checking for $ac_func" >&5
20105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20106 if eval "test \"\${$as_ac_var+set}\" = set"; then
20107   echo $ECHO_N "(cached) $ECHO_C" >&6
20108 else
20109   if test x$gcc_no_link = xyes; then
20110   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20112    { (exit 1); exit 1; }; }
20113 fi
20114 cat >conftest.$ac_ext <<_ACEOF
20115 /* confdefs.h.  */
20116 _ACEOF
20117 cat confdefs.h >>conftest.$ac_ext
20118 cat >>conftest.$ac_ext <<_ACEOF
20119 /* end confdefs.h.  */
20120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20121    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20122 #define $ac_func innocuous_$ac_func
20123
20124 /* System header to define __stub macros and hopefully few prototypes,
20125     which can conflict with char $ac_func (); below.
20126     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20127     <limits.h> exists even on freestanding compilers.  */
20128
20129 #ifdef __STDC__
20130 # include <limits.h>
20131 #else
20132 # include <assert.h>
20133 #endif
20134
20135 #undef $ac_func
20136
20137 /* Override any gcc2 internal prototype to avoid an error.  */
20138 #ifdef __cplusplus
20139 extern "C"
20140 {
20141 #endif
20142 /* We use char because int might match the return type of a gcc2
20143    builtin and then its argument prototype would still apply.  */
20144 char $ac_func ();
20145 /* The GNU C library defines this for functions which it implements
20146     to always fail with ENOSYS.  Some functions are actually named
20147     something starting with __ and the normal name is an alias.  */
20148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20149 choke me
20150 #else
20151 char (*f) () = $ac_func;
20152 #endif
20153 #ifdef __cplusplus
20154 }
20155 #endif
20156
20157 int
20158 main ()
20159 {
20160 return f != $ac_func;
20161   ;
20162   return 0;
20163 }
20164 _ACEOF
20165 rm -f conftest.$ac_objext conftest$ac_exeext
20166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20167   (eval $ac_link) 2>conftest.er1
20168   ac_status=$?
20169   grep -v '^ *+' conftest.er1 >conftest.err
20170   rm -f conftest.er1
20171   cat conftest.err >&5
20172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20173   (exit $ac_status); } &&
20174          { ac_try='test -z "$ac_c_werror_flag"
20175                          || test ! -s conftest.err'
20176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20177   (eval $ac_try) 2>&5
20178   ac_status=$?
20179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20180   (exit $ac_status); }; } &&
20181          { ac_try='test -s conftest$ac_exeext'
20182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20183   (eval $ac_try) 2>&5
20184   ac_status=$?
20185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20186   (exit $ac_status); }; }; then
20187   eval "$as_ac_var=yes"
20188 else
20189   echo "$as_me: failed program was:" >&5
20190 sed 's/^/| /' conftest.$ac_ext >&5
20191
20192 eval "$as_ac_var=no"
20193 fi
20194 rm -f conftest.err conftest.$ac_objext \
20195       conftest$ac_exeext conftest.$ac_ext
20196 fi
20197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20199 if test `eval echo '${'$as_ac_var'}'` = yes; then
20200   cat >>confdefs.h <<_ACEOF
20201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20202 _ACEOF
20203
20204 fi
20205 done
20206
20207   else
20208
20209   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
20210 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
20211   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
20212     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
20213   echo $ECHO_N "(cached) $ECHO_C" >&6
20214 else
20215
20216
20217
20218       ac_ext=cc
20219 ac_cpp='$CXXCPP $CPPFLAGS'
20220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20223
20224       cat >conftest.$ac_ext <<_ACEOF
20225 /* confdefs.h.  */
20226 _ACEOF
20227 cat confdefs.h >>conftest.$ac_ext
20228 cat >>conftest.$ac_ext <<_ACEOF
20229 /* end confdefs.h.  */
20230 #include <math.h>
20231 int
20232 main ()
20233 {
20234  _copysignl(0, 0);
20235   ;
20236   return 0;
20237 }
20238 _ACEOF
20239 rm -f conftest.$ac_objext
20240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20241   (eval $ac_compile) 2>conftest.er1
20242   ac_status=$?
20243   grep -v '^ *+' conftest.er1 >conftest.err
20244   rm -f conftest.er1
20245   cat conftest.err >&5
20246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20247   (exit $ac_status); } &&
20248          { ac_try='test -z "$ac_cxx_werror_flag"
20249                          || test ! -s conftest.err'
20250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20251   (eval $ac_try) 2>&5
20252   ac_status=$?
20253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254   (exit $ac_status); }; } &&
20255          { ac_try='test -s conftest.$ac_objext'
20256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20257   (eval $ac_try) 2>&5
20258   ac_status=$?
20259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20260   (exit $ac_status); }; }; then
20261   glibcxx_cv_func__copysignl_use=yes
20262 else
20263   echo "$as_me: failed program was:" >&5
20264 sed 's/^/| /' conftest.$ac_ext >&5
20265
20266 glibcxx_cv_func__copysignl_use=no
20267 fi
20268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20269       ac_ext=c
20270 ac_cpp='$CPP $CPPFLAGS'
20271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20274
20275
20276 fi
20277
20278   fi
20279   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
20280 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
20281
20282     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
20283
20284 for ac_func in _copysignl
20285 do
20286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20287 echo "$as_me:$LINENO: checking for $ac_func" >&5
20288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20289 if eval "test \"\${$as_ac_var+set}\" = set"; then
20290   echo $ECHO_N "(cached) $ECHO_C" >&6
20291 else
20292   if test x$gcc_no_link = xyes; then
20293   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20295    { (exit 1); exit 1; }; }
20296 fi
20297 cat >conftest.$ac_ext <<_ACEOF
20298 /* confdefs.h.  */
20299 _ACEOF
20300 cat confdefs.h >>conftest.$ac_ext
20301 cat >>conftest.$ac_ext <<_ACEOF
20302 /* end confdefs.h.  */
20303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20304    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20305 #define $ac_func innocuous_$ac_func
20306
20307 /* System header to define __stub macros and hopefully few prototypes,
20308     which can conflict with char $ac_func (); below.
20309     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20310     <limits.h> exists even on freestanding compilers.  */
20311
20312 #ifdef __STDC__
20313 # include <limits.h>
20314 #else
20315 # include <assert.h>
20316 #endif
20317
20318 #undef $ac_func
20319
20320 /* Override any gcc2 internal prototype to avoid an error.  */
20321 #ifdef __cplusplus
20322 extern "C"
20323 {
20324 #endif
20325 /* We use char because int might match the return type of a gcc2
20326    builtin and then its argument prototype would still apply.  */
20327 char $ac_func ();
20328 /* The GNU C library defines this for functions which it implements
20329     to always fail with ENOSYS.  Some functions are actually named
20330     something starting with __ and the normal name is an alias.  */
20331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20332 choke me
20333 #else
20334 char (*f) () = $ac_func;
20335 #endif
20336 #ifdef __cplusplus
20337 }
20338 #endif
20339
20340 int
20341 main ()
20342 {
20343 return f != $ac_func;
20344   ;
20345   return 0;
20346 }
20347 _ACEOF
20348 rm -f conftest.$ac_objext conftest$ac_exeext
20349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20350   (eval $ac_link) 2>conftest.er1
20351   ac_status=$?
20352   grep -v '^ *+' conftest.er1 >conftest.err
20353   rm -f conftest.er1
20354   cat conftest.err >&5
20355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20356   (exit $ac_status); } &&
20357          { ac_try='test -z "$ac_c_werror_flag"
20358                          || test ! -s conftest.err'
20359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20360   (eval $ac_try) 2>&5
20361   ac_status=$?
20362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20363   (exit $ac_status); }; } &&
20364          { ac_try='test -s conftest$ac_exeext'
20365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20366   (eval $ac_try) 2>&5
20367   ac_status=$?
20368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20369   (exit $ac_status); }; }; then
20370   eval "$as_ac_var=yes"
20371 else
20372   echo "$as_me: failed program was:" >&5
20373 sed 's/^/| /' conftest.$ac_ext >&5
20374
20375 eval "$as_ac_var=no"
20376 fi
20377 rm -f conftest.err conftest.$ac_objext \
20378       conftest$ac_exeext conftest.$ac_ext
20379 fi
20380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20382 if test `eval echo '${'$as_ac_var'}'` = yes; then
20383   cat >>confdefs.h <<_ACEOF
20384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20385 _ACEOF
20386
20387 fi
20388 done
20389
20390     fi
20391   fi
20392
20393
20394
20395
20396
20397
20398   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
20399 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
20400   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
20401     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
20402   echo $ECHO_N "(cached) $ECHO_C" >&6
20403 else
20404
20405
20406
20407       ac_ext=cc
20408 ac_cpp='$CXXCPP $CPPFLAGS'
20409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20412
20413       cat >conftest.$ac_ext <<_ACEOF
20414 /* confdefs.h.  */
20415 _ACEOF
20416 cat confdefs.h >>conftest.$ac_ext
20417 cat >>conftest.$ac_ext <<_ACEOF
20418 /* end confdefs.h.  */
20419 #include <math.h>
20420 int
20421 main ()
20422 {
20423  atan2l(0, 0);
20424   ;
20425   return 0;
20426 }
20427 _ACEOF
20428 rm -f conftest.$ac_objext
20429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20430   (eval $ac_compile) 2>conftest.er1
20431   ac_status=$?
20432   grep -v '^ *+' conftest.er1 >conftest.err
20433   rm -f conftest.er1
20434   cat conftest.err >&5
20435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20436   (exit $ac_status); } &&
20437          { ac_try='test -z "$ac_cxx_werror_flag"
20438                          || test ! -s conftest.err'
20439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20440   (eval $ac_try) 2>&5
20441   ac_status=$?
20442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20443   (exit $ac_status); }; } &&
20444          { ac_try='test -s conftest.$ac_objext'
20445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20446   (eval $ac_try) 2>&5
20447   ac_status=$?
20448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449   (exit $ac_status); }; }; then
20450   glibcxx_cv_func_atan2l_use=yes
20451 else
20452   echo "$as_me: failed program was:" >&5
20453 sed 's/^/| /' conftest.$ac_ext >&5
20454
20455 glibcxx_cv_func_atan2l_use=no
20456 fi
20457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20458       ac_ext=c
20459 ac_cpp='$CPP $CPPFLAGS'
20460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20463
20464
20465 fi
20466
20467   fi
20468   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
20469 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
20470
20471   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
20472
20473 for ac_func in atan2l
20474 do
20475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20476 echo "$as_me:$LINENO: checking for $ac_func" >&5
20477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20478 if eval "test \"\${$as_ac_var+set}\" = set"; then
20479   echo $ECHO_N "(cached) $ECHO_C" >&6
20480 else
20481   if test x$gcc_no_link = xyes; then
20482   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20484    { (exit 1); exit 1; }; }
20485 fi
20486 cat >conftest.$ac_ext <<_ACEOF
20487 /* confdefs.h.  */
20488 _ACEOF
20489 cat confdefs.h >>conftest.$ac_ext
20490 cat >>conftest.$ac_ext <<_ACEOF
20491 /* end confdefs.h.  */
20492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20493    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20494 #define $ac_func innocuous_$ac_func
20495
20496 /* System header to define __stub macros and hopefully few prototypes,
20497     which can conflict with char $ac_func (); below.
20498     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20499     <limits.h> exists even on freestanding compilers.  */
20500
20501 #ifdef __STDC__
20502 # include <limits.h>
20503 #else
20504 # include <assert.h>
20505 #endif
20506
20507 #undef $ac_func
20508
20509 /* Override any gcc2 internal prototype to avoid an error.  */
20510 #ifdef __cplusplus
20511 extern "C"
20512 {
20513 #endif
20514 /* We use char because int might match the return type of a gcc2
20515    builtin and then its argument prototype would still apply.  */
20516 char $ac_func ();
20517 /* The GNU C library defines this for functions which it implements
20518     to always fail with ENOSYS.  Some functions are actually named
20519     something starting with __ and the normal name is an alias.  */
20520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20521 choke me
20522 #else
20523 char (*f) () = $ac_func;
20524 #endif
20525 #ifdef __cplusplus
20526 }
20527 #endif
20528
20529 int
20530 main ()
20531 {
20532 return f != $ac_func;
20533   ;
20534   return 0;
20535 }
20536 _ACEOF
20537 rm -f conftest.$ac_objext conftest$ac_exeext
20538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20539   (eval $ac_link) 2>conftest.er1
20540   ac_status=$?
20541   grep -v '^ *+' conftest.er1 >conftest.err
20542   rm -f conftest.er1
20543   cat conftest.err >&5
20544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20545   (exit $ac_status); } &&
20546          { ac_try='test -z "$ac_c_werror_flag"
20547                          || test ! -s conftest.err'
20548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20549   (eval $ac_try) 2>&5
20550   ac_status=$?
20551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20552   (exit $ac_status); }; } &&
20553          { ac_try='test -s conftest$ac_exeext'
20554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20555   (eval $ac_try) 2>&5
20556   ac_status=$?
20557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20558   (exit $ac_status); }; }; then
20559   eval "$as_ac_var=yes"
20560 else
20561   echo "$as_me: failed program was:" >&5
20562 sed 's/^/| /' conftest.$ac_ext >&5
20563
20564 eval "$as_ac_var=no"
20565 fi
20566 rm -f conftest.err conftest.$ac_objext \
20567       conftest$ac_exeext conftest.$ac_ext
20568 fi
20569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20571 if test `eval echo '${'$as_ac_var'}'` = yes; then
20572   cat >>confdefs.h <<_ACEOF
20573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20574 _ACEOF
20575
20576 fi
20577 done
20578
20579   else
20580
20581   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
20582 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
20583   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
20584     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
20585   echo $ECHO_N "(cached) $ECHO_C" >&6
20586 else
20587
20588
20589
20590       ac_ext=cc
20591 ac_cpp='$CXXCPP $CPPFLAGS'
20592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20595
20596       cat >conftest.$ac_ext <<_ACEOF
20597 /* confdefs.h.  */
20598 _ACEOF
20599 cat confdefs.h >>conftest.$ac_ext
20600 cat >>conftest.$ac_ext <<_ACEOF
20601 /* end confdefs.h.  */
20602 #include <math.h>
20603 int
20604 main ()
20605 {
20606  _atan2l(0, 0);
20607   ;
20608   return 0;
20609 }
20610 _ACEOF
20611 rm -f conftest.$ac_objext
20612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20613   (eval $ac_compile) 2>conftest.er1
20614   ac_status=$?
20615   grep -v '^ *+' conftest.er1 >conftest.err
20616   rm -f conftest.er1
20617   cat conftest.err >&5
20618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619   (exit $ac_status); } &&
20620          { ac_try='test -z "$ac_cxx_werror_flag"
20621                          || test ! -s conftest.err'
20622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20623   (eval $ac_try) 2>&5
20624   ac_status=$?
20625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20626   (exit $ac_status); }; } &&
20627          { ac_try='test -s conftest.$ac_objext'
20628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20629   (eval $ac_try) 2>&5
20630   ac_status=$?
20631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20632   (exit $ac_status); }; }; then
20633   glibcxx_cv_func__atan2l_use=yes
20634 else
20635   echo "$as_me: failed program was:" >&5
20636 sed 's/^/| /' conftest.$ac_ext >&5
20637
20638 glibcxx_cv_func__atan2l_use=no
20639 fi
20640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20641       ac_ext=c
20642 ac_cpp='$CPP $CPPFLAGS'
20643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20646
20647
20648 fi
20649
20650   fi
20651   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
20652 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
20653
20654     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
20655
20656 for ac_func in _atan2l
20657 do
20658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20659 echo "$as_me:$LINENO: checking for $ac_func" >&5
20660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20661 if eval "test \"\${$as_ac_var+set}\" = set"; then
20662   echo $ECHO_N "(cached) $ECHO_C" >&6
20663 else
20664   if test x$gcc_no_link = xyes; then
20665   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20667    { (exit 1); exit 1; }; }
20668 fi
20669 cat >conftest.$ac_ext <<_ACEOF
20670 /* confdefs.h.  */
20671 _ACEOF
20672 cat confdefs.h >>conftest.$ac_ext
20673 cat >>conftest.$ac_ext <<_ACEOF
20674 /* end confdefs.h.  */
20675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20676    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20677 #define $ac_func innocuous_$ac_func
20678
20679 /* System header to define __stub macros and hopefully few prototypes,
20680     which can conflict with char $ac_func (); below.
20681     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20682     <limits.h> exists even on freestanding compilers.  */
20683
20684 #ifdef __STDC__
20685 # include <limits.h>
20686 #else
20687 # include <assert.h>
20688 #endif
20689
20690 #undef $ac_func
20691
20692 /* Override any gcc2 internal prototype to avoid an error.  */
20693 #ifdef __cplusplus
20694 extern "C"
20695 {
20696 #endif
20697 /* We use char because int might match the return type of a gcc2
20698    builtin and then its argument prototype would still apply.  */
20699 char $ac_func ();
20700 /* The GNU C library defines this for functions which it implements
20701     to always fail with ENOSYS.  Some functions are actually named
20702     something starting with __ and the normal name is an alias.  */
20703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20704 choke me
20705 #else
20706 char (*f) () = $ac_func;
20707 #endif
20708 #ifdef __cplusplus
20709 }
20710 #endif
20711
20712 int
20713 main ()
20714 {
20715 return f != $ac_func;
20716   ;
20717   return 0;
20718 }
20719 _ACEOF
20720 rm -f conftest.$ac_objext conftest$ac_exeext
20721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20722   (eval $ac_link) 2>conftest.er1
20723   ac_status=$?
20724   grep -v '^ *+' conftest.er1 >conftest.err
20725   rm -f conftest.er1
20726   cat conftest.err >&5
20727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20728   (exit $ac_status); } &&
20729          { ac_try='test -z "$ac_c_werror_flag"
20730                          || test ! -s conftest.err'
20731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20732   (eval $ac_try) 2>&5
20733   ac_status=$?
20734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735   (exit $ac_status); }; } &&
20736          { ac_try='test -s conftest$ac_exeext'
20737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20738   (eval $ac_try) 2>&5
20739   ac_status=$?
20740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741   (exit $ac_status); }; }; then
20742   eval "$as_ac_var=yes"
20743 else
20744   echo "$as_me: failed program was:" >&5
20745 sed 's/^/| /' conftest.$ac_ext >&5
20746
20747 eval "$as_ac_var=no"
20748 fi
20749 rm -f conftest.err conftest.$ac_objext \
20750       conftest$ac_exeext conftest.$ac_ext
20751 fi
20752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20754 if test `eval echo '${'$as_ac_var'}'` = yes; then
20755   cat >>confdefs.h <<_ACEOF
20756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20757 _ACEOF
20758
20759 fi
20760 done
20761
20762     fi
20763   fi
20764
20765
20766
20767
20768
20769
20770   echo "$as_me:$LINENO: checking for expl declaration" >&5
20771 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
20772   if test x${glibcxx_cv_func_expl_use+set} != xset; then
20773     if test "${glibcxx_cv_func_expl_use+set}" = set; then
20774   echo $ECHO_N "(cached) $ECHO_C" >&6
20775 else
20776
20777
20778
20779       ac_ext=cc
20780 ac_cpp='$CXXCPP $CPPFLAGS'
20781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20784
20785       cat >conftest.$ac_ext <<_ACEOF
20786 /* confdefs.h.  */
20787 _ACEOF
20788 cat confdefs.h >>conftest.$ac_ext
20789 cat >>conftest.$ac_ext <<_ACEOF
20790 /* end confdefs.h.  */
20791 #include <math.h>
20792                       #ifdef HAVE_IEEEFP_H
20793                       #include <ieeefp.h>
20794                       #endif
20795
20796 int
20797 main ()
20798 {
20799  expl(0);
20800   ;
20801   return 0;
20802 }
20803 _ACEOF
20804 rm -f conftest.$ac_objext
20805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20806   (eval $ac_compile) 2>conftest.er1
20807   ac_status=$?
20808   grep -v '^ *+' conftest.er1 >conftest.err
20809   rm -f conftest.er1
20810   cat conftest.err >&5
20811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20812   (exit $ac_status); } &&
20813          { ac_try='test -z "$ac_cxx_werror_flag"
20814                          || test ! -s conftest.err'
20815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20816   (eval $ac_try) 2>&5
20817   ac_status=$?
20818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20819   (exit $ac_status); }; } &&
20820          { ac_try='test -s conftest.$ac_objext'
20821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20822   (eval $ac_try) 2>&5
20823   ac_status=$?
20824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825   (exit $ac_status); }; }; then
20826   glibcxx_cv_func_expl_use=yes
20827 else
20828   echo "$as_me: failed program was:" >&5
20829 sed 's/^/| /' conftest.$ac_ext >&5
20830
20831 glibcxx_cv_func_expl_use=no
20832 fi
20833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20834       ac_ext=c
20835 ac_cpp='$CPP $CPPFLAGS'
20836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20839
20840
20841 fi
20842
20843   fi
20844   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
20845 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
20846
20847   if test x$glibcxx_cv_func_expl_use = x"yes"; then
20848
20849 for ac_func in expl
20850 do
20851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20852 echo "$as_me:$LINENO: checking for $ac_func" >&5
20853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20854 if eval "test \"\${$as_ac_var+set}\" = set"; then
20855   echo $ECHO_N "(cached) $ECHO_C" >&6
20856 else
20857   if test x$gcc_no_link = xyes; then
20858   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20860    { (exit 1); exit 1; }; }
20861 fi
20862 cat >conftest.$ac_ext <<_ACEOF
20863 /* confdefs.h.  */
20864 _ACEOF
20865 cat confdefs.h >>conftest.$ac_ext
20866 cat >>conftest.$ac_ext <<_ACEOF
20867 /* end confdefs.h.  */
20868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20869    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20870 #define $ac_func innocuous_$ac_func
20871
20872 /* System header to define __stub macros and hopefully few prototypes,
20873     which can conflict with char $ac_func (); below.
20874     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20875     <limits.h> exists even on freestanding compilers.  */
20876
20877 #ifdef __STDC__
20878 # include <limits.h>
20879 #else
20880 # include <assert.h>
20881 #endif
20882
20883 #undef $ac_func
20884
20885 /* Override any gcc2 internal prototype to avoid an error.  */
20886 #ifdef __cplusplus
20887 extern "C"
20888 {
20889 #endif
20890 /* We use char because int might match the return type of a gcc2
20891    builtin and then its argument prototype would still apply.  */
20892 char $ac_func ();
20893 /* The GNU C library defines this for functions which it implements
20894     to always fail with ENOSYS.  Some functions are actually named
20895     something starting with __ and the normal name is an alias.  */
20896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20897 choke me
20898 #else
20899 char (*f) () = $ac_func;
20900 #endif
20901 #ifdef __cplusplus
20902 }
20903 #endif
20904
20905 int
20906 main ()
20907 {
20908 return f != $ac_func;
20909   ;
20910   return 0;
20911 }
20912 _ACEOF
20913 rm -f conftest.$ac_objext conftest$ac_exeext
20914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20915   (eval $ac_link) 2>conftest.er1
20916   ac_status=$?
20917   grep -v '^ *+' conftest.er1 >conftest.err
20918   rm -f conftest.er1
20919   cat conftest.err >&5
20920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921   (exit $ac_status); } &&
20922          { ac_try='test -z "$ac_c_werror_flag"
20923                          || test ! -s conftest.err'
20924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20925   (eval $ac_try) 2>&5
20926   ac_status=$?
20927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20928   (exit $ac_status); }; } &&
20929          { ac_try='test -s conftest$ac_exeext'
20930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20931   (eval $ac_try) 2>&5
20932   ac_status=$?
20933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20934   (exit $ac_status); }; }; then
20935   eval "$as_ac_var=yes"
20936 else
20937   echo "$as_me: failed program was:" >&5
20938 sed 's/^/| /' conftest.$ac_ext >&5
20939
20940 eval "$as_ac_var=no"
20941 fi
20942 rm -f conftest.err conftest.$ac_objext \
20943       conftest$ac_exeext conftest.$ac_ext
20944 fi
20945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20947 if test `eval echo '${'$as_ac_var'}'` = yes; then
20948   cat >>confdefs.h <<_ACEOF
20949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20950 _ACEOF
20951
20952 fi
20953 done
20954
20955   else
20956
20957   echo "$as_me:$LINENO: checking for _expl declaration" >&5
20958 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
20959   if test x${glibcxx_cv_func__expl_use+set} != xset; then
20960     if test "${glibcxx_cv_func__expl_use+set}" = set; then
20961   echo $ECHO_N "(cached) $ECHO_C" >&6
20962 else
20963
20964
20965
20966       ac_ext=cc
20967 ac_cpp='$CXXCPP $CPPFLAGS'
20968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20971
20972       cat >conftest.$ac_ext <<_ACEOF
20973 /* confdefs.h.  */
20974 _ACEOF
20975 cat confdefs.h >>conftest.$ac_ext
20976 cat >>conftest.$ac_ext <<_ACEOF
20977 /* end confdefs.h.  */
20978 #include <math.h>
20979                       #ifdef HAVE_IEEEFP_H
20980                       #include <ieeefp.h>
20981                       #endif
20982
20983 int
20984 main ()
20985 {
20986  _expl(0);
20987   ;
20988   return 0;
20989 }
20990 _ACEOF
20991 rm -f conftest.$ac_objext
20992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20993   (eval $ac_compile) 2>conftest.er1
20994   ac_status=$?
20995   grep -v '^ *+' conftest.er1 >conftest.err
20996   rm -f conftest.er1
20997   cat conftest.err >&5
20998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20999   (exit $ac_status); } &&
21000          { ac_try='test -z "$ac_cxx_werror_flag"
21001                          || test ! -s conftest.err'
21002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21003   (eval $ac_try) 2>&5
21004   ac_status=$?
21005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21006   (exit $ac_status); }; } &&
21007          { ac_try='test -s conftest.$ac_objext'
21008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21009   (eval $ac_try) 2>&5
21010   ac_status=$?
21011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21012   (exit $ac_status); }; }; then
21013   glibcxx_cv_func__expl_use=yes
21014 else
21015   echo "$as_me: failed program was:" >&5
21016 sed 's/^/| /' conftest.$ac_ext >&5
21017
21018 glibcxx_cv_func__expl_use=no
21019 fi
21020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21021       ac_ext=c
21022 ac_cpp='$CPP $CPPFLAGS'
21023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21026
21027
21028 fi
21029
21030   fi
21031   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
21032 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
21033
21034     if test x$glibcxx_cv_func__expl_use = x"yes"; then
21035
21036 for ac_func in _expl
21037 do
21038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21039 echo "$as_me:$LINENO: checking for $ac_func" >&5
21040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21041 if eval "test \"\${$as_ac_var+set}\" = set"; then
21042   echo $ECHO_N "(cached) $ECHO_C" >&6
21043 else
21044   if test x$gcc_no_link = xyes; then
21045   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21047    { (exit 1); exit 1; }; }
21048 fi
21049 cat >conftest.$ac_ext <<_ACEOF
21050 /* confdefs.h.  */
21051 _ACEOF
21052 cat confdefs.h >>conftest.$ac_ext
21053 cat >>conftest.$ac_ext <<_ACEOF
21054 /* end confdefs.h.  */
21055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21056    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21057 #define $ac_func innocuous_$ac_func
21058
21059 /* System header to define __stub macros and hopefully few prototypes,
21060     which can conflict with char $ac_func (); below.
21061     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21062     <limits.h> exists even on freestanding compilers.  */
21063
21064 #ifdef __STDC__
21065 # include <limits.h>
21066 #else
21067 # include <assert.h>
21068 #endif
21069
21070 #undef $ac_func
21071
21072 /* Override any gcc2 internal prototype to avoid an error.  */
21073 #ifdef __cplusplus
21074 extern "C"
21075 {
21076 #endif
21077 /* We use char because int might match the return type of a gcc2
21078    builtin and then its argument prototype would still apply.  */
21079 char $ac_func ();
21080 /* The GNU C library defines this for functions which it implements
21081     to always fail with ENOSYS.  Some functions are actually named
21082     something starting with __ and the normal name is an alias.  */
21083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21084 choke me
21085 #else
21086 char (*f) () = $ac_func;
21087 #endif
21088 #ifdef __cplusplus
21089 }
21090 #endif
21091
21092 int
21093 main ()
21094 {
21095 return f != $ac_func;
21096   ;
21097   return 0;
21098 }
21099 _ACEOF
21100 rm -f conftest.$ac_objext conftest$ac_exeext
21101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21102   (eval $ac_link) 2>conftest.er1
21103   ac_status=$?
21104   grep -v '^ *+' conftest.er1 >conftest.err
21105   rm -f conftest.er1
21106   cat conftest.err >&5
21107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21108   (exit $ac_status); } &&
21109          { ac_try='test -z "$ac_c_werror_flag"
21110                          || test ! -s conftest.err'
21111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21112   (eval $ac_try) 2>&5
21113   ac_status=$?
21114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21115   (exit $ac_status); }; } &&
21116          { ac_try='test -s conftest$ac_exeext'
21117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21118   (eval $ac_try) 2>&5
21119   ac_status=$?
21120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21121   (exit $ac_status); }; }; then
21122   eval "$as_ac_var=yes"
21123 else
21124   echo "$as_me: failed program was:" >&5
21125 sed 's/^/| /' conftest.$ac_ext >&5
21126
21127 eval "$as_ac_var=no"
21128 fi
21129 rm -f conftest.err conftest.$ac_objext \
21130       conftest$ac_exeext conftest.$ac_ext
21131 fi
21132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21134 if test `eval echo '${'$as_ac_var'}'` = yes; then
21135   cat >>confdefs.h <<_ACEOF
21136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21137 _ACEOF
21138
21139 fi
21140 done
21141
21142     fi
21143   fi
21144
21145
21146
21147
21148
21149
21150   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
21151 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
21152   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
21153     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
21154   echo $ECHO_N "(cached) $ECHO_C" >&6
21155 else
21156
21157
21158
21159       ac_ext=cc
21160 ac_cpp='$CXXCPP $CPPFLAGS'
21161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21164
21165       cat >conftest.$ac_ext <<_ACEOF
21166 /* confdefs.h.  */
21167 _ACEOF
21168 cat confdefs.h >>conftest.$ac_ext
21169 cat >>conftest.$ac_ext <<_ACEOF
21170 /* end confdefs.h.  */
21171 #include <math.h>
21172                       #ifdef HAVE_IEEEFP_H
21173                       #include <ieeefp.h>
21174                       #endif
21175
21176 int
21177 main ()
21178 {
21179  fabsl(0);
21180   ;
21181   return 0;
21182 }
21183 _ACEOF
21184 rm -f conftest.$ac_objext
21185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21186   (eval $ac_compile) 2>conftest.er1
21187   ac_status=$?
21188   grep -v '^ *+' conftest.er1 >conftest.err
21189   rm -f conftest.er1
21190   cat conftest.err >&5
21191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21192   (exit $ac_status); } &&
21193          { ac_try='test -z "$ac_cxx_werror_flag"
21194                          || test ! -s conftest.err'
21195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21196   (eval $ac_try) 2>&5
21197   ac_status=$?
21198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21199   (exit $ac_status); }; } &&
21200          { ac_try='test -s conftest.$ac_objext'
21201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21202   (eval $ac_try) 2>&5
21203   ac_status=$?
21204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21205   (exit $ac_status); }; }; then
21206   glibcxx_cv_func_fabsl_use=yes
21207 else
21208   echo "$as_me: failed program was:" >&5
21209 sed 's/^/| /' conftest.$ac_ext >&5
21210
21211 glibcxx_cv_func_fabsl_use=no
21212 fi
21213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21214       ac_ext=c
21215 ac_cpp='$CPP $CPPFLAGS'
21216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21219
21220
21221 fi
21222
21223   fi
21224   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
21225 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
21226
21227   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
21228
21229 for ac_func in fabsl
21230 do
21231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21232 echo "$as_me:$LINENO: checking for $ac_func" >&5
21233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21234 if eval "test \"\${$as_ac_var+set}\" = set"; then
21235   echo $ECHO_N "(cached) $ECHO_C" >&6
21236 else
21237   if test x$gcc_no_link = xyes; then
21238   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21240    { (exit 1); exit 1; }; }
21241 fi
21242 cat >conftest.$ac_ext <<_ACEOF
21243 /* confdefs.h.  */
21244 _ACEOF
21245 cat confdefs.h >>conftest.$ac_ext
21246 cat >>conftest.$ac_ext <<_ACEOF
21247 /* end confdefs.h.  */
21248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21249    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21250 #define $ac_func innocuous_$ac_func
21251
21252 /* System header to define __stub macros and hopefully few prototypes,
21253     which can conflict with char $ac_func (); below.
21254     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21255     <limits.h> exists even on freestanding compilers.  */
21256
21257 #ifdef __STDC__
21258 # include <limits.h>
21259 #else
21260 # include <assert.h>
21261 #endif
21262
21263 #undef $ac_func
21264
21265 /* Override any gcc2 internal prototype to avoid an error.  */
21266 #ifdef __cplusplus
21267 extern "C"
21268 {
21269 #endif
21270 /* We use char because int might match the return type of a gcc2
21271    builtin and then its argument prototype would still apply.  */
21272 char $ac_func ();
21273 /* The GNU C library defines this for functions which it implements
21274     to always fail with ENOSYS.  Some functions are actually named
21275     something starting with __ and the normal name is an alias.  */
21276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21277 choke me
21278 #else
21279 char (*f) () = $ac_func;
21280 #endif
21281 #ifdef __cplusplus
21282 }
21283 #endif
21284
21285 int
21286 main ()
21287 {
21288 return f != $ac_func;
21289   ;
21290   return 0;
21291 }
21292 _ACEOF
21293 rm -f conftest.$ac_objext conftest$ac_exeext
21294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21295   (eval $ac_link) 2>conftest.er1
21296   ac_status=$?
21297   grep -v '^ *+' conftest.er1 >conftest.err
21298   rm -f conftest.er1
21299   cat conftest.err >&5
21300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21301   (exit $ac_status); } &&
21302          { ac_try='test -z "$ac_c_werror_flag"
21303                          || test ! -s conftest.err'
21304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21305   (eval $ac_try) 2>&5
21306   ac_status=$?
21307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308   (exit $ac_status); }; } &&
21309          { ac_try='test -s conftest$ac_exeext'
21310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21311   (eval $ac_try) 2>&5
21312   ac_status=$?
21313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21314   (exit $ac_status); }; }; then
21315   eval "$as_ac_var=yes"
21316 else
21317   echo "$as_me: failed program was:" >&5
21318 sed 's/^/| /' conftest.$ac_ext >&5
21319
21320 eval "$as_ac_var=no"
21321 fi
21322 rm -f conftest.err conftest.$ac_objext \
21323       conftest$ac_exeext conftest.$ac_ext
21324 fi
21325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21327 if test `eval echo '${'$as_ac_var'}'` = yes; then
21328   cat >>confdefs.h <<_ACEOF
21329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21330 _ACEOF
21331
21332 fi
21333 done
21334
21335   else
21336
21337   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
21338 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
21339   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
21340     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
21341   echo $ECHO_N "(cached) $ECHO_C" >&6
21342 else
21343
21344
21345
21346       ac_ext=cc
21347 ac_cpp='$CXXCPP $CPPFLAGS'
21348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21351
21352       cat >conftest.$ac_ext <<_ACEOF
21353 /* confdefs.h.  */
21354 _ACEOF
21355 cat confdefs.h >>conftest.$ac_ext
21356 cat >>conftest.$ac_ext <<_ACEOF
21357 /* end confdefs.h.  */
21358 #include <math.h>
21359                       #ifdef HAVE_IEEEFP_H
21360                       #include <ieeefp.h>
21361                       #endif
21362
21363 int
21364 main ()
21365 {
21366  _fabsl(0);
21367   ;
21368   return 0;
21369 }
21370 _ACEOF
21371 rm -f conftest.$ac_objext
21372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21373   (eval $ac_compile) 2>conftest.er1
21374   ac_status=$?
21375   grep -v '^ *+' conftest.er1 >conftest.err
21376   rm -f conftest.er1
21377   cat conftest.err >&5
21378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21379   (exit $ac_status); } &&
21380          { ac_try='test -z "$ac_cxx_werror_flag"
21381                          || test ! -s conftest.err'
21382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21383   (eval $ac_try) 2>&5
21384   ac_status=$?
21385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21386   (exit $ac_status); }; } &&
21387          { ac_try='test -s conftest.$ac_objext'
21388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21389   (eval $ac_try) 2>&5
21390   ac_status=$?
21391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21392   (exit $ac_status); }; }; then
21393   glibcxx_cv_func__fabsl_use=yes
21394 else
21395   echo "$as_me: failed program was:" >&5
21396 sed 's/^/| /' conftest.$ac_ext >&5
21397
21398 glibcxx_cv_func__fabsl_use=no
21399 fi
21400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21401       ac_ext=c
21402 ac_cpp='$CPP $CPPFLAGS'
21403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21406
21407
21408 fi
21409
21410   fi
21411   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
21412 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
21413
21414     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
21415
21416 for ac_func in _fabsl
21417 do
21418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21419 echo "$as_me:$LINENO: checking for $ac_func" >&5
21420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21421 if eval "test \"\${$as_ac_var+set}\" = set"; then
21422   echo $ECHO_N "(cached) $ECHO_C" >&6
21423 else
21424   if test x$gcc_no_link = xyes; then
21425   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21427    { (exit 1); exit 1; }; }
21428 fi
21429 cat >conftest.$ac_ext <<_ACEOF
21430 /* confdefs.h.  */
21431 _ACEOF
21432 cat confdefs.h >>conftest.$ac_ext
21433 cat >>conftest.$ac_ext <<_ACEOF
21434 /* end confdefs.h.  */
21435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21436    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21437 #define $ac_func innocuous_$ac_func
21438
21439 /* System header to define __stub macros and hopefully few prototypes,
21440     which can conflict with char $ac_func (); below.
21441     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21442     <limits.h> exists even on freestanding compilers.  */
21443
21444 #ifdef __STDC__
21445 # include <limits.h>
21446 #else
21447 # include <assert.h>
21448 #endif
21449
21450 #undef $ac_func
21451
21452 /* Override any gcc2 internal prototype to avoid an error.  */
21453 #ifdef __cplusplus
21454 extern "C"
21455 {
21456 #endif
21457 /* We use char because int might match the return type of a gcc2
21458    builtin and then its argument prototype would still apply.  */
21459 char $ac_func ();
21460 /* The GNU C library defines this for functions which it implements
21461     to always fail with ENOSYS.  Some functions are actually named
21462     something starting with __ and the normal name is an alias.  */
21463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21464 choke me
21465 #else
21466 char (*f) () = $ac_func;
21467 #endif
21468 #ifdef __cplusplus
21469 }
21470 #endif
21471
21472 int
21473 main ()
21474 {
21475 return f != $ac_func;
21476   ;
21477   return 0;
21478 }
21479 _ACEOF
21480 rm -f conftest.$ac_objext conftest$ac_exeext
21481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21482   (eval $ac_link) 2>conftest.er1
21483   ac_status=$?
21484   grep -v '^ *+' conftest.er1 >conftest.err
21485   rm -f conftest.er1
21486   cat conftest.err >&5
21487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21488   (exit $ac_status); } &&
21489          { ac_try='test -z "$ac_c_werror_flag"
21490                          || test ! -s conftest.err'
21491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21492   (eval $ac_try) 2>&5
21493   ac_status=$?
21494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21495   (exit $ac_status); }; } &&
21496          { ac_try='test -s conftest$ac_exeext'
21497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21498   (eval $ac_try) 2>&5
21499   ac_status=$?
21500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21501   (exit $ac_status); }; }; then
21502   eval "$as_ac_var=yes"
21503 else
21504   echo "$as_me: failed program was:" >&5
21505 sed 's/^/| /' conftest.$ac_ext >&5
21506
21507 eval "$as_ac_var=no"
21508 fi
21509 rm -f conftest.err conftest.$ac_objext \
21510       conftest$ac_exeext conftest.$ac_ext
21511 fi
21512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21514 if test `eval echo '${'$as_ac_var'}'` = yes; then
21515   cat >>confdefs.h <<_ACEOF
21516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21517 _ACEOF
21518
21519 fi
21520 done
21521
21522     fi
21523   fi
21524
21525
21526
21527
21528
21529
21530   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
21531 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
21532   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
21533     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
21534   echo $ECHO_N "(cached) $ECHO_C" >&6
21535 else
21536
21537
21538
21539       ac_ext=cc
21540 ac_cpp='$CXXCPP $CPPFLAGS'
21541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21544
21545       cat >conftest.$ac_ext <<_ACEOF
21546 /* confdefs.h.  */
21547 _ACEOF
21548 cat confdefs.h >>conftest.$ac_ext
21549 cat >>conftest.$ac_ext <<_ACEOF
21550 /* end confdefs.h.  */
21551 #include <math.h>
21552 int
21553 main ()
21554 {
21555  fmodl(0, 0);
21556   ;
21557   return 0;
21558 }
21559 _ACEOF
21560 rm -f conftest.$ac_objext
21561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21562   (eval $ac_compile) 2>conftest.er1
21563   ac_status=$?
21564   grep -v '^ *+' conftest.er1 >conftest.err
21565   rm -f conftest.er1
21566   cat conftest.err >&5
21567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21568   (exit $ac_status); } &&
21569          { ac_try='test -z "$ac_cxx_werror_flag"
21570                          || test ! -s conftest.err'
21571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21572   (eval $ac_try) 2>&5
21573   ac_status=$?
21574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21575   (exit $ac_status); }; } &&
21576          { ac_try='test -s conftest.$ac_objext'
21577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21578   (eval $ac_try) 2>&5
21579   ac_status=$?
21580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21581   (exit $ac_status); }; }; then
21582   glibcxx_cv_func_fmodl_use=yes
21583 else
21584   echo "$as_me: failed program was:" >&5
21585 sed 's/^/| /' conftest.$ac_ext >&5
21586
21587 glibcxx_cv_func_fmodl_use=no
21588 fi
21589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21590       ac_ext=c
21591 ac_cpp='$CPP $CPPFLAGS'
21592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21595
21596
21597 fi
21598
21599   fi
21600   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
21601 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
21602
21603   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
21604
21605 for ac_func in fmodl
21606 do
21607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21608 echo "$as_me:$LINENO: checking for $ac_func" >&5
21609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21610 if eval "test \"\${$as_ac_var+set}\" = set"; then
21611   echo $ECHO_N "(cached) $ECHO_C" >&6
21612 else
21613   if test x$gcc_no_link = xyes; then
21614   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21616    { (exit 1); exit 1; }; }
21617 fi
21618 cat >conftest.$ac_ext <<_ACEOF
21619 /* confdefs.h.  */
21620 _ACEOF
21621 cat confdefs.h >>conftest.$ac_ext
21622 cat >>conftest.$ac_ext <<_ACEOF
21623 /* end confdefs.h.  */
21624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21625    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21626 #define $ac_func innocuous_$ac_func
21627
21628 /* System header to define __stub macros and hopefully few prototypes,
21629     which can conflict with char $ac_func (); below.
21630     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21631     <limits.h> exists even on freestanding compilers.  */
21632
21633 #ifdef __STDC__
21634 # include <limits.h>
21635 #else
21636 # include <assert.h>
21637 #endif
21638
21639 #undef $ac_func
21640
21641 /* Override any gcc2 internal prototype to avoid an error.  */
21642 #ifdef __cplusplus
21643 extern "C"
21644 {
21645 #endif
21646 /* We use char because int might match the return type of a gcc2
21647    builtin and then its argument prototype would still apply.  */
21648 char $ac_func ();
21649 /* The GNU C library defines this for functions which it implements
21650     to always fail with ENOSYS.  Some functions are actually named
21651     something starting with __ and the normal name is an alias.  */
21652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21653 choke me
21654 #else
21655 char (*f) () = $ac_func;
21656 #endif
21657 #ifdef __cplusplus
21658 }
21659 #endif
21660
21661 int
21662 main ()
21663 {
21664 return f != $ac_func;
21665   ;
21666   return 0;
21667 }
21668 _ACEOF
21669 rm -f conftest.$ac_objext conftest$ac_exeext
21670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21671   (eval $ac_link) 2>conftest.er1
21672   ac_status=$?
21673   grep -v '^ *+' conftest.er1 >conftest.err
21674   rm -f conftest.er1
21675   cat conftest.err >&5
21676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21677   (exit $ac_status); } &&
21678          { ac_try='test -z "$ac_c_werror_flag"
21679                          || test ! -s conftest.err'
21680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21681   (eval $ac_try) 2>&5
21682   ac_status=$?
21683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21684   (exit $ac_status); }; } &&
21685          { ac_try='test -s conftest$ac_exeext'
21686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21687   (eval $ac_try) 2>&5
21688   ac_status=$?
21689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21690   (exit $ac_status); }; }; then
21691   eval "$as_ac_var=yes"
21692 else
21693   echo "$as_me: failed program was:" >&5
21694 sed 's/^/| /' conftest.$ac_ext >&5
21695
21696 eval "$as_ac_var=no"
21697 fi
21698 rm -f conftest.err conftest.$ac_objext \
21699       conftest$ac_exeext conftest.$ac_ext
21700 fi
21701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21703 if test `eval echo '${'$as_ac_var'}'` = yes; then
21704   cat >>confdefs.h <<_ACEOF
21705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21706 _ACEOF
21707
21708 fi
21709 done
21710
21711   else
21712
21713   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
21714 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
21715   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
21716     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
21717   echo $ECHO_N "(cached) $ECHO_C" >&6
21718 else
21719
21720
21721
21722       ac_ext=cc
21723 ac_cpp='$CXXCPP $CPPFLAGS'
21724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21727
21728       cat >conftest.$ac_ext <<_ACEOF
21729 /* confdefs.h.  */
21730 _ACEOF
21731 cat confdefs.h >>conftest.$ac_ext
21732 cat >>conftest.$ac_ext <<_ACEOF
21733 /* end confdefs.h.  */
21734 #include <math.h>
21735 int
21736 main ()
21737 {
21738  _fmodl(0, 0);
21739   ;
21740   return 0;
21741 }
21742 _ACEOF
21743 rm -f conftest.$ac_objext
21744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21745   (eval $ac_compile) 2>conftest.er1
21746   ac_status=$?
21747   grep -v '^ *+' conftest.er1 >conftest.err
21748   rm -f conftest.er1
21749   cat conftest.err >&5
21750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21751   (exit $ac_status); } &&
21752          { ac_try='test -z "$ac_cxx_werror_flag"
21753                          || test ! -s conftest.err'
21754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21755   (eval $ac_try) 2>&5
21756   ac_status=$?
21757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21758   (exit $ac_status); }; } &&
21759          { ac_try='test -s conftest.$ac_objext'
21760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21761   (eval $ac_try) 2>&5
21762   ac_status=$?
21763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21764   (exit $ac_status); }; }; then
21765   glibcxx_cv_func__fmodl_use=yes
21766 else
21767   echo "$as_me: failed program was:" >&5
21768 sed 's/^/| /' conftest.$ac_ext >&5
21769
21770 glibcxx_cv_func__fmodl_use=no
21771 fi
21772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21773       ac_ext=c
21774 ac_cpp='$CPP $CPPFLAGS'
21775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21778
21779
21780 fi
21781
21782   fi
21783   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
21784 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
21785
21786     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
21787
21788 for ac_func in _fmodl
21789 do
21790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21791 echo "$as_me:$LINENO: checking for $ac_func" >&5
21792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21793 if eval "test \"\${$as_ac_var+set}\" = set"; then
21794   echo $ECHO_N "(cached) $ECHO_C" >&6
21795 else
21796   if test x$gcc_no_link = xyes; then
21797   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21799    { (exit 1); exit 1; }; }
21800 fi
21801 cat >conftest.$ac_ext <<_ACEOF
21802 /* confdefs.h.  */
21803 _ACEOF
21804 cat confdefs.h >>conftest.$ac_ext
21805 cat >>conftest.$ac_ext <<_ACEOF
21806 /* end confdefs.h.  */
21807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21808    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21809 #define $ac_func innocuous_$ac_func
21810
21811 /* System header to define __stub macros and hopefully few prototypes,
21812     which can conflict with char $ac_func (); below.
21813     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21814     <limits.h> exists even on freestanding compilers.  */
21815
21816 #ifdef __STDC__
21817 # include <limits.h>
21818 #else
21819 # include <assert.h>
21820 #endif
21821
21822 #undef $ac_func
21823
21824 /* Override any gcc2 internal prototype to avoid an error.  */
21825 #ifdef __cplusplus
21826 extern "C"
21827 {
21828 #endif
21829 /* We use char because int might match the return type of a gcc2
21830    builtin and then its argument prototype would still apply.  */
21831 char $ac_func ();
21832 /* The GNU C library defines this for functions which it implements
21833     to always fail with ENOSYS.  Some functions are actually named
21834     something starting with __ and the normal name is an alias.  */
21835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21836 choke me
21837 #else
21838 char (*f) () = $ac_func;
21839 #endif
21840 #ifdef __cplusplus
21841 }
21842 #endif
21843
21844 int
21845 main ()
21846 {
21847 return f != $ac_func;
21848   ;
21849   return 0;
21850 }
21851 _ACEOF
21852 rm -f conftest.$ac_objext conftest$ac_exeext
21853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21854   (eval $ac_link) 2>conftest.er1
21855   ac_status=$?
21856   grep -v '^ *+' conftest.er1 >conftest.err
21857   rm -f conftest.er1
21858   cat conftest.err >&5
21859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21860   (exit $ac_status); } &&
21861          { ac_try='test -z "$ac_c_werror_flag"
21862                          || test ! -s conftest.err'
21863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21864   (eval $ac_try) 2>&5
21865   ac_status=$?
21866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21867   (exit $ac_status); }; } &&
21868          { ac_try='test -s conftest$ac_exeext'
21869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21870   (eval $ac_try) 2>&5
21871   ac_status=$?
21872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21873   (exit $ac_status); }; }; then
21874   eval "$as_ac_var=yes"
21875 else
21876   echo "$as_me: failed program was:" >&5
21877 sed 's/^/| /' conftest.$ac_ext >&5
21878
21879 eval "$as_ac_var=no"
21880 fi
21881 rm -f conftest.err conftest.$ac_objext \
21882       conftest$ac_exeext conftest.$ac_ext
21883 fi
21884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21886 if test `eval echo '${'$as_ac_var'}'` = yes; then
21887   cat >>confdefs.h <<_ACEOF
21888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21889 _ACEOF
21890
21891 fi
21892 done
21893
21894     fi
21895   fi
21896
21897
21898
21899
21900
21901
21902   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
21903 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
21904   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
21905     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
21906   echo $ECHO_N "(cached) $ECHO_C" >&6
21907 else
21908
21909
21910
21911       ac_ext=cc
21912 ac_cpp='$CXXCPP $CPPFLAGS'
21913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21916
21917       cat >conftest.$ac_ext <<_ACEOF
21918 /* confdefs.h.  */
21919 _ACEOF
21920 cat confdefs.h >>conftest.$ac_ext
21921 cat >>conftest.$ac_ext <<_ACEOF
21922 /* end confdefs.h.  */
21923 #include <math.h>
21924 int
21925 main ()
21926 {
21927  frexpl(0, 0);
21928   ;
21929   return 0;
21930 }
21931 _ACEOF
21932 rm -f conftest.$ac_objext
21933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21934   (eval $ac_compile) 2>conftest.er1
21935   ac_status=$?
21936   grep -v '^ *+' conftest.er1 >conftest.err
21937   rm -f conftest.er1
21938   cat conftest.err >&5
21939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21940   (exit $ac_status); } &&
21941          { ac_try='test -z "$ac_cxx_werror_flag"
21942                          || test ! -s conftest.err'
21943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21944   (eval $ac_try) 2>&5
21945   ac_status=$?
21946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21947   (exit $ac_status); }; } &&
21948          { ac_try='test -s conftest.$ac_objext'
21949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21950   (eval $ac_try) 2>&5
21951   ac_status=$?
21952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21953   (exit $ac_status); }; }; then
21954   glibcxx_cv_func_frexpl_use=yes
21955 else
21956   echo "$as_me: failed program was:" >&5
21957 sed 's/^/| /' conftest.$ac_ext >&5
21958
21959 glibcxx_cv_func_frexpl_use=no
21960 fi
21961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21962       ac_ext=c
21963 ac_cpp='$CPP $CPPFLAGS'
21964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21967
21968
21969 fi
21970
21971   fi
21972   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
21973 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
21974
21975   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
21976
21977 for ac_func in frexpl
21978 do
21979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21980 echo "$as_me:$LINENO: checking for $ac_func" >&5
21981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21982 if eval "test \"\${$as_ac_var+set}\" = set"; then
21983   echo $ECHO_N "(cached) $ECHO_C" >&6
21984 else
21985   if test x$gcc_no_link = xyes; then
21986   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21988    { (exit 1); exit 1; }; }
21989 fi
21990 cat >conftest.$ac_ext <<_ACEOF
21991 /* confdefs.h.  */
21992 _ACEOF
21993 cat confdefs.h >>conftest.$ac_ext
21994 cat >>conftest.$ac_ext <<_ACEOF
21995 /* end confdefs.h.  */
21996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21997    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21998 #define $ac_func innocuous_$ac_func
21999
22000 /* System header to define __stub macros and hopefully few prototypes,
22001     which can conflict with char $ac_func (); below.
22002     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22003     <limits.h> exists even on freestanding compilers.  */
22004
22005 #ifdef __STDC__
22006 # include <limits.h>
22007 #else
22008 # include <assert.h>
22009 #endif
22010
22011 #undef $ac_func
22012
22013 /* Override any gcc2 internal prototype to avoid an error.  */
22014 #ifdef __cplusplus
22015 extern "C"
22016 {
22017 #endif
22018 /* We use char because int might match the return type of a gcc2
22019    builtin and then its argument prototype would still apply.  */
22020 char $ac_func ();
22021 /* The GNU C library defines this for functions which it implements
22022     to always fail with ENOSYS.  Some functions are actually named
22023     something starting with __ and the normal name is an alias.  */
22024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22025 choke me
22026 #else
22027 char (*f) () = $ac_func;
22028 #endif
22029 #ifdef __cplusplus
22030 }
22031 #endif
22032
22033 int
22034 main ()
22035 {
22036 return f != $ac_func;
22037   ;
22038   return 0;
22039 }
22040 _ACEOF
22041 rm -f conftest.$ac_objext conftest$ac_exeext
22042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22043   (eval $ac_link) 2>conftest.er1
22044   ac_status=$?
22045   grep -v '^ *+' conftest.er1 >conftest.err
22046   rm -f conftest.er1
22047   cat conftest.err >&5
22048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049   (exit $ac_status); } &&
22050          { ac_try='test -z "$ac_c_werror_flag"
22051                          || test ! -s conftest.err'
22052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22053   (eval $ac_try) 2>&5
22054   ac_status=$?
22055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056   (exit $ac_status); }; } &&
22057          { ac_try='test -s conftest$ac_exeext'
22058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22059   (eval $ac_try) 2>&5
22060   ac_status=$?
22061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22062   (exit $ac_status); }; }; then
22063   eval "$as_ac_var=yes"
22064 else
22065   echo "$as_me: failed program was:" >&5
22066 sed 's/^/| /' conftest.$ac_ext >&5
22067
22068 eval "$as_ac_var=no"
22069 fi
22070 rm -f conftest.err conftest.$ac_objext \
22071       conftest$ac_exeext conftest.$ac_ext
22072 fi
22073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22075 if test `eval echo '${'$as_ac_var'}'` = yes; then
22076   cat >>confdefs.h <<_ACEOF
22077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22078 _ACEOF
22079
22080 fi
22081 done
22082
22083   else
22084
22085   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
22086 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
22087   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
22088     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
22089   echo $ECHO_N "(cached) $ECHO_C" >&6
22090 else
22091
22092
22093
22094       ac_ext=cc
22095 ac_cpp='$CXXCPP $CPPFLAGS'
22096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22099
22100       cat >conftest.$ac_ext <<_ACEOF
22101 /* confdefs.h.  */
22102 _ACEOF
22103 cat confdefs.h >>conftest.$ac_ext
22104 cat >>conftest.$ac_ext <<_ACEOF
22105 /* end confdefs.h.  */
22106 #include <math.h>
22107 int
22108 main ()
22109 {
22110  _frexpl(0, 0);
22111   ;
22112   return 0;
22113 }
22114 _ACEOF
22115 rm -f conftest.$ac_objext
22116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22117   (eval $ac_compile) 2>conftest.er1
22118   ac_status=$?
22119   grep -v '^ *+' conftest.er1 >conftest.err
22120   rm -f conftest.er1
22121   cat conftest.err >&5
22122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22123   (exit $ac_status); } &&
22124          { ac_try='test -z "$ac_cxx_werror_flag"
22125                          || test ! -s conftest.err'
22126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22127   (eval $ac_try) 2>&5
22128   ac_status=$?
22129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22130   (exit $ac_status); }; } &&
22131          { ac_try='test -s conftest.$ac_objext'
22132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22133   (eval $ac_try) 2>&5
22134   ac_status=$?
22135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22136   (exit $ac_status); }; }; then
22137   glibcxx_cv_func__frexpl_use=yes
22138 else
22139   echo "$as_me: failed program was:" >&5
22140 sed 's/^/| /' conftest.$ac_ext >&5
22141
22142 glibcxx_cv_func__frexpl_use=no
22143 fi
22144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22145       ac_ext=c
22146 ac_cpp='$CPP $CPPFLAGS'
22147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22150
22151
22152 fi
22153
22154   fi
22155   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
22156 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
22157
22158     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
22159
22160 for ac_func in _frexpl
22161 do
22162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22163 echo "$as_me:$LINENO: checking for $ac_func" >&5
22164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22165 if eval "test \"\${$as_ac_var+set}\" = set"; then
22166   echo $ECHO_N "(cached) $ECHO_C" >&6
22167 else
22168   if test x$gcc_no_link = xyes; then
22169   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22171    { (exit 1); exit 1; }; }
22172 fi
22173 cat >conftest.$ac_ext <<_ACEOF
22174 /* confdefs.h.  */
22175 _ACEOF
22176 cat confdefs.h >>conftest.$ac_ext
22177 cat >>conftest.$ac_ext <<_ACEOF
22178 /* end confdefs.h.  */
22179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22180    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22181 #define $ac_func innocuous_$ac_func
22182
22183 /* System header to define __stub macros and hopefully few prototypes,
22184     which can conflict with char $ac_func (); below.
22185     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22186     <limits.h> exists even on freestanding compilers.  */
22187
22188 #ifdef __STDC__
22189 # include <limits.h>
22190 #else
22191 # include <assert.h>
22192 #endif
22193
22194 #undef $ac_func
22195
22196 /* Override any gcc2 internal prototype to avoid an error.  */
22197 #ifdef __cplusplus
22198 extern "C"
22199 {
22200 #endif
22201 /* We use char because int might match the return type of a gcc2
22202    builtin and then its argument prototype would still apply.  */
22203 char $ac_func ();
22204 /* The GNU C library defines this for functions which it implements
22205     to always fail with ENOSYS.  Some functions are actually named
22206     something starting with __ and the normal name is an alias.  */
22207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22208 choke me
22209 #else
22210 char (*f) () = $ac_func;
22211 #endif
22212 #ifdef __cplusplus
22213 }
22214 #endif
22215
22216 int
22217 main ()
22218 {
22219 return f != $ac_func;
22220   ;
22221   return 0;
22222 }
22223 _ACEOF
22224 rm -f conftest.$ac_objext conftest$ac_exeext
22225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22226   (eval $ac_link) 2>conftest.er1
22227   ac_status=$?
22228   grep -v '^ *+' conftest.er1 >conftest.err
22229   rm -f conftest.er1
22230   cat conftest.err >&5
22231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22232   (exit $ac_status); } &&
22233          { ac_try='test -z "$ac_c_werror_flag"
22234                          || test ! -s conftest.err'
22235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22236   (eval $ac_try) 2>&5
22237   ac_status=$?
22238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239   (exit $ac_status); }; } &&
22240          { ac_try='test -s conftest$ac_exeext'
22241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22242   (eval $ac_try) 2>&5
22243   ac_status=$?
22244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22245   (exit $ac_status); }; }; then
22246   eval "$as_ac_var=yes"
22247 else
22248   echo "$as_me: failed program was:" >&5
22249 sed 's/^/| /' conftest.$ac_ext >&5
22250
22251 eval "$as_ac_var=no"
22252 fi
22253 rm -f conftest.err conftest.$ac_objext \
22254       conftest$ac_exeext conftest.$ac_ext
22255 fi
22256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22258 if test `eval echo '${'$as_ac_var'}'` = yes; then
22259   cat >>confdefs.h <<_ACEOF
22260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22261 _ACEOF
22262
22263 fi
22264 done
22265
22266     fi
22267   fi
22268
22269
22270
22271
22272
22273
22274   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
22275 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
22276   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
22277     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
22278   echo $ECHO_N "(cached) $ECHO_C" >&6
22279 else
22280
22281
22282
22283       ac_ext=cc
22284 ac_cpp='$CXXCPP $CPPFLAGS'
22285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22288
22289       cat >conftest.$ac_ext <<_ACEOF
22290 /* confdefs.h.  */
22291 _ACEOF
22292 cat confdefs.h >>conftest.$ac_ext
22293 cat >>conftest.$ac_ext <<_ACEOF
22294 /* end confdefs.h.  */
22295 #include <math.h>
22296 int
22297 main ()
22298 {
22299  hypotl(0, 0);
22300   ;
22301   return 0;
22302 }
22303 _ACEOF
22304 rm -f conftest.$ac_objext
22305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22306   (eval $ac_compile) 2>conftest.er1
22307   ac_status=$?
22308   grep -v '^ *+' conftest.er1 >conftest.err
22309   rm -f conftest.er1
22310   cat conftest.err >&5
22311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22312   (exit $ac_status); } &&
22313          { ac_try='test -z "$ac_cxx_werror_flag"
22314                          || test ! -s conftest.err'
22315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22316   (eval $ac_try) 2>&5
22317   ac_status=$?
22318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22319   (exit $ac_status); }; } &&
22320          { ac_try='test -s conftest.$ac_objext'
22321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22322   (eval $ac_try) 2>&5
22323   ac_status=$?
22324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22325   (exit $ac_status); }; }; then
22326   glibcxx_cv_func_hypotl_use=yes
22327 else
22328   echo "$as_me: failed program was:" >&5
22329 sed 's/^/| /' conftest.$ac_ext >&5
22330
22331 glibcxx_cv_func_hypotl_use=no
22332 fi
22333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22334       ac_ext=c
22335 ac_cpp='$CPP $CPPFLAGS'
22336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22339
22340
22341 fi
22342
22343   fi
22344   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
22345 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
22346
22347   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
22348
22349 for ac_func in hypotl
22350 do
22351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22352 echo "$as_me:$LINENO: checking for $ac_func" >&5
22353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22354 if eval "test \"\${$as_ac_var+set}\" = set"; then
22355   echo $ECHO_N "(cached) $ECHO_C" >&6
22356 else
22357   if test x$gcc_no_link = xyes; then
22358   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22360    { (exit 1); exit 1; }; }
22361 fi
22362 cat >conftest.$ac_ext <<_ACEOF
22363 /* confdefs.h.  */
22364 _ACEOF
22365 cat confdefs.h >>conftest.$ac_ext
22366 cat >>conftest.$ac_ext <<_ACEOF
22367 /* end confdefs.h.  */
22368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22369    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22370 #define $ac_func innocuous_$ac_func
22371
22372 /* System header to define __stub macros and hopefully few prototypes,
22373     which can conflict with char $ac_func (); below.
22374     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22375     <limits.h> exists even on freestanding compilers.  */
22376
22377 #ifdef __STDC__
22378 # include <limits.h>
22379 #else
22380 # include <assert.h>
22381 #endif
22382
22383 #undef $ac_func
22384
22385 /* Override any gcc2 internal prototype to avoid an error.  */
22386 #ifdef __cplusplus
22387 extern "C"
22388 {
22389 #endif
22390 /* We use char because int might match the return type of a gcc2
22391    builtin and then its argument prototype would still apply.  */
22392 char $ac_func ();
22393 /* The GNU C library defines this for functions which it implements
22394     to always fail with ENOSYS.  Some functions are actually named
22395     something starting with __ and the normal name is an alias.  */
22396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22397 choke me
22398 #else
22399 char (*f) () = $ac_func;
22400 #endif
22401 #ifdef __cplusplus
22402 }
22403 #endif
22404
22405 int
22406 main ()
22407 {
22408 return f != $ac_func;
22409   ;
22410   return 0;
22411 }
22412 _ACEOF
22413 rm -f conftest.$ac_objext conftest$ac_exeext
22414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22415   (eval $ac_link) 2>conftest.er1
22416   ac_status=$?
22417   grep -v '^ *+' conftest.er1 >conftest.err
22418   rm -f conftest.er1
22419   cat conftest.err >&5
22420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421   (exit $ac_status); } &&
22422          { ac_try='test -z "$ac_c_werror_flag"
22423                          || test ! -s conftest.err'
22424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22425   (eval $ac_try) 2>&5
22426   ac_status=$?
22427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428   (exit $ac_status); }; } &&
22429          { ac_try='test -s conftest$ac_exeext'
22430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22431   (eval $ac_try) 2>&5
22432   ac_status=$?
22433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22434   (exit $ac_status); }; }; then
22435   eval "$as_ac_var=yes"
22436 else
22437   echo "$as_me: failed program was:" >&5
22438 sed 's/^/| /' conftest.$ac_ext >&5
22439
22440 eval "$as_ac_var=no"
22441 fi
22442 rm -f conftest.err conftest.$ac_objext \
22443       conftest$ac_exeext conftest.$ac_ext
22444 fi
22445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22447 if test `eval echo '${'$as_ac_var'}'` = yes; then
22448   cat >>confdefs.h <<_ACEOF
22449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22450 _ACEOF
22451
22452 fi
22453 done
22454
22455   else
22456
22457   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
22458 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
22459   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
22460     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
22461   echo $ECHO_N "(cached) $ECHO_C" >&6
22462 else
22463
22464
22465
22466       ac_ext=cc
22467 ac_cpp='$CXXCPP $CPPFLAGS'
22468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22471
22472       cat >conftest.$ac_ext <<_ACEOF
22473 /* confdefs.h.  */
22474 _ACEOF
22475 cat confdefs.h >>conftest.$ac_ext
22476 cat >>conftest.$ac_ext <<_ACEOF
22477 /* end confdefs.h.  */
22478 #include <math.h>
22479 int
22480 main ()
22481 {
22482  _hypotl(0, 0);
22483   ;
22484   return 0;
22485 }
22486 _ACEOF
22487 rm -f conftest.$ac_objext
22488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22489   (eval $ac_compile) 2>conftest.er1
22490   ac_status=$?
22491   grep -v '^ *+' conftest.er1 >conftest.err
22492   rm -f conftest.er1
22493   cat conftest.err >&5
22494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22495   (exit $ac_status); } &&
22496          { ac_try='test -z "$ac_cxx_werror_flag"
22497                          || test ! -s conftest.err'
22498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22499   (eval $ac_try) 2>&5
22500   ac_status=$?
22501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22502   (exit $ac_status); }; } &&
22503          { ac_try='test -s conftest.$ac_objext'
22504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22505   (eval $ac_try) 2>&5
22506   ac_status=$?
22507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22508   (exit $ac_status); }; }; then
22509   glibcxx_cv_func__hypotl_use=yes
22510 else
22511   echo "$as_me: failed program was:" >&5
22512 sed 's/^/| /' conftest.$ac_ext >&5
22513
22514 glibcxx_cv_func__hypotl_use=no
22515 fi
22516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22517       ac_ext=c
22518 ac_cpp='$CPP $CPPFLAGS'
22519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22522
22523
22524 fi
22525
22526   fi
22527   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
22528 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
22529
22530     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
22531
22532 for ac_func in _hypotl
22533 do
22534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22535 echo "$as_me:$LINENO: checking for $ac_func" >&5
22536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22537 if eval "test \"\${$as_ac_var+set}\" = set"; then
22538   echo $ECHO_N "(cached) $ECHO_C" >&6
22539 else
22540   if test x$gcc_no_link = xyes; then
22541   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22543    { (exit 1); exit 1; }; }
22544 fi
22545 cat >conftest.$ac_ext <<_ACEOF
22546 /* confdefs.h.  */
22547 _ACEOF
22548 cat confdefs.h >>conftest.$ac_ext
22549 cat >>conftest.$ac_ext <<_ACEOF
22550 /* end confdefs.h.  */
22551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22552    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22553 #define $ac_func innocuous_$ac_func
22554
22555 /* System header to define __stub macros and hopefully few prototypes,
22556     which can conflict with char $ac_func (); below.
22557     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22558     <limits.h> exists even on freestanding compilers.  */
22559
22560 #ifdef __STDC__
22561 # include <limits.h>
22562 #else
22563 # include <assert.h>
22564 #endif
22565
22566 #undef $ac_func
22567
22568 /* Override any gcc2 internal prototype to avoid an error.  */
22569 #ifdef __cplusplus
22570 extern "C"
22571 {
22572 #endif
22573 /* We use char because int might match the return type of a gcc2
22574    builtin and then its argument prototype would still apply.  */
22575 char $ac_func ();
22576 /* The GNU C library defines this for functions which it implements
22577     to always fail with ENOSYS.  Some functions are actually named
22578     something starting with __ and the normal name is an alias.  */
22579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22580 choke me
22581 #else
22582 char (*f) () = $ac_func;
22583 #endif
22584 #ifdef __cplusplus
22585 }
22586 #endif
22587
22588 int
22589 main ()
22590 {
22591 return f != $ac_func;
22592   ;
22593   return 0;
22594 }
22595 _ACEOF
22596 rm -f conftest.$ac_objext conftest$ac_exeext
22597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22598   (eval $ac_link) 2>conftest.er1
22599   ac_status=$?
22600   grep -v '^ *+' conftest.er1 >conftest.err
22601   rm -f conftest.er1
22602   cat conftest.err >&5
22603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22604   (exit $ac_status); } &&
22605          { ac_try='test -z "$ac_c_werror_flag"
22606                          || test ! -s conftest.err'
22607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22608   (eval $ac_try) 2>&5
22609   ac_status=$?
22610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22611   (exit $ac_status); }; } &&
22612          { ac_try='test -s conftest$ac_exeext'
22613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22614   (eval $ac_try) 2>&5
22615   ac_status=$?
22616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617   (exit $ac_status); }; }; then
22618   eval "$as_ac_var=yes"
22619 else
22620   echo "$as_me: failed program was:" >&5
22621 sed 's/^/| /' conftest.$ac_ext >&5
22622
22623 eval "$as_ac_var=no"
22624 fi
22625 rm -f conftest.err conftest.$ac_objext \
22626       conftest$ac_exeext conftest.$ac_ext
22627 fi
22628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22630 if test `eval echo '${'$as_ac_var'}'` = yes; then
22631   cat >>confdefs.h <<_ACEOF
22632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22633 _ACEOF
22634
22635 fi
22636 done
22637
22638     fi
22639   fi
22640
22641
22642
22643
22644
22645
22646   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
22647 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
22648   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
22649     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
22650   echo $ECHO_N "(cached) $ECHO_C" >&6
22651 else
22652
22653
22654
22655       ac_ext=cc
22656 ac_cpp='$CXXCPP $CPPFLAGS'
22657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22660
22661       cat >conftest.$ac_ext <<_ACEOF
22662 /* confdefs.h.  */
22663 _ACEOF
22664 cat confdefs.h >>conftest.$ac_ext
22665 cat >>conftest.$ac_ext <<_ACEOF
22666 /* end confdefs.h.  */
22667 #include <math.h>
22668 int
22669 main ()
22670 {
22671  ldexpl(0, 0);
22672   ;
22673   return 0;
22674 }
22675 _ACEOF
22676 rm -f conftest.$ac_objext
22677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22678   (eval $ac_compile) 2>conftest.er1
22679   ac_status=$?
22680   grep -v '^ *+' conftest.er1 >conftest.err
22681   rm -f conftest.er1
22682   cat conftest.err >&5
22683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22684   (exit $ac_status); } &&
22685          { ac_try='test -z "$ac_cxx_werror_flag"
22686                          || test ! -s conftest.err'
22687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22688   (eval $ac_try) 2>&5
22689   ac_status=$?
22690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22691   (exit $ac_status); }; } &&
22692          { ac_try='test -s conftest.$ac_objext'
22693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22694   (eval $ac_try) 2>&5
22695   ac_status=$?
22696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22697   (exit $ac_status); }; }; then
22698   glibcxx_cv_func_ldexpl_use=yes
22699 else
22700   echo "$as_me: failed program was:" >&5
22701 sed 's/^/| /' conftest.$ac_ext >&5
22702
22703 glibcxx_cv_func_ldexpl_use=no
22704 fi
22705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22706       ac_ext=c
22707 ac_cpp='$CPP $CPPFLAGS'
22708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22711
22712
22713 fi
22714
22715   fi
22716   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
22717 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
22718
22719   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
22720
22721 for ac_func in ldexpl
22722 do
22723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22724 echo "$as_me:$LINENO: checking for $ac_func" >&5
22725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22726 if eval "test \"\${$as_ac_var+set}\" = set"; then
22727   echo $ECHO_N "(cached) $ECHO_C" >&6
22728 else
22729   if test x$gcc_no_link = xyes; then
22730   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22732    { (exit 1); exit 1; }; }
22733 fi
22734 cat >conftest.$ac_ext <<_ACEOF
22735 /* confdefs.h.  */
22736 _ACEOF
22737 cat confdefs.h >>conftest.$ac_ext
22738 cat >>conftest.$ac_ext <<_ACEOF
22739 /* end confdefs.h.  */
22740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22741    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22742 #define $ac_func innocuous_$ac_func
22743
22744 /* System header to define __stub macros and hopefully few prototypes,
22745     which can conflict with char $ac_func (); below.
22746     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22747     <limits.h> exists even on freestanding compilers.  */
22748
22749 #ifdef __STDC__
22750 # include <limits.h>
22751 #else
22752 # include <assert.h>
22753 #endif
22754
22755 #undef $ac_func
22756
22757 /* Override any gcc2 internal prototype to avoid an error.  */
22758 #ifdef __cplusplus
22759 extern "C"
22760 {
22761 #endif
22762 /* We use char because int might match the return type of a gcc2
22763    builtin and then its argument prototype would still apply.  */
22764 char $ac_func ();
22765 /* The GNU C library defines this for functions which it implements
22766     to always fail with ENOSYS.  Some functions are actually named
22767     something starting with __ and the normal name is an alias.  */
22768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22769 choke me
22770 #else
22771 char (*f) () = $ac_func;
22772 #endif
22773 #ifdef __cplusplus
22774 }
22775 #endif
22776
22777 int
22778 main ()
22779 {
22780 return f != $ac_func;
22781   ;
22782   return 0;
22783 }
22784 _ACEOF
22785 rm -f conftest.$ac_objext conftest$ac_exeext
22786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22787   (eval $ac_link) 2>conftest.er1
22788   ac_status=$?
22789   grep -v '^ *+' conftest.er1 >conftest.err
22790   rm -f conftest.er1
22791   cat conftest.err >&5
22792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22793   (exit $ac_status); } &&
22794          { ac_try='test -z "$ac_c_werror_flag"
22795                          || test ! -s conftest.err'
22796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22797   (eval $ac_try) 2>&5
22798   ac_status=$?
22799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22800   (exit $ac_status); }; } &&
22801          { ac_try='test -s conftest$ac_exeext'
22802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22803   (eval $ac_try) 2>&5
22804   ac_status=$?
22805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22806   (exit $ac_status); }; }; then
22807   eval "$as_ac_var=yes"
22808 else
22809   echo "$as_me: failed program was:" >&5
22810 sed 's/^/| /' conftest.$ac_ext >&5
22811
22812 eval "$as_ac_var=no"
22813 fi
22814 rm -f conftest.err conftest.$ac_objext \
22815       conftest$ac_exeext conftest.$ac_ext
22816 fi
22817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22819 if test `eval echo '${'$as_ac_var'}'` = yes; then
22820   cat >>confdefs.h <<_ACEOF
22821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22822 _ACEOF
22823
22824 fi
22825 done
22826
22827   else
22828
22829   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
22830 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
22831   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
22832     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
22833   echo $ECHO_N "(cached) $ECHO_C" >&6
22834 else
22835
22836
22837
22838       ac_ext=cc
22839 ac_cpp='$CXXCPP $CPPFLAGS'
22840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22843
22844       cat >conftest.$ac_ext <<_ACEOF
22845 /* confdefs.h.  */
22846 _ACEOF
22847 cat confdefs.h >>conftest.$ac_ext
22848 cat >>conftest.$ac_ext <<_ACEOF
22849 /* end confdefs.h.  */
22850 #include <math.h>
22851 int
22852 main ()
22853 {
22854  _ldexpl(0, 0);
22855   ;
22856   return 0;
22857 }
22858 _ACEOF
22859 rm -f conftest.$ac_objext
22860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22861   (eval $ac_compile) 2>conftest.er1
22862   ac_status=$?
22863   grep -v '^ *+' conftest.er1 >conftest.err
22864   rm -f conftest.er1
22865   cat conftest.err >&5
22866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22867   (exit $ac_status); } &&
22868          { ac_try='test -z "$ac_cxx_werror_flag"
22869                          || test ! -s conftest.err'
22870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22871   (eval $ac_try) 2>&5
22872   ac_status=$?
22873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22874   (exit $ac_status); }; } &&
22875          { ac_try='test -s conftest.$ac_objext'
22876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22877   (eval $ac_try) 2>&5
22878   ac_status=$?
22879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22880   (exit $ac_status); }; }; then
22881   glibcxx_cv_func__ldexpl_use=yes
22882 else
22883   echo "$as_me: failed program was:" >&5
22884 sed 's/^/| /' conftest.$ac_ext >&5
22885
22886 glibcxx_cv_func__ldexpl_use=no
22887 fi
22888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22889       ac_ext=c
22890 ac_cpp='$CPP $CPPFLAGS'
22891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22894
22895
22896 fi
22897
22898   fi
22899   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
22900 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
22901
22902     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
22903
22904 for ac_func in _ldexpl
22905 do
22906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22907 echo "$as_me:$LINENO: checking for $ac_func" >&5
22908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22909 if eval "test \"\${$as_ac_var+set}\" = set"; then
22910   echo $ECHO_N "(cached) $ECHO_C" >&6
22911 else
22912   if test x$gcc_no_link = xyes; then
22913   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22915    { (exit 1); exit 1; }; }
22916 fi
22917 cat >conftest.$ac_ext <<_ACEOF
22918 /* confdefs.h.  */
22919 _ACEOF
22920 cat confdefs.h >>conftest.$ac_ext
22921 cat >>conftest.$ac_ext <<_ACEOF
22922 /* end confdefs.h.  */
22923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22924    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22925 #define $ac_func innocuous_$ac_func
22926
22927 /* System header to define __stub macros and hopefully few prototypes,
22928     which can conflict with char $ac_func (); below.
22929     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22930     <limits.h> exists even on freestanding compilers.  */
22931
22932 #ifdef __STDC__
22933 # include <limits.h>
22934 #else
22935 # include <assert.h>
22936 #endif
22937
22938 #undef $ac_func
22939
22940 /* Override any gcc2 internal prototype to avoid an error.  */
22941 #ifdef __cplusplus
22942 extern "C"
22943 {
22944 #endif
22945 /* We use char because int might match the return type of a gcc2
22946    builtin and then its argument prototype would still apply.  */
22947 char $ac_func ();
22948 /* The GNU C library defines this for functions which it implements
22949     to always fail with ENOSYS.  Some functions are actually named
22950     something starting with __ and the normal name is an alias.  */
22951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22952 choke me
22953 #else
22954 char (*f) () = $ac_func;
22955 #endif
22956 #ifdef __cplusplus
22957 }
22958 #endif
22959
22960 int
22961 main ()
22962 {
22963 return f != $ac_func;
22964   ;
22965   return 0;
22966 }
22967 _ACEOF
22968 rm -f conftest.$ac_objext conftest$ac_exeext
22969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22970   (eval $ac_link) 2>conftest.er1
22971   ac_status=$?
22972   grep -v '^ *+' conftest.er1 >conftest.err
22973   rm -f conftest.er1
22974   cat conftest.err >&5
22975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22976   (exit $ac_status); } &&
22977          { ac_try='test -z "$ac_c_werror_flag"
22978                          || test ! -s conftest.err'
22979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22980   (eval $ac_try) 2>&5
22981   ac_status=$?
22982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22983   (exit $ac_status); }; } &&
22984          { ac_try='test -s conftest$ac_exeext'
22985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22986   (eval $ac_try) 2>&5
22987   ac_status=$?
22988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989   (exit $ac_status); }; }; then
22990   eval "$as_ac_var=yes"
22991 else
22992   echo "$as_me: failed program was:" >&5
22993 sed 's/^/| /' conftest.$ac_ext >&5
22994
22995 eval "$as_ac_var=no"
22996 fi
22997 rm -f conftest.err conftest.$ac_objext \
22998       conftest$ac_exeext conftest.$ac_ext
22999 fi
23000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23002 if test `eval echo '${'$as_ac_var'}'` = yes; then
23003   cat >>confdefs.h <<_ACEOF
23004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23005 _ACEOF
23006
23007 fi
23008 done
23009
23010     fi
23011   fi
23012
23013
23014
23015
23016
23017
23018   echo "$as_me:$LINENO: checking for logl declaration" >&5
23019 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
23020   if test x${glibcxx_cv_func_logl_use+set} != xset; then
23021     if test "${glibcxx_cv_func_logl_use+set}" = set; then
23022   echo $ECHO_N "(cached) $ECHO_C" >&6
23023 else
23024
23025
23026
23027       ac_ext=cc
23028 ac_cpp='$CXXCPP $CPPFLAGS'
23029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23032
23033       cat >conftest.$ac_ext <<_ACEOF
23034 /* confdefs.h.  */
23035 _ACEOF
23036 cat confdefs.h >>conftest.$ac_ext
23037 cat >>conftest.$ac_ext <<_ACEOF
23038 /* end confdefs.h.  */
23039 #include <math.h>
23040                       #ifdef HAVE_IEEEFP_H
23041                       #include <ieeefp.h>
23042                       #endif
23043
23044 int
23045 main ()
23046 {
23047  logl(0);
23048   ;
23049   return 0;
23050 }
23051 _ACEOF
23052 rm -f conftest.$ac_objext
23053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23054   (eval $ac_compile) 2>conftest.er1
23055   ac_status=$?
23056   grep -v '^ *+' conftest.er1 >conftest.err
23057   rm -f conftest.er1
23058   cat conftest.err >&5
23059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23060   (exit $ac_status); } &&
23061          { ac_try='test -z "$ac_cxx_werror_flag"
23062                          || test ! -s conftest.err'
23063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23064   (eval $ac_try) 2>&5
23065   ac_status=$?
23066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067   (exit $ac_status); }; } &&
23068          { ac_try='test -s conftest.$ac_objext'
23069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23070   (eval $ac_try) 2>&5
23071   ac_status=$?
23072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23073   (exit $ac_status); }; }; then
23074   glibcxx_cv_func_logl_use=yes
23075 else
23076   echo "$as_me: failed program was:" >&5
23077 sed 's/^/| /' conftest.$ac_ext >&5
23078
23079 glibcxx_cv_func_logl_use=no
23080 fi
23081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23082       ac_ext=c
23083 ac_cpp='$CPP $CPPFLAGS'
23084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23087
23088
23089 fi
23090
23091   fi
23092   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
23093 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
23094
23095   if test x$glibcxx_cv_func_logl_use = x"yes"; then
23096
23097 for ac_func in logl
23098 do
23099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23100 echo "$as_me:$LINENO: checking for $ac_func" >&5
23101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23102 if eval "test \"\${$as_ac_var+set}\" = set"; then
23103   echo $ECHO_N "(cached) $ECHO_C" >&6
23104 else
23105   if test x$gcc_no_link = xyes; then
23106   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23108    { (exit 1); exit 1; }; }
23109 fi
23110 cat >conftest.$ac_ext <<_ACEOF
23111 /* confdefs.h.  */
23112 _ACEOF
23113 cat confdefs.h >>conftest.$ac_ext
23114 cat >>conftest.$ac_ext <<_ACEOF
23115 /* end confdefs.h.  */
23116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23117    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23118 #define $ac_func innocuous_$ac_func
23119
23120 /* System header to define __stub macros and hopefully few prototypes,
23121     which can conflict with char $ac_func (); below.
23122     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23123     <limits.h> exists even on freestanding compilers.  */
23124
23125 #ifdef __STDC__
23126 # include <limits.h>
23127 #else
23128 # include <assert.h>
23129 #endif
23130
23131 #undef $ac_func
23132
23133 /* Override any gcc2 internal prototype to avoid an error.  */
23134 #ifdef __cplusplus
23135 extern "C"
23136 {
23137 #endif
23138 /* We use char because int might match the return type of a gcc2
23139    builtin and then its argument prototype would still apply.  */
23140 char $ac_func ();
23141 /* The GNU C library defines this for functions which it implements
23142     to always fail with ENOSYS.  Some functions are actually named
23143     something starting with __ and the normal name is an alias.  */
23144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23145 choke me
23146 #else
23147 char (*f) () = $ac_func;
23148 #endif
23149 #ifdef __cplusplus
23150 }
23151 #endif
23152
23153 int
23154 main ()
23155 {
23156 return f != $ac_func;
23157   ;
23158   return 0;
23159 }
23160 _ACEOF
23161 rm -f conftest.$ac_objext conftest$ac_exeext
23162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23163   (eval $ac_link) 2>conftest.er1
23164   ac_status=$?
23165   grep -v '^ *+' conftest.er1 >conftest.err
23166   rm -f conftest.er1
23167   cat conftest.err >&5
23168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23169   (exit $ac_status); } &&
23170          { ac_try='test -z "$ac_c_werror_flag"
23171                          || test ! -s conftest.err'
23172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23173   (eval $ac_try) 2>&5
23174   ac_status=$?
23175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23176   (exit $ac_status); }; } &&
23177          { ac_try='test -s conftest$ac_exeext'
23178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23179   (eval $ac_try) 2>&5
23180   ac_status=$?
23181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23182   (exit $ac_status); }; }; then
23183   eval "$as_ac_var=yes"
23184 else
23185   echo "$as_me: failed program was:" >&5
23186 sed 's/^/| /' conftest.$ac_ext >&5
23187
23188 eval "$as_ac_var=no"
23189 fi
23190 rm -f conftest.err conftest.$ac_objext \
23191       conftest$ac_exeext conftest.$ac_ext
23192 fi
23193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23195 if test `eval echo '${'$as_ac_var'}'` = yes; then
23196   cat >>confdefs.h <<_ACEOF
23197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23198 _ACEOF
23199
23200 fi
23201 done
23202
23203   else
23204
23205   echo "$as_me:$LINENO: checking for _logl declaration" >&5
23206 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
23207   if test x${glibcxx_cv_func__logl_use+set} != xset; then
23208     if test "${glibcxx_cv_func__logl_use+set}" = set; then
23209   echo $ECHO_N "(cached) $ECHO_C" >&6
23210 else
23211
23212
23213
23214       ac_ext=cc
23215 ac_cpp='$CXXCPP $CPPFLAGS'
23216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23219
23220       cat >conftest.$ac_ext <<_ACEOF
23221 /* confdefs.h.  */
23222 _ACEOF
23223 cat confdefs.h >>conftest.$ac_ext
23224 cat >>conftest.$ac_ext <<_ACEOF
23225 /* end confdefs.h.  */
23226 #include <math.h>
23227                       #ifdef HAVE_IEEEFP_H
23228                       #include <ieeefp.h>
23229                       #endif
23230
23231 int
23232 main ()
23233 {
23234  _logl(0);
23235   ;
23236   return 0;
23237 }
23238 _ACEOF
23239 rm -f conftest.$ac_objext
23240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23241   (eval $ac_compile) 2>conftest.er1
23242   ac_status=$?
23243   grep -v '^ *+' conftest.er1 >conftest.err
23244   rm -f conftest.er1
23245   cat conftest.err >&5
23246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23247   (exit $ac_status); } &&
23248          { ac_try='test -z "$ac_cxx_werror_flag"
23249                          || test ! -s conftest.err'
23250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23251   (eval $ac_try) 2>&5
23252   ac_status=$?
23253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23254   (exit $ac_status); }; } &&
23255          { ac_try='test -s conftest.$ac_objext'
23256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23257   (eval $ac_try) 2>&5
23258   ac_status=$?
23259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23260   (exit $ac_status); }; }; then
23261   glibcxx_cv_func__logl_use=yes
23262 else
23263   echo "$as_me: failed program was:" >&5
23264 sed 's/^/| /' conftest.$ac_ext >&5
23265
23266 glibcxx_cv_func__logl_use=no
23267 fi
23268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23269       ac_ext=c
23270 ac_cpp='$CPP $CPPFLAGS'
23271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23274
23275
23276 fi
23277
23278   fi
23279   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
23280 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
23281
23282     if test x$glibcxx_cv_func__logl_use = x"yes"; then
23283
23284 for ac_func in _logl
23285 do
23286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23287 echo "$as_me:$LINENO: checking for $ac_func" >&5
23288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23289 if eval "test \"\${$as_ac_var+set}\" = set"; then
23290   echo $ECHO_N "(cached) $ECHO_C" >&6
23291 else
23292   if test x$gcc_no_link = xyes; then
23293   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23295    { (exit 1); exit 1; }; }
23296 fi
23297 cat >conftest.$ac_ext <<_ACEOF
23298 /* confdefs.h.  */
23299 _ACEOF
23300 cat confdefs.h >>conftest.$ac_ext
23301 cat >>conftest.$ac_ext <<_ACEOF
23302 /* end confdefs.h.  */
23303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23304    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23305 #define $ac_func innocuous_$ac_func
23306
23307 /* System header to define __stub macros and hopefully few prototypes,
23308     which can conflict with char $ac_func (); below.
23309     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23310     <limits.h> exists even on freestanding compilers.  */
23311
23312 #ifdef __STDC__
23313 # include <limits.h>
23314 #else
23315 # include <assert.h>
23316 #endif
23317
23318 #undef $ac_func
23319
23320 /* Override any gcc2 internal prototype to avoid an error.  */
23321 #ifdef __cplusplus
23322 extern "C"
23323 {
23324 #endif
23325 /* We use char because int might match the return type of a gcc2
23326    builtin and then its argument prototype would still apply.  */
23327 char $ac_func ();
23328 /* The GNU C library defines this for functions which it implements
23329     to always fail with ENOSYS.  Some functions are actually named
23330     something starting with __ and the normal name is an alias.  */
23331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23332 choke me
23333 #else
23334 char (*f) () = $ac_func;
23335 #endif
23336 #ifdef __cplusplus
23337 }
23338 #endif
23339
23340 int
23341 main ()
23342 {
23343 return f != $ac_func;
23344   ;
23345   return 0;
23346 }
23347 _ACEOF
23348 rm -f conftest.$ac_objext conftest$ac_exeext
23349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23350   (eval $ac_link) 2>conftest.er1
23351   ac_status=$?
23352   grep -v '^ *+' conftest.er1 >conftest.err
23353   rm -f conftest.er1
23354   cat conftest.err >&5
23355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23356   (exit $ac_status); } &&
23357          { ac_try='test -z "$ac_c_werror_flag"
23358                          || test ! -s conftest.err'
23359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23360   (eval $ac_try) 2>&5
23361   ac_status=$?
23362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23363   (exit $ac_status); }; } &&
23364          { ac_try='test -s conftest$ac_exeext'
23365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23366   (eval $ac_try) 2>&5
23367   ac_status=$?
23368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23369   (exit $ac_status); }; }; then
23370   eval "$as_ac_var=yes"
23371 else
23372   echo "$as_me: failed program was:" >&5
23373 sed 's/^/| /' conftest.$ac_ext >&5
23374
23375 eval "$as_ac_var=no"
23376 fi
23377 rm -f conftest.err conftest.$ac_objext \
23378       conftest$ac_exeext conftest.$ac_ext
23379 fi
23380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23382 if test `eval echo '${'$as_ac_var'}'` = yes; then
23383   cat >>confdefs.h <<_ACEOF
23384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23385 _ACEOF
23386
23387 fi
23388 done
23389
23390     fi
23391   fi
23392
23393
23394
23395
23396
23397
23398   echo "$as_me:$LINENO: checking for log10l declaration" >&5
23399 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
23400   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
23401     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
23402   echo $ECHO_N "(cached) $ECHO_C" >&6
23403 else
23404
23405
23406
23407       ac_ext=cc
23408 ac_cpp='$CXXCPP $CPPFLAGS'
23409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23412
23413       cat >conftest.$ac_ext <<_ACEOF
23414 /* confdefs.h.  */
23415 _ACEOF
23416 cat confdefs.h >>conftest.$ac_ext
23417 cat >>conftest.$ac_ext <<_ACEOF
23418 /* end confdefs.h.  */
23419 #include <math.h>
23420                       #ifdef HAVE_IEEEFP_H
23421                       #include <ieeefp.h>
23422                       #endif
23423
23424 int
23425 main ()
23426 {
23427  log10l(0);
23428   ;
23429   return 0;
23430 }
23431 _ACEOF
23432 rm -f conftest.$ac_objext
23433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23434   (eval $ac_compile) 2>conftest.er1
23435   ac_status=$?
23436   grep -v '^ *+' conftest.er1 >conftest.err
23437   rm -f conftest.er1
23438   cat conftest.err >&5
23439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23440   (exit $ac_status); } &&
23441          { ac_try='test -z "$ac_cxx_werror_flag"
23442                          || test ! -s conftest.err'
23443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23444   (eval $ac_try) 2>&5
23445   ac_status=$?
23446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23447   (exit $ac_status); }; } &&
23448          { ac_try='test -s conftest.$ac_objext'
23449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23450   (eval $ac_try) 2>&5
23451   ac_status=$?
23452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23453   (exit $ac_status); }; }; then
23454   glibcxx_cv_func_log10l_use=yes
23455 else
23456   echo "$as_me: failed program was:" >&5
23457 sed 's/^/| /' conftest.$ac_ext >&5
23458
23459 glibcxx_cv_func_log10l_use=no
23460 fi
23461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23462       ac_ext=c
23463 ac_cpp='$CPP $CPPFLAGS'
23464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23467
23468
23469 fi
23470
23471   fi
23472   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
23473 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
23474
23475   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
23476
23477 for ac_func in log10l
23478 do
23479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23480 echo "$as_me:$LINENO: checking for $ac_func" >&5
23481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23482 if eval "test \"\${$as_ac_var+set}\" = set"; then
23483   echo $ECHO_N "(cached) $ECHO_C" >&6
23484 else
23485   if test x$gcc_no_link = xyes; then
23486   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23488    { (exit 1); exit 1; }; }
23489 fi
23490 cat >conftest.$ac_ext <<_ACEOF
23491 /* confdefs.h.  */
23492 _ACEOF
23493 cat confdefs.h >>conftest.$ac_ext
23494 cat >>conftest.$ac_ext <<_ACEOF
23495 /* end confdefs.h.  */
23496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23497    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23498 #define $ac_func innocuous_$ac_func
23499
23500 /* System header to define __stub macros and hopefully few prototypes,
23501     which can conflict with char $ac_func (); below.
23502     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23503     <limits.h> exists even on freestanding compilers.  */
23504
23505 #ifdef __STDC__
23506 # include <limits.h>
23507 #else
23508 # include <assert.h>
23509 #endif
23510
23511 #undef $ac_func
23512
23513 /* Override any gcc2 internal prototype to avoid an error.  */
23514 #ifdef __cplusplus
23515 extern "C"
23516 {
23517 #endif
23518 /* We use char because int might match the return type of a gcc2
23519    builtin and then its argument prototype would still apply.  */
23520 char $ac_func ();
23521 /* The GNU C library defines this for functions which it implements
23522     to always fail with ENOSYS.  Some functions are actually named
23523     something starting with __ and the normal name is an alias.  */
23524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23525 choke me
23526 #else
23527 char (*f) () = $ac_func;
23528 #endif
23529 #ifdef __cplusplus
23530 }
23531 #endif
23532
23533 int
23534 main ()
23535 {
23536 return f != $ac_func;
23537   ;
23538   return 0;
23539 }
23540 _ACEOF
23541 rm -f conftest.$ac_objext conftest$ac_exeext
23542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23543   (eval $ac_link) 2>conftest.er1
23544   ac_status=$?
23545   grep -v '^ *+' conftest.er1 >conftest.err
23546   rm -f conftest.er1
23547   cat conftest.err >&5
23548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23549   (exit $ac_status); } &&
23550          { ac_try='test -z "$ac_c_werror_flag"
23551                          || test ! -s conftest.err'
23552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23553   (eval $ac_try) 2>&5
23554   ac_status=$?
23555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23556   (exit $ac_status); }; } &&
23557          { ac_try='test -s conftest$ac_exeext'
23558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23559   (eval $ac_try) 2>&5
23560   ac_status=$?
23561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23562   (exit $ac_status); }; }; then
23563   eval "$as_ac_var=yes"
23564 else
23565   echo "$as_me: failed program was:" >&5
23566 sed 's/^/| /' conftest.$ac_ext >&5
23567
23568 eval "$as_ac_var=no"
23569 fi
23570 rm -f conftest.err conftest.$ac_objext \
23571       conftest$ac_exeext conftest.$ac_ext
23572 fi
23573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23575 if test `eval echo '${'$as_ac_var'}'` = yes; then
23576   cat >>confdefs.h <<_ACEOF
23577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23578 _ACEOF
23579
23580 fi
23581 done
23582
23583   else
23584
23585   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
23586 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
23587   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
23588     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
23589   echo $ECHO_N "(cached) $ECHO_C" >&6
23590 else
23591
23592
23593
23594       ac_ext=cc
23595 ac_cpp='$CXXCPP $CPPFLAGS'
23596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23599
23600       cat >conftest.$ac_ext <<_ACEOF
23601 /* confdefs.h.  */
23602 _ACEOF
23603 cat confdefs.h >>conftest.$ac_ext
23604 cat >>conftest.$ac_ext <<_ACEOF
23605 /* end confdefs.h.  */
23606 #include <math.h>
23607                       #ifdef HAVE_IEEEFP_H
23608                       #include <ieeefp.h>
23609                       #endif
23610
23611 int
23612 main ()
23613 {
23614  _log10l(0);
23615   ;
23616   return 0;
23617 }
23618 _ACEOF
23619 rm -f conftest.$ac_objext
23620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23621   (eval $ac_compile) 2>conftest.er1
23622   ac_status=$?
23623   grep -v '^ *+' conftest.er1 >conftest.err
23624   rm -f conftest.er1
23625   cat conftest.err >&5
23626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23627   (exit $ac_status); } &&
23628          { ac_try='test -z "$ac_cxx_werror_flag"
23629                          || test ! -s conftest.err'
23630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23631   (eval $ac_try) 2>&5
23632   ac_status=$?
23633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23634   (exit $ac_status); }; } &&
23635          { ac_try='test -s conftest.$ac_objext'
23636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23637   (eval $ac_try) 2>&5
23638   ac_status=$?
23639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23640   (exit $ac_status); }; }; then
23641   glibcxx_cv_func__log10l_use=yes
23642 else
23643   echo "$as_me: failed program was:" >&5
23644 sed 's/^/| /' conftest.$ac_ext >&5
23645
23646 glibcxx_cv_func__log10l_use=no
23647 fi
23648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23649       ac_ext=c
23650 ac_cpp='$CPP $CPPFLAGS'
23651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23654
23655
23656 fi
23657
23658   fi
23659   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
23660 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
23661
23662     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
23663
23664 for ac_func in _log10l
23665 do
23666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23667 echo "$as_me:$LINENO: checking for $ac_func" >&5
23668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23669 if eval "test \"\${$as_ac_var+set}\" = set"; then
23670   echo $ECHO_N "(cached) $ECHO_C" >&6
23671 else
23672   if test x$gcc_no_link = xyes; then
23673   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23675    { (exit 1); exit 1; }; }
23676 fi
23677 cat >conftest.$ac_ext <<_ACEOF
23678 /* confdefs.h.  */
23679 _ACEOF
23680 cat confdefs.h >>conftest.$ac_ext
23681 cat >>conftest.$ac_ext <<_ACEOF
23682 /* end confdefs.h.  */
23683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23684    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23685 #define $ac_func innocuous_$ac_func
23686
23687 /* System header to define __stub macros and hopefully few prototypes,
23688     which can conflict with char $ac_func (); below.
23689     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23690     <limits.h> exists even on freestanding compilers.  */
23691
23692 #ifdef __STDC__
23693 # include <limits.h>
23694 #else
23695 # include <assert.h>
23696 #endif
23697
23698 #undef $ac_func
23699
23700 /* Override any gcc2 internal prototype to avoid an error.  */
23701 #ifdef __cplusplus
23702 extern "C"
23703 {
23704 #endif
23705 /* We use char because int might match the return type of a gcc2
23706    builtin and then its argument prototype would still apply.  */
23707 char $ac_func ();
23708 /* The GNU C library defines this for functions which it implements
23709     to always fail with ENOSYS.  Some functions are actually named
23710     something starting with __ and the normal name is an alias.  */
23711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23712 choke me
23713 #else
23714 char (*f) () = $ac_func;
23715 #endif
23716 #ifdef __cplusplus
23717 }
23718 #endif
23719
23720 int
23721 main ()
23722 {
23723 return f != $ac_func;
23724   ;
23725   return 0;
23726 }
23727 _ACEOF
23728 rm -f conftest.$ac_objext conftest$ac_exeext
23729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23730   (eval $ac_link) 2>conftest.er1
23731   ac_status=$?
23732   grep -v '^ *+' conftest.er1 >conftest.err
23733   rm -f conftest.er1
23734   cat conftest.err >&5
23735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23736   (exit $ac_status); } &&
23737          { ac_try='test -z "$ac_c_werror_flag"
23738                          || test ! -s conftest.err'
23739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23740   (eval $ac_try) 2>&5
23741   ac_status=$?
23742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23743   (exit $ac_status); }; } &&
23744          { ac_try='test -s conftest$ac_exeext'
23745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23746   (eval $ac_try) 2>&5
23747   ac_status=$?
23748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23749   (exit $ac_status); }; }; then
23750   eval "$as_ac_var=yes"
23751 else
23752   echo "$as_me: failed program was:" >&5
23753 sed 's/^/| /' conftest.$ac_ext >&5
23754
23755 eval "$as_ac_var=no"
23756 fi
23757 rm -f conftest.err conftest.$ac_objext \
23758       conftest$ac_exeext conftest.$ac_ext
23759 fi
23760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23762 if test `eval echo '${'$as_ac_var'}'` = yes; then
23763   cat >>confdefs.h <<_ACEOF
23764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23765 _ACEOF
23766
23767 fi
23768 done
23769
23770     fi
23771   fi
23772
23773
23774
23775
23776
23777
23778   echo "$as_me:$LINENO: checking for modfl declaration" >&5
23779 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
23780   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
23781     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
23782   echo $ECHO_N "(cached) $ECHO_C" >&6
23783 else
23784
23785
23786
23787       ac_ext=cc
23788 ac_cpp='$CXXCPP $CPPFLAGS'
23789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23792
23793       cat >conftest.$ac_ext <<_ACEOF
23794 /* confdefs.h.  */
23795 _ACEOF
23796 cat confdefs.h >>conftest.$ac_ext
23797 cat >>conftest.$ac_ext <<_ACEOF
23798 /* end confdefs.h.  */
23799 #include <math.h>
23800 int
23801 main ()
23802 {
23803  modfl(0, 0);
23804   ;
23805   return 0;
23806 }
23807 _ACEOF
23808 rm -f conftest.$ac_objext
23809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23810   (eval $ac_compile) 2>conftest.er1
23811   ac_status=$?
23812   grep -v '^ *+' conftest.er1 >conftest.err
23813   rm -f conftest.er1
23814   cat conftest.err >&5
23815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23816   (exit $ac_status); } &&
23817          { ac_try='test -z "$ac_cxx_werror_flag"
23818                          || test ! -s conftest.err'
23819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23820   (eval $ac_try) 2>&5
23821   ac_status=$?
23822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23823   (exit $ac_status); }; } &&
23824          { ac_try='test -s conftest.$ac_objext'
23825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23826   (eval $ac_try) 2>&5
23827   ac_status=$?
23828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23829   (exit $ac_status); }; }; then
23830   glibcxx_cv_func_modfl_use=yes
23831 else
23832   echo "$as_me: failed program was:" >&5
23833 sed 's/^/| /' conftest.$ac_ext >&5
23834
23835 glibcxx_cv_func_modfl_use=no
23836 fi
23837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23838       ac_ext=c
23839 ac_cpp='$CPP $CPPFLAGS'
23840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23843
23844
23845 fi
23846
23847   fi
23848   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
23849 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
23850
23851   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
23852
23853 for ac_func in modfl
23854 do
23855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23856 echo "$as_me:$LINENO: checking for $ac_func" >&5
23857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23858 if eval "test \"\${$as_ac_var+set}\" = set"; then
23859   echo $ECHO_N "(cached) $ECHO_C" >&6
23860 else
23861   if test x$gcc_no_link = xyes; then
23862   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23864    { (exit 1); exit 1; }; }
23865 fi
23866 cat >conftest.$ac_ext <<_ACEOF
23867 /* confdefs.h.  */
23868 _ACEOF
23869 cat confdefs.h >>conftest.$ac_ext
23870 cat >>conftest.$ac_ext <<_ACEOF
23871 /* end confdefs.h.  */
23872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23873    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23874 #define $ac_func innocuous_$ac_func
23875
23876 /* System header to define __stub macros and hopefully few prototypes,
23877     which can conflict with char $ac_func (); below.
23878     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23879     <limits.h> exists even on freestanding compilers.  */
23880
23881 #ifdef __STDC__
23882 # include <limits.h>
23883 #else
23884 # include <assert.h>
23885 #endif
23886
23887 #undef $ac_func
23888
23889 /* Override any gcc2 internal prototype to avoid an error.  */
23890 #ifdef __cplusplus
23891 extern "C"
23892 {
23893 #endif
23894 /* We use char because int might match the return type of a gcc2
23895    builtin and then its argument prototype would still apply.  */
23896 char $ac_func ();
23897 /* The GNU C library defines this for functions which it implements
23898     to always fail with ENOSYS.  Some functions are actually named
23899     something starting with __ and the normal name is an alias.  */
23900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23901 choke me
23902 #else
23903 char (*f) () = $ac_func;
23904 #endif
23905 #ifdef __cplusplus
23906 }
23907 #endif
23908
23909 int
23910 main ()
23911 {
23912 return f != $ac_func;
23913   ;
23914   return 0;
23915 }
23916 _ACEOF
23917 rm -f conftest.$ac_objext conftest$ac_exeext
23918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23919   (eval $ac_link) 2>conftest.er1
23920   ac_status=$?
23921   grep -v '^ *+' conftest.er1 >conftest.err
23922   rm -f conftest.er1
23923   cat conftest.err >&5
23924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23925   (exit $ac_status); } &&
23926          { ac_try='test -z "$ac_c_werror_flag"
23927                          || test ! -s conftest.err'
23928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23929   (eval $ac_try) 2>&5
23930   ac_status=$?
23931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23932   (exit $ac_status); }; } &&
23933          { ac_try='test -s conftest$ac_exeext'
23934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23935   (eval $ac_try) 2>&5
23936   ac_status=$?
23937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23938   (exit $ac_status); }; }; then
23939   eval "$as_ac_var=yes"
23940 else
23941   echo "$as_me: failed program was:" >&5
23942 sed 's/^/| /' conftest.$ac_ext >&5
23943
23944 eval "$as_ac_var=no"
23945 fi
23946 rm -f conftest.err conftest.$ac_objext \
23947       conftest$ac_exeext conftest.$ac_ext
23948 fi
23949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23951 if test `eval echo '${'$as_ac_var'}'` = yes; then
23952   cat >>confdefs.h <<_ACEOF
23953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23954 _ACEOF
23955
23956 fi
23957 done
23958
23959   else
23960
23961   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
23962 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
23963   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
23964     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
23965   echo $ECHO_N "(cached) $ECHO_C" >&6
23966 else
23967
23968
23969
23970       ac_ext=cc
23971 ac_cpp='$CXXCPP $CPPFLAGS'
23972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23975
23976       cat >conftest.$ac_ext <<_ACEOF
23977 /* confdefs.h.  */
23978 _ACEOF
23979 cat confdefs.h >>conftest.$ac_ext
23980 cat >>conftest.$ac_ext <<_ACEOF
23981 /* end confdefs.h.  */
23982 #include <math.h>
23983 int
23984 main ()
23985 {
23986  _modfl(0, 0);
23987   ;
23988   return 0;
23989 }
23990 _ACEOF
23991 rm -f conftest.$ac_objext
23992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23993   (eval $ac_compile) 2>conftest.er1
23994   ac_status=$?
23995   grep -v '^ *+' conftest.er1 >conftest.err
23996   rm -f conftest.er1
23997   cat conftest.err >&5
23998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23999   (exit $ac_status); } &&
24000          { ac_try='test -z "$ac_cxx_werror_flag"
24001                          || test ! -s conftest.err'
24002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24003   (eval $ac_try) 2>&5
24004   ac_status=$?
24005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24006   (exit $ac_status); }; } &&
24007          { ac_try='test -s conftest.$ac_objext'
24008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24009   (eval $ac_try) 2>&5
24010   ac_status=$?
24011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24012   (exit $ac_status); }; }; then
24013   glibcxx_cv_func__modfl_use=yes
24014 else
24015   echo "$as_me: failed program was:" >&5
24016 sed 's/^/| /' conftest.$ac_ext >&5
24017
24018 glibcxx_cv_func__modfl_use=no
24019 fi
24020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24021       ac_ext=c
24022 ac_cpp='$CPP $CPPFLAGS'
24023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24026
24027
24028 fi
24029
24030   fi
24031   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
24032 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
24033
24034     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24035
24036 for ac_func in _modfl
24037 do
24038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24039 echo "$as_me:$LINENO: checking for $ac_func" >&5
24040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24041 if eval "test \"\${$as_ac_var+set}\" = set"; then
24042   echo $ECHO_N "(cached) $ECHO_C" >&6
24043 else
24044   if test x$gcc_no_link = xyes; then
24045   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24047    { (exit 1); exit 1; }; }
24048 fi
24049 cat >conftest.$ac_ext <<_ACEOF
24050 /* confdefs.h.  */
24051 _ACEOF
24052 cat confdefs.h >>conftest.$ac_ext
24053 cat >>conftest.$ac_ext <<_ACEOF
24054 /* end confdefs.h.  */
24055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24056    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24057 #define $ac_func innocuous_$ac_func
24058
24059 /* System header to define __stub macros and hopefully few prototypes,
24060     which can conflict with char $ac_func (); below.
24061     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24062     <limits.h> exists even on freestanding compilers.  */
24063
24064 #ifdef __STDC__
24065 # include <limits.h>
24066 #else
24067 # include <assert.h>
24068 #endif
24069
24070 #undef $ac_func
24071
24072 /* Override any gcc2 internal prototype to avoid an error.  */
24073 #ifdef __cplusplus
24074 extern "C"
24075 {
24076 #endif
24077 /* We use char because int might match the return type of a gcc2
24078    builtin and then its argument prototype would still apply.  */
24079 char $ac_func ();
24080 /* The GNU C library defines this for functions which it implements
24081     to always fail with ENOSYS.  Some functions are actually named
24082     something starting with __ and the normal name is an alias.  */
24083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24084 choke me
24085 #else
24086 char (*f) () = $ac_func;
24087 #endif
24088 #ifdef __cplusplus
24089 }
24090 #endif
24091
24092 int
24093 main ()
24094 {
24095 return f != $ac_func;
24096   ;
24097   return 0;
24098 }
24099 _ACEOF
24100 rm -f conftest.$ac_objext conftest$ac_exeext
24101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24102   (eval $ac_link) 2>conftest.er1
24103   ac_status=$?
24104   grep -v '^ *+' conftest.er1 >conftest.err
24105   rm -f conftest.er1
24106   cat conftest.err >&5
24107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24108   (exit $ac_status); } &&
24109          { ac_try='test -z "$ac_c_werror_flag"
24110                          || test ! -s conftest.err'
24111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24112   (eval $ac_try) 2>&5
24113   ac_status=$?
24114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24115   (exit $ac_status); }; } &&
24116          { ac_try='test -s conftest$ac_exeext'
24117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24118   (eval $ac_try) 2>&5
24119   ac_status=$?
24120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24121   (exit $ac_status); }; }; then
24122   eval "$as_ac_var=yes"
24123 else
24124   echo "$as_me: failed program was:" >&5
24125 sed 's/^/| /' conftest.$ac_ext >&5
24126
24127 eval "$as_ac_var=no"
24128 fi
24129 rm -f conftest.err conftest.$ac_objext \
24130       conftest$ac_exeext conftest.$ac_ext
24131 fi
24132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24134 if test `eval echo '${'$as_ac_var'}'` = yes; then
24135   cat >>confdefs.h <<_ACEOF
24136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24137 _ACEOF
24138
24139 fi
24140 done
24141
24142     fi
24143   fi
24144
24145
24146
24147
24148
24149
24150   echo "$as_me:$LINENO: checking for powl declaration" >&5
24151 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
24152   if test x${glibcxx_cv_func_powl_use+set} != xset; then
24153     if test "${glibcxx_cv_func_powl_use+set}" = set; then
24154   echo $ECHO_N "(cached) $ECHO_C" >&6
24155 else
24156
24157
24158
24159       ac_ext=cc
24160 ac_cpp='$CXXCPP $CPPFLAGS'
24161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24164
24165       cat >conftest.$ac_ext <<_ACEOF
24166 /* confdefs.h.  */
24167 _ACEOF
24168 cat confdefs.h >>conftest.$ac_ext
24169 cat >>conftest.$ac_ext <<_ACEOF
24170 /* end confdefs.h.  */
24171 #include <math.h>
24172 int
24173 main ()
24174 {
24175  powl(0, 0);
24176   ;
24177   return 0;
24178 }
24179 _ACEOF
24180 rm -f conftest.$ac_objext
24181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24182   (eval $ac_compile) 2>conftest.er1
24183   ac_status=$?
24184   grep -v '^ *+' conftest.er1 >conftest.err
24185   rm -f conftest.er1
24186   cat conftest.err >&5
24187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24188   (exit $ac_status); } &&
24189          { ac_try='test -z "$ac_cxx_werror_flag"
24190                          || test ! -s conftest.err'
24191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24192   (eval $ac_try) 2>&5
24193   ac_status=$?
24194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24195   (exit $ac_status); }; } &&
24196          { ac_try='test -s conftest.$ac_objext'
24197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24198   (eval $ac_try) 2>&5
24199   ac_status=$?
24200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24201   (exit $ac_status); }; }; then
24202   glibcxx_cv_func_powl_use=yes
24203 else
24204   echo "$as_me: failed program was:" >&5
24205 sed 's/^/| /' conftest.$ac_ext >&5
24206
24207 glibcxx_cv_func_powl_use=no
24208 fi
24209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24210       ac_ext=c
24211 ac_cpp='$CPP $CPPFLAGS'
24212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24215
24216
24217 fi
24218
24219   fi
24220   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
24221 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
24222
24223   if test x$glibcxx_cv_func_powl_use = x"yes"; then
24224
24225 for ac_func in powl
24226 do
24227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24228 echo "$as_me:$LINENO: checking for $ac_func" >&5
24229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24230 if eval "test \"\${$as_ac_var+set}\" = set"; then
24231   echo $ECHO_N "(cached) $ECHO_C" >&6
24232 else
24233   if test x$gcc_no_link = xyes; then
24234   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24236    { (exit 1); exit 1; }; }
24237 fi
24238 cat >conftest.$ac_ext <<_ACEOF
24239 /* confdefs.h.  */
24240 _ACEOF
24241 cat confdefs.h >>conftest.$ac_ext
24242 cat >>conftest.$ac_ext <<_ACEOF
24243 /* end confdefs.h.  */
24244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24245    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24246 #define $ac_func innocuous_$ac_func
24247
24248 /* System header to define __stub macros and hopefully few prototypes,
24249     which can conflict with char $ac_func (); below.
24250     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24251     <limits.h> exists even on freestanding compilers.  */
24252
24253 #ifdef __STDC__
24254 # include <limits.h>
24255 #else
24256 # include <assert.h>
24257 #endif
24258
24259 #undef $ac_func
24260
24261 /* Override any gcc2 internal prototype to avoid an error.  */
24262 #ifdef __cplusplus
24263 extern "C"
24264 {
24265 #endif
24266 /* We use char because int might match the return type of a gcc2
24267    builtin and then its argument prototype would still apply.  */
24268 char $ac_func ();
24269 /* The GNU C library defines this for functions which it implements
24270     to always fail with ENOSYS.  Some functions are actually named
24271     something starting with __ and the normal name is an alias.  */
24272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24273 choke me
24274 #else
24275 char (*f) () = $ac_func;
24276 #endif
24277 #ifdef __cplusplus
24278 }
24279 #endif
24280
24281 int
24282 main ()
24283 {
24284 return f != $ac_func;
24285   ;
24286   return 0;
24287 }
24288 _ACEOF
24289 rm -f conftest.$ac_objext conftest$ac_exeext
24290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24291   (eval $ac_link) 2>conftest.er1
24292   ac_status=$?
24293   grep -v '^ *+' conftest.er1 >conftest.err
24294   rm -f conftest.er1
24295   cat conftest.err >&5
24296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24297   (exit $ac_status); } &&
24298          { ac_try='test -z "$ac_c_werror_flag"
24299                          || test ! -s conftest.err'
24300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24301   (eval $ac_try) 2>&5
24302   ac_status=$?
24303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24304   (exit $ac_status); }; } &&
24305          { ac_try='test -s conftest$ac_exeext'
24306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24307   (eval $ac_try) 2>&5
24308   ac_status=$?
24309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24310   (exit $ac_status); }; }; then
24311   eval "$as_ac_var=yes"
24312 else
24313   echo "$as_me: failed program was:" >&5
24314 sed 's/^/| /' conftest.$ac_ext >&5
24315
24316 eval "$as_ac_var=no"
24317 fi
24318 rm -f conftest.err conftest.$ac_objext \
24319       conftest$ac_exeext conftest.$ac_ext
24320 fi
24321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24323 if test `eval echo '${'$as_ac_var'}'` = yes; then
24324   cat >>confdefs.h <<_ACEOF
24325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24326 _ACEOF
24327
24328 fi
24329 done
24330
24331   else
24332
24333   echo "$as_me:$LINENO: checking for _powl declaration" >&5
24334 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
24335   if test x${glibcxx_cv_func__powl_use+set} != xset; then
24336     if test "${glibcxx_cv_func__powl_use+set}" = set; then
24337   echo $ECHO_N "(cached) $ECHO_C" >&6
24338 else
24339
24340
24341
24342       ac_ext=cc
24343 ac_cpp='$CXXCPP $CPPFLAGS'
24344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24347
24348       cat >conftest.$ac_ext <<_ACEOF
24349 /* confdefs.h.  */
24350 _ACEOF
24351 cat confdefs.h >>conftest.$ac_ext
24352 cat >>conftest.$ac_ext <<_ACEOF
24353 /* end confdefs.h.  */
24354 #include <math.h>
24355 int
24356 main ()
24357 {
24358  _powl(0, 0);
24359   ;
24360   return 0;
24361 }
24362 _ACEOF
24363 rm -f conftest.$ac_objext
24364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24365   (eval $ac_compile) 2>conftest.er1
24366   ac_status=$?
24367   grep -v '^ *+' conftest.er1 >conftest.err
24368   rm -f conftest.er1
24369   cat conftest.err >&5
24370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24371   (exit $ac_status); } &&
24372          { ac_try='test -z "$ac_cxx_werror_flag"
24373                          || test ! -s conftest.err'
24374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24375   (eval $ac_try) 2>&5
24376   ac_status=$?
24377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24378   (exit $ac_status); }; } &&
24379          { ac_try='test -s conftest.$ac_objext'
24380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24381   (eval $ac_try) 2>&5
24382   ac_status=$?
24383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24384   (exit $ac_status); }; }; then
24385   glibcxx_cv_func__powl_use=yes
24386 else
24387   echo "$as_me: failed program was:" >&5
24388 sed 's/^/| /' conftest.$ac_ext >&5
24389
24390 glibcxx_cv_func__powl_use=no
24391 fi
24392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24393       ac_ext=c
24394 ac_cpp='$CPP $CPPFLAGS'
24395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24398
24399
24400 fi
24401
24402   fi
24403   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
24404 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
24405
24406     if test x$glibcxx_cv_func__powl_use = x"yes"; then
24407
24408 for ac_func in _powl
24409 do
24410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24411 echo "$as_me:$LINENO: checking for $ac_func" >&5
24412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24413 if eval "test \"\${$as_ac_var+set}\" = set"; then
24414   echo $ECHO_N "(cached) $ECHO_C" >&6
24415 else
24416   if test x$gcc_no_link = xyes; then
24417   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24419    { (exit 1); exit 1; }; }
24420 fi
24421 cat >conftest.$ac_ext <<_ACEOF
24422 /* confdefs.h.  */
24423 _ACEOF
24424 cat confdefs.h >>conftest.$ac_ext
24425 cat >>conftest.$ac_ext <<_ACEOF
24426 /* end confdefs.h.  */
24427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24428    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24429 #define $ac_func innocuous_$ac_func
24430
24431 /* System header to define __stub macros and hopefully few prototypes,
24432     which can conflict with char $ac_func (); below.
24433     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24434     <limits.h> exists even on freestanding compilers.  */
24435
24436 #ifdef __STDC__
24437 # include <limits.h>
24438 #else
24439 # include <assert.h>
24440 #endif
24441
24442 #undef $ac_func
24443
24444 /* Override any gcc2 internal prototype to avoid an error.  */
24445 #ifdef __cplusplus
24446 extern "C"
24447 {
24448 #endif
24449 /* We use char because int might match the return type of a gcc2
24450    builtin and then its argument prototype would still apply.  */
24451 char $ac_func ();
24452 /* The GNU C library defines this for functions which it implements
24453     to always fail with ENOSYS.  Some functions are actually named
24454     something starting with __ and the normal name is an alias.  */
24455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24456 choke me
24457 #else
24458 char (*f) () = $ac_func;
24459 #endif
24460 #ifdef __cplusplus
24461 }
24462 #endif
24463
24464 int
24465 main ()
24466 {
24467 return f != $ac_func;
24468   ;
24469   return 0;
24470 }
24471 _ACEOF
24472 rm -f conftest.$ac_objext conftest$ac_exeext
24473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24474   (eval $ac_link) 2>conftest.er1
24475   ac_status=$?
24476   grep -v '^ *+' conftest.er1 >conftest.err
24477   rm -f conftest.er1
24478   cat conftest.err >&5
24479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24480   (exit $ac_status); } &&
24481          { ac_try='test -z "$ac_c_werror_flag"
24482                          || test ! -s conftest.err'
24483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24484   (eval $ac_try) 2>&5
24485   ac_status=$?
24486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24487   (exit $ac_status); }; } &&
24488          { ac_try='test -s conftest$ac_exeext'
24489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24490   (eval $ac_try) 2>&5
24491   ac_status=$?
24492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24493   (exit $ac_status); }; }; then
24494   eval "$as_ac_var=yes"
24495 else
24496   echo "$as_me: failed program was:" >&5
24497 sed 's/^/| /' conftest.$ac_ext >&5
24498
24499 eval "$as_ac_var=no"
24500 fi
24501 rm -f conftest.err conftest.$ac_objext \
24502       conftest$ac_exeext conftest.$ac_ext
24503 fi
24504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24506 if test `eval echo '${'$as_ac_var'}'` = yes; then
24507   cat >>confdefs.h <<_ACEOF
24508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24509 _ACEOF
24510
24511 fi
24512 done
24513
24514     fi
24515   fi
24516
24517
24518
24519
24520
24521
24522   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
24523 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
24524   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24525     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
24526   echo $ECHO_N "(cached) $ECHO_C" >&6
24527 else
24528
24529
24530
24531       ac_ext=cc
24532 ac_cpp='$CXXCPP $CPPFLAGS'
24533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24536
24537       cat >conftest.$ac_ext <<_ACEOF
24538 /* confdefs.h.  */
24539 _ACEOF
24540 cat confdefs.h >>conftest.$ac_ext
24541 cat >>conftest.$ac_ext <<_ACEOF
24542 /* end confdefs.h.  */
24543 #include <math.h>
24544                       #ifdef HAVE_IEEEFP_H
24545                       #include <ieeefp.h>
24546                       #endif
24547
24548 int
24549 main ()
24550 {
24551  sqrtl(0);
24552   ;
24553   return 0;
24554 }
24555 _ACEOF
24556 rm -f conftest.$ac_objext
24557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24558   (eval $ac_compile) 2>conftest.er1
24559   ac_status=$?
24560   grep -v '^ *+' conftest.er1 >conftest.err
24561   rm -f conftest.er1
24562   cat conftest.err >&5
24563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24564   (exit $ac_status); } &&
24565          { ac_try='test -z "$ac_cxx_werror_flag"
24566                          || test ! -s conftest.err'
24567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24568   (eval $ac_try) 2>&5
24569   ac_status=$?
24570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24571   (exit $ac_status); }; } &&
24572          { ac_try='test -s conftest.$ac_objext'
24573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24574   (eval $ac_try) 2>&5
24575   ac_status=$?
24576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24577   (exit $ac_status); }; }; then
24578   glibcxx_cv_func_sqrtl_use=yes
24579 else
24580   echo "$as_me: failed program was:" >&5
24581 sed 's/^/| /' conftest.$ac_ext >&5
24582
24583 glibcxx_cv_func_sqrtl_use=no
24584 fi
24585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24586       ac_ext=c
24587 ac_cpp='$CPP $CPPFLAGS'
24588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24591
24592
24593 fi
24594
24595   fi
24596   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
24597 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
24598
24599   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24600
24601 for ac_func in sqrtl
24602 do
24603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24604 echo "$as_me:$LINENO: checking for $ac_func" >&5
24605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24606 if eval "test \"\${$as_ac_var+set}\" = set"; then
24607   echo $ECHO_N "(cached) $ECHO_C" >&6
24608 else
24609   if test x$gcc_no_link = xyes; then
24610   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24612    { (exit 1); exit 1; }; }
24613 fi
24614 cat >conftest.$ac_ext <<_ACEOF
24615 /* confdefs.h.  */
24616 _ACEOF
24617 cat confdefs.h >>conftest.$ac_ext
24618 cat >>conftest.$ac_ext <<_ACEOF
24619 /* end confdefs.h.  */
24620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24621    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24622 #define $ac_func innocuous_$ac_func
24623
24624 /* System header to define __stub macros and hopefully few prototypes,
24625     which can conflict with char $ac_func (); below.
24626     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24627     <limits.h> exists even on freestanding compilers.  */
24628
24629 #ifdef __STDC__
24630 # include <limits.h>
24631 #else
24632 # include <assert.h>
24633 #endif
24634
24635 #undef $ac_func
24636
24637 /* Override any gcc2 internal prototype to avoid an error.  */
24638 #ifdef __cplusplus
24639 extern "C"
24640 {
24641 #endif
24642 /* We use char because int might match the return type of a gcc2
24643    builtin and then its argument prototype would still apply.  */
24644 char $ac_func ();
24645 /* The GNU C library defines this for functions which it implements
24646     to always fail with ENOSYS.  Some functions are actually named
24647     something starting with __ and the normal name is an alias.  */
24648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24649 choke me
24650 #else
24651 char (*f) () = $ac_func;
24652 #endif
24653 #ifdef __cplusplus
24654 }
24655 #endif
24656
24657 int
24658 main ()
24659 {
24660 return f != $ac_func;
24661   ;
24662   return 0;
24663 }
24664 _ACEOF
24665 rm -f conftest.$ac_objext conftest$ac_exeext
24666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24667   (eval $ac_link) 2>conftest.er1
24668   ac_status=$?
24669   grep -v '^ *+' conftest.er1 >conftest.err
24670   rm -f conftest.er1
24671   cat conftest.err >&5
24672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24673   (exit $ac_status); } &&
24674          { ac_try='test -z "$ac_c_werror_flag"
24675                          || test ! -s conftest.err'
24676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24677   (eval $ac_try) 2>&5
24678   ac_status=$?
24679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24680   (exit $ac_status); }; } &&
24681          { ac_try='test -s conftest$ac_exeext'
24682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24683   (eval $ac_try) 2>&5
24684   ac_status=$?
24685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24686   (exit $ac_status); }; }; then
24687   eval "$as_ac_var=yes"
24688 else
24689   echo "$as_me: failed program was:" >&5
24690 sed 's/^/| /' conftest.$ac_ext >&5
24691
24692 eval "$as_ac_var=no"
24693 fi
24694 rm -f conftest.err conftest.$ac_objext \
24695       conftest$ac_exeext conftest.$ac_ext
24696 fi
24697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24698 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24699 if test `eval echo '${'$as_ac_var'}'` = yes; then
24700   cat >>confdefs.h <<_ACEOF
24701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24702 _ACEOF
24703
24704 fi
24705 done
24706
24707   else
24708
24709   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
24710 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
24711   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24712     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
24713   echo $ECHO_N "(cached) $ECHO_C" >&6
24714 else
24715
24716
24717
24718       ac_ext=cc
24719 ac_cpp='$CXXCPP $CPPFLAGS'
24720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24723
24724       cat >conftest.$ac_ext <<_ACEOF
24725 /* confdefs.h.  */
24726 _ACEOF
24727 cat confdefs.h >>conftest.$ac_ext
24728 cat >>conftest.$ac_ext <<_ACEOF
24729 /* end confdefs.h.  */
24730 #include <math.h>
24731                       #ifdef HAVE_IEEEFP_H
24732                       #include <ieeefp.h>
24733                       #endif
24734
24735 int
24736 main ()
24737 {
24738  _sqrtl(0);
24739   ;
24740   return 0;
24741 }
24742 _ACEOF
24743 rm -f conftest.$ac_objext
24744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24745   (eval $ac_compile) 2>conftest.er1
24746   ac_status=$?
24747   grep -v '^ *+' conftest.er1 >conftest.err
24748   rm -f conftest.er1
24749   cat conftest.err >&5
24750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24751   (exit $ac_status); } &&
24752          { ac_try='test -z "$ac_cxx_werror_flag"
24753                          || test ! -s conftest.err'
24754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24755   (eval $ac_try) 2>&5
24756   ac_status=$?
24757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24758   (exit $ac_status); }; } &&
24759          { ac_try='test -s conftest.$ac_objext'
24760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24761   (eval $ac_try) 2>&5
24762   ac_status=$?
24763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24764   (exit $ac_status); }; }; then
24765   glibcxx_cv_func__sqrtl_use=yes
24766 else
24767   echo "$as_me: failed program was:" >&5
24768 sed 's/^/| /' conftest.$ac_ext >&5
24769
24770 glibcxx_cv_func__sqrtl_use=no
24771 fi
24772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24773       ac_ext=c
24774 ac_cpp='$CPP $CPPFLAGS'
24775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24778
24779
24780 fi
24781
24782   fi
24783   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
24784 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
24785
24786     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24787
24788 for ac_func in _sqrtl
24789 do
24790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24791 echo "$as_me:$LINENO: checking for $ac_func" >&5
24792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24793 if eval "test \"\${$as_ac_var+set}\" = set"; then
24794   echo $ECHO_N "(cached) $ECHO_C" >&6
24795 else
24796   if test x$gcc_no_link = xyes; then
24797   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24799    { (exit 1); exit 1; }; }
24800 fi
24801 cat >conftest.$ac_ext <<_ACEOF
24802 /* confdefs.h.  */
24803 _ACEOF
24804 cat confdefs.h >>conftest.$ac_ext
24805 cat >>conftest.$ac_ext <<_ACEOF
24806 /* end confdefs.h.  */
24807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24808    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24809 #define $ac_func innocuous_$ac_func
24810
24811 /* System header to define __stub macros and hopefully few prototypes,
24812     which can conflict with char $ac_func (); below.
24813     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24814     <limits.h> exists even on freestanding compilers.  */
24815
24816 #ifdef __STDC__
24817 # include <limits.h>
24818 #else
24819 # include <assert.h>
24820 #endif
24821
24822 #undef $ac_func
24823
24824 /* Override any gcc2 internal prototype to avoid an error.  */
24825 #ifdef __cplusplus
24826 extern "C"
24827 {
24828 #endif
24829 /* We use char because int might match the return type of a gcc2
24830    builtin and then its argument prototype would still apply.  */
24831 char $ac_func ();
24832 /* The GNU C library defines this for functions which it implements
24833     to always fail with ENOSYS.  Some functions are actually named
24834     something starting with __ and the normal name is an alias.  */
24835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24836 choke me
24837 #else
24838 char (*f) () = $ac_func;
24839 #endif
24840 #ifdef __cplusplus
24841 }
24842 #endif
24843
24844 int
24845 main ()
24846 {
24847 return f != $ac_func;
24848   ;
24849   return 0;
24850 }
24851 _ACEOF
24852 rm -f conftest.$ac_objext conftest$ac_exeext
24853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24854   (eval $ac_link) 2>conftest.er1
24855   ac_status=$?
24856   grep -v '^ *+' conftest.er1 >conftest.err
24857   rm -f conftest.er1
24858   cat conftest.err >&5
24859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24860   (exit $ac_status); } &&
24861          { ac_try='test -z "$ac_c_werror_flag"
24862                          || test ! -s conftest.err'
24863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24864   (eval $ac_try) 2>&5
24865   ac_status=$?
24866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24867   (exit $ac_status); }; } &&
24868          { ac_try='test -s conftest$ac_exeext'
24869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24870   (eval $ac_try) 2>&5
24871   ac_status=$?
24872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24873   (exit $ac_status); }; }; then
24874   eval "$as_ac_var=yes"
24875 else
24876   echo "$as_me: failed program was:" >&5
24877 sed 's/^/| /' conftest.$ac_ext >&5
24878
24879 eval "$as_ac_var=no"
24880 fi
24881 rm -f conftest.err conftest.$ac_objext \
24882       conftest$ac_exeext conftest.$ac_ext
24883 fi
24884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24886 if test `eval echo '${'$as_ac_var'}'` = yes; then
24887   cat >>confdefs.h <<_ACEOF
24888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24889 _ACEOF
24890
24891 fi
24892 done
24893
24894     fi
24895   fi
24896
24897
24898
24899
24900
24901
24902   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
24903 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
24904   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
24905     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
24906   echo $ECHO_N "(cached) $ECHO_C" >&6
24907 else
24908
24909
24910
24911       ac_ext=cc
24912 ac_cpp='$CXXCPP $CPPFLAGS'
24913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24916
24917       cat >conftest.$ac_ext <<_ACEOF
24918 /* confdefs.h.  */
24919 _ACEOF
24920 cat confdefs.h >>conftest.$ac_ext
24921 cat >>conftest.$ac_ext <<_ACEOF
24922 /* end confdefs.h.  */
24923 #include <math.h>
24924 int
24925 main ()
24926 {
24927  sincosl(0, 0, 0);
24928   ;
24929   return 0;
24930 }
24931 _ACEOF
24932 rm -f conftest.$ac_objext
24933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24934   (eval $ac_compile) 2>conftest.er1
24935   ac_status=$?
24936   grep -v '^ *+' conftest.er1 >conftest.err
24937   rm -f conftest.er1
24938   cat conftest.err >&5
24939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24940   (exit $ac_status); } &&
24941          { ac_try='test -z "$ac_cxx_werror_flag"
24942                          || test ! -s conftest.err'
24943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24944   (eval $ac_try) 2>&5
24945   ac_status=$?
24946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24947   (exit $ac_status); }; } &&
24948          { ac_try='test -s conftest.$ac_objext'
24949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24950   (eval $ac_try) 2>&5
24951   ac_status=$?
24952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24953   (exit $ac_status); }; }; then
24954   glibcxx_cv_func_sincosl_use=yes
24955 else
24956   echo "$as_me: failed program was:" >&5
24957 sed 's/^/| /' conftest.$ac_ext >&5
24958
24959 glibcxx_cv_func_sincosl_use=no
24960 fi
24961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24962       ac_ext=c
24963 ac_cpp='$CPP $CPPFLAGS'
24964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24967
24968
24969 fi
24970
24971   fi
24972   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
24973 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
24974
24975   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
24976
24977 for ac_func in sincosl
24978 do
24979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24980 echo "$as_me:$LINENO: checking for $ac_func" >&5
24981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24982 if eval "test \"\${$as_ac_var+set}\" = set"; then
24983   echo $ECHO_N "(cached) $ECHO_C" >&6
24984 else
24985   if test x$gcc_no_link = xyes; then
24986   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24988    { (exit 1); exit 1; }; }
24989 fi
24990 cat >conftest.$ac_ext <<_ACEOF
24991 /* confdefs.h.  */
24992 _ACEOF
24993 cat confdefs.h >>conftest.$ac_ext
24994 cat >>conftest.$ac_ext <<_ACEOF
24995 /* end confdefs.h.  */
24996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24997    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24998 #define $ac_func innocuous_$ac_func
24999
25000 /* System header to define __stub macros and hopefully few prototypes,
25001     which can conflict with char $ac_func (); below.
25002     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25003     <limits.h> exists even on freestanding compilers.  */
25004
25005 #ifdef __STDC__
25006 # include <limits.h>
25007 #else
25008 # include <assert.h>
25009 #endif
25010
25011 #undef $ac_func
25012
25013 /* Override any gcc2 internal prototype to avoid an error.  */
25014 #ifdef __cplusplus
25015 extern "C"
25016 {
25017 #endif
25018 /* We use char because int might match the return type of a gcc2
25019    builtin and then its argument prototype would still apply.  */
25020 char $ac_func ();
25021 /* The GNU C library defines this for functions which it implements
25022     to always fail with ENOSYS.  Some functions are actually named
25023     something starting with __ and the normal name is an alias.  */
25024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25025 choke me
25026 #else
25027 char (*f) () = $ac_func;
25028 #endif
25029 #ifdef __cplusplus
25030 }
25031 #endif
25032
25033 int
25034 main ()
25035 {
25036 return f != $ac_func;
25037   ;
25038   return 0;
25039 }
25040 _ACEOF
25041 rm -f conftest.$ac_objext conftest$ac_exeext
25042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25043   (eval $ac_link) 2>conftest.er1
25044   ac_status=$?
25045   grep -v '^ *+' conftest.er1 >conftest.err
25046   rm -f conftest.er1
25047   cat conftest.err >&5
25048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25049   (exit $ac_status); } &&
25050          { ac_try='test -z "$ac_c_werror_flag"
25051                          || test ! -s conftest.err'
25052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25053   (eval $ac_try) 2>&5
25054   ac_status=$?
25055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25056   (exit $ac_status); }; } &&
25057          { ac_try='test -s conftest$ac_exeext'
25058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25059   (eval $ac_try) 2>&5
25060   ac_status=$?
25061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25062   (exit $ac_status); }; }; then
25063   eval "$as_ac_var=yes"
25064 else
25065   echo "$as_me: failed program was:" >&5
25066 sed 's/^/| /' conftest.$ac_ext >&5
25067
25068 eval "$as_ac_var=no"
25069 fi
25070 rm -f conftest.err conftest.$ac_objext \
25071       conftest$ac_exeext conftest.$ac_ext
25072 fi
25073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25075 if test `eval echo '${'$as_ac_var'}'` = yes; then
25076   cat >>confdefs.h <<_ACEOF
25077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25078 _ACEOF
25079
25080 fi
25081 done
25082
25083   else
25084
25085   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
25086 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
25087   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25088     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
25089   echo $ECHO_N "(cached) $ECHO_C" >&6
25090 else
25091
25092
25093
25094       ac_ext=cc
25095 ac_cpp='$CXXCPP $CPPFLAGS'
25096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25099
25100       cat >conftest.$ac_ext <<_ACEOF
25101 /* confdefs.h.  */
25102 _ACEOF
25103 cat confdefs.h >>conftest.$ac_ext
25104 cat >>conftest.$ac_ext <<_ACEOF
25105 /* end confdefs.h.  */
25106 #include <math.h>
25107 int
25108 main ()
25109 {
25110  _sincosl(0, 0, 0);
25111   ;
25112   return 0;
25113 }
25114 _ACEOF
25115 rm -f conftest.$ac_objext
25116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25117   (eval $ac_compile) 2>conftest.er1
25118   ac_status=$?
25119   grep -v '^ *+' conftest.er1 >conftest.err
25120   rm -f conftest.er1
25121   cat conftest.err >&5
25122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25123   (exit $ac_status); } &&
25124          { ac_try='test -z "$ac_cxx_werror_flag"
25125                          || test ! -s conftest.err'
25126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25127   (eval $ac_try) 2>&5
25128   ac_status=$?
25129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25130   (exit $ac_status); }; } &&
25131          { ac_try='test -s conftest.$ac_objext'
25132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25133   (eval $ac_try) 2>&5
25134   ac_status=$?
25135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25136   (exit $ac_status); }; }; then
25137   glibcxx_cv_func__sincosl_use=yes
25138 else
25139   echo "$as_me: failed program was:" >&5
25140 sed 's/^/| /' conftest.$ac_ext >&5
25141
25142 glibcxx_cv_func__sincosl_use=no
25143 fi
25144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25145       ac_ext=c
25146 ac_cpp='$CPP $CPPFLAGS'
25147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25150
25151
25152 fi
25153
25154   fi
25155   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
25156 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
25157
25158     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25159
25160 for ac_func in _sincosl
25161 do
25162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25163 echo "$as_me:$LINENO: checking for $ac_func" >&5
25164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25165 if eval "test \"\${$as_ac_var+set}\" = set"; then
25166   echo $ECHO_N "(cached) $ECHO_C" >&6
25167 else
25168   if test x$gcc_no_link = xyes; then
25169   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25171    { (exit 1); exit 1; }; }
25172 fi
25173 cat >conftest.$ac_ext <<_ACEOF
25174 /* confdefs.h.  */
25175 _ACEOF
25176 cat confdefs.h >>conftest.$ac_ext
25177 cat >>conftest.$ac_ext <<_ACEOF
25178 /* end confdefs.h.  */
25179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25180    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25181 #define $ac_func innocuous_$ac_func
25182
25183 /* System header to define __stub macros and hopefully few prototypes,
25184     which can conflict with char $ac_func (); below.
25185     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25186     <limits.h> exists even on freestanding compilers.  */
25187
25188 #ifdef __STDC__
25189 # include <limits.h>
25190 #else
25191 # include <assert.h>
25192 #endif
25193
25194 #undef $ac_func
25195
25196 /* Override any gcc2 internal prototype to avoid an error.  */
25197 #ifdef __cplusplus
25198 extern "C"
25199 {
25200 #endif
25201 /* We use char because int might match the return type of a gcc2
25202    builtin and then its argument prototype would still apply.  */
25203 char $ac_func ();
25204 /* The GNU C library defines this for functions which it implements
25205     to always fail with ENOSYS.  Some functions are actually named
25206     something starting with __ and the normal name is an alias.  */
25207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25208 choke me
25209 #else
25210 char (*f) () = $ac_func;
25211 #endif
25212 #ifdef __cplusplus
25213 }
25214 #endif
25215
25216 int
25217 main ()
25218 {
25219 return f != $ac_func;
25220   ;
25221   return 0;
25222 }
25223 _ACEOF
25224 rm -f conftest.$ac_objext conftest$ac_exeext
25225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25226   (eval $ac_link) 2>conftest.er1
25227   ac_status=$?
25228   grep -v '^ *+' conftest.er1 >conftest.err
25229   rm -f conftest.er1
25230   cat conftest.err >&5
25231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25232   (exit $ac_status); } &&
25233          { ac_try='test -z "$ac_c_werror_flag"
25234                          || test ! -s conftest.err'
25235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25236   (eval $ac_try) 2>&5
25237   ac_status=$?
25238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25239   (exit $ac_status); }; } &&
25240          { ac_try='test -s conftest$ac_exeext'
25241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25242   (eval $ac_try) 2>&5
25243   ac_status=$?
25244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25245   (exit $ac_status); }; }; then
25246   eval "$as_ac_var=yes"
25247 else
25248   echo "$as_me: failed program was:" >&5
25249 sed 's/^/| /' conftest.$ac_ext >&5
25250
25251 eval "$as_ac_var=no"
25252 fi
25253 rm -f conftest.err conftest.$ac_objext \
25254       conftest$ac_exeext conftest.$ac_ext
25255 fi
25256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25258 if test `eval echo '${'$as_ac_var'}'` = yes; then
25259   cat >>confdefs.h <<_ACEOF
25260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25261 _ACEOF
25262
25263 fi
25264 done
25265
25266     fi
25267   fi
25268
25269
25270
25271
25272
25273
25274   echo "$as_me:$LINENO: checking for finitel declaration" >&5
25275 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
25276   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25277     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
25278   echo $ECHO_N "(cached) $ECHO_C" >&6
25279 else
25280
25281
25282
25283       ac_ext=cc
25284 ac_cpp='$CXXCPP $CPPFLAGS'
25285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25288
25289       cat >conftest.$ac_ext <<_ACEOF
25290 /* confdefs.h.  */
25291 _ACEOF
25292 cat confdefs.h >>conftest.$ac_ext
25293 cat >>conftest.$ac_ext <<_ACEOF
25294 /* end confdefs.h.  */
25295 #include <math.h>
25296                       #ifdef HAVE_IEEEFP_H
25297                       #include <ieeefp.h>
25298                       #endif
25299
25300 int
25301 main ()
25302 {
25303  finitel(0);
25304   ;
25305   return 0;
25306 }
25307 _ACEOF
25308 rm -f conftest.$ac_objext
25309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25310   (eval $ac_compile) 2>conftest.er1
25311   ac_status=$?
25312   grep -v '^ *+' conftest.er1 >conftest.err
25313   rm -f conftest.er1
25314   cat conftest.err >&5
25315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25316   (exit $ac_status); } &&
25317          { ac_try='test -z "$ac_cxx_werror_flag"
25318                          || test ! -s conftest.err'
25319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25320   (eval $ac_try) 2>&5
25321   ac_status=$?
25322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25323   (exit $ac_status); }; } &&
25324          { ac_try='test -s conftest.$ac_objext'
25325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25326   (eval $ac_try) 2>&5
25327   ac_status=$?
25328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25329   (exit $ac_status); }; }; then
25330   glibcxx_cv_func_finitel_use=yes
25331 else
25332   echo "$as_me: failed program was:" >&5
25333 sed 's/^/| /' conftest.$ac_ext >&5
25334
25335 glibcxx_cv_func_finitel_use=no
25336 fi
25337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25338       ac_ext=c
25339 ac_cpp='$CPP $CPPFLAGS'
25340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25343
25344
25345 fi
25346
25347   fi
25348   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
25349 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
25350
25351   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25352
25353 for ac_func in finitel
25354 do
25355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25356 echo "$as_me:$LINENO: checking for $ac_func" >&5
25357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25358 if eval "test \"\${$as_ac_var+set}\" = set"; then
25359   echo $ECHO_N "(cached) $ECHO_C" >&6
25360 else
25361   if test x$gcc_no_link = xyes; then
25362   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25364    { (exit 1); exit 1; }; }
25365 fi
25366 cat >conftest.$ac_ext <<_ACEOF
25367 /* confdefs.h.  */
25368 _ACEOF
25369 cat confdefs.h >>conftest.$ac_ext
25370 cat >>conftest.$ac_ext <<_ACEOF
25371 /* end confdefs.h.  */
25372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25373    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25374 #define $ac_func innocuous_$ac_func
25375
25376 /* System header to define __stub macros and hopefully few prototypes,
25377     which can conflict with char $ac_func (); below.
25378     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25379     <limits.h> exists even on freestanding compilers.  */
25380
25381 #ifdef __STDC__
25382 # include <limits.h>
25383 #else
25384 # include <assert.h>
25385 #endif
25386
25387 #undef $ac_func
25388
25389 /* Override any gcc2 internal prototype to avoid an error.  */
25390 #ifdef __cplusplus
25391 extern "C"
25392 {
25393 #endif
25394 /* We use char because int might match the return type of a gcc2
25395    builtin and then its argument prototype would still apply.  */
25396 char $ac_func ();
25397 /* The GNU C library defines this for functions which it implements
25398     to always fail with ENOSYS.  Some functions are actually named
25399     something starting with __ and the normal name is an alias.  */
25400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25401 choke me
25402 #else
25403 char (*f) () = $ac_func;
25404 #endif
25405 #ifdef __cplusplus
25406 }
25407 #endif
25408
25409 int
25410 main ()
25411 {
25412 return f != $ac_func;
25413   ;
25414   return 0;
25415 }
25416 _ACEOF
25417 rm -f conftest.$ac_objext conftest$ac_exeext
25418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25419   (eval $ac_link) 2>conftest.er1
25420   ac_status=$?
25421   grep -v '^ *+' conftest.er1 >conftest.err
25422   rm -f conftest.er1
25423   cat conftest.err >&5
25424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25425   (exit $ac_status); } &&
25426          { ac_try='test -z "$ac_c_werror_flag"
25427                          || test ! -s conftest.err'
25428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25429   (eval $ac_try) 2>&5
25430   ac_status=$?
25431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25432   (exit $ac_status); }; } &&
25433          { ac_try='test -s conftest$ac_exeext'
25434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25435   (eval $ac_try) 2>&5
25436   ac_status=$?
25437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25438   (exit $ac_status); }; }; then
25439   eval "$as_ac_var=yes"
25440 else
25441   echo "$as_me: failed program was:" >&5
25442 sed 's/^/| /' conftest.$ac_ext >&5
25443
25444 eval "$as_ac_var=no"
25445 fi
25446 rm -f conftest.err conftest.$ac_objext \
25447       conftest$ac_exeext conftest.$ac_ext
25448 fi
25449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25451 if test `eval echo '${'$as_ac_var'}'` = yes; then
25452   cat >>confdefs.h <<_ACEOF
25453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25454 _ACEOF
25455
25456 fi
25457 done
25458
25459   else
25460
25461   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
25462 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
25463   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25464     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
25465   echo $ECHO_N "(cached) $ECHO_C" >&6
25466 else
25467
25468
25469
25470       ac_ext=cc
25471 ac_cpp='$CXXCPP $CPPFLAGS'
25472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25475
25476       cat >conftest.$ac_ext <<_ACEOF
25477 /* confdefs.h.  */
25478 _ACEOF
25479 cat confdefs.h >>conftest.$ac_ext
25480 cat >>conftest.$ac_ext <<_ACEOF
25481 /* end confdefs.h.  */
25482 #include <math.h>
25483                       #ifdef HAVE_IEEEFP_H
25484                       #include <ieeefp.h>
25485                       #endif
25486
25487 int
25488 main ()
25489 {
25490  _finitel(0);
25491   ;
25492   return 0;
25493 }
25494 _ACEOF
25495 rm -f conftest.$ac_objext
25496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25497   (eval $ac_compile) 2>conftest.er1
25498   ac_status=$?
25499   grep -v '^ *+' conftest.er1 >conftest.err
25500   rm -f conftest.er1
25501   cat conftest.err >&5
25502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25503   (exit $ac_status); } &&
25504          { ac_try='test -z "$ac_cxx_werror_flag"
25505                          || test ! -s conftest.err'
25506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25507   (eval $ac_try) 2>&5
25508   ac_status=$?
25509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25510   (exit $ac_status); }; } &&
25511          { ac_try='test -s conftest.$ac_objext'
25512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25513   (eval $ac_try) 2>&5
25514   ac_status=$?
25515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25516   (exit $ac_status); }; }; then
25517   glibcxx_cv_func__finitel_use=yes
25518 else
25519   echo "$as_me: failed program was:" >&5
25520 sed 's/^/| /' conftest.$ac_ext >&5
25521
25522 glibcxx_cv_func__finitel_use=no
25523 fi
25524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25525       ac_ext=c
25526 ac_cpp='$CPP $CPPFLAGS'
25527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25530
25531
25532 fi
25533
25534   fi
25535   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
25536 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
25537
25538     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25539
25540 for ac_func in _finitel
25541 do
25542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25543 echo "$as_me:$LINENO: checking for $ac_func" >&5
25544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25545 if eval "test \"\${$as_ac_var+set}\" = set"; then
25546   echo $ECHO_N "(cached) $ECHO_C" >&6
25547 else
25548   if test x$gcc_no_link = xyes; then
25549   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25551    { (exit 1); exit 1; }; }
25552 fi
25553 cat >conftest.$ac_ext <<_ACEOF
25554 /* confdefs.h.  */
25555 _ACEOF
25556 cat confdefs.h >>conftest.$ac_ext
25557 cat >>conftest.$ac_ext <<_ACEOF
25558 /* end confdefs.h.  */
25559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25560    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25561 #define $ac_func innocuous_$ac_func
25562
25563 /* System header to define __stub macros and hopefully few prototypes,
25564     which can conflict with char $ac_func (); below.
25565     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25566     <limits.h> exists even on freestanding compilers.  */
25567
25568 #ifdef __STDC__
25569 # include <limits.h>
25570 #else
25571 # include <assert.h>
25572 #endif
25573
25574 #undef $ac_func
25575
25576 /* Override any gcc2 internal prototype to avoid an error.  */
25577 #ifdef __cplusplus
25578 extern "C"
25579 {
25580 #endif
25581 /* We use char because int might match the return type of a gcc2
25582    builtin and then its argument prototype would still apply.  */
25583 char $ac_func ();
25584 /* The GNU C library defines this for functions which it implements
25585     to always fail with ENOSYS.  Some functions are actually named
25586     something starting with __ and the normal name is an alias.  */
25587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25588 choke me
25589 #else
25590 char (*f) () = $ac_func;
25591 #endif
25592 #ifdef __cplusplus
25593 }
25594 #endif
25595
25596 int
25597 main ()
25598 {
25599 return f != $ac_func;
25600   ;
25601   return 0;
25602 }
25603 _ACEOF
25604 rm -f conftest.$ac_objext conftest$ac_exeext
25605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25606   (eval $ac_link) 2>conftest.er1
25607   ac_status=$?
25608   grep -v '^ *+' conftest.er1 >conftest.err
25609   rm -f conftest.er1
25610   cat conftest.err >&5
25611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25612   (exit $ac_status); } &&
25613          { ac_try='test -z "$ac_c_werror_flag"
25614                          || test ! -s conftest.err'
25615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25616   (eval $ac_try) 2>&5
25617   ac_status=$?
25618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25619   (exit $ac_status); }; } &&
25620          { ac_try='test -s conftest$ac_exeext'
25621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25622   (eval $ac_try) 2>&5
25623   ac_status=$?
25624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25625   (exit $ac_status); }; }; then
25626   eval "$as_ac_var=yes"
25627 else
25628   echo "$as_me: failed program was:" >&5
25629 sed 's/^/| /' conftest.$ac_ext >&5
25630
25631 eval "$as_ac_var=no"
25632 fi
25633 rm -f conftest.err conftest.$ac_objext \
25634       conftest$ac_exeext conftest.$ac_ext
25635 fi
25636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25638 if test `eval echo '${'$as_ac_var'}'` = yes; then
25639   cat >>confdefs.h <<_ACEOF
25640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25641 _ACEOF
25642
25643 fi
25644 done
25645
25646     fi
25647   fi
25648
25649
25650
25651
25652
25653   LIBS="$ac_save_LIBS"
25654   CXXFLAGS="$ac_save_CXXFLAGS"
25655
25656
25657
25658   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25659 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25660   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25661     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25662   echo $ECHO_N "(cached) $ECHO_C" >&6
25663 else
25664
25665
25666
25667       ac_ext=cc
25668 ac_cpp='$CXXCPP $CPPFLAGS'
25669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25672
25673       cat >conftest.$ac_ext <<_ACEOF
25674 /* confdefs.h.  */
25675 _ACEOF
25676 cat confdefs.h >>conftest.$ac_ext
25677 cat >>conftest.$ac_ext <<_ACEOF
25678 /* end confdefs.h.  */
25679 #include <math.h>
25680 int
25681 main ()
25682 {
25683  __builtin_abs(0);
25684   ;
25685   return 0;
25686 }
25687 _ACEOF
25688 rm -f conftest.$ac_objext
25689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25690   (eval $ac_compile) 2>conftest.er1
25691   ac_status=$?
25692   grep -v '^ *+' conftest.er1 >conftest.err
25693   rm -f conftest.er1
25694   cat conftest.err >&5
25695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25696   (exit $ac_status); } &&
25697          { ac_try='test -z "$ac_cxx_werror_flag"
25698                          || test ! -s conftest.err'
25699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25700   (eval $ac_try) 2>&5
25701   ac_status=$?
25702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25703   (exit $ac_status); }; } &&
25704          { ac_try='test -s conftest.$ac_objext'
25705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25706   (eval $ac_try) 2>&5
25707   ac_status=$?
25708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25709   (exit $ac_status); }; }; then
25710   glibcxx_cv_func___builtin_abs_use=yes
25711 else
25712   echo "$as_me: failed program was:" >&5
25713 sed 's/^/| /' conftest.$ac_ext >&5
25714
25715 glibcxx_cv_func___builtin_abs_use=no
25716 fi
25717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25718       ac_ext=c
25719 ac_cpp='$CPP $CPPFLAGS'
25720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25723
25724
25725 fi
25726
25727   fi
25728   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25729 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25730   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25731     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25732 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25733     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25734       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25735   echo $ECHO_N "(cached) $ECHO_C" >&6
25736 else
25737
25738         if test x$gcc_no_link = xyes; then
25739   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25741    { (exit 1); exit 1; }; }
25742 fi
25743 cat >conftest.$ac_ext <<_ACEOF
25744 /* confdefs.h.  */
25745 _ACEOF
25746 cat confdefs.h >>conftest.$ac_ext
25747 cat >>conftest.$ac_ext <<_ACEOF
25748 /* end confdefs.h.  */
25749 #include <math.h>
25750 int
25751 main ()
25752 {
25753  __builtin_abs(0);
25754   ;
25755   return 0;
25756 }
25757 _ACEOF
25758 rm -f conftest.$ac_objext conftest$ac_exeext
25759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25760   (eval $ac_link) 2>conftest.er1
25761   ac_status=$?
25762   grep -v '^ *+' conftest.er1 >conftest.err
25763   rm -f conftest.er1
25764   cat conftest.err >&5
25765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25766   (exit $ac_status); } &&
25767          { ac_try='test -z "$ac_c_werror_flag"
25768                          || test ! -s conftest.err'
25769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25770   (eval $ac_try) 2>&5
25771   ac_status=$?
25772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25773   (exit $ac_status); }; } &&
25774          { ac_try='test -s conftest$ac_exeext'
25775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25776   (eval $ac_try) 2>&5
25777   ac_status=$?
25778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25779   (exit $ac_status); }; }; then
25780   glibcxx_cv_func___builtin_abs_link=yes
25781 else
25782   echo "$as_me: failed program was:" >&5
25783 sed 's/^/| /' conftest.$ac_ext >&5
25784
25785 glibcxx_cv_func___builtin_abs_link=no
25786 fi
25787 rm -f conftest.err conftest.$ac_objext \
25788       conftest$ac_exeext conftest.$ac_ext
25789
25790 fi
25791
25792     fi
25793     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25794 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25795
25796     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25797
25798 cat >>confdefs.h <<\_ACEOF
25799 #define HAVE___BUILTIN_ABS 1
25800 _ACEOF
25801
25802     fi
25803
25804   fi
25805
25806
25807   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25808 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25809   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25810     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25811   echo $ECHO_N "(cached) $ECHO_C" >&6
25812 else
25813
25814
25815
25816       ac_ext=cc
25817 ac_cpp='$CXXCPP $CPPFLAGS'
25818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25821
25822       cat >conftest.$ac_ext <<_ACEOF
25823 /* confdefs.h.  */
25824 _ACEOF
25825 cat confdefs.h >>conftest.$ac_ext
25826 cat >>conftest.$ac_ext <<_ACEOF
25827 /* end confdefs.h.  */
25828 #include <math.h>
25829 int
25830 main ()
25831 {
25832  __builtin_fabsf(0);
25833   ;
25834   return 0;
25835 }
25836 _ACEOF
25837 rm -f conftest.$ac_objext
25838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25839   (eval $ac_compile) 2>conftest.er1
25840   ac_status=$?
25841   grep -v '^ *+' conftest.er1 >conftest.err
25842   rm -f conftest.er1
25843   cat conftest.err >&5
25844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25845   (exit $ac_status); } &&
25846          { ac_try='test -z "$ac_cxx_werror_flag"
25847                          || test ! -s conftest.err'
25848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25849   (eval $ac_try) 2>&5
25850   ac_status=$?
25851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25852   (exit $ac_status); }; } &&
25853          { ac_try='test -s conftest.$ac_objext'
25854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25855   (eval $ac_try) 2>&5
25856   ac_status=$?
25857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25858   (exit $ac_status); }; }; then
25859   glibcxx_cv_func___builtin_fabsf_use=yes
25860 else
25861   echo "$as_me: failed program was:" >&5
25862 sed 's/^/| /' conftest.$ac_ext >&5
25863
25864 glibcxx_cv_func___builtin_fabsf_use=no
25865 fi
25866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25867       ac_ext=c
25868 ac_cpp='$CPP $CPPFLAGS'
25869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25872
25873
25874 fi
25875
25876   fi
25877   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25878 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25879   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25880     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25881 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25882     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25883       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25884   echo $ECHO_N "(cached) $ECHO_C" >&6
25885 else
25886
25887         if test x$gcc_no_link = xyes; then
25888   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25890    { (exit 1); exit 1; }; }
25891 fi
25892 cat >conftest.$ac_ext <<_ACEOF
25893 /* confdefs.h.  */
25894 _ACEOF
25895 cat confdefs.h >>conftest.$ac_ext
25896 cat >>conftest.$ac_ext <<_ACEOF
25897 /* end confdefs.h.  */
25898 #include <math.h>
25899 int
25900 main ()
25901 {
25902  __builtin_fabsf(0);
25903   ;
25904   return 0;
25905 }
25906 _ACEOF
25907 rm -f conftest.$ac_objext conftest$ac_exeext
25908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25909   (eval $ac_link) 2>conftest.er1
25910   ac_status=$?
25911   grep -v '^ *+' conftest.er1 >conftest.err
25912   rm -f conftest.er1
25913   cat conftest.err >&5
25914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25915   (exit $ac_status); } &&
25916          { ac_try='test -z "$ac_c_werror_flag"
25917                          || test ! -s conftest.err'
25918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25919   (eval $ac_try) 2>&5
25920   ac_status=$?
25921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25922   (exit $ac_status); }; } &&
25923          { ac_try='test -s conftest$ac_exeext'
25924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25925   (eval $ac_try) 2>&5
25926   ac_status=$?
25927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25928   (exit $ac_status); }; }; then
25929   glibcxx_cv_func___builtin_fabsf_link=yes
25930 else
25931   echo "$as_me: failed program was:" >&5
25932 sed 's/^/| /' conftest.$ac_ext >&5
25933
25934 glibcxx_cv_func___builtin_fabsf_link=no
25935 fi
25936 rm -f conftest.err conftest.$ac_objext \
25937       conftest$ac_exeext conftest.$ac_ext
25938
25939 fi
25940
25941     fi
25942     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25943 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25944
25945     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25946
25947 cat >>confdefs.h <<\_ACEOF
25948 #define HAVE___BUILTIN_FABSF 1
25949 _ACEOF
25950
25951     fi
25952
25953   fi
25954
25955
25956   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25957 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25958   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25959     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25960   echo $ECHO_N "(cached) $ECHO_C" >&6
25961 else
25962
25963
25964
25965       ac_ext=cc
25966 ac_cpp='$CXXCPP $CPPFLAGS'
25967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25970
25971       cat >conftest.$ac_ext <<_ACEOF
25972 /* confdefs.h.  */
25973 _ACEOF
25974 cat confdefs.h >>conftest.$ac_ext
25975 cat >>conftest.$ac_ext <<_ACEOF
25976 /* end confdefs.h.  */
25977 #include <math.h>
25978 int
25979 main ()
25980 {
25981  __builtin_fabs(0);
25982   ;
25983   return 0;
25984 }
25985 _ACEOF
25986 rm -f conftest.$ac_objext
25987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25988   (eval $ac_compile) 2>conftest.er1
25989   ac_status=$?
25990   grep -v '^ *+' conftest.er1 >conftest.err
25991   rm -f conftest.er1
25992   cat conftest.err >&5
25993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25994   (exit $ac_status); } &&
25995          { ac_try='test -z "$ac_cxx_werror_flag"
25996                          || test ! -s conftest.err'
25997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25998   (eval $ac_try) 2>&5
25999   ac_status=$?
26000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26001   (exit $ac_status); }; } &&
26002          { ac_try='test -s conftest.$ac_objext'
26003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26004   (eval $ac_try) 2>&5
26005   ac_status=$?
26006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26007   (exit $ac_status); }; }; then
26008   glibcxx_cv_func___builtin_fabs_use=yes
26009 else
26010   echo "$as_me: failed program was:" >&5
26011 sed 's/^/| /' conftest.$ac_ext >&5
26012
26013 glibcxx_cv_func___builtin_fabs_use=no
26014 fi
26015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26016       ac_ext=c
26017 ac_cpp='$CPP $CPPFLAGS'
26018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26021
26022
26023 fi
26024
26025   fi
26026   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
26027 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
26028   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
26029     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
26030 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
26031     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
26032       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
26033   echo $ECHO_N "(cached) $ECHO_C" >&6
26034 else
26035
26036         if test x$gcc_no_link = xyes; then
26037   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26039    { (exit 1); exit 1; }; }
26040 fi
26041 cat >conftest.$ac_ext <<_ACEOF
26042 /* confdefs.h.  */
26043 _ACEOF
26044 cat confdefs.h >>conftest.$ac_ext
26045 cat >>conftest.$ac_ext <<_ACEOF
26046 /* end confdefs.h.  */
26047 #include <math.h>
26048 int
26049 main ()
26050 {
26051  __builtin_fabs(0);
26052   ;
26053   return 0;
26054 }
26055 _ACEOF
26056 rm -f conftest.$ac_objext conftest$ac_exeext
26057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26058   (eval $ac_link) 2>conftest.er1
26059   ac_status=$?
26060   grep -v '^ *+' conftest.er1 >conftest.err
26061   rm -f conftest.er1
26062   cat conftest.err >&5
26063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26064   (exit $ac_status); } &&
26065          { ac_try='test -z "$ac_c_werror_flag"
26066                          || test ! -s conftest.err'
26067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26068   (eval $ac_try) 2>&5
26069   ac_status=$?
26070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26071   (exit $ac_status); }; } &&
26072          { ac_try='test -s conftest$ac_exeext'
26073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26074   (eval $ac_try) 2>&5
26075   ac_status=$?
26076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26077   (exit $ac_status); }; }; then
26078   glibcxx_cv_func___builtin_fabs_link=yes
26079 else
26080   echo "$as_me: failed program was:" >&5
26081 sed 's/^/| /' conftest.$ac_ext >&5
26082
26083 glibcxx_cv_func___builtin_fabs_link=no
26084 fi
26085 rm -f conftest.err conftest.$ac_objext \
26086       conftest$ac_exeext conftest.$ac_ext
26087
26088 fi
26089
26090     fi
26091     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
26092 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
26093
26094     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
26095
26096 cat >>confdefs.h <<\_ACEOF
26097 #define HAVE___BUILTIN_FABS 1
26098 _ACEOF
26099
26100     fi
26101
26102   fi
26103
26104
26105   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
26106 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
26107   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
26108     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
26109   echo $ECHO_N "(cached) $ECHO_C" >&6
26110 else
26111
26112
26113
26114       ac_ext=cc
26115 ac_cpp='$CXXCPP $CPPFLAGS'
26116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26119
26120       cat >conftest.$ac_ext <<_ACEOF
26121 /* confdefs.h.  */
26122 _ACEOF
26123 cat confdefs.h >>conftest.$ac_ext
26124 cat >>conftest.$ac_ext <<_ACEOF
26125 /* end confdefs.h.  */
26126 #include <math.h>
26127 int
26128 main ()
26129 {
26130  __builtin_fabsl(0);
26131   ;
26132   return 0;
26133 }
26134 _ACEOF
26135 rm -f conftest.$ac_objext
26136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26137   (eval $ac_compile) 2>conftest.er1
26138   ac_status=$?
26139   grep -v '^ *+' conftest.er1 >conftest.err
26140   rm -f conftest.er1
26141   cat conftest.err >&5
26142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26143   (exit $ac_status); } &&
26144          { ac_try='test -z "$ac_cxx_werror_flag"
26145                          || test ! -s conftest.err'
26146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26147   (eval $ac_try) 2>&5
26148   ac_status=$?
26149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150   (exit $ac_status); }; } &&
26151          { ac_try='test -s conftest.$ac_objext'
26152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26153   (eval $ac_try) 2>&5
26154   ac_status=$?
26155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26156   (exit $ac_status); }; }; then
26157   glibcxx_cv_func___builtin_fabsl_use=yes
26158 else
26159   echo "$as_me: failed program was:" >&5
26160 sed 's/^/| /' conftest.$ac_ext >&5
26161
26162 glibcxx_cv_func___builtin_fabsl_use=no
26163 fi
26164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26165       ac_ext=c
26166 ac_cpp='$CPP $CPPFLAGS'
26167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26170
26171
26172 fi
26173
26174   fi
26175   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
26176 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
26177   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
26178     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
26179 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
26180     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
26181       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
26182   echo $ECHO_N "(cached) $ECHO_C" >&6
26183 else
26184
26185         if test x$gcc_no_link = xyes; then
26186   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26188    { (exit 1); exit 1; }; }
26189 fi
26190 cat >conftest.$ac_ext <<_ACEOF
26191 /* confdefs.h.  */
26192 _ACEOF
26193 cat confdefs.h >>conftest.$ac_ext
26194 cat >>conftest.$ac_ext <<_ACEOF
26195 /* end confdefs.h.  */
26196 #include <math.h>
26197 int
26198 main ()
26199 {
26200  __builtin_fabsl(0);
26201   ;
26202   return 0;
26203 }
26204 _ACEOF
26205 rm -f conftest.$ac_objext conftest$ac_exeext
26206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26207   (eval $ac_link) 2>conftest.er1
26208   ac_status=$?
26209   grep -v '^ *+' conftest.er1 >conftest.err
26210   rm -f conftest.er1
26211   cat conftest.err >&5
26212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26213   (exit $ac_status); } &&
26214          { ac_try='test -z "$ac_c_werror_flag"
26215                          || test ! -s conftest.err'
26216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26217   (eval $ac_try) 2>&5
26218   ac_status=$?
26219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26220   (exit $ac_status); }; } &&
26221          { ac_try='test -s conftest$ac_exeext'
26222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26223   (eval $ac_try) 2>&5
26224   ac_status=$?
26225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26226   (exit $ac_status); }; }; then
26227   glibcxx_cv_func___builtin_fabsl_link=yes
26228 else
26229   echo "$as_me: failed program was:" >&5
26230 sed 's/^/| /' conftest.$ac_ext >&5
26231
26232 glibcxx_cv_func___builtin_fabsl_link=no
26233 fi
26234 rm -f conftest.err conftest.$ac_objext \
26235       conftest$ac_exeext conftest.$ac_ext
26236
26237 fi
26238
26239     fi
26240     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
26241 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
26242
26243     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
26244
26245 cat >>confdefs.h <<\_ACEOF
26246 #define HAVE___BUILTIN_FABSL 1
26247 _ACEOF
26248
26249     fi
26250
26251   fi
26252
26253
26254   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
26255 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
26256   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
26257     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
26258   echo $ECHO_N "(cached) $ECHO_C" >&6
26259 else
26260
26261
26262
26263       ac_ext=cc
26264 ac_cpp='$CXXCPP $CPPFLAGS'
26265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26268
26269       cat >conftest.$ac_ext <<_ACEOF
26270 /* confdefs.h.  */
26271 _ACEOF
26272 cat confdefs.h >>conftest.$ac_ext
26273 cat >>conftest.$ac_ext <<_ACEOF
26274 /* end confdefs.h.  */
26275 #include <math.h>
26276 int
26277 main ()
26278 {
26279  __builtin_labs(0);
26280   ;
26281   return 0;
26282 }
26283 _ACEOF
26284 rm -f conftest.$ac_objext
26285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26286   (eval $ac_compile) 2>conftest.er1
26287   ac_status=$?
26288   grep -v '^ *+' conftest.er1 >conftest.err
26289   rm -f conftest.er1
26290   cat conftest.err >&5
26291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26292   (exit $ac_status); } &&
26293          { ac_try='test -z "$ac_cxx_werror_flag"
26294                          || test ! -s conftest.err'
26295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26296   (eval $ac_try) 2>&5
26297   ac_status=$?
26298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26299   (exit $ac_status); }; } &&
26300          { ac_try='test -s conftest.$ac_objext'
26301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26302   (eval $ac_try) 2>&5
26303   ac_status=$?
26304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26305   (exit $ac_status); }; }; then
26306   glibcxx_cv_func___builtin_labs_use=yes
26307 else
26308   echo "$as_me: failed program was:" >&5
26309 sed 's/^/| /' conftest.$ac_ext >&5
26310
26311 glibcxx_cv_func___builtin_labs_use=no
26312 fi
26313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26314       ac_ext=c
26315 ac_cpp='$CPP $CPPFLAGS'
26316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26319
26320
26321 fi
26322
26323   fi
26324   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
26325 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
26326   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
26327     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
26328 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
26329     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
26330       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
26331   echo $ECHO_N "(cached) $ECHO_C" >&6
26332 else
26333
26334         if test x$gcc_no_link = xyes; then
26335   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26337    { (exit 1); exit 1; }; }
26338 fi
26339 cat >conftest.$ac_ext <<_ACEOF
26340 /* confdefs.h.  */
26341 _ACEOF
26342 cat confdefs.h >>conftest.$ac_ext
26343 cat >>conftest.$ac_ext <<_ACEOF
26344 /* end confdefs.h.  */
26345 #include <math.h>
26346 int
26347 main ()
26348 {
26349  __builtin_labs(0);
26350   ;
26351   return 0;
26352 }
26353 _ACEOF
26354 rm -f conftest.$ac_objext conftest$ac_exeext
26355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26356   (eval $ac_link) 2>conftest.er1
26357   ac_status=$?
26358   grep -v '^ *+' conftest.er1 >conftest.err
26359   rm -f conftest.er1
26360   cat conftest.err >&5
26361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26362   (exit $ac_status); } &&
26363          { ac_try='test -z "$ac_c_werror_flag"
26364                          || test ! -s conftest.err'
26365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26366   (eval $ac_try) 2>&5
26367   ac_status=$?
26368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26369   (exit $ac_status); }; } &&
26370          { ac_try='test -s conftest$ac_exeext'
26371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26372   (eval $ac_try) 2>&5
26373   ac_status=$?
26374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26375   (exit $ac_status); }; }; then
26376   glibcxx_cv_func___builtin_labs_link=yes
26377 else
26378   echo "$as_me: failed program was:" >&5
26379 sed 's/^/| /' conftest.$ac_ext >&5
26380
26381 glibcxx_cv_func___builtin_labs_link=no
26382 fi
26383 rm -f conftest.err conftest.$ac_objext \
26384       conftest$ac_exeext conftest.$ac_ext
26385
26386 fi
26387
26388     fi
26389     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
26390 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
26391
26392     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
26393
26394 cat >>confdefs.h <<\_ACEOF
26395 #define HAVE___BUILTIN_LABS 1
26396 _ACEOF
26397
26398     fi
26399
26400   fi
26401
26402
26403
26404   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
26405 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
26406   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
26407     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
26408   echo $ECHO_N "(cached) $ECHO_C" >&6
26409 else
26410
26411
26412
26413       ac_ext=cc
26414 ac_cpp='$CXXCPP $CPPFLAGS'
26415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26418
26419       cat >conftest.$ac_ext <<_ACEOF
26420 /* confdefs.h.  */
26421 _ACEOF
26422 cat confdefs.h >>conftest.$ac_ext
26423 cat >>conftest.$ac_ext <<_ACEOF
26424 /* end confdefs.h.  */
26425 #include <math.h>
26426 int
26427 main ()
26428 {
26429  __builtin_sqrtf(0);
26430   ;
26431   return 0;
26432 }
26433 _ACEOF
26434 rm -f conftest.$ac_objext
26435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26436   (eval $ac_compile) 2>conftest.er1
26437   ac_status=$?
26438   grep -v '^ *+' conftest.er1 >conftest.err
26439   rm -f conftest.er1
26440   cat conftest.err >&5
26441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26442   (exit $ac_status); } &&
26443          { ac_try='test -z "$ac_cxx_werror_flag"
26444                          || test ! -s conftest.err'
26445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26446   (eval $ac_try) 2>&5
26447   ac_status=$?
26448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26449   (exit $ac_status); }; } &&
26450          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
26456   glibcxx_cv_func___builtin_sqrtf_use=yes
26457 else
26458   echo "$as_me: failed program was:" >&5
26459 sed 's/^/| /' conftest.$ac_ext >&5
26460
26461 glibcxx_cv_func___builtin_sqrtf_use=no
26462 fi
26463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26464       ac_ext=c
26465 ac_cpp='$CPP $CPPFLAGS'
26466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26469
26470
26471 fi
26472
26473   fi
26474   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
26475 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
26476   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
26477     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
26478 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
26479     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
26480       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
26481   echo $ECHO_N "(cached) $ECHO_C" >&6
26482 else
26483
26484         if test x$gcc_no_link = xyes; then
26485   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26487    { (exit 1); exit 1; }; }
26488 fi
26489 cat >conftest.$ac_ext <<_ACEOF
26490 /* confdefs.h.  */
26491 _ACEOF
26492 cat confdefs.h >>conftest.$ac_ext
26493 cat >>conftest.$ac_ext <<_ACEOF
26494 /* end confdefs.h.  */
26495 #include <math.h>
26496 int
26497 main ()
26498 {
26499  __builtin_sqrtf(0);
26500   ;
26501   return 0;
26502 }
26503 _ACEOF
26504 rm -f conftest.$ac_objext conftest$ac_exeext
26505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26506   (eval $ac_link) 2>conftest.er1
26507   ac_status=$?
26508   grep -v '^ *+' conftest.er1 >conftest.err
26509   rm -f conftest.er1
26510   cat conftest.err >&5
26511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26512   (exit $ac_status); } &&
26513          { ac_try='test -z "$ac_c_werror_flag"
26514                          || test ! -s conftest.err'
26515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26516   (eval $ac_try) 2>&5
26517   ac_status=$?
26518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26519   (exit $ac_status); }; } &&
26520          { ac_try='test -s conftest$ac_exeext'
26521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26522   (eval $ac_try) 2>&5
26523   ac_status=$?
26524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26525   (exit $ac_status); }; }; then
26526   glibcxx_cv_func___builtin_sqrtf_link=yes
26527 else
26528   echo "$as_me: failed program was:" >&5
26529 sed 's/^/| /' conftest.$ac_ext >&5
26530
26531 glibcxx_cv_func___builtin_sqrtf_link=no
26532 fi
26533 rm -f conftest.err conftest.$ac_objext \
26534       conftest$ac_exeext conftest.$ac_ext
26535
26536 fi
26537
26538     fi
26539     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26540 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26541
26542     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26543
26544 cat >>confdefs.h <<\_ACEOF
26545 #define HAVE___BUILTIN_SQRTF 1
26546 _ACEOF
26547
26548     fi
26549
26550   fi
26551
26552
26553   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26554 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26555   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26556     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26557   echo $ECHO_N "(cached) $ECHO_C" >&6
26558 else
26559
26560
26561
26562       ac_ext=cc
26563 ac_cpp='$CXXCPP $CPPFLAGS'
26564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26567
26568       cat >conftest.$ac_ext <<_ACEOF
26569 /* confdefs.h.  */
26570 _ACEOF
26571 cat confdefs.h >>conftest.$ac_ext
26572 cat >>conftest.$ac_ext <<_ACEOF
26573 /* end confdefs.h.  */
26574 #include <math.h>
26575 int
26576 main ()
26577 {
26578  __builtin_sqrt(0);
26579   ;
26580   return 0;
26581 }
26582 _ACEOF
26583 rm -f conftest.$ac_objext
26584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26585   (eval $ac_compile) 2>conftest.er1
26586   ac_status=$?
26587   grep -v '^ *+' conftest.er1 >conftest.err
26588   rm -f conftest.er1
26589   cat conftest.err >&5
26590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26591   (exit $ac_status); } &&
26592          { ac_try='test -z "$ac_cxx_werror_flag"
26593                          || test ! -s conftest.err'
26594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26595   (eval $ac_try) 2>&5
26596   ac_status=$?
26597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26598   (exit $ac_status); }; } &&
26599          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
26605   glibcxx_cv_func___builtin_sqrt_use=yes
26606 else
26607   echo "$as_me: failed program was:" >&5
26608 sed 's/^/| /' conftest.$ac_ext >&5
26609
26610 glibcxx_cv_func___builtin_sqrt_use=no
26611 fi
26612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26613       ac_ext=c
26614 ac_cpp='$CPP $CPPFLAGS'
26615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26618
26619
26620 fi
26621
26622   fi
26623   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26624 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26625   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26626     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26627 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26628     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26629       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26630   echo $ECHO_N "(cached) $ECHO_C" >&6
26631 else
26632
26633         if test x$gcc_no_link = xyes; then
26634   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26636    { (exit 1); exit 1; }; }
26637 fi
26638 cat >conftest.$ac_ext <<_ACEOF
26639 /* confdefs.h.  */
26640 _ACEOF
26641 cat confdefs.h >>conftest.$ac_ext
26642 cat >>conftest.$ac_ext <<_ACEOF
26643 /* end confdefs.h.  */
26644 #include <math.h>
26645 int
26646 main ()
26647 {
26648  __builtin_sqrt(0);
26649   ;
26650   return 0;
26651 }
26652 _ACEOF
26653 rm -f conftest.$ac_objext conftest$ac_exeext
26654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26655   (eval $ac_link) 2>conftest.er1
26656   ac_status=$?
26657   grep -v '^ *+' conftest.er1 >conftest.err
26658   rm -f conftest.er1
26659   cat conftest.err >&5
26660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26661   (exit $ac_status); } &&
26662          { ac_try='test -z "$ac_c_werror_flag"
26663                          || test ! -s conftest.err'
26664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26665   (eval $ac_try) 2>&5
26666   ac_status=$?
26667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26668   (exit $ac_status); }; } &&
26669          { ac_try='test -s conftest$ac_exeext'
26670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26671   (eval $ac_try) 2>&5
26672   ac_status=$?
26673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26674   (exit $ac_status); }; }; then
26675   glibcxx_cv_func___builtin_sqrt_link=yes
26676 else
26677   echo "$as_me: failed program was:" >&5
26678 sed 's/^/| /' conftest.$ac_ext >&5
26679
26680 glibcxx_cv_func___builtin_sqrt_link=no
26681 fi
26682 rm -f conftest.err conftest.$ac_objext \
26683       conftest$ac_exeext conftest.$ac_ext
26684
26685 fi
26686
26687     fi
26688     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26689 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26690
26691     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26692
26693 cat >>confdefs.h <<\_ACEOF
26694 #define HAVE___BUILTIN_SQRT 1
26695 _ACEOF
26696
26697     fi
26698
26699   fi
26700
26701
26702   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26703 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26704   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26705     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26706   echo $ECHO_N "(cached) $ECHO_C" >&6
26707 else
26708
26709
26710
26711       ac_ext=cc
26712 ac_cpp='$CXXCPP $CPPFLAGS'
26713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26716
26717       cat >conftest.$ac_ext <<_ACEOF
26718 /* confdefs.h.  */
26719 _ACEOF
26720 cat confdefs.h >>conftest.$ac_ext
26721 cat >>conftest.$ac_ext <<_ACEOF
26722 /* end confdefs.h.  */
26723 #include <math.h>
26724 int
26725 main ()
26726 {
26727  __builtin_sqrtl(0);
26728   ;
26729   return 0;
26730 }
26731 _ACEOF
26732 rm -f conftest.$ac_objext
26733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26734   (eval $ac_compile) 2>conftest.er1
26735   ac_status=$?
26736   grep -v '^ *+' conftest.er1 >conftest.err
26737   rm -f conftest.er1
26738   cat conftest.err >&5
26739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740   (exit $ac_status); } &&
26741          { ac_try='test -z "$ac_cxx_werror_flag"
26742                          || test ! -s conftest.err'
26743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26744   (eval $ac_try) 2>&5
26745   ac_status=$?
26746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747   (exit $ac_status); }; } &&
26748          { ac_try='test -s conftest.$ac_objext'
26749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26750   (eval $ac_try) 2>&5
26751   ac_status=$?
26752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753   (exit $ac_status); }; }; then
26754   glibcxx_cv_func___builtin_sqrtl_use=yes
26755 else
26756   echo "$as_me: failed program was:" >&5
26757 sed 's/^/| /' conftest.$ac_ext >&5
26758
26759 glibcxx_cv_func___builtin_sqrtl_use=no
26760 fi
26761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26762       ac_ext=c
26763 ac_cpp='$CPP $CPPFLAGS'
26764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26767
26768
26769 fi
26770
26771   fi
26772   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26773 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26774   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26775     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26776 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26777     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26778       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26779   echo $ECHO_N "(cached) $ECHO_C" >&6
26780 else
26781
26782         if test x$gcc_no_link = xyes; then
26783   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26785    { (exit 1); exit 1; }; }
26786 fi
26787 cat >conftest.$ac_ext <<_ACEOF
26788 /* confdefs.h.  */
26789 _ACEOF
26790 cat confdefs.h >>conftest.$ac_ext
26791 cat >>conftest.$ac_ext <<_ACEOF
26792 /* end confdefs.h.  */
26793 #include <math.h>
26794 int
26795 main ()
26796 {
26797  __builtin_sqrtl(0);
26798   ;
26799   return 0;
26800 }
26801 _ACEOF
26802 rm -f conftest.$ac_objext conftest$ac_exeext
26803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26804   (eval $ac_link) 2>conftest.er1
26805   ac_status=$?
26806   grep -v '^ *+' conftest.er1 >conftest.err
26807   rm -f conftest.er1
26808   cat conftest.err >&5
26809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26810   (exit $ac_status); } &&
26811          { ac_try='test -z "$ac_c_werror_flag"
26812                          || test ! -s conftest.err'
26813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26814   (eval $ac_try) 2>&5
26815   ac_status=$?
26816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26817   (exit $ac_status); }; } &&
26818          { ac_try='test -s conftest$ac_exeext'
26819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26820   (eval $ac_try) 2>&5
26821   ac_status=$?
26822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26823   (exit $ac_status); }; }; then
26824   glibcxx_cv_func___builtin_sqrtl_link=yes
26825 else
26826   echo "$as_me: failed program was:" >&5
26827 sed 's/^/| /' conftest.$ac_ext >&5
26828
26829 glibcxx_cv_func___builtin_sqrtl_link=no
26830 fi
26831 rm -f conftest.err conftest.$ac_objext \
26832       conftest$ac_exeext conftest.$ac_ext
26833
26834 fi
26835
26836     fi
26837     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26838 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26839
26840     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26841
26842 cat >>confdefs.h <<\_ACEOF
26843 #define HAVE___BUILTIN_SQRTL 1
26844 _ACEOF
26845
26846     fi
26847
26848   fi
26849
26850
26851
26852   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26853 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26854   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26855     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26856   echo $ECHO_N "(cached) $ECHO_C" >&6
26857 else
26858
26859
26860
26861       ac_ext=cc
26862 ac_cpp='$CXXCPP $CPPFLAGS'
26863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26866
26867       cat >conftest.$ac_ext <<_ACEOF
26868 /* confdefs.h.  */
26869 _ACEOF
26870 cat confdefs.h >>conftest.$ac_ext
26871 cat >>conftest.$ac_ext <<_ACEOF
26872 /* end confdefs.h.  */
26873 #include <math.h>
26874 int
26875 main ()
26876 {
26877  __builtin_sinf(0);
26878   ;
26879   return 0;
26880 }
26881 _ACEOF
26882 rm -f conftest.$ac_objext
26883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26884   (eval $ac_compile) 2>conftest.er1
26885   ac_status=$?
26886   grep -v '^ *+' conftest.er1 >conftest.err
26887   rm -f conftest.er1
26888   cat conftest.err >&5
26889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26890   (exit $ac_status); } &&
26891          { ac_try='test -z "$ac_cxx_werror_flag"
26892                          || test ! -s conftest.err'
26893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26894   (eval $ac_try) 2>&5
26895   ac_status=$?
26896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26897   (exit $ac_status); }; } &&
26898          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
26904   glibcxx_cv_func___builtin_sinf_use=yes
26905 else
26906   echo "$as_me: failed program was:" >&5
26907 sed 's/^/| /' conftest.$ac_ext >&5
26908
26909 glibcxx_cv_func___builtin_sinf_use=no
26910 fi
26911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26912       ac_ext=c
26913 ac_cpp='$CPP $CPPFLAGS'
26914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26917
26918
26919 fi
26920
26921   fi
26922   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26923 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26924   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26925     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26926 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26927     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26928       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26929   echo $ECHO_N "(cached) $ECHO_C" >&6
26930 else
26931
26932         if test x$gcc_no_link = xyes; then
26933   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26935    { (exit 1); exit 1; }; }
26936 fi
26937 cat >conftest.$ac_ext <<_ACEOF
26938 /* confdefs.h.  */
26939 _ACEOF
26940 cat confdefs.h >>conftest.$ac_ext
26941 cat >>conftest.$ac_ext <<_ACEOF
26942 /* end confdefs.h.  */
26943 #include <math.h>
26944 int
26945 main ()
26946 {
26947  __builtin_sinf(0);
26948   ;
26949   return 0;
26950 }
26951 _ACEOF
26952 rm -f conftest.$ac_objext conftest$ac_exeext
26953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26954   (eval $ac_link) 2>conftest.er1
26955   ac_status=$?
26956   grep -v '^ *+' conftest.er1 >conftest.err
26957   rm -f conftest.er1
26958   cat conftest.err >&5
26959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26960   (exit $ac_status); } &&
26961          { ac_try='test -z "$ac_c_werror_flag"
26962                          || test ! -s conftest.err'
26963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26964   (eval $ac_try) 2>&5
26965   ac_status=$?
26966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26967   (exit $ac_status); }; } &&
26968          { ac_try='test -s conftest$ac_exeext'
26969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26970   (eval $ac_try) 2>&5
26971   ac_status=$?
26972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26973   (exit $ac_status); }; }; then
26974   glibcxx_cv_func___builtin_sinf_link=yes
26975 else
26976   echo "$as_me: failed program was:" >&5
26977 sed 's/^/| /' conftest.$ac_ext >&5
26978
26979 glibcxx_cv_func___builtin_sinf_link=no
26980 fi
26981 rm -f conftest.err conftest.$ac_objext \
26982       conftest$ac_exeext conftest.$ac_ext
26983
26984 fi
26985
26986     fi
26987     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
26988 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
26989
26990     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
26991
26992 cat >>confdefs.h <<\_ACEOF
26993 #define HAVE___BUILTIN_SINF 1
26994 _ACEOF
26995
26996     fi
26997
26998   fi
26999
27000
27001   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
27002 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
27003   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
27004     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
27005   echo $ECHO_N "(cached) $ECHO_C" >&6
27006 else
27007
27008
27009
27010       ac_ext=cc
27011 ac_cpp='$CXXCPP $CPPFLAGS'
27012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27015
27016       cat >conftest.$ac_ext <<_ACEOF
27017 /* confdefs.h.  */
27018 _ACEOF
27019 cat confdefs.h >>conftest.$ac_ext
27020 cat >>conftest.$ac_ext <<_ACEOF
27021 /* end confdefs.h.  */
27022 #include <math.h>
27023 int
27024 main ()
27025 {
27026  __builtin_sin(0);
27027   ;
27028   return 0;
27029 }
27030 _ACEOF
27031 rm -f conftest.$ac_objext
27032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27033   (eval $ac_compile) 2>conftest.er1
27034   ac_status=$?
27035   grep -v '^ *+' conftest.er1 >conftest.err
27036   rm -f conftest.er1
27037   cat conftest.err >&5
27038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27039   (exit $ac_status); } &&
27040          { ac_try='test -z "$ac_cxx_werror_flag"
27041                          || test ! -s conftest.err'
27042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27043   (eval $ac_try) 2>&5
27044   ac_status=$?
27045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27046   (exit $ac_status); }; } &&
27047          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
27053   glibcxx_cv_func___builtin_sin_use=yes
27054 else
27055   echo "$as_me: failed program was:" >&5
27056 sed 's/^/| /' conftest.$ac_ext >&5
27057
27058 glibcxx_cv_func___builtin_sin_use=no
27059 fi
27060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27061       ac_ext=c
27062 ac_cpp='$CPP $CPPFLAGS'
27063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27066
27067
27068 fi
27069
27070   fi
27071   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
27072 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
27073   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
27074     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
27075 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
27076     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
27077       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
27078   echo $ECHO_N "(cached) $ECHO_C" >&6
27079 else
27080
27081         if test x$gcc_no_link = xyes; then
27082   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27084    { (exit 1); exit 1; }; }
27085 fi
27086 cat >conftest.$ac_ext <<_ACEOF
27087 /* confdefs.h.  */
27088 _ACEOF
27089 cat confdefs.h >>conftest.$ac_ext
27090 cat >>conftest.$ac_ext <<_ACEOF
27091 /* end confdefs.h.  */
27092 #include <math.h>
27093 int
27094 main ()
27095 {
27096  __builtin_sin(0);
27097   ;
27098   return 0;
27099 }
27100 _ACEOF
27101 rm -f conftest.$ac_objext conftest$ac_exeext
27102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27103   (eval $ac_link) 2>conftest.er1
27104   ac_status=$?
27105   grep -v '^ *+' conftest.er1 >conftest.err
27106   rm -f conftest.er1
27107   cat conftest.err >&5
27108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27109   (exit $ac_status); } &&
27110          { ac_try='test -z "$ac_c_werror_flag"
27111                          || test ! -s conftest.err'
27112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27113   (eval $ac_try) 2>&5
27114   ac_status=$?
27115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27116   (exit $ac_status); }; } &&
27117          { ac_try='test -s conftest$ac_exeext'
27118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27119   (eval $ac_try) 2>&5
27120   ac_status=$?
27121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27122   (exit $ac_status); }; }; then
27123   glibcxx_cv_func___builtin_sin_link=yes
27124 else
27125   echo "$as_me: failed program was:" >&5
27126 sed 's/^/| /' conftest.$ac_ext >&5
27127
27128 glibcxx_cv_func___builtin_sin_link=no
27129 fi
27130 rm -f conftest.err conftest.$ac_objext \
27131       conftest$ac_exeext conftest.$ac_ext
27132
27133 fi
27134
27135     fi
27136     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
27137 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
27138
27139     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
27140
27141 cat >>confdefs.h <<\_ACEOF
27142 #define HAVE___BUILTIN_SIN 1
27143 _ACEOF
27144
27145     fi
27146
27147   fi
27148
27149
27150   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
27151 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
27152   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
27153     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
27154   echo $ECHO_N "(cached) $ECHO_C" >&6
27155 else
27156
27157
27158
27159       ac_ext=cc
27160 ac_cpp='$CXXCPP $CPPFLAGS'
27161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27164
27165       cat >conftest.$ac_ext <<_ACEOF
27166 /* confdefs.h.  */
27167 _ACEOF
27168 cat confdefs.h >>conftest.$ac_ext
27169 cat >>conftest.$ac_ext <<_ACEOF
27170 /* end confdefs.h.  */
27171 #include <math.h>
27172 int
27173 main ()
27174 {
27175  __builtin_sinl(0);
27176   ;
27177   return 0;
27178 }
27179 _ACEOF
27180 rm -f conftest.$ac_objext
27181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27182   (eval $ac_compile) 2>conftest.er1
27183   ac_status=$?
27184   grep -v '^ *+' conftest.er1 >conftest.err
27185   rm -f conftest.er1
27186   cat conftest.err >&5
27187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27188   (exit $ac_status); } &&
27189          { ac_try='test -z "$ac_cxx_werror_flag"
27190                          || test ! -s conftest.err'
27191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27192   (eval $ac_try) 2>&5
27193   ac_status=$?
27194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27195   (exit $ac_status); }; } &&
27196          { ac_try='test -s conftest.$ac_objext'
27197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27198   (eval $ac_try) 2>&5
27199   ac_status=$?
27200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27201   (exit $ac_status); }; }; then
27202   glibcxx_cv_func___builtin_sinl_use=yes
27203 else
27204   echo "$as_me: failed program was:" >&5
27205 sed 's/^/| /' conftest.$ac_ext >&5
27206
27207 glibcxx_cv_func___builtin_sinl_use=no
27208 fi
27209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27210       ac_ext=c
27211 ac_cpp='$CPP $CPPFLAGS'
27212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27215
27216
27217 fi
27218
27219   fi
27220   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
27221 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
27222   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
27223     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
27224 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
27225     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
27226       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
27227   echo $ECHO_N "(cached) $ECHO_C" >&6
27228 else
27229
27230         if test x$gcc_no_link = xyes; then
27231   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27233    { (exit 1); exit 1; }; }
27234 fi
27235 cat >conftest.$ac_ext <<_ACEOF
27236 /* confdefs.h.  */
27237 _ACEOF
27238 cat confdefs.h >>conftest.$ac_ext
27239 cat >>conftest.$ac_ext <<_ACEOF
27240 /* end confdefs.h.  */
27241 #include <math.h>
27242 int
27243 main ()
27244 {
27245  __builtin_sinl(0);
27246   ;
27247   return 0;
27248 }
27249 _ACEOF
27250 rm -f conftest.$ac_objext conftest$ac_exeext
27251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27252   (eval $ac_link) 2>conftest.er1
27253   ac_status=$?
27254   grep -v '^ *+' conftest.er1 >conftest.err
27255   rm -f conftest.er1
27256   cat conftest.err >&5
27257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27258   (exit $ac_status); } &&
27259          { ac_try='test -z "$ac_c_werror_flag"
27260                          || test ! -s conftest.err'
27261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27262   (eval $ac_try) 2>&5
27263   ac_status=$?
27264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265   (exit $ac_status); }; } &&
27266          { ac_try='test -s conftest$ac_exeext'
27267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27268   (eval $ac_try) 2>&5
27269   ac_status=$?
27270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27271   (exit $ac_status); }; }; then
27272   glibcxx_cv_func___builtin_sinl_link=yes
27273 else
27274   echo "$as_me: failed program was:" >&5
27275 sed 's/^/| /' conftest.$ac_ext >&5
27276
27277 glibcxx_cv_func___builtin_sinl_link=no
27278 fi
27279 rm -f conftest.err conftest.$ac_objext \
27280       conftest$ac_exeext conftest.$ac_ext
27281
27282 fi
27283
27284     fi
27285     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
27286 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
27287
27288     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
27289
27290 cat >>confdefs.h <<\_ACEOF
27291 #define HAVE___BUILTIN_SINL 1
27292 _ACEOF
27293
27294     fi
27295
27296   fi
27297
27298
27299
27300   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
27301 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
27302   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
27303     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
27304   echo $ECHO_N "(cached) $ECHO_C" >&6
27305 else
27306
27307
27308
27309       ac_ext=cc
27310 ac_cpp='$CXXCPP $CPPFLAGS'
27311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27314
27315       cat >conftest.$ac_ext <<_ACEOF
27316 /* confdefs.h.  */
27317 _ACEOF
27318 cat confdefs.h >>conftest.$ac_ext
27319 cat >>conftest.$ac_ext <<_ACEOF
27320 /* end confdefs.h.  */
27321 #include <math.h>
27322 int
27323 main ()
27324 {
27325  __builtin_cosf(0);
27326   ;
27327   return 0;
27328 }
27329 _ACEOF
27330 rm -f conftest.$ac_objext
27331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27332   (eval $ac_compile) 2>conftest.er1
27333   ac_status=$?
27334   grep -v '^ *+' conftest.er1 >conftest.err
27335   rm -f conftest.er1
27336   cat conftest.err >&5
27337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27338   (exit $ac_status); } &&
27339          { ac_try='test -z "$ac_cxx_werror_flag"
27340                          || test ! -s conftest.err'
27341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27342   (eval $ac_try) 2>&5
27343   ac_status=$?
27344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27345   (exit $ac_status); }; } &&
27346          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
27352   glibcxx_cv_func___builtin_cosf_use=yes
27353 else
27354   echo "$as_me: failed program was:" >&5
27355 sed 's/^/| /' conftest.$ac_ext >&5
27356
27357 glibcxx_cv_func___builtin_cosf_use=no
27358 fi
27359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27360       ac_ext=c
27361 ac_cpp='$CPP $CPPFLAGS'
27362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27365
27366
27367 fi
27368
27369   fi
27370   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
27371 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
27372   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
27373     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
27374 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
27375     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
27376       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
27377   echo $ECHO_N "(cached) $ECHO_C" >&6
27378 else
27379
27380         if test x$gcc_no_link = xyes; then
27381   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27383    { (exit 1); exit 1; }; }
27384 fi
27385 cat >conftest.$ac_ext <<_ACEOF
27386 /* confdefs.h.  */
27387 _ACEOF
27388 cat confdefs.h >>conftest.$ac_ext
27389 cat >>conftest.$ac_ext <<_ACEOF
27390 /* end confdefs.h.  */
27391 #include <math.h>
27392 int
27393 main ()
27394 {
27395  __builtin_cosf(0);
27396   ;
27397   return 0;
27398 }
27399 _ACEOF
27400 rm -f conftest.$ac_objext conftest$ac_exeext
27401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27402   (eval $ac_link) 2>conftest.er1
27403   ac_status=$?
27404   grep -v '^ *+' conftest.er1 >conftest.err
27405   rm -f conftest.er1
27406   cat conftest.err >&5
27407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27408   (exit $ac_status); } &&
27409          { ac_try='test -z "$ac_c_werror_flag"
27410                          || test ! -s conftest.err'
27411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27412   (eval $ac_try) 2>&5
27413   ac_status=$?
27414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27415   (exit $ac_status); }; } &&
27416          { ac_try='test -s conftest$ac_exeext'
27417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27418   (eval $ac_try) 2>&5
27419   ac_status=$?
27420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27421   (exit $ac_status); }; }; then
27422   glibcxx_cv_func___builtin_cosf_link=yes
27423 else
27424   echo "$as_me: failed program was:" >&5
27425 sed 's/^/| /' conftest.$ac_ext >&5
27426
27427 glibcxx_cv_func___builtin_cosf_link=no
27428 fi
27429 rm -f conftest.err conftest.$ac_objext \
27430       conftest$ac_exeext conftest.$ac_ext
27431
27432 fi
27433
27434     fi
27435     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
27436 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
27437
27438     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
27439
27440 cat >>confdefs.h <<\_ACEOF
27441 #define HAVE___BUILTIN_COSF 1
27442 _ACEOF
27443
27444     fi
27445
27446   fi
27447
27448
27449   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
27450 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
27451   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
27452     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
27453   echo $ECHO_N "(cached) $ECHO_C" >&6
27454 else
27455
27456
27457
27458       ac_ext=cc
27459 ac_cpp='$CXXCPP $CPPFLAGS'
27460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27463
27464       cat >conftest.$ac_ext <<_ACEOF
27465 /* confdefs.h.  */
27466 _ACEOF
27467 cat confdefs.h >>conftest.$ac_ext
27468 cat >>conftest.$ac_ext <<_ACEOF
27469 /* end confdefs.h.  */
27470 #include <math.h>
27471 int
27472 main ()
27473 {
27474  __builtin_cos(0);
27475   ;
27476   return 0;
27477 }
27478 _ACEOF
27479 rm -f conftest.$ac_objext
27480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27481   (eval $ac_compile) 2>conftest.er1
27482   ac_status=$?
27483   grep -v '^ *+' conftest.er1 >conftest.err
27484   rm -f conftest.er1
27485   cat conftest.err >&5
27486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27487   (exit $ac_status); } &&
27488          { ac_try='test -z "$ac_cxx_werror_flag"
27489                          || test ! -s conftest.err'
27490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27491   (eval $ac_try) 2>&5
27492   ac_status=$?
27493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27494   (exit $ac_status); }; } &&
27495          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
27501   glibcxx_cv_func___builtin_cos_use=yes
27502 else
27503   echo "$as_me: failed program was:" >&5
27504 sed 's/^/| /' conftest.$ac_ext >&5
27505
27506 glibcxx_cv_func___builtin_cos_use=no
27507 fi
27508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27509       ac_ext=c
27510 ac_cpp='$CPP $CPPFLAGS'
27511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27514
27515
27516 fi
27517
27518   fi
27519   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27520 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27521   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27522     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27523 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27524     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27525       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27526   echo $ECHO_N "(cached) $ECHO_C" >&6
27527 else
27528
27529         if test x$gcc_no_link = xyes; then
27530   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27532    { (exit 1); exit 1; }; }
27533 fi
27534 cat >conftest.$ac_ext <<_ACEOF
27535 /* confdefs.h.  */
27536 _ACEOF
27537 cat confdefs.h >>conftest.$ac_ext
27538 cat >>conftest.$ac_ext <<_ACEOF
27539 /* end confdefs.h.  */
27540 #include <math.h>
27541 int
27542 main ()
27543 {
27544  __builtin_cos(0);
27545   ;
27546   return 0;
27547 }
27548 _ACEOF
27549 rm -f conftest.$ac_objext conftest$ac_exeext
27550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27551   (eval $ac_link) 2>conftest.er1
27552   ac_status=$?
27553   grep -v '^ *+' conftest.er1 >conftest.err
27554   rm -f conftest.er1
27555   cat conftest.err >&5
27556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27557   (exit $ac_status); } &&
27558          { ac_try='test -z "$ac_c_werror_flag"
27559                          || test ! -s conftest.err'
27560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27561   (eval $ac_try) 2>&5
27562   ac_status=$?
27563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27564   (exit $ac_status); }; } &&
27565          { ac_try='test -s conftest$ac_exeext'
27566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27567   (eval $ac_try) 2>&5
27568   ac_status=$?
27569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27570   (exit $ac_status); }; }; then
27571   glibcxx_cv_func___builtin_cos_link=yes
27572 else
27573   echo "$as_me: failed program was:" >&5
27574 sed 's/^/| /' conftest.$ac_ext >&5
27575
27576 glibcxx_cv_func___builtin_cos_link=no
27577 fi
27578 rm -f conftest.err conftest.$ac_objext \
27579       conftest$ac_exeext conftest.$ac_ext
27580
27581 fi
27582
27583     fi
27584     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27585 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27586
27587     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27588
27589 cat >>confdefs.h <<\_ACEOF
27590 #define HAVE___BUILTIN_COS 1
27591 _ACEOF
27592
27593     fi
27594
27595   fi
27596
27597
27598   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27599 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27600   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27601     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27602   echo $ECHO_N "(cached) $ECHO_C" >&6
27603 else
27604
27605
27606
27607       ac_ext=cc
27608 ac_cpp='$CXXCPP $CPPFLAGS'
27609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27612
27613       cat >conftest.$ac_ext <<_ACEOF
27614 /* confdefs.h.  */
27615 _ACEOF
27616 cat confdefs.h >>conftest.$ac_ext
27617 cat >>conftest.$ac_ext <<_ACEOF
27618 /* end confdefs.h.  */
27619 #include <math.h>
27620 int
27621 main ()
27622 {
27623  __builtin_cosl(0);
27624   ;
27625   return 0;
27626 }
27627 _ACEOF
27628 rm -f conftest.$ac_objext
27629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27630   (eval $ac_compile) 2>conftest.er1
27631   ac_status=$?
27632   grep -v '^ *+' conftest.er1 >conftest.err
27633   rm -f conftest.er1
27634   cat conftest.err >&5
27635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27636   (exit $ac_status); } &&
27637          { ac_try='test -z "$ac_cxx_werror_flag"
27638                          || test ! -s conftest.err'
27639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27640   (eval $ac_try) 2>&5
27641   ac_status=$?
27642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27643   (exit $ac_status); }; } &&
27644          { ac_try='test -s conftest.$ac_objext'
27645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27646   (eval $ac_try) 2>&5
27647   ac_status=$?
27648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27649   (exit $ac_status); }; }; then
27650   glibcxx_cv_func___builtin_cosl_use=yes
27651 else
27652   echo "$as_me: failed program was:" >&5
27653 sed 's/^/| /' conftest.$ac_ext >&5
27654
27655 glibcxx_cv_func___builtin_cosl_use=no
27656 fi
27657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27658       ac_ext=c
27659 ac_cpp='$CPP $CPPFLAGS'
27660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27663
27664
27665 fi
27666
27667   fi
27668   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27669 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27670   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27671     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27672 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27673     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27674       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27675   echo $ECHO_N "(cached) $ECHO_C" >&6
27676 else
27677
27678         if test x$gcc_no_link = xyes; then
27679   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27681    { (exit 1); exit 1; }; }
27682 fi
27683 cat >conftest.$ac_ext <<_ACEOF
27684 /* confdefs.h.  */
27685 _ACEOF
27686 cat confdefs.h >>conftest.$ac_ext
27687 cat >>conftest.$ac_ext <<_ACEOF
27688 /* end confdefs.h.  */
27689 #include <math.h>
27690 int
27691 main ()
27692 {
27693  __builtin_cosl(0);
27694   ;
27695   return 0;
27696 }
27697 _ACEOF
27698 rm -f conftest.$ac_objext conftest$ac_exeext
27699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27700   (eval $ac_link) 2>conftest.er1
27701   ac_status=$?
27702   grep -v '^ *+' conftest.er1 >conftest.err
27703   rm -f conftest.er1
27704   cat conftest.err >&5
27705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27706   (exit $ac_status); } &&
27707          { ac_try='test -z "$ac_c_werror_flag"
27708                          || test ! -s conftest.err'
27709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27710   (eval $ac_try) 2>&5
27711   ac_status=$?
27712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27713   (exit $ac_status); }; } &&
27714          { ac_try='test -s conftest$ac_exeext'
27715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27716   (eval $ac_try) 2>&5
27717   ac_status=$?
27718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27719   (exit $ac_status); }; }; then
27720   glibcxx_cv_func___builtin_cosl_link=yes
27721 else
27722   echo "$as_me: failed program was:" >&5
27723 sed 's/^/| /' conftest.$ac_ext >&5
27724
27725 glibcxx_cv_func___builtin_cosl_link=no
27726 fi
27727 rm -f conftest.err conftest.$ac_objext \
27728       conftest$ac_exeext conftest.$ac_ext
27729
27730 fi
27731
27732     fi
27733     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27734 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27735
27736     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27737
27738 cat >>confdefs.h <<\_ACEOF
27739 #define HAVE___BUILTIN_COSL 1
27740 _ACEOF
27741
27742     fi
27743
27744   fi
27745
27746
27747
27748
27749 echo "$as_me:$LINENO: checking for main in -lm" >&5
27750 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27751 if test "${ac_cv_lib_m_main+set}" = set; then
27752   echo $ECHO_N "(cached) $ECHO_C" >&6
27753 else
27754   ac_check_lib_save_LIBS=$LIBS
27755 LIBS="-lm  $LIBS"
27756 if test x$gcc_no_link = xyes; then
27757   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27759    { (exit 1); exit 1; }; }
27760 fi
27761 cat >conftest.$ac_ext <<_ACEOF
27762 /* confdefs.h.  */
27763 _ACEOF
27764 cat confdefs.h >>conftest.$ac_ext
27765 cat >>conftest.$ac_ext <<_ACEOF
27766 /* end confdefs.h.  */
27767
27768
27769 int
27770 main ()
27771 {
27772 main ();
27773   ;
27774   return 0;
27775 }
27776 _ACEOF
27777 rm -f conftest.$ac_objext conftest$ac_exeext
27778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27779   (eval $ac_link) 2>conftest.er1
27780   ac_status=$?
27781   grep -v '^ *+' conftest.er1 >conftest.err
27782   rm -f conftest.er1
27783   cat conftest.err >&5
27784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27785   (exit $ac_status); } &&
27786          { ac_try='test -z "$ac_c_werror_flag"
27787                          || test ! -s conftest.err'
27788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27789   (eval $ac_try) 2>&5
27790   ac_status=$?
27791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27792   (exit $ac_status); }; } &&
27793          { ac_try='test -s conftest$ac_exeext'
27794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27795   (eval $ac_try) 2>&5
27796   ac_status=$?
27797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27798   (exit $ac_status); }; }; then
27799   ac_cv_lib_m_main=yes
27800 else
27801   echo "$as_me: failed program was:" >&5
27802 sed 's/^/| /' conftest.$ac_ext >&5
27803
27804 ac_cv_lib_m_main=no
27805 fi
27806 rm -f conftest.err conftest.$ac_objext \
27807       conftest$ac_exeext conftest.$ac_ext
27808 LIBS=$ac_check_lib_save_LIBS
27809 fi
27810 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27811 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27812 if test $ac_cv_lib_m_main = yes; then
27813   cat >>confdefs.h <<_ACEOF
27814 #define HAVE_LIBM 1
27815 _ACEOF
27816
27817   LIBS="-lm $LIBS"
27818
27819 fi
27820
27821
27822 for ac_func in copysignf
27823 do
27824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27825 echo "$as_me:$LINENO: checking for $ac_func" >&5
27826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27827 if eval "test \"\${$as_ac_var+set}\" = set"; then
27828   echo $ECHO_N "(cached) $ECHO_C" >&6
27829 else
27830   if test x$gcc_no_link = xyes; then
27831   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27833    { (exit 1); exit 1; }; }
27834 fi
27835 cat >conftest.$ac_ext <<_ACEOF
27836 /* confdefs.h.  */
27837 _ACEOF
27838 cat confdefs.h >>conftest.$ac_ext
27839 cat >>conftest.$ac_ext <<_ACEOF
27840 /* end confdefs.h.  */
27841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27842    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27843 #define $ac_func innocuous_$ac_func
27844
27845 /* System header to define __stub macros and hopefully few prototypes,
27846     which can conflict with char $ac_func (); below.
27847     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27848     <limits.h> exists even on freestanding compilers.  */
27849
27850 #ifdef __STDC__
27851 # include <limits.h>
27852 #else
27853 # include <assert.h>
27854 #endif
27855
27856 #undef $ac_func
27857
27858 /* Override any gcc2 internal prototype to avoid an error.  */
27859 #ifdef __cplusplus
27860 extern "C"
27861 {
27862 #endif
27863 /* We use char because int might match the return type of a gcc2
27864    builtin and then its argument prototype would still apply.  */
27865 char $ac_func ();
27866 /* The GNU C library defines this for functions which it implements
27867     to always fail with ENOSYS.  Some functions are actually named
27868     something starting with __ and the normal name is an alias.  */
27869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27870 choke me
27871 #else
27872 char (*f) () = $ac_func;
27873 #endif
27874 #ifdef __cplusplus
27875 }
27876 #endif
27877
27878 int
27879 main ()
27880 {
27881 return f != $ac_func;
27882   ;
27883   return 0;
27884 }
27885 _ACEOF
27886 rm -f conftest.$ac_objext conftest$ac_exeext
27887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27888   (eval $ac_link) 2>conftest.er1
27889   ac_status=$?
27890   grep -v '^ *+' conftest.er1 >conftest.err
27891   rm -f conftest.er1
27892   cat conftest.err >&5
27893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27894   (exit $ac_status); } &&
27895          { ac_try='test -z "$ac_c_werror_flag"
27896                          || test ! -s conftest.err'
27897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27898   (eval $ac_try) 2>&5
27899   ac_status=$?
27900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27901   (exit $ac_status); }; } &&
27902          { ac_try='test -s conftest$ac_exeext'
27903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27904   (eval $ac_try) 2>&5
27905   ac_status=$?
27906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27907   (exit $ac_status); }; }; then
27908   eval "$as_ac_var=yes"
27909 else
27910   echo "$as_me: failed program was:" >&5
27911 sed 's/^/| /' conftest.$ac_ext >&5
27912
27913 eval "$as_ac_var=no"
27914 fi
27915 rm -f conftest.err conftest.$ac_objext \
27916       conftest$ac_exeext conftest.$ac_ext
27917 fi
27918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27920 if test `eval echo '${'$as_ac_var'}'` = yes; then
27921   cat >>confdefs.h <<_ACEOF
27922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27923 _ACEOF
27924
27925 else
27926   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27927 fi
27928 done
27929
27930
27931
27932 for ac_func in __signbit
27933 do
27934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27935 echo "$as_me:$LINENO: checking for $ac_func" >&5
27936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27937 if eval "test \"\${$as_ac_var+set}\" = set"; then
27938   echo $ECHO_N "(cached) $ECHO_C" >&6
27939 else
27940   if test x$gcc_no_link = xyes; then
27941   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27943    { (exit 1); exit 1; }; }
27944 fi
27945 cat >conftest.$ac_ext <<_ACEOF
27946 /* confdefs.h.  */
27947 _ACEOF
27948 cat confdefs.h >>conftest.$ac_ext
27949 cat >>conftest.$ac_ext <<_ACEOF
27950 /* end confdefs.h.  */
27951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27952    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27953 #define $ac_func innocuous_$ac_func
27954
27955 /* System header to define __stub macros and hopefully few prototypes,
27956     which can conflict with char $ac_func (); below.
27957     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27958     <limits.h> exists even on freestanding compilers.  */
27959
27960 #ifdef __STDC__
27961 # include <limits.h>
27962 #else
27963 # include <assert.h>
27964 #endif
27965
27966 #undef $ac_func
27967
27968 /* Override any gcc2 internal prototype to avoid an error.  */
27969 #ifdef __cplusplus
27970 extern "C"
27971 {
27972 #endif
27973 /* We use char because int might match the return type of a gcc2
27974    builtin and then its argument prototype would still apply.  */
27975 char $ac_func ();
27976 /* The GNU C library defines this for functions which it implements
27977     to always fail with ENOSYS.  Some functions are actually named
27978     something starting with __ and the normal name is an alias.  */
27979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27980 choke me
27981 #else
27982 char (*f) () = $ac_func;
27983 #endif
27984 #ifdef __cplusplus
27985 }
27986 #endif
27987
27988 int
27989 main ()
27990 {
27991 return f != $ac_func;
27992   ;
27993   return 0;
27994 }
27995 _ACEOF
27996 rm -f conftest.$ac_objext conftest$ac_exeext
27997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27998   (eval $ac_link) 2>conftest.er1
27999   ac_status=$?
28000   grep -v '^ *+' conftest.er1 >conftest.err
28001   rm -f conftest.er1
28002   cat conftest.err >&5
28003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28004   (exit $ac_status); } &&
28005          { ac_try='test -z "$ac_c_werror_flag"
28006                          || test ! -s conftest.err'
28007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28008   (eval $ac_try) 2>&5
28009   ac_status=$?
28010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28011   (exit $ac_status); }; } &&
28012          { ac_try='test -s conftest$ac_exeext'
28013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28014   (eval $ac_try) 2>&5
28015   ac_status=$?
28016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28017   (exit $ac_status); }; }; then
28018   eval "$as_ac_var=yes"
28019 else
28020   echo "$as_me: failed program was:" >&5
28021 sed 's/^/| /' conftest.$ac_ext >&5
28022
28023 eval "$as_ac_var=no"
28024 fi
28025 rm -f conftest.err conftest.$ac_objext \
28026       conftest$ac_exeext conftest.$ac_ext
28027 fi
28028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28030 if test `eval echo '${'$as_ac_var'}'` = yes; then
28031   cat >>confdefs.h <<_ACEOF
28032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28033 _ACEOF
28034
28035 else
28036   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
28037 fi
28038 done
28039
28040
28041
28042 for ac_func in __signbitf
28043 do
28044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28045 echo "$as_me:$LINENO: checking for $ac_func" >&5
28046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28047 if eval "test \"\${$as_ac_var+set}\" = set"; then
28048   echo $ECHO_N "(cached) $ECHO_C" >&6
28049 else
28050   if test x$gcc_no_link = xyes; then
28051   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28053    { (exit 1); exit 1; }; }
28054 fi
28055 cat >conftest.$ac_ext <<_ACEOF
28056 /* confdefs.h.  */
28057 _ACEOF
28058 cat confdefs.h >>conftest.$ac_ext
28059 cat >>conftest.$ac_ext <<_ACEOF
28060 /* end confdefs.h.  */
28061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28062    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28063 #define $ac_func innocuous_$ac_func
28064
28065 /* System header to define __stub macros and hopefully few prototypes,
28066     which can conflict with char $ac_func (); below.
28067     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28068     <limits.h> exists even on freestanding compilers.  */
28069
28070 #ifdef __STDC__
28071 # include <limits.h>
28072 #else
28073 # include <assert.h>
28074 #endif
28075
28076 #undef $ac_func
28077
28078 /* Override any gcc2 internal prototype to avoid an error.  */
28079 #ifdef __cplusplus
28080 extern "C"
28081 {
28082 #endif
28083 /* We use char because int might match the return type of a gcc2
28084    builtin and then its argument prototype would still apply.  */
28085 char $ac_func ();
28086 /* The GNU C library defines this for functions which it implements
28087     to always fail with ENOSYS.  Some functions are actually named
28088     something starting with __ and the normal name is an alias.  */
28089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28090 choke me
28091 #else
28092 char (*f) () = $ac_func;
28093 #endif
28094 #ifdef __cplusplus
28095 }
28096 #endif
28097
28098 int
28099 main ()
28100 {
28101 return f != $ac_func;
28102   ;
28103   return 0;
28104 }
28105 _ACEOF
28106 rm -f conftest.$ac_objext conftest$ac_exeext
28107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28108   (eval $ac_link) 2>conftest.er1
28109   ac_status=$?
28110   grep -v '^ *+' conftest.er1 >conftest.err
28111   rm -f conftest.er1
28112   cat conftest.err >&5
28113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28114   (exit $ac_status); } &&
28115          { ac_try='test -z "$ac_c_werror_flag"
28116                          || test ! -s conftest.err'
28117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28118   (eval $ac_try) 2>&5
28119   ac_status=$?
28120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28121   (exit $ac_status); }; } &&
28122          { ac_try='test -s conftest$ac_exeext'
28123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28124   (eval $ac_try) 2>&5
28125   ac_status=$?
28126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28127   (exit $ac_status); }; }; then
28128   eval "$as_ac_var=yes"
28129 else
28130   echo "$as_me: failed program was:" >&5
28131 sed 's/^/| /' conftest.$ac_ext >&5
28132
28133 eval "$as_ac_var=no"
28134 fi
28135 rm -f conftest.err conftest.$ac_objext \
28136       conftest$ac_exeext conftest.$ac_ext
28137 fi
28138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28140 if test `eval echo '${'$as_ac_var'}'` = yes; then
28141   cat >>confdefs.h <<_ACEOF
28142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28143 _ACEOF
28144
28145 else
28146   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
28147 fi
28148 done
28149
28150
28151           if test x$ac_cv_func_copysignl = x"yes"; then
28152
28153 for ac_func in __signbitl
28154 do
28155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28156 echo "$as_me:$LINENO: checking for $ac_func" >&5
28157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28158 if eval "test \"\${$as_ac_var+set}\" = set"; then
28159   echo $ECHO_N "(cached) $ECHO_C" >&6
28160 else
28161   if test x$gcc_no_link = xyes; then
28162   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28164    { (exit 1); exit 1; }; }
28165 fi
28166 cat >conftest.$ac_ext <<_ACEOF
28167 /* confdefs.h.  */
28168 _ACEOF
28169 cat confdefs.h >>conftest.$ac_ext
28170 cat >>conftest.$ac_ext <<_ACEOF
28171 /* end confdefs.h.  */
28172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28173    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28174 #define $ac_func innocuous_$ac_func
28175
28176 /* System header to define __stub macros and hopefully few prototypes,
28177     which can conflict with char $ac_func (); below.
28178     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28179     <limits.h> exists even on freestanding compilers.  */
28180
28181 #ifdef __STDC__
28182 # include <limits.h>
28183 #else
28184 # include <assert.h>
28185 #endif
28186
28187 #undef $ac_func
28188
28189 /* Override any gcc2 internal prototype to avoid an error.  */
28190 #ifdef __cplusplus
28191 extern "C"
28192 {
28193 #endif
28194 /* We use char because int might match the return type of a gcc2
28195    builtin and then its argument prototype would still apply.  */
28196 char $ac_func ();
28197 /* The GNU C library defines this for functions which it implements
28198     to always fail with ENOSYS.  Some functions are actually named
28199     something starting with __ and the normal name is an alias.  */
28200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28201 choke me
28202 #else
28203 char (*f) () = $ac_func;
28204 #endif
28205 #ifdef __cplusplus
28206 }
28207 #endif
28208
28209 int
28210 main ()
28211 {
28212 return f != $ac_func;
28213   ;
28214   return 0;
28215 }
28216 _ACEOF
28217 rm -f conftest.$ac_objext conftest$ac_exeext
28218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28219   (eval $ac_link) 2>conftest.er1
28220   ac_status=$?
28221   grep -v '^ *+' conftest.er1 >conftest.err
28222   rm -f conftest.er1
28223   cat conftest.err >&5
28224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28225   (exit $ac_status); } &&
28226          { ac_try='test -z "$ac_c_werror_flag"
28227                          || test ! -s conftest.err'
28228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28229   (eval $ac_try) 2>&5
28230   ac_status=$?
28231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28232   (exit $ac_status); }; } &&
28233          { ac_try='test -s conftest$ac_exeext'
28234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28235   (eval $ac_try) 2>&5
28236   ac_status=$?
28237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28238   (exit $ac_status); }; }; then
28239   eval "$as_ac_var=yes"
28240 else
28241   echo "$as_me: failed program was:" >&5
28242 sed 's/^/| /' conftest.$ac_ext >&5
28243
28244 eval "$as_ac_var=no"
28245 fi
28246 rm -f conftest.err conftest.$ac_objext \
28247       conftest$ac_exeext conftest.$ac_ext
28248 fi
28249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28251 if test `eval echo '${'$as_ac_var'}'` = yes; then
28252   cat >>confdefs.h <<_ACEOF
28253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28254 _ACEOF
28255
28256 else
28257   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
28258 fi
28259 done
28260
28261   fi
28262
28263   # Used in libmath/Makefile.am.
28264   if test -n "$LIBMATHOBJS"; then
28265     need_libmath=yes
28266   fi
28267
28268
28269
28270
28271   enable_iconv=no
28272   # Only continue checking if the ISO C99 headers exist and support is on.
28273   if test x"$enable_wchar_t" = xyes; then
28274
28275     # Use iconv for wchar_t to char conversions. As such, check for
28276     # X/Open Portability Guide, version 2 features (XPG2).
28277     if test "${ac_cv_header_iconv_h+set}" = set; then
28278   echo "$as_me:$LINENO: checking for iconv.h" >&5
28279 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28280 if test "${ac_cv_header_iconv_h+set}" = set; then
28281   echo $ECHO_N "(cached) $ECHO_C" >&6
28282 fi
28283 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28284 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28285 else
28286   # Is the header compilable?
28287 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28288 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28289 cat >conftest.$ac_ext <<_ACEOF
28290 /* confdefs.h.  */
28291 _ACEOF
28292 cat confdefs.h >>conftest.$ac_ext
28293 cat >>conftest.$ac_ext <<_ACEOF
28294 /* end confdefs.h.  */
28295 $ac_includes_default
28296 #include <iconv.h>
28297 _ACEOF
28298 rm -f conftest.$ac_objext
28299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28300   (eval $ac_compile) 2>conftest.er1
28301   ac_status=$?
28302   grep -v '^ *+' conftest.er1 >conftest.err
28303   rm -f conftest.er1
28304   cat conftest.err >&5
28305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28306   (exit $ac_status); } &&
28307          { ac_try='test -z "$ac_c_werror_flag"
28308                          || test ! -s conftest.err'
28309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28310   (eval $ac_try) 2>&5
28311   ac_status=$?
28312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28313   (exit $ac_status); }; } &&
28314          { ac_try='test -s conftest.$ac_objext'
28315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28316   (eval $ac_try) 2>&5
28317   ac_status=$?
28318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28319   (exit $ac_status); }; }; then
28320   ac_header_compiler=yes
28321 else
28322   echo "$as_me: failed program was:" >&5
28323 sed 's/^/| /' conftest.$ac_ext >&5
28324
28325 ac_header_compiler=no
28326 fi
28327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28328 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28329 echo "${ECHO_T}$ac_header_compiler" >&6
28330
28331 # Is the header present?
28332 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28333 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28334 cat >conftest.$ac_ext <<_ACEOF
28335 /* confdefs.h.  */
28336 _ACEOF
28337 cat confdefs.h >>conftest.$ac_ext
28338 cat >>conftest.$ac_ext <<_ACEOF
28339 /* end confdefs.h.  */
28340 #include <iconv.h>
28341 _ACEOF
28342 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28343   (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
28350   if test -s conftest.err; then
28351     ac_cpp_err=$ac_c_preproc_warn_flag
28352     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28353   else
28354     ac_cpp_err=
28355   fi
28356 else
28357   ac_cpp_err=yes
28358 fi
28359 if test -z "$ac_cpp_err"; then
28360   ac_header_preproc=yes
28361 else
28362   echo "$as_me: failed program was:" >&5
28363 sed 's/^/| /' conftest.$ac_ext >&5
28364
28365   ac_header_preproc=no
28366 fi
28367 rm -f conftest.err conftest.$ac_ext
28368 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28369 echo "${ECHO_T}$ac_header_preproc" >&6
28370
28371 # So?  What about this header?
28372 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28373   yes:no: )
28374     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28375 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28376     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28377 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28378     ac_header_preproc=yes
28379     ;;
28380   no:yes:* )
28381     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28382 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28383     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
28384 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
28385     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28386 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28387     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
28388 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28389     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28390 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28391     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28392 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28393     (
28394       cat <<\_ASBOX
28395 ## ----------------------------------------- ##
28396 ## Report this to the package-unused lists.  ##
28397 ## ----------------------------------------- ##
28398 _ASBOX
28399     ) |
28400       sed "s/^/$as_me: WARNING:     /" >&2
28401     ;;
28402 esac
28403 echo "$as_me:$LINENO: checking for iconv.h" >&5
28404 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28405 if test "${ac_cv_header_iconv_h+set}" = set; then
28406   echo $ECHO_N "(cached) $ECHO_C" >&6
28407 else
28408   ac_cv_header_iconv_h=$ac_header_preproc
28409 fi
28410 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28411 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28412
28413 fi
28414 if test $ac_cv_header_iconv_h = yes; then
28415   ac_has_iconv_h=yes
28416 else
28417   ac_has_iconv_h=no
28418 fi
28419
28420
28421     if test "${ac_cv_header_langinfo_h+set}" = set; then
28422   echo "$as_me:$LINENO: checking for langinfo.h" >&5
28423 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28424 if test "${ac_cv_header_langinfo_h+set}" = set; then
28425   echo $ECHO_N "(cached) $ECHO_C" >&6
28426 fi
28427 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28428 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28429 else
28430   # Is the header compilable?
28431 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28432 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28433 cat >conftest.$ac_ext <<_ACEOF
28434 /* confdefs.h.  */
28435 _ACEOF
28436 cat confdefs.h >>conftest.$ac_ext
28437 cat >>conftest.$ac_ext <<_ACEOF
28438 /* end confdefs.h.  */
28439 $ac_includes_default
28440 #include <langinfo.h>
28441 _ACEOF
28442 rm -f conftest.$ac_objext
28443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28444   (eval $ac_compile) 2>conftest.er1
28445   ac_status=$?
28446   grep -v '^ *+' conftest.er1 >conftest.err
28447   rm -f conftest.er1
28448   cat conftest.err >&5
28449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28450   (exit $ac_status); } &&
28451          { ac_try='test -z "$ac_c_werror_flag"
28452                          || test ! -s conftest.err'
28453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28454   (eval $ac_try) 2>&5
28455   ac_status=$?
28456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28457   (exit $ac_status); }; } &&
28458          { ac_try='test -s conftest.$ac_objext'
28459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28460   (eval $ac_try) 2>&5
28461   ac_status=$?
28462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28463   (exit $ac_status); }; }; then
28464   ac_header_compiler=yes
28465 else
28466   echo "$as_me: failed program was:" >&5
28467 sed 's/^/| /' conftest.$ac_ext >&5
28468
28469 ac_header_compiler=no
28470 fi
28471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28472 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28473 echo "${ECHO_T}$ac_header_compiler" >&6
28474
28475 # Is the header present?
28476 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28477 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28478 cat >conftest.$ac_ext <<_ACEOF
28479 /* confdefs.h.  */
28480 _ACEOF
28481 cat confdefs.h >>conftest.$ac_ext
28482 cat >>conftest.$ac_ext <<_ACEOF
28483 /* end confdefs.h.  */
28484 #include <langinfo.h>
28485 _ACEOF
28486 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28487   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28488   ac_status=$?
28489   grep -v '^ *+' conftest.er1 >conftest.err
28490   rm -f conftest.er1
28491   cat conftest.err >&5
28492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28493   (exit $ac_status); } >/dev/null; then
28494   if test -s conftest.err; then
28495     ac_cpp_err=$ac_c_preproc_warn_flag
28496     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28497   else
28498     ac_cpp_err=
28499   fi
28500 else
28501   ac_cpp_err=yes
28502 fi
28503 if test -z "$ac_cpp_err"; then
28504   ac_header_preproc=yes
28505 else
28506   echo "$as_me: failed program was:" >&5
28507 sed 's/^/| /' conftest.$ac_ext >&5
28508
28509   ac_header_preproc=no
28510 fi
28511 rm -f conftest.err conftest.$ac_ext
28512 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28513 echo "${ECHO_T}$ac_header_preproc" >&6
28514
28515 # So?  What about this header?
28516 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28517   yes:no: )
28518     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28519 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28520     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28521 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28522     ac_header_preproc=yes
28523     ;;
28524   no:yes:* )
28525     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28526 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28527     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
28528 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
28529     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28530 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28531     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
28532 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28533     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28534 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28535     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28536 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28537     (
28538       cat <<\_ASBOX
28539 ## ----------------------------------------- ##
28540 ## Report this to the package-unused lists.  ##
28541 ## ----------------------------------------- ##
28542 _ASBOX
28543     ) |
28544       sed "s/^/$as_me: WARNING:     /" >&2
28545     ;;
28546 esac
28547 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28548 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28549 if test "${ac_cv_header_langinfo_h+set}" = set; then
28550   echo $ECHO_N "(cached) $ECHO_C" >&6
28551 else
28552   ac_cv_header_langinfo_h=$ac_header_preproc
28553 fi
28554 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28555 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28556
28557 fi
28558 if test $ac_cv_header_langinfo_h = yes; then
28559   ac_has_langinfo_h=yes
28560 else
28561   ac_has_langinfo_h=no
28562 fi
28563
28564
28565
28566     # Check for existence of libiconv.a providing XPG2 wchar_t support.
28567     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28568 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28569 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28570   echo $ECHO_N "(cached) $ECHO_C" >&6
28571 else
28572   ac_check_lib_save_LIBS=$LIBS
28573 LIBS="-liconv  $LIBS"
28574 if test x$gcc_no_link = xyes; then
28575   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28577    { (exit 1); exit 1; }; }
28578 fi
28579 cat >conftest.$ac_ext <<_ACEOF
28580 /* confdefs.h.  */
28581 _ACEOF
28582 cat confdefs.h >>conftest.$ac_ext
28583 cat >>conftest.$ac_ext <<_ACEOF
28584 /* end confdefs.h.  */
28585
28586 /* Override any gcc2 internal prototype to avoid an error.  */
28587 #ifdef __cplusplus
28588 extern "C"
28589 #endif
28590 /* We use char because int might match the return type of a gcc2
28591    builtin and then its argument prototype would still apply.  */
28592 char iconv ();
28593 int
28594 main ()
28595 {
28596 iconv ();
28597   ;
28598   return 0;
28599 }
28600 _ACEOF
28601 rm -f conftest.$ac_objext conftest$ac_exeext
28602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28603   (eval $ac_link) 2>conftest.er1
28604   ac_status=$?
28605   grep -v '^ *+' conftest.er1 >conftest.err
28606   rm -f conftest.er1
28607   cat conftest.err >&5
28608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28609   (exit $ac_status); } &&
28610          { ac_try='test -z "$ac_c_werror_flag"
28611                          || test ! -s conftest.err'
28612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28613   (eval $ac_try) 2>&5
28614   ac_status=$?
28615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28616   (exit $ac_status); }; } &&
28617          { ac_try='test -s conftest$ac_exeext'
28618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28619   (eval $ac_try) 2>&5
28620   ac_status=$?
28621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28622   (exit $ac_status); }; }; then
28623   ac_cv_lib_iconv_iconv=yes
28624 else
28625   echo "$as_me: failed program was:" >&5
28626 sed 's/^/| /' conftest.$ac_ext >&5
28627
28628 ac_cv_lib_iconv_iconv=no
28629 fi
28630 rm -f conftest.err conftest.$ac_objext \
28631       conftest$ac_exeext conftest.$ac_ext
28632 LIBS=$ac_check_lib_save_LIBS
28633 fi
28634 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28635 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28636 if test $ac_cv_lib_iconv_iconv = yes; then
28637   LIBICONV="-liconv"
28638 fi
28639
28640     ac_save_LIBS="$LIBS"
28641     LIBS="$LIBS $LIBICONV"
28642
28643
28644
28645
28646
28647
28648 for ac_func in iconv_open iconv_close iconv nl_langinfo
28649 do
28650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28651 echo "$as_me:$LINENO: checking for $ac_func" >&5
28652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28653 if eval "test \"\${$as_ac_var+set}\" = set"; then
28654   echo $ECHO_N "(cached) $ECHO_C" >&6
28655 else
28656   if test x$gcc_no_link = xyes; then
28657   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28659    { (exit 1); exit 1; }; }
28660 fi
28661 cat >conftest.$ac_ext <<_ACEOF
28662 /* confdefs.h.  */
28663 _ACEOF
28664 cat confdefs.h >>conftest.$ac_ext
28665 cat >>conftest.$ac_ext <<_ACEOF
28666 /* end confdefs.h.  */
28667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28668    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28669 #define $ac_func innocuous_$ac_func
28670
28671 /* System header to define __stub macros and hopefully few prototypes,
28672     which can conflict with char $ac_func (); below.
28673     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28674     <limits.h> exists even on freestanding compilers.  */
28675
28676 #ifdef __STDC__
28677 # include <limits.h>
28678 #else
28679 # include <assert.h>
28680 #endif
28681
28682 #undef $ac_func
28683
28684 /* Override any gcc2 internal prototype to avoid an error.  */
28685 #ifdef __cplusplus
28686 extern "C"
28687 {
28688 #endif
28689 /* We use char because int might match the return type of a gcc2
28690    builtin and then its argument prototype would still apply.  */
28691 char $ac_func ();
28692 /* The GNU C library defines this for functions which it implements
28693     to always fail with ENOSYS.  Some functions are actually named
28694     something starting with __ and the normal name is an alias.  */
28695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28696 choke me
28697 #else
28698 char (*f) () = $ac_func;
28699 #endif
28700 #ifdef __cplusplus
28701 }
28702 #endif
28703
28704 int
28705 main ()
28706 {
28707 return f != $ac_func;
28708   ;
28709   return 0;
28710 }
28711 _ACEOF
28712 rm -f conftest.$ac_objext conftest$ac_exeext
28713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28714   (eval $ac_link) 2>conftest.er1
28715   ac_status=$?
28716   grep -v '^ *+' conftest.er1 >conftest.err
28717   rm -f conftest.er1
28718   cat conftest.err >&5
28719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28720   (exit $ac_status); } &&
28721          { ac_try='test -z "$ac_c_werror_flag"
28722                          || test ! -s conftest.err'
28723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28724   (eval $ac_try) 2>&5
28725   ac_status=$?
28726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28727   (exit $ac_status); }; } &&
28728          { ac_try='test -s conftest$ac_exeext'
28729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28730   (eval $ac_try) 2>&5
28731   ac_status=$?
28732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28733   (exit $ac_status); }; }; then
28734   eval "$as_ac_var=yes"
28735 else
28736   echo "$as_me: failed program was:" >&5
28737 sed 's/^/| /' conftest.$ac_ext >&5
28738
28739 eval "$as_ac_var=no"
28740 fi
28741 rm -f conftest.err conftest.$ac_objext \
28742       conftest$ac_exeext conftest.$ac_ext
28743 fi
28744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28746 if test `eval echo '${'$as_ac_var'}'` = yes; then
28747   cat >>confdefs.h <<_ACEOF
28748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28749 _ACEOF
28750  ac_XPG2funcs=yes
28751 else
28752   ac_XPG2funcs=no
28753 fi
28754 done
28755
28756
28757     LIBS="$ac_save_LIBS"
28758
28759     if test x"$ac_has_iconv_h" = xyes &&
28760        test x"$ac_has_langinfo_h" = xyes &&
28761        test x"$ac_XPG2funcs" = xyes;
28762     then
28763
28764 cat >>confdefs.h <<\_ACEOF
28765 #define _GLIBCXX_USE_ICONV 1
28766 _ACEOF
28767
28768       enable_iconv=yes
28769     fi
28770   fi
28771   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
28772 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
28773   echo "$as_me:$LINENO: result: $enable_iconv" >&5
28774 echo "${ECHO_T}$enable_iconv" >&6
28775
28776
28777   ac_test_CXXFLAGS="${CXXFLAGS+set}"
28778   ac_save_CXXFLAGS="$CXXFLAGS"
28779   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28780
28781
28782   echo "$as_me:$LINENO: checking for strtold declaration" >&5
28783 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
28784   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28785     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
28786   echo $ECHO_N "(cached) $ECHO_C" >&6
28787 else
28788
28789
28790
28791       ac_ext=cc
28792 ac_cpp='$CXXCPP $CPPFLAGS'
28793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28796
28797       cat >conftest.$ac_ext <<_ACEOF
28798 /* confdefs.h.  */
28799 _ACEOF
28800 cat confdefs.h >>conftest.$ac_ext
28801 cat >>conftest.$ac_ext <<_ACEOF
28802 /* end confdefs.h.  */
28803 #include <stdlib.h>
28804 int
28805 main ()
28806 {
28807  strtold(0, 0);
28808   ;
28809   return 0;
28810 }
28811 _ACEOF
28812 rm -f conftest.$ac_objext
28813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28814   (eval $ac_compile) 2>conftest.er1
28815   ac_status=$?
28816   grep -v '^ *+' conftest.er1 >conftest.err
28817   rm -f conftest.er1
28818   cat conftest.err >&5
28819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28820   (exit $ac_status); } &&
28821          { ac_try='test -z "$ac_cxx_werror_flag"
28822                          || test ! -s conftest.err'
28823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28824   (eval $ac_try) 2>&5
28825   ac_status=$?
28826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28827   (exit $ac_status); }; } &&
28828          { ac_try='test -s conftest.$ac_objext'
28829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28830   (eval $ac_try) 2>&5
28831   ac_status=$?
28832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28833   (exit $ac_status); }; }; then
28834   glibcxx_cv_func_strtold_use=yes
28835 else
28836   echo "$as_me: failed program was:" >&5
28837 sed 's/^/| /' conftest.$ac_ext >&5
28838
28839 glibcxx_cv_func_strtold_use=no
28840 fi
28841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28842       ac_ext=c
28843 ac_cpp='$CPP $CPPFLAGS'
28844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28847
28848
28849 fi
28850
28851   fi
28852   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
28853 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
28854   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28855
28856 for ac_func in strtold
28857 do
28858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28859 echo "$as_me:$LINENO: checking for $ac_func" >&5
28860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28861 if eval "test \"\${$as_ac_var+set}\" = set"; then
28862   echo $ECHO_N "(cached) $ECHO_C" >&6
28863 else
28864   if test x$gcc_no_link = xyes; then
28865   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28867    { (exit 1); exit 1; }; }
28868 fi
28869 cat >conftest.$ac_ext <<_ACEOF
28870 /* confdefs.h.  */
28871 _ACEOF
28872 cat confdefs.h >>conftest.$ac_ext
28873 cat >>conftest.$ac_ext <<_ACEOF
28874 /* end confdefs.h.  */
28875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28876    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28877 #define $ac_func innocuous_$ac_func
28878
28879 /* System header to define __stub macros and hopefully few prototypes,
28880     which can conflict with char $ac_func (); below.
28881     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28882     <limits.h> exists even on freestanding compilers.  */
28883
28884 #ifdef __STDC__
28885 # include <limits.h>
28886 #else
28887 # include <assert.h>
28888 #endif
28889
28890 #undef $ac_func
28891
28892 /* Override any gcc2 internal prototype to avoid an error.  */
28893 #ifdef __cplusplus
28894 extern "C"
28895 {
28896 #endif
28897 /* We use char because int might match the return type of a gcc2
28898    builtin and then its argument prototype would still apply.  */
28899 char $ac_func ();
28900 /* The GNU C library defines this for functions which it implements
28901     to always fail with ENOSYS.  Some functions are actually named
28902     something starting with __ and the normal name is an alias.  */
28903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28904 choke me
28905 #else
28906 char (*f) () = $ac_func;
28907 #endif
28908 #ifdef __cplusplus
28909 }
28910 #endif
28911
28912 int
28913 main ()
28914 {
28915 return f != $ac_func;
28916   ;
28917   return 0;
28918 }
28919 _ACEOF
28920 rm -f conftest.$ac_objext conftest$ac_exeext
28921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28922   (eval $ac_link) 2>conftest.er1
28923   ac_status=$?
28924   grep -v '^ *+' conftest.er1 >conftest.err
28925   rm -f conftest.er1
28926   cat conftest.err >&5
28927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28928   (exit $ac_status); } &&
28929          { ac_try='test -z "$ac_c_werror_flag"
28930                          || test ! -s conftest.err'
28931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28932   (eval $ac_try) 2>&5
28933   ac_status=$?
28934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28935   (exit $ac_status); }; } &&
28936          { ac_try='test -s conftest$ac_exeext'
28937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28938   (eval $ac_try) 2>&5
28939   ac_status=$?
28940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28941   (exit $ac_status); }; }; then
28942   eval "$as_ac_var=yes"
28943 else
28944   echo "$as_me: failed program was:" >&5
28945 sed 's/^/| /' conftest.$ac_ext >&5
28946
28947 eval "$as_ac_var=no"
28948 fi
28949 rm -f conftest.err conftest.$ac_objext \
28950       conftest$ac_exeext conftest.$ac_ext
28951 fi
28952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28954 if test `eval echo '${'$as_ac_var'}'` = yes; then
28955   cat >>confdefs.h <<_ACEOF
28956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28957 _ACEOF
28958
28959 fi
28960 done
28961
28962   fi
28963
28964
28965
28966
28967
28968   echo "$as_me:$LINENO: checking for strtof declaration" >&5
28969 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
28970   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28971     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
28972   echo $ECHO_N "(cached) $ECHO_C" >&6
28973 else
28974
28975
28976
28977       ac_ext=cc
28978 ac_cpp='$CXXCPP $CPPFLAGS'
28979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28982
28983       cat >conftest.$ac_ext <<_ACEOF
28984 /* confdefs.h.  */
28985 _ACEOF
28986 cat confdefs.h >>conftest.$ac_ext
28987 cat >>conftest.$ac_ext <<_ACEOF
28988 /* end confdefs.h.  */
28989 #include <stdlib.h>
28990 int
28991 main ()
28992 {
28993  strtof(0, 0);
28994   ;
28995   return 0;
28996 }
28997 _ACEOF
28998 rm -f conftest.$ac_objext
28999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29000   (eval $ac_compile) 2>conftest.er1
29001   ac_status=$?
29002   grep -v '^ *+' conftest.er1 >conftest.err
29003   rm -f conftest.er1
29004   cat conftest.err >&5
29005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29006   (exit $ac_status); } &&
29007          { ac_try='test -z "$ac_cxx_werror_flag"
29008                          || test ! -s conftest.err'
29009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29010   (eval $ac_try) 2>&5
29011   ac_status=$?
29012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29013   (exit $ac_status); }; } &&
29014          { ac_try='test -s conftest.$ac_objext'
29015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29016   (eval $ac_try) 2>&5
29017   ac_status=$?
29018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29019   (exit $ac_status); }; }; then
29020   glibcxx_cv_func_strtof_use=yes
29021 else
29022   echo "$as_me: failed program was:" >&5
29023 sed 's/^/| /' conftest.$ac_ext >&5
29024
29025 glibcxx_cv_func_strtof_use=no
29026 fi
29027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29028       ac_ext=c
29029 ac_cpp='$CPP $CPPFLAGS'
29030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29033
29034
29035 fi
29036
29037   fi
29038   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29039 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29040   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29041
29042 for ac_func in strtof
29043 do
29044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29045 echo "$as_me:$LINENO: checking for $ac_func" >&5
29046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29047 if eval "test \"\${$as_ac_var+set}\" = set"; then
29048   echo $ECHO_N "(cached) $ECHO_C" >&6
29049 else
29050   if test x$gcc_no_link = xyes; then
29051   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29053    { (exit 1); exit 1; }; }
29054 fi
29055 cat >conftest.$ac_ext <<_ACEOF
29056 /* confdefs.h.  */
29057 _ACEOF
29058 cat confdefs.h >>conftest.$ac_ext
29059 cat >>conftest.$ac_ext <<_ACEOF
29060 /* end confdefs.h.  */
29061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29062    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29063 #define $ac_func innocuous_$ac_func
29064
29065 /* System header to define __stub macros and hopefully few prototypes,
29066     which can conflict with char $ac_func (); below.
29067     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29068     <limits.h> exists even on freestanding compilers.  */
29069
29070 #ifdef __STDC__
29071 # include <limits.h>
29072 #else
29073 # include <assert.h>
29074 #endif
29075
29076 #undef $ac_func
29077
29078 /* Override any gcc2 internal prototype to avoid an error.  */
29079 #ifdef __cplusplus
29080 extern "C"
29081 {
29082 #endif
29083 /* We use char because int might match the return type of a gcc2
29084    builtin and then its argument prototype would still apply.  */
29085 char $ac_func ();
29086 /* The GNU C library defines this for functions which it implements
29087     to always fail with ENOSYS.  Some functions are actually named
29088     something starting with __ and the normal name is an alias.  */
29089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29090 choke me
29091 #else
29092 char (*f) () = $ac_func;
29093 #endif
29094 #ifdef __cplusplus
29095 }
29096 #endif
29097
29098 int
29099 main ()
29100 {
29101 return f != $ac_func;
29102   ;
29103   return 0;
29104 }
29105 _ACEOF
29106 rm -f conftest.$ac_objext conftest$ac_exeext
29107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29108   (eval $ac_link) 2>conftest.er1
29109   ac_status=$?
29110   grep -v '^ *+' conftest.er1 >conftest.err
29111   rm -f conftest.er1
29112   cat conftest.err >&5
29113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29114   (exit $ac_status); } &&
29115          { ac_try='test -z "$ac_c_werror_flag"
29116                          || test ! -s conftest.err'
29117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29118   (eval $ac_try) 2>&5
29119   ac_status=$?
29120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29121   (exit $ac_status); }; } &&
29122          { ac_try='test -s conftest$ac_exeext'
29123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29124   (eval $ac_try) 2>&5
29125   ac_status=$?
29126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29127   (exit $ac_status); }; }; then
29128   eval "$as_ac_var=yes"
29129 else
29130   echo "$as_me: failed program was:" >&5
29131 sed 's/^/| /' conftest.$ac_ext >&5
29132
29133 eval "$as_ac_var=no"
29134 fi
29135 rm -f conftest.err conftest.$ac_objext \
29136       conftest$ac_exeext conftest.$ac_ext
29137 fi
29138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29140 if test `eval echo '${'$as_ac_var'}'` = yes; then
29141   cat >>confdefs.h <<_ACEOF
29142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29143 _ACEOF
29144
29145 fi
29146 done
29147
29148   fi
29149
29150
29151
29152
29153
29154   CXXFLAGS="$ac_save_CXXFLAGS"
29155
29156
29157   # For showmanyc_helper().
29158
29159
29160 for ac_header in sys/ioctl.h sys/filio.h
29161 do
29162 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29164   echo "$as_me:$LINENO: checking for $ac_header" >&5
29165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29167   echo $ECHO_N "(cached) $ECHO_C" >&6
29168 fi
29169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29171 else
29172   # Is the header compilable?
29173 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29174 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29175 cat >conftest.$ac_ext <<_ACEOF
29176 /* confdefs.h.  */
29177 _ACEOF
29178 cat confdefs.h >>conftest.$ac_ext
29179 cat >>conftest.$ac_ext <<_ACEOF
29180 /* end confdefs.h.  */
29181 $ac_includes_default
29182 #include <$ac_header>
29183 _ACEOF
29184 rm -f conftest.$ac_objext
29185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29186   (eval $ac_compile) 2>conftest.er1
29187   ac_status=$?
29188   grep -v '^ *+' conftest.er1 >conftest.err
29189   rm -f conftest.er1
29190   cat conftest.err >&5
29191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29192   (exit $ac_status); } &&
29193          { ac_try='test -z "$ac_c_werror_flag"
29194                          || test ! -s conftest.err'
29195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29196   (eval $ac_try) 2>&5
29197   ac_status=$?
29198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29199   (exit $ac_status); }; } &&
29200          { ac_try='test -s conftest.$ac_objext'
29201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29202   (eval $ac_try) 2>&5
29203   ac_status=$?
29204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29205   (exit $ac_status); }; }; then
29206   ac_header_compiler=yes
29207 else
29208   echo "$as_me: failed program was:" >&5
29209 sed 's/^/| /' conftest.$ac_ext >&5
29210
29211 ac_header_compiler=no
29212 fi
29213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29214 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29215 echo "${ECHO_T}$ac_header_compiler" >&6
29216
29217 # Is the header present?
29218 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29219 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29220 cat >conftest.$ac_ext <<_ACEOF
29221 /* confdefs.h.  */
29222 _ACEOF
29223 cat confdefs.h >>conftest.$ac_ext
29224 cat >>conftest.$ac_ext <<_ACEOF
29225 /* end confdefs.h.  */
29226 #include <$ac_header>
29227 _ACEOF
29228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29229   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29230   ac_status=$?
29231   grep -v '^ *+' conftest.er1 >conftest.err
29232   rm -f conftest.er1
29233   cat conftest.err >&5
29234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29235   (exit $ac_status); } >/dev/null; then
29236   if test -s conftest.err; then
29237     ac_cpp_err=$ac_c_preproc_warn_flag
29238     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29239   else
29240     ac_cpp_err=
29241   fi
29242 else
29243   ac_cpp_err=yes
29244 fi
29245 if test -z "$ac_cpp_err"; then
29246   ac_header_preproc=yes
29247 else
29248   echo "$as_me: failed program was:" >&5
29249 sed 's/^/| /' conftest.$ac_ext >&5
29250
29251   ac_header_preproc=no
29252 fi
29253 rm -f conftest.err conftest.$ac_ext
29254 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29255 echo "${ECHO_T}$ac_header_preproc" >&6
29256
29257 # So?  What about this header?
29258 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29259   yes:no: )
29260     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29261 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29262     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29263 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29264     ac_header_preproc=yes
29265     ;;
29266   no:yes:* )
29267     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29268 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29269     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29270 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29271     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29272 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29273     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29274 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29275     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29276 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29277     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29278 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29279     (
29280       cat <<\_ASBOX
29281 ## ----------------------------------------- ##
29282 ## Report this to the package-unused lists.  ##
29283 ## ----------------------------------------- ##
29284 _ASBOX
29285     ) |
29286       sed "s/^/$as_me: WARNING:     /" >&2
29287     ;;
29288 esac
29289 echo "$as_me:$LINENO: checking for $ac_header" >&5
29290 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29292   echo $ECHO_N "(cached) $ECHO_C" >&6
29293 else
29294   eval "$as_ac_Header=\$ac_header_preproc"
29295 fi
29296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29298
29299 fi
29300 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29301   cat >>confdefs.h <<_ACEOF
29302 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29303 _ACEOF
29304
29305 fi
29306
29307 done
29308
29309
29310   echo "$as_me:$LINENO: checking for poll" >&5
29311 echo $ECHO_N "checking for poll... $ECHO_C" >&6
29312   if test "${glibcxx_cv_POLL+set}" = set; then
29313   echo $ECHO_N "(cached) $ECHO_C" >&6
29314 else
29315
29316     if test x$gcc_no_link = xyes; then
29317   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29319    { (exit 1); exit 1; }; }
29320 fi
29321 cat >conftest.$ac_ext <<_ACEOF
29322 /* confdefs.h.  */
29323 _ACEOF
29324 cat confdefs.h >>conftest.$ac_ext
29325 cat >>conftest.$ac_ext <<_ACEOF
29326 /* end confdefs.h.  */
29327 #include <poll.h>
29328 int
29329 main ()
29330 {
29331 struct pollfd pfd[1];
29332        pfd[0].events = POLLIN;
29333        poll(pfd, 1, 0);
29334   ;
29335   return 0;
29336 }
29337 _ACEOF
29338 rm -f conftest.$ac_objext conftest$ac_exeext
29339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29340   (eval $ac_link) 2>conftest.er1
29341   ac_status=$?
29342   grep -v '^ *+' conftest.er1 >conftest.err
29343   rm -f conftest.er1
29344   cat conftest.err >&5
29345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29346   (exit $ac_status); } &&
29347          { ac_try='test -z "$ac_c_werror_flag"
29348                          || test ! -s conftest.err'
29349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29350   (eval $ac_try) 2>&5
29351   ac_status=$?
29352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29353   (exit $ac_status); }; } &&
29354          { ac_try='test -s conftest$ac_exeext'
29355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29356   (eval $ac_try) 2>&5
29357   ac_status=$?
29358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29359   (exit $ac_status); }; }; then
29360   glibcxx_cv_POLL=yes
29361 else
29362   echo "$as_me: failed program was:" >&5
29363 sed 's/^/| /' conftest.$ac_ext >&5
29364
29365 glibcxx_cv_POLL=no
29366 fi
29367 rm -f conftest.err conftest.$ac_objext \
29368       conftest$ac_exeext conftest.$ac_ext
29369
29370 fi
29371
29372   if test $glibcxx_cv_POLL = yes; then
29373
29374 cat >>confdefs.h <<\_ACEOF
29375 #define HAVE_POLL 1
29376 _ACEOF
29377
29378   fi
29379   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
29380 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
29381
29382
29383   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
29384 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
29385   if test "${glibcxx_cv_S_ISREG+set}" = set; then
29386   echo $ECHO_N "(cached) $ECHO_C" >&6
29387 else
29388
29389     if test x$gcc_no_link = xyes; then
29390   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29392    { (exit 1); exit 1; }; }
29393 fi
29394 cat >conftest.$ac_ext <<_ACEOF
29395 /* confdefs.h.  */
29396 _ACEOF
29397 cat confdefs.h >>conftest.$ac_ext
29398 cat >>conftest.$ac_ext <<_ACEOF
29399 /* end confdefs.h.  */
29400 #include <sys/stat.h>
29401 int
29402 main ()
29403 {
29404 struct stat buffer;
29405        fstat(0, &buffer);
29406        S_ISREG(buffer.st_mode);
29407   ;
29408   return 0;
29409 }
29410 _ACEOF
29411 rm -f conftest.$ac_objext conftest$ac_exeext
29412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29413   (eval $ac_link) 2>conftest.er1
29414   ac_status=$?
29415   grep -v '^ *+' conftest.er1 >conftest.err
29416   rm -f conftest.er1
29417   cat conftest.err >&5
29418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29419   (exit $ac_status); } &&
29420          { ac_try='test -z "$ac_c_werror_flag"
29421                          || test ! -s conftest.err'
29422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29423   (eval $ac_try) 2>&5
29424   ac_status=$?
29425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29426   (exit $ac_status); }; } &&
29427          { ac_try='test -s conftest$ac_exeext'
29428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29429   (eval $ac_try) 2>&5
29430   ac_status=$?
29431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29432   (exit $ac_status); }; }; then
29433   glibcxx_cv_S_ISREG=yes
29434 else
29435   echo "$as_me: failed program was:" >&5
29436 sed 's/^/| /' conftest.$ac_ext >&5
29437
29438 glibcxx_cv_S_ISREG=no
29439 fi
29440 rm -f conftest.err conftest.$ac_objext \
29441       conftest$ac_exeext conftest.$ac_ext
29442
29443 fi
29444
29445   if test "${glibcxx_cv_S_IFREG+set}" = set; then
29446   echo $ECHO_N "(cached) $ECHO_C" >&6
29447 else
29448
29449     if test x$gcc_no_link = xyes; then
29450   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29452    { (exit 1); exit 1; }; }
29453 fi
29454 cat >conftest.$ac_ext <<_ACEOF
29455 /* confdefs.h.  */
29456 _ACEOF
29457 cat confdefs.h >>conftest.$ac_ext
29458 cat >>conftest.$ac_ext <<_ACEOF
29459 /* end confdefs.h.  */
29460 #include <sys/stat.h>
29461 int
29462 main ()
29463 {
29464 struct stat buffer;
29465        fstat(0, &buffer);
29466        S_IFREG & buffer.st_mode;
29467   ;
29468   return 0;
29469 }
29470 _ACEOF
29471 rm -f conftest.$ac_objext conftest$ac_exeext
29472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29473   (eval $ac_link) 2>conftest.er1
29474   ac_status=$?
29475   grep -v '^ *+' conftest.er1 >conftest.err
29476   rm -f conftest.er1
29477   cat conftest.err >&5
29478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29479   (exit $ac_status); } &&
29480          { ac_try='test -z "$ac_c_werror_flag"
29481                          || test ! -s conftest.err'
29482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29483   (eval $ac_try) 2>&5
29484   ac_status=$?
29485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29486   (exit $ac_status); }; } &&
29487          { ac_try='test -s conftest$ac_exeext'
29488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29489   (eval $ac_try) 2>&5
29490   ac_status=$?
29491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29492   (exit $ac_status); }; }; then
29493   glibcxx_cv_S_IFREG=yes
29494 else
29495   echo "$as_me: failed program was:" >&5
29496 sed 's/^/| /' conftest.$ac_ext >&5
29497
29498 glibcxx_cv_S_IFREG=no
29499 fi
29500 rm -f conftest.err conftest.$ac_objext \
29501       conftest$ac_exeext conftest.$ac_ext
29502
29503 fi
29504
29505   res=no
29506   if test $glibcxx_cv_S_ISREG = yes; then
29507
29508 cat >>confdefs.h <<\_ACEOF
29509 #define HAVE_S_ISREG 1
29510 _ACEOF
29511
29512     res=S_ISREG
29513   elif test $glibcxx_cv_S_IFREG = yes; then
29514
29515 cat >>confdefs.h <<\_ACEOF
29516 #define HAVE_S_IFREG 1
29517 _ACEOF
29518
29519     res=S_IFREG
29520   fi
29521   echo "$as_me:$LINENO: result: $res" >&5
29522 echo "${ECHO_T}$res" >&6
29523
29524
29525   # For xsputn_2().
29526
29527 for ac_header in sys/uio.h
29528 do
29529 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29530 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29531   echo "$as_me:$LINENO: checking for $ac_header" >&5
29532 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29534   echo $ECHO_N "(cached) $ECHO_C" >&6
29535 fi
29536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29537 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29538 else
29539   # Is the header compilable?
29540 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29541 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29542 cat >conftest.$ac_ext <<_ACEOF
29543 /* confdefs.h.  */
29544 _ACEOF
29545 cat confdefs.h >>conftest.$ac_ext
29546 cat >>conftest.$ac_ext <<_ACEOF
29547 /* end confdefs.h.  */
29548 $ac_includes_default
29549 #include <$ac_header>
29550 _ACEOF
29551 rm -f conftest.$ac_objext
29552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29553   (eval $ac_compile) 2>conftest.er1
29554   ac_status=$?
29555   grep -v '^ *+' conftest.er1 >conftest.err
29556   rm -f conftest.er1
29557   cat conftest.err >&5
29558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29559   (exit $ac_status); } &&
29560          { ac_try='test -z "$ac_c_werror_flag"
29561                          || test ! -s conftest.err'
29562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29563   (eval $ac_try) 2>&5
29564   ac_status=$?
29565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29566   (exit $ac_status); }; } &&
29567          { ac_try='test -s conftest.$ac_objext'
29568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29569   (eval $ac_try) 2>&5
29570   ac_status=$?
29571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29572   (exit $ac_status); }; }; then
29573   ac_header_compiler=yes
29574 else
29575   echo "$as_me: failed program was:" >&5
29576 sed 's/^/| /' conftest.$ac_ext >&5
29577
29578 ac_header_compiler=no
29579 fi
29580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29581 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29582 echo "${ECHO_T}$ac_header_compiler" >&6
29583
29584 # Is the header present?
29585 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29586 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29587 cat >conftest.$ac_ext <<_ACEOF
29588 /* confdefs.h.  */
29589 _ACEOF
29590 cat confdefs.h >>conftest.$ac_ext
29591 cat >>conftest.$ac_ext <<_ACEOF
29592 /* end confdefs.h.  */
29593 #include <$ac_header>
29594 _ACEOF
29595 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29596   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29597   ac_status=$?
29598   grep -v '^ *+' conftest.er1 >conftest.err
29599   rm -f conftest.er1
29600   cat conftest.err >&5
29601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29602   (exit $ac_status); } >/dev/null; then
29603   if test -s conftest.err; then
29604     ac_cpp_err=$ac_c_preproc_warn_flag
29605     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29606   else
29607     ac_cpp_err=
29608   fi
29609 else
29610   ac_cpp_err=yes
29611 fi
29612 if test -z "$ac_cpp_err"; then
29613   ac_header_preproc=yes
29614 else
29615   echo "$as_me: failed program was:" >&5
29616 sed 's/^/| /' conftest.$ac_ext >&5
29617
29618   ac_header_preproc=no
29619 fi
29620 rm -f conftest.err conftest.$ac_ext
29621 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29622 echo "${ECHO_T}$ac_header_preproc" >&6
29623
29624 # So?  What about this header?
29625 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29626   yes:no: )
29627     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29628 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29629     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29630 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29631     ac_header_preproc=yes
29632     ;;
29633   no:yes:* )
29634     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29635 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29636     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29637 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29638     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29639 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29640     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29641 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29642     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29643 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29644     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29645 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29646     (
29647       cat <<\_ASBOX
29648 ## ----------------------------------------- ##
29649 ## Report this to the package-unused lists.  ##
29650 ## ----------------------------------------- ##
29651 _ASBOX
29652     ) |
29653       sed "s/^/$as_me: WARNING:     /" >&2
29654     ;;
29655 esac
29656 echo "$as_me:$LINENO: checking for $ac_header" >&5
29657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29659   echo $ECHO_N "(cached) $ECHO_C" >&6
29660 else
29661   eval "$as_ac_Header=\$ac_header_preproc"
29662 fi
29663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29664 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29665
29666 fi
29667 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29668   cat >>confdefs.h <<_ACEOF
29669 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29670 _ACEOF
29671
29672 fi
29673
29674 done
29675
29676
29677   echo "$as_me:$LINENO: checking for writev" >&5
29678 echo $ECHO_N "checking for writev... $ECHO_C" >&6
29679   if test "${glibcxx_cv_WRITEV+set}" = set; then
29680   echo $ECHO_N "(cached) $ECHO_C" >&6
29681 else
29682
29683     if test x$gcc_no_link = xyes; then
29684   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29686    { (exit 1); exit 1; }; }
29687 fi
29688 cat >conftest.$ac_ext <<_ACEOF
29689 /* confdefs.h.  */
29690 _ACEOF
29691 cat confdefs.h >>conftest.$ac_ext
29692 cat >>conftest.$ac_ext <<_ACEOF
29693 /* end confdefs.h.  */
29694 #include <sys/uio.h>
29695 int
29696 main ()
29697 {
29698 struct iovec iov[2];
29699        writev(0, iov, 0);
29700   ;
29701   return 0;
29702 }
29703 _ACEOF
29704 rm -f conftest.$ac_objext conftest$ac_exeext
29705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29706   (eval $ac_link) 2>conftest.er1
29707   ac_status=$?
29708   grep -v '^ *+' conftest.er1 >conftest.err
29709   rm -f conftest.er1
29710   cat conftest.err >&5
29711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29712   (exit $ac_status); } &&
29713          { ac_try='test -z "$ac_c_werror_flag"
29714                          || test ! -s conftest.err'
29715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29716   (eval $ac_try) 2>&5
29717   ac_status=$?
29718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29719   (exit $ac_status); }; } &&
29720          { ac_try='test -s conftest$ac_exeext'
29721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29722   (eval $ac_try) 2>&5
29723   ac_status=$?
29724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29725   (exit $ac_status); }; }; then
29726   glibcxx_cv_WRITEV=yes
29727 else
29728   echo "$as_me: failed program was:" >&5
29729 sed 's/^/| /' conftest.$ac_ext >&5
29730
29731 glibcxx_cv_WRITEV=no
29732 fi
29733 rm -f conftest.err conftest.$ac_objext \
29734       conftest$ac_exeext conftest.$ac_ext
29735
29736 fi
29737
29738   if test $glibcxx_cv_WRITEV = yes; then
29739
29740 cat >>confdefs.h <<\_ACEOF
29741 #define HAVE_WRITEV 1
29742 _ACEOF
29743
29744   fi
29745   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
29746 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
29747
29748
29749   # For the __streamoff_base_type typedef.
29750
29751   echo "$as_me:$LINENO: checking for int64_t" >&5
29752 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
29753   if test "${glibcxx_cv_INT64_T+set}" = set; then
29754   echo $ECHO_N "(cached) $ECHO_C" >&6
29755 else
29756
29757     cat >conftest.$ac_ext <<_ACEOF
29758 /* confdefs.h.  */
29759 _ACEOF
29760 cat confdefs.h >>conftest.$ac_ext
29761 cat >>conftest.$ac_ext <<_ACEOF
29762 /* end confdefs.h.  */
29763 #include <stdint.h>
29764 int
29765 main ()
29766 {
29767 int64_t var;
29768   ;
29769   return 0;
29770 }
29771 _ACEOF
29772 rm -f conftest.$ac_objext
29773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29774   (eval $ac_compile) 2>conftest.er1
29775   ac_status=$?
29776   grep -v '^ *+' conftest.er1 >conftest.err
29777   rm -f conftest.er1
29778   cat conftest.err >&5
29779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29780   (exit $ac_status); } &&
29781          { ac_try='test -z "$ac_c_werror_flag"
29782                          || test ! -s conftest.err'
29783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29784   (eval $ac_try) 2>&5
29785   ac_status=$?
29786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29787   (exit $ac_status); }; } &&
29788          { ac_try='test -s conftest.$ac_objext'
29789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29790   (eval $ac_try) 2>&5
29791   ac_status=$?
29792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29793   (exit $ac_status); }; }; then
29794   glibcxx_cv_INT64_T=yes
29795 else
29796   echo "$as_me: failed program was:" >&5
29797 sed 's/^/| /' conftest.$ac_ext >&5
29798
29799 glibcxx_cv_INT64_T=no
29800 fi
29801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29802
29803 fi
29804
29805   if test $glibcxx_cv_INT64_T = yes; then
29806
29807 cat >>confdefs.h <<\_ACEOF
29808 #define HAVE_INT64_T 1
29809 _ACEOF
29810
29811   fi
29812   echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
29813 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
29814
29815
29816   # For LFS support.
29817
29818
29819
29820   ac_ext=cc
29821 ac_cpp='$CXXCPP $CPPFLAGS'
29822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29825
29826   ac_save_CXXFLAGS="$CXXFLAGS"
29827   CXXFLAGS="$CXXFLAGS -fno-exceptions"
29828   echo "$as_me:$LINENO: checking for LFS support" >&5
29829 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
29830   if test "${glibcxx_cv_LFS+set}" = set; then
29831   echo $ECHO_N "(cached) $ECHO_C" >&6
29832 else
29833
29834     if test x$gcc_no_link = xyes; then
29835   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29837    { (exit 1); exit 1; }; }
29838 fi
29839 cat >conftest.$ac_ext <<_ACEOF
29840 /* confdefs.h.  */
29841 _ACEOF
29842 cat confdefs.h >>conftest.$ac_ext
29843 cat >>conftest.$ac_ext <<_ACEOF
29844 /* end confdefs.h.  */
29845 #include <unistd.h>
29846        #include <stdio.h>
29847        #include <sys/stat.h>
29848
29849 int
29850 main ()
29851 {
29852 FILE* fp;
29853        fopen64("t", "w");
29854        fseeko64(fp, 0, SEEK_CUR);
29855        ftello64(fp);
29856        lseek64(1, 0, SEEK_CUR);
29857        struct stat64 buf;
29858        fstat64(1, &buf);
29859   ;
29860   return 0;
29861 }
29862 _ACEOF
29863 rm -f conftest.$ac_objext conftest$ac_exeext
29864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29865   (eval $ac_link) 2>conftest.er1
29866   ac_status=$?
29867   grep -v '^ *+' conftest.er1 >conftest.err
29868   rm -f conftest.er1
29869   cat conftest.err >&5
29870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29871   (exit $ac_status); } &&
29872          { ac_try='test -z "$ac_cxx_werror_flag"
29873                          || test ! -s conftest.err'
29874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29875   (eval $ac_try) 2>&5
29876   ac_status=$?
29877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29878   (exit $ac_status); }; } &&
29879          { ac_try='test -s conftest$ac_exeext'
29880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29881   (eval $ac_try) 2>&5
29882   ac_status=$?
29883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29884   (exit $ac_status); }; }; then
29885   glibcxx_cv_LFS=yes
29886 else
29887   echo "$as_me: failed program was:" >&5
29888 sed 's/^/| /' conftest.$ac_ext >&5
29889
29890 glibcxx_cv_LFS=no
29891 fi
29892 rm -f conftest.err conftest.$ac_objext \
29893       conftest$ac_exeext conftest.$ac_ext
29894
29895 fi
29896
29897   if test $glibcxx_cv_LFS = yes; then
29898
29899 cat >>confdefs.h <<\_ACEOF
29900 #define _GLIBCXX_USE_LFS 1
29901 _ACEOF
29902
29903   fi
29904   echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
29905 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
29906   CXXFLAGS="$ac_save_CXXFLAGS"
29907   ac_ext=c
29908 ac_cpp='$CPP $CPPFLAGS'
29909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29912
29913
29914
29915
29916   if test "${ac_cv_header_locale_h+set}" = set; then
29917   echo "$as_me:$LINENO: checking for locale.h" >&5
29918 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
29919 if test "${ac_cv_header_locale_h+set}" = set; then
29920   echo $ECHO_N "(cached) $ECHO_C" >&6
29921 fi
29922 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
29923 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
29924 else
29925   # Is the header compilable?
29926 echo "$as_me:$LINENO: checking locale.h usability" >&5
29927 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
29928 cat >conftest.$ac_ext <<_ACEOF
29929 /* confdefs.h.  */
29930 _ACEOF
29931 cat confdefs.h >>conftest.$ac_ext
29932 cat >>conftest.$ac_ext <<_ACEOF
29933 /* end confdefs.h.  */
29934 $ac_includes_default
29935 #include <locale.h>
29936 _ACEOF
29937 rm -f conftest.$ac_objext
29938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29939   (eval $ac_compile) 2>conftest.er1
29940   ac_status=$?
29941   grep -v '^ *+' conftest.er1 >conftest.err
29942   rm -f conftest.er1
29943   cat conftest.err >&5
29944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29945   (exit $ac_status); } &&
29946          { ac_try='test -z "$ac_c_werror_flag"
29947                          || test ! -s conftest.err'
29948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29949   (eval $ac_try) 2>&5
29950   ac_status=$?
29951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29952   (exit $ac_status); }; } &&
29953          { ac_try='test -s conftest.$ac_objext'
29954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29955   (eval $ac_try) 2>&5
29956   ac_status=$?
29957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29958   (exit $ac_status); }; }; then
29959   ac_header_compiler=yes
29960 else
29961   echo "$as_me: failed program was:" >&5
29962 sed 's/^/| /' conftest.$ac_ext >&5
29963
29964 ac_header_compiler=no
29965 fi
29966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29967 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29968 echo "${ECHO_T}$ac_header_compiler" >&6
29969
29970 # Is the header present?
29971 echo "$as_me:$LINENO: checking locale.h presence" >&5
29972 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
29973 cat >conftest.$ac_ext <<_ACEOF
29974 /* confdefs.h.  */
29975 _ACEOF
29976 cat confdefs.h >>conftest.$ac_ext
29977 cat >>conftest.$ac_ext <<_ACEOF
29978 /* end confdefs.h.  */
29979 #include <locale.h>
29980 _ACEOF
29981 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29982   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29983   ac_status=$?
29984   grep -v '^ *+' conftest.er1 >conftest.err
29985   rm -f conftest.er1
29986   cat conftest.err >&5
29987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29988   (exit $ac_status); } >/dev/null; then
29989   if test -s conftest.err; then
29990     ac_cpp_err=$ac_c_preproc_warn_flag
29991     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29992   else
29993     ac_cpp_err=
29994   fi
29995 else
29996   ac_cpp_err=yes
29997 fi
29998 if test -z "$ac_cpp_err"; then
29999   ac_header_preproc=yes
30000 else
30001   echo "$as_me: failed program was:" >&5
30002 sed 's/^/| /' conftest.$ac_ext >&5
30003
30004   ac_header_preproc=no
30005 fi
30006 rm -f conftest.err conftest.$ac_ext
30007 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30008 echo "${ECHO_T}$ac_header_preproc" >&6
30009
30010 # So?  What about this header?
30011 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30012   yes:no: )
30013     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
30014 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30015     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
30016 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
30017     ac_header_preproc=yes
30018     ;;
30019   no:yes:* )
30020     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
30021 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
30022     { echo "$as_me:$LINENO: WARNING: locale.h:     check for missing prerequisite headers?" >&5
30023 echo "$as_me: WARNING: locale.h:     check for missing prerequisite headers?" >&2;}
30024     { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
30025 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
30026     { echo "$as_me:$LINENO: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&5
30027 echo "$as_me: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&2;}
30028     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
30029 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
30030     { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
30031 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
30032     (
30033       cat <<\_ASBOX
30034 ## ----------------------------------------- ##
30035 ## Report this to the package-unused lists.  ##
30036 ## ----------------------------------------- ##
30037 _ASBOX
30038     ) |
30039       sed "s/^/$as_me: WARNING:     /" >&2
30040     ;;
30041 esac
30042 echo "$as_me:$LINENO: checking for locale.h" >&5
30043 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30044 if test "${ac_cv_header_locale_h+set}" = set; then
30045   echo $ECHO_N "(cached) $ECHO_C" >&6
30046 else
30047   ac_cv_header_locale_h=$ac_header_preproc
30048 fi
30049 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30050 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30051
30052 fi
30053 if test $ac_cv_header_locale_h = yes; then
30054
30055     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
30056 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
30057 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
30058   echo $ECHO_N "(cached) $ECHO_C" >&6
30059 else
30060   if test x$gcc_no_link = xyes; then
30061   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30063    { (exit 1); exit 1; }; }
30064 fi
30065 cat >conftest.$ac_ext <<_ACEOF
30066 /* confdefs.h.  */
30067 _ACEOF
30068 cat confdefs.h >>conftest.$ac_ext
30069 cat >>conftest.$ac_ext <<_ACEOF
30070 /* end confdefs.h.  */
30071 #include <locale.h>
30072 int
30073 main ()
30074 {
30075 return LC_MESSAGES
30076   ;
30077   return 0;
30078 }
30079 _ACEOF
30080 rm -f conftest.$ac_objext conftest$ac_exeext
30081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30082   (eval $ac_link) 2>conftest.er1
30083   ac_status=$?
30084   grep -v '^ *+' conftest.er1 >conftest.err
30085   rm -f conftest.er1
30086   cat conftest.err >&5
30087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30088   (exit $ac_status); } &&
30089          { ac_try='test -z "$ac_c_werror_flag"
30090                          || test ! -s conftest.err'
30091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30092   (eval $ac_try) 2>&5
30093   ac_status=$?
30094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30095   (exit $ac_status); }; } &&
30096          { ac_try='test -s conftest$ac_exeext'
30097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30098   (eval $ac_try) 2>&5
30099   ac_status=$?
30100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30101   (exit $ac_status); }; }; then
30102   ac_cv_val_LC_MESSAGES=yes
30103 else
30104   echo "$as_me: failed program was:" >&5
30105 sed 's/^/| /' conftest.$ac_ext >&5
30106
30107 ac_cv_val_LC_MESSAGES=no
30108 fi
30109 rm -f conftest.err conftest.$ac_objext \
30110       conftest$ac_exeext conftest.$ac_ext
30111 fi
30112 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
30113 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
30114     if test $ac_cv_val_LC_MESSAGES = yes; then
30115
30116 cat >>confdefs.h <<\_ACEOF
30117 #define HAVE_LC_MESSAGES 1
30118 _ACEOF
30119
30120     fi
30121
30122 fi
30123
30124
30125
30126
30127   cat >conftest.$ac_ext <<_ACEOF
30128 /* confdefs.h.  */
30129 _ACEOF
30130 cat confdefs.h >>conftest.$ac_ext
30131 cat >>conftest.$ac_ext <<_ACEOF
30132 /* end confdefs.h.  */
30133 #include <setjmp.h>
30134 int
30135 main ()
30136 {
30137 sigjmp_buf env;
30138      while (! sigsetjmp (env, 1))
30139        siglongjmp (env, 1);
30140
30141   ;
30142   return 0;
30143 }
30144 _ACEOF
30145 rm -f conftest.$ac_objext
30146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30147   (eval $ac_compile) 2>conftest.er1
30148   ac_status=$?
30149   grep -v '^ *+' conftest.er1 >conftest.err
30150   rm -f conftest.er1
30151   cat conftest.err >&5
30152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30153   (exit $ac_status); } &&
30154          { ac_try='test -z "$ac_c_werror_flag"
30155                          || test ! -s conftest.err'
30156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30157   (eval $ac_try) 2>&5
30158   ac_status=$?
30159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30160   (exit $ac_status); }; } &&
30161          { ac_try='test -s conftest.$ac_objext'
30162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30163   (eval $ac_try) 2>&5
30164   ac_status=$?
30165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30166   (exit $ac_status); }; }; then
30167
30168 cat >>confdefs.h <<\_ACEOF
30169 #define HAVE_SIGSETJMP 1
30170 _ACEOF
30171
30172 else
30173   echo "$as_me: failed program was:" >&5
30174 sed 's/^/| /' conftest.$ac_ext >&5
30175
30176 fi
30177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30178
30179   if test x$gcc_no_link = xyes; then
30180   if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30181     ac_cv_func_mmap_fixed_mapped=no
30182   fi
30183 fi
30184 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
30185
30186
30187 for ac_header in stdlib.h unistd.h
30188 do
30189 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30191   echo "$as_me:$LINENO: checking for $ac_header" >&5
30192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30194   echo $ECHO_N "(cached) $ECHO_C" >&6
30195 fi
30196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30197 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30198 else
30199   # Is the header compilable?
30200 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30201 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30202 cat >conftest.$ac_ext <<_ACEOF
30203 /* confdefs.h.  */
30204 _ACEOF
30205 cat confdefs.h >>conftest.$ac_ext
30206 cat >>conftest.$ac_ext <<_ACEOF
30207 /* end confdefs.h.  */
30208 $ac_includes_default
30209 #include <$ac_header>
30210 _ACEOF
30211 rm -f conftest.$ac_objext
30212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30213   (eval $ac_compile) 2>conftest.er1
30214   ac_status=$?
30215   grep -v '^ *+' conftest.er1 >conftest.err
30216   rm -f conftest.er1
30217   cat conftest.err >&5
30218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30219   (exit $ac_status); } &&
30220          { ac_try='test -z "$ac_c_werror_flag"
30221                          || test ! -s conftest.err'
30222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30223   (eval $ac_try) 2>&5
30224   ac_status=$?
30225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30226   (exit $ac_status); }; } &&
30227          { ac_try='test -s conftest.$ac_objext'
30228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30229   (eval $ac_try) 2>&5
30230   ac_status=$?
30231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30232   (exit $ac_status); }; }; then
30233   ac_header_compiler=yes
30234 else
30235   echo "$as_me: failed program was:" >&5
30236 sed 's/^/| /' conftest.$ac_ext >&5
30237
30238 ac_header_compiler=no
30239 fi
30240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30241 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30242 echo "${ECHO_T}$ac_header_compiler" >&6
30243
30244 # Is the header present?
30245 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30246 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30247 cat >conftest.$ac_ext <<_ACEOF
30248 /* confdefs.h.  */
30249 _ACEOF
30250 cat confdefs.h >>conftest.$ac_ext
30251 cat >>conftest.$ac_ext <<_ACEOF
30252 /* end confdefs.h.  */
30253 #include <$ac_header>
30254 _ACEOF
30255 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30256   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30257   ac_status=$?
30258   grep -v '^ *+' conftest.er1 >conftest.err
30259   rm -f conftest.er1
30260   cat conftest.err >&5
30261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30262   (exit $ac_status); } >/dev/null; then
30263   if test -s conftest.err; then
30264     ac_cpp_err=$ac_c_preproc_warn_flag
30265     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30266   else
30267     ac_cpp_err=
30268   fi
30269 else
30270   ac_cpp_err=yes
30271 fi
30272 if test -z "$ac_cpp_err"; then
30273   ac_header_preproc=yes
30274 else
30275   echo "$as_me: failed program was:" >&5
30276 sed 's/^/| /' conftest.$ac_ext >&5
30277
30278   ac_header_preproc=no
30279 fi
30280 rm -f conftest.err conftest.$ac_ext
30281 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30282 echo "${ECHO_T}$ac_header_preproc" >&6
30283
30284 # So?  What about this header?
30285 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30286   yes:no: )
30287     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30288 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30289     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30290 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30291     ac_header_preproc=yes
30292     ;;
30293   no:yes:* )
30294     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30295 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30296     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
30297 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
30298     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30299 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30300     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
30301 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
30302     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30303 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30304     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30305 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30306     (
30307       cat <<\_ASBOX
30308 ## ----------------------------------------- ##
30309 ## Report this to the package-unused lists.  ##
30310 ## ----------------------------------------- ##
30311 _ASBOX
30312     ) |
30313       sed "s/^/$as_me: WARNING:     /" >&2
30314     ;;
30315 esac
30316 echo "$as_me:$LINENO: checking for $ac_header" >&5
30317 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30318 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30319   echo $ECHO_N "(cached) $ECHO_C" >&6
30320 else
30321   eval "$as_ac_Header=\$ac_header_preproc"
30322 fi
30323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30325
30326 fi
30327 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30328   cat >>confdefs.h <<_ACEOF
30329 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30330 _ACEOF
30331
30332 fi
30333
30334 done
30335
30336
30337 for ac_func in getpagesize
30338 do
30339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30340 echo "$as_me:$LINENO: checking for $ac_func" >&5
30341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30342 if eval "test \"\${$as_ac_var+set}\" = set"; then
30343   echo $ECHO_N "(cached) $ECHO_C" >&6
30344 else
30345   if test x$gcc_no_link = xyes; then
30346   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30348    { (exit 1); exit 1; }; }
30349 fi
30350 cat >conftest.$ac_ext <<_ACEOF
30351 /* confdefs.h.  */
30352 _ACEOF
30353 cat confdefs.h >>conftest.$ac_ext
30354 cat >>conftest.$ac_ext <<_ACEOF
30355 /* end confdefs.h.  */
30356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30357    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30358 #define $ac_func innocuous_$ac_func
30359
30360 /* System header to define __stub macros and hopefully few prototypes,
30361     which can conflict with char $ac_func (); below.
30362     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30363     <limits.h> exists even on freestanding compilers.  */
30364
30365 #ifdef __STDC__
30366 # include <limits.h>
30367 #else
30368 # include <assert.h>
30369 #endif
30370
30371 #undef $ac_func
30372
30373 /* Override any gcc2 internal prototype to avoid an error.  */
30374 #ifdef __cplusplus
30375 extern "C"
30376 {
30377 #endif
30378 /* We use char because int might match the return type of a gcc2
30379    builtin and then its argument prototype would still apply.  */
30380 char $ac_func ();
30381 /* The GNU C library defines this for functions which it implements
30382     to always fail with ENOSYS.  Some functions are actually named
30383     something starting with __ and the normal name is an alias.  */
30384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30385 choke me
30386 #else
30387 char (*f) () = $ac_func;
30388 #endif
30389 #ifdef __cplusplus
30390 }
30391 #endif
30392
30393 int
30394 main ()
30395 {
30396 return f != $ac_func;
30397   ;
30398   return 0;
30399 }
30400 _ACEOF
30401 rm -f conftest.$ac_objext conftest$ac_exeext
30402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30403   (eval $ac_link) 2>conftest.er1
30404   ac_status=$?
30405   grep -v '^ *+' conftest.er1 >conftest.err
30406   rm -f conftest.er1
30407   cat conftest.err >&5
30408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30409   (exit $ac_status); } &&
30410          { ac_try='test -z "$ac_c_werror_flag"
30411                          || test ! -s conftest.err'
30412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30413   (eval $ac_try) 2>&5
30414   ac_status=$?
30415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30416   (exit $ac_status); }; } &&
30417          { ac_try='test -s conftest$ac_exeext'
30418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30419   (eval $ac_try) 2>&5
30420   ac_status=$?
30421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30422   (exit $ac_status); }; }; then
30423   eval "$as_ac_var=yes"
30424 else
30425   echo "$as_me: failed program was:" >&5
30426 sed 's/^/| /' conftest.$ac_ext >&5
30427
30428 eval "$as_ac_var=no"
30429 fi
30430 rm -f conftest.err conftest.$ac_objext \
30431       conftest$ac_exeext conftest.$ac_ext
30432 fi
30433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30435 if test `eval echo '${'$as_ac_var'}'` = yes; then
30436   cat >>confdefs.h <<_ACEOF
30437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30438 _ACEOF
30439
30440 fi
30441 done
30442
30443 echo "$as_me:$LINENO: checking for working mmap" >&5
30444 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
30445 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
30446   echo $ECHO_N "(cached) $ECHO_C" >&6
30447 else
30448   if test "$cross_compiling" = yes; then
30449   ac_cv_func_mmap_fixed_mapped=no
30450 else
30451   cat >conftest.$ac_ext <<_ACEOF
30452 /* confdefs.h.  */
30453 _ACEOF
30454 cat confdefs.h >>conftest.$ac_ext
30455 cat >>conftest.$ac_ext <<_ACEOF
30456 /* end confdefs.h.  */
30457 $ac_includes_default
30458 /* malloc might have been renamed as rpl_malloc. */
30459 #undef malloc
30460
30461 /* Thanks to Mike Haertel and Jim Avera for this test.
30462    Here is a matrix of mmap possibilities:
30463         mmap private not fixed
30464         mmap private fixed at somewhere currently unmapped
30465         mmap private fixed at somewhere already mapped
30466         mmap shared not fixed
30467         mmap shared fixed at somewhere currently unmapped
30468         mmap shared fixed at somewhere already mapped
30469    For private mappings, we should verify that changes cannot be read()
30470    back from the file, nor mmap's back from the file at a different
30471    address.  (There have been systems where private was not correctly
30472    implemented like the infamous i386 svr4.0, and systems where the
30473    VM page cache was not coherent with the file system buffer cache
30474    like early versions of FreeBSD and possibly contemporary NetBSD.)
30475    For shared mappings, we should conversely verify that changes get
30476    propagated back to all the places they're supposed to be.
30477
30478    Grep wants private fixed already mapped.
30479    The main things grep needs to know about mmap are:
30480    * does it exist and is it safe to write into the mmap'd area
30481    * how to use it (BSD variants)  */
30482
30483 #include <fcntl.h>
30484 #include <sys/mman.h>
30485
30486 #if !STDC_HEADERS && !HAVE_STDLIB_H
30487 char *malloc ();
30488 #endif
30489
30490 /* This mess was copied from the GNU getpagesize.h.  */
30491 #if !HAVE_GETPAGESIZE
30492 /* Assume that all systems that can run configure have sys/param.h.  */
30493 # if !HAVE_SYS_PARAM_H
30494 #  define HAVE_SYS_PARAM_H 1
30495 # endif
30496
30497 # ifdef _SC_PAGESIZE
30498 #  define getpagesize() sysconf(_SC_PAGESIZE)
30499 # else /* no _SC_PAGESIZE */
30500 #  if HAVE_SYS_PARAM_H
30501 #   include <sys/param.h>
30502 #   ifdef EXEC_PAGESIZE
30503 #    define getpagesize() EXEC_PAGESIZE
30504 #   else /* no EXEC_PAGESIZE */
30505 #    ifdef NBPG
30506 #     define getpagesize() NBPG * CLSIZE
30507 #     ifndef CLSIZE
30508 #      define CLSIZE 1
30509 #     endif /* no CLSIZE */
30510 #    else /* no NBPG */
30511 #     ifdef NBPC
30512 #      define getpagesize() NBPC
30513 #     else /* no NBPC */
30514 #      ifdef PAGESIZE
30515 #       define getpagesize() PAGESIZE
30516 #      endif /* PAGESIZE */
30517 #     endif /* no NBPC */
30518 #    endif /* no NBPG */
30519 #   endif /* no EXEC_PAGESIZE */
30520 #  else /* no HAVE_SYS_PARAM_H */
30521 #   define getpagesize() 8192   /* punt totally */
30522 #  endif /* no HAVE_SYS_PARAM_H */
30523 # endif /* no _SC_PAGESIZE */
30524
30525 #endif /* no HAVE_GETPAGESIZE */
30526
30527 int
30528 main ()
30529 {
30530   char *data, *data2, *data3;
30531   int i, pagesize;
30532   int fd;
30533
30534   pagesize = getpagesize ();
30535
30536   /* First, make a file with some known garbage in it. */
30537   data = (char *) malloc (pagesize);
30538   if (!data)
30539     exit (1);
30540   for (i = 0; i < pagesize; ++i)
30541     *(data + i) = rand ();
30542   umask (0);
30543   fd = creat ("conftest.mmap", 0600);
30544   if (fd < 0)
30545     exit (1);
30546   if (write (fd, data, pagesize) != pagesize)
30547     exit (1);
30548   close (fd);
30549
30550   /* Next, try to mmap the file at a fixed address which already has
30551      something else allocated at it.  If we can, also make sure that
30552      we see the same garbage.  */
30553   fd = open ("conftest.mmap", O_RDWR);
30554   if (fd < 0)
30555     exit (1);
30556   data2 = (char *) malloc (2 * pagesize);
30557   if (!data2)
30558     exit (1);
30559   data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
30560   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
30561                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
30562     exit (1);
30563   for (i = 0; i < pagesize; ++i)
30564     if (*(data + i) != *(data2 + i))
30565       exit (1);
30566
30567   /* Finally, make sure that changes to the mapped area do not
30568      percolate back to the file as seen by read().  (This is a bug on
30569      some variants of i386 svr4.0.)  */
30570   for (i = 0; i < pagesize; ++i)
30571     *(data2 + i) = *(data2 + i) + 1;
30572   data3 = (char *) malloc (pagesize);
30573   if (!data3)
30574     exit (1);
30575   if (read (fd, data3, pagesize) != pagesize)
30576     exit (1);
30577   for (i = 0; i < pagesize; ++i)
30578     if (*(data + i) != *(data3 + i))
30579       exit (1);
30580   close (fd);
30581   exit (0);
30582 }
30583 _ACEOF
30584 rm -f conftest$ac_exeext
30585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30586   (eval $ac_link) 2>&5
30587   ac_status=$?
30588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30589   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30591   (eval $ac_try) 2>&5
30592   ac_status=$?
30593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30594   (exit $ac_status); }; }; then
30595   ac_cv_func_mmap_fixed_mapped=yes
30596 else
30597   echo "$as_me: program exited with status $ac_status" >&5
30598 echo "$as_me: failed program was:" >&5
30599 sed 's/^/| /' conftest.$ac_ext >&5
30600
30601 ( exit $ac_status )
30602 ac_cv_func_mmap_fixed_mapped=no
30603 fi
30604 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30605 fi
30606 fi
30607 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
30608 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
30609 if test $ac_cv_func_mmap_fixed_mapped = yes; then
30610
30611 cat >>confdefs.h <<\_ACEOF
30612 #define HAVE_MMAP 1
30613 _ACEOF
30614
30615 fi
30616 rm -f conftest.mmap
30617
30618 fi
30619
30620 else
30621
30622   # This lets us hard-code the functionality we know we'll have in the cross
30623   # target environment.  "Let" is a sugar-coated word placed on an especially
30624   # dull and tedious hack, actually.
30625   #
30626   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
30627   # that involve linking, can't be used:
30628   #    "cannot open sim-crt0.o"
30629   #    "cannot open crt0.o"
30630   # etc.  All this is because there currently exists no unified, consistent
30631   # way for top level CC information to be passed down to target directories:
30632   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
30633   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
30634   # crosses can be removed.
30635
30636   # If Canadian cross, then don't pick up tools from the build directory.
30637   # Used only in GLIBCXX_EXPORT_INCLUDES.
30638   if test -n "$with_cross_host" &&
30639      test x"$build_alias" != x"$with_cross_host" &&
30640      test x"$build" != x"$target";
30641   then
30642     CANADIAN=yes
30643   else
30644     CANADIAN=no
30645   fi
30646
30647   # Construct crosses by hand, eliminating bits that need ld...
30648   # GLIBCXX_CHECK_COMPILER_FEATURES
30649   # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
30650   # GLIBCXX_CHECK_MATH_SUPPORT
30651
30652   # First, test for "known" system libraries.  We may be using newlib even
30653   # on a hosted environment.
30654   if test "x${with_newlib}" = "xyes"; then
30655     os_include_dir="os/newlib"
30656     cat >>confdefs.h <<\_ACEOF
30657 #define HAVE_HYPOT 1
30658 _ACEOF
30659
30660
30661     # GLIBCXX_CHECK_STDLIB_SUPPORT
30662     cat >>confdefs.h <<\_ACEOF
30663 #define HAVE_STRTOF 1
30664 _ACEOF
30665
30666     # AC_FUNC_MMAP
30667     cat >>confdefs.h <<\_ACEOF
30668 #define HAVE_MMAP 1
30669 _ACEOF
30670
30671
30672     cat >>confdefs.h <<\_ACEOF
30673 #define HAVE_ACOSF 1
30674 _ACEOF
30675
30676     cat >>confdefs.h <<\_ACEOF
30677 #define HAVE_ASINF 1
30678 _ACEOF
30679
30680     cat >>confdefs.h <<\_ACEOF
30681 #define HAVE_ATAN2F 1
30682 _ACEOF
30683
30684     cat >>confdefs.h <<\_ACEOF
30685 #define HAVE_ATANF 1
30686 _ACEOF
30687
30688     cat >>confdefs.h <<\_ACEOF
30689 #define HAVE_CEILF 1
30690 _ACEOF
30691
30692     cat >>confdefs.h <<\_ACEOF
30693 #define HAVE_COPYSIGN 1
30694 _ACEOF
30695
30696     cat >>confdefs.h <<\_ACEOF
30697 #define HAVE_COPYSIGNF 1
30698 _ACEOF
30699
30700     cat >>confdefs.h <<\_ACEOF
30701 #define HAVE_COSF 1
30702 _ACEOF
30703
30704     cat >>confdefs.h <<\_ACEOF
30705 #define HAVE_COSHF 1
30706 _ACEOF
30707
30708     cat >>confdefs.h <<\_ACEOF
30709 #define HAVE_EXPF 1
30710 _ACEOF
30711
30712     cat >>confdefs.h <<\_ACEOF
30713 #define HAVE_FABSF 1
30714 _ACEOF
30715
30716     cat >>confdefs.h <<\_ACEOF
30717 #define HAVE_FLOORF 1
30718 _ACEOF
30719
30720     cat >>confdefs.h <<\_ACEOF
30721 #define HAVE_FMODF 1
30722 _ACEOF
30723
30724     cat >>confdefs.h <<\_ACEOF
30725 #define HAVE_FREXPF 1
30726 _ACEOF
30727
30728     cat >>confdefs.h <<\_ACEOF
30729 #define HAVE_LDEXPF 1
30730 _ACEOF
30731
30732     cat >>confdefs.h <<\_ACEOF
30733 #define HAVE_LOG10F 1
30734 _ACEOF
30735
30736     cat >>confdefs.h <<\_ACEOF
30737 #define HAVE_LOGF 1
30738 _ACEOF
30739
30740     cat >>confdefs.h <<\_ACEOF
30741 #define HAVE_MODFF 1
30742 _ACEOF
30743
30744     cat >>confdefs.h <<\_ACEOF
30745 #define HAVE_POWF 1
30746 _ACEOF
30747
30748     cat >>confdefs.h <<\_ACEOF
30749 #define HAVE_SINF 1
30750 _ACEOF
30751
30752     cat >>confdefs.h <<\_ACEOF
30753 #define HAVE_SINHF 1
30754 _ACEOF
30755
30756     cat >>confdefs.h <<\_ACEOF
30757 #define HAVE_SQRTF 1
30758 _ACEOF
30759
30760     cat >>confdefs.h <<\_ACEOF
30761 #define HAVE_TANF 1
30762 _ACEOF
30763
30764     cat >>confdefs.h <<\_ACEOF
30765 #define HAVE_TANHF 1
30766 _ACEOF
30767
30768
30769     cat >>confdefs.h <<\_ACEOF
30770 #define HAVE_S_ISREG 1
30771 _ACEOF
30772
30773     cat >>confdefs.h <<\_ACEOF
30774 #define HAVE_S_IFREG 1
30775 _ACEOF
30776
30777   else
30778
30779 # Base decisions on target environment.
30780 case "${host}" in
30781   arm*-*-symbianelf*)
30782     # This is a freestanding configuration; there is nothing to do here.
30783     ;;
30784
30785   *-darwin*)
30786     # Darwin versions vary, but the linker should work in a cross environment,
30787     # so we just check for all the features here.
30788     # Check for available headers.
30789
30790
30791
30792
30793
30794
30795
30796
30797
30798
30799
30800
30801
30802 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
30803     machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
30804     sys/types.h
30805 do
30806 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30807 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30808   echo "$as_me:$LINENO: checking for $ac_header" >&5
30809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30811   echo $ECHO_N "(cached) $ECHO_C" >&6
30812 fi
30813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30814 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30815 else
30816   # Is the header compilable?
30817 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30818 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30819 cat >conftest.$ac_ext <<_ACEOF
30820 /* confdefs.h.  */
30821 _ACEOF
30822 cat confdefs.h >>conftest.$ac_ext
30823 cat >>conftest.$ac_ext <<_ACEOF
30824 /* end confdefs.h.  */
30825 $ac_includes_default
30826 #include <$ac_header>
30827 _ACEOF
30828 rm -f conftest.$ac_objext
30829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30830   (eval $ac_compile) 2>conftest.er1
30831   ac_status=$?
30832   grep -v '^ *+' conftest.er1 >conftest.err
30833   rm -f conftest.er1
30834   cat conftest.err >&5
30835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30836   (exit $ac_status); } &&
30837          { ac_try='test -z "$ac_c_werror_flag"
30838                          || test ! -s conftest.err'
30839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30840   (eval $ac_try) 2>&5
30841   ac_status=$?
30842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30843   (exit $ac_status); }; } &&
30844          { ac_try='test -s conftest.$ac_objext'
30845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30846   (eval $ac_try) 2>&5
30847   ac_status=$?
30848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30849   (exit $ac_status); }; }; then
30850   ac_header_compiler=yes
30851 else
30852   echo "$as_me: failed program was:" >&5
30853 sed 's/^/| /' conftest.$ac_ext >&5
30854
30855 ac_header_compiler=no
30856 fi
30857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30858 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30859 echo "${ECHO_T}$ac_header_compiler" >&6
30860
30861 # Is the header present?
30862 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30863 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30864 cat >conftest.$ac_ext <<_ACEOF
30865 /* confdefs.h.  */
30866 _ACEOF
30867 cat confdefs.h >>conftest.$ac_ext
30868 cat >>conftest.$ac_ext <<_ACEOF
30869 /* end confdefs.h.  */
30870 #include <$ac_header>
30871 _ACEOF
30872 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30873   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30874   ac_status=$?
30875   grep -v '^ *+' conftest.er1 >conftest.err
30876   rm -f conftest.er1
30877   cat conftest.err >&5
30878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30879   (exit $ac_status); } >/dev/null; then
30880   if test -s conftest.err; then
30881     ac_cpp_err=$ac_c_preproc_warn_flag
30882     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30883   else
30884     ac_cpp_err=
30885   fi
30886 else
30887   ac_cpp_err=yes
30888 fi
30889 if test -z "$ac_cpp_err"; then
30890   ac_header_preproc=yes
30891 else
30892   echo "$as_me: failed program was:" >&5
30893 sed 's/^/| /' conftest.$ac_ext >&5
30894
30895   ac_header_preproc=no
30896 fi
30897 rm -f conftest.err conftest.$ac_ext
30898 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30899 echo "${ECHO_T}$ac_header_preproc" >&6
30900
30901 # So?  What about this header?
30902 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30903   yes:no: )
30904     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30905 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30906     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30907 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30908     ac_header_preproc=yes
30909     ;;
30910   no:yes:* )
30911     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30912 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30913     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
30914 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
30915     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30916 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30917     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
30918 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
30919     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30920 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30921     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30922 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30923     (
30924       cat <<\_ASBOX
30925 ## ----------------------------------------- ##
30926 ## Report this to the package-unused lists.  ##
30927 ## ----------------------------------------- ##
30928 _ASBOX
30929     ) |
30930       sed "s/^/$as_me: WARNING:     /" >&2
30931     ;;
30932 esac
30933 echo "$as_me:$LINENO: checking for $ac_header" >&5
30934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30936   echo $ECHO_N "(cached) $ECHO_C" >&6
30937 else
30938   eval "$as_ac_Header=\$ac_header_preproc"
30939 fi
30940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30941 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30942
30943 fi
30944 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30945   cat >>confdefs.h <<_ACEOF
30946 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30947 _ACEOF
30948
30949 fi
30950
30951 done
30952
30953
30954
30955   # All these tests are for C++; save the language and the compiler flags.
30956   # The CXXFLAGS thing is suspicious, but based on similar bits previously
30957   # found in GLIBCXX_CONFIGURE.
30958
30959
30960   ac_ext=cc
30961 ac_cpp='$CXXCPP $CPPFLAGS'
30962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30965
30966   ac_test_CXXFLAGS="${CXXFLAGS+set}"
30967   ac_save_CXXFLAGS="$CXXFLAGS"
30968
30969   # Check for maintainer-mode bits.
30970   if test x"$USE_MAINTAINER_MODE" = xno; then
30971     WERROR=''
30972   else
30973     WERROR='-Werror'
30974   fi
30975
30976   # Check for -ffunction-sections -fdata-sections
30977   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
30978 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
30979   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
30980   cat >conftest.$ac_ext <<_ACEOF
30981 /* confdefs.h.  */
30982 _ACEOF
30983 cat confdefs.h >>conftest.$ac_ext
30984 cat >>conftest.$ac_ext <<_ACEOF
30985 /* end confdefs.h.  */
30986
30987 int
30988 main ()
30989 {
30990 int foo;
30991   ;
30992   return 0;
30993 }
30994 _ACEOF
30995 rm -f conftest.$ac_objext
30996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30997   (eval $ac_compile) 2>conftest.er1
30998   ac_status=$?
30999   grep -v '^ *+' conftest.er1 >conftest.err
31000   rm -f conftest.er1
31001   cat conftest.err >&5
31002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31003   (exit $ac_status); } &&
31004          { ac_try='test -z "$ac_cxx_werror_flag"
31005                          || test ! -s conftest.err'
31006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31007   (eval $ac_try) 2>&5
31008   ac_status=$?
31009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31010   (exit $ac_status); }; } &&
31011          { ac_try='test -s conftest.$ac_objext'
31012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31013   (eval $ac_try) 2>&5
31014   ac_status=$?
31015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31016   (exit $ac_status); }; }; then
31017   ac_fdsections=yes
31018 else
31019   echo "$as_me: failed program was:" >&5
31020 sed 's/^/| /' conftest.$ac_ext >&5
31021
31022 ac_fdsections=no
31023 fi
31024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31025   if test "$ac_test_CXXFLAGS" = set; then
31026     CXXFLAGS="$ac_save_CXXFLAGS"
31027   else
31028     # this is the suspicious part
31029     CXXFLAGS=''
31030   fi
31031   if test x"$ac_fdsections" = x"yes"; then
31032     SECTION_FLAGS='-ffunction-sections -fdata-sections'
31033   fi
31034   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
31035 echo "${ECHO_T}$ac_fdsections" >&6
31036
31037   ac_ext=c
31038 ac_cpp='$CPP $CPPFLAGS'
31039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31042
31043
31044
31045
31046     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
31047
31048   ac_test_CXXFLAGS="${CXXFLAGS+set}"
31049   ac_save_CXXFLAGS="$CXXFLAGS"
31050   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31051
31052     echo "$as_me:$LINENO: checking for sin in -lm" >&5
31053 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
31054 if test "${ac_cv_lib_m_sin+set}" = set; then
31055   echo $ECHO_N "(cached) $ECHO_C" >&6
31056 else
31057   ac_check_lib_save_LIBS=$LIBS
31058 LIBS="-lm  $LIBS"
31059 if test x$gcc_no_link = xyes; then
31060   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31062    { (exit 1); exit 1; }; }
31063 fi
31064 cat >conftest.$ac_ext <<_ACEOF
31065 /* confdefs.h.  */
31066 _ACEOF
31067 cat confdefs.h >>conftest.$ac_ext
31068 cat >>conftest.$ac_ext <<_ACEOF
31069 /* end confdefs.h.  */
31070
31071 /* Override any gcc2 internal prototype to avoid an error.  */
31072 #ifdef __cplusplus
31073 extern "C"
31074 #endif
31075 /* We use char because int might match the return type of a gcc2
31076    builtin and then its argument prototype would still apply.  */
31077 char sin ();
31078 int
31079 main ()
31080 {
31081 sin ();
31082   ;
31083   return 0;
31084 }
31085 _ACEOF
31086 rm -f conftest.$ac_objext conftest$ac_exeext
31087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31088   (eval $ac_link) 2>conftest.er1
31089   ac_status=$?
31090   grep -v '^ *+' conftest.er1 >conftest.err
31091   rm -f conftest.er1
31092   cat conftest.err >&5
31093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31094   (exit $ac_status); } &&
31095          { ac_try='test -z "$ac_c_werror_flag"
31096                          || test ! -s conftest.err'
31097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31098   (eval $ac_try) 2>&5
31099   ac_status=$?
31100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31101   (exit $ac_status); }; } &&
31102          { ac_try='test -s conftest$ac_exeext'
31103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31104   (eval $ac_try) 2>&5
31105   ac_status=$?
31106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31107   (exit $ac_status); }; }; then
31108   ac_cv_lib_m_sin=yes
31109 else
31110   echo "$as_me: failed program was:" >&5
31111 sed 's/^/| /' conftest.$ac_ext >&5
31112
31113 ac_cv_lib_m_sin=no
31114 fi
31115 rm -f conftest.err conftest.$ac_objext \
31116       conftest$ac_exeext conftest.$ac_ext
31117 LIBS=$ac_check_lib_save_LIBS
31118 fi
31119 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
31120 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
31121 if test $ac_cv_lib_m_sin = yes; then
31122   libm="-lm"
31123 fi
31124
31125   ac_save_LIBS="$LIBS"
31126   LIBS="$LIBS $libm"
31127
31128
31129
31130   echo "$as_me:$LINENO: checking for isinf declaration" >&5
31131 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
31132   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31133     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
31134   echo $ECHO_N "(cached) $ECHO_C" >&6
31135 else
31136
31137
31138
31139       ac_ext=cc
31140 ac_cpp='$CXXCPP $CPPFLAGS'
31141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31144
31145       cat >conftest.$ac_ext <<_ACEOF
31146 /* confdefs.h.  */
31147 _ACEOF
31148 cat confdefs.h >>conftest.$ac_ext
31149 cat >>conftest.$ac_ext <<_ACEOF
31150 /* end confdefs.h.  */
31151 #include <math.h>
31152                       #ifdef HAVE_IEEEFP_H
31153                       #include <ieeefp.h>
31154                       #endif
31155
31156 int
31157 main ()
31158 {
31159  isinf(0);
31160   ;
31161   return 0;
31162 }
31163 _ACEOF
31164 rm -f conftest.$ac_objext
31165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31166   (eval $ac_compile) 2>conftest.er1
31167   ac_status=$?
31168   grep -v '^ *+' conftest.er1 >conftest.err
31169   rm -f conftest.er1
31170   cat conftest.err >&5
31171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31172   (exit $ac_status); } &&
31173          { ac_try='test -z "$ac_cxx_werror_flag"
31174                          || test ! -s conftest.err'
31175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31176   (eval $ac_try) 2>&5
31177   ac_status=$?
31178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31179   (exit $ac_status); }; } &&
31180          { ac_try='test -s conftest.$ac_objext'
31181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31182   (eval $ac_try) 2>&5
31183   ac_status=$?
31184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31185   (exit $ac_status); }; }; then
31186   glibcxx_cv_func_isinf_use=yes
31187 else
31188   echo "$as_me: failed program was:" >&5
31189 sed 's/^/| /' conftest.$ac_ext >&5
31190
31191 glibcxx_cv_func_isinf_use=no
31192 fi
31193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31194       ac_ext=c
31195 ac_cpp='$CPP $CPPFLAGS'
31196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31199
31200
31201 fi
31202
31203   fi
31204   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
31205 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
31206
31207   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31208
31209 for ac_func in isinf
31210 do
31211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31212 echo "$as_me:$LINENO: checking for $ac_func" >&5
31213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31214 if eval "test \"\${$as_ac_var+set}\" = set"; then
31215   echo $ECHO_N "(cached) $ECHO_C" >&6
31216 else
31217   if test x$gcc_no_link = xyes; then
31218   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31220    { (exit 1); exit 1; }; }
31221 fi
31222 cat >conftest.$ac_ext <<_ACEOF
31223 /* confdefs.h.  */
31224 _ACEOF
31225 cat confdefs.h >>conftest.$ac_ext
31226 cat >>conftest.$ac_ext <<_ACEOF
31227 /* end confdefs.h.  */
31228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31229    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31230 #define $ac_func innocuous_$ac_func
31231
31232 /* System header to define __stub macros and hopefully few prototypes,
31233     which can conflict with char $ac_func (); below.
31234     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31235     <limits.h> exists even on freestanding compilers.  */
31236
31237 #ifdef __STDC__
31238 # include <limits.h>
31239 #else
31240 # include <assert.h>
31241 #endif
31242
31243 #undef $ac_func
31244
31245 /* Override any gcc2 internal prototype to avoid an error.  */
31246 #ifdef __cplusplus
31247 extern "C"
31248 {
31249 #endif
31250 /* We use char because int might match the return type of a gcc2
31251    builtin and then its argument prototype would still apply.  */
31252 char $ac_func ();
31253 /* The GNU C library defines this for functions which it implements
31254     to always fail with ENOSYS.  Some functions are actually named
31255     something starting with __ and the normal name is an alias.  */
31256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31257 choke me
31258 #else
31259 char (*f) () = $ac_func;
31260 #endif
31261 #ifdef __cplusplus
31262 }
31263 #endif
31264
31265 int
31266 main ()
31267 {
31268 return f != $ac_func;
31269   ;
31270   return 0;
31271 }
31272 _ACEOF
31273 rm -f conftest.$ac_objext conftest$ac_exeext
31274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31275   (eval $ac_link) 2>conftest.er1
31276   ac_status=$?
31277   grep -v '^ *+' conftest.er1 >conftest.err
31278   rm -f conftest.er1
31279   cat conftest.err >&5
31280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31281   (exit $ac_status); } &&
31282          { ac_try='test -z "$ac_c_werror_flag"
31283                          || test ! -s conftest.err'
31284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31285   (eval $ac_try) 2>&5
31286   ac_status=$?
31287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31288   (exit $ac_status); }; } &&
31289          { ac_try='test -s conftest$ac_exeext'
31290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31291   (eval $ac_try) 2>&5
31292   ac_status=$?
31293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31294   (exit $ac_status); }; }; then
31295   eval "$as_ac_var=yes"
31296 else
31297   echo "$as_me: failed program was:" >&5
31298 sed 's/^/| /' conftest.$ac_ext >&5
31299
31300 eval "$as_ac_var=no"
31301 fi
31302 rm -f conftest.err conftest.$ac_objext \
31303       conftest$ac_exeext conftest.$ac_ext
31304 fi
31305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31307 if test `eval echo '${'$as_ac_var'}'` = yes; then
31308   cat >>confdefs.h <<_ACEOF
31309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31310 _ACEOF
31311
31312 fi
31313 done
31314
31315   else
31316
31317   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
31318 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
31319   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31320     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
31321   echo $ECHO_N "(cached) $ECHO_C" >&6
31322 else
31323
31324
31325
31326       ac_ext=cc
31327 ac_cpp='$CXXCPP $CPPFLAGS'
31328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31331
31332       cat >conftest.$ac_ext <<_ACEOF
31333 /* confdefs.h.  */
31334 _ACEOF
31335 cat confdefs.h >>conftest.$ac_ext
31336 cat >>conftest.$ac_ext <<_ACEOF
31337 /* end confdefs.h.  */
31338 #include <math.h>
31339                       #ifdef HAVE_IEEEFP_H
31340                       #include <ieeefp.h>
31341                       #endif
31342
31343 int
31344 main ()
31345 {
31346  _isinf(0);
31347   ;
31348   return 0;
31349 }
31350 _ACEOF
31351 rm -f conftest.$ac_objext
31352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31353   (eval $ac_compile) 2>conftest.er1
31354   ac_status=$?
31355   grep -v '^ *+' conftest.er1 >conftest.err
31356   rm -f conftest.er1
31357   cat conftest.err >&5
31358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31359   (exit $ac_status); } &&
31360          { ac_try='test -z "$ac_cxx_werror_flag"
31361                          || test ! -s conftest.err'
31362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31363   (eval $ac_try) 2>&5
31364   ac_status=$?
31365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31366   (exit $ac_status); }; } &&
31367          { ac_try='test -s conftest.$ac_objext'
31368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31369   (eval $ac_try) 2>&5
31370   ac_status=$?
31371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31372   (exit $ac_status); }; }; then
31373   glibcxx_cv_func__isinf_use=yes
31374 else
31375   echo "$as_me: failed program was:" >&5
31376 sed 's/^/| /' conftest.$ac_ext >&5
31377
31378 glibcxx_cv_func__isinf_use=no
31379 fi
31380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31381       ac_ext=c
31382 ac_cpp='$CPP $CPPFLAGS'
31383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31386
31387
31388 fi
31389
31390   fi
31391   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
31392 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
31393
31394     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31395
31396 for ac_func in _isinf
31397 do
31398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31399 echo "$as_me:$LINENO: checking for $ac_func" >&5
31400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31401 if eval "test \"\${$as_ac_var+set}\" = set"; then
31402   echo $ECHO_N "(cached) $ECHO_C" >&6
31403 else
31404   if test x$gcc_no_link = xyes; then
31405   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31407    { (exit 1); exit 1; }; }
31408 fi
31409 cat >conftest.$ac_ext <<_ACEOF
31410 /* confdefs.h.  */
31411 _ACEOF
31412 cat confdefs.h >>conftest.$ac_ext
31413 cat >>conftest.$ac_ext <<_ACEOF
31414 /* end confdefs.h.  */
31415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31416    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31417 #define $ac_func innocuous_$ac_func
31418
31419 /* System header to define __stub macros and hopefully few prototypes,
31420     which can conflict with char $ac_func (); below.
31421     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31422     <limits.h> exists even on freestanding compilers.  */
31423
31424 #ifdef __STDC__
31425 # include <limits.h>
31426 #else
31427 # include <assert.h>
31428 #endif
31429
31430 #undef $ac_func
31431
31432 /* Override any gcc2 internal prototype to avoid an error.  */
31433 #ifdef __cplusplus
31434 extern "C"
31435 {
31436 #endif
31437 /* We use char because int might match the return type of a gcc2
31438    builtin and then its argument prototype would still apply.  */
31439 char $ac_func ();
31440 /* The GNU C library defines this for functions which it implements
31441     to always fail with ENOSYS.  Some functions are actually named
31442     something starting with __ and the normal name is an alias.  */
31443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31444 choke me
31445 #else
31446 char (*f) () = $ac_func;
31447 #endif
31448 #ifdef __cplusplus
31449 }
31450 #endif
31451
31452 int
31453 main ()
31454 {
31455 return f != $ac_func;
31456   ;
31457   return 0;
31458 }
31459 _ACEOF
31460 rm -f conftest.$ac_objext conftest$ac_exeext
31461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31462   (eval $ac_link) 2>conftest.er1
31463   ac_status=$?
31464   grep -v '^ *+' conftest.er1 >conftest.err
31465   rm -f conftest.er1
31466   cat conftest.err >&5
31467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31468   (exit $ac_status); } &&
31469          { ac_try='test -z "$ac_c_werror_flag"
31470                          || test ! -s conftest.err'
31471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31472   (eval $ac_try) 2>&5
31473   ac_status=$?
31474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31475   (exit $ac_status); }; } &&
31476          { ac_try='test -s conftest$ac_exeext'
31477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31478   (eval $ac_try) 2>&5
31479   ac_status=$?
31480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31481   (exit $ac_status); }; }; then
31482   eval "$as_ac_var=yes"
31483 else
31484   echo "$as_me: failed program was:" >&5
31485 sed 's/^/| /' conftest.$ac_ext >&5
31486
31487 eval "$as_ac_var=no"
31488 fi
31489 rm -f conftest.err conftest.$ac_objext \
31490       conftest$ac_exeext conftest.$ac_ext
31491 fi
31492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31494 if test `eval echo '${'$as_ac_var'}'` = yes; then
31495   cat >>confdefs.h <<_ACEOF
31496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31497 _ACEOF
31498
31499 fi
31500 done
31501
31502     fi
31503   fi
31504
31505
31506
31507
31508
31509
31510   echo "$as_me:$LINENO: checking for isnan declaration" >&5
31511 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
31512   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31513     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
31514   echo $ECHO_N "(cached) $ECHO_C" >&6
31515 else
31516
31517
31518
31519       ac_ext=cc
31520 ac_cpp='$CXXCPP $CPPFLAGS'
31521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31524
31525       cat >conftest.$ac_ext <<_ACEOF
31526 /* confdefs.h.  */
31527 _ACEOF
31528 cat confdefs.h >>conftest.$ac_ext
31529 cat >>conftest.$ac_ext <<_ACEOF
31530 /* end confdefs.h.  */
31531 #include <math.h>
31532                       #ifdef HAVE_IEEEFP_H
31533                       #include <ieeefp.h>
31534                       #endif
31535
31536 int
31537 main ()
31538 {
31539  isnan(0);
31540   ;
31541   return 0;
31542 }
31543 _ACEOF
31544 rm -f conftest.$ac_objext
31545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31546   (eval $ac_compile) 2>conftest.er1
31547   ac_status=$?
31548   grep -v '^ *+' conftest.er1 >conftest.err
31549   rm -f conftest.er1
31550   cat conftest.err >&5
31551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31552   (exit $ac_status); } &&
31553          { ac_try='test -z "$ac_cxx_werror_flag"
31554                          || test ! -s conftest.err'
31555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31556   (eval $ac_try) 2>&5
31557   ac_status=$?
31558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31559   (exit $ac_status); }; } &&
31560          { ac_try='test -s conftest.$ac_objext'
31561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31562   (eval $ac_try) 2>&5
31563   ac_status=$?
31564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31565   (exit $ac_status); }; }; then
31566   glibcxx_cv_func_isnan_use=yes
31567 else
31568   echo "$as_me: failed program was:" >&5
31569 sed 's/^/| /' conftest.$ac_ext >&5
31570
31571 glibcxx_cv_func_isnan_use=no
31572 fi
31573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31574       ac_ext=c
31575 ac_cpp='$CPP $CPPFLAGS'
31576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31579
31580
31581 fi
31582
31583   fi
31584   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
31585 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
31586
31587   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31588
31589 for ac_func in isnan
31590 do
31591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31592 echo "$as_me:$LINENO: checking for $ac_func" >&5
31593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31594 if eval "test \"\${$as_ac_var+set}\" = set"; then
31595   echo $ECHO_N "(cached) $ECHO_C" >&6
31596 else
31597   if test x$gcc_no_link = xyes; then
31598   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31600    { (exit 1); exit 1; }; }
31601 fi
31602 cat >conftest.$ac_ext <<_ACEOF
31603 /* confdefs.h.  */
31604 _ACEOF
31605 cat confdefs.h >>conftest.$ac_ext
31606 cat >>conftest.$ac_ext <<_ACEOF
31607 /* end confdefs.h.  */
31608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31609    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31610 #define $ac_func innocuous_$ac_func
31611
31612 /* System header to define __stub macros and hopefully few prototypes,
31613     which can conflict with char $ac_func (); below.
31614     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31615     <limits.h> exists even on freestanding compilers.  */
31616
31617 #ifdef __STDC__
31618 # include <limits.h>
31619 #else
31620 # include <assert.h>
31621 #endif
31622
31623 #undef $ac_func
31624
31625 /* Override any gcc2 internal prototype to avoid an error.  */
31626 #ifdef __cplusplus
31627 extern "C"
31628 {
31629 #endif
31630 /* We use char because int might match the return type of a gcc2
31631    builtin and then its argument prototype would still apply.  */
31632 char $ac_func ();
31633 /* The GNU C library defines this for functions which it implements
31634     to always fail with ENOSYS.  Some functions are actually named
31635     something starting with __ and the normal name is an alias.  */
31636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31637 choke me
31638 #else
31639 char (*f) () = $ac_func;
31640 #endif
31641 #ifdef __cplusplus
31642 }
31643 #endif
31644
31645 int
31646 main ()
31647 {
31648 return f != $ac_func;
31649   ;
31650   return 0;
31651 }
31652 _ACEOF
31653 rm -f conftest.$ac_objext conftest$ac_exeext
31654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31655   (eval $ac_link) 2>conftest.er1
31656   ac_status=$?
31657   grep -v '^ *+' conftest.er1 >conftest.err
31658   rm -f conftest.er1
31659   cat conftest.err >&5
31660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31661   (exit $ac_status); } &&
31662          { ac_try='test -z "$ac_c_werror_flag"
31663                          || test ! -s conftest.err'
31664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31665   (eval $ac_try) 2>&5
31666   ac_status=$?
31667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31668   (exit $ac_status); }; } &&
31669          { ac_try='test -s conftest$ac_exeext'
31670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31671   (eval $ac_try) 2>&5
31672   ac_status=$?
31673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31674   (exit $ac_status); }; }; then
31675   eval "$as_ac_var=yes"
31676 else
31677   echo "$as_me: failed program was:" >&5
31678 sed 's/^/| /' conftest.$ac_ext >&5
31679
31680 eval "$as_ac_var=no"
31681 fi
31682 rm -f conftest.err conftest.$ac_objext \
31683       conftest$ac_exeext conftest.$ac_ext
31684 fi
31685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31687 if test `eval echo '${'$as_ac_var'}'` = yes; then
31688   cat >>confdefs.h <<_ACEOF
31689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31690 _ACEOF
31691
31692 fi
31693 done
31694
31695   else
31696
31697   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
31698 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
31699   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
31700     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
31701   echo $ECHO_N "(cached) $ECHO_C" >&6
31702 else
31703
31704
31705
31706       ac_ext=cc
31707 ac_cpp='$CXXCPP $CPPFLAGS'
31708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31711
31712       cat >conftest.$ac_ext <<_ACEOF
31713 /* confdefs.h.  */
31714 _ACEOF
31715 cat confdefs.h >>conftest.$ac_ext
31716 cat >>conftest.$ac_ext <<_ACEOF
31717 /* end confdefs.h.  */
31718 #include <math.h>
31719                       #ifdef HAVE_IEEEFP_H
31720                       #include <ieeefp.h>
31721                       #endif
31722
31723 int
31724 main ()
31725 {
31726  _isnan(0);
31727   ;
31728   return 0;
31729 }
31730 _ACEOF
31731 rm -f conftest.$ac_objext
31732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31733   (eval $ac_compile) 2>conftest.er1
31734   ac_status=$?
31735   grep -v '^ *+' conftest.er1 >conftest.err
31736   rm -f conftest.er1
31737   cat conftest.err >&5
31738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31739   (exit $ac_status); } &&
31740          { ac_try='test -z "$ac_cxx_werror_flag"
31741                          || test ! -s conftest.err'
31742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31743   (eval $ac_try) 2>&5
31744   ac_status=$?
31745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31746   (exit $ac_status); }; } &&
31747          { ac_try='test -s conftest.$ac_objext'
31748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31749   (eval $ac_try) 2>&5
31750   ac_status=$?
31751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31752   (exit $ac_status); }; }; then
31753   glibcxx_cv_func__isnan_use=yes
31754 else
31755   echo "$as_me: failed program was:" >&5
31756 sed 's/^/| /' conftest.$ac_ext >&5
31757
31758 glibcxx_cv_func__isnan_use=no
31759 fi
31760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31761       ac_ext=c
31762 ac_cpp='$CPP $CPPFLAGS'
31763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31766
31767
31768 fi
31769
31770   fi
31771   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
31772 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
31773
31774     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
31775
31776 for ac_func in _isnan
31777 do
31778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31779 echo "$as_me:$LINENO: checking for $ac_func" >&5
31780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31781 if eval "test \"\${$as_ac_var+set}\" = set"; then
31782   echo $ECHO_N "(cached) $ECHO_C" >&6
31783 else
31784   if test x$gcc_no_link = xyes; then
31785   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31787    { (exit 1); exit 1; }; }
31788 fi
31789 cat >conftest.$ac_ext <<_ACEOF
31790 /* confdefs.h.  */
31791 _ACEOF
31792 cat confdefs.h >>conftest.$ac_ext
31793 cat >>conftest.$ac_ext <<_ACEOF
31794 /* end confdefs.h.  */
31795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31796    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31797 #define $ac_func innocuous_$ac_func
31798
31799 /* System header to define __stub macros and hopefully few prototypes,
31800     which can conflict with char $ac_func (); below.
31801     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31802     <limits.h> exists even on freestanding compilers.  */
31803
31804 #ifdef __STDC__
31805 # include <limits.h>
31806 #else
31807 # include <assert.h>
31808 #endif
31809
31810 #undef $ac_func
31811
31812 /* Override any gcc2 internal prototype to avoid an error.  */
31813 #ifdef __cplusplus
31814 extern "C"
31815 {
31816 #endif
31817 /* We use char because int might match the return type of a gcc2
31818    builtin and then its argument prototype would still apply.  */
31819 char $ac_func ();
31820 /* The GNU C library defines this for functions which it implements
31821     to always fail with ENOSYS.  Some functions are actually named
31822     something starting with __ and the normal name is an alias.  */
31823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31824 choke me
31825 #else
31826 char (*f) () = $ac_func;
31827 #endif
31828 #ifdef __cplusplus
31829 }
31830 #endif
31831
31832 int
31833 main ()
31834 {
31835 return f != $ac_func;
31836   ;
31837   return 0;
31838 }
31839 _ACEOF
31840 rm -f conftest.$ac_objext conftest$ac_exeext
31841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31842   (eval $ac_link) 2>conftest.er1
31843   ac_status=$?
31844   grep -v '^ *+' conftest.er1 >conftest.err
31845   rm -f conftest.er1
31846   cat conftest.err >&5
31847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31848   (exit $ac_status); } &&
31849          { ac_try='test -z "$ac_c_werror_flag"
31850                          || test ! -s conftest.err'
31851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31852   (eval $ac_try) 2>&5
31853   ac_status=$?
31854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31855   (exit $ac_status); }; } &&
31856          { ac_try='test -s conftest$ac_exeext'
31857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31858   (eval $ac_try) 2>&5
31859   ac_status=$?
31860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31861   (exit $ac_status); }; }; then
31862   eval "$as_ac_var=yes"
31863 else
31864   echo "$as_me: failed program was:" >&5
31865 sed 's/^/| /' conftest.$ac_ext >&5
31866
31867 eval "$as_ac_var=no"
31868 fi
31869 rm -f conftest.err conftest.$ac_objext \
31870       conftest$ac_exeext conftest.$ac_ext
31871 fi
31872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31874 if test `eval echo '${'$as_ac_var'}'` = yes; then
31875   cat >>confdefs.h <<_ACEOF
31876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31877 _ACEOF
31878
31879 fi
31880 done
31881
31882     fi
31883   fi
31884
31885
31886
31887
31888
31889
31890   echo "$as_me:$LINENO: checking for finite declaration" >&5
31891 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
31892   if test x${glibcxx_cv_func_finite_use+set} != xset; then
31893     if test "${glibcxx_cv_func_finite_use+set}" = set; then
31894   echo $ECHO_N "(cached) $ECHO_C" >&6
31895 else
31896
31897
31898
31899       ac_ext=cc
31900 ac_cpp='$CXXCPP $CPPFLAGS'
31901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31904
31905       cat >conftest.$ac_ext <<_ACEOF
31906 /* confdefs.h.  */
31907 _ACEOF
31908 cat confdefs.h >>conftest.$ac_ext
31909 cat >>conftest.$ac_ext <<_ACEOF
31910 /* end confdefs.h.  */
31911 #include <math.h>
31912                       #ifdef HAVE_IEEEFP_H
31913                       #include <ieeefp.h>
31914                       #endif
31915
31916 int
31917 main ()
31918 {
31919  finite(0);
31920   ;
31921   return 0;
31922 }
31923 _ACEOF
31924 rm -f conftest.$ac_objext
31925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31926   (eval $ac_compile) 2>conftest.er1
31927   ac_status=$?
31928   grep -v '^ *+' conftest.er1 >conftest.err
31929   rm -f conftest.er1
31930   cat conftest.err >&5
31931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31932   (exit $ac_status); } &&
31933          { ac_try='test -z "$ac_cxx_werror_flag"
31934                          || test ! -s conftest.err'
31935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31936   (eval $ac_try) 2>&5
31937   ac_status=$?
31938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31939   (exit $ac_status); }; } &&
31940          { ac_try='test -s conftest.$ac_objext'
31941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31942   (eval $ac_try) 2>&5
31943   ac_status=$?
31944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31945   (exit $ac_status); }; }; then
31946   glibcxx_cv_func_finite_use=yes
31947 else
31948   echo "$as_me: failed program was:" >&5
31949 sed 's/^/| /' conftest.$ac_ext >&5
31950
31951 glibcxx_cv_func_finite_use=no
31952 fi
31953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31954       ac_ext=c
31955 ac_cpp='$CPP $CPPFLAGS'
31956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31959
31960
31961 fi
31962
31963   fi
31964   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
31965 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
31966
31967   if test x$glibcxx_cv_func_finite_use = x"yes"; then
31968
31969 for ac_func in finite
31970 do
31971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31972 echo "$as_me:$LINENO: checking for $ac_func" >&5
31973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31974 if eval "test \"\${$as_ac_var+set}\" = set"; then
31975   echo $ECHO_N "(cached) $ECHO_C" >&6
31976 else
31977   if test x$gcc_no_link = xyes; then
31978   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31980    { (exit 1); exit 1; }; }
31981 fi
31982 cat >conftest.$ac_ext <<_ACEOF
31983 /* confdefs.h.  */
31984 _ACEOF
31985 cat confdefs.h >>conftest.$ac_ext
31986 cat >>conftest.$ac_ext <<_ACEOF
31987 /* end confdefs.h.  */
31988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31989    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31990 #define $ac_func innocuous_$ac_func
31991
31992 /* System header to define __stub macros and hopefully few prototypes,
31993     which can conflict with char $ac_func (); below.
31994     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31995     <limits.h> exists even on freestanding compilers.  */
31996
31997 #ifdef __STDC__
31998 # include <limits.h>
31999 #else
32000 # include <assert.h>
32001 #endif
32002
32003 #undef $ac_func
32004
32005 /* Override any gcc2 internal prototype to avoid an error.  */
32006 #ifdef __cplusplus
32007 extern "C"
32008 {
32009 #endif
32010 /* We use char because int might match the return type of a gcc2
32011    builtin and then its argument prototype would still apply.  */
32012 char $ac_func ();
32013 /* The GNU C library defines this for functions which it implements
32014     to always fail with ENOSYS.  Some functions are actually named
32015     something starting with __ and the normal name is an alias.  */
32016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32017 choke me
32018 #else
32019 char (*f) () = $ac_func;
32020 #endif
32021 #ifdef __cplusplus
32022 }
32023 #endif
32024
32025 int
32026 main ()
32027 {
32028 return f != $ac_func;
32029   ;
32030   return 0;
32031 }
32032 _ACEOF
32033 rm -f conftest.$ac_objext conftest$ac_exeext
32034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32035   (eval $ac_link) 2>conftest.er1
32036   ac_status=$?
32037   grep -v '^ *+' conftest.er1 >conftest.err
32038   rm -f conftest.er1
32039   cat conftest.err >&5
32040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32041   (exit $ac_status); } &&
32042          { ac_try='test -z "$ac_c_werror_flag"
32043                          || test ! -s conftest.err'
32044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32045   (eval $ac_try) 2>&5
32046   ac_status=$?
32047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32048   (exit $ac_status); }; } &&
32049          { ac_try='test -s conftest$ac_exeext'
32050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32051   (eval $ac_try) 2>&5
32052   ac_status=$?
32053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32054   (exit $ac_status); }; }; then
32055   eval "$as_ac_var=yes"
32056 else
32057   echo "$as_me: failed program was:" >&5
32058 sed 's/^/| /' conftest.$ac_ext >&5
32059
32060 eval "$as_ac_var=no"
32061 fi
32062 rm -f conftest.err conftest.$ac_objext \
32063       conftest$ac_exeext conftest.$ac_ext
32064 fi
32065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32067 if test `eval echo '${'$as_ac_var'}'` = yes; then
32068   cat >>confdefs.h <<_ACEOF
32069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32070 _ACEOF
32071
32072 fi
32073 done
32074
32075   else
32076
32077   echo "$as_me:$LINENO: checking for _finite declaration" >&5
32078 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
32079   if test x${glibcxx_cv_func__finite_use+set} != xset; then
32080     if test "${glibcxx_cv_func__finite_use+set}" = set; then
32081   echo $ECHO_N "(cached) $ECHO_C" >&6
32082 else
32083
32084
32085
32086       ac_ext=cc
32087 ac_cpp='$CXXCPP $CPPFLAGS'
32088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32091
32092       cat >conftest.$ac_ext <<_ACEOF
32093 /* confdefs.h.  */
32094 _ACEOF
32095 cat confdefs.h >>conftest.$ac_ext
32096 cat >>conftest.$ac_ext <<_ACEOF
32097 /* end confdefs.h.  */
32098 #include <math.h>
32099                       #ifdef HAVE_IEEEFP_H
32100                       #include <ieeefp.h>
32101                       #endif
32102
32103 int
32104 main ()
32105 {
32106  _finite(0);
32107   ;
32108   return 0;
32109 }
32110 _ACEOF
32111 rm -f conftest.$ac_objext
32112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32113   (eval $ac_compile) 2>conftest.er1
32114   ac_status=$?
32115   grep -v '^ *+' conftest.er1 >conftest.err
32116   rm -f conftest.er1
32117   cat conftest.err >&5
32118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32119   (exit $ac_status); } &&
32120          { ac_try='test -z "$ac_cxx_werror_flag"
32121                          || test ! -s conftest.err'
32122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32123   (eval $ac_try) 2>&5
32124   ac_status=$?
32125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32126   (exit $ac_status); }; } &&
32127          { ac_try='test -s conftest.$ac_objext'
32128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32129   (eval $ac_try) 2>&5
32130   ac_status=$?
32131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32132   (exit $ac_status); }; }; then
32133   glibcxx_cv_func__finite_use=yes
32134 else
32135   echo "$as_me: failed program was:" >&5
32136 sed 's/^/| /' conftest.$ac_ext >&5
32137
32138 glibcxx_cv_func__finite_use=no
32139 fi
32140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32141       ac_ext=c
32142 ac_cpp='$CPP $CPPFLAGS'
32143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32146
32147
32148 fi
32149
32150   fi
32151   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
32152 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
32153
32154     if test x$glibcxx_cv_func__finite_use = x"yes"; then
32155
32156 for ac_func in _finite
32157 do
32158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32159 echo "$as_me:$LINENO: checking for $ac_func" >&5
32160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32161 if eval "test \"\${$as_ac_var+set}\" = set"; then
32162   echo $ECHO_N "(cached) $ECHO_C" >&6
32163 else
32164   if test x$gcc_no_link = xyes; then
32165   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32167    { (exit 1); exit 1; }; }
32168 fi
32169 cat >conftest.$ac_ext <<_ACEOF
32170 /* confdefs.h.  */
32171 _ACEOF
32172 cat confdefs.h >>conftest.$ac_ext
32173 cat >>conftest.$ac_ext <<_ACEOF
32174 /* end confdefs.h.  */
32175 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32176    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32177 #define $ac_func innocuous_$ac_func
32178
32179 /* System header to define __stub macros and hopefully few prototypes,
32180     which can conflict with char $ac_func (); below.
32181     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32182     <limits.h> exists even on freestanding compilers.  */
32183
32184 #ifdef __STDC__
32185 # include <limits.h>
32186 #else
32187 # include <assert.h>
32188 #endif
32189
32190 #undef $ac_func
32191
32192 /* Override any gcc2 internal prototype to avoid an error.  */
32193 #ifdef __cplusplus
32194 extern "C"
32195 {
32196 #endif
32197 /* We use char because int might match the return type of a gcc2
32198    builtin and then its argument prototype would still apply.  */
32199 char $ac_func ();
32200 /* The GNU C library defines this for functions which it implements
32201     to always fail with ENOSYS.  Some functions are actually named
32202     something starting with __ and the normal name is an alias.  */
32203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32204 choke me
32205 #else
32206 char (*f) () = $ac_func;
32207 #endif
32208 #ifdef __cplusplus
32209 }
32210 #endif
32211
32212 int
32213 main ()
32214 {
32215 return f != $ac_func;
32216   ;
32217   return 0;
32218 }
32219 _ACEOF
32220 rm -f conftest.$ac_objext conftest$ac_exeext
32221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32222   (eval $ac_link) 2>conftest.er1
32223   ac_status=$?
32224   grep -v '^ *+' conftest.er1 >conftest.err
32225   rm -f conftest.er1
32226   cat conftest.err >&5
32227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32228   (exit $ac_status); } &&
32229          { ac_try='test -z "$ac_c_werror_flag"
32230                          || test ! -s conftest.err'
32231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32232   (eval $ac_try) 2>&5
32233   ac_status=$?
32234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32235   (exit $ac_status); }; } &&
32236          { ac_try='test -s conftest$ac_exeext'
32237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32238   (eval $ac_try) 2>&5
32239   ac_status=$?
32240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32241   (exit $ac_status); }; }; then
32242   eval "$as_ac_var=yes"
32243 else
32244   echo "$as_me: failed program was:" >&5
32245 sed 's/^/| /' conftest.$ac_ext >&5
32246
32247 eval "$as_ac_var=no"
32248 fi
32249 rm -f conftest.err conftest.$ac_objext \
32250       conftest$ac_exeext conftest.$ac_ext
32251 fi
32252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32253 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32254 if test `eval echo '${'$as_ac_var'}'` = yes; then
32255   cat >>confdefs.h <<_ACEOF
32256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32257 _ACEOF
32258
32259 fi
32260 done
32261
32262     fi
32263   fi
32264
32265
32266
32267
32268
32269
32270   echo "$as_me:$LINENO: checking for copysign declaration" >&5
32271 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
32272   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
32273     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
32274   echo $ECHO_N "(cached) $ECHO_C" >&6
32275 else
32276
32277
32278
32279       ac_ext=cc
32280 ac_cpp='$CXXCPP $CPPFLAGS'
32281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32284
32285       cat >conftest.$ac_ext <<_ACEOF
32286 /* confdefs.h.  */
32287 _ACEOF
32288 cat confdefs.h >>conftest.$ac_ext
32289 cat >>conftest.$ac_ext <<_ACEOF
32290 /* end confdefs.h.  */
32291 #include <math.h>
32292 int
32293 main ()
32294 {
32295  copysign(0, 0);
32296   ;
32297   return 0;
32298 }
32299 _ACEOF
32300 rm -f conftest.$ac_objext
32301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32302   (eval $ac_compile) 2>conftest.er1
32303   ac_status=$?
32304   grep -v '^ *+' conftest.er1 >conftest.err
32305   rm -f conftest.er1
32306   cat conftest.err >&5
32307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32308   (exit $ac_status); } &&
32309          { ac_try='test -z "$ac_cxx_werror_flag"
32310                          || test ! -s conftest.err'
32311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32312   (eval $ac_try) 2>&5
32313   ac_status=$?
32314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32315   (exit $ac_status); }; } &&
32316          { ac_try='test -s conftest.$ac_objext'
32317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32318   (eval $ac_try) 2>&5
32319   ac_status=$?
32320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32321   (exit $ac_status); }; }; then
32322   glibcxx_cv_func_copysign_use=yes
32323 else
32324   echo "$as_me: failed program was:" >&5
32325 sed 's/^/| /' conftest.$ac_ext >&5
32326
32327 glibcxx_cv_func_copysign_use=no
32328 fi
32329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32330       ac_ext=c
32331 ac_cpp='$CPP $CPPFLAGS'
32332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32335
32336
32337 fi
32338
32339   fi
32340   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
32341 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
32342
32343   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
32344
32345 for ac_func in copysign
32346 do
32347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32348 echo "$as_me:$LINENO: checking for $ac_func" >&5
32349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32350 if eval "test \"\${$as_ac_var+set}\" = set"; then
32351   echo $ECHO_N "(cached) $ECHO_C" >&6
32352 else
32353   if test x$gcc_no_link = xyes; then
32354   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32356    { (exit 1); exit 1; }; }
32357 fi
32358 cat >conftest.$ac_ext <<_ACEOF
32359 /* confdefs.h.  */
32360 _ACEOF
32361 cat confdefs.h >>conftest.$ac_ext
32362 cat >>conftest.$ac_ext <<_ACEOF
32363 /* end confdefs.h.  */
32364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32365    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32366 #define $ac_func innocuous_$ac_func
32367
32368 /* System header to define __stub macros and hopefully few prototypes,
32369     which can conflict with char $ac_func (); below.
32370     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32371     <limits.h> exists even on freestanding compilers.  */
32372
32373 #ifdef __STDC__
32374 # include <limits.h>
32375 #else
32376 # include <assert.h>
32377 #endif
32378
32379 #undef $ac_func
32380
32381 /* Override any gcc2 internal prototype to avoid an error.  */
32382 #ifdef __cplusplus
32383 extern "C"
32384 {
32385 #endif
32386 /* We use char because int might match the return type of a gcc2
32387    builtin and then its argument prototype would still apply.  */
32388 char $ac_func ();
32389 /* The GNU C library defines this for functions which it implements
32390     to always fail with ENOSYS.  Some functions are actually named
32391     something starting with __ and the normal name is an alias.  */
32392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32393 choke me
32394 #else
32395 char (*f) () = $ac_func;
32396 #endif
32397 #ifdef __cplusplus
32398 }
32399 #endif
32400
32401 int
32402 main ()
32403 {
32404 return f != $ac_func;
32405   ;
32406   return 0;
32407 }
32408 _ACEOF
32409 rm -f conftest.$ac_objext conftest$ac_exeext
32410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32411   (eval $ac_link) 2>conftest.er1
32412   ac_status=$?
32413   grep -v '^ *+' conftest.er1 >conftest.err
32414   rm -f conftest.er1
32415   cat conftest.err >&5
32416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32417   (exit $ac_status); } &&
32418          { ac_try='test -z "$ac_c_werror_flag"
32419                          || test ! -s conftest.err'
32420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32421   (eval $ac_try) 2>&5
32422   ac_status=$?
32423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32424   (exit $ac_status); }; } &&
32425          { ac_try='test -s conftest$ac_exeext'
32426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32427   (eval $ac_try) 2>&5
32428   ac_status=$?
32429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32430   (exit $ac_status); }; }; then
32431   eval "$as_ac_var=yes"
32432 else
32433   echo "$as_me: failed program was:" >&5
32434 sed 's/^/| /' conftest.$ac_ext >&5
32435
32436 eval "$as_ac_var=no"
32437 fi
32438 rm -f conftest.err conftest.$ac_objext \
32439       conftest$ac_exeext conftest.$ac_ext
32440 fi
32441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32443 if test `eval echo '${'$as_ac_var'}'` = yes; then
32444   cat >>confdefs.h <<_ACEOF
32445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32446 _ACEOF
32447
32448 fi
32449 done
32450
32451   else
32452
32453   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
32454 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
32455   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
32456     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
32457   echo $ECHO_N "(cached) $ECHO_C" >&6
32458 else
32459
32460
32461
32462       ac_ext=cc
32463 ac_cpp='$CXXCPP $CPPFLAGS'
32464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32467
32468       cat >conftest.$ac_ext <<_ACEOF
32469 /* confdefs.h.  */
32470 _ACEOF
32471 cat confdefs.h >>conftest.$ac_ext
32472 cat >>conftest.$ac_ext <<_ACEOF
32473 /* end confdefs.h.  */
32474 #include <math.h>
32475 int
32476 main ()
32477 {
32478  _copysign(0, 0);
32479   ;
32480   return 0;
32481 }
32482 _ACEOF
32483 rm -f conftest.$ac_objext
32484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32485   (eval $ac_compile) 2>conftest.er1
32486   ac_status=$?
32487   grep -v '^ *+' conftest.er1 >conftest.err
32488   rm -f conftest.er1
32489   cat conftest.err >&5
32490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32491   (exit $ac_status); } &&
32492          { ac_try='test -z "$ac_cxx_werror_flag"
32493                          || test ! -s conftest.err'
32494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32495   (eval $ac_try) 2>&5
32496   ac_status=$?
32497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32498   (exit $ac_status); }; } &&
32499          { ac_try='test -s conftest.$ac_objext'
32500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32501   (eval $ac_try) 2>&5
32502   ac_status=$?
32503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32504   (exit $ac_status); }; }; then
32505   glibcxx_cv_func__copysign_use=yes
32506 else
32507   echo "$as_me: failed program was:" >&5
32508 sed 's/^/| /' conftest.$ac_ext >&5
32509
32510 glibcxx_cv_func__copysign_use=no
32511 fi
32512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32513       ac_ext=c
32514 ac_cpp='$CPP $CPPFLAGS'
32515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32518
32519
32520 fi
32521
32522   fi
32523   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
32524 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
32525
32526     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
32527
32528 for ac_func in _copysign
32529 do
32530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32531 echo "$as_me:$LINENO: checking for $ac_func" >&5
32532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32533 if eval "test \"\${$as_ac_var+set}\" = set"; then
32534   echo $ECHO_N "(cached) $ECHO_C" >&6
32535 else
32536   if test x$gcc_no_link = xyes; then
32537   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32538 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32539    { (exit 1); exit 1; }; }
32540 fi
32541 cat >conftest.$ac_ext <<_ACEOF
32542 /* confdefs.h.  */
32543 _ACEOF
32544 cat confdefs.h >>conftest.$ac_ext
32545 cat >>conftest.$ac_ext <<_ACEOF
32546 /* end confdefs.h.  */
32547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32548    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32549 #define $ac_func innocuous_$ac_func
32550
32551 /* System header to define __stub macros and hopefully few prototypes,
32552     which can conflict with char $ac_func (); below.
32553     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32554     <limits.h> exists even on freestanding compilers.  */
32555
32556 #ifdef __STDC__
32557 # include <limits.h>
32558 #else
32559 # include <assert.h>
32560 #endif
32561
32562 #undef $ac_func
32563
32564 /* Override any gcc2 internal prototype to avoid an error.  */
32565 #ifdef __cplusplus
32566 extern "C"
32567 {
32568 #endif
32569 /* We use char because int might match the return type of a gcc2
32570    builtin and then its argument prototype would still apply.  */
32571 char $ac_func ();
32572 /* The GNU C library defines this for functions which it implements
32573     to always fail with ENOSYS.  Some functions are actually named
32574     something starting with __ and the normal name is an alias.  */
32575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32576 choke me
32577 #else
32578 char (*f) () = $ac_func;
32579 #endif
32580 #ifdef __cplusplus
32581 }
32582 #endif
32583
32584 int
32585 main ()
32586 {
32587 return f != $ac_func;
32588   ;
32589   return 0;
32590 }
32591 _ACEOF
32592 rm -f conftest.$ac_objext conftest$ac_exeext
32593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32594   (eval $ac_link) 2>conftest.er1
32595   ac_status=$?
32596   grep -v '^ *+' conftest.er1 >conftest.err
32597   rm -f conftest.er1
32598   cat conftest.err >&5
32599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32600   (exit $ac_status); } &&
32601          { ac_try='test -z "$ac_c_werror_flag"
32602                          || test ! -s conftest.err'
32603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32604   (eval $ac_try) 2>&5
32605   ac_status=$?
32606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32607   (exit $ac_status); }; } &&
32608          { ac_try='test -s conftest$ac_exeext'
32609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32610   (eval $ac_try) 2>&5
32611   ac_status=$?
32612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32613   (exit $ac_status); }; }; then
32614   eval "$as_ac_var=yes"
32615 else
32616   echo "$as_me: failed program was:" >&5
32617 sed 's/^/| /' conftest.$ac_ext >&5
32618
32619 eval "$as_ac_var=no"
32620 fi
32621 rm -f conftest.err conftest.$ac_objext \
32622       conftest$ac_exeext conftest.$ac_ext
32623 fi
32624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32626 if test `eval echo '${'$as_ac_var'}'` = yes; then
32627   cat >>confdefs.h <<_ACEOF
32628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32629 _ACEOF
32630
32631 fi
32632 done
32633
32634     fi
32635   fi
32636
32637
32638
32639
32640
32641
32642   echo "$as_me:$LINENO: checking for sincos declaration" >&5
32643 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
32644   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32645     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
32646   echo $ECHO_N "(cached) $ECHO_C" >&6
32647 else
32648
32649
32650
32651       ac_ext=cc
32652 ac_cpp='$CXXCPP $CPPFLAGS'
32653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32656
32657       cat >conftest.$ac_ext <<_ACEOF
32658 /* confdefs.h.  */
32659 _ACEOF
32660 cat confdefs.h >>conftest.$ac_ext
32661 cat >>conftest.$ac_ext <<_ACEOF
32662 /* end confdefs.h.  */
32663 #include <math.h>
32664 int
32665 main ()
32666 {
32667  sincos(0, 0, 0);
32668   ;
32669   return 0;
32670 }
32671 _ACEOF
32672 rm -f conftest.$ac_objext
32673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32674   (eval $ac_compile) 2>conftest.er1
32675   ac_status=$?
32676   grep -v '^ *+' conftest.er1 >conftest.err
32677   rm -f conftest.er1
32678   cat conftest.err >&5
32679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32680   (exit $ac_status); } &&
32681          { ac_try='test -z "$ac_cxx_werror_flag"
32682                          || test ! -s conftest.err'
32683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32684   (eval $ac_try) 2>&5
32685   ac_status=$?
32686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32687   (exit $ac_status); }; } &&
32688          { ac_try='test -s conftest.$ac_objext'
32689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32690   (eval $ac_try) 2>&5
32691   ac_status=$?
32692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32693   (exit $ac_status); }; }; then
32694   glibcxx_cv_func_sincos_use=yes
32695 else
32696   echo "$as_me: failed program was:" >&5
32697 sed 's/^/| /' conftest.$ac_ext >&5
32698
32699 glibcxx_cv_func_sincos_use=no
32700 fi
32701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32702       ac_ext=c
32703 ac_cpp='$CPP $CPPFLAGS'
32704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32707
32708
32709 fi
32710
32711   fi
32712   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
32713 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
32714
32715   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32716
32717 for ac_func in sincos
32718 do
32719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32720 echo "$as_me:$LINENO: checking for $ac_func" >&5
32721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32722 if eval "test \"\${$as_ac_var+set}\" = set"; then
32723   echo $ECHO_N "(cached) $ECHO_C" >&6
32724 else
32725   if test x$gcc_no_link = xyes; then
32726   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32728    { (exit 1); exit 1; }; }
32729 fi
32730 cat >conftest.$ac_ext <<_ACEOF
32731 /* confdefs.h.  */
32732 _ACEOF
32733 cat confdefs.h >>conftest.$ac_ext
32734 cat >>conftest.$ac_ext <<_ACEOF
32735 /* end confdefs.h.  */
32736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32737    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32738 #define $ac_func innocuous_$ac_func
32739
32740 /* System header to define __stub macros and hopefully few prototypes,
32741     which can conflict with char $ac_func (); below.
32742     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32743     <limits.h> exists even on freestanding compilers.  */
32744
32745 #ifdef __STDC__
32746 # include <limits.h>
32747 #else
32748 # include <assert.h>
32749 #endif
32750
32751 #undef $ac_func
32752
32753 /* Override any gcc2 internal prototype to avoid an error.  */
32754 #ifdef __cplusplus
32755 extern "C"
32756 {
32757 #endif
32758 /* We use char because int might match the return type of a gcc2
32759    builtin and then its argument prototype would still apply.  */
32760 char $ac_func ();
32761 /* The GNU C library defines this for functions which it implements
32762     to always fail with ENOSYS.  Some functions are actually named
32763     something starting with __ and the normal name is an alias.  */
32764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32765 choke me
32766 #else
32767 char (*f) () = $ac_func;
32768 #endif
32769 #ifdef __cplusplus
32770 }
32771 #endif
32772
32773 int
32774 main ()
32775 {
32776 return f != $ac_func;
32777   ;
32778   return 0;
32779 }
32780 _ACEOF
32781 rm -f conftest.$ac_objext conftest$ac_exeext
32782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32783   (eval $ac_link) 2>conftest.er1
32784   ac_status=$?
32785   grep -v '^ *+' conftest.er1 >conftest.err
32786   rm -f conftest.er1
32787   cat conftest.err >&5
32788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32789   (exit $ac_status); } &&
32790          { ac_try='test -z "$ac_c_werror_flag"
32791                          || test ! -s conftest.err'
32792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32793   (eval $ac_try) 2>&5
32794   ac_status=$?
32795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32796   (exit $ac_status); }; } &&
32797          { ac_try='test -s conftest$ac_exeext'
32798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32799   (eval $ac_try) 2>&5
32800   ac_status=$?
32801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32802   (exit $ac_status); }; }; then
32803   eval "$as_ac_var=yes"
32804 else
32805   echo "$as_me: failed program was:" >&5
32806 sed 's/^/| /' conftest.$ac_ext >&5
32807
32808 eval "$as_ac_var=no"
32809 fi
32810 rm -f conftest.err conftest.$ac_objext \
32811       conftest$ac_exeext conftest.$ac_ext
32812 fi
32813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32815 if test `eval echo '${'$as_ac_var'}'` = yes; then
32816   cat >>confdefs.h <<_ACEOF
32817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32818 _ACEOF
32819
32820 fi
32821 done
32822
32823   else
32824
32825   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
32826 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
32827   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32828     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
32829   echo $ECHO_N "(cached) $ECHO_C" >&6
32830 else
32831
32832
32833
32834       ac_ext=cc
32835 ac_cpp='$CXXCPP $CPPFLAGS'
32836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32839
32840       cat >conftest.$ac_ext <<_ACEOF
32841 /* confdefs.h.  */
32842 _ACEOF
32843 cat confdefs.h >>conftest.$ac_ext
32844 cat >>conftest.$ac_ext <<_ACEOF
32845 /* end confdefs.h.  */
32846 #include <math.h>
32847 int
32848 main ()
32849 {
32850  _sincos(0, 0, 0);
32851   ;
32852   return 0;
32853 }
32854 _ACEOF
32855 rm -f conftest.$ac_objext
32856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32857   (eval $ac_compile) 2>conftest.er1
32858   ac_status=$?
32859   grep -v '^ *+' conftest.er1 >conftest.err
32860   rm -f conftest.er1
32861   cat conftest.err >&5
32862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32863   (exit $ac_status); } &&
32864          { ac_try='test -z "$ac_cxx_werror_flag"
32865                          || test ! -s conftest.err'
32866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32867   (eval $ac_try) 2>&5
32868   ac_status=$?
32869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32870   (exit $ac_status); }; } &&
32871          { ac_try='test -s conftest.$ac_objext'
32872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32873   (eval $ac_try) 2>&5
32874   ac_status=$?
32875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32876   (exit $ac_status); }; }; then
32877   glibcxx_cv_func__sincos_use=yes
32878 else
32879   echo "$as_me: failed program was:" >&5
32880 sed 's/^/| /' conftest.$ac_ext >&5
32881
32882 glibcxx_cv_func__sincos_use=no
32883 fi
32884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32885       ac_ext=c
32886 ac_cpp='$CPP $CPPFLAGS'
32887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32890
32891
32892 fi
32893
32894   fi
32895   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
32896 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
32897
32898     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32899
32900 for ac_func in _sincos
32901 do
32902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32903 echo "$as_me:$LINENO: checking for $ac_func" >&5
32904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32905 if eval "test \"\${$as_ac_var+set}\" = set"; then
32906   echo $ECHO_N "(cached) $ECHO_C" >&6
32907 else
32908   if test x$gcc_no_link = xyes; then
32909   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32911    { (exit 1); exit 1; }; }
32912 fi
32913 cat >conftest.$ac_ext <<_ACEOF
32914 /* confdefs.h.  */
32915 _ACEOF
32916 cat confdefs.h >>conftest.$ac_ext
32917 cat >>conftest.$ac_ext <<_ACEOF
32918 /* end confdefs.h.  */
32919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32920    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32921 #define $ac_func innocuous_$ac_func
32922
32923 /* System header to define __stub macros and hopefully few prototypes,
32924     which can conflict with char $ac_func (); below.
32925     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32926     <limits.h> exists even on freestanding compilers.  */
32927
32928 #ifdef __STDC__
32929 # include <limits.h>
32930 #else
32931 # include <assert.h>
32932 #endif
32933
32934 #undef $ac_func
32935
32936 /* Override any gcc2 internal prototype to avoid an error.  */
32937 #ifdef __cplusplus
32938 extern "C"
32939 {
32940 #endif
32941 /* We use char because int might match the return type of a gcc2
32942    builtin and then its argument prototype would still apply.  */
32943 char $ac_func ();
32944 /* The GNU C library defines this for functions which it implements
32945     to always fail with ENOSYS.  Some functions are actually named
32946     something starting with __ and the normal name is an alias.  */
32947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32948 choke me
32949 #else
32950 char (*f) () = $ac_func;
32951 #endif
32952 #ifdef __cplusplus
32953 }
32954 #endif
32955
32956 int
32957 main ()
32958 {
32959 return f != $ac_func;
32960   ;
32961   return 0;
32962 }
32963 _ACEOF
32964 rm -f conftest.$ac_objext conftest$ac_exeext
32965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32966   (eval $ac_link) 2>conftest.er1
32967   ac_status=$?
32968   grep -v '^ *+' conftest.er1 >conftest.err
32969   rm -f conftest.er1
32970   cat conftest.err >&5
32971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32972   (exit $ac_status); } &&
32973          { ac_try='test -z "$ac_c_werror_flag"
32974                          || test ! -s conftest.err'
32975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32976   (eval $ac_try) 2>&5
32977   ac_status=$?
32978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32979   (exit $ac_status); }; } &&
32980          { ac_try='test -s conftest$ac_exeext'
32981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32982   (eval $ac_try) 2>&5
32983   ac_status=$?
32984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32985   (exit $ac_status); }; }; then
32986   eval "$as_ac_var=yes"
32987 else
32988   echo "$as_me: failed program was:" >&5
32989 sed 's/^/| /' conftest.$ac_ext >&5
32990
32991 eval "$as_ac_var=no"
32992 fi
32993 rm -f conftest.err conftest.$ac_objext \
32994       conftest$ac_exeext conftest.$ac_ext
32995 fi
32996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32998 if test `eval echo '${'$as_ac_var'}'` = yes; then
32999   cat >>confdefs.h <<_ACEOF
33000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33001 _ACEOF
33002
33003 fi
33004 done
33005
33006     fi
33007   fi
33008
33009
33010
33011
33012
33013
33014   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
33015 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
33016   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33017     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
33018   echo $ECHO_N "(cached) $ECHO_C" >&6
33019 else
33020
33021
33022
33023       ac_ext=cc
33024 ac_cpp='$CXXCPP $CPPFLAGS'
33025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33028
33029       cat >conftest.$ac_ext <<_ACEOF
33030 /* confdefs.h.  */
33031 _ACEOF
33032 cat confdefs.h >>conftest.$ac_ext
33033 cat >>conftest.$ac_ext <<_ACEOF
33034 /* end confdefs.h.  */
33035 #include <math.h>
33036                       #ifdef HAVE_IEEEFP_H
33037                       #include <ieeefp.h>
33038                       #endif
33039
33040 int
33041 main ()
33042 {
33043  fpclass(0);
33044   ;
33045   return 0;
33046 }
33047 _ACEOF
33048 rm -f conftest.$ac_objext
33049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33050   (eval $ac_compile) 2>conftest.er1
33051   ac_status=$?
33052   grep -v '^ *+' conftest.er1 >conftest.err
33053   rm -f conftest.er1
33054   cat conftest.err >&5
33055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33056   (exit $ac_status); } &&
33057          { ac_try='test -z "$ac_cxx_werror_flag"
33058                          || test ! -s conftest.err'
33059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33060   (eval $ac_try) 2>&5
33061   ac_status=$?
33062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33063   (exit $ac_status); }; } &&
33064          { ac_try='test -s conftest.$ac_objext'
33065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33066   (eval $ac_try) 2>&5
33067   ac_status=$?
33068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33069   (exit $ac_status); }; }; then
33070   glibcxx_cv_func_fpclass_use=yes
33071 else
33072   echo "$as_me: failed program was:" >&5
33073 sed 's/^/| /' conftest.$ac_ext >&5
33074
33075 glibcxx_cv_func_fpclass_use=no
33076 fi
33077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33078       ac_ext=c
33079 ac_cpp='$CPP $CPPFLAGS'
33080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33083
33084
33085 fi
33086
33087   fi
33088   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
33089 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
33090
33091   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33092
33093 for ac_func in fpclass
33094 do
33095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33096 echo "$as_me:$LINENO: checking for $ac_func" >&5
33097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33098 if eval "test \"\${$as_ac_var+set}\" = set"; then
33099   echo $ECHO_N "(cached) $ECHO_C" >&6
33100 else
33101   if test x$gcc_no_link = xyes; then
33102   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33104    { (exit 1); exit 1; }; }
33105 fi
33106 cat >conftest.$ac_ext <<_ACEOF
33107 /* confdefs.h.  */
33108 _ACEOF
33109 cat confdefs.h >>conftest.$ac_ext
33110 cat >>conftest.$ac_ext <<_ACEOF
33111 /* end confdefs.h.  */
33112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33113    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33114 #define $ac_func innocuous_$ac_func
33115
33116 /* System header to define __stub macros and hopefully few prototypes,
33117     which can conflict with char $ac_func (); below.
33118     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33119     <limits.h> exists even on freestanding compilers.  */
33120
33121 #ifdef __STDC__
33122 # include <limits.h>
33123 #else
33124 # include <assert.h>
33125 #endif
33126
33127 #undef $ac_func
33128
33129 /* Override any gcc2 internal prototype to avoid an error.  */
33130 #ifdef __cplusplus
33131 extern "C"
33132 {
33133 #endif
33134 /* We use char because int might match the return type of a gcc2
33135    builtin and then its argument prototype would still apply.  */
33136 char $ac_func ();
33137 /* The GNU C library defines this for functions which it implements
33138     to always fail with ENOSYS.  Some functions are actually named
33139     something starting with __ and the normal name is an alias.  */
33140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33141 choke me
33142 #else
33143 char (*f) () = $ac_func;
33144 #endif
33145 #ifdef __cplusplus
33146 }
33147 #endif
33148
33149 int
33150 main ()
33151 {
33152 return f != $ac_func;
33153   ;
33154   return 0;
33155 }
33156 _ACEOF
33157 rm -f conftest.$ac_objext conftest$ac_exeext
33158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33159   (eval $ac_link) 2>conftest.er1
33160   ac_status=$?
33161   grep -v '^ *+' conftest.er1 >conftest.err
33162   rm -f conftest.er1
33163   cat conftest.err >&5
33164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33165   (exit $ac_status); } &&
33166          { ac_try='test -z "$ac_c_werror_flag"
33167                          || test ! -s conftest.err'
33168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33169   (eval $ac_try) 2>&5
33170   ac_status=$?
33171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33172   (exit $ac_status); }; } &&
33173          { ac_try='test -s conftest$ac_exeext'
33174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33175   (eval $ac_try) 2>&5
33176   ac_status=$?
33177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33178   (exit $ac_status); }; }; then
33179   eval "$as_ac_var=yes"
33180 else
33181   echo "$as_me: failed program was:" >&5
33182 sed 's/^/| /' conftest.$ac_ext >&5
33183
33184 eval "$as_ac_var=no"
33185 fi
33186 rm -f conftest.err conftest.$ac_objext \
33187       conftest$ac_exeext conftest.$ac_ext
33188 fi
33189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33191 if test `eval echo '${'$as_ac_var'}'` = yes; then
33192   cat >>confdefs.h <<_ACEOF
33193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33194 _ACEOF
33195
33196 fi
33197 done
33198
33199   else
33200
33201   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
33202 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
33203   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33204     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
33205   echo $ECHO_N "(cached) $ECHO_C" >&6
33206 else
33207
33208
33209
33210       ac_ext=cc
33211 ac_cpp='$CXXCPP $CPPFLAGS'
33212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33215
33216       cat >conftest.$ac_ext <<_ACEOF
33217 /* confdefs.h.  */
33218 _ACEOF
33219 cat confdefs.h >>conftest.$ac_ext
33220 cat >>conftest.$ac_ext <<_ACEOF
33221 /* end confdefs.h.  */
33222 #include <math.h>
33223                       #ifdef HAVE_IEEEFP_H
33224                       #include <ieeefp.h>
33225                       #endif
33226
33227 int
33228 main ()
33229 {
33230  _fpclass(0);
33231   ;
33232   return 0;
33233 }
33234 _ACEOF
33235 rm -f conftest.$ac_objext
33236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33237   (eval $ac_compile) 2>conftest.er1
33238   ac_status=$?
33239   grep -v '^ *+' conftest.er1 >conftest.err
33240   rm -f conftest.er1
33241   cat conftest.err >&5
33242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33243   (exit $ac_status); } &&
33244          { ac_try='test -z "$ac_cxx_werror_flag"
33245                          || test ! -s conftest.err'
33246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33247   (eval $ac_try) 2>&5
33248   ac_status=$?
33249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33250   (exit $ac_status); }; } &&
33251          { ac_try='test -s conftest.$ac_objext'
33252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33253   (eval $ac_try) 2>&5
33254   ac_status=$?
33255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33256   (exit $ac_status); }; }; then
33257   glibcxx_cv_func__fpclass_use=yes
33258 else
33259   echo "$as_me: failed program was:" >&5
33260 sed 's/^/| /' conftest.$ac_ext >&5
33261
33262 glibcxx_cv_func__fpclass_use=no
33263 fi
33264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33265       ac_ext=c
33266 ac_cpp='$CPP $CPPFLAGS'
33267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33270
33271
33272 fi
33273
33274   fi
33275   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
33276 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
33277
33278     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33279
33280 for ac_func in _fpclass
33281 do
33282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33283 echo "$as_me:$LINENO: checking for $ac_func" >&5
33284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33285 if eval "test \"\${$as_ac_var+set}\" = set"; then
33286   echo $ECHO_N "(cached) $ECHO_C" >&6
33287 else
33288   if test x$gcc_no_link = xyes; then
33289   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33291    { (exit 1); exit 1; }; }
33292 fi
33293 cat >conftest.$ac_ext <<_ACEOF
33294 /* confdefs.h.  */
33295 _ACEOF
33296 cat confdefs.h >>conftest.$ac_ext
33297 cat >>conftest.$ac_ext <<_ACEOF
33298 /* end confdefs.h.  */
33299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33300    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33301 #define $ac_func innocuous_$ac_func
33302
33303 /* System header to define __stub macros and hopefully few prototypes,
33304     which can conflict with char $ac_func (); below.
33305     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33306     <limits.h> exists even on freestanding compilers.  */
33307
33308 #ifdef __STDC__
33309 # include <limits.h>
33310 #else
33311 # include <assert.h>
33312 #endif
33313
33314 #undef $ac_func
33315
33316 /* Override any gcc2 internal prototype to avoid an error.  */
33317 #ifdef __cplusplus
33318 extern "C"
33319 {
33320 #endif
33321 /* We use char because int might match the return type of a gcc2
33322    builtin and then its argument prototype would still apply.  */
33323 char $ac_func ();
33324 /* The GNU C library defines this for functions which it implements
33325     to always fail with ENOSYS.  Some functions are actually named
33326     something starting with __ and the normal name is an alias.  */
33327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33328 choke me
33329 #else
33330 char (*f) () = $ac_func;
33331 #endif
33332 #ifdef __cplusplus
33333 }
33334 #endif
33335
33336 int
33337 main ()
33338 {
33339 return f != $ac_func;
33340   ;
33341   return 0;
33342 }
33343 _ACEOF
33344 rm -f conftest.$ac_objext conftest$ac_exeext
33345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33346   (eval $ac_link) 2>conftest.er1
33347   ac_status=$?
33348   grep -v '^ *+' conftest.er1 >conftest.err
33349   rm -f conftest.er1
33350   cat conftest.err >&5
33351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33352   (exit $ac_status); } &&
33353          { ac_try='test -z "$ac_c_werror_flag"
33354                          || test ! -s conftest.err'
33355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33356   (eval $ac_try) 2>&5
33357   ac_status=$?
33358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33359   (exit $ac_status); }; } &&
33360          { ac_try='test -s conftest$ac_exeext'
33361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33362   (eval $ac_try) 2>&5
33363   ac_status=$?
33364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33365   (exit $ac_status); }; }; then
33366   eval "$as_ac_var=yes"
33367 else
33368   echo "$as_me: failed program was:" >&5
33369 sed 's/^/| /' conftest.$ac_ext >&5
33370
33371 eval "$as_ac_var=no"
33372 fi
33373 rm -f conftest.err conftest.$ac_objext \
33374       conftest$ac_exeext conftest.$ac_ext
33375 fi
33376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33378 if test `eval echo '${'$as_ac_var'}'` = yes; then
33379   cat >>confdefs.h <<_ACEOF
33380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33381 _ACEOF
33382
33383 fi
33384 done
33385
33386     fi
33387   fi
33388
33389
33390
33391
33392
33393
33394   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
33395 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
33396   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33397     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
33398   echo $ECHO_N "(cached) $ECHO_C" >&6
33399 else
33400
33401
33402
33403       ac_ext=cc
33404 ac_cpp='$CXXCPP $CPPFLAGS'
33405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33408
33409       cat >conftest.$ac_ext <<_ACEOF
33410 /* confdefs.h.  */
33411 _ACEOF
33412 cat confdefs.h >>conftest.$ac_ext
33413 cat >>conftest.$ac_ext <<_ACEOF
33414 /* end confdefs.h.  */
33415 #include <math.h>
33416                       #ifdef HAVE_IEEEFP_H
33417                       #include <ieeefp.h>
33418                       #endif
33419
33420 int
33421 main ()
33422 {
33423  qfpclass(0);
33424   ;
33425   return 0;
33426 }
33427 _ACEOF
33428 rm -f conftest.$ac_objext
33429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33430   (eval $ac_compile) 2>conftest.er1
33431   ac_status=$?
33432   grep -v '^ *+' conftest.er1 >conftest.err
33433   rm -f conftest.er1
33434   cat conftest.err >&5
33435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33436   (exit $ac_status); } &&
33437          { ac_try='test -z "$ac_cxx_werror_flag"
33438                          || test ! -s conftest.err'
33439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33440   (eval $ac_try) 2>&5
33441   ac_status=$?
33442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33443   (exit $ac_status); }; } &&
33444          { ac_try='test -s conftest.$ac_objext'
33445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33446   (eval $ac_try) 2>&5
33447   ac_status=$?
33448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33449   (exit $ac_status); }; }; then
33450   glibcxx_cv_func_qfpclass_use=yes
33451 else
33452   echo "$as_me: failed program was:" >&5
33453 sed 's/^/| /' conftest.$ac_ext >&5
33454
33455 glibcxx_cv_func_qfpclass_use=no
33456 fi
33457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33458       ac_ext=c
33459 ac_cpp='$CPP $CPPFLAGS'
33460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33463
33464
33465 fi
33466
33467   fi
33468   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
33469 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
33470
33471   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33472
33473 for ac_func in qfpclass
33474 do
33475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33476 echo "$as_me:$LINENO: checking for $ac_func" >&5
33477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33478 if eval "test \"\${$as_ac_var+set}\" = set"; then
33479   echo $ECHO_N "(cached) $ECHO_C" >&6
33480 else
33481   if test x$gcc_no_link = xyes; then
33482   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33484    { (exit 1); exit 1; }; }
33485 fi
33486 cat >conftest.$ac_ext <<_ACEOF
33487 /* confdefs.h.  */
33488 _ACEOF
33489 cat confdefs.h >>conftest.$ac_ext
33490 cat >>conftest.$ac_ext <<_ACEOF
33491 /* end confdefs.h.  */
33492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33493    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33494 #define $ac_func innocuous_$ac_func
33495
33496 /* System header to define __stub macros and hopefully few prototypes,
33497     which can conflict with char $ac_func (); below.
33498     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33499     <limits.h> exists even on freestanding compilers.  */
33500
33501 #ifdef __STDC__
33502 # include <limits.h>
33503 #else
33504 # include <assert.h>
33505 #endif
33506
33507 #undef $ac_func
33508
33509 /* Override any gcc2 internal prototype to avoid an error.  */
33510 #ifdef __cplusplus
33511 extern "C"
33512 {
33513 #endif
33514 /* We use char because int might match the return type of a gcc2
33515    builtin and then its argument prototype would still apply.  */
33516 char $ac_func ();
33517 /* The GNU C library defines this for functions which it implements
33518     to always fail with ENOSYS.  Some functions are actually named
33519     something starting with __ and the normal name is an alias.  */
33520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33521 choke me
33522 #else
33523 char (*f) () = $ac_func;
33524 #endif
33525 #ifdef __cplusplus
33526 }
33527 #endif
33528
33529 int
33530 main ()
33531 {
33532 return f != $ac_func;
33533   ;
33534   return 0;
33535 }
33536 _ACEOF
33537 rm -f conftest.$ac_objext conftest$ac_exeext
33538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33539   (eval $ac_link) 2>conftest.er1
33540   ac_status=$?
33541   grep -v '^ *+' conftest.er1 >conftest.err
33542   rm -f conftest.er1
33543   cat conftest.err >&5
33544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33545   (exit $ac_status); } &&
33546          { ac_try='test -z "$ac_c_werror_flag"
33547                          || test ! -s conftest.err'
33548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33549   (eval $ac_try) 2>&5
33550   ac_status=$?
33551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33552   (exit $ac_status); }; } &&
33553          { ac_try='test -s conftest$ac_exeext'
33554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33555   (eval $ac_try) 2>&5
33556   ac_status=$?
33557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33558   (exit $ac_status); }; }; then
33559   eval "$as_ac_var=yes"
33560 else
33561   echo "$as_me: failed program was:" >&5
33562 sed 's/^/| /' conftest.$ac_ext >&5
33563
33564 eval "$as_ac_var=no"
33565 fi
33566 rm -f conftest.err conftest.$ac_objext \
33567       conftest$ac_exeext conftest.$ac_ext
33568 fi
33569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33571 if test `eval echo '${'$as_ac_var'}'` = yes; then
33572   cat >>confdefs.h <<_ACEOF
33573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33574 _ACEOF
33575
33576 fi
33577 done
33578
33579   else
33580
33581   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
33582 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
33583   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33584     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
33585   echo $ECHO_N "(cached) $ECHO_C" >&6
33586 else
33587
33588
33589
33590       ac_ext=cc
33591 ac_cpp='$CXXCPP $CPPFLAGS'
33592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33595
33596       cat >conftest.$ac_ext <<_ACEOF
33597 /* confdefs.h.  */
33598 _ACEOF
33599 cat confdefs.h >>conftest.$ac_ext
33600 cat >>conftest.$ac_ext <<_ACEOF
33601 /* end confdefs.h.  */
33602 #include <math.h>
33603                       #ifdef HAVE_IEEEFP_H
33604                       #include <ieeefp.h>
33605                       #endif
33606
33607 int
33608 main ()
33609 {
33610  _qfpclass(0);
33611   ;
33612   return 0;
33613 }
33614 _ACEOF
33615 rm -f conftest.$ac_objext
33616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33617   (eval $ac_compile) 2>conftest.er1
33618   ac_status=$?
33619   grep -v '^ *+' conftest.er1 >conftest.err
33620   rm -f conftest.er1
33621   cat conftest.err >&5
33622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33623   (exit $ac_status); } &&
33624          { ac_try='test -z "$ac_cxx_werror_flag"
33625                          || test ! -s conftest.err'
33626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33627   (eval $ac_try) 2>&5
33628   ac_status=$?
33629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33630   (exit $ac_status); }; } &&
33631          { ac_try='test -s conftest.$ac_objext'
33632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33633   (eval $ac_try) 2>&5
33634   ac_status=$?
33635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33636   (exit $ac_status); }; }; then
33637   glibcxx_cv_func__qfpclass_use=yes
33638 else
33639   echo "$as_me: failed program was:" >&5
33640 sed 's/^/| /' conftest.$ac_ext >&5
33641
33642 glibcxx_cv_func__qfpclass_use=no
33643 fi
33644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33645       ac_ext=c
33646 ac_cpp='$CPP $CPPFLAGS'
33647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33650
33651
33652 fi
33653
33654   fi
33655   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
33656 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
33657
33658     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33659
33660 for ac_func in _qfpclass
33661 do
33662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33663 echo "$as_me:$LINENO: checking for $ac_func" >&5
33664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33665 if eval "test \"\${$as_ac_var+set}\" = set"; then
33666   echo $ECHO_N "(cached) $ECHO_C" >&6
33667 else
33668   if test x$gcc_no_link = xyes; then
33669   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33671    { (exit 1); exit 1; }; }
33672 fi
33673 cat >conftest.$ac_ext <<_ACEOF
33674 /* confdefs.h.  */
33675 _ACEOF
33676 cat confdefs.h >>conftest.$ac_ext
33677 cat >>conftest.$ac_ext <<_ACEOF
33678 /* end confdefs.h.  */
33679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33680    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33681 #define $ac_func innocuous_$ac_func
33682
33683 /* System header to define __stub macros and hopefully few prototypes,
33684     which can conflict with char $ac_func (); below.
33685     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33686     <limits.h> exists even on freestanding compilers.  */
33687
33688 #ifdef __STDC__
33689 # include <limits.h>
33690 #else
33691 # include <assert.h>
33692 #endif
33693
33694 #undef $ac_func
33695
33696 /* Override any gcc2 internal prototype to avoid an error.  */
33697 #ifdef __cplusplus
33698 extern "C"
33699 {
33700 #endif
33701 /* We use char because int might match the return type of a gcc2
33702    builtin and then its argument prototype would still apply.  */
33703 char $ac_func ();
33704 /* The GNU C library defines this for functions which it implements
33705     to always fail with ENOSYS.  Some functions are actually named
33706     something starting with __ and the normal name is an alias.  */
33707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33708 choke me
33709 #else
33710 char (*f) () = $ac_func;
33711 #endif
33712 #ifdef __cplusplus
33713 }
33714 #endif
33715
33716 int
33717 main ()
33718 {
33719 return f != $ac_func;
33720   ;
33721   return 0;
33722 }
33723 _ACEOF
33724 rm -f conftest.$ac_objext conftest$ac_exeext
33725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33726   (eval $ac_link) 2>conftest.er1
33727   ac_status=$?
33728   grep -v '^ *+' conftest.er1 >conftest.err
33729   rm -f conftest.er1
33730   cat conftest.err >&5
33731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33732   (exit $ac_status); } &&
33733          { ac_try='test -z "$ac_c_werror_flag"
33734                          || test ! -s conftest.err'
33735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33736   (eval $ac_try) 2>&5
33737   ac_status=$?
33738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33739   (exit $ac_status); }; } &&
33740          { ac_try='test -s conftest$ac_exeext'
33741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33742   (eval $ac_try) 2>&5
33743   ac_status=$?
33744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33745   (exit $ac_status); }; }; then
33746   eval "$as_ac_var=yes"
33747 else
33748   echo "$as_me: failed program was:" >&5
33749 sed 's/^/| /' conftest.$ac_ext >&5
33750
33751 eval "$as_ac_var=no"
33752 fi
33753 rm -f conftest.err conftest.$ac_objext \
33754       conftest$ac_exeext conftest.$ac_ext
33755 fi
33756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33758 if test `eval echo '${'$as_ac_var'}'` = yes; then
33759   cat >>confdefs.h <<_ACEOF
33760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33761 _ACEOF
33762
33763 fi
33764 done
33765
33766     fi
33767   fi
33768
33769
33770
33771
33772
33773
33774   echo "$as_me:$LINENO: checking for hypot declaration" >&5
33775 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
33776   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33777     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
33778   echo $ECHO_N "(cached) $ECHO_C" >&6
33779 else
33780
33781
33782
33783       ac_ext=cc
33784 ac_cpp='$CXXCPP $CPPFLAGS'
33785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33788
33789       cat >conftest.$ac_ext <<_ACEOF
33790 /* confdefs.h.  */
33791 _ACEOF
33792 cat confdefs.h >>conftest.$ac_ext
33793 cat >>conftest.$ac_ext <<_ACEOF
33794 /* end confdefs.h.  */
33795 #include <math.h>
33796 int
33797 main ()
33798 {
33799  hypot(0, 0);
33800   ;
33801   return 0;
33802 }
33803 _ACEOF
33804 rm -f conftest.$ac_objext
33805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33806   (eval $ac_compile) 2>conftest.er1
33807   ac_status=$?
33808   grep -v '^ *+' conftest.er1 >conftest.err
33809   rm -f conftest.er1
33810   cat conftest.err >&5
33811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33812   (exit $ac_status); } &&
33813          { ac_try='test -z "$ac_cxx_werror_flag"
33814                          || test ! -s conftest.err'
33815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33816   (eval $ac_try) 2>&5
33817   ac_status=$?
33818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33819   (exit $ac_status); }; } &&
33820          { ac_try='test -s conftest.$ac_objext'
33821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33822   (eval $ac_try) 2>&5
33823   ac_status=$?
33824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33825   (exit $ac_status); }; }; then
33826   glibcxx_cv_func_hypot_use=yes
33827 else
33828   echo "$as_me: failed program was:" >&5
33829 sed 's/^/| /' conftest.$ac_ext >&5
33830
33831 glibcxx_cv_func_hypot_use=no
33832 fi
33833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33834       ac_ext=c
33835 ac_cpp='$CPP $CPPFLAGS'
33836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33839
33840
33841 fi
33842
33843   fi
33844   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
33845 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
33846
33847   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33848
33849 for ac_func in hypot
33850 do
33851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33852 echo "$as_me:$LINENO: checking for $ac_func" >&5
33853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33854 if eval "test \"\${$as_ac_var+set}\" = set"; then
33855   echo $ECHO_N "(cached) $ECHO_C" >&6
33856 else
33857   if test x$gcc_no_link = xyes; then
33858   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33860    { (exit 1); exit 1; }; }
33861 fi
33862 cat >conftest.$ac_ext <<_ACEOF
33863 /* confdefs.h.  */
33864 _ACEOF
33865 cat confdefs.h >>conftest.$ac_ext
33866 cat >>conftest.$ac_ext <<_ACEOF
33867 /* end confdefs.h.  */
33868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33869    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33870 #define $ac_func innocuous_$ac_func
33871
33872 /* System header to define __stub macros and hopefully few prototypes,
33873     which can conflict with char $ac_func (); below.
33874     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33875     <limits.h> exists even on freestanding compilers.  */
33876
33877 #ifdef __STDC__
33878 # include <limits.h>
33879 #else
33880 # include <assert.h>
33881 #endif
33882
33883 #undef $ac_func
33884
33885 /* Override any gcc2 internal prototype to avoid an error.  */
33886 #ifdef __cplusplus
33887 extern "C"
33888 {
33889 #endif
33890 /* We use char because int might match the return type of a gcc2
33891    builtin and then its argument prototype would still apply.  */
33892 char $ac_func ();
33893 /* The GNU C library defines this for functions which it implements
33894     to always fail with ENOSYS.  Some functions are actually named
33895     something starting with __ and the normal name is an alias.  */
33896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33897 choke me
33898 #else
33899 char (*f) () = $ac_func;
33900 #endif
33901 #ifdef __cplusplus
33902 }
33903 #endif
33904
33905 int
33906 main ()
33907 {
33908 return f != $ac_func;
33909   ;
33910   return 0;
33911 }
33912 _ACEOF
33913 rm -f conftest.$ac_objext conftest$ac_exeext
33914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33915   (eval $ac_link) 2>conftest.er1
33916   ac_status=$?
33917   grep -v '^ *+' conftest.er1 >conftest.err
33918   rm -f conftest.er1
33919   cat conftest.err >&5
33920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33921   (exit $ac_status); } &&
33922          { ac_try='test -z "$ac_c_werror_flag"
33923                          || test ! -s conftest.err'
33924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33925   (eval $ac_try) 2>&5
33926   ac_status=$?
33927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33928   (exit $ac_status); }; } &&
33929          { ac_try='test -s conftest$ac_exeext'
33930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33931   (eval $ac_try) 2>&5
33932   ac_status=$?
33933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33934   (exit $ac_status); }; }; then
33935   eval "$as_ac_var=yes"
33936 else
33937   echo "$as_me: failed program was:" >&5
33938 sed 's/^/| /' conftest.$ac_ext >&5
33939
33940 eval "$as_ac_var=no"
33941 fi
33942 rm -f conftest.err conftest.$ac_objext \
33943       conftest$ac_exeext conftest.$ac_ext
33944 fi
33945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33947 if test `eval echo '${'$as_ac_var'}'` = yes; then
33948   cat >>confdefs.h <<_ACEOF
33949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33950 _ACEOF
33951
33952 fi
33953 done
33954
33955   else
33956
33957   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
33958 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
33959   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33960     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
33961   echo $ECHO_N "(cached) $ECHO_C" >&6
33962 else
33963
33964
33965
33966       ac_ext=cc
33967 ac_cpp='$CXXCPP $CPPFLAGS'
33968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33971
33972       cat >conftest.$ac_ext <<_ACEOF
33973 /* confdefs.h.  */
33974 _ACEOF
33975 cat confdefs.h >>conftest.$ac_ext
33976 cat >>conftest.$ac_ext <<_ACEOF
33977 /* end confdefs.h.  */
33978 #include <math.h>
33979 int
33980 main ()
33981 {
33982  _hypot(0, 0);
33983   ;
33984   return 0;
33985 }
33986 _ACEOF
33987 rm -f conftest.$ac_objext
33988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33989   (eval $ac_compile) 2>conftest.er1
33990   ac_status=$?
33991   grep -v '^ *+' conftest.er1 >conftest.err
33992   rm -f conftest.er1
33993   cat conftest.err >&5
33994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33995   (exit $ac_status); } &&
33996          { ac_try='test -z "$ac_cxx_werror_flag"
33997                          || test ! -s conftest.err'
33998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33999   (eval $ac_try) 2>&5
34000   ac_status=$?
34001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34002   (exit $ac_status); }; } &&
34003          { ac_try='test -s conftest.$ac_objext'
34004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34005   (eval $ac_try) 2>&5
34006   ac_status=$?
34007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34008   (exit $ac_status); }; }; then
34009   glibcxx_cv_func__hypot_use=yes
34010 else
34011   echo "$as_me: failed program was:" >&5
34012 sed 's/^/| /' conftest.$ac_ext >&5
34013
34014 glibcxx_cv_func__hypot_use=no
34015 fi
34016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34017       ac_ext=c
34018 ac_cpp='$CPP $CPPFLAGS'
34019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34022
34023
34024 fi
34025
34026   fi
34027   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
34028 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
34029
34030     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34031
34032 for ac_func in _hypot
34033 do
34034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34035 echo "$as_me:$LINENO: checking for $ac_func" >&5
34036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34037 if eval "test \"\${$as_ac_var+set}\" = set"; then
34038   echo $ECHO_N "(cached) $ECHO_C" >&6
34039 else
34040   if test x$gcc_no_link = xyes; then
34041   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34043    { (exit 1); exit 1; }; }
34044 fi
34045 cat >conftest.$ac_ext <<_ACEOF
34046 /* confdefs.h.  */
34047 _ACEOF
34048 cat confdefs.h >>conftest.$ac_ext
34049 cat >>conftest.$ac_ext <<_ACEOF
34050 /* end confdefs.h.  */
34051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34052    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34053 #define $ac_func innocuous_$ac_func
34054
34055 /* System header to define __stub macros and hopefully few prototypes,
34056     which can conflict with char $ac_func (); below.
34057     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34058     <limits.h> exists even on freestanding compilers.  */
34059
34060 #ifdef __STDC__
34061 # include <limits.h>
34062 #else
34063 # include <assert.h>
34064 #endif
34065
34066 #undef $ac_func
34067
34068 /* Override any gcc2 internal prototype to avoid an error.  */
34069 #ifdef __cplusplus
34070 extern "C"
34071 {
34072 #endif
34073 /* We use char because int might match the return type of a gcc2
34074    builtin and then its argument prototype would still apply.  */
34075 char $ac_func ();
34076 /* The GNU C library defines this for functions which it implements
34077     to always fail with ENOSYS.  Some functions are actually named
34078     something starting with __ and the normal name is an alias.  */
34079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34080 choke me
34081 #else
34082 char (*f) () = $ac_func;
34083 #endif
34084 #ifdef __cplusplus
34085 }
34086 #endif
34087
34088 int
34089 main ()
34090 {
34091 return f != $ac_func;
34092   ;
34093   return 0;
34094 }
34095 _ACEOF
34096 rm -f conftest.$ac_objext conftest$ac_exeext
34097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34098   (eval $ac_link) 2>conftest.er1
34099   ac_status=$?
34100   grep -v '^ *+' conftest.er1 >conftest.err
34101   rm -f conftest.er1
34102   cat conftest.err >&5
34103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34104   (exit $ac_status); } &&
34105          { ac_try='test -z "$ac_c_werror_flag"
34106                          || test ! -s conftest.err'
34107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34108   (eval $ac_try) 2>&5
34109   ac_status=$?
34110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34111   (exit $ac_status); }; } &&
34112          { ac_try='test -s conftest$ac_exeext'
34113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34114   (eval $ac_try) 2>&5
34115   ac_status=$?
34116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34117   (exit $ac_status); }; }; then
34118   eval "$as_ac_var=yes"
34119 else
34120   echo "$as_me: failed program was:" >&5
34121 sed 's/^/| /' conftest.$ac_ext >&5
34122
34123 eval "$as_ac_var=no"
34124 fi
34125 rm -f conftest.err conftest.$ac_objext \
34126       conftest$ac_exeext conftest.$ac_ext
34127 fi
34128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34130 if test `eval echo '${'$as_ac_var'}'` = yes; then
34131   cat >>confdefs.h <<_ACEOF
34132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34133 _ACEOF
34134
34135 fi
34136 done
34137
34138     fi
34139   fi
34140
34141
34142
34143
34144
34145
34146     echo "$as_me:$LINENO: checking for float trig functions" >&5
34147 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
34148   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
34149   echo $ECHO_N "(cached) $ECHO_C" >&6
34150 else
34151
34152
34153
34154     ac_ext=cc
34155 ac_cpp='$CXXCPP $CPPFLAGS'
34156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34159
34160     cat >conftest.$ac_ext <<_ACEOF
34161 /* confdefs.h.  */
34162 _ACEOF
34163 cat confdefs.h >>conftest.$ac_ext
34164 cat >>conftest.$ac_ext <<_ACEOF
34165 /* end confdefs.h.  */
34166 #include <math.h>
34167 int
34168 main ()
34169 {
34170 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34171   ;
34172   return 0;
34173 }
34174 _ACEOF
34175 rm -f conftest.$ac_objext
34176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34177   (eval $ac_compile) 2>conftest.er1
34178   ac_status=$?
34179   grep -v '^ *+' conftest.er1 >conftest.err
34180   rm -f conftest.er1
34181   cat conftest.err >&5
34182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34183   (exit $ac_status); } &&
34184          { ac_try='test -z "$ac_cxx_werror_flag"
34185                          || test ! -s conftest.err'
34186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34187   (eval $ac_try) 2>&5
34188   ac_status=$?
34189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34190   (exit $ac_status); }; } &&
34191          { ac_try='test -s conftest.$ac_objext'
34192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34193   (eval $ac_try) 2>&5
34194   ac_status=$?
34195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34196   (exit $ac_status); }; }; then
34197   glibcxx_cv_func_float_trig_use=yes
34198 else
34199   echo "$as_me: failed program was:" >&5
34200 sed 's/^/| /' conftest.$ac_ext >&5
34201
34202 glibcxx_cv_func_float_trig_use=no
34203 fi
34204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34205     ac_ext=c
34206 ac_cpp='$CPP $CPPFLAGS'
34207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34210
34211 fi
34212
34213   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
34214 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
34215   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34216
34217
34218
34219
34220
34221
34222
34223
34224
34225 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34226 do
34227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34228 echo "$as_me:$LINENO: checking for $ac_func" >&5
34229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34230 if eval "test \"\${$as_ac_var+set}\" = set"; then
34231   echo $ECHO_N "(cached) $ECHO_C" >&6
34232 else
34233   if test x$gcc_no_link = xyes; then
34234   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34236    { (exit 1); exit 1; }; }
34237 fi
34238 cat >conftest.$ac_ext <<_ACEOF
34239 /* confdefs.h.  */
34240 _ACEOF
34241 cat confdefs.h >>conftest.$ac_ext
34242 cat >>conftest.$ac_ext <<_ACEOF
34243 /* end confdefs.h.  */
34244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34245    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34246 #define $ac_func innocuous_$ac_func
34247
34248 /* System header to define __stub macros and hopefully few prototypes,
34249     which can conflict with char $ac_func (); below.
34250     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34251     <limits.h> exists even on freestanding compilers.  */
34252
34253 #ifdef __STDC__
34254 # include <limits.h>
34255 #else
34256 # include <assert.h>
34257 #endif
34258
34259 #undef $ac_func
34260
34261 /* Override any gcc2 internal prototype to avoid an error.  */
34262 #ifdef __cplusplus
34263 extern "C"
34264 {
34265 #endif
34266 /* We use char because int might match the return type of a gcc2
34267    builtin and then its argument prototype would still apply.  */
34268 char $ac_func ();
34269 /* The GNU C library defines this for functions which it implements
34270     to always fail with ENOSYS.  Some functions are actually named
34271     something starting with __ and the normal name is an alias.  */
34272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34273 choke me
34274 #else
34275 char (*f) () = $ac_func;
34276 #endif
34277 #ifdef __cplusplus
34278 }
34279 #endif
34280
34281 int
34282 main ()
34283 {
34284 return f != $ac_func;
34285   ;
34286   return 0;
34287 }
34288 _ACEOF
34289 rm -f conftest.$ac_objext conftest$ac_exeext
34290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34291   (eval $ac_link) 2>conftest.er1
34292   ac_status=$?
34293   grep -v '^ *+' conftest.er1 >conftest.err
34294   rm -f conftest.er1
34295   cat conftest.err >&5
34296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34297   (exit $ac_status); } &&
34298          { ac_try='test -z "$ac_c_werror_flag"
34299                          || test ! -s conftest.err'
34300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34301   (eval $ac_try) 2>&5
34302   ac_status=$?
34303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34304   (exit $ac_status); }; } &&
34305          { ac_try='test -s conftest$ac_exeext'
34306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34307   (eval $ac_try) 2>&5
34308   ac_status=$?
34309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34310   (exit $ac_status); }; }; then
34311   eval "$as_ac_var=yes"
34312 else
34313   echo "$as_me: failed program was:" >&5
34314 sed 's/^/| /' conftest.$ac_ext >&5
34315
34316 eval "$as_ac_var=no"
34317 fi
34318 rm -f conftest.err conftest.$ac_objext \
34319       conftest$ac_exeext conftest.$ac_ext
34320 fi
34321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34323 if test `eval echo '${'$as_ac_var'}'` = yes; then
34324   cat >>confdefs.h <<_ACEOF
34325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34326 _ACEOF
34327
34328 fi
34329 done
34330
34331   else
34332     echo "$as_me:$LINENO: checking for _float trig functions" >&5
34333 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
34334     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
34335   echo $ECHO_N "(cached) $ECHO_C" >&6
34336 else
34337
34338
34339
34340       ac_ext=cc
34341 ac_cpp='$CXXCPP $CPPFLAGS'
34342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34345
34346       cat >conftest.$ac_ext <<_ACEOF
34347 /* confdefs.h.  */
34348 _ACEOF
34349 cat confdefs.h >>conftest.$ac_ext
34350 cat >>conftest.$ac_ext <<_ACEOF
34351 /* end confdefs.h.  */
34352 #include <math.h>
34353 int
34354 main ()
34355 {
34356 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34357   ;
34358   return 0;
34359 }
34360 _ACEOF
34361 rm -f conftest.$ac_objext
34362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34363   (eval $ac_compile) 2>conftest.er1
34364   ac_status=$?
34365   grep -v '^ *+' conftest.er1 >conftest.err
34366   rm -f conftest.er1
34367   cat conftest.err >&5
34368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34369   (exit $ac_status); } &&
34370          { ac_try='test -z "$ac_cxx_werror_flag"
34371                          || test ! -s conftest.err'
34372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34373   (eval $ac_try) 2>&5
34374   ac_status=$?
34375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34376   (exit $ac_status); }; } &&
34377          { ac_try='test -s conftest.$ac_objext'
34378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34379   (eval $ac_try) 2>&5
34380   ac_status=$?
34381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34382   (exit $ac_status); }; }; then
34383   glibcxx_cv_func__float_trig_use=yes
34384 else
34385   echo "$as_me: failed program was:" >&5
34386 sed 's/^/| /' conftest.$ac_ext >&5
34387
34388 glibcxx_cv_func__float_trig_use=no
34389 fi
34390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34391       ac_ext=c
34392 ac_cpp='$CPP $CPPFLAGS'
34393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34396
34397 fi
34398
34399     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
34400 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
34401     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34402
34403
34404
34405
34406
34407
34408
34409
34410
34411 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34412 do
34413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34414 echo "$as_me:$LINENO: checking for $ac_func" >&5
34415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34416 if eval "test \"\${$as_ac_var+set}\" = set"; then
34417   echo $ECHO_N "(cached) $ECHO_C" >&6
34418 else
34419   if test x$gcc_no_link = xyes; then
34420   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34422    { (exit 1); exit 1; }; }
34423 fi
34424 cat >conftest.$ac_ext <<_ACEOF
34425 /* confdefs.h.  */
34426 _ACEOF
34427 cat confdefs.h >>conftest.$ac_ext
34428 cat >>conftest.$ac_ext <<_ACEOF
34429 /* end confdefs.h.  */
34430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34431    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34432 #define $ac_func innocuous_$ac_func
34433
34434 /* System header to define __stub macros and hopefully few prototypes,
34435     which can conflict with char $ac_func (); below.
34436     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34437     <limits.h> exists even on freestanding compilers.  */
34438
34439 #ifdef __STDC__
34440 # include <limits.h>
34441 #else
34442 # include <assert.h>
34443 #endif
34444
34445 #undef $ac_func
34446
34447 /* Override any gcc2 internal prototype to avoid an error.  */
34448 #ifdef __cplusplus
34449 extern "C"
34450 {
34451 #endif
34452 /* We use char because int might match the return type of a gcc2
34453    builtin and then its argument prototype would still apply.  */
34454 char $ac_func ();
34455 /* The GNU C library defines this for functions which it implements
34456     to always fail with ENOSYS.  Some functions are actually named
34457     something starting with __ and the normal name is an alias.  */
34458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34459 choke me
34460 #else
34461 char (*f) () = $ac_func;
34462 #endif
34463 #ifdef __cplusplus
34464 }
34465 #endif
34466
34467 int
34468 main ()
34469 {
34470 return f != $ac_func;
34471   ;
34472   return 0;
34473 }
34474 _ACEOF
34475 rm -f conftest.$ac_objext conftest$ac_exeext
34476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34477   (eval $ac_link) 2>conftest.er1
34478   ac_status=$?
34479   grep -v '^ *+' conftest.er1 >conftest.err
34480   rm -f conftest.er1
34481   cat conftest.err >&5
34482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34483   (exit $ac_status); } &&
34484          { ac_try='test -z "$ac_c_werror_flag"
34485                          || test ! -s conftest.err'
34486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34487   (eval $ac_try) 2>&5
34488   ac_status=$?
34489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34490   (exit $ac_status); }; } &&
34491          { ac_try='test -s conftest$ac_exeext'
34492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34493   (eval $ac_try) 2>&5
34494   ac_status=$?
34495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34496   (exit $ac_status); }; }; then
34497   eval "$as_ac_var=yes"
34498 else
34499   echo "$as_me: failed program was:" >&5
34500 sed 's/^/| /' conftest.$ac_ext >&5
34501
34502 eval "$as_ac_var=no"
34503 fi
34504 rm -f conftest.err conftest.$ac_objext \
34505       conftest$ac_exeext conftest.$ac_ext
34506 fi
34507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34509 if test `eval echo '${'$as_ac_var'}'` = yes; then
34510   cat >>confdefs.h <<_ACEOF
34511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34512 _ACEOF
34513
34514 fi
34515 done
34516
34517     fi
34518   fi
34519
34520
34521
34522
34523
34524
34525
34526
34527
34528
34529
34530
34531
34532
34533     echo "$as_me:$LINENO: checking for float round functions" >&5
34534 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
34535   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
34536   echo $ECHO_N "(cached) $ECHO_C" >&6
34537 else
34538
34539
34540
34541     ac_ext=cc
34542 ac_cpp='$CXXCPP $CPPFLAGS'
34543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34546
34547     cat >conftest.$ac_ext <<_ACEOF
34548 /* confdefs.h.  */
34549 _ACEOF
34550 cat confdefs.h >>conftest.$ac_ext
34551 cat >>conftest.$ac_ext <<_ACEOF
34552 /* end confdefs.h.  */
34553 #include <math.h>
34554 int
34555 main ()
34556 {
34557 ceilf (0); floorf (0);
34558   ;
34559   return 0;
34560 }
34561 _ACEOF
34562 rm -f conftest.$ac_objext
34563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34564   (eval $ac_compile) 2>conftest.er1
34565   ac_status=$?
34566   grep -v '^ *+' conftest.er1 >conftest.err
34567   rm -f conftest.er1
34568   cat conftest.err >&5
34569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34570   (exit $ac_status); } &&
34571          { ac_try='test -z "$ac_cxx_werror_flag"
34572                          || test ! -s conftest.err'
34573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34574   (eval $ac_try) 2>&5
34575   ac_status=$?
34576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34577   (exit $ac_status); }; } &&
34578          { ac_try='test -s conftest.$ac_objext'
34579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34580   (eval $ac_try) 2>&5
34581   ac_status=$?
34582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34583   (exit $ac_status); }; }; then
34584   glibcxx_cv_func_float_round_use=yes
34585 else
34586   echo "$as_me: failed program was:" >&5
34587 sed 's/^/| /' conftest.$ac_ext >&5
34588
34589 glibcxx_cv_func_float_round_use=no
34590 fi
34591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34592     ac_ext=c
34593 ac_cpp='$CPP $CPPFLAGS'
34594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34597
34598 fi
34599
34600   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
34601 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
34602   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34603
34604
34605 for ac_func in ceilf floorf
34606 do
34607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34608 echo "$as_me:$LINENO: checking for $ac_func" >&5
34609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34610 if eval "test \"\${$as_ac_var+set}\" = set"; then
34611   echo $ECHO_N "(cached) $ECHO_C" >&6
34612 else
34613   if test x$gcc_no_link = xyes; then
34614   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34616    { (exit 1); exit 1; }; }
34617 fi
34618 cat >conftest.$ac_ext <<_ACEOF
34619 /* confdefs.h.  */
34620 _ACEOF
34621 cat confdefs.h >>conftest.$ac_ext
34622 cat >>conftest.$ac_ext <<_ACEOF
34623 /* end confdefs.h.  */
34624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34625    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34626 #define $ac_func innocuous_$ac_func
34627
34628 /* System header to define __stub macros and hopefully few prototypes,
34629     which can conflict with char $ac_func (); below.
34630     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34631     <limits.h> exists even on freestanding compilers.  */
34632
34633 #ifdef __STDC__
34634 # include <limits.h>
34635 #else
34636 # include <assert.h>
34637 #endif
34638
34639 #undef $ac_func
34640
34641 /* Override any gcc2 internal prototype to avoid an error.  */
34642 #ifdef __cplusplus
34643 extern "C"
34644 {
34645 #endif
34646 /* We use char because int might match the return type of a gcc2
34647    builtin and then its argument prototype would still apply.  */
34648 char $ac_func ();
34649 /* The GNU C library defines this for functions which it implements
34650     to always fail with ENOSYS.  Some functions are actually named
34651     something starting with __ and the normal name is an alias.  */
34652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34653 choke me
34654 #else
34655 char (*f) () = $ac_func;
34656 #endif
34657 #ifdef __cplusplus
34658 }
34659 #endif
34660
34661 int
34662 main ()
34663 {
34664 return f != $ac_func;
34665   ;
34666   return 0;
34667 }
34668 _ACEOF
34669 rm -f conftest.$ac_objext conftest$ac_exeext
34670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34671   (eval $ac_link) 2>conftest.er1
34672   ac_status=$?
34673   grep -v '^ *+' conftest.er1 >conftest.err
34674   rm -f conftest.er1
34675   cat conftest.err >&5
34676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34677   (exit $ac_status); } &&
34678          { ac_try='test -z "$ac_c_werror_flag"
34679                          || test ! -s conftest.err'
34680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34681   (eval $ac_try) 2>&5
34682   ac_status=$?
34683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34684   (exit $ac_status); }; } &&
34685          { ac_try='test -s conftest$ac_exeext'
34686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34687   (eval $ac_try) 2>&5
34688   ac_status=$?
34689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34690   (exit $ac_status); }; }; then
34691   eval "$as_ac_var=yes"
34692 else
34693   echo "$as_me: failed program was:" >&5
34694 sed 's/^/| /' conftest.$ac_ext >&5
34695
34696 eval "$as_ac_var=no"
34697 fi
34698 rm -f conftest.err conftest.$ac_objext \
34699       conftest$ac_exeext conftest.$ac_ext
34700 fi
34701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34703 if test `eval echo '${'$as_ac_var'}'` = yes; then
34704   cat >>confdefs.h <<_ACEOF
34705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34706 _ACEOF
34707
34708 fi
34709 done
34710
34711   else
34712     echo "$as_me:$LINENO: checking for _float round functions" >&5
34713 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
34714     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
34715   echo $ECHO_N "(cached) $ECHO_C" >&6
34716 else
34717
34718
34719
34720       ac_ext=cc
34721 ac_cpp='$CXXCPP $CPPFLAGS'
34722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34725
34726       cat >conftest.$ac_ext <<_ACEOF
34727 /* confdefs.h.  */
34728 _ACEOF
34729 cat confdefs.h >>conftest.$ac_ext
34730 cat >>conftest.$ac_ext <<_ACEOF
34731 /* end confdefs.h.  */
34732 #include <math.h>
34733 int
34734 main ()
34735 {
34736 _ceilf (0); _floorf (0);
34737   ;
34738   return 0;
34739 }
34740 _ACEOF
34741 rm -f conftest.$ac_objext
34742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34743   (eval $ac_compile) 2>conftest.er1
34744   ac_status=$?
34745   grep -v '^ *+' conftest.er1 >conftest.err
34746   rm -f conftest.er1
34747   cat conftest.err >&5
34748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34749   (exit $ac_status); } &&
34750          { ac_try='test -z "$ac_cxx_werror_flag"
34751                          || test ! -s conftest.err'
34752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34753   (eval $ac_try) 2>&5
34754   ac_status=$?
34755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34756   (exit $ac_status); }; } &&
34757          { ac_try='test -s conftest.$ac_objext'
34758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34759   (eval $ac_try) 2>&5
34760   ac_status=$?
34761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34762   (exit $ac_status); }; }; then
34763   glibcxx_cv_func__float_round_use=yes
34764 else
34765   echo "$as_me: failed program was:" >&5
34766 sed 's/^/| /' conftest.$ac_ext >&5
34767
34768 glibcxx_cv_func__float_round_use=no
34769 fi
34770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34771       ac_ext=c
34772 ac_cpp='$CPP $CPPFLAGS'
34773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34776
34777 fi
34778
34779     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
34780 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
34781     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34782
34783
34784 for ac_func in _ceilf _floorf
34785 do
34786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34787 echo "$as_me:$LINENO: checking for $ac_func" >&5
34788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34789 if eval "test \"\${$as_ac_var+set}\" = set"; then
34790   echo $ECHO_N "(cached) $ECHO_C" >&6
34791 else
34792   if test x$gcc_no_link = xyes; then
34793   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34795    { (exit 1); exit 1; }; }
34796 fi
34797 cat >conftest.$ac_ext <<_ACEOF
34798 /* confdefs.h.  */
34799 _ACEOF
34800 cat confdefs.h >>conftest.$ac_ext
34801 cat >>conftest.$ac_ext <<_ACEOF
34802 /* end confdefs.h.  */
34803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34804    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34805 #define $ac_func innocuous_$ac_func
34806
34807 /* System header to define __stub macros and hopefully few prototypes,
34808     which can conflict with char $ac_func (); below.
34809     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34810     <limits.h> exists even on freestanding compilers.  */
34811
34812 #ifdef __STDC__
34813 # include <limits.h>
34814 #else
34815 # include <assert.h>
34816 #endif
34817
34818 #undef $ac_func
34819
34820 /* Override any gcc2 internal prototype to avoid an error.  */
34821 #ifdef __cplusplus
34822 extern "C"
34823 {
34824 #endif
34825 /* We use char because int might match the return type of a gcc2
34826    builtin and then its argument prototype would still apply.  */
34827 char $ac_func ();
34828 /* The GNU C library defines this for functions which it implements
34829     to always fail with ENOSYS.  Some functions are actually named
34830     something starting with __ and the normal name is an alias.  */
34831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34832 choke me
34833 #else
34834 char (*f) () = $ac_func;
34835 #endif
34836 #ifdef __cplusplus
34837 }
34838 #endif
34839
34840 int
34841 main ()
34842 {
34843 return f != $ac_func;
34844   ;
34845   return 0;
34846 }
34847 _ACEOF
34848 rm -f conftest.$ac_objext conftest$ac_exeext
34849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34850   (eval $ac_link) 2>conftest.er1
34851   ac_status=$?
34852   grep -v '^ *+' conftest.er1 >conftest.err
34853   rm -f conftest.er1
34854   cat conftest.err >&5
34855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34856   (exit $ac_status); } &&
34857          { ac_try='test -z "$ac_c_werror_flag"
34858                          || test ! -s conftest.err'
34859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34860   (eval $ac_try) 2>&5
34861   ac_status=$?
34862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34863   (exit $ac_status); }; } &&
34864          { ac_try='test -s conftest$ac_exeext'
34865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34866   (eval $ac_try) 2>&5
34867   ac_status=$?
34868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34869   (exit $ac_status); }; }; then
34870   eval "$as_ac_var=yes"
34871 else
34872   echo "$as_me: failed program was:" >&5
34873 sed 's/^/| /' conftest.$ac_ext >&5
34874
34875 eval "$as_ac_var=no"
34876 fi
34877 rm -f conftest.err conftest.$ac_objext \
34878       conftest$ac_exeext conftest.$ac_ext
34879 fi
34880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34882 if test `eval echo '${'$as_ac_var'}'` = yes; then
34883   cat >>confdefs.h <<_ACEOF
34884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34885 _ACEOF
34886
34887 fi
34888 done
34889
34890     fi
34891   fi
34892
34893
34894
34895
34896
34897
34898
34899
34900   echo "$as_me:$LINENO: checking for expf declaration" >&5
34901 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
34902   if test x${glibcxx_cv_func_expf_use+set} != xset; then
34903     if test "${glibcxx_cv_func_expf_use+set}" = set; then
34904   echo $ECHO_N "(cached) $ECHO_C" >&6
34905 else
34906
34907
34908
34909       ac_ext=cc
34910 ac_cpp='$CXXCPP $CPPFLAGS'
34911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34914
34915       cat >conftest.$ac_ext <<_ACEOF
34916 /* confdefs.h.  */
34917 _ACEOF
34918 cat confdefs.h >>conftest.$ac_ext
34919 cat >>conftest.$ac_ext <<_ACEOF
34920 /* end confdefs.h.  */
34921 #include <math.h>
34922                       #ifdef HAVE_IEEEFP_H
34923                       #include <ieeefp.h>
34924                       #endif
34925
34926 int
34927 main ()
34928 {
34929  expf(0);
34930   ;
34931   return 0;
34932 }
34933 _ACEOF
34934 rm -f conftest.$ac_objext
34935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34936   (eval $ac_compile) 2>conftest.er1
34937   ac_status=$?
34938   grep -v '^ *+' conftest.er1 >conftest.err
34939   rm -f conftest.er1
34940   cat conftest.err >&5
34941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34942   (exit $ac_status); } &&
34943          { ac_try='test -z "$ac_cxx_werror_flag"
34944                          || test ! -s conftest.err'
34945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34946   (eval $ac_try) 2>&5
34947   ac_status=$?
34948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34949   (exit $ac_status); }; } &&
34950          { ac_try='test -s conftest.$ac_objext'
34951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34952   (eval $ac_try) 2>&5
34953   ac_status=$?
34954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34955   (exit $ac_status); }; }; then
34956   glibcxx_cv_func_expf_use=yes
34957 else
34958   echo "$as_me: failed program was:" >&5
34959 sed 's/^/| /' conftest.$ac_ext >&5
34960
34961 glibcxx_cv_func_expf_use=no
34962 fi
34963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34964       ac_ext=c
34965 ac_cpp='$CPP $CPPFLAGS'
34966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34969
34970
34971 fi
34972
34973   fi
34974   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
34975 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
34976
34977   if test x$glibcxx_cv_func_expf_use = x"yes"; then
34978
34979 for ac_func in expf
34980 do
34981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34982 echo "$as_me:$LINENO: checking for $ac_func" >&5
34983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34984 if eval "test \"\${$as_ac_var+set}\" = set"; then
34985   echo $ECHO_N "(cached) $ECHO_C" >&6
34986 else
34987   if test x$gcc_no_link = xyes; then
34988   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34990    { (exit 1); exit 1; }; }
34991 fi
34992 cat >conftest.$ac_ext <<_ACEOF
34993 /* confdefs.h.  */
34994 _ACEOF
34995 cat confdefs.h >>conftest.$ac_ext
34996 cat >>conftest.$ac_ext <<_ACEOF
34997 /* end confdefs.h.  */
34998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34999    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35000 #define $ac_func innocuous_$ac_func
35001
35002 /* System header to define __stub macros and hopefully few prototypes,
35003     which can conflict with char $ac_func (); below.
35004     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35005     <limits.h> exists even on freestanding compilers.  */
35006
35007 #ifdef __STDC__
35008 # include <limits.h>
35009 #else
35010 # include <assert.h>
35011 #endif
35012
35013 #undef $ac_func
35014
35015 /* Override any gcc2 internal prototype to avoid an error.  */
35016 #ifdef __cplusplus
35017 extern "C"
35018 {
35019 #endif
35020 /* We use char because int might match the return type of a gcc2
35021    builtin and then its argument prototype would still apply.  */
35022 char $ac_func ();
35023 /* The GNU C library defines this for functions which it implements
35024     to always fail with ENOSYS.  Some functions are actually named
35025     something starting with __ and the normal name is an alias.  */
35026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35027 choke me
35028 #else
35029 char (*f) () = $ac_func;
35030 #endif
35031 #ifdef __cplusplus
35032 }
35033 #endif
35034
35035 int
35036 main ()
35037 {
35038 return f != $ac_func;
35039   ;
35040   return 0;
35041 }
35042 _ACEOF
35043 rm -f conftest.$ac_objext conftest$ac_exeext
35044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35045   (eval $ac_link) 2>conftest.er1
35046   ac_status=$?
35047   grep -v '^ *+' conftest.er1 >conftest.err
35048   rm -f conftest.er1
35049   cat conftest.err >&5
35050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35051   (exit $ac_status); } &&
35052          { ac_try='test -z "$ac_c_werror_flag"
35053                          || test ! -s conftest.err'
35054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35055   (eval $ac_try) 2>&5
35056   ac_status=$?
35057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35058   (exit $ac_status); }; } &&
35059          { ac_try='test -s conftest$ac_exeext'
35060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35061   (eval $ac_try) 2>&5
35062   ac_status=$?
35063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35064   (exit $ac_status); }; }; then
35065   eval "$as_ac_var=yes"
35066 else
35067   echo "$as_me: failed program was:" >&5
35068 sed 's/^/| /' conftest.$ac_ext >&5
35069
35070 eval "$as_ac_var=no"
35071 fi
35072 rm -f conftest.err conftest.$ac_objext \
35073       conftest$ac_exeext conftest.$ac_ext
35074 fi
35075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35077 if test `eval echo '${'$as_ac_var'}'` = yes; then
35078   cat >>confdefs.h <<_ACEOF
35079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35080 _ACEOF
35081
35082 fi
35083 done
35084
35085   else
35086
35087   echo "$as_me:$LINENO: checking for _expf declaration" >&5
35088 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
35089   if test x${glibcxx_cv_func__expf_use+set} != xset; then
35090     if test "${glibcxx_cv_func__expf_use+set}" = set; then
35091   echo $ECHO_N "(cached) $ECHO_C" >&6
35092 else
35093
35094
35095
35096       ac_ext=cc
35097 ac_cpp='$CXXCPP $CPPFLAGS'
35098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35101
35102       cat >conftest.$ac_ext <<_ACEOF
35103 /* confdefs.h.  */
35104 _ACEOF
35105 cat confdefs.h >>conftest.$ac_ext
35106 cat >>conftest.$ac_ext <<_ACEOF
35107 /* end confdefs.h.  */
35108 #include <math.h>
35109                       #ifdef HAVE_IEEEFP_H
35110                       #include <ieeefp.h>
35111                       #endif
35112
35113 int
35114 main ()
35115 {
35116  _expf(0);
35117   ;
35118   return 0;
35119 }
35120 _ACEOF
35121 rm -f conftest.$ac_objext
35122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35123   (eval $ac_compile) 2>conftest.er1
35124   ac_status=$?
35125   grep -v '^ *+' conftest.er1 >conftest.err
35126   rm -f conftest.er1
35127   cat conftest.err >&5
35128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35129   (exit $ac_status); } &&
35130          { ac_try='test -z "$ac_cxx_werror_flag"
35131                          || test ! -s conftest.err'
35132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35133   (eval $ac_try) 2>&5
35134   ac_status=$?
35135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35136   (exit $ac_status); }; } &&
35137          { ac_try='test -s conftest.$ac_objext'
35138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35139   (eval $ac_try) 2>&5
35140   ac_status=$?
35141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35142   (exit $ac_status); }; }; then
35143   glibcxx_cv_func__expf_use=yes
35144 else
35145   echo "$as_me: failed program was:" >&5
35146 sed 's/^/| /' conftest.$ac_ext >&5
35147
35148 glibcxx_cv_func__expf_use=no
35149 fi
35150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35151       ac_ext=c
35152 ac_cpp='$CPP $CPPFLAGS'
35153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35156
35157
35158 fi
35159
35160   fi
35161   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
35162 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
35163
35164     if test x$glibcxx_cv_func__expf_use = x"yes"; then
35165
35166 for ac_func in _expf
35167 do
35168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35169 echo "$as_me:$LINENO: checking for $ac_func" >&5
35170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35171 if eval "test \"\${$as_ac_var+set}\" = set"; then
35172   echo $ECHO_N "(cached) $ECHO_C" >&6
35173 else
35174   if test x$gcc_no_link = xyes; then
35175   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35177    { (exit 1); exit 1; }; }
35178 fi
35179 cat >conftest.$ac_ext <<_ACEOF
35180 /* confdefs.h.  */
35181 _ACEOF
35182 cat confdefs.h >>conftest.$ac_ext
35183 cat >>conftest.$ac_ext <<_ACEOF
35184 /* end confdefs.h.  */
35185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35186    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35187 #define $ac_func innocuous_$ac_func
35188
35189 /* System header to define __stub macros and hopefully few prototypes,
35190     which can conflict with char $ac_func (); below.
35191     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35192     <limits.h> exists even on freestanding compilers.  */
35193
35194 #ifdef __STDC__
35195 # include <limits.h>
35196 #else
35197 # include <assert.h>
35198 #endif
35199
35200 #undef $ac_func
35201
35202 /* Override any gcc2 internal prototype to avoid an error.  */
35203 #ifdef __cplusplus
35204 extern "C"
35205 {
35206 #endif
35207 /* We use char because int might match the return type of a gcc2
35208    builtin and then its argument prototype would still apply.  */
35209 char $ac_func ();
35210 /* The GNU C library defines this for functions which it implements
35211     to always fail with ENOSYS.  Some functions are actually named
35212     something starting with __ and the normal name is an alias.  */
35213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35214 choke me
35215 #else
35216 char (*f) () = $ac_func;
35217 #endif
35218 #ifdef __cplusplus
35219 }
35220 #endif
35221
35222 int
35223 main ()
35224 {
35225 return f != $ac_func;
35226   ;
35227   return 0;
35228 }
35229 _ACEOF
35230 rm -f conftest.$ac_objext conftest$ac_exeext
35231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35232   (eval $ac_link) 2>conftest.er1
35233   ac_status=$?
35234   grep -v '^ *+' conftest.er1 >conftest.err
35235   rm -f conftest.er1
35236   cat conftest.err >&5
35237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35238   (exit $ac_status); } &&
35239          { ac_try='test -z "$ac_c_werror_flag"
35240                          || test ! -s conftest.err'
35241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35242   (eval $ac_try) 2>&5
35243   ac_status=$?
35244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35245   (exit $ac_status); }; } &&
35246          { ac_try='test -s conftest$ac_exeext'
35247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35248   (eval $ac_try) 2>&5
35249   ac_status=$?
35250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35251   (exit $ac_status); }; }; then
35252   eval "$as_ac_var=yes"
35253 else
35254   echo "$as_me: failed program was:" >&5
35255 sed 's/^/| /' conftest.$ac_ext >&5
35256
35257 eval "$as_ac_var=no"
35258 fi
35259 rm -f conftest.err conftest.$ac_objext \
35260       conftest$ac_exeext conftest.$ac_ext
35261 fi
35262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35264 if test `eval echo '${'$as_ac_var'}'` = yes; then
35265   cat >>confdefs.h <<_ACEOF
35266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35267 _ACEOF
35268
35269 fi
35270 done
35271
35272     fi
35273   fi
35274
35275
35276
35277
35278
35279
35280   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
35281 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
35282   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35283     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
35284   echo $ECHO_N "(cached) $ECHO_C" >&6
35285 else
35286
35287
35288
35289       ac_ext=cc
35290 ac_cpp='$CXXCPP $CPPFLAGS'
35291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35294
35295       cat >conftest.$ac_ext <<_ACEOF
35296 /* confdefs.h.  */
35297 _ACEOF
35298 cat confdefs.h >>conftest.$ac_ext
35299 cat >>conftest.$ac_ext <<_ACEOF
35300 /* end confdefs.h.  */
35301 #include <math.h>
35302                       #ifdef HAVE_IEEEFP_H
35303                       #include <ieeefp.h>
35304                       #endif
35305
35306 int
35307 main ()
35308 {
35309  isnanf(0);
35310   ;
35311   return 0;
35312 }
35313 _ACEOF
35314 rm -f conftest.$ac_objext
35315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35316   (eval $ac_compile) 2>conftest.er1
35317   ac_status=$?
35318   grep -v '^ *+' conftest.er1 >conftest.err
35319   rm -f conftest.er1
35320   cat conftest.err >&5
35321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35322   (exit $ac_status); } &&
35323          { ac_try='test -z "$ac_cxx_werror_flag"
35324                          || test ! -s conftest.err'
35325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35326   (eval $ac_try) 2>&5
35327   ac_status=$?
35328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35329   (exit $ac_status); }; } &&
35330          { ac_try='test -s conftest.$ac_objext'
35331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35332   (eval $ac_try) 2>&5
35333   ac_status=$?
35334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35335   (exit $ac_status); }; }; then
35336   glibcxx_cv_func_isnanf_use=yes
35337 else
35338   echo "$as_me: failed program was:" >&5
35339 sed 's/^/| /' conftest.$ac_ext >&5
35340
35341 glibcxx_cv_func_isnanf_use=no
35342 fi
35343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35344       ac_ext=c
35345 ac_cpp='$CPP $CPPFLAGS'
35346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35349
35350
35351 fi
35352
35353   fi
35354   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
35355 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
35356
35357   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35358
35359 for ac_func in isnanf
35360 do
35361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35362 echo "$as_me:$LINENO: checking for $ac_func" >&5
35363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35364 if eval "test \"\${$as_ac_var+set}\" = set"; then
35365   echo $ECHO_N "(cached) $ECHO_C" >&6
35366 else
35367   if test x$gcc_no_link = xyes; then
35368   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35370    { (exit 1); exit 1; }; }
35371 fi
35372 cat >conftest.$ac_ext <<_ACEOF
35373 /* confdefs.h.  */
35374 _ACEOF
35375 cat confdefs.h >>conftest.$ac_ext
35376 cat >>conftest.$ac_ext <<_ACEOF
35377 /* end confdefs.h.  */
35378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35379    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35380 #define $ac_func innocuous_$ac_func
35381
35382 /* System header to define __stub macros and hopefully few prototypes,
35383     which can conflict with char $ac_func (); below.
35384     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35385     <limits.h> exists even on freestanding compilers.  */
35386
35387 #ifdef __STDC__
35388 # include <limits.h>
35389 #else
35390 # include <assert.h>
35391 #endif
35392
35393 #undef $ac_func
35394
35395 /* Override any gcc2 internal prototype to avoid an error.  */
35396 #ifdef __cplusplus
35397 extern "C"
35398 {
35399 #endif
35400 /* We use char because int might match the return type of a gcc2
35401    builtin and then its argument prototype would still apply.  */
35402 char $ac_func ();
35403 /* The GNU C library defines this for functions which it implements
35404     to always fail with ENOSYS.  Some functions are actually named
35405     something starting with __ and the normal name is an alias.  */
35406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35407 choke me
35408 #else
35409 char (*f) () = $ac_func;
35410 #endif
35411 #ifdef __cplusplus
35412 }
35413 #endif
35414
35415 int
35416 main ()
35417 {
35418 return f != $ac_func;
35419   ;
35420   return 0;
35421 }
35422 _ACEOF
35423 rm -f conftest.$ac_objext conftest$ac_exeext
35424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35425   (eval $ac_link) 2>conftest.er1
35426   ac_status=$?
35427   grep -v '^ *+' conftest.er1 >conftest.err
35428   rm -f conftest.er1
35429   cat conftest.err >&5
35430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35431   (exit $ac_status); } &&
35432          { ac_try='test -z "$ac_c_werror_flag"
35433                          || test ! -s conftest.err'
35434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35435   (eval $ac_try) 2>&5
35436   ac_status=$?
35437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35438   (exit $ac_status); }; } &&
35439          { ac_try='test -s conftest$ac_exeext'
35440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35441   (eval $ac_try) 2>&5
35442   ac_status=$?
35443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35444   (exit $ac_status); }; }; then
35445   eval "$as_ac_var=yes"
35446 else
35447   echo "$as_me: failed program was:" >&5
35448 sed 's/^/| /' conftest.$ac_ext >&5
35449
35450 eval "$as_ac_var=no"
35451 fi
35452 rm -f conftest.err conftest.$ac_objext \
35453       conftest$ac_exeext conftest.$ac_ext
35454 fi
35455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35457 if test `eval echo '${'$as_ac_var'}'` = yes; then
35458   cat >>confdefs.h <<_ACEOF
35459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35460 _ACEOF
35461
35462 fi
35463 done
35464
35465   else
35466
35467   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
35468 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
35469   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35470     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
35471   echo $ECHO_N "(cached) $ECHO_C" >&6
35472 else
35473
35474
35475
35476       ac_ext=cc
35477 ac_cpp='$CXXCPP $CPPFLAGS'
35478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35481
35482       cat >conftest.$ac_ext <<_ACEOF
35483 /* confdefs.h.  */
35484 _ACEOF
35485 cat confdefs.h >>conftest.$ac_ext
35486 cat >>conftest.$ac_ext <<_ACEOF
35487 /* end confdefs.h.  */
35488 #include <math.h>
35489                       #ifdef HAVE_IEEEFP_H
35490                       #include <ieeefp.h>
35491                       #endif
35492
35493 int
35494 main ()
35495 {
35496  _isnanf(0);
35497   ;
35498   return 0;
35499 }
35500 _ACEOF
35501 rm -f conftest.$ac_objext
35502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35503   (eval $ac_compile) 2>conftest.er1
35504   ac_status=$?
35505   grep -v '^ *+' conftest.er1 >conftest.err
35506   rm -f conftest.er1
35507   cat conftest.err >&5
35508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35509   (exit $ac_status); } &&
35510          { ac_try='test -z "$ac_cxx_werror_flag"
35511                          || test ! -s conftest.err'
35512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35513   (eval $ac_try) 2>&5
35514   ac_status=$?
35515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35516   (exit $ac_status); }; } &&
35517          { ac_try='test -s conftest.$ac_objext'
35518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35519   (eval $ac_try) 2>&5
35520   ac_status=$?
35521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35522   (exit $ac_status); }; }; then
35523   glibcxx_cv_func__isnanf_use=yes
35524 else
35525   echo "$as_me: failed program was:" >&5
35526 sed 's/^/| /' conftest.$ac_ext >&5
35527
35528 glibcxx_cv_func__isnanf_use=no
35529 fi
35530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35531       ac_ext=c
35532 ac_cpp='$CPP $CPPFLAGS'
35533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35536
35537
35538 fi
35539
35540   fi
35541   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
35542 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
35543
35544     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35545
35546 for ac_func in _isnanf
35547 do
35548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35549 echo "$as_me:$LINENO: checking for $ac_func" >&5
35550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35551 if eval "test \"\${$as_ac_var+set}\" = set"; then
35552   echo $ECHO_N "(cached) $ECHO_C" >&6
35553 else
35554   if test x$gcc_no_link = xyes; then
35555   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35557    { (exit 1); exit 1; }; }
35558 fi
35559 cat >conftest.$ac_ext <<_ACEOF
35560 /* confdefs.h.  */
35561 _ACEOF
35562 cat confdefs.h >>conftest.$ac_ext
35563 cat >>conftest.$ac_ext <<_ACEOF
35564 /* end confdefs.h.  */
35565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35566    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35567 #define $ac_func innocuous_$ac_func
35568
35569 /* System header to define __stub macros and hopefully few prototypes,
35570     which can conflict with char $ac_func (); below.
35571     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35572     <limits.h> exists even on freestanding compilers.  */
35573
35574 #ifdef __STDC__
35575 # include <limits.h>
35576 #else
35577 # include <assert.h>
35578 #endif
35579
35580 #undef $ac_func
35581
35582 /* Override any gcc2 internal prototype to avoid an error.  */
35583 #ifdef __cplusplus
35584 extern "C"
35585 {
35586 #endif
35587 /* We use char because int might match the return type of a gcc2
35588    builtin and then its argument prototype would still apply.  */
35589 char $ac_func ();
35590 /* The GNU C library defines this for functions which it implements
35591     to always fail with ENOSYS.  Some functions are actually named
35592     something starting with __ and the normal name is an alias.  */
35593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35594 choke me
35595 #else
35596 char (*f) () = $ac_func;
35597 #endif
35598 #ifdef __cplusplus
35599 }
35600 #endif
35601
35602 int
35603 main ()
35604 {
35605 return f != $ac_func;
35606   ;
35607   return 0;
35608 }
35609 _ACEOF
35610 rm -f conftest.$ac_objext conftest$ac_exeext
35611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35612   (eval $ac_link) 2>conftest.er1
35613   ac_status=$?
35614   grep -v '^ *+' conftest.er1 >conftest.err
35615   rm -f conftest.er1
35616   cat conftest.err >&5
35617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35618   (exit $ac_status); } &&
35619          { ac_try='test -z "$ac_c_werror_flag"
35620                          || test ! -s conftest.err'
35621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35622   (eval $ac_try) 2>&5
35623   ac_status=$?
35624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35625   (exit $ac_status); }; } &&
35626          { ac_try='test -s conftest$ac_exeext'
35627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35628   (eval $ac_try) 2>&5
35629   ac_status=$?
35630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35631   (exit $ac_status); }; }; then
35632   eval "$as_ac_var=yes"
35633 else
35634   echo "$as_me: failed program was:" >&5
35635 sed 's/^/| /' conftest.$ac_ext >&5
35636
35637 eval "$as_ac_var=no"
35638 fi
35639 rm -f conftest.err conftest.$ac_objext \
35640       conftest$ac_exeext conftest.$ac_ext
35641 fi
35642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35644 if test `eval echo '${'$as_ac_var'}'` = yes; then
35645   cat >>confdefs.h <<_ACEOF
35646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35647 _ACEOF
35648
35649 fi
35650 done
35651
35652     fi
35653   fi
35654
35655
35656
35657
35658
35659
35660   echo "$as_me:$LINENO: checking for isinff declaration" >&5
35661 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
35662   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35663     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
35664   echo $ECHO_N "(cached) $ECHO_C" >&6
35665 else
35666
35667
35668
35669       ac_ext=cc
35670 ac_cpp='$CXXCPP $CPPFLAGS'
35671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35674
35675       cat >conftest.$ac_ext <<_ACEOF
35676 /* confdefs.h.  */
35677 _ACEOF
35678 cat confdefs.h >>conftest.$ac_ext
35679 cat >>conftest.$ac_ext <<_ACEOF
35680 /* end confdefs.h.  */
35681 #include <math.h>
35682                       #ifdef HAVE_IEEEFP_H
35683                       #include <ieeefp.h>
35684                       #endif
35685
35686 int
35687 main ()
35688 {
35689  isinff(0);
35690   ;
35691   return 0;
35692 }
35693 _ACEOF
35694 rm -f conftest.$ac_objext
35695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35696   (eval $ac_compile) 2>conftest.er1
35697   ac_status=$?
35698   grep -v '^ *+' conftest.er1 >conftest.err
35699   rm -f conftest.er1
35700   cat conftest.err >&5
35701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35702   (exit $ac_status); } &&
35703          { ac_try='test -z "$ac_cxx_werror_flag"
35704                          || test ! -s conftest.err'
35705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35706   (eval $ac_try) 2>&5
35707   ac_status=$?
35708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35709   (exit $ac_status); }; } &&
35710          { ac_try='test -s conftest.$ac_objext'
35711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35712   (eval $ac_try) 2>&5
35713   ac_status=$?
35714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35715   (exit $ac_status); }; }; then
35716   glibcxx_cv_func_isinff_use=yes
35717 else
35718   echo "$as_me: failed program was:" >&5
35719 sed 's/^/| /' conftest.$ac_ext >&5
35720
35721 glibcxx_cv_func_isinff_use=no
35722 fi
35723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35724       ac_ext=c
35725 ac_cpp='$CPP $CPPFLAGS'
35726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35729
35730
35731 fi
35732
35733   fi
35734   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
35735 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
35736
35737   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35738
35739 for ac_func in isinff
35740 do
35741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35742 echo "$as_me:$LINENO: checking for $ac_func" >&5
35743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35744 if eval "test \"\${$as_ac_var+set}\" = set"; then
35745   echo $ECHO_N "(cached) $ECHO_C" >&6
35746 else
35747   if test x$gcc_no_link = xyes; then
35748   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35750    { (exit 1); exit 1; }; }
35751 fi
35752 cat >conftest.$ac_ext <<_ACEOF
35753 /* confdefs.h.  */
35754 _ACEOF
35755 cat confdefs.h >>conftest.$ac_ext
35756 cat >>conftest.$ac_ext <<_ACEOF
35757 /* end confdefs.h.  */
35758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35759    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35760 #define $ac_func innocuous_$ac_func
35761
35762 /* System header to define __stub macros and hopefully few prototypes,
35763     which can conflict with char $ac_func (); below.
35764     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35765     <limits.h> exists even on freestanding compilers.  */
35766
35767 #ifdef __STDC__
35768 # include <limits.h>
35769 #else
35770 # include <assert.h>
35771 #endif
35772
35773 #undef $ac_func
35774
35775 /* Override any gcc2 internal prototype to avoid an error.  */
35776 #ifdef __cplusplus
35777 extern "C"
35778 {
35779 #endif
35780 /* We use char because int might match the return type of a gcc2
35781    builtin and then its argument prototype would still apply.  */
35782 char $ac_func ();
35783 /* The GNU C library defines this for functions which it implements
35784     to always fail with ENOSYS.  Some functions are actually named
35785     something starting with __ and the normal name is an alias.  */
35786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35787 choke me
35788 #else
35789 char (*f) () = $ac_func;
35790 #endif
35791 #ifdef __cplusplus
35792 }
35793 #endif
35794
35795 int
35796 main ()
35797 {
35798 return f != $ac_func;
35799   ;
35800   return 0;
35801 }
35802 _ACEOF
35803 rm -f conftest.$ac_objext conftest$ac_exeext
35804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35805   (eval $ac_link) 2>conftest.er1
35806   ac_status=$?
35807   grep -v '^ *+' conftest.er1 >conftest.err
35808   rm -f conftest.er1
35809   cat conftest.err >&5
35810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35811   (exit $ac_status); } &&
35812          { ac_try='test -z "$ac_c_werror_flag"
35813                          || test ! -s conftest.err'
35814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35815   (eval $ac_try) 2>&5
35816   ac_status=$?
35817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35818   (exit $ac_status); }; } &&
35819          { ac_try='test -s conftest$ac_exeext'
35820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35821   (eval $ac_try) 2>&5
35822   ac_status=$?
35823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35824   (exit $ac_status); }; }; then
35825   eval "$as_ac_var=yes"
35826 else
35827   echo "$as_me: failed program was:" >&5
35828 sed 's/^/| /' conftest.$ac_ext >&5
35829
35830 eval "$as_ac_var=no"
35831 fi
35832 rm -f conftest.err conftest.$ac_objext \
35833       conftest$ac_exeext conftest.$ac_ext
35834 fi
35835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35837 if test `eval echo '${'$as_ac_var'}'` = yes; then
35838   cat >>confdefs.h <<_ACEOF
35839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35840 _ACEOF
35841
35842 fi
35843 done
35844
35845   else
35846
35847   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
35848 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
35849   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35850     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
35851   echo $ECHO_N "(cached) $ECHO_C" >&6
35852 else
35853
35854
35855
35856       ac_ext=cc
35857 ac_cpp='$CXXCPP $CPPFLAGS'
35858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35861
35862       cat >conftest.$ac_ext <<_ACEOF
35863 /* confdefs.h.  */
35864 _ACEOF
35865 cat confdefs.h >>conftest.$ac_ext
35866 cat >>conftest.$ac_ext <<_ACEOF
35867 /* end confdefs.h.  */
35868 #include <math.h>
35869                       #ifdef HAVE_IEEEFP_H
35870                       #include <ieeefp.h>
35871                       #endif
35872
35873 int
35874 main ()
35875 {
35876  _isinff(0);
35877   ;
35878   return 0;
35879 }
35880 _ACEOF
35881 rm -f conftest.$ac_objext
35882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35883   (eval $ac_compile) 2>conftest.er1
35884   ac_status=$?
35885   grep -v '^ *+' conftest.er1 >conftest.err
35886   rm -f conftest.er1
35887   cat conftest.err >&5
35888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35889   (exit $ac_status); } &&
35890          { ac_try='test -z "$ac_cxx_werror_flag"
35891                          || test ! -s conftest.err'
35892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35893   (eval $ac_try) 2>&5
35894   ac_status=$?
35895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35896   (exit $ac_status); }; } &&
35897          { ac_try='test -s conftest.$ac_objext'
35898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35899   (eval $ac_try) 2>&5
35900   ac_status=$?
35901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35902   (exit $ac_status); }; }; then
35903   glibcxx_cv_func__isinff_use=yes
35904 else
35905   echo "$as_me: failed program was:" >&5
35906 sed 's/^/| /' conftest.$ac_ext >&5
35907
35908 glibcxx_cv_func__isinff_use=no
35909 fi
35910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35911       ac_ext=c
35912 ac_cpp='$CPP $CPPFLAGS'
35913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35916
35917
35918 fi
35919
35920   fi
35921   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
35922 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
35923
35924     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35925
35926 for ac_func in _isinff
35927 do
35928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35929 echo "$as_me:$LINENO: checking for $ac_func" >&5
35930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35931 if eval "test \"\${$as_ac_var+set}\" = set"; then
35932   echo $ECHO_N "(cached) $ECHO_C" >&6
35933 else
35934   if test x$gcc_no_link = xyes; then
35935   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35937    { (exit 1); exit 1; }; }
35938 fi
35939 cat >conftest.$ac_ext <<_ACEOF
35940 /* confdefs.h.  */
35941 _ACEOF
35942 cat confdefs.h >>conftest.$ac_ext
35943 cat >>conftest.$ac_ext <<_ACEOF
35944 /* end confdefs.h.  */
35945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35946    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35947 #define $ac_func innocuous_$ac_func
35948
35949 /* System header to define __stub macros and hopefully few prototypes,
35950     which can conflict with char $ac_func (); below.
35951     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35952     <limits.h> exists even on freestanding compilers.  */
35953
35954 #ifdef __STDC__
35955 # include <limits.h>
35956 #else
35957 # include <assert.h>
35958 #endif
35959
35960 #undef $ac_func
35961
35962 /* Override any gcc2 internal prototype to avoid an error.  */
35963 #ifdef __cplusplus
35964 extern "C"
35965 {
35966 #endif
35967 /* We use char because int might match the return type of a gcc2
35968    builtin and then its argument prototype would still apply.  */
35969 char $ac_func ();
35970 /* The GNU C library defines this for functions which it implements
35971     to always fail with ENOSYS.  Some functions are actually named
35972     something starting with __ and the normal name is an alias.  */
35973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35974 choke me
35975 #else
35976 char (*f) () = $ac_func;
35977 #endif
35978 #ifdef __cplusplus
35979 }
35980 #endif
35981
35982 int
35983 main ()
35984 {
35985 return f != $ac_func;
35986   ;
35987   return 0;
35988 }
35989 _ACEOF
35990 rm -f conftest.$ac_objext conftest$ac_exeext
35991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35992   (eval $ac_link) 2>conftest.er1
35993   ac_status=$?
35994   grep -v '^ *+' conftest.er1 >conftest.err
35995   rm -f conftest.er1
35996   cat conftest.err >&5
35997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35998   (exit $ac_status); } &&
35999          { ac_try='test -z "$ac_c_werror_flag"
36000                          || test ! -s conftest.err'
36001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36002   (eval $ac_try) 2>&5
36003   ac_status=$?
36004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36005   (exit $ac_status); }; } &&
36006          { ac_try='test -s conftest$ac_exeext'
36007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36008   (eval $ac_try) 2>&5
36009   ac_status=$?
36010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36011   (exit $ac_status); }; }; then
36012   eval "$as_ac_var=yes"
36013 else
36014   echo "$as_me: failed program was:" >&5
36015 sed 's/^/| /' conftest.$ac_ext >&5
36016
36017 eval "$as_ac_var=no"
36018 fi
36019 rm -f conftest.err conftest.$ac_objext \
36020       conftest$ac_exeext conftest.$ac_ext
36021 fi
36022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36024 if test `eval echo '${'$as_ac_var'}'` = yes; then
36025   cat >>confdefs.h <<_ACEOF
36026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36027 _ACEOF
36028
36029 fi
36030 done
36031
36032     fi
36033   fi
36034
36035
36036
36037
36038
36039
36040   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
36041 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
36042   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36043     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
36044   echo $ECHO_N "(cached) $ECHO_C" >&6
36045 else
36046
36047
36048
36049       ac_ext=cc
36050 ac_cpp='$CXXCPP $CPPFLAGS'
36051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36054
36055       cat >conftest.$ac_ext <<_ACEOF
36056 /* confdefs.h.  */
36057 _ACEOF
36058 cat confdefs.h >>conftest.$ac_ext
36059 cat >>conftest.$ac_ext <<_ACEOF
36060 /* end confdefs.h.  */
36061 #include <math.h>
36062 int
36063 main ()
36064 {
36065  atan2f(0, 0);
36066   ;
36067   return 0;
36068 }
36069 _ACEOF
36070 rm -f conftest.$ac_objext
36071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36072   (eval $ac_compile) 2>conftest.er1
36073   ac_status=$?
36074   grep -v '^ *+' conftest.er1 >conftest.err
36075   rm -f conftest.er1
36076   cat conftest.err >&5
36077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36078   (exit $ac_status); } &&
36079          { ac_try='test -z "$ac_cxx_werror_flag"
36080                          || test ! -s conftest.err'
36081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36082   (eval $ac_try) 2>&5
36083   ac_status=$?
36084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36085   (exit $ac_status); }; } &&
36086          { ac_try='test -s conftest.$ac_objext'
36087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36088   (eval $ac_try) 2>&5
36089   ac_status=$?
36090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36091   (exit $ac_status); }; }; then
36092   glibcxx_cv_func_atan2f_use=yes
36093 else
36094   echo "$as_me: failed program was:" >&5
36095 sed 's/^/| /' conftest.$ac_ext >&5
36096
36097 glibcxx_cv_func_atan2f_use=no
36098 fi
36099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36100       ac_ext=c
36101 ac_cpp='$CPP $CPPFLAGS'
36102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36105
36106
36107 fi
36108
36109   fi
36110   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
36111 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
36112
36113   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36114
36115 for ac_func in atan2f
36116 do
36117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36118 echo "$as_me:$LINENO: checking for $ac_func" >&5
36119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36120 if eval "test \"\${$as_ac_var+set}\" = set"; then
36121   echo $ECHO_N "(cached) $ECHO_C" >&6
36122 else
36123   if test x$gcc_no_link = xyes; then
36124   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36126    { (exit 1); exit 1; }; }
36127 fi
36128 cat >conftest.$ac_ext <<_ACEOF
36129 /* confdefs.h.  */
36130 _ACEOF
36131 cat confdefs.h >>conftest.$ac_ext
36132 cat >>conftest.$ac_ext <<_ACEOF
36133 /* end confdefs.h.  */
36134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36135    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36136 #define $ac_func innocuous_$ac_func
36137
36138 /* System header to define __stub macros and hopefully few prototypes,
36139     which can conflict with char $ac_func (); below.
36140     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36141     <limits.h> exists even on freestanding compilers.  */
36142
36143 #ifdef __STDC__
36144 # include <limits.h>
36145 #else
36146 # include <assert.h>
36147 #endif
36148
36149 #undef $ac_func
36150
36151 /* Override any gcc2 internal prototype to avoid an error.  */
36152 #ifdef __cplusplus
36153 extern "C"
36154 {
36155 #endif
36156 /* We use char because int might match the return type of a gcc2
36157    builtin and then its argument prototype would still apply.  */
36158 char $ac_func ();
36159 /* The GNU C library defines this for functions which it implements
36160     to always fail with ENOSYS.  Some functions are actually named
36161     something starting with __ and the normal name is an alias.  */
36162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36163 choke me
36164 #else
36165 char (*f) () = $ac_func;
36166 #endif
36167 #ifdef __cplusplus
36168 }
36169 #endif
36170
36171 int
36172 main ()
36173 {
36174 return f != $ac_func;
36175   ;
36176   return 0;
36177 }
36178 _ACEOF
36179 rm -f conftest.$ac_objext conftest$ac_exeext
36180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36181   (eval $ac_link) 2>conftest.er1
36182   ac_status=$?
36183   grep -v '^ *+' conftest.er1 >conftest.err
36184   rm -f conftest.er1
36185   cat conftest.err >&5
36186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36187   (exit $ac_status); } &&
36188          { ac_try='test -z "$ac_c_werror_flag"
36189                          || test ! -s conftest.err'
36190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36191   (eval $ac_try) 2>&5
36192   ac_status=$?
36193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36194   (exit $ac_status); }; } &&
36195          { ac_try='test -s conftest$ac_exeext'
36196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36197   (eval $ac_try) 2>&5
36198   ac_status=$?
36199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36200   (exit $ac_status); }; }; then
36201   eval "$as_ac_var=yes"
36202 else
36203   echo "$as_me: failed program was:" >&5
36204 sed 's/^/| /' conftest.$ac_ext >&5
36205
36206 eval "$as_ac_var=no"
36207 fi
36208 rm -f conftest.err conftest.$ac_objext \
36209       conftest$ac_exeext conftest.$ac_ext
36210 fi
36211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36213 if test `eval echo '${'$as_ac_var'}'` = yes; then
36214   cat >>confdefs.h <<_ACEOF
36215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36216 _ACEOF
36217
36218 fi
36219 done
36220
36221   else
36222
36223   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
36224 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
36225   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36226     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
36227   echo $ECHO_N "(cached) $ECHO_C" >&6
36228 else
36229
36230
36231
36232       ac_ext=cc
36233 ac_cpp='$CXXCPP $CPPFLAGS'
36234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36237
36238       cat >conftest.$ac_ext <<_ACEOF
36239 /* confdefs.h.  */
36240 _ACEOF
36241 cat confdefs.h >>conftest.$ac_ext
36242 cat >>conftest.$ac_ext <<_ACEOF
36243 /* end confdefs.h.  */
36244 #include <math.h>
36245 int
36246 main ()
36247 {
36248  _atan2f(0, 0);
36249   ;
36250   return 0;
36251 }
36252 _ACEOF
36253 rm -f conftest.$ac_objext
36254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36255   (eval $ac_compile) 2>conftest.er1
36256   ac_status=$?
36257   grep -v '^ *+' conftest.er1 >conftest.err
36258   rm -f conftest.er1
36259   cat conftest.err >&5
36260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36261   (exit $ac_status); } &&
36262          { ac_try='test -z "$ac_cxx_werror_flag"
36263                          || test ! -s conftest.err'
36264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36265   (eval $ac_try) 2>&5
36266   ac_status=$?
36267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36268   (exit $ac_status); }; } &&
36269          { ac_try='test -s conftest.$ac_objext'
36270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36271   (eval $ac_try) 2>&5
36272   ac_status=$?
36273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36274   (exit $ac_status); }; }; then
36275   glibcxx_cv_func__atan2f_use=yes
36276 else
36277   echo "$as_me: failed program was:" >&5
36278 sed 's/^/| /' conftest.$ac_ext >&5
36279
36280 glibcxx_cv_func__atan2f_use=no
36281 fi
36282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36283       ac_ext=c
36284 ac_cpp='$CPP $CPPFLAGS'
36285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36288
36289
36290 fi
36291
36292   fi
36293   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
36294 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
36295
36296     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36297
36298 for ac_func in _atan2f
36299 do
36300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36301 echo "$as_me:$LINENO: checking for $ac_func" >&5
36302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36303 if eval "test \"\${$as_ac_var+set}\" = set"; then
36304   echo $ECHO_N "(cached) $ECHO_C" >&6
36305 else
36306   if test x$gcc_no_link = xyes; then
36307   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36309    { (exit 1); exit 1; }; }
36310 fi
36311 cat >conftest.$ac_ext <<_ACEOF
36312 /* confdefs.h.  */
36313 _ACEOF
36314 cat confdefs.h >>conftest.$ac_ext
36315 cat >>conftest.$ac_ext <<_ACEOF
36316 /* end confdefs.h.  */
36317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36318    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36319 #define $ac_func innocuous_$ac_func
36320
36321 /* System header to define __stub macros and hopefully few prototypes,
36322     which can conflict with char $ac_func (); below.
36323     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36324     <limits.h> exists even on freestanding compilers.  */
36325
36326 #ifdef __STDC__
36327 # include <limits.h>
36328 #else
36329 # include <assert.h>
36330 #endif
36331
36332 #undef $ac_func
36333
36334 /* Override any gcc2 internal prototype to avoid an error.  */
36335 #ifdef __cplusplus
36336 extern "C"
36337 {
36338 #endif
36339 /* We use char because int might match the return type of a gcc2
36340    builtin and then its argument prototype would still apply.  */
36341 char $ac_func ();
36342 /* The GNU C library defines this for functions which it implements
36343     to always fail with ENOSYS.  Some functions are actually named
36344     something starting with __ and the normal name is an alias.  */
36345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36346 choke me
36347 #else
36348 char (*f) () = $ac_func;
36349 #endif
36350 #ifdef __cplusplus
36351 }
36352 #endif
36353
36354 int
36355 main ()
36356 {
36357 return f != $ac_func;
36358   ;
36359   return 0;
36360 }
36361 _ACEOF
36362 rm -f conftest.$ac_objext conftest$ac_exeext
36363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36364   (eval $ac_link) 2>conftest.er1
36365   ac_status=$?
36366   grep -v '^ *+' conftest.er1 >conftest.err
36367   rm -f conftest.er1
36368   cat conftest.err >&5
36369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36370   (exit $ac_status); } &&
36371          { ac_try='test -z "$ac_c_werror_flag"
36372                          || test ! -s conftest.err'
36373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36374   (eval $ac_try) 2>&5
36375   ac_status=$?
36376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36377   (exit $ac_status); }; } &&
36378          { ac_try='test -s conftest$ac_exeext'
36379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36380   (eval $ac_try) 2>&5
36381   ac_status=$?
36382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36383   (exit $ac_status); }; }; then
36384   eval "$as_ac_var=yes"
36385 else
36386   echo "$as_me: failed program was:" >&5
36387 sed 's/^/| /' conftest.$ac_ext >&5
36388
36389 eval "$as_ac_var=no"
36390 fi
36391 rm -f conftest.err conftest.$ac_objext \
36392       conftest$ac_exeext conftest.$ac_ext
36393 fi
36394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36396 if test `eval echo '${'$as_ac_var'}'` = yes; then
36397   cat >>confdefs.h <<_ACEOF
36398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36399 _ACEOF
36400
36401 fi
36402 done
36403
36404     fi
36405   fi
36406
36407
36408
36409
36410
36411
36412   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
36413 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
36414   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36415     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
36416   echo $ECHO_N "(cached) $ECHO_C" >&6
36417 else
36418
36419
36420
36421       ac_ext=cc
36422 ac_cpp='$CXXCPP $CPPFLAGS'
36423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36426
36427       cat >conftest.$ac_ext <<_ACEOF
36428 /* confdefs.h.  */
36429 _ACEOF
36430 cat confdefs.h >>conftest.$ac_ext
36431 cat >>conftest.$ac_ext <<_ACEOF
36432 /* end confdefs.h.  */
36433 #include <math.h>
36434                       #ifdef HAVE_IEEEFP_H
36435                       #include <ieeefp.h>
36436                       #endif
36437
36438 int
36439 main ()
36440 {
36441  fabsf(0);
36442   ;
36443   return 0;
36444 }
36445 _ACEOF
36446 rm -f conftest.$ac_objext
36447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36448   (eval $ac_compile) 2>conftest.er1
36449   ac_status=$?
36450   grep -v '^ *+' conftest.er1 >conftest.err
36451   rm -f conftest.er1
36452   cat conftest.err >&5
36453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36454   (exit $ac_status); } &&
36455          { ac_try='test -z "$ac_cxx_werror_flag"
36456                          || test ! -s conftest.err'
36457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36458   (eval $ac_try) 2>&5
36459   ac_status=$?
36460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36461   (exit $ac_status); }; } &&
36462          { ac_try='test -s conftest.$ac_objext'
36463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36464   (eval $ac_try) 2>&5
36465   ac_status=$?
36466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36467   (exit $ac_status); }; }; then
36468   glibcxx_cv_func_fabsf_use=yes
36469 else
36470   echo "$as_me: failed program was:" >&5
36471 sed 's/^/| /' conftest.$ac_ext >&5
36472
36473 glibcxx_cv_func_fabsf_use=no
36474 fi
36475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36476       ac_ext=c
36477 ac_cpp='$CPP $CPPFLAGS'
36478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36481
36482
36483 fi
36484
36485   fi
36486   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
36487 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
36488
36489   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36490
36491 for ac_func in fabsf
36492 do
36493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36494 echo "$as_me:$LINENO: checking for $ac_func" >&5
36495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36496 if eval "test \"\${$as_ac_var+set}\" = set"; then
36497   echo $ECHO_N "(cached) $ECHO_C" >&6
36498 else
36499   if test x$gcc_no_link = xyes; then
36500   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36502    { (exit 1); exit 1; }; }
36503 fi
36504 cat >conftest.$ac_ext <<_ACEOF
36505 /* confdefs.h.  */
36506 _ACEOF
36507 cat confdefs.h >>conftest.$ac_ext
36508 cat >>conftest.$ac_ext <<_ACEOF
36509 /* end confdefs.h.  */
36510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36511    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36512 #define $ac_func innocuous_$ac_func
36513
36514 /* System header to define __stub macros and hopefully few prototypes,
36515     which can conflict with char $ac_func (); below.
36516     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36517     <limits.h> exists even on freestanding compilers.  */
36518
36519 #ifdef __STDC__
36520 # include <limits.h>
36521 #else
36522 # include <assert.h>
36523 #endif
36524
36525 #undef $ac_func
36526
36527 /* Override any gcc2 internal prototype to avoid an error.  */
36528 #ifdef __cplusplus
36529 extern "C"
36530 {
36531 #endif
36532 /* We use char because int might match the return type of a gcc2
36533    builtin and then its argument prototype would still apply.  */
36534 char $ac_func ();
36535 /* The GNU C library defines this for functions which it implements
36536     to always fail with ENOSYS.  Some functions are actually named
36537     something starting with __ and the normal name is an alias.  */
36538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36539 choke me
36540 #else
36541 char (*f) () = $ac_func;
36542 #endif
36543 #ifdef __cplusplus
36544 }
36545 #endif
36546
36547 int
36548 main ()
36549 {
36550 return f != $ac_func;
36551   ;
36552   return 0;
36553 }
36554 _ACEOF
36555 rm -f conftest.$ac_objext conftest$ac_exeext
36556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36557   (eval $ac_link) 2>conftest.er1
36558   ac_status=$?
36559   grep -v '^ *+' conftest.er1 >conftest.err
36560   rm -f conftest.er1
36561   cat conftest.err >&5
36562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36563   (exit $ac_status); } &&
36564          { ac_try='test -z "$ac_c_werror_flag"
36565                          || test ! -s conftest.err'
36566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36567   (eval $ac_try) 2>&5
36568   ac_status=$?
36569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36570   (exit $ac_status); }; } &&
36571          { ac_try='test -s conftest$ac_exeext'
36572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36573   (eval $ac_try) 2>&5
36574   ac_status=$?
36575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36576   (exit $ac_status); }; }; then
36577   eval "$as_ac_var=yes"
36578 else
36579   echo "$as_me: failed program was:" >&5
36580 sed 's/^/| /' conftest.$ac_ext >&5
36581
36582 eval "$as_ac_var=no"
36583 fi
36584 rm -f conftest.err conftest.$ac_objext \
36585       conftest$ac_exeext conftest.$ac_ext
36586 fi
36587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36589 if test `eval echo '${'$as_ac_var'}'` = yes; then
36590   cat >>confdefs.h <<_ACEOF
36591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36592 _ACEOF
36593
36594 fi
36595 done
36596
36597   else
36598
36599   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
36600 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
36601   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36602     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
36603   echo $ECHO_N "(cached) $ECHO_C" >&6
36604 else
36605
36606
36607
36608       ac_ext=cc
36609 ac_cpp='$CXXCPP $CPPFLAGS'
36610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36613
36614       cat >conftest.$ac_ext <<_ACEOF
36615 /* confdefs.h.  */
36616 _ACEOF
36617 cat confdefs.h >>conftest.$ac_ext
36618 cat >>conftest.$ac_ext <<_ACEOF
36619 /* end confdefs.h.  */
36620 #include <math.h>
36621                       #ifdef HAVE_IEEEFP_H
36622                       #include <ieeefp.h>
36623                       #endif
36624
36625 int
36626 main ()
36627 {
36628  _fabsf(0);
36629   ;
36630   return 0;
36631 }
36632 _ACEOF
36633 rm -f conftest.$ac_objext
36634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36635   (eval $ac_compile) 2>conftest.er1
36636   ac_status=$?
36637   grep -v '^ *+' conftest.er1 >conftest.err
36638   rm -f conftest.er1
36639   cat conftest.err >&5
36640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36641   (exit $ac_status); } &&
36642          { ac_try='test -z "$ac_cxx_werror_flag"
36643                          || test ! -s conftest.err'
36644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36645   (eval $ac_try) 2>&5
36646   ac_status=$?
36647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36648   (exit $ac_status); }; } &&
36649          { ac_try='test -s conftest.$ac_objext'
36650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36651   (eval $ac_try) 2>&5
36652   ac_status=$?
36653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36654   (exit $ac_status); }; }; then
36655   glibcxx_cv_func__fabsf_use=yes
36656 else
36657   echo "$as_me: failed program was:" >&5
36658 sed 's/^/| /' conftest.$ac_ext >&5
36659
36660 glibcxx_cv_func__fabsf_use=no
36661 fi
36662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36663       ac_ext=c
36664 ac_cpp='$CPP $CPPFLAGS'
36665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36668
36669
36670 fi
36671
36672   fi
36673   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
36674 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
36675
36676     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36677
36678 for ac_func in _fabsf
36679 do
36680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36681 echo "$as_me:$LINENO: checking for $ac_func" >&5
36682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36683 if eval "test \"\${$as_ac_var+set}\" = set"; then
36684   echo $ECHO_N "(cached) $ECHO_C" >&6
36685 else
36686   if test x$gcc_no_link = xyes; then
36687   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36689    { (exit 1); exit 1; }; }
36690 fi
36691 cat >conftest.$ac_ext <<_ACEOF
36692 /* confdefs.h.  */
36693 _ACEOF
36694 cat confdefs.h >>conftest.$ac_ext
36695 cat >>conftest.$ac_ext <<_ACEOF
36696 /* end confdefs.h.  */
36697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36698    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36699 #define $ac_func innocuous_$ac_func
36700
36701 /* System header to define __stub macros and hopefully few prototypes,
36702     which can conflict with char $ac_func (); below.
36703     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36704     <limits.h> exists even on freestanding compilers.  */
36705
36706 #ifdef __STDC__
36707 # include <limits.h>
36708 #else
36709 # include <assert.h>
36710 #endif
36711
36712 #undef $ac_func
36713
36714 /* Override any gcc2 internal prototype to avoid an error.  */
36715 #ifdef __cplusplus
36716 extern "C"
36717 {
36718 #endif
36719 /* We use char because int might match the return type of a gcc2
36720    builtin and then its argument prototype would still apply.  */
36721 char $ac_func ();
36722 /* The GNU C library defines this for functions which it implements
36723     to always fail with ENOSYS.  Some functions are actually named
36724     something starting with __ and the normal name is an alias.  */
36725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36726 choke me
36727 #else
36728 char (*f) () = $ac_func;
36729 #endif
36730 #ifdef __cplusplus
36731 }
36732 #endif
36733
36734 int
36735 main ()
36736 {
36737 return f != $ac_func;
36738   ;
36739   return 0;
36740 }
36741 _ACEOF
36742 rm -f conftest.$ac_objext conftest$ac_exeext
36743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36744   (eval $ac_link) 2>conftest.er1
36745   ac_status=$?
36746   grep -v '^ *+' conftest.er1 >conftest.err
36747   rm -f conftest.er1
36748   cat conftest.err >&5
36749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36750   (exit $ac_status); } &&
36751          { ac_try='test -z "$ac_c_werror_flag"
36752                          || test ! -s conftest.err'
36753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36754   (eval $ac_try) 2>&5
36755   ac_status=$?
36756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36757   (exit $ac_status); }; } &&
36758          { ac_try='test -s conftest$ac_exeext'
36759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36760   (eval $ac_try) 2>&5
36761   ac_status=$?
36762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36763   (exit $ac_status); }; }; then
36764   eval "$as_ac_var=yes"
36765 else
36766   echo "$as_me: failed program was:" >&5
36767 sed 's/^/| /' conftest.$ac_ext >&5
36768
36769 eval "$as_ac_var=no"
36770 fi
36771 rm -f conftest.err conftest.$ac_objext \
36772       conftest$ac_exeext conftest.$ac_ext
36773 fi
36774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36776 if test `eval echo '${'$as_ac_var'}'` = yes; then
36777   cat >>confdefs.h <<_ACEOF
36778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36779 _ACEOF
36780
36781 fi
36782 done
36783
36784     fi
36785   fi
36786
36787
36788
36789
36790
36791
36792   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
36793 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
36794   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36795     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
36796   echo $ECHO_N "(cached) $ECHO_C" >&6
36797 else
36798
36799
36800
36801       ac_ext=cc
36802 ac_cpp='$CXXCPP $CPPFLAGS'
36803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36806
36807       cat >conftest.$ac_ext <<_ACEOF
36808 /* confdefs.h.  */
36809 _ACEOF
36810 cat confdefs.h >>conftest.$ac_ext
36811 cat >>conftest.$ac_ext <<_ACEOF
36812 /* end confdefs.h.  */
36813 #include <math.h>
36814 int
36815 main ()
36816 {
36817  fmodf(0, 0);
36818   ;
36819   return 0;
36820 }
36821 _ACEOF
36822 rm -f conftest.$ac_objext
36823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36824   (eval $ac_compile) 2>conftest.er1
36825   ac_status=$?
36826   grep -v '^ *+' conftest.er1 >conftest.err
36827   rm -f conftest.er1
36828   cat conftest.err >&5
36829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36830   (exit $ac_status); } &&
36831          { ac_try='test -z "$ac_cxx_werror_flag"
36832                          || test ! -s conftest.err'
36833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36834   (eval $ac_try) 2>&5
36835   ac_status=$?
36836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36837   (exit $ac_status); }; } &&
36838          { ac_try='test -s conftest.$ac_objext'
36839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36840   (eval $ac_try) 2>&5
36841   ac_status=$?
36842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36843   (exit $ac_status); }; }; then
36844   glibcxx_cv_func_fmodf_use=yes
36845 else
36846   echo "$as_me: failed program was:" >&5
36847 sed 's/^/| /' conftest.$ac_ext >&5
36848
36849 glibcxx_cv_func_fmodf_use=no
36850 fi
36851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36852       ac_ext=c
36853 ac_cpp='$CPP $CPPFLAGS'
36854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36857
36858
36859 fi
36860
36861   fi
36862   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
36863 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
36864
36865   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36866
36867 for ac_func in fmodf
36868 do
36869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36870 echo "$as_me:$LINENO: checking for $ac_func" >&5
36871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36872 if eval "test \"\${$as_ac_var+set}\" = set"; then
36873   echo $ECHO_N "(cached) $ECHO_C" >&6
36874 else
36875   if test x$gcc_no_link = xyes; then
36876   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36878    { (exit 1); exit 1; }; }
36879 fi
36880 cat >conftest.$ac_ext <<_ACEOF
36881 /* confdefs.h.  */
36882 _ACEOF
36883 cat confdefs.h >>conftest.$ac_ext
36884 cat >>conftest.$ac_ext <<_ACEOF
36885 /* end confdefs.h.  */
36886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36887    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36888 #define $ac_func innocuous_$ac_func
36889
36890 /* System header to define __stub macros and hopefully few prototypes,
36891     which can conflict with char $ac_func (); below.
36892     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36893     <limits.h> exists even on freestanding compilers.  */
36894
36895 #ifdef __STDC__
36896 # include <limits.h>
36897 #else
36898 # include <assert.h>
36899 #endif
36900
36901 #undef $ac_func
36902
36903 /* Override any gcc2 internal prototype to avoid an error.  */
36904 #ifdef __cplusplus
36905 extern "C"
36906 {
36907 #endif
36908 /* We use char because int might match the return type of a gcc2
36909    builtin and then its argument prototype would still apply.  */
36910 char $ac_func ();
36911 /* The GNU C library defines this for functions which it implements
36912     to always fail with ENOSYS.  Some functions are actually named
36913     something starting with __ and the normal name is an alias.  */
36914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36915 choke me
36916 #else
36917 char (*f) () = $ac_func;
36918 #endif
36919 #ifdef __cplusplus
36920 }
36921 #endif
36922
36923 int
36924 main ()
36925 {
36926 return f != $ac_func;
36927   ;
36928   return 0;
36929 }
36930 _ACEOF
36931 rm -f conftest.$ac_objext conftest$ac_exeext
36932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36933   (eval $ac_link) 2>conftest.er1
36934   ac_status=$?
36935   grep -v '^ *+' conftest.er1 >conftest.err
36936   rm -f conftest.er1
36937   cat conftest.err >&5
36938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36939   (exit $ac_status); } &&
36940          { ac_try='test -z "$ac_c_werror_flag"
36941                          || test ! -s conftest.err'
36942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36943   (eval $ac_try) 2>&5
36944   ac_status=$?
36945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36946   (exit $ac_status); }; } &&
36947          { ac_try='test -s conftest$ac_exeext'
36948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36949   (eval $ac_try) 2>&5
36950   ac_status=$?
36951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36952   (exit $ac_status); }; }; then
36953   eval "$as_ac_var=yes"
36954 else
36955   echo "$as_me: failed program was:" >&5
36956 sed 's/^/| /' conftest.$ac_ext >&5
36957
36958 eval "$as_ac_var=no"
36959 fi
36960 rm -f conftest.err conftest.$ac_objext \
36961       conftest$ac_exeext conftest.$ac_ext
36962 fi
36963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36965 if test `eval echo '${'$as_ac_var'}'` = yes; then
36966   cat >>confdefs.h <<_ACEOF
36967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36968 _ACEOF
36969
36970 fi
36971 done
36972
36973   else
36974
36975   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
36976 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
36977   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36978     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
36979   echo $ECHO_N "(cached) $ECHO_C" >&6
36980 else
36981
36982
36983
36984       ac_ext=cc
36985 ac_cpp='$CXXCPP $CPPFLAGS'
36986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36989
36990       cat >conftest.$ac_ext <<_ACEOF
36991 /* confdefs.h.  */
36992 _ACEOF
36993 cat confdefs.h >>conftest.$ac_ext
36994 cat >>conftest.$ac_ext <<_ACEOF
36995 /* end confdefs.h.  */
36996 #include <math.h>
36997 int
36998 main ()
36999 {
37000  _fmodf(0, 0);
37001   ;
37002   return 0;
37003 }
37004 _ACEOF
37005 rm -f conftest.$ac_objext
37006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37007   (eval $ac_compile) 2>conftest.er1
37008   ac_status=$?
37009   grep -v '^ *+' conftest.er1 >conftest.err
37010   rm -f conftest.er1
37011   cat conftest.err >&5
37012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37013   (exit $ac_status); } &&
37014          { ac_try='test -z "$ac_cxx_werror_flag"
37015                          || test ! -s conftest.err'
37016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37017   (eval $ac_try) 2>&5
37018   ac_status=$?
37019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37020   (exit $ac_status); }; } &&
37021          { ac_try='test -s conftest.$ac_objext'
37022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37023   (eval $ac_try) 2>&5
37024   ac_status=$?
37025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37026   (exit $ac_status); }; }; then
37027   glibcxx_cv_func__fmodf_use=yes
37028 else
37029   echo "$as_me: failed program was:" >&5
37030 sed 's/^/| /' conftest.$ac_ext >&5
37031
37032 glibcxx_cv_func__fmodf_use=no
37033 fi
37034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37035       ac_ext=c
37036 ac_cpp='$CPP $CPPFLAGS'
37037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37040
37041
37042 fi
37043
37044   fi
37045   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
37046 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
37047
37048     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37049
37050 for ac_func in _fmodf
37051 do
37052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37053 echo "$as_me:$LINENO: checking for $ac_func" >&5
37054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37055 if eval "test \"\${$as_ac_var+set}\" = set"; then
37056   echo $ECHO_N "(cached) $ECHO_C" >&6
37057 else
37058   if test x$gcc_no_link = xyes; then
37059   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37061    { (exit 1); exit 1; }; }
37062 fi
37063 cat >conftest.$ac_ext <<_ACEOF
37064 /* confdefs.h.  */
37065 _ACEOF
37066 cat confdefs.h >>conftest.$ac_ext
37067 cat >>conftest.$ac_ext <<_ACEOF
37068 /* end confdefs.h.  */
37069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37070    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37071 #define $ac_func innocuous_$ac_func
37072
37073 /* System header to define __stub macros and hopefully few prototypes,
37074     which can conflict with char $ac_func (); below.
37075     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37076     <limits.h> exists even on freestanding compilers.  */
37077
37078 #ifdef __STDC__
37079 # include <limits.h>
37080 #else
37081 # include <assert.h>
37082 #endif
37083
37084 #undef $ac_func
37085
37086 /* Override any gcc2 internal prototype to avoid an error.  */
37087 #ifdef __cplusplus
37088 extern "C"
37089 {
37090 #endif
37091 /* We use char because int might match the return type of a gcc2
37092    builtin and then its argument prototype would still apply.  */
37093 char $ac_func ();
37094 /* The GNU C library defines this for functions which it implements
37095     to always fail with ENOSYS.  Some functions are actually named
37096     something starting with __ and the normal name is an alias.  */
37097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37098 choke me
37099 #else
37100 char (*f) () = $ac_func;
37101 #endif
37102 #ifdef __cplusplus
37103 }
37104 #endif
37105
37106 int
37107 main ()
37108 {
37109 return f != $ac_func;
37110   ;
37111   return 0;
37112 }
37113 _ACEOF
37114 rm -f conftest.$ac_objext conftest$ac_exeext
37115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37116   (eval $ac_link) 2>conftest.er1
37117   ac_status=$?
37118   grep -v '^ *+' conftest.er1 >conftest.err
37119   rm -f conftest.er1
37120   cat conftest.err >&5
37121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37122   (exit $ac_status); } &&
37123          { ac_try='test -z "$ac_c_werror_flag"
37124                          || test ! -s conftest.err'
37125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37126   (eval $ac_try) 2>&5
37127   ac_status=$?
37128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37129   (exit $ac_status); }; } &&
37130          { ac_try='test -s conftest$ac_exeext'
37131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37132   (eval $ac_try) 2>&5
37133   ac_status=$?
37134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37135   (exit $ac_status); }; }; then
37136   eval "$as_ac_var=yes"
37137 else
37138   echo "$as_me: failed program was:" >&5
37139 sed 's/^/| /' conftest.$ac_ext >&5
37140
37141 eval "$as_ac_var=no"
37142 fi
37143 rm -f conftest.err conftest.$ac_objext \
37144       conftest$ac_exeext conftest.$ac_ext
37145 fi
37146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37148 if test `eval echo '${'$as_ac_var'}'` = yes; then
37149   cat >>confdefs.h <<_ACEOF
37150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37151 _ACEOF
37152
37153 fi
37154 done
37155
37156     fi
37157   fi
37158
37159
37160
37161
37162
37163
37164   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
37165 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
37166   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37167     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
37168   echo $ECHO_N "(cached) $ECHO_C" >&6
37169 else
37170
37171
37172
37173       ac_ext=cc
37174 ac_cpp='$CXXCPP $CPPFLAGS'
37175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37178
37179       cat >conftest.$ac_ext <<_ACEOF
37180 /* confdefs.h.  */
37181 _ACEOF
37182 cat confdefs.h >>conftest.$ac_ext
37183 cat >>conftest.$ac_ext <<_ACEOF
37184 /* end confdefs.h.  */
37185 #include <math.h>
37186 int
37187 main ()
37188 {
37189  frexpf(0, 0);
37190   ;
37191   return 0;
37192 }
37193 _ACEOF
37194 rm -f conftest.$ac_objext
37195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37196   (eval $ac_compile) 2>conftest.er1
37197   ac_status=$?
37198   grep -v '^ *+' conftest.er1 >conftest.err
37199   rm -f conftest.er1
37200   cat conftest.err >&5
37201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37202   (exit $ac_status); } &&
37203          { ac_try='test -z "$ac_cxx_werror_flag"
37204                          || test ! -s conftest.err'
37205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37206   (eval $ac_try) 2>&5
37207   ac_status=$?
37208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37209   (exit $ac_status); }; } &&
37210          { ac_try='test -s conftest.$ac_objext'
37211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37212   (eval $ac_try) 2>&5
37213   ac_status=$?
37214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37215   (exit $ac_status); }; }; then
37216   glibcxx_cv_func_frexpf_use=yes
37217 else
37218   echo "$as_me: failed program was:" >&5
37219 sed 's/^/| /' conftest.$ac_ext >&5
37220
37221 glibcxx_cv_func_frexpf_use=no
37222 fi
37223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37224       ac_ext=c
37225 ac_cpp='$CPP $CPPFLAGS'
37226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37229
37230
37231 fi
37232
37233   fi
37234   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
37235 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
37236
37237   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37238
37239 for ac_func in frexpf
37240 do
37241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37242 echo "$as_me:$LINENO: checking for $ac_func" >&5
37243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37244 if eval "test \"\${$as_ac_var+set}\" = set"; then
37245   echo $ECHO_N "(cached) $ECHO_C" >&6
37246 else
37247   if test x$gcc_no_link = xyes; then
37248   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37250    { (exit 1); exit 1; }; }
37251 fi
37252 cat >conftest.$ac_ext <<_ACEOF
37253 /* confdefs.h.  */
37254 _ACEOF
37255 cat confdefs.h >>conftest.$ac_ext
37256 cat >>conftest.$ac_ext <<_ACEOF
37257 /* end confdefs.h.  */
37258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37259    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37260 #define $ac_func innocuous_$ac_func
37261
37262 /* System header to define __stub macros and hopefully few prototypes,
37263     which can conflict with char $ac_func (); below.
37264     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37265     <limits.h> exists even on freestanding compilers.  */
37266
37267 #ifdef __STDC__
37268 # include <limits.h>
37269 #else
37270 # include <assert.h>
37271 #endif
37272
37273 #undef $ac_func
37274
37275 /* Override any gcc2 internal prototype to avoid an error.  */
37276 #ifdef __cplusplus
37277 extern "C"
37278 {
37279 #endif
37280 /* We use char because int might match the return type of a gcc2
37281    builtin and then its argument prototype would still apply.  */
37282 char $ac_func ();
37283 /* The GNU C library defines this for functions which it implements
37284     to always fail with ENOSYS.  Some functions are actually named
37285     something starting with __ and the normal name is an alias.  */
37286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37287 choke me
37288 #else
37289 char (*f) () = $ac_func;
37290 #endif
37291 #ifdef __cplusplus
37292 }
37293 #endif
37294
37295 int
37296 main ()
37297 {
37298 return f != $ac_func;
37299   ;
37300   return 0;
37301 }
37302 _ACEOF
37303 rm -f conftest.$ac_objext conftest$ac_exeext
37304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37305   (eval $ac_link) 2>conftest.er1
37306   ac_status=$?
37307   grep -v '^ *+' conftest.er1 >conftest.err
37308   rm -f conftest.er1
37309   cat conftest.err >&5
37310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37311   (exit $ac_status); } &&
37312          { ac_try='test -z "$ac_c_werror_flag"
37313                          || test ! -s conftest.err'
37314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37315   (eval $ac_try) 2>&5
37316   ac_status=$?
37317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37318   (exit $ac_status); }; } &&
37319          { ac_try='test -s conftest$ac_exeext'
37320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37321   (eval $ac_try) 2>&5
37322   ac_status=$?
37323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37324   (exit $ac_status); }; }; then
37325   eval "$as_ac_var=yes"
37326 else
37327   echo "$as_me: failed program was:" >&5
37328 sed 's/^/| /' conftest.$ac_ext >&5
37329
37330 eval "$as_ac_var=no"
37331 fi
37332 rm -f conftest.err conftest.$ac_objext \
37333       conftest$ac_exeext conftest.$ac_ext
37334 fi
37335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37337 if test `eval echo '${'$as_ac_var'}'` = yes; then
37338   cat >>confdefs.h <<_ACEOF
37339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37340 _ACEOF
37341
37342 fi
37343 done
37344
37345   else
37346
37347   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
37348 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
37349   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37350     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
37351   echo $ECHO_N "(cached) $ECHO_C" >&6
37352 else
37353
37354
37355
37356       ac_ext=cc
37357 ac_cpp='$CXXCPP $CPPFLAGS'
37358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37361
37362       cat >conftest.$ac_ext <<_ACEOF
37363 /* confdefs.h.  */
37364 _ACEOF
37365 cat confdefs.h >>conftest.$ac_ext
37366 cat >>conftest.$ac_ext <<_ACEOF
37367 /* end confdefs.h.  */
37368 #include <math.h>
37369 int
37370 main ()
37371 {
37372  _frexpf(0, 0);
37373   ;
37374   return 0;
37375 }
37376 _ACEOF
37377 rm -f conftest.$ac_objext
37378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37379   (eval $ac_compile) 2>conftest.er1
37380   ac_status=$?
37381   grep -v '^ *+' conftest.er1 >conftest.err
37382   rm -f conftest.er1
37383   cat conftest.err >&5
37384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37385   (exit $ac_status); } &&
37386          { ac_try='test -z "$ac_cxx_werror_flag"
37387                          || test ! -s conftest.err'
37388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37389   (eval $ac_try) 2>&5
37390   ac_status=$?
37391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37392   (exit $ac_status); }; } &&
37393          { ac_try='test -s conftest.$ac_objext'
37394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37395   (eval $ac_try) 2>&5
37396   ac_status=$?
37397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37398   (exit $ac_status); }; }; then
37399   glibcxx_cv_func__frexpf_use=yes
37400 else
37401   echo "$as_me: failed program was:" >&5
37402 sed 's/^/| /' conftest.$ac_ext >&5
37403
37404 glibcxx_cv_func__frexpf_use=no
37405 fi
37406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37407       ac_ext=c
37408 ac_cpp='$CPP $CPPFLAGS'
37409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37412
37413
37414 fi
37415
37416   fi
37417   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
37418 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
37419
37420     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37421
37422 for ac_func in _frexpf
37423 do
37424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37425 echo "$as_me:$LINENO: checking for $ac_func" >&5
37426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37427 if eval "test \"\${$as_ac_var+set}\" = set"; then
37428   echo $ECHO_N "(cached) $ECHO_C" >&6
37429 else
37430   if test x$gcc_no_link = xyes; then
37431   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37433    { (exit 1); exit 1; }; }
37434 fi
37435 cat >conftest.$ac_ext <<_ACEOF
37436 /* confdefs.h.  */
37437 _ACEOF
37438 cat confdefs.h >>conftest.$ac_ext
37439 cat >>conftest.$ac_ext <<_ACEOF
37440 /* end confdefs.h.  */
37441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37442    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37443 #define $ac_func innocuous_$ac_func
37444
37445 /* System header to define __stub macros and hopefully few prototypes,
37446     which can conflict with char $ac_func (); below.
37447     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37448     <limits.h> exists even on freestanding compilers.  */
37449
37450 #ifdef __STDC__
37451 # include <limits.h>
37452 #else
37453 # include <assert.h>
37454 #endif
37455
37456 #undef $ac_func
37457
37458 /* Override any gcc2 internal prototype to avoid an error.  */
37459 #ifdef __cplusplus
37460 extern "C"
37461 {
37462 #endif
37463 /* We use char because int might match the return type of a gcc2
37464    builtin and then its argument prototype would still apply.  */
37465 char $ac_func ();
37466 /* The GNU C library defines this for functions which it implements
37467     to always fail with ENOSYS.  Some functions are actually named
37468     something starting with __ and the normal name is an alias.  */
37469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37470 choke me
37471 #else
37472 char (*f) () = $ac_func;
37473 #endif
37474 #ifdef __cplusplus
37475 }
37476 #endif
37477
37478 int
37479 main ()
37480 {
37481 return f != $ac_func;
37482   ;
37483   return 0;
37484 }
37485 _ACEOF
37486 rm -f conftest.$ac_objext conftest$ac_exeext
37487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37488   (eval $ac_link) 2>conftest.er1
37489   ac_status=$?
37490   grep -v '^ *+' conftest.er1 >conftest.err
37491   rm -f conftest.er1
37492   cat conftest.err >&5
37493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37494   (exit $ac_status); } &&
37495          { ac_try='test -z "$ac_c_werror_flag"
37496                          || test ! -s conftest.err'
37497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37498   (eval $ac_try) 2>&5
37499   ac_status=$?
37500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37501   (exit $ac_status); }; } &&
37502          { ac_try='test -s conftest$ac_exeext'
37503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37504   (eval $ac_try) 2>&5
37505   ac_status=$?
37506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37507   (exit $ac_status); }; }; then
37508   eval "$as_ac_var=yes"
37509 else
37510   echo "$as_me: failed program was:" >&5
37511 sed 's/^/| /' conftest.$ac_ext >&5
37512
37513 eval "$as_ac_var=no"
37514 fi
37515 rm -f conftest.err conftest.$ac_objext \
37516       conftest$ac_exeext conftest.$ac_ext
37517 fi
37518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37520 if test `eval echo '${'$as_ac_var'}'` = yes; then
37521   cat >>confdefs.h <<_ACEOF
37522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37523 _ACEOF
37524
37525 fi
37526 done
37527
37528     fi
37529   fi
37530
37531
37532
37533
37534
37535
37536   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
37537 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
37538   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37539     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
37540   echo $ECHO_N "(cached) $ECHO_C" >&6
37541 else
37542
37543
37544
37545       ac_ext=cc
37546 ac_cpp='$CXXCPP $CPPFLAGS'
37547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37550
37551       cat >conftest.$ac_ext <<_ACEOF
37552 /* confdefs.h.  */
37553 _ACEOF
37554 cat confdefs.h >>conftest.$ac_ext
37555 cat >>conftest.$ac_ext <<_ACEOF
37556 /* end confdefs.h.  */
37557 #include <math.h>
37558 int
37559 main ()
37560 {
37561  hypotf(0, 0);
37562   ;
37563   return 0;
37564 }
37565 _ACEOF
37566 rm -f conftest.$ac_objext
37567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37568   (eval $ac_compile) 2>conftest.er1
37569   ac_status=$?
37570   grep -v '^ *+' conftest.er1 >conftest.err
37571   rm -f conftest.er1
37572   cat conftest.err >&5
37573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37574   (exit $ac_status); } &&
37575          { ac_try='test -z "$ac_cxx_werror_flag"
37576                          || test ! -s conftest.err'
37577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37578   (eval $ac_try) 2>&5
37579   ac_status=$?
37580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37581   (exit $ac_status); }; } &&
37582          { ac_try='test -s conftest.$ac_objext'
37583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37584   (eval $ac_try) 2>&5
37585   ac_status=$?
37586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37587   (exit $ac_status); }; }; then
37588   glibcxx_cv_func_hypotf_use=yes
37589 else
37590   echo "$as_me: failed program was:" >&5
37591 sed 's/^/| /' conftest.$ac_ext >&5
37592
37593 glibcxx_cv_func_hypotf_use=no
37594 fi
37595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37596       ac_ext=c
37597 ac_cpp='$CPP $CPPFLAGS'
37598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37601
37602
37603 fi
37604
37605   fi
37606   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
37607 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
37608
37609   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37610
37611 for ac_func in hypotf
37612 do
37613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37614 echo "$as_me:$LINENO: checking for $ac_func" >&5
37615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37616 if eval "test \"\${$as_ac_var+set}\" = set"; then
37617   echo $ECHO_N "(cached) $ECHO_C" >&6
37618 else
37619   if test x$gcc_no_link = xyes; then
37620   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37622    { (exit 1); exit 1; }; }
37623 fi
37624 cat >conftest.$ac_ext <<_ACEOF
37625 /* confdefs.h.  */
37626 _ACEOF
37627 cat confdefs.h >>conftest.$ac_ext
37628 cat >>conftest.$ac_ext <<_ACEOF
37629 /* end confdefs.h.  */
37630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37631    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37632 #define $ac_func innocuous_$ac_func
37633
37634 /* System header to define __stub macros and hopefully few prototypes,
37635     which can conflict with char $ac_func (); below.
37636     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37637     <limits.h> exists even on freestanding compilers.  */
37638
37639 #ifdef __STDC__
37640 # include <limits.h>
37641 #else
37642 # include <assert.h>
37643 #endif
37644
37645 #undef $ac_func
37646
37647 /* Override any gcc2 internal prototype to avoid an error.  */
37648 #ifdef __cplusplus
37649 extern "C"
37650 {
37651 #endif
37652 /* We use char because int might match the return type of a gcc2
37653    builtin and then its argument prototype would still apply.  */
37654 char $ac_func ();
37655 /* The GNU C library defines this for functions which it implements
37656     to always fail with ENOSYS.  Some functions are actually named
37657     something starting with __ and the normal name is an alias.  */
37658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37659 choke me
37660 #else
37661 char (*f) () = $ac_func;
37662 #endif
37663 #ifdef __cplusplus
37664 }
37665 #endif
37666
37667 int
37668 main ()
37669 {
37670 return f != $ac_func;
37671   ;
37672   return 0;
37673 }
37674 _ACEOF
37675 rm -f conftest.$ac_objext conftest$ac_exeext
37676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37677   (eval $ac_link) 2>conftest.er1
37678   ac_status=$?
37679   grep -v '^ *+' conftest.er1 >conftest.err
37680   rm -f conftest.er1
37681   cat conftest.err >&5
37682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37683   (exit $ac_status); } &&
37684          { ac_try='test -z "$ac_c_werror_flag"
37685                          || test ! -s conftest.err'
37686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37687   (eval $ac_try) 2>&5
37688   ac_status=$?
37689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37690   (exit $ac_status); }; } &&
37691          { ac_try='test -s conftest$ac_exeext'
37692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37693   (eval $ac_try) 2>&5
37694   ac_status=$?
37695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37696   (exit $ac_status); }; }; then
37697   eval "$as_ac_var=yes"
37698 else
37699   echo "$as_me: failed program was:" >&5
37700 sed 's/^/| /' conftest.$ac_ext >&5
37701
37702 eval "$as_ac_var=no"
37703 fi
37704 rm -f conftest.err conftest.$ac_objext \
37705       conftest$ac_exeext conftest.$ac_ext
37706 fi
37707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37709 if test `eval echo '${'$as_ac_var'}'` = yes; then
37710   cat >>confdefs.h <<_ACEOF
37711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37712 _ACEOF
37713
37714 fi
37715 done
37716
37717   else
37718
37719   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
37720 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
37721   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37722     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
37723   echo $ECHO_N "(cached) $ECHO_C" >&6
37724 else
37725
37726
37727
37728       ac_ext=cc
37729 ac_cpp='$CXXCPP $CPPFLAGS'
37730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37733
37734       cat >conftest.$ac_ext <<_ACEOF
37735 /* confdefs.h.  */
37736 _ACEOF
37737 cat confdefs.h >>conftest.$ac_ext
37738 cat >>conftest.$ac_ext <<_ACEOF
37739 /* end confdefs.h.  */
37740 #include <math.h>
37741 int
37742 main ()
37743 {
37744  _hypotf(0, 0);
37745   ;
37746   return 0;
37747 }
37748 _ACEOF
37749 rm -f conftest.$ac_objext
37750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37751   (eval $ac_compile) 2>conftest.er1
37752   ac_status=$?
37753   grep -v '^ *+' conftest.er1 >conftest.err
37754   rm -f conftest.er1
37755   cat conftest.err >&5
37756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37757   (exit $ac_status); } &&
37758          { ac_try='test -z "$ac_cxx_werror_flag"
37759                          || test ! -s conftest.err'
37760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37761   (eval $ac_try) 2>&5
37762   ac_status=$?
37763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37764   (exit $ac_status); }; } &&
37765          { ac_try='test -s conftest.$ac_objext'
37766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37767   (eval $ac_try) 2>&5
37768   ac_status=$?
37769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37770   (exit $ac_status); }; }; then
37771   glibcxx_cv_func__hypotf_use=yes
37772 else
37773   echo "$as_me: failed program was:" >&5
37774 sed 's/^/| /' conftest.$ac_ext >&5
37775
37776 glibcxx_cv_func__hypotf_use=no
37777 fi
37778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37779       ac_ext=c
37780 ac_cpp='$CPP $CPPFLAGS'
37781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37784
37785
37786 fi
37787
37788   fi
37789   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
37790 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
37791
37792     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37793
37794 for ac_func in _hypotf
37795 do
37796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37797 echo "$as_me:$LINENO: checking for $ac_func" >&5
37798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37799 if eval "test \"\${$as_ac_var+set}\" = set"; then
37800   echo $ECHO_N "(cached) $ECHO_C" >&6
37801 else
37802   if test x$gcc_no_link = xyes; then
37803   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37805    { (exit 1); exit 1; }; }
37806 fi
37807 cat >conftest.$ac_ext <<_ACEOF
37808 /* confdefs.h.  */
37809 _ACEOF
37810 cat confdefs.h >>conftest.$ac_ext
37811 cat >>conftest.$ac_ext <<_ACEOF
37812 /* end confdefs.h.  */
37813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37814    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37815 #define $ac_func innocuous_$ac_func
37816
37817 /* System header to define __stub macros and hopefully few prototypes,
37818     which can conflict with char $ac_func (); below.
37819     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37820     <limits.h> exists even on freestanding compilers.  */
37821
37822 #ifdef __STDC__
37823 # include <limits.h>
37824 #else
37825 # include <assert.h>
37826 #endif
37827
37828 #undef $ac_func
37829
37830 /* Override any gcc2 internal prototype to avoid an error.  */
37831 #ifdef __cplusplus
37832 extern "C"
37833 {
37834 #endif
37835 /* We use char because int might match the return type of a gcc2
37836    builtin and then its argument prototype would still apply.  */
37837 char $ac_func ();
37838 /* The GNU C library defines this for functions which it implements
37839     to always fail with ENOSYS.  Some functions are actually named
37840     something starting with __ and the normal name is an alias.  */
37841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37842 choke me
37843 #else
37844 char (*f) () = $ac_func;
37845 #endif
37846 #ifdef __cplusplus
37847 }
37848 #endif
37849
37850 int
37851 main ()
37852 {
37853 return f != $ac_func;
37854   ;
37855   return 0;
37856 }
37857 _ACEOF
37858 rm -f conftest.$ac_objext conftest$ac_exeext
37859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37860   (eval $ac_link) 2>conftest.er1
37861   ac_status=$?
37862   grep -v '^ *+' conftest.er1 >conftest.err
37863   rm -f conftest.er1
37864   cat conftest.err >&5
37865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37866   (exit $ac_status); } &&
37867          { ac_try='test -z "$ac_c_werror_flag"
37868                          || test ! -s conftest.err'
37869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37870   (eval $ac_try) 2>&5
37871   ac_status=$?
37872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37873   (exit $ac_status); }; } &&
37874          { ac_try='test -s conftest$ac_exeext'
37875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37876   (eval $ac_try) 2>&5
37877   ac_status=$?
37878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37879   (exit $ac_status); }; }; then
37880   eval "$as_ac_var=yes"
37881 else
37882   echo "$as_me: failed program was:" >&5
37883 sed 's/^/| /' conftest.$ac_ext >&5
37884
37885 eval "$as_ac_var=no"
37886 fi
37887 rm -f conftest.err conftest.$ac_objext \
37888       conftest$ac_exeext conftest.$ac_ext
37889 fi
37890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37892 if test `eval echo '${'$as_ac_var'}'` = yes; then
37893   cat >>confdefs.h <<_ACEOF
37894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37895 _ACEOF
37896
37897 fi
37898 done
37899
37900     fi
37901   fi
37902
37903
37904
37905
37906
37907
37908   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
37909 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
37910   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37911     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
37912   echo $ECHO_N "(cached) $ECHO_C" >&6
37913 else
37914
37915
37916
37917       ac_ext=cc
37918 ac_cpp='$CXXCPP $CPPFLAGS'
37919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37922
37923       cat >conftest.$ac_ext <<_ACEOF
37924 /* confdefs.h.  */
37925 _ACEOF
37926 cat confdefs.h >>conftest.$ac_ext
37927 cat >>conftest.$ac_ext <<_ACEOF
37928 /* end confdefs.h.  */
37929 #include <math.h>
37930 int
37931 main ()
37932 {
37933  ldexpf(0, 0);
37934   ;
37935   return 0;
37936 }
37937 _ACEOF
37938 rm -f conftest.$ac_objext
37939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37940   (eval $ac_compile) 2>conftest.er1
37941   ac_status=$?
37942   grep -v '^ *+' conftest.er1 >conftest.err
37943   rm -f conftest.er1
37944   cat conftest.err >&5
37945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37946   (exit $ac_status); } &&
37947          { ac_try='test -z "$ac_cxx_werror_flag"
37948                          || test ! -s conftest.err'
37949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37950   (eval $ac_try) 2>&5
37951   ac_status=$?
37952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37953   (exit $ac_status); }; } &&
37954          { ac_try='test -s conftest.$ac_objext'
37955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37956   (eval $ac_try) 2>&5
37957   ac_status=$?
37958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37959   (exit $ac_status); }; }; then
37960   glibcxx_cv_func_ldexpf_use=yes
37961 else
37962   echo "$as_me: failed program was:" >&5
37963 sed 's/^/| /' conftest.$ac_ext >&5
37964
37965 glibcxx_cv_func_ldexpf_use=no
37966 fi
37967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37968       ac_ext=c
37969 ac_cpp='$CPP $CPPFLAGS'
37970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37973
37974
37975 fi
37976
37977   fi
37978   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
37979 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
37980
37981   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37982
37983 for ac_func in ldexpf
37984 do
37985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37986 echo "$as_me:$LINENO: checking for $ac_func" >&5
37987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37988 if eval "test \"\${$as_ac_var+set}\" = set"; then
37989   echo $ECHO_N "(cached) $ECHO_C" >&6
37990 else
37991   if test x$gcc_no_link = xyes; then
37992   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37994    { (exit 1); exit 1; }; }
37995 fi
37996 cat >conftest.$ac_ext <<_ACEOF
37997 /* confdefs.h.  */
37998 _ACEOF
37999 cat confdefs.h >>conftest.$ac_ext
38000 cat >>conftest.$ac_ext <<_ACEOF
38001 /* end confdefs.h.  */
38002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38003    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38004 #define $ac_func innocuous_$ac_func
38005
38006 /* System header to define __stub macros and hopefully few prototypes,
38007     which can conflict with char $ac_func (); below.
38008     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38009     <limits.h> exists even on freestanding compilers.  */
38010
38011 #ifdef __STDC__
38012 # include <limits.h>
38013 #else
38014 # include <assert.h>
38015 #endif
38016
38017 #undef $ac_func
38018
38019 /* Override any gcc2 internal prototype to avoid an error.  */
38020 #ifdef __cplusplus
38021 extern "C"
38022 {
38023 #endif
38024 /* We use char because int might match the return type of a gcc2
38025    builtin and then its argument prototype would still apply.  */
38026 char $ac_func ();
38027 /* The GNU C library defines this for functions which it implements
38028     to always fail with ENOSYS.  Some functions are actually named
38029     something starting with __ and the normal name is an alias.  */
38030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38031 choke me
38032 #else
38033 char (*f) () = $ac_func;
38034 #endif
38035 #ifdef __cplusplus
38036 }
38037 #endif
38038
38039 int
38040 main ()
38041 {
38042 return f != $ac_func;
38043   ;
38044   return 0;
38045 }
38046 _ACEOF
38047 rm -f conftest.$ac_objext conftest$ac_exeext
38048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38049   (eval $ac_link) 2>conftest.er1
38050   ac_status=$?
38051   grep -v '^ *+' conftest.er1 >conftest.err
38052   rm -f conftest.er1
38053   cat conftest.err >&5
38054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38055   (exit $ac_status); } &&
38056          { ac_try='test -z "$ac_c_werror_flag"
38057                          || test ! -s conftest.err'
38058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38059   (eval $ac_try) 2>&5
38060   ac_status=$?
38061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38062   (exit $ac_status); }; } &&
38063          { ac_try='test -s conftest$ac_exeext'
38064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38065   (eval $ac_try) 2>&5
38066   ac_status=$?
38067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38068   (exit $ac_status); }; }; then
38069   eval "$as_ac_var=yes"
38070 else
38071   echo "$as_me: failed program was:" >&5
38072 sed 's/^/| /' conftest.$ac_ext >&5
38073
38074 eval "$as_ac_var=no"
38075 fi
38076 rm -f conftest.err conftest.$ac_objext \
38077       conftest$ac_exeext conftest.$ac_ext
38078 fi
38079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38081 if test `eval echo '${'$as_ac_var'}'` = yes; then
38082   cat >>confdefs.h <<_ACEOF
38083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38084 _ACEOF
38085
38086 fi
38087 done
38088
38089   else
38090
38091   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
38092 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
38093   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
38094     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
38095   echo $ECHO_N "(cached) $ECHO_C" >&6
38096 else
38097
38098
38099
38100       ac_ext=cc
38101 ac_cpp='$CXXCPP $CPPFLAGS'
38102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38105
38106       cat >conftest.$ac_ext <<_ACEOF
38107 /* confdefs.h.  */
38108 _ACEOF
38109 cat confdefs.h >>conftest.$ac_ext
38110 cat >>conftest.$ac_ext <<_ACEOF
38111 /* end confdefs.h.  */
38112 #include <math.h>
38113 int
38114 main ()
38115 {
38116  _ldexpf(0, 0);
38117   ;
38118   return 0;
38119 }
38120 _ACEOF
38121 rm -f conftest.$ac_objext
38122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38123   (eval $ac_compile) 2>conftest.er1
38124   ac_status=$?
38125   grep -v '^ *+' conftest.er1 >conftest.err
38126   rm -f conftest.er1
38127   cat conftest.err >&5
38128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38129   (exit $ac_status); } &&
38130          { ac_try='test -z "$ac_cxx_werror_flag"
38131                          || test ! -s conftest.err'
38132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38133   (eval $ac_try) 2>&5
38134   ac_status=$?
38135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38136   (exit $ac_status); }; } &&
38137          { ac_try='test -s conftest.$ac_objext'
38138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38139   (eval $ac_try) 2>&5
38140   ac_status=$?
38141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38142   (exit $ac_status); }; }; then
38143   glibcxx_cv_func__ldexpf_use=yes
38144 else
38145   echo "$as_me: failed program was:" >&5
38146 sed 's/^/| /' conftest.$ac_ext >&5
38147
38148 glibcxx_cv_func__ldexpf_use=no
38149 fi
38150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38151       ac_ext=c
38152 ac_cpp='$CPP $CPPFLAGS'
38153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38156
38157
38158 fi
38159
38160   fi
38161   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
38162 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
38163
38164     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38165
38166 for ac_func in _ldexpf
38167 do
38168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38169 echo "$as_me:$LINENO: checking for $ac_func" >&5
38170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38171 if eval "test \"\${$as_ac_var+set}\" = set"; then
38172   echo $ECHO_N "(cached) $ECHO_C" >&6
38173 else
38174   if test x$gcc_no_link = xyes; then
38175   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38177    { (exit 1); exit 1; }; }
38178 fi
38179 cat >conftest.$ac_ext <<_ACEOF
38180 /* confdefs.h.  */
38181 _ACEOF
38182 cat confdefs.h >>conftest.$ac_ext
38183 cat >>conftest.$ac_ext <<_ACEOF
38184 /* end confdefs.h.  */
38185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38186    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38187 #define $ac_func innocuous_$ac_func
38188
38189 /* System header to define __stub macros and hopefully few prototypes,
38190     which can conflict with char $ac_func (); below.
38191     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38192     <limits.h> exists even on freestanding compilers.  */
38193
38194 #ifdef __STDC__
38195 # include <limits.h>
38196 #else
38197 # include <assert.h>
38198 #endif
38199
38200 #undef $ac_func
38201
38202 /* Override any gcc2 internal prototype to avoid an error.  */
38203 #ifdef __cplusplus
38204 extern "C"
38205 {
38206 #endif
38207 /* We use char because int might match the return type of a gcc2
38208    builtin and then its argument prototype would still apply.  */
38209 char $ac_func ();
38210 /* The GNU C library defines this for functions which it implements
38211     to always fail with ENOSYS.  Some functions are actually named
38212     something starting with __ and the normal name is an alias.  */
38213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38214 choke me
38215 #else
38216 char (*f) () = $ac_func;
38217 #endif
38218 #ifdef __cplusplus
38219 }
38220 #endif
38221
38222 int
38223 main ()
38224 {
38225 return f != $ac_func;
38226   ;
38227   return 0;
38228 }
38229 _ACEOF
38230 rm -f conftest.$ac_objext conftest$ac_exeext
38231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38232   (eval $ac_link) 2>conftest.er1
38233   ac_status=$?
38234   grep -v '^ *+' conftest.er1 >conftest.err
38235   rm -f conftest.er1
38236   cat conftest.err >&5
38237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38238   (exit $ac_status); } &&
38239          { ac_try='test -z "$ac_c_werror_flag"
38240                          || test ! -s conftest.err'
38241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38242   (eval $ac_try) 2>&5
38243   ac_status=$?
38244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38245   (exit $ac_status); }; } &&
38246          { ac_try='test -s conftest$ac_exeext'
38247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38248   (eval $ac_try) 2>&5
38249   ac_status=$?
38250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38251   (exit $ac_status); }; }; then
38252   eval "$as_ac_var=yes"
38253 else
38254   echo "$as_me: failed program was:" >&5
38255 sed 's/^/| /' conftest.$ac_ext >&5
38256
38257 eval "$as_ac_var=no"
38258 fi
38259 rm -f conftest.err conftest.$ac_objext \
38260       conftest$ac_exeext conftest.$ac_ext
38261 fi
38262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38264 if test `eval echo '${'$as_ac_var'}'` = yes; then
38265   cat >>confdefs.h <<_ACEOF
38266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38267 _ACEOF
38268
38269 fi
38270 done
38271
38272     fi
38273   fi
38274
38275
38276
38277
38278
38279
38280   echo "$as_me:$LINENO: checking for logf declaration" >&5
38281 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
38282   if test x${glibcxx_cv_func_logf_use+set} != xset; then
38283     if test "${glibcxx_cv_func_logf_use+set}" = set; then
38284   echo $ECHO_N "(cached) $ECHO_C" >&6
38285 else
38286
38287
38288
38289       ac_ext=cc
38290 ac_cpp='$CXXCPP $CPPFLAGS'
38291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38294
38295       cat >conftest.$ac_ext <<_ACEOF
38296 /* confdefs.h.  */
38297 _ACEOF
38298 cat confdefs.h >>conftest.$ac_ext
38299 cat >>conftest.$ac_ext <<_ACEOF
38300 /* end confdefs.h.  */
38301 #include <math.h>
38302                       #ifdef HAVE_IEEEFP_H
38303                       #include <ieeefp.h>
38304                       #endif
38305
38306 int
38307 main ()
38308 {
38309  logf(0);
38310   ;
38311   return 0;
38312 }
38313 _ACEOF
38314 rm -f conftest.$ac_objext
38315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38316   (eval $ac_compile) 2>conftest.er1
38317   ac_status=$?
38318   grep -v '^ *+' conftest.er1 >conftest.err
38319   rm -f conftest.er1
38320   cat conftest.err >&5
38321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38322   (exit $ac_status); } &&
38323          { ac_try='test -z "$ac_cxx_werror_flag"
38324                          || test ! -s conftest.err'
38325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38326   (eval $ac_try) 2>&5
38327   ac_status=$?
38328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38329   (exit $ac_status); }; } &&
38330          { ac_try='test -s conftest.$ac_objext'
38331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38332   (eval $ac_try) 2>&5
38333   ac_status=$?
38334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38335   (exit $ac_status); }; }; then
38336   glibcxx_cv_func_logf_use=yes
38337 else
38338   echo "$as_me: failed program was:" >&5
38339 sed 's/^/| /' conftest.$ac_ext >&5
38340
38341 glibcxx_cv_func_logf_use=no
38342 fi
38343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38344       ac_ext=c
38345 ac_cpp='$CPP $CPPFLAGS'
38346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38349
38350
38351 fi
38352
38353   fi
38354   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
38355 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
38356
38357   if test x$glibcxx_cv_func_logf_use = x"yes"; then
38358
38359 for ac_func in logf
38360 do
38361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38362 echo "$as_me:$LINENO: checking for $ac_func" >&5
38363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38364 if eval "test \"\${$as_ac_var+set}\" = set"; then
38365   echo $ECHO_N "(cached) $ECHO_C" >&6
38366 else
38367   if test x$gcc_no_link = xyes; then
38368   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38370    { (exit 1); exit 1; }; }
38371 fi
38372 cat >conftest.$ac_ext <<_ACEOF
38373 /* confdefs.h.  */
38374 _ACEOF
38375 cat confdefs.h >>conftest.$ac_ext
38376 cat >>conftest.$ac_ext <<_ACEOF
38377 /* end confdefs.h.  */
38378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38379    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38380 #define $ac_func innocuous_$ac_func
38381
38382 /* System header to define __stub macros and hopefully few prototypes,
38383     which can conflict with char $ac_func (); below.
38384     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38385     <limits.h> exists even on freestanding compilers.  */
38386
38387 #ifdef __STDC__
38388 # include <limits.h>
38389 #else
38390 # include <assert.h>
38391 #endif
38392
38393 #undef $ac_func
38394
38395 /* Override any gcc2 internal prototype to avoid an error.  */
38396 #ifdef __cplusplus
38397 extern "C"
38398 {
38399 #endif
38400 /* We use char because int might match the return type of a gcc2
38401    builtin and then its argument prototype would still apply.  */
38402 char $ac_func ();
38403 /* The GNU C library defines this for functions which it implements
38404     to always fail with ENOSYS.  Some functions are actually named
38405     something starting with __ and the normal name is an alias.  */
38406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38407 choke me
38408 #else
38409 char (*f) () = $ac_func;
38410 #endif
38411 #ifdef __cplusplus
38412 }
38413 #endif
38414
38415 int
38416 main ()
38417 {
38418 return f != $ac_func;
38419   ;
38420   return 0;
38421 }
38422 _ACEOF
38423 rm -f conftest.$ac_objext conftest$ac_exeext
38424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38425   (eval $ac_link) 2>conftest.er1
38426   ac_status=$?
38427   grep -v '^ *+' conftest.er1 >conftest.err
38428   rm -f conftest.er1
38429   cat conftest.err >&5
38430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38431   (exit $ac_status); } &&
38432          { ac_try='test -z "$ac_c_werror_flag"
38433                          || test ! -s conftest.err'
38434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38435   (eval $ac_try) 2>&5
38436   ac_status=$?
38437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38438   (exit $ac_status); }; } &&
38439          { ac_try='test -s conftest$ac_exeext'
38440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38441   (eval $ac_try) 2>&5
38442   ac_status=$?
38443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38444   (exit $ac_status); }; }; then
38445   eval "$as_ac_var=yes"
38446 else
38447   echo "$as_me: failed program was:" >&5
38448 sed 's/^/| /' conftest.$ac_ext >&5
38449
38450 eval "$as_ac_var=no"
38451 fi
38452 rm -f conftest.err conftest.$ac_objext \
38453       conftest$ac_exeext conftest.$ac_ext
38454 fi
38455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38457 if test `eval echo '${'$as_ac_var'}'` = yes; then
38458   cat >>confdefs.h <<_ACEOF
38459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38460 _ACEOF
38461
38462 fi
38463 done
38464
38465   else
38466
38467   echo "$as_me:$LINENO: checking for _logf declaration" >&5
38468 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
38469   if test x${glibcxx_cv_func__logf_use+set} != xset; then
38470     if test "${glibcxx_cv_func__logf_use+set}" = set; then
38471   echo $ECHO_N "(cached) $ECHO_C" >&6
38472 else
38473
38474
38475
38476       ac_ext=cc
38477 ac_cpp='$CXXCPP $CPPFLAGS'
38478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38481
38482       cat >conftest.$ac_ext <<_ACEOF
38483 /* confdefs.h.  */
38484 _ACEOF
38485 cat confdefs.h >>conftest.$ac_ext
38486 cat >>conftest.$ac_ext <<_ACEOF
38487 /* end confdefs.h.  */
38488 #include <math.h>
38489                       #ifdef HAVE_IEEEFP_H
38490                       #include <ieeefp.h>
38491                       #endif
38492
38493 int
38494 main ()
38495 {
38496  _logf(0);
38497   ;
38498   return 0;
38499 }
38500 _ACEOF
38501 rm -f conftest.$ac_objext
38502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38503   (eval $ac_compile) 2>conftest.er1
38504   ac_status=$?
38505   grep -v '^ *+' conftest.er1 >conftest.err
38506   rm -f conftest.er1
38507   cat conftest.err >&5
38508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38509   (exit $ac_status); } &&
38510          { ac_try='test -z "$ac_cxx_werror_flag"
38511                          || test ! -s conftest.err'
38512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38513   (eval $ac_try) 2>&5
38514   ac_status=$?
38515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38516   (exit $ac_status); }; } &&
38517          { ac_try='test -s conftest.$ac_objext'
38518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38519   (eval $ac_try) 2>&5
38520   ac_status=$?
38521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38522   (exit $ac_status); }; }; then
38523   glibcxx_cv_func__logf_use=yes
38524 else
38525   echo "$as_me: failed program was:" >&5
38526 sed 's/^/| /' conftest.$ac_ext >&5
38527
38528 glibcxx_cv_func__logf_use=no
38529 fi
38530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38531       ac_ext=c
38532 ac_cpp='$CPP $CPPFLAGS'
38533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38536
38537
38538 fi
38539
38540   fi
38541   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
38542 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
38543
38544     if test x$glibcxx_cv_func__logf_use = x"yes"; then
38545
38546 for ac_func in _logf
38547 do
38548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38549 echo "$as_me:$LINENO: checking for $ac_func" >&5
38550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38551 if eval "test \"\${$as_ac_var+set}\" = set"; then
38552   echo $ECHO_N "(cached) $ECHO_C" >&6
38553 else
38554   if test x$gcc_no_link = xyes; then
38555   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38557    { (exit 1); exit 1; }; }
38558 fi
38559 cat >conftest.$ac_ext <<_ACEOF
38560 /* confdefs.h.  */
38561 _ACEOF
38562 cat confdefs.h >>conftest.$ac_ext
38563 cat >>conftest.$ac_ext <<_ACEOF
38564 /* end confdefs.h.  */
38565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38566    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38567 #define $ac_func innocuous_$ac_func
38568
38569 /* System header to define __stub macros and hopefully few prototypes,
38570     which can conflict with char $ac_func (); below.
38571     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38572     <limits.h> exists even on freestanding compilers.  */
38573
38574 #ifdef __STDC__
38575 # include <limits.h>
38576 #else
38577 # include <assert.h>
38578 #endif
38579
38580 #undef $ac_func
38581
38582 /* Override any gcc2 internal prototype to avoid an error.  */
38583 #ifdef __cplusplus
38584 extern "C"
38585 {
38586 #endif
38587 /* We use char because int might match the return type of a gcc2
38588    builtin and then its argument prototype would still apply.  */
38589 char $ac_func ();
38590 /* The GNU C library defines this for functions which it implements
38591     to always fail with ENOSYS.  Some functions are actually named
38592     something starting with __ and the normal name is an alias.  */
38593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38594 choke me
38595 #else
38596 char (*f) () = $ac_func;
38597 #endif
38598 #ifdef __cplusplus
38599 }
38600 #endif
38601
38602 int
38603 main ()
38604 {
38605 return f != $ac_func;
38606   ;
38607   return 0;
38608 }
38609 _ACEOF
38610 rm -f conftest.$ac_objext conftest$ac_exeext
38611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38612   (eval $ac_link) 2>conftest.er1
38613   ac_status=$?
38614   grep -v '^ *+' conftest.er1 >conftest.err
38615   rm -f conftest.er1
38616   cat conftest.err >&5
38617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38618   (exit $ac_status); } &&
38619          { ac_try='test -z "$ac_c_werror_flag"
38620                          || test ! -s conftest.err'
38621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38622   (eval $ac_try) 2>&5
38623   ac_status=$?
38624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38625   (exit $ac_status); }; } &&
38626          { ac_try='test -s conftest$ac_exeext'
38627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38628   (eval $ac_try) 2>&5
38629   ac_status=$?
38630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38631   (exit $ac_status); }; }; then
38632   eval "$as_ac_var=yes"
38633 else
38634   echo "$as_me: failed program was:" >&5
38635 sed 's/^/| /' conftest.$ac_ext >&5
38636
38637 eval "$as_ac_var=no"
38638 fi
38639 rm -f conftest.err conftest.$ac_objext \
38640       conftest$ac_exeext conftest.$ac_ext
38641 fi
38642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38644 if test `eval echo '${'$as_ac_var'}'` = yes; then
38645   cat >>confdefs.h <<_ACEOF
38646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38647 _ACEOF
38648
38649 fi
38650 done
38651
38652     fi
38653   fi
38654
38655
38656
38657
38658
38659
38660   echo "$as_me:$LINENO: checking for log10f declaration" >&5
38661 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
38662   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38663     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
38664   echo $ECHO_N "(cached) $ECHO_C" >&6
38665 else
38666
38667
38668
38669       ac_ext=cc
38670 ac_cpp='$CXXCPP $CPPFLAGS'
38671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38674
38675       cat >conftest.$ac_ext <<_ACEOF
38676 /* confdefs.h.  */
38677 _ACEOF
38678 cat confdefs.h >>conftest.$ac_ext
38679 cat >>conftest.$ac_ext <<_ACEOF
38680 /* end confdefs.h.  */
38681 #include <math.h>
38682                       #ifdef HAVE_IEEEFP_H
38683                       #include <ieeefp.h>
38684                       #endif
38685
38686 int
38687 main ()
38688 {
38689  log10f(0);
38690   ;
38691   return 0;
38692 }
38693 _ACEOF
38694 rm -f conftest.$ac_objext
38695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38696   (eval $ac_compile) 2>conftest.er1
38697   ac_status=$?
38698   grep -v '^ *+' conftest.er1 >conftest.err
38699   rm -f conftest.er1
38700   cat conftest.err >&5
38701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38702   (exit $ac_status); } &&
38703          { ac_try='test -z "$ac_cxx_werror_flag"
38704                          || test ! -s conftest.err'
38705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38706   (eval $ac_try) 2>&5
38707   ac_status=$?
38708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38709   (exit $ac_status); }; } &&
38710          { ac_try='test -s conftest.$ac_objext'
38711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38712   (eval $ac_try) 2>&5
38713   ac_status=$?
38714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38715   (exit $ac_status); }; }; then
38716   glibcxx_cv_func_log10f_use=yes
38717 else
38718   echo "$as_me: failed program was:" >&5
38719 sed 's/^/| /' conftest.$ac_ext >&5
38720
38721 glibcxx_cv_func_log10f_use=no
38722 fi
38723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38724       ac_ext=c
38725 ac_cpp='$CPP $CPPFLAGS'
38726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38729
38730
38731 fi
38732
38733   fi
38734   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
38735 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
38736
38737   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38738
38739 for ac_func in log10f
38740 do
38741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38742 echo "$as_me:$LINENO: checking for $ac_func" >&5
38743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38744 if eval "test \"\${$as_ac_var+set}\" = set"; then
38745   echo $ECHO_N "(cached) $ECHO_C" >&6
38746 else
38747   if test x$gcc_no_link = xyes; then
38748   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38750    { (exit 1); exit 1; }; }
38751 fi
38752 cat >conftest.$ac_ext <<_ACEOF
38753 /* confdefs.h.  */
38754 _ACEOF
38755 cat confdefs.h >>conftest.$ac_ext
38756 cat >>conftest.$ac_ext <<_ACEOF
38757 /* end confdefs.h.  */
38758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38759    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38760 #define $ac_func innocuous_$ac_func
38761
38762 /* System header to define __stub macros and hopefully few prototypes,
38763     which can conflict with char $ac_func (); below.
38764     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38765     <limits.h> exists even on freestanding compilers.  */
38766
38767 #ifdef __STDC__
38768 # include <limits.h>
38769 #else
38770 # include <assert.h>
38771 #endif
38772
38773 #undef $ac_func
38774
38775 /* Override any gcc2 internal prototype to avoid an error.  */
38776 #ifdef __cplusplus
38777 extern "C"
38778 {
38779 #endif
38780 /* We use char because int might match the return type of a gcc2
38781    builtin and then its argument prototype would still apply.  */
38782 char $ac_func ();
38783 /* The GNU C library defines this for functions which it implements
38784     to always fail with ENOSYS.  Some functions are actually named
38785     something starting with __ and the normal name is an alias.  */
38786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38787 choke me
38788 #else
38789 char (*f) () = $ac_func;
38790 #endif
38791 #ifdef __cplusplus
38792 }
38793 #endif
38794
38795 int
38796 main ()
38797 {
38798 return f != $ac_func;
38799   ;
38800   return 0;
38801 }
38802 _ACEOF
38803 rm -f conftest.$ac_objext conftest$ac_exeext
38804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38805   (eval $ac_link) 2>conftest.er1
38806   ac_status=$?
38807   grep -v '^ *+' conftest.er1 >conftest.err
38808   rm -f conftest.er1
38809   cat conftest.err >&5
38810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38811   (exit $ac_status); } &&
38812          { ac_try='test -z "$ac_c_werror_flag"
38813                          || test ! -s conftest.err'
38814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38815   (eval $ac_try) 2>&5
38816   ac_status=$?
38817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38818   (exit $ac_status); }; } &&
38819          { ac_try='test -s conftest$ac_exeext'
38820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38821   (eval $ac_try) 2>&5
38822   ac_status=$?
38823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38824   (exit $ac_status); }; }; then
38825   eval "$as_ac_var=yes"
38826 else
38827   echo "$as_me: failed program was:" >&5
38828 sed 's/^/| /' conftest.$ac_ext >&5
38829
38830 eval "$as_ac_var=no"
38831 fi
38832 rm -f conftest.err conftest.$ac_objext \
38833       conftest$ac_exeext conftest.$ac_ext
38834 fi
38835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38837 if test `eval echo '${'$as_ac_var'}'` = yes; then
38838   cat >>confdefs.h <<_ACEOF
38839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38840 _ACEOF
38841
38842 fi
38843 done
38844
38845   else
38846
38847   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
38848 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
38849   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38850     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
38851   echo $ECHO_N "(cached) $ECHO_C" >&6
38852 else
38853
38854
38855
38856       ac_ext=cc
38857 ac_cpp='$CXXCPP $CPPFLAGS'
38858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38861
38862       cat >conftest.$ac_ext <<_ACEOF
38863 /* confdefs.h.  */
38864 _ACEOF
38865 cat confdefs.h >>conftest.$ac_ext
38866 cat >>conftest.$ac_ext <<_ACEOF
38867 /* end confdefs.h.  */
38868 #include <math.h>
38869                       #ifdef HAVE_IEEEFP_H
38870                       #include <ieeefp.h>
38871                       #endif
38872
38873 int
38874 main ()
38875 {
38876  _log10f(0);
38877   ;
38878   return 0;
38879 }
38880 _ACEOF
38881 rm -f conftest.$ac_objext
38882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38883   (eval $ac_compile) 2>conftest.er1
38884   ac_status=$?
38885   grep -v '^ *+' conftest.er1 >conftest.err
38886   rm -f conftest.er1
38887   cat conftest.err >&5
38888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38889   (exit $ac_status); } &&
38890          { ac_try='test -z "$ac_cxx_werror_flag"
38891                          || test ! -s conftest.err'
38892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38893   (eval $ac_try) 2>&5
38894   ac_status=$?
38895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38896   (exit $ac_status); }; } &&
38897          { ac_try='test -s conftest.$ac_objext'
38898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38899   (eval $ac_try) 2>&5
38900   ac_status=$?
38901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38902   (exit $ac_status); }; }; then
38903   glibcxx_cv_func__log10f_use=yes
38904 else
38905   echo "$as_me: failed program was:" >&5
38906 sed 's/^/| /' conftest.$ac_ext >&5
38907
38908 glibcxx_cv_func__log10f_use=no
38909 fi
38910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38911       ac_ext=c
38912 ac_cpp='$CPP $CPPFLAGS'
38913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38916
38917
38918 fi
38919
38920   fi
38921   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
38922 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
38923
38924     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38925
38926 for ac_func in _log10f
38927 do
38928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38929 echo "$as_me:$LINENO: checking for $ac_func" >&5
38930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38931 if eval "test \"\${$as_ac_var+set}\" = set"; then
38932   echo $ECHO_N "(cached) $ECHO_C" >&6
38933 else
38934   if test x$gcc_no_link = xyes; then
38935   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38937    { (exit 1); exit 1; }; }
38938 fi
38939 cat >conftest.$ac_ext <<_ACEOF
38940 /* confdefs.h.  */
38941 _ACEOF
38942 cat confdefs.h >>conftest.$ac_ext
38943 cat >>conftest.$ac_ext <<_ACEOF
38944 /* end confdefs.h.  */
38945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38946    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38947 #define $ac_func innocuous_$ac_func
38948
38949 /* System header to define __stub macros and hopefully few prototypes,
38950     which can conflict with char $ac_func (); below.
38951     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38952     <limits.h> exists even on freestanding compilers.  */
38953
38954 #ifdef __STDC__
38955 # include <limits.h>
38956 #else
38957 # include <assert.h>
38958 #endif
38959
38960 #undef $ac_func
38961
38962 /* Override any gcc2 internal prototype to avoid an error.  */
38963 #ifdef __cplusplus
38964 extern "C"
38965 {
38966 #endif
38967 /* We use char because int might match the return type of a gcc2
38968    builtin and then its argument prototype would still apply.  */
38969 char $ac_func ();
38970 /* The GNU C library defines this for functions which it implements
38971     to always fail with ENOSYS.  Some functions are actually named
38972     something starting with __ and the normal name is an alias.  */
38973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38974 choke me
38975 #else
38976 char (*f) () = $ac_func;
38977 #endif
38978 #ifdef __cplusplus
38979 }
38980 #endif
38981
38982 int
38983 main ()
38984 {
38985 return f != $ac_func;
38986   ;
38987   return 0;
38988 }
38989 _ACEOF
38990 rm -f conftest.$ac_objext conftest$ac_exeext
38991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38992   (eval $ac_link) 2>conftest.er1
38993   ac_status=$?
38994   grep -v '^ *+' conftest.er1 >conftest.err
38995   rm -f conftest.er1
38996   cat conftest.err >&5
38997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38998   (exit $ac_status); } &&
38999          { ac_try='test -z "$ac_c_werror_flag"
39000                          || test ! -s conftest.err'
39001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39002   (eval $ac_try) 2>&5
39003   ac_status=$?
39004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39005   (exit $ac_status); }; } &&
39006          { ac_try='test -s conftest$ac_exeext'
39007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39008   (eval $ac_try) 2>&5
39009   ac_status=$?
39010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39011   (exit $ac_status); }; }; then
39012   eval "$as_ac_var=yes"
39013 else
39014   echo "$as_me: failed program was:" >&5
39015 sed 's/^/| /' conftest.$ac_ext >&5
39016
39017 eval "$as_ac_var=no"
39018 fi
39019 rm -f conftest.err conftest.$ac_objext \
39020       conftest$ac_exeext conftest.$ac_ext
39021 fi
39022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39024 if test `eval echo '${'$as_ac_var'}'` = yes; then
39025   cat >>confdefs.h <<_ACEOF
39026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39027 _ACEOF
39028
39029 fi
39030 done
39031
39032     fi
39033   fi
39034
39035
39036
39037
39038
39039
39040   echo "$as_me:$LINENO: checking for modff declaration" >&5
39041 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
39042   if test x${glibcxx_cv_func_modff_use+set} != xset; then
39043     if test "${glibcxx_cv_func_modff_use+set}" = set; then
39044   echo $ECHO_N "(cached) $ECHO_C" >&6
39045 else
39046
39047
39048
39049       ac_ext=cc
39050 ac_cpp='$CXXCPP $CPPFLAGS'
39051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39054
39055       cat >conftest.$ac_ext <<_ACEOF
39056 /* confdefs.h.  */
39057 _ACEOF
39058 cat confdefs.h >>conftest.$ac_ext
39059 cat >>conftest.$ac_ext <<_ACEOF
39060 /* end confdefs.h.  */
39061 #include <math.h>
39062 int
39063 main ()
39064 {
39065  modff(0, 0);
39066   ;
39067   return 0;
39068 }
39069 _ACEOF
39070 rm -f conftest.$ac_objext
39071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39072   (eval $ac_compile) 2>conftest.er1
39073   ac_status=$?
39074   grep -v '^ *+' conftest.er1 >conftest.err
39075   rm -f conftest.er1
39076   cat conftest.err >&5
39077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39078   (exit $ac_status); } &&
39079          { ac_try='test -z "$ac_cxx_werror_flag"
39080                          || test ! -s conftest.err'
39081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39082   (eval $ac_try) 2>&5
39083   ac_status=$?
39084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39085   (exit $ac_status); }; } &&
39086          { ac_try='test -s conftest.$ac_objext'
39087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39088   (eval $ac_try) 2>&5
39089   ac_status=$?
39090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39091   (exit $ac_status); }; }; then
39092   glibcxx_cv_func_modff_use=yes
39093 else
39094   echo "$as_me: failed program was:" >&5
39095 sed 's/^/| /' conftest.$ac_ext >&5
39096
39097 glibcxx_cv_func_modff_use=no
39098 fi
39099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39100       ac_ext=c
39101 ac_cpp='$CPP $CPPFLAGS'
39102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39105
39106
39107 fi
39108
39109   fi
39110   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
39111 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
39112
39113   if test x$glibcxx_cv_func_modff_use = x"yes"; then
39114
39115 for ac_func in modff
39116 do
39117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39118 echo "$as_me:$LINENO: checking for $ac_func" >&5
39119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39120 if eval "test \"\${$as_ac_var+set}\" = set"; then
39121   echo $ECHO_N "(cached) $ECHO_C" >&6
39122 else
39123   if test x$gcc_no_link = xyes; then
39124   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39126    { (exit 1); exit 1; }; }
39127 fi
39128 cat >conftest.$ac_ext <<_ACEOF
39129 /* confdefs.h.  */
39130 _ACEOF
39131 cat confdefs.h >>conftest.$ac_ext
39132 cat >>conftest.$ac_ext <<_ACEOF
39133 /* end confdefs.h.  */
39134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39135    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39136 #define $ac_func innocuous_$ac_func
39137
39138 /* System header to define __stub macros and hopefully few prototypes,
39139     which can conflict with char $ac_func (); below.
39140     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39141     <limits.h> exists even on freestanding compilers.  */
39142
39143 #ifdef __STDC__
39144 # include <limits.h>
39145 #else
39146 # include <assert.h>
39147 #endif
39148
39149 #undef $ac_func
39150
39151 /* Override any gcc2 internal prototype to avoid an error.  */
39152 #ifdef __cplusplus
39153 extern "C"
39154 {
39155 #endif
39156 /* We use char because int might match the return type of a gcc2
39157    builtin and then its argument prototype would still apply.  */
39158 char $ac_func ();
39159 /* The GNU C library defines this for functions which it implements
39160     to always fail with ENOSYS.  Some functions are actually named
39161     something starting with __ and the normal name is an alias.  */
39162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39163 choke me
39164 #else
39165 char (*f) () = $ac_func;
39166 #endif
39167 #ifdef __cplusplus
39168 }
39169 #endif
39170
39171 int
39172 main ()
39173 {
39174 return f != $ac_func;
39175   ;
39176   return 0;
39177 }
39178 _ACEOF
39179 rm -f conftest.$ac_objext conftest$ac_exeext
39180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39181   (eval $ac_link) 2>conftest.er1
39182   ac_status=$?
39183   grep -v '^ *+' conftest.er1 >conftest.err
39184   rm -f conftest.er1
39185   cat conftest.err >&5
39186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39187   (exit $ac_status); } &&
39188          { ac_try='test -z "$ac_c_werror_flag"
39189                          || test ! -s conftest.err'
39190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39191   (eval $ac_try) 2>&5
39192   ac_status=$?
39193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39194   (exit $ac_status); }; } &&
39195          { ac_try='test -s conftest$ac_exeext'
39196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39197   (eval $ac_try) 2>&5
39198   ac_status=$?
39199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39200   (exit $ac_status); }; }; then
39201   eval "$as_ac_var=yes"
39202 else
39203   echo "$as_me: failed program was:" >&5
39204 sed 's/^/| /' conftest.$ac_ext >&5
39205
39206 eval "$as_ac_var=no"
39207 fi
39208 rm -f conftest.err conftest.$ac_objext \
39209       conftest$ac_exeext conftest.$ac_ext
39210 fi
39211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39213 if test `eval echo '${'$as_ac_var'}'` = yes; then
39214   cat >>confdefs.h <<_ACEOF
39215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39216 _ACEOF
39217
39218 fi
39219 done
39220
39221   else
39222
39223   echo "$as_me:$LINENO: checking for _modff declaration" >&5
39224 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
39225   if test x${glibcxx_cv_func__modff_use+set} != xset; then
39226     if test "${glibcxx_cv_func__modff_use+set}" = set; then
39227   echo $ECHO_N "(cached) $ECHO_C" >&6
39228 else
39229
39230
39231
39232       ac_ext=cc
39233 ac_cpp='$CXXCPP $CPPFLAGS'
39234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39237
39238       cat >conftest.$ac_ext <<_ACEOF
39239 /* confdefs.h.  */
39240 _ACEOF
39241 cat confdefs.h >>conftest.$ac_ext
39242 cat >>conftest.$ac_ext <<_ACEOF
39243 /* end confdefs.h.  */
39244 #include <math.h>
39245 int
39246 main ()
39247 {
39248  _modff(0, 0);
39249   ;
39250   return 0;
39251 }
39252 _ACEOF
39253 rm -f conftest.$ac_objext
39254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39255   (eval $ac_compile) 2>conftest.er1
39256   ac_status=$?
39257   grep -v '^ *+' conftest.er1 >conftest.err
39258   rm -f conftest.er1
39259   cat conftest.err >&5
39260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39261   (exit $ac_status); } &&
39262          { ac_try='test -z "$ac_cxx_werror_flag"
39263                          || test ! -s conftest.err'
39264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39265   (eval $ac_try) 2>&5
39266   ac_status=$?
39267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39268   (exit $ac_status); }; } &&
39269          { ac_try='test -s conftest.$ac_objext'
39270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39271   (eval $ac_try) 2>&5
39272   ac_status=$?
39273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39274   (exit $ac_status); }; }; then
39275   glibcxx_cv_func__modff_use=yes
39276 else
39277   echo "$as_me: failed program was:" >&5
39278 sed 's/^/| /' conftest.$ac_ext >&5
39279
39280 glibcxx_cv_func__modff_use=no
39281 fi
39282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39283       ac_ext=c
39284 ac_cpp='$CPP $CPPFLAGS'
39285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39288
39289
39290 fi
39291
39292   fi
39293   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
39294 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
39295
39296     if test x$glibcxx_cv_func__modff_use = x"yes"; then
39297
39298 for ac_func in _modff
39299 do
39300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39301 echo "$as_me:$LINENO: checking for $ac_func" >&5
39302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39303 if eval "test \"\${$as_ac_var+set}\" = set"; then
39304   echo $ECHO_N "(cached) $ECHO_C" >&6
39305 else
39306   if test x$gcc_no_link = xyes; then
39307   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39309    { (exit 1); exit 1; }; }
39310 fi
39311 cat >conftest.$ac_ext <<_ACEOF
39312 /* confdefs.h.  */
39313 _ACEOF
39314 cat confdefs.h >>conftest.$ac_ext
39315 cat >>conftest.$ac_ext <<_ACEOF
39316 /* end confdefs.h.  */
39317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39318    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39319 #define $ac_func innocuous_$ac_func
39320
39321 /* System header to define __stub macros and hopefully few prototypes,
39322     which can conflict with char $ac_func (); below.
39323     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39324     <limits.h> exists even on freestanding compilers.  */
39325
39326 #ifdef __STDC__
39327 # include <limits.h>
39328 #else
39329 # include <assert.h>
39330 #endif
39331
39332 #undef $ac_func
39333
39334 /* Override any gcc2 internal prototype to avoid an error.  */
39335 #ifdef __cplusplus
39336 extern "C"
39337 {
39338 #endif
39339 /* We use char because int might match the return type of a gcc2
39340    builtin and then its argument prototype would still apply.  */
39341 char $ac_func ();
39342 /* The GNU C library defines this for functions which it implements
39343     to always fail with ENOSYS.  Some functions are actually named
39344     something starting with __ and the normal name is an alias.  */
39345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39346 choke me
39347 #else
39348 char (*f) () = $ac_func;
39349 #endif
39350 #ifdef __cplusplus
39351 }
39352 #endif
39353
39354 int
39355 main ()
39356 {
39357 return f != $ac_func;
39358   ;
39359   return 0;
39360 }
39361 _ACEOF
39362 rm -f conftest.$ac_objext conftest$ac_exeext
39363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39364   (eval $ac_link) 2>conftest.er1
39365   ac_status=$?
39366   grep -v '^ *+' conftest.er1 >conftest.err
39367   rm -f conftest.er1
39368   cat conftest.err >&5
39369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39370   (exit $ac_status); } &&
39371          { ac_try='test -z "$ac_c_werror_flag"
39372                          || test ! -s conftest.err'
39373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39374   (eval $ac_try) 2>&5
39375   ac_status=$?
39376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39377   (exit $ac_status); }; } &&
39378          { ac_try='test -s conftest$ac_exeext'
39379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39380   (eval $ac_try) 2>&5
39381   ac_status=$?
39382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39383   (exit $ac_status); }; }; then
39384   eval "$as_ac_var=yes"
39385 else
39386   echo "$as_me: failed program was:" >&5
39387 sed 's/^/| /' conftest.$ac_ext >&5
39388
39389 eval "$as_ac_var=no"
39390 fi
39391 rm -f conftest.err conftest.$ac_objext \
39392       conftest$ac_exeext conftest.$ac_ext
39393 fi
39394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39396 if test `eval echo '${'$as_ac_var'}'` = yes; then
39397   cat >>confdefs.h <<_ACEOF
39398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39399 _ACEOF
39400
39401 fi
39402 done
39403
39404     fi
39405   fi
39406
39407
39408
39409
39410
39411
39412   echo "$as_me:$LINENO: checking for modf declaration" >&5
39413 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
39414   if test x${glibcxx_cv_func_modf_use+set} != xset; then
39415     if test "${glibcxx_cv_func_modf_use+set}" = set; then
39416   echo $ECHO_N "(cached) $ECHO_C" >&6
39417 else
39418
39419
39420
39421       ac_ext=cc
39422 ac_cpp='$CXXCPP $CPPFLAGS'
39423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39426
39427       cat >conftest.$ac_ext <<_ACEOF
39428 /* confdefs.h.  */
39429 _ACEOF
39430 cat confdefs.h >>conftest.$ac_ext
39431 cat >>conftest.$ac_ext <<_ACEOF
39432 /* end confdefs.h.  */
39433 #include <math.h>
39434 int
39435 main ()
39436 {
39437  modf(0, 0);
39438   ;
39439   return 0;
39440 }
39441 _ACEOF
39442 rm -f conftest.$ac_objext
39443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39444   (eval $ac_compile) 2>conftest.er1
39445   ac_status=$?
39446   grep -v '^ *+' conftest.er1 >conftest.err
39447   rm -f conftest.er1
39448   cat conftest.err >&5
39449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39450   (exit $ac_status); } &&
39451          { ac_try='test -z "$ac_cxx_werror_flag"
39452                          || test ! -s conftest.err'
39453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39454   (eval $ac_try) 2>&5
39455   ac_status=$?
39456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39457   (exit $ac_status); }; } &&
39458          { ac_try='test -s conftest.$ac_objext'
39459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39460   (eval $ac_try) 2>&5
39461   ac_status=$?
39462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39463   (exit $ac_status); }; }; then
39464   glibcxx_cv_func_modf_use=yes
39465 else
39466   echo "$as_me: failed program was:" >&5
39467 sed 's/^/| /' conftest.$ac_ext >&5
39468
39469 glibcxx_cv_func_modf_use=no
39470 fi
39471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39472       ac_ext=c
39473 ac_cpp='$CPP $CPPFLAGS'
39474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39477
39478
39479 fi
39480
39481   fi
39482   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
39483 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
39484
39485   if test x$glibcxx_cv_func_modf_use = x"yes"; then
39486
39487 for ac_func in modf
39488 do
39489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39490 echo "$as_me:$LINENO: checking for $ac_func" >&5
39491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39492 if eval "test \"\${$as_ac_var+set}\" = set"; then
39493   echo $ECHO_N "(cached) $ECHO_C" >&6
39494 else
39495   if test x$gcc_no_link = xyes; then
39496   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39498    { (exit 1); exit 1; }; }
39499 fi
39500 cat >conftest.$ac_ext <<_ACEOF
39501 /* confdefs.h.  */
39502 _ACEOF
39503 cat confdefs.h >>conftest.$ac_ext
39504 cat >>conftest.$ac_ext <<_ACEOF
39505 /* end confdefs.h.  */
39506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39507    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39508 #define $ac_func innocuous_$ac_func
39509
39510 /* System header to define __stub macros and hopefully few prototypes,
39511     which can conflict with char $ac_func (); below.
39512     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39513     <limits.h> exists even on freestanding compilers.  */
39514
39515 #ifdef __STDC__
39516 # include <limits.h>
39517 #else
39518 # include <assert.h>
39519 #endif
39520
39521 #undef $ac_func
39522
39523 /* Override any gcc2 internal prototype to avoid an error.  */
39524 #ifdef __cplusplus
39525 extern "C"
39526 {
39527 #endif
39528 /* We use char because int might match the return type of a gcc2
39529    builtin and then its argument prototype would still apply.  */
39530 char $ac_func ();
39531 /* The GNU C library defines this for functions which it implements
39532     to always fail with ENOSYS.  Some functions are actually named
39533     something starting with __ and the normal name is an alias.  */
39534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39535 choke me
39536 #else
39537 char (*f) () = $ac_func;
39538 #endif
39539 #ifdef __cplusplus
39540 }
39541 #endif
39542
39543 int
39544 main ()
39545 {
39546 return f != $ac_func;
39547   ;
39548   return 0;
39549 }
39550 _ACEOF
39551 rm -f conftest.$ac_objext conftest$ac_exeext
39552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39553   (eval $ac_link) 2>conftest.er1
39554   ac_status=$?
39555   grep -v '^ *+' conftest.er1 >conftest.err
39556   rm -f conftest.er1
39557   cat conftest.err >&5
39558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39559   (exit $ac_status); } &&
39560          { ac_try='test -z "$ac_c_werror_flag"
39561                          || test ! -s conftest.err'
39562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39563   (eval $ac_try) 2>&5
39564   ac_status=$?
39565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39566   (exit $ac_status); }; } &&
39567          { ac_try='test -s conftest$ac_exeext'
39568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39569   (eval $ac_try) 2>&5
39570   ac_status=$?
39571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39572   (exit $ac_status); }; }; then
39573   eval "$as_ac_var=yes"
39574 else
39575   echo "$as_me: failed program was:" >&5
39576 sed 's/^/| /' conftest.$ac_ext >&5
39577
39578 eval "$as_ac_var=no"
39579 fi
39580 rm -f conftest.err conftest.$ac_objext \
39581       conftest$ac_exeext conftest.$ac_ext
39582 fi
39583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39585 if test `eval echo '${'$as_ac_var'}'` = yes; then
39586   cat >>confdefs.h <<_ACEOF
39587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39588 _ACEOF
39589
39590 fi
39591 done
39592
39593   else
39594
39595   echo "$as_me:$LINENO: checking for _modf declaration" >&5
39596 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
39597   if test x${glibcxx_cv_func__modf_use+set} != xset; then
39598     if test "${glibcxx_cv_func__modf_use+set}" = set; then
39599   echo $ECHO_N "(cached) $ECHO_C" >&6
39600 else
39601
39602
39603
39604       ac_ext=cc
39605 ac_cpp='$CXXCPP $CPPFLAGS'
39606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39609
39610       cat >conftest.$ac_ext <<_ACEOF
39611 /* confdefs.h.  */
39612 _ACEOF
39613 cat confdefs.h >>conftest.$ac_ext
39614 cat >>conftest.$ac_ext <<_ACEOF
39615 /* end confdefs.h.  */
39616 #include <math.h>
39617 int
39618 main ()
39619 {
39620  _modf(0, 0);
39621   ;
39622   return 0;
39623 }
39624 _ACEOF
39625 rm -f conftest.$ac_objext
39626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39627   (eval $ac_compile) 2>conftest.er1
39628   ac_status=$?
39629   grep -v '^ *+' conftest.er1 >conftest.err
39630   rm -f conftest.er1
39631   cat conftest.err >&5
39632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39633   (exit $ac_status); } &&
39634          { ac_try='test -z "$ac_cxx_werror_flag"
39635                          || test ! -s conftest.err'
39636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39637   (eval $ac_try) 2>&5
39638   ac_status=$?
39639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39640   (exit $ac_status); }; } &&
39641          { ac_try='test -s conftest.$ac_objext'
39642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39643   (eval $ac_try) 2>&5
39644   ac_status=$?
39645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39646   (exit $ac_status); }; }; then
39647   glibcxx_cv_func__modf_use=yes
39648 else
39649   echo "$as_me: failed program was:" >&5
39650 sed 's/^/| /' conftest.$ac_ext >&5
39651
39652 glibcxx_cv_func__modf_use=no
39653 fi
39654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39655       ac_ext=c
39656 ac_cpp='$CPP $CPPFLAGS'
39657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39660
39661
39662 fi
39663
39664   fi
39665   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
39666 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
39667
39668     if test x$glibcxx_cv_func__modf_use = x"yes"; then
39669
39670 for ac_func in _modf
39671 do
39672 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39673 echo "$as_me:$LINENO: checking for $ac_func" >&5
39674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39675 if eval "test \"\${$as_ac_var+set}\" = set"; then
39676   echo $ECHO_N "(cached) $ECHO_C" >&6
39677 else
39678   if test x$gcc_no_link = xyes; then
39679   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39681    { (exit 1); exit 1; }; }
39682 fi
39683 cat >conftest.$ac_ext <<_ACEOF
39684 /* confdefs.h.  */
39685 _ACEOF
39686 cat confdefs.h >>conftest.$ac_ext
39687 cat >>conftest.$ac_ext <<_ACEOF
39688 /* end confdefs.h.  */
39689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39690    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39691 #define $ac_func innocuous_$ac_func
39692
39693 /* System header to define __stub macros and hopefully few prototypes,
39694     which can conflict with char $ac_func (); below.
39695     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39696     <limits.h> exists even on freestanding compilers.  */
39697
39698 #ifdef __STDC__
39699 # include <limits.h>
39700 #else
39701 # include <assert.h>
39702 #endif
39703
39704 #undef $ac_func
39705
39706 /* Override any gcc2 internal prototype to avoid an error.  */
39707 #ifdef __cplusplus
39708 extern "C"
39709 {
39710 #endif
39711 /* We use char because int might match the return type of a gcc2
39712    builtin and then its argument prototype would still apply.  */
39713 char $ac_func ();
39714 /* The GNU C library defines this for functions which it implements
39715     to always fail with ENOSYS.  Some functions are actually named
39716     something starting with __ and the normal name is an alias.  */
39717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39718 choke me
39719 #else
39720 char (*f) () = $ac_func;
39721 #endif
39722 #ifdef __cplusplus
39723 }
39724 #endif
39725
39726 int
39727 main ()
39728 {
39729 return f != $ac_func;
39730   ;
39731   return 0;
39732 }
39733 _ACEOF
39734 rm -f conftest.$ac_objext conftest$ac_exeext
39735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39736   (eval $ac_link) 2>conftest.er1
39737   ac_status=$?
39738   grep -v '^ *+' conftest.er1 >conftest.err
39739   rm -f conftest.er1
39740   cat conftest.err >&5
39741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39742   (exit $ac_status); } &&
39743          { ac_try='test -z "$ac_c_werror_flag"
39744                          || test ! -s conftest.err'
39745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39746   (eval $ac_try) 2>&5
39747   ac_status=$?
39748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39749   (exit $ac_status); }; } &&
39750          { ac_try='test -s conftest$ac_exeext'
39751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39752   (eval $ac_try) 2>&5
39753   ac_status=$?
39754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39755   (exit $ac_status); }; }; then
39756   eval "$as_ac_var=yes"
39757 else
39758   echo "$as_me: failed program was:" >&5
39759 sed 's/^/| /' conftest.$ac_ext >&5
39760
39761 eval "$as_ac_var=no"
39762 fi
39763 rm -f conftest.err conftest.$ac_objext \
39764       conftest$ac_exeext conftest.$ac_ext
39765 fi
39766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39767 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39768 if test `eval echo '${'$as_ac_var'}'` = yes; then
39769   cat >>confdefs.h <<_ACEOF
39770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39771 _ACEOF
39772
39773 fi
39774 done
39775
39776     fi
39777   fi
39778
39779
39780
39781
39782
39783
39784   echo "$as_me:$LINENO: checking for powf declaration" >&5
39785 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
39786   if test x${glibcxx_cv_func_powf_use+set} != xset; then
39787     if test "${glibcxx_cv_func_powf_use+set}" = set; then
39788   echo $ECHO_N "(cached) $ECHO_C" >&6
39789 else
39790
39791
39792
39793       ac_ext=cc
39794 ac_cpp='$CXXCPP $CPPFLAGS'
39795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39798
39799       cat >conftest.$ac_ext <<_ACEOF
39800 /* confdefs.h.  */
39801 _ACEOF
39802 cat confdefs.h >>conftest.$ac_ext
39803 cat >>conftest.$ac_ext <<_ACEOF
39804 /* end confdefs.h.  */
39805 #include <math.h>
39806 int
39807 main ()
39808 {
39809  powf(0, 0);
39810   ;
39811   return 0;
39812 }
39813 _ACEOF
39814 rm -f conftest.$ac_objext
39815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39816   (eval $ac_compile) 2>conftest.er1
39817   ac_status=$?
39818   grep -v '^ *+' conftest.er1 >conftest.err
39819   rm -f conftest.er1
39820   cat conftest.err >&5
39821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39822   (exit $ac_status); } &&
39823          { ac_try='test -z "$ac_cxx_werror_flag"
39824                          || test ! -s conftest.err'
39825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39826   (eval $ac_try) 2>&5
39827   ac_status=$?
39828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39829   (exit $ac_status); }; } &&
39830          { ac_try='test -s conftest.$ac_objext'
39831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39832   (eval $ac_try) 2>&5
39833   ac_status=$?
39834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39835   (exit $ac_status); }; }; then
39836   glibcxx_cv_func_powf_use=yes
39837 else
39838   echo "$as_me: failed program was:" >&5
39839 sed 's/^/| /' conftest.$ac_ext >&5
39840
39841 glibcxx_cv_func_powf_use=no
39842 fi
39843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39844       ac_ext=c
39845 ac_cpp='$CPP $CPPFLAGS'
39846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39849
39850
39851 fi
39852
39853   fi
39854   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
39855 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
39856
39857   if test x$glibcxx_cv_func_powf_use = x"yes"; then
39858
39859 for ac_func in powf
39860 do
39861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39862 echo "$as_me:$LINENO: checking for $ac_func" >&5
39863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39864 if eval "test \"\${$as_ac_var+set}\" = set"; then
39865   echo $ECHO_N "(cached) $ECHO_C" >&6
39866 else
39867   if test x$gcc_no_link = xyes; then
39868   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39870    { (exit 1); exit 1; }; }
39871 fi
39872 cat >conftest.$ac_ext <<_ACEOF
39873 /* confdefs.h.  */
39874 _ACEOF
39875 cat confdefs.h >>conftest.$ac_ext
39876 cat >>conftest.$ac_ext <<_ACEOF
39877 /* end confdefs.h.  */
39878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39879    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39880 #define $ac_func innocuous_$ac_func
39881
39882 /* System header to define __stub macros and hopefully few prototypes,
39883     which can conflict with char $ac_func (); below.
39884     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39885     <limits.h> exists even on freestanding compilers.  */
39886
39887 #ifdef __STDC__
39888 # include <limits.h>
39889 #else
39890 # include <assert.h>
39891 #endif
39892
39893 #undef $ac_func
39894
39895 /* Override any gcc2 internal prototype to avoid an error.  */
39896 #ifdef __cplusplus
39897 extern "C"
39898 {
39899 #endif
39900 /* We use char because int might match the return type of a gcc2
39901    builtin and then its argument prototype would still apply.  */
39902 char $ac_func ();
39903 /* The GNU C library defines this for functions which it implements
39904     to always fail with ENOSYS.  Some functions are actually named
39905     something starting with __ and the normal name is an alias.  */
39906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39907 choke me
39908 #else
39909 char (*f) () = $ac_func;
39910 #endif
39911 #ifdef __cplusplus
39912 }
39913 #endif
39914
39915 int
39916 main ()
39917 {
39918 return f != $ac_func;
39919   ;
39920   return 0;
39921 }
39922 _ACEOF
39923 rm -f conftest.$ac_objext conftest$ac_exeext
39924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39925   (eval $ac_link) 2>conftest.er1
39926   ac_status=$?
39927   grep -v '^ *+' conftest.er1 >conftest.err
39928   rm -f conftest.er1
39929   cat conftest.err >&5
39930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39931   (exit $ac_status); } &&
39932          { ac_try='test -z "$ac_c_werror_flag"
39933                          || test ! -s conftest.err'
39934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39935   (eval $ac_try) 2>&5
39936   ac_status=$?
39937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39938   (exit $ac_status); }; } &&
39939          { ac_try='test -s conftest$ac_exeext'
39940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39941   (eval $ac_try) 2>&5
39942   ac_status=$?
39943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39944   (exit $ac_status); }; }; then
39945   eval "$as_ac_var=yes"
39946 else
39947   echo "$as_me: failed program was:" >&5
39948 sed 's/^/| /' conftest.$ac_ext >&5
39949
39950 eval "$as_ac_var=no"
39951 fi
39952 rm -f conftest.err conftest.$ac_objext \
39953       conftest$ac_exeext conftest.$ac_ext
39954 fi
39955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39957 if test `eval echo '${'$as_ac_var'}'` = yes; then
39958   cat >>confdefs.h <<_ACEOF
39959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39960 _ACEOF
39961
39962 fi
39963 done
39964
39965   else
39966
39967   echo "$as_me:$LINENO: checking for _powf declaration" >&5
39968 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
39969   if test x${glibcxx_cv_func__powf_use+set} != xset; then
39970     if test "${glibcxx_cv_func__powf_use+set}" = set; then
39971   echo $ECHO_N "(cached) $ECHO_C" >&6
39972 else
39973
39974
39975
39976       ac_ext=cc
39977 ac_cpp='$CXXCPP $CPPFLAGS'
39978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39981
39982       cat >conftest.$ac_ext <<_ACEOF
39983 /* confdefs.h.  */
39984 _ACEOF
39985 cat confdefs.h >>conftest.$ac_ext
39986 cat >>conftest.$ac_ext <<_ACEOF
39987 /* end confdefs.h.  */
39988 #include <math.h>
39989 int
39990 main ()
39991 {
39992  _powf(0, 0);
39993   ;
39994   return 0;
39995 }
39996 _ACEOF
39997 rm -f conftest.$ac_objext
39998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39999   (eval $ac_compile) 2>conftest.er1
40000   ac_status=$?
40001   grep -v '^ *+' conftest.er1 >conftest.err
40002   rm -f conftest.er1
40003   cat conftest.err >&5
40004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40005   (exit $ac_status); } &&
40006          { ac_try='test -z "$ac_cxx_werror_flag"
40007                          || test ! -s conftest.err'
40008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40009   (eval $ac_try) 2>&5
40010   ac_status=$?
40011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40012   (exit $ac_status); }; } &&
40013          { ac_try='test -s conftest.$ac_objext'
40014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40015   (eval $ac_try) 2>&5
40016   ac_status=$?
40017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40018   (exit $ac_status); }; }; then
40019   glibcxx_cv_func__powf_use=yes
40020 else
40021   echo "$as_me: failed program was:" >&5
40022 sed 's/^/| /' conftest.$ac_ext >&5
40023
40024 glibcxx_cv_func__powf_use=no
40025 fi
40026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40027       ac_ext=c
40028 ac_cpp='$CPP $CPPFLAGS'
40029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40032
40033
40034 fi
40035
40036   fi
40037   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
40038 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
40039
40040     if test x$glibcxx_cv_func__powf_use = x"yes"; then
40041
40042 for ac_func in _powf
40043 do
40044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40045 echo "$as_me:$LINENO: checking for $ac_func" >&5
40046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40047 if eval "test \"\${$as_ac_var+set}\" = set"; then
40048   echo $ECHO_N "(cached) $ECHO_C" >&6
40049 else
40050   if test x$gcc_no_link = xyes; then
40051   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40053    { (exit 1); exit 1; }; }
40054 fi
40055 cat >conftest.$ac_ext <<_ACEOF
40056 /* confdefs.h.  */
40057 _ACEOF
40058 cat confdefs.h >>conftest.$ac_ext
40059 cat >>conftest.$ac_ext <<_ACEOF
40060 /* end confdefs.h.  */
40061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40062    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40063 #define $ac_func innocuous_$ac_func
40064
40065 /* System header to define __stub macros and hopefully few prototypes,
40066     which can conflict with char $ac_func (); below.
40067     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40068     <limits.h> exists even on freestanding compilers.  */
40069
40070 #ifdef __STDC__
40071 # include <limits.h>
40072 #else
40073 # include <assert.h>
40074 #endif
40075
40076 #undef $ac_func
40077
40078 /* Override any gcc2 internal prototype to avoid an error.  */
40079 #ifdef __cplusplus
40080 extern "C"
40081 {
40082 #endif
40083 /* We use char because int might match the return type of a gcc2
40084    builtin and then its argument prototype would still apply.  */
40085 char $ac_func ();
40086 /* The GNU C library defines this for functions which it implements
40087     to always fail with ENOSYS.  Some functions are actually named
40088     something starting with __ and the normal name is an alias.  */
40089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40090 choke me
40091 #else
40092 char (*f) () = $ac_func;
40093 #endif
40094 #ifdef __cplusplus
40095 }
40096 #endif
40097
40098 int
40099 main ()
40100 {
40101 return f != $ac_func;
40102   ;
40103   return 0;
40104 }
40105 _ACEOF
40106 rm -f conftest.$ac_objext conftest$ac_exeext
40107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40108   (eval $ac_link) 2>conftest.er1
40109   ac_status=$?
40110   grep -v '^ *+' conftest.er1 >conftest.err
40111   rm -f conftest.er1
40112   cat conftest.err >&5
40113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40114   (exit $ac_status); } &&
40115          { ac_try='test -z "$ac_c_werror_flag"
40116                          || test ! -s conftest.err'
40117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40118   (eval $ac_try) 2>&5
40119   ac_status=$?
40120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40121   (exit $ac_status); }; } &&
40122          { ac_try='test -s conftest$ac_exeext'
40123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40124   (eval $ac_try) 2>&5
40125   ac_status=$?
40126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40127   (exit $ac_status); }; }; then
40128   eval "$as_ac_var=yes"
40129 else
40130   echo "$as_me: failed program was:" >&5
40131 sed 's/^/| /' conftest.$ac_ext >&5
40132
40133 eval "$as_ac_var=no"
40134 fi
40135 rm -f conftest.err conftest.$ac_objext \
40136       conftest$ac_exeext conftest.$ac_ext
40137 fi
40138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40140 if test `eval echo '${'$as_ac_var'}'` = yes; then
40141   cat >>confdefs.h <<_ACEOF
40142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40143 _ACEOF
40144
40145 fi
40146 done
40147
40148     fi
40149   fi
40150
40151
40152
40153
40154
40155
40156   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
40157 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
40158   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
40159     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
40160   echo $ECHO_N "(cached) $ECHO_C" >&6
40161 else
40162
40163
40164
40165       ac_ext=cc
40166 ac_cpp='$CXXCPP $CPPFLAGS'
40167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40170
40171       cat >conftest.$ac_ext <<_ACEOF
40172 /* confdefs.h.  */
40173 _ACEOF
40174 cat confdefs.h >>conftest.$ac_ext
40175 cat >>conftest.$ac_ext <<_ACEOF
40176 /* end confdefs.h.  */
40177 #include <math.h>
40178                       #ifdef HAVE_IEEEFP_H
40179                       #include <ieeefp.h>
40180                       #endif
40181
40182 int
40183 main ()
40184 {
40185  sqrtf(0);
40186   ;
40187   return 0;
40188 }
40189 _ACEOF
40190 rm -f conftest.$ac_objext
40191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40192   (eval $ac_compile) 2>conftest.er1
40193   ac_status=$?
40194   grep -v '^ *+' conftest.er1 >conftest.err
40195   rm -f conftest.er1
40196   cat conftest.err >&5
40197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40198   (exit $ac_status); } &&
40199          { ac_try='test -z "$ac_cxx_werror_flag"
40200                          || test ! -s conftest.err'
40201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40202   (eval $ac_try) 2>&5
40203   ac_status=$?
40204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40205   (exit $ac_status); }; } &&
40206          { ac_try='test -s conftest.$ac_objext'
40207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40208   (eval $ac_try) 2>&5
40209   ac_status=$?
40210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40211   (exit $ac_status); }; }; then
40212   glibcxx_cv_func_sqrtf_use=yes
40213 else
40214   echo "$as_me: failed program was:" >&5
40215 sed 's/^/| /' conftest.$ac_ext >&5
40216
40217 glibcxx_cv_func_sqrtf_use=no
40218 fi
40219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40220       ac_ext=c
40221 ac_cpp='$CPP $CPPFLAGS'
40222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40225
40226
40227 fi
40228
40229   fi
40230   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
40231 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
40232
40233   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
40234
40235 for ac_func in sqrtf
40236 do
40237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40238 echo "$as_me:$LINENO: checking for $ac_func" >&5
40239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40240 if eval "test \"\${$as_ac_var+set}\" = set"; then
40241   echo $ECHO_N "(cached) $ECHO_C" >&6
40242 else
40243   if test x$gcc_no_link = xyes; then
40244   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40246    { (exit 1); exit 1; }; }
40247 fi
40248 cat >conftest.$ac_ext <<_ACEOF
40249 /* confdefs.h.  */
40250 _ACEOF
40251 cat confdefs.h >>conftest.$ac_ext
40252 cat >>conftest.$ac_ext <<_ACEOF
40253 /* end confdefs.h.  */
40254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40255    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40256 #define $ac_func innocuous_$ac_func
40257
40258 /* System header to define __stub macros and hopefully few prototypes,
40259     which can conflict with char $ac_func (); below.
40260     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40261     <limits.h> exists even on freestanding compilers.  */
40262
40263 #ifdef __STDC__
40264 # include <limits.h>
40265 #else
40266 # include <assert.h>
40267 #endif
40268
40269 #undef $ac_func
40270
40271 /* Override any gcc2 internal prototype to avoid an error.  */
40272 #ifdef __cplusplus
40273 extern "C"
40274 {
40275 #endif
40276 /* We use char because int might match the return type of a gcc2
40277    builtin and then its argument prototype would still apply.  */
40278 char $ac_func ();
40279 /* The GNU C library defines this for functions which it implements
40280     to always fail with ENOSYS.  Some functions are actually named
40281     something starting with __ and the normal name is an alias.  */
40282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40283 choke me
40284 #else
40285 char (*f) () = $ac_func;
40286 #endif
40287 #ifdef __cplusplus
40288 }
40289 #endif
40290
40291 int
40292 main ()
40293 {
40294 return f != $ac_func;
40295   ;
40296   return 0;
40297 }
40298 _ACEOF
40299 rm -f conftest.$ac_objext conftest$ac_exeext
40300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40301   (eval $ac_link) 2>conftest.er1
40302   ac_status=$?
40303   grep -v '^ *+' conftest.er1 >conftest.err
40304   rm -f conftest.er1
40305   cat conftest.err >&5
40306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40307   (exit $ac_status); } &&
40308          { ac_try='test -z "$ac_c_werror_flag"
40309                          || test ! -s conftest.err'
40310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40311   (eval $ac_try) 2>&5
40312   ac_status=$?
40313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40314   (exit $ac_status); }; } &&
40315          { ac_try='test -s conftest$ac_exeext'
40316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40317   (eval $ac_try) 2>&5
40318   ac_status=$?
40319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40320   (exit $ac_status); }; }; then
40321   eval "$as_ac_var=yes"
40322 else
40323   echo "$as_me: failed program was:" >&5
40324 sed 's/^/| /' conftest.$ac_ext >&5
40325
40326 eval "$as_ac_var=no"
40327 fi
40328 rm -f conftest.err conftest.$ac_objext \
40329       conftest$ac_exeext conftest.$ac_ext
40330 fi
40331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40333 if test `eval echo '${'$as_ac_var'}'` = yes; then
40334   cat >>confdefs.h <<_ACEOF
40335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40336 _ACEOF
40337
40338 fi
40339 done
40340
40341   else
40342
40343   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
40344 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
40345   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
40346     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
40347   echo $ECHO_N "(cached) $ECHO_C" >&6
40348 else
40349
40350
40351
40352       ac_ext=cc
40353 ac_cpp='$CXXCPP $CPPFLAGS'
40354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40357
40358       cat >conftest.$ac_ext <<_ACEOF
40359 /* confdefs.h.  */
40360 _ACEOF
40361 cat confdefs.h >>conftest.$ac_ext
40362 cat >>conftest.$ac_ext <<_ACEOF
40363 /* end confdefs.h.  */
40364 #include <math.h>
40365                       #ifdef HAVE_IEEEFP_H
40366                       #include <ieeefp.h>
40367                       #endif
40368
40369 int
40370 main ()
40371 {
40372  _sqrtf(0);
40373   ;
40374   return 0;
40375 }
40376 _ACEOF
40377 rm -f conftest.$ac_objext
40378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40379   (eval $ac_compile) 2>conftest.er1
40380   ac_status=$?
40381   grep -v '^ *+' conftest.er1 >conftest.err
40382   rm -f conftest.er1
40383   cat conftest.err >&5
40384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40385   (exit $ac_status); } &&
40386          { ac_try='test -z "$ac_cxx_werror_flag"
40387                          || test ! -s conftest.err'
40388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40389   (eval $ac_try) 2>&5
40390   ac_status=$?
40391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40392   (exit $ac_status); }; } &&
40393          { ac_try='test -s conftest.$ac_objext'
40394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40395   (eval $ac_try) 2>&5
40396   ac_status=$?
40397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40398   (exit $ac_status); }; }; then
40399   glibcxx_cv_func__sqrtf_use=yes
40400 else
40401   echo "$as_me: failed program was:" >&5
40402 sed 's/^/| /' conftest.$ac_ext >&5
40403
40404 glibcxx_cv_func__sqrtf_use=no
40405 fi
40406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40407       ac_ext=c
40408 ac_cpp='$CPP $CPPFLAGS'
40409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40412
40413
40414 fi
40415
40416   fi
40417   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
40418 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
40419
40420     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
40421
40422 for ac_func in _sqrtf
40423 do
40424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40425 echo "$as_me:$LINENO: checking for $ac_func" >&5
40426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40427 if eval "test \"\${$as_ac_var+set}\" = set"; then
40428   echo $ECHO_N "(cached) $ECHO_C" >&6
40429 else
40430   if test x$gcc_no_link = xyes; then
40431   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40433    { (exit 1); exit 1; }; }
40434 fi
40435 cat >conftest.$ac_ext <<_ACEOF
40436 /* confdefs.h.  */
40437 _ACEOF
40438 cat confdefs.h >>conftest.$ac_ext
40439 cat >>conftest.$ac_ext <<_ACEOF
40440 /* end confdefs.h.  */
40441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40442    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40443 #define $ac_func innocuous_$ac_func
40444
40445 /* System header to define __stub macros and hopefully few prototypes,
40446     which can conflict with char $ac_func (); below.
40447     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40448     <limits.h> exists even on freestanding compilers.  */
40449
40450 #ifdef __STDC__
40451 # include <limits.h>
40452 #else
40453 # include <assert.h>
40454 #endif
40455
40456 #undef $ac_func
40457
40458 /* Override any gcc2 internal prototype to avoid an error.  */
40459 #ifdef __cplusplus
40460 extern "C"
40461 {
40462 #endif
40463 /* We use char because int might match the return type of a gcc2
40464    builtin and then its argument prototype would still apply.  */
40465 char $ac_func ();
40466 /* The GNU C library defines this for functions which it implements
40467     to always fail with ENOSYS.  Some functions are actually named
40468     something starting with __ and the normal name is an alias.  */
40469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40470 choke me
40471 #else
40472 char (*f) () = $ac_func;
40473 #endif
40474 #ifdef __cplusplus
40475 }
40476 #endif
40477
40478 int
40479 main ()
40480 {
40481 return f != $ac_func;
40482   ;
40483   return 0;
40484 }
40485 _ACEOF
40486 rm -f conftest.$ac_objext conftest$ac_exeext
40487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40488   (eval $ac_link) 2>conftest.er1
40489   ac_status=$?
40490   grep -v '^ *+' conftest.er1 >conftest.err
40491   rm -f conftest.er1
40492   cat conftest.err >&5
40493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40494   (exit $ac_status); } &&
40495          { ac_try='test -z "$ac_c_werror_flag"
40496                          || test ! -s conftest.err'
40497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40498   (eval $ac_try) 2>&5
40499   ac_status=$?
40500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40501   (exit $ac_status); }; } &&
40502          { ac_try='test -s conftest$ac_exeext'
40503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40504   (eval $ac_try) 2>&5
40505   ac_status=$?
40506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40507   (exit $ac_status); }; }; then
40508   eval "$as_ac_var=yes"
40509 else
40510   echo "$as_me: failed program was:" >&5
40511 sed 's/^/| /' conftest.$ac_ext >&5
40512
40513 eval "$as_ac_var=no"
40514 fi
40515 rm -f conftest.err conftest.$ac_objext \
40516       conftest$ac_exeext conftest.$ac_ext
40517 fi
40518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40520 if test `eval echo '${'$as_ac_var'}'` = yes; then
40521   cat >>confdefs.h <<_ACEOF
40522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40523 _ACEOF
40524
40525 fi
40526 done
40527
40528     fi
40529   fi
40530
40531
40532
40533
40534
40535
40536   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
40537 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
40538   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
40539     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
40540   echo $ECHO_N "(cached) $ECHO_C" >&6
40541 else
40542
40543
40544
40545       ac_ext=cc
40546 ac_cpp='$CXXCPP $CPPFLAGS'
40547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40550
40551       cat >conftest.$ac_ext <<_ACEOF
40552 /* confdefs.h.  */
40553 _ACEOF
40554 cat confdefs.h >>conftest.$ac_ext
40555 cat >>conftest.$ac_ext <<_ACEOF
40556 /* end confdefs.h.  */
40557 #include <math.h>
40558 int
40559 main ()
40560 {
40561  sincosf(0, 0, 0);
40562   ;
40563   return 0;
40564 }
40565 _ACEOF
40566 rm -f conftest.$ac_objext
40567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40568   (eval $ac_compile) 2>conftest.er1
40569   ac_status=$?
40570   grep -v '^ *+' conftest.er1 >conftest.err
40571   rm -f conftest.er1
40572   cat conftest.err >&5
40573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40574   (exit $ac_status); } &&
40575          { ac_try='test -z "$ac_cxx_werror_flag"
40576                          || test ! -s conftest.err'
40577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40578   (eval $ac_try) 2>&5
40579   ac_status=$?
40580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40581   (exit $ac_status); }; } &&
40582          { ac_try='test -s conftest.$ac_objext'
40583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40584   (eval $ac_try) 2>&5
40585   ac_status=$?
40586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40587   (exit $ac_status); }; }; then
40588   glibcxx_cv_func_sincosf_use=yes
40589 else
40590   echo "$as_me: failed program was:" >&5
40591 sed 's/^/| /' conftest.$ac_ext >&5
40592
40593 glibcxx_cv_func_sincosf_use=no
40594 fi
40595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40596       ac_ext=c
40597 ac_cpp='$CPP $CPPFLAGS'
40598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40601
40602
40603 fi
40604
40605   fi
40606   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
40607 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
40608
40609   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40610
40611 for ac_func in sincosf
40612 do
40613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40614 echo "$as_me:$LINENO: checking for $ac_func" >&5
40615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40616 if eval "test \"\${$as_ac_var+set}\" = set"; then
40617   echo $ECHO_N "(cached) $ECHO_C" >&6
40618 else
40619   if test x$gcc_no_link = xyes; then
40620   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40622    { (exit 1); exit 1; }; }
40623 fi
40624 cat >conftest.$ac_ext <<_ACEOF
40625 /* confdefs.h.  */
40626 _ACEOF
40627 cat confdefs.h >>conftest.$ac_ext
40628 cat >>conftest.$ac_ext <<_ACEOF
40629 /* end confdefs.h.  */
40630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40631    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40632 #define $ac_func innocuous_$ac_func
40633
40634 /* System header to define __stub macros and hopefully few prototypes,
40635     which can conflict with char $ac_func (); below.
40636     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40637     <limits.h> exists even on freestanding compilers.  */
40638
40639 #ifdef __STDC__
40640 # include <limits.h>
40641 #else
40642 # include <assert.h>
40643 #endif
40644
40645 #undef $ac_func
40646
40647 /* Override any gcc2 internal prototype to avoid an error.  */
40648 #ifdef __cplusplus
40649 extern "C"
40650 {
40651 #endif
40652 /* We use char because int might match the return type of a gcc2
40653    builtin and then its argument prototype would still apply.  */
40654 char $ac_func ();
40655 /* The GNU C library defines this for functions which it implements
40656     to always fail with ENOSYS.  Some functions are actually named
40657     something starting with __ and the normal name is an alias.  */
40658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40659 choke me
40660 #else
40661 char (*f) () = $ac_func;
40662 #endif
40663 #ifdef __cplusplus
40664 }
40665 #endif
40666
40667 int
40668 main ()
40669 {
40670 return f != $ac_func;
40671   ;
40672   return 0;
40673 }
40674 _ACEOF
40675 rm -f conftest.$ac_objext conftest$ac_exeext
40676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40677   (eval $ac_link) 2>conftest.er1
40678   ac_status=$?
40679   grep -v '^ *+' conftest.er1 >conftest.err
40680   rm -f conftest.er1
40681   cat conftest.err >&5
40682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40683   (exit $ac_status); } &&
40684          { ac_try='test -z "$ac_c_werror_flag"
40685                          || test ! -s conftest.err'
40686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40687   (eval $ac_try) 2>&5
40688   ac_status=$?
40689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40690   (exit $ac_status); }; } &&
40691          { ac_try='test -s conftest$ac_exeext'
40692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40693   (eval $ac_try) 2>&5
40694   ac_status=$?
40695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40696   (exit $ac_status); }; }; then
40697   eval "$as_ac_var=yes"
40698 else
40699   echo "$as_me: failed program was:" >&5
40700 sed 's/^/| /' conftest.$ac_ext >&5
40701
40702 eval "$as_ac_var=no"
40703 fi
40704 rm -f conftest.err conftest.$ac_objext \
40705       conftest$ac_exeext conftest.$ac_ext
40706 fi
40707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40709 if test `eval echo '${'$as_ac_var'}'` = yes; then
40710   cat >>confdefs.h <<_ACEOF
40711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40712 _ACEOF
40713
40714 fi
40715 done
40716
40717   else
40718
40719   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
40720 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
40721   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40722     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
40723   echo $ECHO_N "(cached) $ECHO_C" >&6
40724 else
40725
40726
40727
40728       ac_ext=cc
40729 ac_cpp='$CXXCPP $CPPFLAGS'
40730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40733
40734       cat >conftest.$ac_ext <<_ACEOF
40735 /* confdefs.h.  */
40736 _ACEOF
40737 cat confdefs.h >>conftest.$ac_ext
40738 cat >>conftest.$ac_ext <<_ACEOF
40739 /* end confdefs.h.  */
40740 #include <math.h>
40741 int
40742 main ()
40743 {
40744  _sincosf(0, 0, 0);
40745   ;
40746   return 0;
40747 }
40748 _ACEOF
40749 rm -f conftest.$ac_objext
40750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40751   (eval $ac_compile) 2>conftest.er1
40752   ac_status=$?
40753   grep -v '^ *+' conftest.er1 >conftest.err
40754   rm -f conftest.er1
40755   cat conftest.err >&5
40756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40757   (exit $ac_status); } &&
40758          { ac_try='test -z "$ac_cxx_werror_flag"
40759                          || test ! -s conftest.err'
40760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40761   (eval $ac_try) 2>&5
40762   ac_status=$?
40763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40764   (exit $ac_status); }; } &&
40765          { ac_try='test -s conftest.$ac_objext'
40766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40767   (eval $ac_try) 2>&5
40768   ac_status=$?
40769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40770   (exit $ac_status); }; }; then
40771   glibcxx_cv_func__sincosf_use=yes
40772 else
40773   echo "$as_me: failed program was:" >&5
40774 sed 's/^/| /' conftest.$ac_ext >&5
40775
40776 glibcxx_cv_func__sincosf_use=no
40777 fi
40778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40779       ac_ext=c
40780 ac_cpp='$CPP $CPPFLAGS'
40781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40784
40785
40786 fi
40787
40788   fi
40789   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
40790 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
40791
40792     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40793
40794 for ac_func in _sincosf
40795 do
40796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40797 echo "$as_me:$LINENO: checking for $ac_func" >&5
40798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40799 if eval "test \"\${$as_ac_var+set}\" = set"; then
40800   echo $ECHO_N "(cached) $ECHO_C" >&6
40801 else
40802   if test x$gcc_no_link = xyes; then
40803   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40805    { (exit 1); exit 1; }; }
40806 fi
40807 cat >conftest.$ac_ext <<_ACEOF
40808 /* confdefs.h.  */
40809 _ACEOF
40810 cat confdefs.h >>conftest.$ac_ext
40811 cat >>conftest.$ac_ext <<_ACEOF
40812 /* end confdefs.h.  */
40813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40814    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40815 #define $ac_func innocuous_$ac_func
40816
40817 /* System header to define __stub macros and hopefully few prototypes,
40818     which can conflict with char $ac_func (); below.
40819     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40820     <limits.h> exists even on freestanding compilers.  */
40821
40822 #ifdef __STDC__
40823 # include <limits.h>
40824 #else
40825 # include <assert.h>
40826 #endif
40827
40828 #undef $ac_func
40829
40830 /* Override any gcc2 internal prototype to avoid an error.  */
40831 #ifdef __cplusplus
40832 extern "C"
40833 {
40834 #endif
40835 /* We use char because int might match the return type of a gcc2
40836    builtin and then its argument prototype would still apply.  */
40837 char $ac_func ();
40838 /* The GNU C library defines this for functions which it implements
40839     to always fail with ENOSYS.  Some functions are actually named
40840     something starting with __ and the normal name is an alias.  */
40841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40842 choke me
40843 #else
40844 char (*f) () = $ac_func;
40845 #endif
40846 #ifdef __cplusplus
40847 }
40848 #endif
40849
40850 int
40851 main ()
40852 {
40853 return f != $ac_func;
40854   ;
40855   return 0;
40856 }
40857 _ACEOF
40858 rm -f conftest.$ac_objext conftest$ac_exeext
40859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40860   (eval $ac_link) 2>conftest.er1
40861   ac_status=$?
40862   grep -v '^ *+' conftest.er1 >conftest.err
40863   rm -f conftest.er1
40864   cat conftest.err >&5
40865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40866   (exit $ac_status); } &&
40867          { ac_try='test -z "$ac_c_werror_flag"
40868                          || test ! -s conftest.err'
40869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40870   (eval $ac_try) 2>&5
40871   ac_status=$?
40872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40873   (exit $ac_status); }; } &&
40874          { ac_try='test -s conftest$ac_exeext'
40875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40876   (eval $ac_try) 2>&5
40877   ac_status=$?
40878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40879   (exit $ac_status); }; }; then
40880   eval "$as_ac_var=yes"
40881 else
40882   echo "$as_me: failed program was:" >&5
40883 sed 's/^/| /' conftest.$ac_ext >&5
40884
40885 eval "$as_ac_var=no"
40886 fi
40887 rm -f conftest.err conftest.$ac_objext \
40888       conftest$ac_exeext conftest.$ac_ext
40889 fi
40890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40892 if test `eval echo '${'$as_ac_var'}'` = yes; then
40893   cat >>confdefs.h <<_ACEOF
40894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40895 _ACEOF
40896
40897 fi
40898 done
40899
40900     fi
40901   fi
40902
40903
40904
40905
40906
40907
40908   echo "$as_me:$LINENO: checking for finitef declaration" >&5
40909 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
40910   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
40911     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
40912   echo $ECHO_N "(cached) $ECHO_C" >&6
40913 else
40914
40915
40916
40917       ac_ext=cc
40918 ac_cpp='$CXXCPP $CPPFLAGS'
40919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40922
40923       cat >conftest.$ac_ext <<_ACEOF
40924 /* confdefs.h.  */
40925 _ACEOF
40926 cat confdefs.h >>conftest.$ac_ext
40927 cat >>conftest.$ac_ext <<_ACEOF
40928 /* end confdefs.h.  */
40929 #include <math.h>
40930                       #ifdef HAVE_IEEEFP_H
40931                       #include <ieeefp.h>
40932                       #endif
40933
40934 int
40935 main ()
40936 {
40937  finitef(0);
40938   ;
40939   return 0;
40940 }
40941 _ACEOF
40942 rm -f conftest.$ac_objext
40943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40944   (eval $ac_compile) 2>conftest.er1
40945   ac_status=$?
40946   grep -v '^ *+' conftest.er1 >conftest.err
40947   rm -f conftest.er1
40948   cat conftest.err >&5
40949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40950   (exit $ac_status); } &&
40951          { ac_try='test -z "$ac_cxx_werror_flag"
40952                          || test ! -s conftest.err'
40953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40954   (eval $ac_try) 2>&5
40955   ac_status=$?
40956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40957   (exit $ac_status); }; } &&
40958          { ac_try='test -s conftest.$ac_objext'
40959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40960   (eval $ac_try) 2>&5
40961   ac_status=$?
40962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40963   (exit $ac_status); }; }; then
40964   glibcxx_cv_func_finitef_use=yes
40965 else
40966   echo "$as_me: failed program was:" >&5
40967 sed 's/^/| /' conftest.$ac_ext >&5
40968
40969 glibcxx_cv_func_finitef_use=no
40970 fi
40971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40972       ac_ext=c
40973 ac_cpp='$CPP $CPPFLAGS'
40974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40977
40978
40979 fi
40980
40981   fi
40982   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
40983 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
40984
40985   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
40986
40987 for ac_func in finitef
40988 do
40989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40990 echo "$as_me:$LINENO: checking for $ac_func" >&5
40991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40992 if eval "test \"\${$as_ac_var+set}\" = set"; then
40993   echo $ECHO_N "(cached) $ECHO_C" >&6
40994 else
40995   if test x$gcc_no_link = xyes; then
40996   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40998    { (exit 1); exit 1; }; }
40999 fi
41000 cat >conftest.$ac_ext <<_ACEOF
41001 /* confdefs.h.  */
41002 _ACEOF
41003 cat confdefs.h >>conftest.$ac_ext
41004 cat >>conftest.$ac_ext <<_ACEOF
41005 /* end confdefs.h.  */
41006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41007    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41008 #define $ac_func innocuous_$ac_func
41009
41010 /* System header to define __stub macros and hopefully few prototypes,
41011     which can conflict with char $ac_func (); below.
41012     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41013     <limits.h> exists even on freestanding compilers.  */
41014
41015 #ifdef __STDC__
41016 # include <limits.h>
41017 #else
41018 # include <assert.h>
41019 #endif
41020
41021 #undef $ac_func
41022
41023 /* Override any gcc2 internal prototype to avoid an error.  */
41024 #ifdef __cplusplus
41025 extern "C"
41026 {
41027 #endif
41028 /* We use char because int might match the return type of a gcc2
41029    builtin and then its argument prototype would still apply.  */
41030 char $ac_func ();
41031 /* The GNU C library defines this for functions which it implements
41032     to always fail with ENOSYS.  Some functions are actually named
41033     something starting with __ and the normal name is an alias.  */
41034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41035 choke me
41036 #else
41037 char (*f) () = $ac_func;
41038 #endif
41039 #ifdef __cplusplus
41040 }
41041 #endif
41042
41043 int
41044 main ()
41045 {
41046 return f != $ac_func;
41047   ;
41048   return 0;
41049 }
41050 _ACEOF
41051 rm -f conftest.$ac_objext conftest$ac_exeext
41052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41053   (eval $ac_link) 2>conftest.er1
41054   ac_status=$?
41055   grep -v '^ *+' conftest.er1 >conftest.err
41056   rm -f conftest.er1
41057   cat conftest.err >&5
41058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41059   (exit $ac_status); } &&
41060          { ac_try='test -z "$ac_c_werror_flag"
41061                          || test ! -s conftest.err'
41062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41063   (eval $ac_try) 2>&5
41064   ac_status=$?
41065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41066   (exit $ac_status); }; } &&
41067          { ac_try='test -s conftest$ac_exeext'
41068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41069   (eval $ac_try) 2>&5
41070   ac_status=$?
41071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41072   (exit $ac_status); }; }; then
41073   eval "$as_ac_var=yes"
41074 else
41075   echo "$as_me: failed program was:" >&5
41076 sed 's/^/| /' conftest.$ac_ext >&5
41077
41078 eval "$as_ac_var=no"
41079 fi
41080 rm -f conftest.err conftest.$ac_objext \
41081       conftest$ac_exeext conftest.$ac_ext
41082 fi
41083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41085 if test `eval echo '${'$as_ac_var'}'` = yes; then
41086   cat >>confdefs.h <<_ACEOF
41087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41088 _ACEOF
41089
41090 fi
41091 done
41092
41093   else
41094
41095   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
41096 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
41097   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41098     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
41099   echo $ECHO_N "(cached) $ECHO_C" >&6
41100 else
41101
41102
41103
41104       ac_ext=cc
41105 ac_cpp='$CXXCPP $CPPFLAGS'
41106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41109
41110       cat >conftest.$ac_ext <<_ACEOF
41111 /* confdefs.h.  */
41112 _ACEOF
41113 cat confdefs.h >>conftest.$ac_ext
41114 cat >>conftest.$ac_ext <<_ACEOF
41115 /* end confdefs.h.  */
41116 #include <math.h>
41117                       #ifdef HAVE_IEEEFP_H
41118                       #include <ieeefp.h>
41119                       #endif
41120
41121 int
41122 main ()
41123 {
41124  _finitef(0);
41125   ;
41126   return 0;
41127 }
41128 _ACEOF
41129 rm -f conftest.$ac_objext
41130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41131   (eval $ac_compile) 2>conftest.er1
41132   ac_status=$?
41133   grep -v '^ *+' conftest.er1 >conftest.err
41134   rm -f conftest.er1
41135   cat conftest.err >&5
41136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41137   (exit $ac_status); } &&
41138          { ac_try='test -z "$ac_cxx_werror_flag"
41139                          || test ! -s conftest.err'
41140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41141   (eval $ac_try) 2>&5
41142   ac_status=$?
41143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41144   (exit $ac_status); }; } &&
41145          { ac_try='test -s conftest.$ac_objext'
41146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41147   (eval $ac_try) 2>&5
41148   ac_status=$?
41149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41150   (exit $ac_status); }; }; then
41151   glibcxx_cv_func__finitef_use=yes
41152 else
41153   echo "$as_me: failed program was:" >&5
41154 sed 's/^/| /' conftest.$ac_ext >&5
41155
41156 glibcxx_cv_func__finitef_use=no
41157 fi
41158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41159       ac_ext=c
41160 ac_cpp='$CPP $CPPFLAGS'
41161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41164
41165
41166 fi
41167
41168   fi
41169   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
41170 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
41171
41172     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41173
41174 for ac_func in _finitef
41175 do
41176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41177 echo "$as_me:$LINENO: checking for $ac_func" >&5
41178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41179 if eval "test \"\${$as_ac_var+set}\" = set"; then
41180   echo $ECHO_N "(cached) $ECHO_C" >&6
41181 else
41182   if test x$gcc_no_link = xyes; then
41183   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41185    { (exit 1); exit 1; }; }
41186 fi
41187 cat >conftest.$ac_ext <<_ACEOF
41188 /* confdefs.h.  */
41189 _ACEOF
41190 cat confdefs.h >>conftest.$ac_ext
41191 cat >>conftest.$ac_ext <<_ACEOF
41192 /* end confdefs.h.  */
41193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41194    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41195 #define $ac_func innocuous_$ac_func
41196
41197 /* System header to define __stub macros and hopefully few prototypes,
41198     which can conflict with char $ac_func (); below.
41199     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41200     <limits.h> exists even on freestanding compilers.  */
41201
41202 #ifdef __STDC__
41203 # include <limits.h>
41204 #else
41205 # include <assert.h>
41206 #endif
41207
41208 #undef $ac_func
41209
41210 /* Override any gcc2 internal prototype to avoid an error.  */
41211 #ifdef __cplusplus
41212 extern "C"
41213 {
41214 #endif
41215 /* We use char because int might match the return type of a gcc2
41216    builtin and then its argument prototype would still apply.  */
41217 char $ac_func ();
41218 /* The GNU C library defines this for functions which it implements
41219     to always fail with ENOSYS.  Some functions are actually named
41220     something starting with __ and the normal name is an alias.  */
41221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41222 choke me
41223 #else
41224 char (*f) () = $ac_func;
41225 #endif
41226 #ifdef __cplusplus
41227 }
41228 #endif
41229
41230 int
41231 main ()
41232 {
41233 return f != $ac_func;
41234   ;
41235   return 0;
41236 }
41237 _ACEOF
41238 rm -f conftest.$ac_objext conftest$ac_exeext
41239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41240   (eval $ac_link) 2>conftest.er1
41241   ac_status=$?
41242   grep -v '^ *+' conftest.er1 >conftest.err
41243   rm -f conftest.er1
41244   cat conftest.err >&5
41245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41246   (exit $ac_status); } &&
41247          { ac_try='test -z "$ac_c_werror_flag"
41248                          || test ! -s conftest.err'
41249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41250   (eval $ac_try) 2>&5
41251   ac_status=$?
41252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41253   (exit $ac_status); }; } &&
41254          { ac_try='test -s conftest$ac_exeext'
41255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41256   (eval $ac_try) 2>&5
41257   ac_status=$?
41258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41259   (exit $ac_status); }; }; then
41260   eval "$as_ac_var=yes"
41261 else
41262   echo "$as_me: failed program was:" >&5
41263 sed 's/^/| /' conftest.$ac_ext >&5
41264
41265 eval "$as_ac_var=no"
41266 fi
41267 rm -f conftest.err conftest.$ac_objext \
41268       conftest$ac_exeext conftest.$ac_ext
41269 fi
41270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41272 if test `eval echo '${'$as_ac_var'}'` = yes; then
41273   cat >>confdefs.h <<_ACEOF
41274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41275 _ACEOF
41276
41277 fi
41278 done
41279
41280     fi
41281   fi
41282
41283
41284
41285
41286
41287
41288     echo "$as_me:$LINENO: checking for long double trig functions" >&5
41289 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
41290   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
41291   echo $ECHO_N "(cached) $ECHO_C" >&6
41292 else
41293
41294
41295
41296     ac_ext=cc
41297 ac_cpp='$CXXCPP $CPPFLAGS'
41298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41301
41302     cat >conftest.$ac_ext <<_ACEOF
41303 /* confdefs.h.  */
41304 _ACEOF
41305 cat confdefs.h >>conftest.$ac_ext
41306 cat >>conftest.$ac_ext <<_ACEOF
41307 /* end confdefs.h.  */
41308 #include <math.h>
41309 int
41310 main ()
41311 {
41312 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41313   ;
41314   return 0;
41315 }
41316 _ACEOF
41317 rm -f conftest.$ac_objext
41318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41319   (eval $ac_compile) 2>conftest.er1
41320   ac_status=$?
41321   grep -v '^ *+' conftest.er1 >conftest.err
41322   rm -f conftest.er1
41323   cat conftest.err >&5
41324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41325   (exit $ac_status); } &&
41326          { ac_try='test -z "$ac_cxx_werror_flag"
41327                          || test ! -s conftest.err'
41328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41329   (eval $ac_try) 2>&5
41330   ac_status=$?
41331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41332   (exit $ac_status); }; } &&
41333          { ac_try='test -s conftest.$ac_objext'
41334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41335   (eval $ac_try) 2>&5
41336   ac_status=$?
41337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41338   (exit $ac_status); }; }; then
41339   glibcxx_cv_func_long_double_trig_use=yes
41340 else
41341   echo "$as_me: failed program was:" >&5
41342 sed 's/^/| /' conftest.$ac_ext >&5
41343
41344 glibcxx_cv_func_long_double_trig_use=no
41345 fi
41346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41347     ac_ext=c
41348 ac_cpp='$CPP $CPPFLAGS'
41349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41352
41353 fi
41354
41355   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
41356 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
41357   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41358
41359
41360
41361
41362
41363
41364
41365
41366
41367 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41368 do
41369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41370 echo "$as_me:$LINENO: checking for $ac_func" >&5
41371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41372 if eval "test \"\${$as_ac_var+set}\" = set"; then
41373   echo $ECHO_N "(cached) $ECHO_C" >&6
41374 else
41375   if test x$gcc_no_link = xyes; then
41376   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41378    { (exit 1); exit 1; }; }
41379 fi
41380 cat >conftest.$ac_ext <<_ACEOF
41381 /* confdefs.h.  */
41382 _ACEOF
41383 cat confdefs.h >>conftest.$ac_ext
41384 cat >>conftest.$ac_ext <<_ACEOF
41385 /* end confdefs.h.  */
41386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41387    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41388 #define $ac_func innocuous_$ac_func
41389
41390 /* System header to define __stub macros and hopefully few prototypes,
41391     which can conflict with char $ac_func (); below.
41392     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41393     <limits.h> exists even on freestanding compilers.  */
41394
41395 #ifdef __STDC__
41396 # include <limits.h>
41397 #else
41398 # include <assert.h>
41399 #endif
41400
41401 #undef $ac_func
41402
41403 /* Override any gcc2 internal prototype to avoid an error.  */
41404 #ifdef __cplusplus
41405 extern "C"
41406 {
41407 #endif
41408 /* We use char because int might match the return type of a gcc2
41409    builtin and then its argument prototype would still apply.  */
41410 char $ac_func ();
41411 /* The GNU C library defines this for functions which it implements
41412     to always fail with ENOSYS.  Some functions are actually named
41413     something starting with __ and the normal name is an alias.  */
41414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41415 choke me
41416 #else
41417 char (*f) () = $ac_func;
41418 #endif
41419 #ifdef __cplusplus
41420 }
41421 #endif
41422
41423 int
41424 main ()
41425 {
41426 return f != $ac_func;
41427   ;
41428   return 0;
41429 }
41430 _ACEOF
41431 rm -f conftest.$ac_objext conftest$ac_exeext
41432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41433   (eval $ac_link) 2>conftest.er1
41434   ac_status=$?
41435   grep -v '^ *+' conftest.er1 >conftest.err
41436   rm -f conftest.er1
41437   cat conftest.err >&5
41438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41439   (exit $ac_status); } &&
41440          { ac_try='test -z "$ac_c_werror_flag"
41441                          || test ! -s conftest.err'
41442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41443   (eval $ac_try) 2>&5
41444   ac_status=$?
41445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41446   (exit $ac_status); }; } &&
41447          { ac_try='test -s conftest$ac_exeext'
41448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41449   (eval $ac_try) 2>&5
41450   ac_status=$?
41451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41452   (exit $ac_status); }; }; then
41453   eval "$as_ac_var=yes"
41454 else
41455   echo "$as_me: failed program was:" >&5
41456 sed 's/^/| /' conftest.$ac_ext >&5
41457
41458 eval "$as_ac_var=no"
41459 fi
41460 rm -f conftest.err conftest.$ac_objext \
41461       conftest$ac_exeext conftest.$ac_ext
41462 fi
41463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41465 if test `eval echo '${'$as_ac_var'}'` = yes; then
41466   cat >>confdefs.h <<_ACEOF
41467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41468 _ACEOF
41469
41470 fi
41471 done
41472
41473   else
41474     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
41475 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
41476     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
41477   echo $ECHO_N "(cached) $ECHO_C" >&6
41478 else
41479
41480
41481
41482       ac_ext=cc
41483 ac_cpp='$CXXCPP $CPPFLAGS'
41484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41487
41488       cat >conftest.$ac_ext <<_ACEOF
41489 /* confdefs.h.  */
41490 _ACEOF
41491 cat confdefs.h >>conftest.$ac_ext
41492 cat >>conftest.$ac_ext <<_ACEOF
41493 /* end confdefs.h.  */
41494 #include <math.h>
41495 int
41496 main ()
41497 {
41498 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41499   ;
41500   return 0;
41501 }
41502 _ACEOF
41503 rm -f conftest.$ac_objext
41504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41505   (eval $ac_compile) 2>conftest.er1
41506   ac_status=$?
41507   grep -v '^ *+' conftest.er1 >conftest.err
41508   rm -f conftest.er1
41509   cat conftest.err >&5
41510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41511   (exit $ac_status); } &&
41512          { ac_try='test -z "$ac_cxx_werror_flag"
41513                          || test ! -s conftest.err'
41514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41515   (eval $ac_try) 2>&5
41516   ac_status=$?
41517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41518   (exit $ac_status); }; } &&
41519          { ac_try='test -s conftest.$ac_objext'
41520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41521   (eval $ac_try) 2>&5
41522   ac_status=$?
41523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41524   (exit $ac_status); }; }; then
41525   glibcxx_cv_func__long_double_trig_use=yes
41526 else
41527   echo "$as_me: failed program was:" >&5
41528 sed 's/^/| /' conftest.$ac_ext >&5
41529
41530 glibcxx_cv_func__long_double_trig_use=no
41531 fi
41532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41533       ac_ext=c
41534 ac_cpp='$CPP $CPPFLAGS'
41535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41538
41539 fi
41540
41541     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
41542 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
41543     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41544
41545
41546
41547
41548
41549
41550
41551
41552
41553 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41554 do
41555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41556 echo "$as_me:$LINENO: checking for $ac_func" >&5
41557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41558 if eval "test \"\${$as_ac_var+set}\" = set"; then
41559   echo $ECHO_N "(cached) $ECHO_C" >&6
41560 else
41561   if test x$gcc_no_link = xyes; then
41562   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41564    { (exit 1); exit 1; }; }
41565 fi
41566 cat >conftest.$ac_ext <<_ACEOF
41567 /* confdefs.h.  */
41568 _ACEOF
41569 cat confdefs.h >>conftest.$ac_ext
41570 cat >>conftest.$ac_ext <<_ACEOF
41571 /* end confdefs.h.  */
41572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41573    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41574 #define $ac_func innocuous_$ac_func
41575
41576 /* System header to define __stub macros and hopefully few prototypes,
41577     which can conflict with char $ac_func (); below.
41578     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41579     <limits.h> exists even on freestanding compilers.  */
41580
41581 #ifdef __STDC__
41582 # include <limits.h>
41583 #else
41584 # include <assert.h>
41585 #endif
41586
41587 #undef $ac_func
41588
41589 /* Override any gcc2 internal prototype to avoid an error.  */
41590 #ifdef __cplusplus
41591 extern "C"
41592 {
41593 #endif
41594 /* We use char because int might match the return type of a gcc2
41595    builtin and then its argument prototype would still apply.  */
41596 char $ac_func ();
41597 /* The GNU C library defines this for functions which it implements
41598     to always fail with ENOSYS.  Some functions are actually named
41599     something starting with __ and the normal name is an alias.  */
41600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41601 choke me
41602 #else
41603 char (*f) () = $ac_func;
41604 #endif
41605 #ifdef __cplusplus
41606 }
41607 #endif
41608
41609 int
41610 main ()
41611 {
41612 return f != $ac_func;
41613   ;
41614   return 0;
41615 }
41616 _ACEOF
41617 rm -f conftest.$ac_objext conftest$ac_exeext
41618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41619   (eval $ac_link) 2>conftest.er1
41620   ac_status=$?
41621   grep -v '^ *+' conftest.er1 >conftest.err
41622   rm -f conftest.er1
41623   cat conftest.err >&5
41624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41625   (exit $ac_status); } &&
41626          { ac_try='test -z "$ac_c_werror_flag"
41627                          || test ! -s conftest.err'
41628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41629   (eval $ac_try) 2>&5
41630   ac_status=$?
41631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41632   (exit $ac_status); }; } &&
41633          { ac_try='test -s conftest$ac_exeext'
41634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41635   (eval $ac_try) 2>&5
41636   ac_status=$?
41637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41638   (exit $ac_status); }; }; then
41639   eval "$as_ac_var=yes"
41640 else
41641   echo "$as_me: failed program was:" >&5
41642 sed 's/^/| /' conftest.$ac_ext >&5
41643
41644 eval "$as_ac_var=no"
41645 fi
41646 rm -f conftest.err conftest.$ac_objext \
41647       conftest$ac_exeext conftest.$ac_ext
41648 fi
41649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41651 if test `eval echo '${'$as_ac_var'}'` = yes; then
41652   cat >>confdefs.h <<_ACEOF
41653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41654 _ACEOF
41655
41656 fi
41657 done
41658
41659     fi
41660   fi
41661
41662
41663
41664
41665
41666
41667
41668
41669
41670
41671
41672
41673
41674
41675     echo "$as_me:$LINENO: checking for long double round functions" >&5
41676 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
41677   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
41678   echo $ECHO_N "(cached) $ECHO_C" >&6
41679 else
41680
41681
41682
41683     ac_ext=cc
41684 ac_cpp='$CXXCPP $CPPFLAGS'
41685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41688
41689     cat >conftest.$ac_ext <<_ACEOF
41690 /* confdefs.h.  */
41691 _ACEOF
41692 cat confdefs.h >>conftest.$ac_ext
41693 cat >>conftest.$ac_ext <<_ACEOF
41694 /* end confdefs.h.  */
41695 #include <math.h>
41696 int
41697 main ()
41698 {
41699 ceill (0); floorl (0);
41700   ;
41701   return 0;
41702 }
41703 _ACEOF
41704 rm -f conftest.$ac_objext
41705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41706   (eval $ac_compile) 2>conftest.er1
41707   ac_status=$?
41708   grep -v '^ *+' conftest.er1 >conftest.err
41709   rm -f conftest.er1
41710   cat conftest.err >&5
41711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41712   (exit $ac_status); } &&
41713          { ac_try='test -z "$ac_cxx_werror_flag"
41714                          || test ! -s conftest.err'
41715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41716   (eval $ac_try) 2>&5
41717   ac_status=$?
41718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41719   (exit $ac_status); }; } &&
41720          { ac_try='test -s conftest.$ac_objext'
41721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41722   (eval $ac_try) 2>&5
41723   ac_status=$?
41724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41725   (exit $ac_status); }; }; then
41726   glibcxx_cv_func_long_double_round_use=yes
41727 else
41728   echo "$as_me: failed program was:" >&5
41729 sed 's/^/| /' conftest.$ac_ext >&5
41730
41731 glibcxx_cv_func_long_double_round_use=no
41732 fi
41733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41734     ac_ext=c
41735 ac_cpp='$CPP $CPPFLAGS'
41736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41739
41740 fi
41741
41742   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
41743 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
41744   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41745
41746
41747 for ac_func in ceill floorl
41748 do
41749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41750 echo "$as_me:$LINENO: checking for $ac_func" >&5
41751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41752 if eval "test \"\${$as_ac_var+set}\" = set"; then
41753   echo $ECHO_N "(cached) $ECHO_C" >&6
41754 else
41755   if test x$gcc_no_link = xyes; then
41756   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41758    { (exit 1); exit 1; }; }
41759 fi
41760 cat >conftest.$ac_ext <<_ACEOF
41761 /* confdefs.h.  */
41762 _ACEOF
41763 cat confdefs.h >>conftest.$ac_ext
41764 cat >>conftest.$ac_ext <<_ACEOF
41765 /* end confdefs.h.  */
41766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41767    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41768 #define $ac_func innocuous_$ac_func
41769
41770 /* System header to define __stub macros and hopefully few prototypes,
41771     which can conflict with char $ac_func (); below.
41772     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41773     <limits.h> exists even on freestanding compilers.  */
41774
41775 #ifdef __STDC__
41776 # include <limits.h>
41777 #else
41778 # include <assert.h>
41779 #endif
41780
41781 #undef $ac_func
41782
41783 /* Override any gcc2 internal prototype to avoid an error.  */
41784 #ifdef __cplusplus
41785 extern "C"
41786 {
41787 #endif
41788 /* We use char because int might match the return type of a gcc2
41789    builtin and then its argument prototype would still apply.  */
41790 char $ac_func ();
41791 /* The GNU C library defines this for functions which it implements
41792     to always fail with ENOSYS.  Some functions are actually named
41793     something starting with __ and the normal name is an alias.  */
41794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41795 choke me
41796 #else
41797 char (*f) () = $ac_func;
41798 #endif
41799 #ifdef __cplusplus
41800 }
41801 #endif
41802
41803 int
41804 main ()
41805 {
41806 return f != $ac_func;
41807   ;
41808   return 0;
41809 }
41810 _ACEOF
41811 rm -f conftest.$ac_objext conftest$ac_exeext
41812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41813   (eval $ac_link) 2>conftest.er1
41814   ac_status=$?
41815   grep -v '^ *+' conftest.er1 >conftest.err
41816   rm -f conftest.er1
41817   cat conftest.err >&5
41818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41819   (exit $ac_status); } &&
41820          { ac_try='test -z "$ac_c_werror_flag"
41821                          || test ! -s conftest.err'
41822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41823   (eval $ac_try) 2>&5
41824   ac_status=$?
41825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41826   (exit $ac_status); }; } &&
41827          { ac_try='test -s conftest$ac_exeext'
41828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41829   (eval $ac_try) 2>&5
41830   ac_status=$?
41831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41832   (exit $ac_status); }; }; then
41833   eval "$as_ac_var=yes"
41834 else
41835   echo "$as_me: failed program was:" >&5
41836 sed 's/^/| /' conftest.$ac_ext >&5
41837
41838 eval "$as_ac_var=no"
41839 fi
41840 rm -f conftest.err conftest.$ac_objext \
41841       conftest$ac_exeext conftest.$ac_ext
41842 fi
41843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41845 if test `eval echo '${'$as_ac_var'}'` = yes; then
41846   cat >>confdefs.h <<_ACEOF
41847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41848 _ACEOF
41849
41850 fi
41851 done
41852
41853   else
41854     echo "$as_me:$LINENO: checking for _long double round functions" >&5
41855 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
41856     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
41857   echo $ECHO_N "(cached) $ECHO_C" >&6
41858 else
41859
41860
41861
41862       ac_ext=cc
41863 ac_cpp='$CXXCPP $CPPFLAGS'
41864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41867
41868       cat >conftest.$ac_ext <<_ACEOF
41869 /* confdefs.h.  */
41870 _ACEOF
41871 cat confdefs.h >>conftest.$ac_ext
41872 cat >>conftest.$ac_ext <<_ACEOF
41873 /* end confdefs.h.  */
41874 #include <math.h>
41875 int
41876 main ()
41877 {
41878 _ceill (0); _floorl (0);
41879   ;
41880   return 0;
41881 }
41882 _ACEOF
41883 rm -f conftest.$ac_objext
41884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41885   (eval $ac_compile) 2>conftest.er1
41886   ac_status=$?
41887   grep -v '^ *+' conftest.er1 >conftest.err
41888   rm -f conftest.er1
41889   cat conftest.err >&5
41890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41891   (exit $ac_status); } &&
41892          { ac_try='test -z "$ac_cxx_werror_flag"
41893                          || test ! -s conftest.err'
41894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41895   (eval $ac_try) 2>&5
41896   ac_status=$?
41897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41898   (exit $ac_status); }; } &&
41899          { ac_try='test -s conftest.$ac_objext'
41900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41901   (eval $ac_try) 2>&5
41902   ac_status=$?
41903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41904   (exit $ac_status); }; }; then
41905   glibcxx_cv_func__long_double_round_use=yes
41906 else
41907   echo "$as_me: failed program was:" >&5
41908 sed 's/^/| /' conftest.$ac_ext >&5
41909
41910 glibcxx_cv_func__long_double_round_use=no
41911 fi
41912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41913       ac_ext=c
41914 ac_cpp='$CPP $CPPFLAGS'
41915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41918
41919 fi
41920
41921     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
41922 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
41923     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41924
41925
41926 for ac_func in _ceill _floorl
41927 do
41928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41929 echo "$as_me:$LINENO: checking for $ac_func" >&5
41930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41931 if eval "test \"\${$as_ac_var+set}\" = set"; then
41932   echo $ECHO_N "(cached) $ECHO_C" >&6
41933 else
41934   if test x$gcc_no_link = xyes; then
41935   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41937    { (exit 1); exit 1; }; }
41938 fi
41939 cat >conftest.$ac_ext <<_ACEOF
41940 /* confdefs.h.  */
41941 _ACEOF
41942 cat confdefs.h >>conftest.$ac_ext
41943 cat >>conftest.$ac_ext <<_ACEOF
41944 /* end confdefs.h.  */
41945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41946    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41947 #define $ac_func innocuous_$ac_func
41948
41949 /* System header to define __stub macros and hopefully few prototypes,
41950     which can conflict with char $ac_func (); below.
41951     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41952     <limits.h> exists even on freestanding compilers.  */
41953
41954 #ifdef __STDC__
41955 # include <limits.h>
41956 #else
41957 # include <assert.h>
41958 #endif
41959
41960 #undef $ac_func
41961
41962 /* Override any gcc2 internal prototype to avoid an error.  */
41963 #ifdef __cplusplus
41964 extern "C"
41965 {
41966 #endif
41967 /* We use char because int might match the return type of a gcc2
41968    builtin and then its argument prototype would still apply.  */
41969 char $ac_func ();
41970 /* The GNU C library defines this for functions which it implements
41971     to always fail with ENOSYS.  Some functions are actually named
41972     something starting with __ and the normal name is an alias.  */
41973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41974 choke me
41975 #else
41976 char (*f) () = $ac_func;
41977 #endif
41978 #ifdef __cplusplus
41979 }
41980 #endif
41981
41982 int
41983 main ()
41984 {
41985 return f != $ac_func;
41986   ;
41987   return 0;
41988 }
41989 _ACEOF
41990 rm -f conftest.$ac_objext conftest$ac_exeext
41991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41992   (eval $ac_link) 2>conftest.er1
41993   ac_status=$?
41994   grep -v '^ *+' conftest.er1 >conftest.err
41995   rm -f conftest.er1
41996   cat conftest.err >&5
41997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41998   (exit $ac_status); } &&
41999          { ac_try='test -z "$ac_c_werror_flag"
42000                          || test ! -s conftest.err'
42001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42002   (eval $ac_try) 2>&5
42003   ac_status=$?
42004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42005   (exit $ac_status); }; } &&
42006          { ac_try='test -s conftest$ac_exeext'
42007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42008   (eval $ac_try) 2>&5
42009   ac_status=$?
42010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42011   (exit $ac_status); }; }; then
42012   eval "$as_ac_var=yes"
42013 else
42014   echo "$as_me: failed program was:" >&5
42015 sed 's/^/| /' conftest.$ac_ext >&5
42016
42017 eval "$as_ac_var=no"
42018 fi
42019 rm -f conftest.err conftest.$ac_objext \
42020       conftest$ac_exeext conftest.$ac_ext
42021 fi
42022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42024 if test `eval echo '${'$as_ac_var'}'` = yes; then
42025   cat >>confdefs.h <<_ACEOF
42026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42027 _ACEOF
42028
42029 fi
42030 done
42031
42032     fi
42033   fi
42034
42035
42036
42037
42038
42039
42040
42041
42042   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
42043 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
42044   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42045     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
42046   echo $ECHO_N "(cached) $ECHO_C" >&6
42047 else
42048
42049
42050
42051       ac_ext=cc
42052 ac_cpp='$CXXCPP $CPPFLAGS'
42053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42056
42057       cat >conftest.$ac_ext <<_ACEOF
42058 /* confdefs.h.  */
42059 _ACEOF
42060 cat confdefs.h >>conftest.$ac_ext
42061 cat >>conftest.$ac_ext <<_ACEOF
42062 /* end confdefs.h.  */
42063 #include <math.h>
42064                       #ifdef HAVE_IEEEFP_H
42065                       #include <ieeefp.h>
42066                       #endif
42067
42068 int
42069 main ()
42070 {
42071  isnanl(0);
42072   ;
42073   return 0;
42074 }
42075 _ACEOF
42076 rm -f conftest.$ac_objext
42077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42078   (eval $ac_compile) 2>conftest.er1
42079   ac_status=$?
42080   grep -v '^ *+' conftest.er1 >conftest.err
42081   rm -f conftest.er1
42082   cat conftest.err >&5
42083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42084   (exit $ac_status); } &&
42085          { ac_try='test -z "$ac_cxx_werror_flag"
42086                          || test ! -s conftest.err'
42087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42088   (eval $ac_try) 2>&5
42089   ac_status=$?
42090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42091   (exit $ac_status); }; } &&
42092          { ac_try='test -s conftest.$ac_objext'
42093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42094   (eval $ac_try) 2>&5
42095   ac_status=$?
42096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42097   (exit $ac_status); }; }; then
42098   glibcxx_cv_func_isnanl_use=yes
42099 else
42100   echo "$as_me: failed program was:" >&5
42101 sed 's/^/| /' conftest.$ac_ext >&5
42102
42103 glibcxx_cv_func_isnanl_use=no
42104 fi
42105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42106       ac_ext=c
42107 ac_cpp='$CPP $CPPFLAGS'
42108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42111
42112
42113 fi
42114
42115   fi
42116   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
42117 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
42118
42119   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42120
42121 for ac_func in isnanl
42122 do
42123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42124 echo "$as_me:$LINENO: checking for $ac_func" >&5
42125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42126 if eval "test \"\${$as_ac_var+set}\" = set"; then
42127   echo $ECHO_N "(cached) $ECHO_C" >&6
42128 else
42129   if test x$gcc_no_link = xyes; then
42130   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42132    { (exit 1); exit 1; }; }
42133 fi
42134 cat >conftest.$ac_ext <<_ACEOF
42135 /* confdefs.h.  */
42136 _ACEOF
42137 cat confdefs.h >>conftest.$ac_ext
42138 cat >>conftest.$ac_ext <<_ACEOF
42139 /* end confdefs.h.  */
42140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42141    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42142 #define $ac_func innocuous_$ac_func
42143
42144 /* System header to define __stub macros and hopefully few prototypes,
42145     which can conflict with char $ac_func (); below.
42146     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42147     <limits.h> exists even on freestanding compilers.  */
42148
42149 #ifdef __STDC__
42150 # include <limits.h>
42151 #else
42152 # include <assert.h>
42153 #endif
42154
42155 #undef $ac_func
42156
42157 /* Override any gcc2 internal prototype to avoid an error.  */
42158 #ifdef __cplusplus
42159 extern "C"
42160 {
42161 #endif
42162 /* We use char because int might match the return type of a gcc2
42163    builtin and then its argument prototype would still apply.  */
42164 char $ac_func ();
42165 /* The GNU C library defines this for functions which it implements
42166     to always fail with ENOSYS.  Some functions are actually named
42167     something starting with __ and the normal name is an alias.  */
42168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42169 choke me
42170 #else
42171 char (*f) () = $ac_func;
42172 #endif
42173 #ifdef __cplusplus
42174 }
42175 #endif
42176
42177 int
42178 main ()
42179 {
42180 return f != $ac_func;
42181   ;
42182   return 0;
42183 }
42184 _ACEOF
42185 rm -f conftest.$ac_objext conftest$ac_exeext
42186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42187   (eval $ac_link) 2>conftest.er1
42188   ac_status=$?
42189   grep -v '^ *+' conftest.er1 >conftest.err
42190   rm -f conftest.er1
42191   cat conftest.err >&5
42192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42193   (exit $ac_status); } &&
42194          { ac_try='test -z "$ac_c_werror_flag"
42195                          || test ! -s conftest.err'
42196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42197   (eval $ac_try) 2>&5
42198   ac_status=$?
42199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42200   (exit $ac_status); }; } &&
42201          { ac_try='test -s conftest$ac_exeext'
42202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42203   (eval $ac_try) 2>&5
42204   ac_status=$?
42205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42206   (exit $ac_status); }; }; then
42207   eval "$as_ac_var=yes"
42208 else
42209   echo "$as_me: failed program was:" >&5
42210 sed 's/^/| /' conftest.$ac_ext >&5
42211
42212 eval "$as_ac_var=no"
42213 fi
42214 rm -f conftest.err conftest.$ac_objext \
42215       conftest$ac_exeext conftest.$ac_ext
42216 fi
42217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42219 if test `eval echo '${'$as_ac_var'}'` = yes; then
42220   cat >>confdefs.h <<_ACEOF
42221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42222 _ACEOF
42223
42224 fi
42225 done
42226
42227   else
42228
42229   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
42230 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
42231   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42232     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
42233   echo $ECHO_N "(cached) $ECHO_C" >&6
42234 else
42235
42236
42237
42238       ac_ext=cc
42239 ac_cpp='$CXXCPP $CPPFLAGS'
42240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42243
42244       cat >conftest.$ac_ext <<_ACEOF
42245 /* confdefs.h.  */
42246 _ACEOF
42247 cat confdefs.h >>conftest.$ac_ext
42248 cat >>conftest.$ac_ext <<_ACEOF
42249 /* end confdefs.h.  */
42250 #include <math.h>
42251                       #ifdef HAVE_IEEEFP_H
42252                       #include <ieeefp.h>
42253                       #endif
42254
42255 int
42256 main ()
42257 {
42258  _isnanl(0);
42259   ;
42260   return 0;
42261 }
42262 _ACEOF
42263 rm -f conftest.$ac_objext
42264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42265   (eval $ac_compile) 2>conftest.er1
42266   ac_status=$?
42267   grep -v '^ *+' conftest.er1 >conftest.err
42268   rm -f conftest.er1
42269   cat conftest.err >&5
42270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42271   (exit $ac_status); } &&
42272          { ac_try='test -z "$ac_cxx_werror_flag"
42273                          || test ! -s conftest.err'
42274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42275   (eval $ac_try) 2>&5
42276   ac_status=$?
42277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42278   (exit $ac_status); }; } &&
42279          { ac_try='test -s conftest.$ac_objext'
42280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42281   (eval $ac_try) 2>&5
42282   ac_status=$?
42283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42284   (exit $ac_status); }; }; then
42285   glibcxx_cv_func__isnanl_use=yes
42286 else
42287   echo "$as_me: failed program was:" >&5
42288 sed 's/^/| /' conftest.$ac_ext >&5
42289
42290 glibcxx_cv_func__isnanl_use=no
42291 fi
42292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42293       ac_ext=c
42294 ac_cpp='$CPP $CPPFLAGS'
42295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42298
42299
42300 fi
42301
42302   fi
42303   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
42304 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
42305
42306     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42307
42308 for ac_func in _isnanl
42309 do
42310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42311 echo "$as_me:$LINENO: checking for $ac_func" >&5
42312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42313 if eval "test \"\${$as_ac_var+set}\" = set"; then
42314   echo $ECHO_N "(cached) $ECHO_C" >&6
42315 else
42316   if test x$gcc_no_link = xyes; then
42317   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42319    { (exit 1); exit 1; }; }
42320 fi
42321 cat >conftest.$ac_ext <<_ACEOF
42322 /* confdefs.h.  */
42323 _ACEOF
42324 cat confdefs.h >>conftest.$ac_ext
42325 cat >>conftest.$ac_ext <<_ACEOF
42326 /* end confdefs.h.  */
42327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42328    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42329 #define $ac_func innocuous_$ac_func
42330
42331 /* System header to define __stub macros and hopefully few prototypes,
42332     which can conflict with char $ac_func (); below.
42333     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42334     <limits.h> exists even on freestanding compilers.  */
42335
42336 #ifdef __STDC__
42337 # include <limits.h>
42338 #else
42339 # include <assert.h>
42340 #endif
42341
42342 #undef $ac_func
42343
42344 /* Override any gcc2 internal prototype to avoid an error.  */
42345 #ifdef __cplusplus
42346 extern "C"
42347 {
42348 #endif
42349 /* We use char because int might match the return type of a gcc2
42350    builtin and then its argument prototype would still apply.  */
42351 char $ac_func ();
42352 /* The GNU C library defines this for functions which it implements
42353     to always fail with ENOSYS.  Some functions are actually named
42354     something starting with __ and the normal name is an alias.  */
42355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42356 choke me
42357 #else
42358 char (*f) () = $ac_func;
42359 #endif
42360 #ifdef __cplusplus
42361 }
42362 #endif
42363
42364 int
42365 main ()
42366 {
42367 return f != $ac_func;
42368   ;
42369   return 0;
42370 }
42371 _ACEOF
42372 rm -f conftest.$ac_objext conftest$ac_exeext
42373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42374   (eval $ac_link) 2>conftest.er1
42375   ac_status=$?
42376   grep -v '^ *+' conftest.er1 >conftest.err
42377   rm -f conftest.er1
42378   cat conftest.err >&5
42379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42380   (exit $ac_status); } &&
42381          { ac_try='test -z "$ac_c_werror_flag"
42382                          || test ! -s conftest.err'
42383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42384   (eval $ac_try) 2>&5
42385   ac_status=$?
42386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42387   (exit $ac_status); }; } &&
42388          { ac_try='test -s conftest$ac_exeext'
42389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42390   (eval $ac_try) 2>&5
42391   ac_status=$?
42392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42393   (exit $ac_status); }; }; then
42394   eval "$as_ac_var=yes"
42395 else
42396   echo "$as_me: failed program was:" >&5
42397 sed 's/^/| /' conftest.$ac_ext >&5
42398
42399 eval "$as_ac_var=no"
42400 fi
42401 rm -f conftest.err conftest.$ac_objext \
42402       conftest$ac_exeext conftest.$ac_ext
42403 fi
42404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42406 if test `eval echo '${'$as_ac_var'}'` = yes; then
42407   cat >>confdefs.h <<_ACEOF
42408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42409 _ACEOF
42410
42411 fi
42412 done
42413
42414     fi
42415   fi
42416
42417
42418
42419
42420
42421
42422   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
42423 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
42424   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42425     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
42426   echo $ECHO_N "(cached) $ECHO_C" >&6
42427 else
42428
42429
42430
42431       ac_ext=cc
42432 ac_cpp='$CXXCPP $CPPFLAGS'
42433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42436
42437       cat >conftest.$ac_ext <<_ACEOF
42438 /* confdefs.h.  */
42439 _ACEOF
42440 cat confdefs.h >>conftest.$ac_ext
42441 cat >>conftest.$ac_ext <<_ACEOF
42442 /* end confdefs.h.  */
42443 #include <math.h>
42444                       #ifdef HAVE_IEEEFP_H
42445                       #include <ieeefp.h>
42446                       #endif
42447
42448 int
42449 main ()
42450 {
42451  isinfl(0);
42452   ;
42453   return 0;
42454 }
42455 _ACEOF
42456 rm -f conftest.$ac_objext
42457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42458   (eval $ac_compile) 2>conftest.er1
42459   ac_status=$?
42460   grep -v '^ *+' conftest.er1 >conftest.err
42461   rm -f conftest.er1
42462   cat conftest.err >&5
42463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42464   (exit $ac_status); } &&
42465          { ac_try='test -z "$ac_cxx_werror_flag"
42466                          || test ! -s conftest.err'
42467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42468   (eval $ac_try) 2>&5
42469   ac_status=$?
42470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42471   (exit $ac_status); }; } &&
42472          { ac_try='test -s conftest.$ac_objext'
42473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42474   (eval $ac_try) 2>&5
42475   ac_status=$?
42476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42477   (exit $ac_status); }; }; then
42478   glibcxx_cv_func_isinfl_use=yes
42479 else
42480   echo "$as_me: failed program was:" >&5
42481 sed 's/^/| /' conftest.$ac_ext >&5
42482
42483 glibcxx_cv_func_isinfl_use=no
42484 fi
42485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42486       ac_ext=c
42487 ac_cpp='$CPP $CPPFLAGS'
42488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42491
42492
42493 fi
42494
42495   fi
42496   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
42497 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
42498
42499   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42500
42501 for ac_func in isinfl
42502 do
42503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42504 echo "$as_me:$LINENO: checking for $ac_func" >&5
42505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42506 if eval "test \"\${$as_ac_var+set}\" = set"; then
42507   echo $ECHO_N "(cached) $ECHO_C" >&6
42508 else
42509   if test x$gcc_no_link = xyes; then
42510   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42512    { (exit 1); exit 1; }; }
42513 fi
42514 cat >conftest.$ac_ext <<_ACEOF
42515 /* confdefs.h.  */
42516 _ACEOF
42517 cat confdefs.h >>conftest.$ac_ext
42518 cat >>conftest.$ac_ext <<_ACEOF
42519 /* end confdefs.h.  */
42520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42521    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42522 #define $ac_func innocuous_$ac_func
42523
42524 /* System header to define __stub macros and hopefully few prototypes,
42525     which can conflict with char $ac_func (); below.
42526     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42527     <limits.h> exists even on freestanding compilers.  */
42528
42529 #ifdef __STDC__
42530 # include <limits.h>
42531 #else
42532 # include <assert.h>
42533 #endif
42534
42535 #undef $ac_func
42536
42537 /* Override any gcc2 internal prototype to avoid an error.  */
42538 #ifdef __cplusplus
42539 extern "C"
42540 {
42541 #endif
42542 /* We use char because int might match the return type of a gcc2
42543    builtin and then its argument prototype would still apply.  */
42544 char $ac_func ();
42545 /* The GNU C library defines this for functions which it implements
42546     to always fail with ENOSYS.  Some functions are actually named
42547     something starting with __ and the normal name is an alias.  */
42548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42549 choke me
42550 #else
42551 char (*f) () = $ac_func;
42552 #endif
42553 #ifdef __cplusplus
42554 }
42555 #endif
42556
42557 int
42558 main ()
42559 {
42560 return f != $ac_func;
42561   ;
42562   return 0;
42563 }
42564 _ACEOF
42565 rm -f conftest.$ac_objext conftest$ac_exeext
42566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42567   (eval $ac_link) 2>conftest.er1
42568   ac_status=$?
42569   grep -v '^ *+' conftest.er1 >conftest.err
42570   rm -f conftest.er1
42571   cat conftest.err >&5
42572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42573   (exit $ac_status); } &&
42574          { ac_try='test -z "$ac_c_werror_flag"
42575                          || test ! -s conftest.err'
42576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42577   (eval $ac_try) 2>&5
42578   ac_status=$?
42579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42580   (exit $ac_status); }; } &&
42581          { ac_try='test -s conftest$ac_exeext'
42582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42583   (eval $ac_try) 2>&5
42584   ac_status=$?
42585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42586   (exit $ac_status); }; }; then
42587   eval "$as_ac_var=yes"
42588 else
42589   echo "$as_me: failed program was:" >&5
42590 sed 's/^/| /' conftest.$ac_ext >&5
42591
42592 eval "$as_ac_var=no"
42593 fi
42594 rm -f conftest.err conftest.$ac_objext \
42595       conftest$ac_exeext conftest.$ac_ext
42596 fi
42597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42599 if test `eval echo '${'$as_ac_var'}'` = yes; then
42600   cat >>confdefs.h <<_ACEOF
42601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42602 _ACEOF
42603
42604 fi
42605 done
42606
42607   else
42608
42609   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
42610 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
42611   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42612     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
42613   echo $ECHO_N "(cached) $ECHO_C" >&6
42614 else
42615
42616
42617
42618       ac_ext=cc
42619 ac_cpp='$CXXCPP $CPPFLAGS'
42620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42623
42624       cat >conftest.$ac_ext <<_ACEOF
42625 /* confdefs.h.  */
42626 _ACEOF
42627 cat confdefs.h >>conftest.$ac_ext
42628 cat >>conftest.$ac_ext <<_ACEOF
42629 /* end confdefs.h.  */
42630 #include <math.h>
42631                       #ifdef HAVE_IEEEFP_H
42632                       #include <ieeefp.h>
42633                       #endif
42634
42635 int
42636 main ()
42637 {
42638  _isinfl(0);
42639   ;
42640   return 0;
42641 }
42642 _ACEOF
42643 rm -f conftest.$ac_objext
42644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42645   (eval $ac_compile) 2>conftest.er1
42646   ac_status=$?
42647   grep -v '^ *+' conftest.er1 >conftest.err
42648   rm -f conftest.er1
42649   cat conftest.err >&5
42650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42651   (exit $ac_status); } &&
42652          { ac_try='test -z "$ac_cxx_werror_flag"
42653                          || test ! -s conftest.err'
42654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42655   (eval $ac_try) 2>&5
42656   ac_status=$?
42657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42658   (exit $ac_status); }; } &&
42659          { ac_try='test -s conftest.$ac_objext'
42660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42661   (eval $ac_try) 2>&5
42662   ac_status=$?
42663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42664   (exit $ac_status); }; }; then
42665   glibcxx_cv_func__isinfl_use=yes
42666 else
42667   echo "$as_me: failed program was:" >&5
42668 sed 's/^/| /' conftest.$ac_ext >&5
42669
42670 glibcxx_cv_func__isinfl_use=no
42671 fi
42672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42673       ac_ext=c
42674 ac_cpp='$CPP $CPPFLAGS'
42675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42678
42679
42680 fi
42681
42682   fi
42683   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
42684 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
42685
42686     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42687
42688 for ac_func in _isinfl
42689 do
42690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42691 echo "$as_me:$LINENO: checking for $ac_func" >&5
42692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42693 if eval "test \"\${$as_ac_var+set}\" = set"; then
42694   echo $ECHO_N "(cached) $ECHO_C" >&6
42695 else
42696   if test x$gcc_no_link = xyes; then
42697   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42699    { (exit 1); exit 1; }; }
42700 fi
42701 cat >conftest.$ac_ext <<_ACEOF
42702 /* confdefs.h.  */
42703 _ACEOF
42704 cat confdefs.h >>conftest.$ac_ext
42705 cat >>conftest.$ac_ext <<_ACEOF
42706 /* end confdefs.h.  */
42707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42708    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42709 #define $ac_func innocuous_$ac_func
42710
42711 /* System header to define __stub macros and hopefully few prototypes,
42712     which can conflict with char $ac_func (); below.
42713     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42714     <limits.h> exists even on freestanding compilers.  */
42715
42716 #ifdef __STDC__
42717 # include <limits.h>
42718 #else
42719 # include <assert.h>
42720 #endif
42721
42722 #undef $ac_func
42723
42724 /* Override any gcc2 internal prototype to avoid an error.  */
42725 #ifdef __cplusplus
42726 extern "C"
42727 {
42728 #endif
42729 /* We use char because int might match the return type of a gcc2
42730    builtin and then its argument prototype would still apply.  */
42731 char $ac_func ();
42732 /* The GNU C library defines this for functions which it implements
42733     to always fail with ENOSYS.  Some functions are actually named
42734     something starting with __ and the normal name is an alias.  */
42735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42736 choke me
42737 #else
42738 char (*f) () = $ac_func;
42739 #endif
42740 #ifdef __cplusplus
42741 }
42742 #endif
42743
42744 int
42745 main ()
42746 {
42747 return f != $ac_func;
42748   ;
42749   return 0;
42750 }
42751 _ACEOF
42752 rm -f conftest.$ac_objext conftest$ac_exeext
42753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42754   (eval $ac_link) 2>conftest.er1
42755   ac_status=$?
42756   grep -v '^ *+' conftest.er1 >conftest.err
42757   rm -f conftest.er1
42758   cat conftest.err >&5
42759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42760   (exit $ac_status); } &&
42761          { ac_try='test -z "$ac_c_werror_flag"
42762                          || test ! -s conftest.err'
42763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42764   (eval $ac_try) 2>&5
42765   ac_status=$?
42766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42767   (exit $ac_status); }; } &&
42768          { ac_try='test -s conftest$ac_exeext'
42769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42770   (eval $ac_try) 2>&5
42771   ac_status=$?
42772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42773   (exit $ac_status); }; }; then
42774   eval "$as_ac_var=yes"
42775 else
42776   echo "$as_me: failed program was:" >&5
42777 sed 's/^/| /' conftest.$ac_ext >&5
42778
42779 eval "$as_ac_var=no"
42780 fi
42781 rm -f conftest.err conftest.$ac_objext \
42782       conftest$ac_exeext conftest.$ac_ext
42783 fi
42784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42786 if test `eval echo '${'$as_ac_var'}'` = yes; then
42787   cat >>confdefs.h <<_ACEOF
42788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42789 _ACEOF
42790
42791 fi
42792 done
42793
42794     fi
42795   fi
42796
42797
42798
42799
42800
42801
42802   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
42803 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
42804   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
42805     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
42806   echo $ECHO_N "(cached) $ECHO_C" >&6
42807 else
42808
42809
42810
42811       ac_ext=cc
42812 ac_cpp='$CXXCPP $CPPFLAGS'
42813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42816
42817       cat >conftest.$ac_ext <<_ACEOF
42818 /* confdefs.h.  */
42819 _ACEOF
42820 cat confdefs.h >>conftest.$ac_ext
42821 cat >>conftest.$ac_ext <<_ACEOF
42822 /* end confdefs.h.  */
42823 #include <math.h>
42824 int
42825 main ()
42826 {
42827  copysignl(0, 0);
42828   ;
42829   return 0;
42830 }
42831 _ACEOF
42832 rm -f conftest.$ac_objext
42833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42834   (eval $ac_compile) 2>conftest.er1
42835   ac_status=$?
42836   grep -v '^ *+' conftest.er1 >conftest.err
42837   rm -f conftest.er1
42838   cat conftest.err >&5
42839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42840   (exit $ac_status); } &&
42841          { ac_try='test -z "$ac_cxx_werror_flag"
42842                          || test ! -s conftest.err'
42843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42844   (eval $ac_try) 2>&5
42845   ac_status=$?
42846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42847   (exit $ac_status); }; } &&
42848          { ac_try='test -s conftest.$ac_objext'
42849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42850   (eval $ac_try) 2>&5
42851   ac_status=$?
42852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42853   (exit $ac_status); }; }; then
42854   glibcxx_cv_func_copysignl_use=yes
42855 else
42856   echo "$as_me: failed program was:" >&5
42857 sed 's/^/| /' conftest.$ac_ext >&5
42858
42859 glibcxx_cv_func_copysignl_use=no
42860 fi
42861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42862       ac_ext=c
42863 ac_cpp='$CPP $CPPFLAGS'
42864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42867
42868
42869 fi
42870
42871   fi
42872   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
42873 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
42874
42875   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
42876
42877 for ac_func in copysignl
42878 do
42879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42880 echo "$as_me:$LINENO: checking for $ac_func" >&5
42881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42882 if eval "test \"\${$as_ac_var+set}\" = set"; then
42883   echo $ECHO_N "(cached) $ECHO_C" >&6
42884 else
42885   if test x$gcc_no_link = xyes; then
42886   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42888    { (exit 1); exit 1; }; }
42889 fi
42890 cat >conftest.$ac_ext <<_ACEOF
42891 /* confdefs.h.  */
42892 _ACEOF
42893 cat confdefs.h >>conftest.$ac_ext
42894 cat >>conftest.$ac_ext <<_ACEOF
42895 /* end confdefs.h.  */
42896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42897    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42898 #define $ac_func innocuous_$ac_func
42899
42900 /* System header to define __stub macros and hopefully few prototypes,
42901     which can conflict with char $ac_func (); below.
42902     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42903     <limits.h> exists even on freestanding compilers.  */
42904
42905 #ifdef __STDC__
42906 # include <limits.h>
42907 #else
42908 # include <assert.h>
42909 #endif
42910
42911 #undef $ac_func
42912
42913 /* Override any gcc2 internal prototype to avoid an error.  */
42914 #ifdef __cplusplus
42915 extern "C"
42916 {
42917 #endif
42918 /* We use char because int might match the return type of a gcc2
42919    builtin and then its argument prototype would still apply.  */
42920 char $ac_func ();
42921 /* The GNU C library defines this for functions which it implements
42922     to always fail with ENOSYS.  Some functions are actually named
42923     something starting with __ and the normal name is an alias.  */
42924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42925 choke me
42926 #else
42927 char (*f) () = $ac_func;
42928 #endif
42929 #ifdef __cplusplus
42930 }
42931 #endif
42932
42933 int
42934 main ()
42935 {
42936 return f != $ac_func;
42937   ;
42938   return 0;
42939 }
42940 _ACEOF
42941 rm -f conftest.$ac_objext conftest$ac_exeext
42942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42943   (eval $ac_link) 2>conftest.er1
42944   ac_status=$?
42945   grep -v '^ *+' conftest.er1 >conftest.err
42946   rm -f conftest.er1
42947   cat conftest.err >&5
42948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42949   (exit $ac_status); } &&
42950          { ac_try='test -z "$ac_c_werror_flag"
42951                          || test ! -s conftest.err'
42952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42953   (eval $ac_try) 2>&5
42954   ac_status=$?
42955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42956   (exit $ac_status); }; } &&
42957          { ac_try='test -s conftest$ac_exeext'
42958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42959   (eval $ac_try) 2>&5
42960   ac_status=$?
42961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42962   (exit $ac_status); }; }; then
42963   eval "$as_ac_var=yes"
42964 else
42965   echo "$as_me: failed program was:" >&5
42966 sed 's/^/| /' conftest.$ac_ext >&5
42967
42968 eval "$as_ac_var=no"
42969 fi
42970 rm -f conftest.err conftest.$ac_objext \
42971       conftest$ac_exeext conftest.$ac_ext
42972 fi
42973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42975 if test `eval echo '${'$as_ac_var'}'` = yes; then
42976   cat >>confdefs.h <<_ACEOF
42977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42978 _ACEOF
42979
42980 fi
42981 done
42982
42983   else
42984
42985   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
42986 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
42987   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
42988     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
42989   echo $ECHO_N "(cached) $ECHO_C" >&6
42990 else
42991
42992
42993
42994       ac_ext=cc
42995 ac_cpp='$CXXCPP $CPPFLAGS'
42996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42999
43000       cat >conftest.$ac_ext <<_ACEOF
43001 /* confdefs.h.  */
43002 _ACEOF
43003 cat confdefs.h >>conftest.$ac_ext
43004 cat >>conftest.$ac_ext <<_ACEOF
43005 /* end confdefs.h.  */
43006 #include <math.h>
43007 int
43008 main ()
43009 {
43010  _copysignl(0, 0);
43011   ;
43012   return 0;
43013 }
43014 _ACEOF
43015 rm -f conftest.$ac_objext
43016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43017   (eval $ac_compile) 2>conftest.er1
43018   ac_status=$?
43019   grep -v '^ *+' conftest.er1 >conftest.err
43020   rm -f conftest.er1
43021   cat conftest.err >&5
43022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43023   (exit $ac_status); } &&
43024          { ac_try='test -z "$ac_cxx_werror_flag"
43025                          || test ! -s conftest.err'
43026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43027   (eval $ac_try) 2>&5
43028   ac_status=$?
43029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43030   (exit $ac_status); }; } &&
43031          { ac_try='test -s conftest.$ac_objext'
43032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43033   (eval $ac_try) 2>&5
43034   ac_status=$?
43035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43036   (exit $ac_status); }; }; then
43037   glibcxx_cv_func__copysignl_use=yes
43038 else
43039   echo "$as_me: failed program was:" >&5
43040 sed 's/^/| /' conftest.$ac_ext >&5
43041
43042 glibcxx_cv_func__copysignl_use=no
43043 fi
43044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43045       ac_ext=c
43046 ac_cpp='$CPP $CPPFLAGS'
43047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43050
43051
43052 fi
43053
43054   fi
43055   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
43056 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
43057
43058     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
43059
43060 for ac_func in _copysignl
43061 do
43062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43063 echo "$as_me:$LINENO: checking for $ac_func" >&5
43064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43065 if eval "test \"\${$as_ac_var+set}\" = set"; then
43066   echo $ECHO_N "(cached) $ECHO_C" >&6
43067 else
43068   if test x$gcc_no_link = xyes; then
43069   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43071    { (exit 1); exit 1; }; }
43072 fi
43073 cat >conftest.$ac_ext <<_ACEOF
43074 /* confdefs.h.  */
43075 _ACEOF
43076 cat confdefs.h >>conftest.$ac_ext
43077 cat >>conftest.$ac_ext <<_ACEOF
43078 /* end confdefs.h.  */
43079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43080    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43081 #define $ac_func innocuous_$ac_func
43082
43083 /* System header to define __stub macros and hopefully few prototypes,
43084     which can conflict with char $ac_func (); below.
43085     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43086     <limits.h> exists even on freestanding compilers.  */
43087
43088 #ifdef __STDC__
43089 # include <limits.h>
43090 #else
43091 # include <assert.h>
43092 #endif
43093
43094 #undef $ac_func
43095
43096 /* Override any gcc2 internal prototype to avoid an error.  */
43097 #ifdef __cplusplus
43098 extern "C"
43099 {
43100 #endif
43101 /* We use char because int might match the return type of a gcc2
43102    builtin and then its argument prototype would still apply.  */
43103 char $ac_func ();
43104 /* The GNU C library defines this for functions which it implements
43105     to always fail with ENOSYS.  Some functions are actually named
43106     something starting with __ and the normal name is an alias.  */
43107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43108 choke me
43109 #else
43110 char (*f) () = $ac_func;
43111 #endif
43112 #ifdef __cplusplus
43113 }
43114 #endif
43115
43116 int
43117 main ()
43118 {
43119 return f != $ac_func;
43120   ;
43121   return 0;
43122 }
43123 _ACEOF
43124 rm -f conftest.$ac_objext conftest$ac_exeext
43125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43126   (eval $ac_link) 2>conftest.er1
43127   ac_status=$?
43128   grep -v '^ *+' conftest.er1 >conftest.err
43129   rm -f conftest.er1
43130   cat conftest.err >&5
43131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43132   (exit $ac_status); } &&
43133          { ac_try='test -z "$ac_c_werror_flag"
43134                          || test ! -s conftest.err'
43135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43136   (eval $ac_try) 2>&5
43137   ac_status=$?
43138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43139   (exit $ac_status); }; } &&
43140          { ac_try='test -s conftest$ac_exeext'
43141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43142   (eval $ac_try) 2>&5
43143   ac_status=$?
43144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43145   (exit $ac_status); }; }; then
43146   eval "$as_ac_var=yes"
43147 else
43148   echo "$as_me: failed program was:" >&5
43149 sed 's/^/| /' conftest.$ac_ext >&5
43150
43151 eval "$as_ac_var=no"
43152 fi
43153 rm -f conftest.err conftest.$ac_objext \
43154       conftest$ac_exeext conftest.$ac_ext
43155 fi
43156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43158 if test `eval echo '${'$as_ac_var'}'` = yes; then
43159   cat >>confdefs.h <<_ACEOF
43160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43161 _ACEOF
43162
43163 fi
43164 done
43165
43166     fi
43167   fi
43168
43169
43170
43171
43172
43173
43174   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
43175 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
43176   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43177     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
43178   echo $ECHO_N "(cached) $ECHO_C" >&6
43179 else
43180
43181
43182
43183       ac_ext=cc
43184 ac_cpp='$CXXCPP $CPPFLAGS'
43185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43188
43189       cat >conftest.$ac_ext <<_ACEOF
43190 /* confdefs.h.  */
43191 _ACEOF
43192 cat confdefs.h >>conftest.$ac_ext
43193 cat >>conftest.$ac_ext <<_ACEOF
43194 /* end confdefs.h.  */
43195 #include <math.h>
43196 int
43197 main ()
43198 {
43199  atan2l(0, 0);
43200   ;
43201   return 0;
43202 }
43203 _ACEOF
43204 rm -f conftest.$ac_objext
43205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43206   (eval $ac_compile) 2>conftest.er1
43207   ac_status=$?
43208   grep -v '^ *+' conftest.er1 >conftest.err
43209   rm -f conftest.er1
43210   cat conftest.err >&5
43211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43212   (exit $ac_status); } &&
43213          { ac_try='test -z "$ac_cxx_werror_flag"
43214                          || test ! -s conftest.err'
43215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43216   (eval $ac_try) 2>&5
43217   ac_status=$?
43218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43219   (exit $ac_status); }; } &&
43220          { ac_try='test -s conftest.$ac_objext'
43221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43222   (eval $ac_try) 2>&5
43223   ac_status=$?
43224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43225   (exit $ac_status); }; }; then
43226   glibcxx_cv_func_atan2l_use=yes
43227 else
43228   echo "$as_me: failed program was:" >&5
43229 sed 's/^/| /' conftest.$ac_ext >&5
43230
43231 glibcxx_cv_func_atan2l_use=no
43232 fi
43233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43234       ac_ext=c
43235 ac_cpp='$CPP $CPPFLAGS'
43236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43239
43240
43241 fi
43242
43243   fi
43244   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
43245 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
43246
43247   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43248
43249 for ac_func in atan2l
43250 do
43251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43252 echo "$as_me:$LINENO: checking for $ac_func" >&5
43253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43254 if eval "test \"\${$as_ac_var+set}\" = set"; then
43255   echo $ECHO_N "(cached) $ECHO_C" >&6
43256 else
43257   if test x$gcc_no_link = xyes; then
43258   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43260    { (exit 1); exit 1; }; }
43261 fi
43262 cat >conftest.$ac_ext <<_ACEOF
43263 /* confdefs.h.  */
43264 _ACEOF
43265 cat confdefs.h >>conftest.$ac_ext
43266 cat >>conftest.$ac_ext <<_ACEOF
43267 /* end confdefs.h.  */
43268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43269    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43270 #define $ac_func innocuous_$ac_func
43271
43272 /* System header to define __stub macros and hopefully few prototypes,
43273     which can conflict with char $ac_func (); below.
43274     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43275     <limits.h> exists even on freestanding compilers.  */
43276
43277 #ifdef __STDC__
43278 # include <limits.h>
43279 #else
43280 # include <assert.h>
43281 #endif
43282
43283 #undef $ac_func
43284
43285 /* Override any gcc2 internal prototype to avoid an error.  */
43286 #ifdef __cplusplus
43287 extern "C"
43288 {
43289 #endif
43290 /* We use char because int might match the return type of a gcc2
43291    builtin and then its argument prototype would still apply.  */
43292 char $ac_func ();
43293 /* The GNU C library defines this for functions which it implements
43294     to always fail with ENOSYS.  Some functions are actually named
43295     something starting with __ and the normal name is an alias.  */
43296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43297 choke me
43298 #else
43299 char (*f) () = $ac_func;
43300 #endif
43301 #ifdef __cplusplus
43302 }
43303 #endif
43304
43305 int
43306 main ()
43307 {
43308 return f != $ac_func;
43309   ;
43310   return 0;
43311 }
43312 _ACEOF
43313 rm -f conftest.$ac_objext conftest$ac_exeext
43314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43315   (eval $ac_link) 2>conftest.er1
43316   ac_status=$?
43317   grep -v '^ *+' conftest.er1 >conftest.err
43318   rm -f conftest.er1
43319   cat conftest.err >&5
43320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43321   (exit $ac_status); } &&
43322          { ac_try='test -z "$ac_c_werror_flag"
43323                          || test ! -s conftest.err'
43324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43325   (eval $ac_try) 2>&5
43326   ac_status=$?
43327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43328   (exit $ac_status); }; } &&
43329          { ac_try='test -s conftest$ac_exeext'
43330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43331   (eval $ac_try) 2>&5
43332   ac_status=$?
43333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43334   (exit $ac_status); }; }; then
43335   eval "$as_ac_var=yes"
43336 else
43337   echo "$as_me: failed program was:" >&5
43338 sed 's/^/| /' conftest.$ac_ext >&5
43339
43340 eval "$as_ac_var=no"
43341 fi
43342 rm -f conftest.err conftest.$ac_objext \
43343       conftest$ac_exeext conftest.$ac_ext
43344 fi
43345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43347 if test `eval echo '${'$as_ac_var'}'` = yes; then
43348   cat >>confdefs.h <<_ACEOF
43349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43350 _ACEOF
43351
43352 fi
43353 done
43354
43355   else
43356
43357   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
43358 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
43359   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43360     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
43361   echo $ECHO_N "(cached) $ECHO_C" >&6
43362 else
43363
43364
43365
43366       ac_ext=cc
43367 ac_cpp='$CXXCPP $CPPFLAGS'
43368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43371
43372       cat >conftest.$ac_ext <<_ACEOF
43373 /* confdefs.h.  */
43374 _ACEOF
43375 cat confdefs.h >>conftest.$ac_ext
43376 cat >>conftest.$ac_ext <<_ACEOF
43377 /* end confdefs.h.  */
43378 #include <math.h>
43379 int
43380 main ()
43381 {
43382  _atan2l(0, 0);
43383   ;
43384   return 0;
43385 }
43386 _ACEOF
43387 rm -f conftest.$ac_objext
43388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43389   (eval $ac_compile) 2>conftest.er1
43390   ac_status=$?
43391   grep -v '^ *+' conftest.er1 >conftest.err
43392   rm -f conftest.er1
43393   cat conftest.err >&5
43394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43395   (exit $ac_status); } &&
43396          { ac_try='test -z "$ac_cxx_werror_flag"
43397                          || test ! -s conftest.err'
43398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43399   (eval $ac_try) 2>&5
43400   ac_status=$?
43401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43402   (exit $ac_status); }; } &&
43403          { ac_try='test -s conftest.$ac_objext'
43404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43405   (eval $ac_try) 2>&5
43406   ac_status=$?
43407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43408   (exit $ac_status); }; }; then
43409   glibcxx_cv_func__atan2l_use=yes
43410 else
43411   echo "$as_me: failed program was:" >&5
43412 sed 's/^/| /' conftest.$ac_ext >&5
43413
43414 glibcxx_cv_func__atan2l_use=no
43415 fi
43416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43417       ac_ext=c
43418 ac_cpp='$CPP $CPPFLAGS'
43419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43422
43423
43424 fi
43425
43426   fi
43427   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
43428 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
43429
43430     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43431
43432 for ac_func in _atan2l
43433 do
43434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43435 echo "$as_me:$LINENO: checking for $ac_func" >&5
43436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43437 if eval "test \"\${$as_ac_var+set}\" = set"; then
43438   echo $ECHO_N "(cached) $ECHO_C" >&6
43439 else
43440   if test x$gcc_no_link = xyes; then
43441   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43443    { (exit 1); exit 1; }; }
43444 fi
43445 cat >conftest.$ac_ext <<_ACEOF
43446 /* confdefs.h.  */
43447 _ACEOF
43448 cat confdefs.h >>conftest.$ac_ext
43449 cat >>conftest.$ac_ext <<_ACEOF
43450 /* end confdefs.h.  */
43451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43452    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43453 #define $ac_func innocuous_$ac_func
43454
43455 /* System header to define __stub macros and hopefully few prototypes,
43456     which can conflict with char $ac_func (); below.
43457     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43458     <limits.h> exists even on freestanding compilers.  */
43459
43460 #ifdef __STDC__
43461 # include <limits.h>
43462 #else
43463 # include <assert.h>
43464 #endif
43465
43466 #undef $ac_func
43467
43468 /* Override any gcc2 internal prototype to avoid an error.  */
43469 #ifdef __cplusplus
43470 extern "C"
43471 {
43472 #endif
43473 /* We use char because int might match the return type of a gcc2
43474    builtin and then its argument prototype would still apply.  */
43475 char $ac_func ();
43476 /* The GNU C library defines this for functions which it implements
43477     to always fail with ENOSYS.  Some functions are actually named
43478     something starting with __ and the normal name is an alias.  */
43479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43480 choke me
43481 #else
43482 char (*f) () = $ac_func;
43483 #endif
43484 #ifdef __cplusplus
43485 }
43486 #endif
43487
43488 int
43489 main ()
43490 {
43491 return f != $ac_func;
43492   ;
43493   return 0;
43494 }
43495 _ACEOF
43496 rm -f conftest.$ac_objext conftest$ac_exeext
43497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43498   (eval $ac_link) 2>conftest.er1
43499   ac_status=$?
43500   grep -v '^ *+' conftest.er1 >conftest.err
43501   rm -f conftest.er1
43502   cat conftest.err >&5
43503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43504   (exit $ac_status); } &&
43505          { ac_try='test -z "$ac_c_werror_flag"
43506                          || test ! -s conftest.err'
43507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43508   (eval $ac_try) 2>&5
43509   ac_status=$?
43510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43511   (exit $ac_status); }; } &&
43512          { ac_try='test -s conftest$ac_exeext'
43513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43514   (eval $ac_try) 2>&5
43515   ac_status=$?
43516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43517   (exit $ac_status); }; }; then
43518   eval "$as_ac_var=yes"
43519 else
43520   echo "$as_me: failed program was:" >&5
43521 sed 's/^/| /' conftest.$ac_ext >&5
43522
43523 eval "$as_ac_var=no"
43524 fi
43525 rm -f conftest.err conftest.$ac_objext \
43526       conftest$ac_exeext conftest.$ac_ext
43527 fi
43528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43530 if test `eval echo '${'$as_ac_var'}'` = yes; then
43531   cat >>confdefs.h <<_ACEOF
43532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43533 _ACEOF
43534
43535 fi
43536 done
43537
43538     fi
43539   fi
43540
43541
43542
43543
43544
43545
43546   echo "$as_me:$LINENO: checking for expl declaration" >&5
43547 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
43548   if test x${glibcxx_cv_func_expl_use+set} != xset; then
43549     if test "${glibcxx_cv_func_expl_use+set}" = set; then
43550   echo $ECHO_N "(cached) $ECHO_C" >&6
43551 else
43552
43553
43554
43555       ac_ext=cc
43556 ac_cpp='$CXXCPP $CPPFLAGS'
43557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43560
43561       cat >conftest.$ac_ext <<_ACEOF
43562 /* confdefs.h.  */
43563 _ACEOF
43564 cat confdefs.h >>conftest.$ac_ext
43565 cat >>conftest.$ac_ext <<_ACEOF
43566 /* end confdefs.h.  */
43567 #include <math.h>
43568                       #ifdef HAVE_IEEEFP_H
43569                       #include <ieeefp.h>
43570                       #endif
43571
43572 int
43573 main ()
43574 {
43575  expl(0);
43576   ;
43577   return 0;
43578 }
43579 _ACEOF
43580 rm -f conftest.$ac_objext
43581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43582   (eval $ac_compile) 2>conftest.er1
43583   ac_status=$?
43584   grep -v '^ *+' conftest.er1 >conftest.err
43585   rm -f conftest.er1
43586   cat conftest.err >&5
43587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43588   (exit $ac_status); } &&
43589          { ac_try='test -z "$ac_cxx_werror_flag"
43590                          || test ! -s conftest.err'
43591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43592   (eval $ac_try) 2>&5
43593   ac_status=$?
43594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43595   (exit $ac_status); }; } &&
43596          { ac_try='test -s conftest.$ac_objext'
43597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43598   (eval $ac_try) 2>&5
43599   ac_status=$?
43600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43601   (exit $ac_status); }; }; then
43602   glibcxx_cv_func_expl_use=yes
43603 else
43604   echo "$as_me: failed program was:" >&5
43605 sed 's/^/| /' conftest.$ac_ext >&5
43606
43607 glibcxx_cv_func_expl_use=no
43608 fi
43609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43610       ac_ext=c
43611 ac_cpp='$CPP $CPPFLAGS'
43612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43615
43616
43617 fi
43618
43619   fi
43620   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
43621 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
43622
43623   if test x$glibcxx_cv_func_expl_use = x"yes"; then
43624
43625 for ac_func in expl
43626 do
43627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43628 echo "$as_me:$LINENO: checking for $ac_func" >&5
43629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43630 if eval "test \"\${$as_ac_var+set}\" = set"; then
43631   echo $ECHO_N "(cached) $ECHO_C" >&6
43632 else
43633   if test x$gcc_no_link = xyes; then
43634   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43636    { (exit 1); exit 1; }; }
43637 fi
43638 cat >conftest.$ac_ext <<_ACEOF
43639 /* confdefs.h.  */
43640 _ACEOF
43641 cat confdefs.h >>conftest.$ac_ext
43642 cat >>conftest.$ac_ext <<_ACEOF
43643 /* end confdefs.h.  */
43644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43645    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43646 #define $ac_func innocuous_$ac_func
43647
43648 /* System header to define __stub macros and hopefully few prototypes,
43649     which can conflict with char $ac_func (); below.
43650     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43651     <limits.h> exists even on freestanding compilers.  */
43652
43653 #ifdef __STDC__
43654 # include <limits.h>
43655 #else
43656 # include <assert.h>
43657 #endif
43658
43659 #undef $ac_func
43660
43661 /* Override any gcc2 internal prototype to avoid an error.  */
43662 #ifdef __cplusplus
43663 extern "C"
43664 {
43665 #endif
43666 /* We use char because int might match the return type of a gcc2
43667    builtin and then its argument prototype would still apply.  */
43668 char $ac_func ();
43669 /* The GNU C library defines this for functions which it implements
43670     to always fail with ENOSYS.  Some functions are actually named
43671     something starting with __ and the normal name is an alias.  */
43672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43673 choke me
43674 #else
43675 char (*f) () = $ac_func;
43676 #endif
43677 #ifdef __cplusplus
43678 }
43679 #endif
43680
43681 int
43682 main ()
43683 {
43684 return f != $ac_func;
43685   ;
43686   return 0;
43687 }
43688 _ACEOF
43689 rm -f conftest.$ac_objext conftest$ac_exeext
43690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43691   (eval $ac_link) 2>conftest.er1
43692   ac_status=$?
43693   grep -v '^ *+' conftest.er1 >conftest.err
43694   rm -f conftest.er1
43695   cat conftest.err >&5
43696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43697   (exit $ac_status); } &&
43698          { ac_try='test -z "$ac_c_werror_flag"
43699                          || test ! -s conftest.err'
43700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43701   (eval $ac_try) 2>&5
43702   ac_status=$?
43703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43704   (exit $ac_status); }; } &&
43705          { ac_try='test -s conftest$ac_exeext'
43706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43707   (eval $ac_try) 2>&5
43708   ac_status=$?
43709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43710   (exit $ac_status); }; }; then
43711   eval "$as_ac_var=yes"
43712 else
43713   echo "$as_me: failed program was:" >&5
43714 sed 's/^/| /' conftest.$ac_ext >&5
43715
43716 eval "$as_ac_var=no"
43717 fi
43718 rm -f conftest.err conftest.$ac_objext \
43719       conftest$ac_exeext conftest.$ac_ext
43720 fi
43721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43723 if test `eval echo '${'$as_ac_var'}'` = yes; then
43724   cat >>confdefs.h <<_ACEOF
43725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43726 _ACEOF
43727
43728 fi
43729 done
43730
43731   else
43732
43733   echo "$as_me:$LINENO: checking for _expl declaration" >&5
43734 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
43735   if test x${glibcxx_cv_func__expl_use+set} != xset; then
43736     if test "${glibcxx_cv_func__expl_use+set}" = set; then
43737   echo $ECHO_N "(cached) $ECHO_C" >&6
43738 else
43739
43740
43741
43742       ac_ext=cc
43743 ac_cpp='$CXXCPP $CPPFLAGS'
43744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43747
43748       cat >conftest.$ac_ext <<_ACEOF
43749 /* confdefs.h.  */
43750 _ACEOF
43751 cat confdefs.h >>conftest.$ac_ext
43752 cat >>conftest.$ac_ext <<_ACEOF
43753 /* end confdefs.h.  */
43754 #include <math.h>
43755                       #ifdef HAVE_IEEEFP_H
43756                       #include <ieeefp.h>
43757                       #endif
43758
43759 int
43760 main ()
43761 {
43762  _expl(0);
43763   ;
43764   return 0;
43765 }
43766 _ACEOF
43767 rm -f conftest.$ac_objext
43768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43769   (eval $ac_compile) 2>conftest.er1
43770   ac_status=$?
43771   grep -v '^ *+' conftest.er1 >conftest.err
43772   rm -f conftest.er1
43773   cat conftest.err >&5
43774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43775   (exit $ac_status); } &&
43776          { ac_try='test -z "$ac_cxx_werror_flag"
43777                          || test ! -s conftest.err'
43778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43779   (eval $ac_try) 2>&5
43780   ac_status=$?
43781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43782   (exit $ac_status); }; } &&
43783          { ac_try='test -s conftest.$ac_objext'
43784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43785   (eval $ac_try) 2>&5
43786   ac_status=$?
43787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43788   (exit $ac_status); }; }; then
43789   glibcxx_cv_func__expl_use=yes
43790 else
43791   echo "$as_me: failed program was:" >&5
43792 sed 's/^/| /' conftest.$ac_ext >&5
43793
43794 glibcxx_cv_func__expl_use=no
43795 fi
43796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43797       ac_ext=c
43798 ac_cpp='$CPP $CPPFLAGS'
43799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43802
43803
43804 fi
43805
43806   fi
43807   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
43808 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
43809
43810     if test x$glibcxx_cv_func__expl_use = x"yes"; then
43811
43812 for ac_func in _expl
43813 do
43814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43815 echo "$as_me:$LINENO: checking for $ac_func" >&5
43816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43817 if eval "test \"\${$as_ac_var+set}\" = set"; then
43818   echo $ECHO_N "(cached) $ECHO_C" >&6
43819 else
43820   if test x$gcc_no_link = xyes; then
43821   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43823    { (exit 1); exit 1; }; }
43824 fi
43825 cat >conftest.$ac_ext <<_ACEOF
43826 /* confdefs.h.  */
43827 _ACEOF
43828 cat confdefs.h >>conftest.$ac_ext
43829 cat >>conftest.$ac_ext <<_ACEOF
43830 /* end confdefs.h.  */
43831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43832    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43833 #define $ac_func innocuous_$ac_func
43834
43835 /* System header to define __stub macros and hopefully few prototypes,
43836     which can conflict with char $ac_func (); below.
43837     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43838     <limits.h> exists even on freestanding compilers.  */
43839
43840 #ifdef __STDC__
43841 # include <limits.h>
43842 #else
43843 # include <assert.h>
43844 #endif
43845
43846 #undef $ac_func
43847
43848 /* Override any gcc2 internal prototype to avoid an error.  */
43849 #ifdef __cplusplus
43850 extern "C"
43851 {
43852 #endif
43853 /* We use char because int might match the return type of a gcc2
43854    builtin and then its argument prototype would still apply.  */
43855 char $ac_func ();
43856 /* The GNU C library defines this for functions which it implements
43857     to always fail with ENOSYS.  Some functions are actually named
43858     something starting with __ and the normal name is an alias.  */
43859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43860 choke me
43861 #else
43862 char (*f) () = $ac_func;
43863 #endif
43864 #ifdef __cplusplus
43865 }
43866 #endif
43867
43868 int
43869 main ()
43870 {
43871 return f != $ac_func;
43872   ;
43873   return 0;
43874 }
43875 _ACEOF
43876 rm -f conftest.$ac_objext conftest$ac_exeext
43877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43878   (eval $ac_link) 2>conftest.er1
43879   ac_status=$?
43880   grep -v '^ *+' conftest.er1 >conftest.err
43881   rm -f conftest.er1
43882   cat conftest.err >&5
43883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43884   (exit $ac_status); } &&
43885          { ac_try='test -z "$ac_c_werror_flag"
43886                          || test ! -s conftest.err'
43887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43888   (eval $ac_try) 2>&5
43889   ac_status=$?
43890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43891   (exit $ac_status); }; } &&
43892          { ac_try='test -s conftest$ac_exeext'
43893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43894   (eval $ac_try) 2>&5
43895   ac_status=$?
43896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43897   (exit $ac_status); }; }; then
43898   eval "$as_ac_var=yes"
43899 else
43900   echo "$as_me: failed program was:" >&5
43901 sed 's/^/| /' conftest.$ac_ext >&5
43902
43903 eval "$as_ac_var=no"
43904 fi
43905 rm -f conftest.err conftest.$ac_objext \
43906       conftest$ac_exeext conftest.$ac_ext
43907 fi
43908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43910 if test `eval echo '${'$as_ac_var'}'` = yes; then
43911   cat >>confdefs.h <<_ACEOF
43912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43913 _ACEOF
43914
43915 fi
43916 done
43917
43918     fi
43919   fi
43920
43921
43922
43923
43924
43925
43926   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
43927 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
43928   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43929     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
43930   echo $ECHO_N "(cached) $ECHO_C" >&6
43931 else
43932
43933
43934
43935       ac_ext=cc
43936 ac_cpp='$CXXCPP $CPPFLAGS'
43937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43940
43941       cat >conftest.$ac_ext <<_ACEOF
43942 /* confdefs.h.  */
43943 _ACEOF
43944 cat confdefs.h >>conftest.$ac_ext
43945 cat >>conftest.$ac_ext <<_ACEOF
43946 /* end confdefs.h.  */
43947 #include <math.h>
43948                       #ifdef HAVE_IEEEFP_H
43949                       #include <ieeefp.h>
43950                       #endif
43951
43952 int
43953 main ()
43954 {
43955  fabsl(0);
43956   ;
43957   return 0;
43958 }
43959 _ACEOF
43960 rm -f conftest.$ac_objext
43961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43962   (eval $ac_compile) 2>conftest.er1
43963   ac_status=$?
43964   grep -v '^ *+' conftest.er1 >conftest.err
43965   rm -f conftest.er1
43966   cat conftest.err >&5
43967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43968   (exit $ac_status); } &&
43969          { ac_try='test -z "$ac_cxx_werror_flag"
43970                          || test ! -s conftest.err'
43971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43972   (eval $ac_try) 2>&5
43973   ac_status=$?
43974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43975   (exit $ac_status); }; } &&
43976          { ac_try='test -s conftest.$ac_objext'
43977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43978   (eval $ac_try) 2>&5
43979   ac_status=$?
43980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43981   (exit $ac_status); }; }; then
43982   glibcxx_cv_func_fabsl_use=yes
43983 else
43984   echo "$as_me: failed program was:" >&5
43985 sed 's/^/| /' conftest.$ac_ext >&5
43986
43987 glibcxx_cv_func_fabsl_use=no
43988 fi
43989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43990       ac_ext=c
43991 ac_cpp='$CPP $CPPFLAGS'
43992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43995
43996
43997 fi
43998
43999   fi
44000   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
44001 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
44002
44003   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44004
44005 for ac_func in fabsl
44006 do
44007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44008 echo "$as_me:$LINENO: checking for $ac_func" >&5
44009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44010 if eval "test \"\${$as_ac_var+set}\" = set"; then
44011   echo $ECHO_N "(cached) $ECHO_C" >&6
44012 else
44013   if test x$gcc_no_link = xyes; then
44014   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44016    { (exit 1); exit 1; }; }
44017 fi
44018 cat >conftest.$ac_ext <<_ACEOF
44019 /* confdefs.h.  */
44020 _ACEOF
44021 cat confdefs.h >>conftest.$ac_ext
44022 cat >>conftest.$ac_ext <<_ACEOF
44023 /* end confdefs.h.  */
44024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44025    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44026 #define $ac_func innocuous_$ac_func
44027
44028 /* System header to define __stub macros and hopefully few prototypes,
44029     which can conflict with char $ac_func (); below.
44030     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44031     <limits.h> exists even on freestanding compilers.  */
44032
44033 #ifdef __STDC__
44034 # include <limits.h>
44035 #else
44036 # include <assert.h>
44037 #endif
44038
44039 #undef $ac_func
44040
44041 /* Override any gcc2 internal prototype to avoid an error.  */
44042 #ifdef __cplusplus
44043 extern "C"
44044 {
44045 #endif
44046 /* We use char because int might match the return type of a gcc2
44047    builtin and then its argument prototype would still apply.  */
44048 char $ac_func ();
44049 /* The GNU C library defines this for functions which it implements
44050     to always fail with ENOSYS.  Some functions are actually named
44051     something starting with __ and the normal name is an alias.  */
44052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44053 choke me
44054 #else
44055 char (*f) () = $ac_func;
44056 #endif
44057 #ifdef __cplusplus
44058 }
44059 #endif
44060
44061 int
44062 main ()
44063 {
44064 return f != $ac_func;
44065   ;
44066   return 0;
44067 }
44068 _ACEOF
44069 rm -f conftest.$ac_objext conftest$ac_exeext
44070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44071   (eval $ac_link) 2>conftest.er1
44072   ac_status=$?
44073   grep -v '^ *+' conftest.er1 >conftest.err
44074   rm -f conftest.er1
44075   cat conftest.err >&5
44076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44077   (exit $ac_status); } &&
44078          { ac_try='test -z "$ac_c_werror_flag"
44079                          || test ! -s conftest.err'
44080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44081   (eval $ac_try) 2>&5
44082   ac_status=$?
44083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44084   (exit $ac_status); }; } &&
44085          { ac_try='test -s conftest$ac_exeext'
44086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44087   (eval $ac_try) 2>&5
44088   ac_status=$?
44089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44090   (exit $ac_status); }; }; then
44091   eval "$as_ac_var=yes"
44092 else
44093   echo "$as_me: failed program was:" >&5
44094 sed 's/^/| /' conftest.$ac_ext >&5
44095
44096 eval "$as_ac_var=no"
44097 fi
44098 rm -f conftest.err conftest.$ac_objext \
44099       conftest$ac_exeext conftest.$ac_ext
44100 fi
44101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44103 if test `eval echo '${'$as_ac_var'}'` = yes; then
44104   cat >>confdefs.h <<_ACEOF
44105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44106 _ACEOF
44107
44108 fi
44109 done
44110
44111   else
44112
44113   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
44114 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
44115   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44116     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
44117   echo $ECHO_N "(cached) $ECHO_C" >&6
44118 else
44119
44120
44121
44122       ac_ext=cc
44123 ac_cpp='$CXXCPP $CPPFLAGS'
44124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44127
44128       cat >conftest.$ac_ext <<_ACEOF
44129 /* confdefs.h.  */
44130 _ACEOF
44131 cat confdefs.h >>conftest.$ac_ext
44132 cat >>conftest.$ac_ext <<_ACEOF
44133 /* end confdefs.h.  */
44134 #include <math.h>
44135                       #ifdef HAVE_IEEEFP_H
44136                       #include <ieeefp.h>
44137                       #endif
44138
44139 int
44140 main ()
44141 {
44142  _fabsl(0);
44143   ;
44144   return 0;
44145 }
44146 _ACEOF
44147 rm -f conftest.$ac_objext
44148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44149   (eval $ac_compile) 2>conftest.er1
44150   ac_status=$?
44151   grep -v '^ *+' conftest.er1 >conftest.err
44152   rm -f conftest.er1
44153   cat conftest.err >&5
44154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44155   (exit $ac_status); } &&
44156          { ac_try='test -z "$ac_cxx_werror_flag"
44157                          || test ! -s conftest.err'
44158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44159   (eval $ac_try) 2>&5
44160   ac_status=$?
44161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44162   (exit $ac_status); }; } &&
44163          { ac_try='test -s conftest.$ac_objext'
44164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44165   (eval $ac_try) 2>&5
44166   ac_status=$?
44167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44168   (exit $ac_status); }; }; then
44169   glibcxx_cv_func__fabsl_use=yes
44170 else
44171   echo "$as_me: failed program was:" >&5
44172 sed 's/^/| /' conftest.$ac_ext >&5
44173
44174 glibcxx_cv_func__fabsl_use=no
44175 fi
44176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44177       ac_ext=c
44178 ac_cpp='$CPP $CPPFLAGS'
44179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44182
44183
44184 fi
44185
44186   fi
44187   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
44188 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
44189
44190     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44191
44192 for ac_func in _fabsl
44193 do
44194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44195 echo "$as_me:$LINENO: checking for $ac_func" >&5
44196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44197 if eval "test \"\${$as_ac_var+set}\" = set"; then
44198   echo $ECHO_N "(cached) $ECHO_C" >&6
44199 else
44200   if test x$gcc_no_link = xyes; then
44201   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44203    { (exit 1); exit 1; }; }
44204 fi
44205 cat >conftest.$ac_ext <<_ACEOF
44206 /* confdefs.h.  */
44207 _ACEOF
44208 cat confdefs.h >>conftest.$ac_ext
44209 cat >>conftest.$ac_ext <<_ACEOF
44210 /* end confdefs.h.  */
44211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44212    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44213 #define $ac_func innocuous_$ac_func
44214
44215 /* System header to define __stub macros and hopefully few prototypes,
44216     which can conflict with char $ac_func (); below.
44217     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44218     <limits.h> exists even on freestanding compilers.  */
44219
44220 #ifdef __STDC__
44221 # include <limits.h>
44222 #else
44223 # include <assert.h>
44224 #endif
44225
44226 #undef $ac_func
44227
44228 /* Override any gcc2 internal prototype to avoid an error.  */
44229 #ifdef __cplusplus
44230 extern "C"
44231 {
44232 #endif
44233 /* We use char because int might match the return type of a gcc2
44234    builtin and then its argument prototype would still apply.  */
44235 char $ac_func ();
44236 /* The GNU C library defines this for functions which it implements
44237     to always fail with ENOSYS.  Some functions are actually named
44238     something starting with __ and the normal name is an alias.  */
44239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44240 choke me
44241 #else
44242 char (*f) () = $ac_func;
44243 #endif
44244 #ifdef __cplusplus
44245 }
44246 #endif
44247
44248 int
44249 main ()
44250 {
44251 return f != $ac_func;
44252   ;
44253   return 0;
44254 }
44255 _ACEOF
44256 rm -f conftest.$ac_objext conftest$ac_exeext
44257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44258   (eval $ac_link) 2>conftest.er1
44259   ac_status=$?
44260   grep -v '^ *+' conftest.er1 >conftest.err
44261   rm -f conftest.er1
44262   cat conftest.err >&5
44263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44264   (exit $ac_status); } &&
44265          { ac_try='test -z "$ac_c_werror_flag"
44266                          || test ! -s conftest.err'
44267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44268   (eval $ac_try) 2>&5
44269   ac_status=$?
44270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44271   (exit $ac_status); }; } &&
44272          { ac_try='test -s conftest$ac_exeext'
44273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44274   (eval $ac_try) 2>&5
44275   ac_status=$?
44276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44277   (exit $ac_status); }; }; then
44278   eval "$as_ac_var=yes"
44279 else
44280   echo "$as_me: failed program was:" >&5
44281 sed 's/^/| /' conftest.$ac_ext >&5
44282
44283 eval "$as_ac_var=no"
44284 fi
44285 rm -f conftest.err conftest.$ac_objext \
44286       conftest$ac_exeext conftest.$ac_ext
44287 fi
44288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44290 if test `eval echo '${'$as_ac_var'}'` = yes; then
44291   cat >>confdefs.h <<_ACEOF
44292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44293 _ACEOF
44294
44295 fi
44296 done
44297
44298     fi
44299   fi
44300
44301
44302
44303
44304
44305
44306   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
44307 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
44308   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44309     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
44310   echo $ECHO_N "(cached) $ECHO_C" >&6
44311 else
44312
44313
44314
44315       ac_ext=cc
44316 ac_cpp='$CXXCPP $CPPFLAGS'
44317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44320
44321       cat >conftest.$ac_ext <<_ACEOF
44322 /* confdefs.h.  */
44323 _ACEOF
44324 cat confdefs.h >>conftest.$ac_ext
44325 cat >>conftest.$ac_ext <<_ACEOF
44326 /* end confdefs.h.  */
44327 #include <math.h>
44328 int
44329 main ()
44330 {
44331  fmodl(0, 0);
44332   ;
44333   return 0;
44334 }
44335 _ACEOF
44336 rm -f conftest.$ac_objext
44337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44338   (eval $ac_compile) 2>conftest.er1
44339   ac_status=$?
44340   grep -v '^ *+' conftest.er1 >conftest.err
44341   rm -f conftest.er1
44342   cat conftest.err >&5
44343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44344   (exit $ac_status); } &&
44345          { ac_try='test -z "$ac_cxx_werror_flag"
44346                          || test ! -s conftest.err'
44347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44348   (eval $ac_try) 2>&5
44349   ac_status=$?
44350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44351   (exit $ac_status); }; } &&
44352          { ac_try='test -s conftest.$ac_objext'
44353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44354   (eval $ac_try) 2>&5
44355   ac_status=$?
44356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44357   (exit $ac_status); }; }; then
44358   glibcxx_cv_func_fmodl_use=yes
44359 else
44360   echo "$as_me: failed program was:" >&5
44361 sed 's/^/| /' conftest.$ac_ext >&5
44362
44363 glibcxx_cv_func_fmodl_use=no
44364 fi
44365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44366       ac_ext=c
44367 ac_cpp='$CPP $CPPFLAGS'
44368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44371
44372
44373 fi
44374
44375   fi
44376   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
44377 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
44378
44379   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44380
44381 for ac_func in fmodl
44382 do
44383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44384 echo "$as_me:$LINENO: checking for $ac_func" >&5
44385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44386 if eval "test \"\${$as_ac_var+set}\" = set"; then
44387   echo $ECHO_N "(cached) $ECHO_C" >&6
44388 else
44389   if test x$gcc_no_link = xyes; then
44390   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44392    { (exit 1); exit 1; }; }
44393 fi
44394 cat >conftest.$ac_ext <<_ACEOF
44395 /* confdefs.h.  */
44396 _ACEOF
44397 cat confdefs.h >>conftest.$ac_ext
44398 cat >>conftest.$ac_ext <<_ACEOF
44399 /* end confdefs.h.  */
44400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44401    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44402 #define $ac_func innocuous_$ac_func
44403
44404 /* System header to define __stub macros and hopefully few prototypes,
44405     which can conflict with char $ac_func (); below.
44406     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44407     <limits.h> exists even on freestanding compilers.  */
44408
44409 #ifdef __STDC__
44410 # include <limits.h>
44411 #else
44412 # include <assert.h>
44413 #endif
44414
44415 #undef $ac_func
44416
44417 /* Override any gcc2 internal prototype to avoid an error.  */
44418 #ifdef __cplusplus
44419 extern "C"
44420 {
44421 #endif
44422 /* We use char because int might match the return type of a gcc2
44423    builtin and then its argument prototype would still apply.  */
44424 char $ac_func ();
44425 /* The GNU C library defines this for functions which it implements
44426     to always fail with ENOSYS.  Some functions are actually named
44427     something starting with __ and the normal name is an alias.  */
44428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44429 choke me
44430 #else
44431 char (*f) () = $ac_func;
44432 #endif
44433 #ifdef __cplusplus
44434 }
44435 #endif
44436
44437 int
44438 main ()
44439 {
44440 return f != $ac_func;
44441   ;
44442   return 0;
44443 }
44444 _ACEOF
44445 rm -f conftest.$ac_objext conftest$ac_exeext
44446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44447   (eval $ac_link) 2>conftest.er1
44448   ac_status=$?
44449   grep -v '^ *+' conftest.er1 >conftest.err
44450   rm -f conftest.er1
44451   cat conftest.err >&5
44452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44453   (exit $ac_status); } &&
44454          { ac_try='test -z "$ac_c_werror_flag"
44455                          || test ! -s conftest.err'
44456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44457   (eval $ac_try) 2>&5
44458   ac_status=$?
44459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44460   (exit $ac_status); }; } &&
44461          { ac_try='test -s conftest$ac_exeext'
44462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44463   (eval $ac_try) 2>&5
44464   ac_status=$?
44465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44466   (exit $ac_status); }; }; then
44467   eval "$as_ac_var=yes"
44468 else
44469   echo "$as_me: failed program was:" >&5
44470 sed 's/^/| /' conftest.$ac_ext >&5
44471
44472 eval "$as_ac_var=no"
44473 fi
44474 rm -f conftest.err conftest.$ac_objext \
44475       conftest$ac_exeext conftest.$ac_ext
44476 fi
44477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44479 if test `eval echo '${'$as_ac_var'}'` = yes; then
44480   cat >>confdefs.h <<_ACEOF
44481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44482 _ACEOF
44483
44484 fi
44485 done
44486
44487   else
44488
44489   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
44490 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
44491   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44492     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
44493   echo $ECHO_N "(cached) $ECHO_C" >&6
44494 else
44495
44496
44497
44498       ac_ext=cc
44499 ac_cpp='$CXXCPP $CPPFLAGS'
44500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44503
44504       cat >conftest.$ac_ext <<_ACEOF
44505 /* confdefs.h.  */
44506 _ACEOF
44507 cat confdefs.h >>conftest.$ac_ext
44508 cat >>conftest.$ac_ext <<_ACEOF
44509 /* end confdefs.h.  */
44510 #include <math.h>
44511 int
44512 main ()
44513 {
44514  _fmodl(0, 0);
44515   ;
44516   return 0;
44517 }
44518 _ACEOF
44519 rm -f conftest.$ac_objext
44520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44521   (eval $ac_compile) 2>conftest.er1
44522   ac_status=$?
44523   grep -v '^ *+' conftest.er1 >conftest.err
44524   rm -f conftest.er1
44525   cat conftest.err >&5
44526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44527   (exit $ac_status); } &&
44528          { ac_try='test -z "$ac_cxx_werror_flag"
44529                          || test ! -s conftest.err'
44530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44531   (eval $ac_try) 2>&5
44532   ac_status=$?
44533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44534   (exit $ac_status); }; } &&
44535          { ac_try='test -s conftest.$ac_objext'
44536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44537   (eval $ac_try) 2>&5
44538   ac_status=$?
44539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44540   (exit $ac_status); }; }; then
44541   glibcxx_cv_func__fmodl_use=yes
44542 else
44543   echo "$as_me: failed program was:" >&5
44544 sed 's/^/| /' conftest.$ac_ext >&5
44545
44546 glibcxx_cv_func__fmodl_use=no
44547 fi
44548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44549       ac_ext=c
44550 ac_cpp='$CPP $CPPFLAGS'
44551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44554
44555
44556 fi
44557
44558   fi
44559   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
44560 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
44561
44562     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44563
44564 for ac_func in _fmodl
44565 do
44566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44567 echo "$as_me:$LINENO: checking for $ac_func" >&5
44568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44569 if eval "test \"\${$as_ac_var+set}\" = set"; then
44570   echo $ECHO_N "(cached) $ECHO_C" >&6
44571 else
44572   if test x$gcc_no_link = xyes; then
44573   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44575    { (exit 1); exit 1; }; }
44576 fi
44577 cat >conftest.$ac_ext <<_ACEOF
44578 /* confdefs.h.  */
44579 _ACEOF
44580 cat confdefs.h >>conftest.$ac_ext
44581 cat >>conftest.$ac_ext <<_ACEOF
44582 /* end confdefs.h.  */
44583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44584    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44585 #define $ac_func innocuous_$ac_func
44586
44587 /* System header to define __stub macros and hopefully few prototypes,
44588     which can conflict with char $ac_func (); below.
44589     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44590     <limits.h> exists even on freestanding compilers.  */
44591
44592 #ifdef __STDC__
44593 # include <limits.h>
44594 #else
44595 # include <assert.h>
44596 #endif
44597
44598 #undef $ac_func
44599
44600 /* Override any gcc2 internal prototype to avoid an error.  */
44601 #ifdef __cplusplus
44602 extern "C"
44603 {
44604 #endif
44605 /* We use char because int might match the return type of a gcc2
44606    builtin and then its argument prototype would still apply.  */
44607 char $ac_func ();
44608 /* The GNU C library defines this for functions which it implements
44609     to always fail with ENOSYS.  Some functions are actually named
44610     something starting with __ and the normal name is an alias.  */
44611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44612 choke me
44613 #else
44614 char (*f) () = $ac_func;
44615 #endif
44616 #ifdef __cplusplus
44617 }
44618 #endif
44619
44620 int
44621 main ()
44622 {
44623 return f != $ac_func;
44624   ;
44625   return 0;
44626 }
44627 _ACEOF
44628 rm -f conftest.$ac_objext conftest$ac_exeext
44629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44630   (eval $ac_link) 2>conftest.er1
44631   ac_status=$?
44632   grep -v '^ *+' conftest.er1 >conftest.err
44633   rm -f conftest.er1
44634   cat conftest.err >&5
44635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44636   (exit $ac_status); } &&
44637          { ac_try='test -z "$ac_c_werror_flag"
44638                          || test ! -s conftest.err'
44639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44640   (eval $ac_try) 2>&5
44641   ac_status=$?
44642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44643   (exit $ac_status); }; } &&
44644          { ac_try='test -s conftest$ac_exeext'
44645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44646   (eval $ac_try) 2>&5
44647   ac_status=$?
44648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44649   (exit $ac_status); }; }; then
44650   eval "$as_ac_var=yes"
44651 else
44652   echo "$as_me: failed program was:" >&5
44653 sed 's/^/| /' conftest.$ac_ext >&5
44654
44655 eval "$as_ac_var=no"
44656 fi
44657 rm -f conftest.err conftest.$ac_objext \
44658       conftest$ac_exeext conftest.$ac_ext
44659 fi
44660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44662 if test `eval echo '${'$as_ac_var'}'` = yes; then
44663   cat >>confdefs.h <<_ACEOF
44664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44665 _ACEOF
44666
44667 fi
44668 done
44669
44670     fi
44671   fi
44672
44673
44674
44675
44676
44677
44678   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
44679 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
44680   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44681     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
44682   echo $ECHO_N "(cached) $ECHO_C" >&6
44683 else
44684
44685
44686
44687       ac_ext=cc
44688 ac_cpp='$CXXCPP $CPPFLAGS'
44689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44692
44693       cat >conftest.$ac_ext <<_ACEOF
44694 /* confdefs.h.  */
44695 _ACEOF
44696 cat confdefs.h >>conftest.$ac_ext
44697 cat >>conftest.$ac_ext <<_ACEOF
44698 /* end confdefs.h.  */
44699 #include <math.h>
44700 int
44701 main ()
44702 {
44703  frexpl(0, 0);
44704   ;
44705   return 0;
44706 }
44707 _ACEOF
44708 rm -f conftest.$ac_objext
44709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44710   (eval $ac_compile) 2>conftest.er1
44711   ac_status=$?
44712   grep -v '^ *+' conftest.er1 >conftest.err
44713   rm -f conftest.er1
44714   cat conftest.err >&5
44715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44716   (exit $ac_status); } &&
44717          { ac_try='test -z "$ac_cxx_werror_flag"
44718                          || test ! -s conftest.err'
44719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44720   (eval $ac_try) 2>&5
44721   ac_status=$?
44722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44723   (exit $ac_status); }; } &&
44724          { ac_try='test -s conftest.$ac_objext'
44725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44726   (eval $ac_try) 2>&5
44727   ac_status=$?
44728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44729   (exit $ac_status); }; }; then
44730   glibcxx_cv_func_frexpl_use=yes
44731 else
44732   echo "$as_me: failed program was:" >&5
44733 sed 's/^/| /' conftest.$ac_ext >&5
44734
44735 glibcxx_cv_func_frexpl_use=no
44736 fi
44737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44738       ac_ext=c
44739 ac_cpp='$CPP $CPPFLAGS'
44740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44743
44744
44745 fi
44746
44747   fi
44748   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
44749 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
44750
44751   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44752
44753 for ac_func in frexpl
44754 do
44755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44756 echo "$as_me:$LINENO: checking for $ac_func" >&5
44757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44758 if eval "test \"\${$as_ac_var+set}\" = set"; then
44759   echo $ECHO_N "(cached) $ECHO_C" >&6
44760 else
44761   if test x$gcc_no_link = xyes; then
44762   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44764    { (exit 1); exit 1; }; }
44765 fi
44766 cat >conftest.$ac_ext <<_ACEOF
44767 /* confdefs.h.  */
44768 _ACEOF
44769 cat confdefs.h >>conftest.$ac_ext
44770 cat >>conftest.$ac_ext <<_ACEOF
44771 /* end confdefs.h.  */
44772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44773    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44774 #define $ac_func innocuous_$ac_func
44775
44776 /* System header to define __stub macros and hopefully few prototypes,
44777     which can conflict with char $ac_func (); below.
44778     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44779     <limits.h> exists even on freestanding compilers.  */
44780
44781 #ifdef __STDC__
44782 # include <limits.h>
44783 #else
44784 # include <assert.h>
44785 #endif
44786
44787 #undef $ac_func
44788
44789 /* Override any gcc2 internal prototype to avoid an error.  */
44790 #ifdef __cplusplus
44791 extern "C"
44792 {
44793 #endif
44794 /* We use char because int might match the return type of a gcc2
44795    builtin and then its argument prototype would still apply.  */
44796 char $ac_func ();
44797 /* The GNU C library defines this for functions which it implements
44798     to always fail with ENOSYS.  Some functions are actually named
44799     something starting with __ and the normal name is an alias.  */
44800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44801 choke me
44802 #else
44803 char (*f) () = $ac_func;
44804 #endif
44805 #ifdef __cplusplus
44806 }
44807 #endif
44808
44809 int
44810 main ()
44811 {
44812 return f != $ac_func;
44813   ;
44814   return 0;
44815 }
44816 _ACEOF
44817 rm -f conftest.$ac_objext conftest$ac_exeext
44818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44819   (eval $ac_link) 2>conftest.er1
44820   ac_status=$?
44821   grep -v '^ *+' conftest.er1 >conftest.err
44822   rm -f conftest.er1
44823   cat conftest.err >&5
44824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44825   (exit $ac_status); } &&
44826          { ac_try='test -z "$ac_c_werror_flag"
44827                          || test ! -s conftest.err'
44828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44829   (eval $ac_try) 2>&5
44830   ac_status=$?
44831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44832   (exit $ac_status); }; } &&
44833          { ac_try='test -s conftest$ac_exeext'
44834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44835   (eval $ac_try) 2>&5
44836   ac_status=$?
44837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44838   (exit $ac_status); }; }; then
44839   eval "$as_ac_var=yes"
44840 else
44841   echo "$as_me: failed program was:" >&5
44842 sed 's/^/| /' conftest.$ac_ext >&5
44843
44844 eval "$as_ac_var=no"
44845 fi
44846 rm -f conftest.err conftest.$ac_objext \
44847       conftest$ac_exeext conftest.$ac_ext
44848 fi
44849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44851 if test `eval echo '${'$as_ac_var'}'` = yes; then
44852   cat >>confdefs.h <<_ACEOF
44853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44854 _ACEOF
44855
44856 fi
44857 done
44858
44859   else
44860
44861   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
44862 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
44863   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44864     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
44865   echo $ECHO_N "(cached) $ECHO_C" >&6
44866 else
44867
44868
44869
44870       ac_ext=cc
44871 ac_cpp='$CXXCPP $CPPFLAGS'
44872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44875
44876       cat >conftest.$ac_ext <<_ACEOF
44877 /* confdefs.h.  */
44878 _ACEOF
44879 cat confdefs.h >>conftest.$ac_ext
44880 cat >>conftest.$ac_ext <<_ACEOF
44881 /* end confdefs.h.  */
44882 #include <math.h>
44883 int
44884 main ()
44885 {
44886  _frexpl(0, 0);
44887   ;
44888   return 0;
44889 }
44890 _ACEOF
44891 rm -f conftest.$ac_objext
44892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44893   (eval $ac_compile) 2>conftest.er1
44894   ac_status=$?
44895   grep -v '^ *+' conftest.er1 >conftest.err
44896   rm -f conftest.er1
44897   cat conftest.err >&5
44898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44899   (exit $ac_status); } &&
44900          { ac_try='test -z "$ac_cxx_werror_flag"
44901                          || test ! -s conftest.err'
44902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44903   (eval $ac_try) 2>&5
44904   ac_status=$?
44905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44906   (exit $ac_status); }; } &&
44907          { ac_try='test -s conftest.$ac_objext'
44908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44909   (eval $ac_try) 2>&5
44910   ac_status=$?
44911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44912   (exit $ac_status); }; }; then
44913   glibcxx_cv_func__frexpl_use=yes
44914 else
44915   echo "$as_me: failed program was:" >&5
44916 sed 's/^/| /' conftest.$ac_ext >&5
44917
44918 glibcxx_cv_func__frexpl_use=no
44919 fi
44920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44921       ac_ext=c
44922 ac_cpp='$CPP $CPPFLAGS'
44923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44926
44927
44928 fi
44929
44930   fi
44931   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
44932 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
44933
44934     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44935
44936 for ac_func in _frexpl
44937 do
44938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44939 echo "$as_me:$LINENO: checking for $ac_func" >&5
44940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44941 if eval "test \"\${$as_ac_var+set}\" = set"; then
44942   echo $ECHO_N "(cached) $ECHO_C" >&6
44943 else
44944   if test x$gcc_no_link = xyes; then
44945   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44947    { (exit 1); exit 1; }; }
44948 fi
44949 cat >conftest.$ac_ext <<_ACEOF
44950 /* confdefs.h.  */
44951 _ACEOF
44952 cat confdefs.h >>conftest.$ac_ext
44953 cat >>conftest.$ac_ext <<_ACEOF
44954 /* end confdefs.h.  */
44955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44956    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44957 #define $ac_func innocuous_$ac_func
44958
44959 /* System header to define __stub macros and hopefully few prototypes,
44960     which can conflict with char $ac_func (); below.
44961     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44962     <limits.h> exists even on freestanding compilers.  */
44963
44964 #ifdef __STDC__
44965 # include <limits.h>
44966 #else
44967 # include <assert.h>
44968 #endif
44969
44970 #undef $ac_func
44971
44972 /* Override any gcc2 internal prototype to avoid an error.  */
44973 #ifdef __cplusplus
44974 extern "C"
44975 {
44976 #endif
44977 /* We use char because int might match the return type of a gcc2
44978    builtin and then its argument prototype would still apply.  */
44979 char $ac_func ();
44980 /* The GNU C library defines this for functions which it implements
44981     to always fail with ENOSYS.  Some functions are actually named
44982     something starting with __ and the normal name is an alias.  */
44983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44984 choke me
44985 #else
44986 char (*f) () = $ac_func;
44987 #endif
44988 #ifdef __cplusplus
44989 }
44990 #endif
44991
44992 int
44993 main ()
44994 {
44995 return f != $ac_func;
44996   ;
44997   return 0;
44998 }
44999 _ACEOF
45000 rm -f conftest.$ac_objext conftest$ac_exeext
45001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45002   (eval $ac_link) 2>conftest.er1
45003   ac_status=$?
45004   grep -v '^ *+' conftest.er1 >conftest.err
45005   rm -f conftest.er1
45006   cat conftest.err >&5
45007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45008   (exit $ac_status); } &&
45009          { ac_try='test -z "$ac_c_werror_flag"
45010                          || test ! -s conftest.err'
45011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45012   (eval $ac_try) 2>&5
45013   ac_status=$?
45014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45015   (exit $ac_status); }; } &&
45016          { ac_try='test -s conftest$ac_exeext'
45017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45018   (eval $ac_try) 2>&5
45019   ac_status=$?
45020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45021   (exit $ac_status); }; }; then
45022   eval "$as_ac_var=yes"
45023 else
45024   echo "$as_me: failed program was:" >&5
45025 sed 's/^/| /' conftest.$ac_ext >&5
45026
45027 eval "$as_ac_var=no"
45028 fi
45029 rm -f conftest.err conftest.$ac_objext \
45030       conftest$ac_exeext conftest.$ac_ext
45031 fi
45032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45034 if test `eval echo '${'$as_ac_var'}'` = yes; then
45035   cat >>confdefs.h <<_ACEOF
45036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45037 _ACEOF
45038
45039 fi
45040 done
45041
45042     fi
45043   fi
45044
45045
45046
45047
45048
45049
45050   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
45051 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
45052   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45053     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
45054   echo $ECHO_N "(cached) $ECHO_C" >&6
45055 else
45056
45057
45058
45059       ac_ext=cc
45060 ac_cpp='$CXXCPP $CPPFLAGS'
45061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45064
45065       cat >conftest.$ac_ext <<_ACEOF
45066 /* confdefs.h.  */
45067 _ACEOF
45068 cat confdefs.h >>conftest.$ac_ext
45069 cat >>conftest.$ac_ext <<_ACEOF
45070 /* end confdefs.h.  */
45071 #include <math.h>
45072 int
45073 main ()
45074 {
45075  hypotl(0, 0);
45076   ;
45077   return 0;
45078 }
45079 _ACEOF
45080 rm -f conftest.$ac_objext
45081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45082   (eval $ac_compile) 2>conftest.er1
45083   ac_status=$?
45084   grep -v '^ *+' conftest.er1 >conftest.err
45085   rm -f conftest.er1
45086   cat conftest.err >&5
45087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45088   (exit $ac_status); } &&
45089          { ac_try='test -z "$ac_cxx_werror_flag"
45090                          || test ! -s conftest.err'
45091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45092   (eval $ac_try) 2>&5
45093   ac_status=$?
45094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45095   (exit $ac_status); }; } &&
45096          { ac_try='test -s conftest.$ac_objext'
45097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45098   (eval $ac_try) 2>&5
45099   ac_status=$?
45100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45101   (exit $ac_status); }; }; then
45102   glibcxx_cv_func_hypotl_use=yes
45103 else
45104   echo "$as_me: failed program was:" >&5
45105 sed 's/^/| /' conftest.$ac_ext >&5
45106
45107 glibcxx_cv_func_hypotl_use=no
45108 fi
45109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45110       ac_ext=c
45111 ac_cpp='$CPP $CPPFLAGS'
45112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45115
45116
45117 fi
45118
45119   fi
45120   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
45121 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
45122
45123   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45124
45125 for ac_func in hypotl
45126 do
45127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45128 echo "$as_me:$LINENO: checking for $ac_func" >&5
45129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45130 if eval "test \"\${$as_ac_var+set}\" = set"; then
45131   echo $ECHO_N "(cached) $ECHO_C" >&6
45132 else
45133   if test x$gcc_no_link = xyes; then
45134   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45136    { (exit 1); exit 1; }; }
45137 fi
45138 cat >conftest.$ac_ext <<_ACEOF
45139 /* confdefs.h.  */
45140 _ACEOF
45141 cat confdefs.h >>conftest.$ac_ext
45142 cat >>conftest.$ac_ext <<_ACEOF
45143 /* end confdefs.h.  */
45144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45145    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45146 #define $ac_func innocuous_$ac_func
45147
45148 /* System header to define __stub macros and hopefully few prototypes,
45149     which can conflict with char $ac_func (); below.
45150     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45151     <limits.h> exists even on freestanding compilers.  */
45152
45153 #ifdef __STDC__
45154 # include <limits.h>
45155 #else
45156 # include <assert.h>
45157 #endif
45158
45159 #undef $ac_func
45160
45161 /* Override any gcc2 internal prototype to avoid an error.  */
45162 #ifdef __cplusplus
45163 extern "C"
45164 {
45165 #endif
45166 /* We use char because int might match the return type of a gcc2
45167    builtin and then its argument prototype would still apply.  */
45168 char $ac_func ();
45169 /* The GNU C library defines this for functions which it implements
45170     to always fail with ENOSYS.  Some functions are actually named
45171     something starting with __ and the normal name is an alias.  */
45172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45173 choke me
45174 #else
45175 char (*f) () = $ac_func;
45176 #endif
45177 #ifdef __cplusplus
45178 }
45179 #endif
45180
45181 int
45182 main ()
45183 {
45184 return f != $ac_func;
45185   ;
45186   return 0;
45187 }
45188 _ACEOF
45189 rm -f conftest.$ac_objext conftest$ac_exeext
45190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45191   (eval $ac_link) 2>conftest.er1
45192   ac_status=$?
45193   grep -v '^ *+' conftest.er1 >conftest.err
45194   rm -f conftest.er1
45195   cat conftest.err >&5
45196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45197   (exit $ac_status); } &&
45198          { ac_try='test -z "$ac_c_werror_flag"
45199                          || test ! -s conftest.err'
45200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45201   (eval $ac_try) 2>&5
45202   ac_status=$?
45203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45204   (exit $ac_status); }; } &&
45205          { ac_try='test -s conftest$ac_exeext'
45206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45207   (eval $ac_try) 2>&5
45208   ac_status=$?
45209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45210   (exit $ac_status); }; }; then
45211   eval "$as_ac_var=yes"
45212 else
45213   echo "$as_me: failed program was:" >&5
45214 sed 's/^/| /' conftest.$ac_ext >&5
45215
45216 eval "$as_ac_var=no"
45217 fi
45218 rm -f conftest.err conftest.$ac_objext \
45219       conftest$ac_exeext conftest.$ac_ext
45220 fi
45221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45223 if test `eval echo '${'$as_ac_var'}'` = yes; then
45224   cat >>confdefs.h <<_ACEOF
45225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45226 _ACEOF
45227
45228 fi
45229 done
45230
45231   else
45232
45233   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
45234 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
45235   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45236     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
45237   echo $ECHO_N "(cached) $ECHO_C" >&6
45238 else
45239
45240
45241
45242       ac_ext=cc
45243 ac_cpp='$CXXCPP $CPPFLAGS'
45244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45247
45248       cat >conftest.$ac_ext <<_ACEOF
45249 /* confdefs.h.  */
45250 _ACEOF
45251 cat confdefs.h >>conftest.$ac_ext
45252 cat >>conftest.$ac_ext <<_ACEOF
45253 /* end confdefs.h.  */
45254 #include <math.h>
45255 int
45256 main ()
45257 {
45258  _hypotl(0, 0);
45259   ;
45260   return 0;
45261 }
45262 _ACEOF
45263 rm -f conftest.$ac_objext
45264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45265   (eval $ac_compile) 2>conftest.er1
45266   ac_status=$?
45267   grep -v '^ *+' conftest.er1 >conftest.err
45268   rm -f conftest.er1
45269   cat conftest.err >&5
45270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45271   (exit $ac_status); } &&
45272          { ac_try='test -z "$ac_cxx_werror_flag"
45273                          || test ! -s conftest.err'
45274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45275   (eval $ac_try) 2>&5
45276   ac_status=$?
45277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45278   (exit $ac_status); }; } &&
45279          { ac_try='test -s conftest.$ac_objext'
45280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45281   (eval $ac_try) 2>&5
45282   ac_status=$?
45283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45284   (exit $ac_status); }; }; then
45285   glibcxx_cv_func__hypotl_use=yes
45286 else
45287   echo "$as_me: failed program was:" >&5
45288 sed 's/^/| /' conftest.$ac_ext >&5
45289
45290 glibcxx_cv_func__hypotl_use=no
45291 fi
45292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45293       ac_ext=c
45294 ac_cpp='$CPP $CPPFLAGS'
45295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45298
45299
45300 fi
45301
45302   fi
45303   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
45304 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
45305
45306     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45307
45308 for ac_func in _hypotl
45309 do
45310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45311 echo "$as_me:$LINENO: checking for $ac_func" >&5
45312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45313 if eval "test \"\${$as_ac_var+set}\" = set"; then
45314   echo $ECHO_N "(cached) $ECHO_C" >&6
45315 else
45316   if test x$gcc_no_link = xyes; then
45317   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45319    { (exit 1); exit 1; }; }
45320 fi
45321 cat >conftest.$ac_ext <<_ACEOF
45322 /* confdefs.h.  */
45323 _ACEOF
45324 cat confdefs.h >>conftest.$ac_ext
45325 cat >>conftest.$ac_ext <<_ACEOF
45326 /* end confdefs.h.  */
45327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45328    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45329 #define $ac_func innocuous_$ac_func
45330
45331 /* System header to define __stub macros and hopefully few prototypes,
45332     which can conflict with char $ac_func (); below.
45333     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45334     <limits.h> exists even on freestanding compilers.  */
45335
45336 #ifdef __STDC__
45337 # include <limits.h>
45338 #else
45339 # include <assert.h>
45340 #endif
45341
45342 #undef $ac_func
45343
45344 /* Override any gcc2 internal prototype to avoid an error.  */
45345 #ifdef __cplusplus
45346 extern "C"
45347 {
45348 #endif
45349 /* We use char because int might match the return type of a gcc2
45350    builtin and then its argument prototype would still apply.  */
45351 char $ac_func ();
45352 /* The GNU C library defines this for functions which it implements
45353     to always fail with ENOSYS.  Some functions are actually named
45354     something starting with __ and the normal name is an alias.  */
45355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45356 choke me
45357 #else
45358 char (*f) () = $ac_func;
45359 #endif
45360 #ifdef __cplusplus
45361 }
45362 #endif
45363
45364 int
45365 main ()
45366 {
45367 return f != $ac_func;
45368   ;
45369   return 0;
45370 }
45371 _ACEOF
45372 rm -f conftest.$ac_objext conftest$ac_exeext
45373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45374   (eval $ac_link) 2>conftest.er1
45375   ac_status=$?
45376   grep -v '^ *+' conftest.er1 >conftest.err
45377   rm -f conftest.er1
45378   cat conftest.err >&5
45379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45380   (exit $ac_status); } &&
45381          { ac_try='test -z "$ac_c_werror_flag"
45382                          || test ! -s conftest.err'
45383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45384   (eval $ac_try) 2>&5
45385   ac_status=$?
45386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45387   (exit $ac_status); }; } &&
45388          { ac_try='test -s conftest$ac_exeext'
45389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45390   (eval $ac_try) 2>&5
45391   ac_status=$?
45392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45393   (exit $ac_status); }; }; then
45394   eval "$as_ac_var=yes"
45395 else
45396   echo "$as_me: failed program was:" >&5
45397 sed 's/^/| /' conftest.$ac_ext >&5
45398
45399 eval "$as_ac_var=no"
45400 fi
45401 rm -f conftest.err conftest.$ac_objext \
45402       conftest$ac_exeext conftest.$ac_ext
45403 fi
45404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45406 if test `eval echo '${'$as_ac_var'}'` = yes; then
45407   cat >>confdefs.h <<_ACEOF
45408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45409 _ACEOF
45410
45411 fi
45412 done
45413
45414     fi
45415   fi
45416
45417
45418
45419
45420
45421
45422   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
45423 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
45424   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45425     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
45426   echo $ECHO_N "(cached) $ECHO_C" >&6
45427 else
45428
45429
45430
45431       ac_ext=cc
45432 ac_cpp='$CXXCPP $CPPFLAGS'
45433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45436
45437       cat >conftest.$ac_ext <<_ACEOF
45438 /* confdefs.h.  */
45439 _ACEOF
45440 cat confdefs.h >>conftest.$ac_ext
45441 cat >>conftest.$ac_ext <<_ACEOF
45442 /* end confdefs.h.  */
45443 #include <math.h>
45444 int
45445 main ()
45446 {
45447  ldexpl(0, 0);
45448   ;
45449   return 0;
45450 }
45451 _ACEOF
45452 rm -f conftest.$ac_objext
45453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45454   (eval $ac_compile) 2>conftest.er1
45455   ac_status=$?
45456   grep -v '^ *+' conftest.er1 >conftest.err
45457   rm -f conftest.er1
45458   cat conftest.err >&5
45459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45460   (exit $ac_status); } &&
45461          { ac_try='test -z "$ac_cxx_werror_flag"
45462                          || test ! -s conftest.err'
45463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45464   (eval $ac_try) 2>&5
45465   ac_status=$?
45466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45467   (exit $ac_status); }; } &&
45468          { ac_try='test -s conftest.$ac_objext'
45469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45470   (eval $ac_try) 2>&5
45471   ac_status=$?
45472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45473   (exit $ac_status); }; }; then
45474   glibcxx_cv_func_ldexpl_use=yes
45475 else
45476   echo "$as_me: failed program was:" >&5
45477 sed 's/^/| /' conftest.$ac_ext >&5
45478
45479 glibcxx_cv_func_ldexpl_use=no
45480 fi
45481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45482       ac_ext=c
45483 ac_cpp='$CPP $CPPFLAGS'
45484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45487
45488
45489 fi
45490
45491   fi
45492   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
45493 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
45494
45495   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45496
45497 for ac_func in ldexpl
45498 do
45499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45500 echo "$as_me:$LINENO: checking for $ac_func" >&5
45501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45502 if eval "test \"\${$as_ac_var+set}\" = set"; then
45503   echo $ECHO_N "(cached) $ECHO_C" >&6
45504 else
45505   if test x$gcc_no_link = xyes; then
45506   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45508    { (exit 1); exit 1; }; }
45509 fi
45510 cat >conftest.$ac_ext <<_ACEOF
45511 /* confdefs.h.  */
45512 _ACEOF
45513 cat confdefs.h >>conftest.$ac_ext
45514 cat >>conftest.$ac_ext <<_ACEOF
45515 /* end confdefs.h.  */
45516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45517    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45518 #define $ac_func innocuous_$ac_func
45519
45520 /* System header to define __stub macros and hopefully few prototypes,
45521     which can conflict with char $ac_func (); below.
45522     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45523     <limits.h> exists even on freestanding compilers.  */
45524
45525 #ifdef __STDC__
45526 # include <limits.h>
45527 #else
45528 # include <assert.h>
45529 #endif
45530
45531 #undef $ac_func
45532
45533 /* Override any gcc2 internal prototype to avoid an error.  */
45534 #ifdef __cplusplus
45535 extern "C"
45536 {
45537 #endif
45538 /* We use char because int might match the return type of a gcc2
45539    builtin and then its argument prototype would still apply.  */
45540 char $ac_func ();
45541 /* The GNU C library defines this for functions which it implements
45542     to always fail with ENOSYS.  Some functions are actually named
45543     something starting with __ and the normal name is an alias.  */
45544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45545 choke me
45546 #else
45547 char (*f) () = $ac_func;
45548 #endif
45549 #ifdef __cplusplus
45550 }
45551 #endif
45552
45553 int
45554 main ()
45555 {
45556 return f != $ac_func;
45557   ;
45558   return 0;
45559 }
45560 _ACEOF
45561 rm -f conftest.$ac_objext conftest$ac_exeext
45562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45563   (eval $ac_link) 2>conftest.er1
45564   ac_status=$?
45565   grep -v '^ *+' conftest.er1 >conftest.err
45566   rm -f conftest.er1
45567   cat conftest.err >&5
45568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45569   (exit $ac_status); } &&
45570          { ac_try='test -z "$ac_c_werror_flag"
45571                          || test ! -s conftest.err'
45572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45573   (eval $ac_try) 2>&5
45574   ac_status=$?
45575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45576   (exit $ac_status); }; } &&
45577          { ac_try='test -s conftest$ac_exeext'
45578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45579   (eval $ac_try) 2>&5
45580   ac_status=$?
45581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45582   (exit $ac_status); }; }; then
45583   eval "$as_ac_var=yes"
45584 else
45585   echo "$as_me: failed program was:" >&5
45586 sed 's/^/| /' conftest.$ac_ext >&5
45587
45588 eval "$as_ac_var=no"
45589 fi
45590 rm -f conftest.err conftest.$ac_objext \
45591       conftest$ac_exeext conftest.$ac_ext
45592 fi
45593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45595 if test `eval echo '${'$as_ac_var'}'` = yes; then
45596   cat >>confdefs.h <<_ACEOF
45597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45598 _ACEOF
45599
45600 fi
45601 done
45602
45603   else
45604
45605   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
45606 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
45607   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45608     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
45609   echo $ECHO_N "(cached) $ECHO_C" >&6
45610 else
45611
45612
45613
45614       ac_ext=cc
45615 ac_cpp='$CXXCPP $CPPFLAGS'
45616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45619
45620       cat >conftest.$ac_ext <<_ACEOF
45621 /* confdefs.h.  */
45622 _ACEOF
45623 cat confdefs.h >>conftest.$ac_ext
45624 cat >>conftest.$ac_ext <<_ACEOF
45625 /* end confdefs.h.  */
45626 #include <math.h>
45627 int
45628 main ()
45629 {
45630  _ldexpl(0, 0);
45631   ;
45632   return 0;
45633 }
45634 _ACEOF
45635 rm -f conftest.$ac_objext
45636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45637   (eval $ac_compile) 2>conftest.er1
45638   ac_status=$?
45639   grep -v '^ *+' conftest.er1 >conftest.err
45640   rm -f conftest.er1
45641   cat conftest.err >&5
45642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45643   (exit $ac_status); } &&
45644          { ac_try='test -z "$ac_cxx_werror_flag"
45645                          || test ! -s conftest.err'
45646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45647   (eval $ac_try) 2>&5
45648   ac_status=$?
45649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45650   (exit $ac_status); }; } &&
45651          { ac_try='test -s conftest.$ac_objext'
45652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45653   (eval $ac_try) 2>&5
45654   ac_status=$?
45655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45656   (exit $ac_status); }; }; then
45657   glibcxx_cv_func__ldexpl_use=yes
45658 else
45659   echo "$as_me: failed program was:" >&5
45660 sed 's/^/| /' conftest.$ac_ext >&5
45661
45662 glibcxx_cv_func__ldexpl_use=no
45663 fi
45664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45665       ac_ext=c
45666 ac_cpp='$CPP $CPPFLAGS'
45667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45670
45671
45672 fi
45673
45674   fi
45675   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
45676 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
45677
45678     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45679
45680 for ac_func in _ldexpl
45681 do
45682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45683 echo "$as_me:$LINENO: checking for $ac_func" >&5
45684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45685 if eval "test \"\${$as_ac_var+set}\" = set"; then
45686   echo $ECHO_N "(cached) $ECHO_C" >&6
45687 else
45688   if test x$gcc_no_link = xyes; then
45689   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45691    { (exit 1); exit 1; }; }
45692 fi
45693 cat >conftest.$ac_ext <<_ACEOF
45694 /* confdefs.h.  */
45695 _ACEOF
45696 cat confdefs.h >>conftest.$ac_ext
45697 cat >>conftest.$ac_ext <<_ACEOF
45698 /* end confdefs.h.  */
45699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45700    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45701 #define $ac_func innocuous_$ac_func
45702
45703 /* System header to define __stub macros and hopefully few prototypes,
45704     which can conflict with char $ac_func (); below.
45705     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45706     <limits.h> exists even on freestanding compilers.  */
45707
45708 #ifdef __STDC__
45709 # include <limits.h>
45710 #else
45711 # include <assert.h>
45712 #endif
45713
45714 #undef $ac_func
45715
45716 /* Override any gcc2 internal prototype to avoid an error.  */
45717 #ifdef __cplusplus
45718 extern "C"
45719 {
45720 #endif
45721 /* We use char because int might match the return type of a gcc2
45722    builtin and then its argument prototype would still apply.  */
45723 char $ac_func ();
45724 /* The GNU C library defines this for functions which it implements
45725     to always fail with ENOSYS.  Some functions are actually named
45726     something starting with __ and the normal name is an alias.  */
45727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45728 choke me
45729 #else
45730 char (*f) () = $ac_func;
45731 #endif
45732 #ifdef __cplusplus
45733 }
45734 #endif
45735
45736 int
45737 main ()
45738 {
45739 return f != $ac_func;
45740   ;
45741   return 0;
45742 }
45743 _ACEOF
45744 rm -f conftest.$ac_objext conftest$ac_exeext
45745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45746   (eval $ac_link) 2>conftest.er1
45747   ac_status=$?
45748   grep -v '^ *+' conftest.er1 >conftest.err
45749   rm -f conftest.er1
45750   cat conftest.err >&5
45751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45752   (exit $ac_status); } &&
45753          { ac_try='test -z "$ac_c_werror_flag"
45754                          || test ! -s conftest.err'
45755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45756   (eval $ac_try) 2>&5
45757   ac_status=$?
45758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45759   (exit $ac_status); }; } &&
45760          { ac_try='test -s conftest$ac_exeext'
45761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45762   (eval $ac_try) 2>&5
45763   ac_status=$?
45764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45765   (exit $ac_status); }; }; then
45766   eval "$as_ac_var=yes"
45767 else
45768   echo "$as_me: failed program was:" >&5
45769 sed 's/^/| /' conftest.$ac_ext >&5
45770
45771 eval "$as_ac_var=no"
45772 fi
45773 rm -f conftest.err conftest.$ac_objext \
45774       conftest$ac_exeext conftest.$ac_ext
45775 fi
45776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45778 if test `eval echo '${'$as_ac_var'}'` = yes; then
45779   cat >>confdefs.h <<_ACEOF
45780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45781 _ACEOF
45782
45783 fi
45784 done
45785
45786     fi
45787   fi
45788
45789
45790
45791
45792
45793
45794   echo "$as_me:$LINENO: checking for logl declaration" >&5
45795 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
45796   if test x${glibcxx_cv_func_logl_use+set} != xset; then
45797     if test "${glibcxx_cv_func_logl_use+set}" = set; then
45798   echo $ECHO_N "(cached) $ECHO_C" >&6
45799 else
45800
45801
45802
45803       ac_ext=cc
45804 ac_cpp='$CXXCPP $CPPFLAGS'
45805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45808
45809       cat >conftest.$ac_ext <<_ACEOF
45810 /* confdefs.h.  */
45811 _ACEOF
45812 cat confdefs.h >>conftest.$ac_ext
45813 cat >>conftest.$ac_ext <<_ACEOF
45814 /* end confdefs.h.  */
45815 #include <math.h>
45816                       #ifdef HAVE_IEEEFP_H
45817                       #include <ieeefp.h>
45818                       #endif
45819
45820 int
45821 main ()
45822 {
45823  logl(0);
45824   ;
45825   return 0;
45826 }
45827 _ACEOF
45828 rm -f conftest.$ac_objext
45829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45830   (eval $ac_compile) 2>conftest.er1
45831   ac_status=$?
45832   grep -v '^ *+' conftest.er1 >conftest.err
45833   rm -f conftest.er1
45834   cat conftest.err >&5
45835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45836   (exit $ac_status); } &&
45837          { ac_try='test -z "$ac_cxx_werror_flag"
45838                          || test ! -s conftest.err'
45839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45840   (eval $ac_try) 2>&5
45841   ac_status=$?
45842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45843   (exit $ac_status); }; } &&
45844          { ac_try='test -s conftest.$ac_objext'
45845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45846   (eval $ac_try) 2>&5
45847   ac_status=$?
45848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45849   (exit $ac_status); }; }; then
45850   glibcxx_cv_func_logl_use=yes
45851 else
45852   echo "$as_me: failed program was:" >&5
45853 sed 's/^/| /' conftest.$ac_ext >&5
45854
45855 glibcxx_cv_func_logl_use=no
45856 fi
45857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45858       ac_ext=c
45859 ac_cpp='$CPP $CPPFLAGS'
45860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45863
45864
45865 fi
45866
45867   fi
45868   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
45869 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
45870
45871   if test x$glibcxx_cv_func_logl_use = x"yes"; then
45872
45873 for ac_func in logl
45874 do
45875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45876 echo "$as_me:$LINENO: checking for $ac_func" >&5
45877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45878 if eval "test \"\${$as_ac_var+set}\" = set"; then
45879   echo $ECHO_N "(cached) $ECHO_C" >&6
45880 else
45881   if test x$gcc_no_link = xyes; then
45882   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45884    { (exit 1); exit 1; }; }
45885 fi
45886 cat >conftest.$ac_ext <<_ACEOF
45887 /* confdefs.h.  */
45888 _ACEOF
45889 cat confdefs.h >>conftest.$ac_ext
45890 cat >>conftest.$ac_ext <<_ACEOF
45891 /* end confdefs.h.  */
45892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45893    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45894 #define $ac_func innocuous_$ac_func
45895
45896 /* System header to define __stub macros and hopefully few prototypes,
45897     which can conflict with char $ac_func (); below.
45898     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45899     <limits.h> exists even on freestanding compilers.  */
45900
45901 #ifdef __STDC__
45902 # include <limits.h>
45903 #else
45904 # include <assert.h>
45905 #endif
45906
45907 #undef $ac_func
45908
45909 /* Override any gcc2 internal prototype to avoid an error.  */
45910 #ifdef __cplusplus
45911 extern "C"
45912 {
45913 #endif
45914 /* We use char because int might match the return type of a gcc2
45915    builtin and then its argument prototype would still apply.  */
45916 char $ac_func ();
45917 /* The GNU C library defines this for functions which it implements
45918     to always fail with ENOSYS.  Some functions are actually named
45919     something starting with __ and the normal name is an alias.  */
45920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45921 choke me
45922 #else
45923 char (*f) () = $ac_func;
45924 #endif
45925 #ifdef __cplusplus
45926 }
45927 #endif
45928
45929 int
45930 main ()
45931 {
45932 return f != $ac_func;
45933   ;
45934   return 0;
45935 }
45936 _ACEOF
45937 rm -f conftest.$ac_objext conftest$ac_exeext
45938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45939   (eval $ac_link) 2>conftest.er1
45940   ac_status=$?
45941   grep -v '^ *+' conftest.er1 >conftest.err
45942   rm -f conftest.er1
45943   cat conftest.err >&5
45944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45945   (exit $ac_status); } &&
45946          { ac_try='test -z "$ac_c_werror_flag"
45947                          || test ! -s conftest.err'
45948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45949   (eval $ac_try) 2>&5
45950   ac_status=$?
45951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45952   (exit $ac_status); }; } &&
45953          { ac_try='test -s conftest$ac_exeext'
45954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45955   (eval $ac_try) 2>&5
45956   ac_status=$?
45957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45958   (exit $ac_status); }; }; then
45959   eval "$as_ac_var=yes"
45960 else
45961   echo "$as_me: failed program was:" >&5
45962 sed 's/^/| /' conftest.$ac_ext >&5
45963
45964 eval "$as_ac_var=no"
45965 fi
45966 rm -f conftest.err conftest.$ac_objext \
45967       conftest$ac_exeext conftest.$ac_ext
45968 fi
45969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45971 if test `eval echo '${'$as_ac_var'}'` = yes; then
45972   cat >>confdefs.h <<_ACEOF
45973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45974 _ACEOF
45975
45976 fi
45977 done
45978
45979   else
45980
45981   echo "$as_me:$LINENO: checking for _logl declaration" >&5
45982 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
45983   if test x${glibcxx_cv_func__logl_use+set} != xset; then
45984     if test "${glibcxx_cv_func__logl_use+set}" = set; then
45985   echo $ECHO_N "(cached) $ECHO_C" >&6
45986 else
45987
45988
45989
45990       ac_ext=cc
45991 ac_cpp='$CXXCPP $CPPFLAGS'
45992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45995
45996       cat >conftest.$ac_ext <<_ACEOF
45997 /* confdefs.h.  */
45998 _ACEOF
45999 cat confdefs.h >>conftest.$ac_ext
46000 cat >>conftest.$ac_ext <<_ACEOF
46001 /* end confdefs.h.  */
46002 #include <math.h>
46003                       #ifdef HAVE_IEEEFP_H
46004                       #include <ieeefp.h>
46005                       #endif
46006
46007 int
46008 main ()
46009 {
46010  _logl(0);
46011   ;
46012   return 0;
46013 }
46014 _ACEOF
46015 rm -f conftest.$ac_objext
46016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46017   (eval $ac_compile) 2>conftest.er1
46018   ac_status=$?
46019   grep -v '^ *+' conftest.er1 >conftest.err
46020   rm -f conftest.er1
46021   cat conftest.err >&5
46022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46023   (exit $ac_status); } &&
46024          { ac_try='test -z "$ac_cxx_werror_flag"
46025                          || test ! -s conftest.err'
46026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46027   (eval $ac_try) 2>&5
46028   ac_status=$?
46029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46030   (exit $ac_status); }; } &&
46031          { ac_try='test -s conftest.$ac_objext'
46032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46033   (eval $ac_try) 2>&5
46034   ac_status=$?
46035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46036   (exit $ac_status); }; }; then
46037   glibcxx_cv_func__logl_use=yes
46038 else
46039   echo "$as_me: failed program was:" >&5
46040 sed 's/^/| /' conftest.$ac_ext >&5
46041
46042 glibcxx_cv_func__logl_use=no
46043 fi
46044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46045       ac_ext=c
46046 ac_cpp='$CPP $CPPFLAGS'
46047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46050
46051
46052 fi
46053
46054   fi
46055   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
46056 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
46057
46058     if test x$glibcxx_cv_func__logl_use = x"yes"; then
46059
46060 for ac_func in _logl
46061 do
46062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46063 echo "$as_me:$LINENO: checking for $ac_func" >&5
46064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46065 if eval "test \"\${$as_ac_var+set}\" = set"; then
46066   echo $ECHO_N "(cached) $ECHO_C" >&6
46067 else
46068   if test x$gcc_no_link = xyes; then
46069   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46071    { (exit 1); exit 1; }; }
46072 fi
46073 cat >conftest.$ac_ext <<_ACEOF
46074 /* confdefs.h.  */
46075 _ACEOF
46076 cat confdefs.h >>conftest.$ac_ext
46077 cat >>conftest.$ac_ext <<_ACEOF
46078 /* end confdefs.h.  */
46079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46080    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46081 #define $ac_func innocuous_$ac_func
46082
46083 /* System header to define __stub macros and hopefully few prototypes,
46084     which can conflict with char $ac_func (); below.
46085     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46086     <limits.h> exists even on freestanding compilers.  */
46087
46088 #ifdef __STDC__
46089 # include <limits.h>
46090 #else
46091 # include <assert.h>
46092 #endif
46093
46094 #undef $ac_func
46095
46096 /* Override any gcc2 internal prototype to avoid an error.  */
46097 #ifdef __cplusplus
46098 extern "C"
46099 {
46100 #endif
46101 /* We use char because int might match the return type of a gcc2
46102    builtin and then its argument prototype would still apply.  */
46103 char $ac_func ();
46104 /* The GNU C library defines this for functions which it implements
46105     to always fail with ENOSYS.  Some functions are actually named
46106     something starting with __ and the normal name is an alias.  */
46107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46108 choke me
46109 #else
46110 char (*f) () = $ac_func;
46111 #endif
46112 #ifdef __cplusplus
46113 }
46114 #endif
46115
46116 int
46117 main ()
46118 {
46119 return f != $ac_func;
46120   ;
46121   return 0;
46122 }
46123 _ACEOF
46124 rm -f conftest.$ac_objext conftest$ac_exeext
46125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46126   (eval $ac_link) 2>conftest.er1
46127   ac_status=$?
46128   grep -v '^ *+' conftest.er1 >conftest.err
46129   rm -f conftest.er1
46130   cat conftest.err >&5
46131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46132   (exit $ac_status); } &&
46133          { ac_try='test -z "$ac_c_werror_flag"
46134                          || test ! -s conftest.err'
46135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46136   (eval $ac_try) 2>&5
46137   ac_status=$?
46138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46139   (exit $ac_status); }; } &&
46140          { ac_try='test -s conftest$ac_exeext'
46141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46142   (eval $ac_try) 2>&5
46143   ac_status=$?
46144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46145   (exit $ac_status); }; }; then
46146   eval "$as_ac_var=yes"
46147 else
46148   echo "$as_me: failed program was:" >&5
46149 sed 's/^/| /' conftest.$ac_ext >&5
46150
46151 eval "$as_ac_var=no"
46152 fi
46153 rm -f conftest.err conftest.$ac_objext \
46154       conftest$ac_exeext conftest.$ac_ext
46155 fi
46156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46158 if test `eval echo '${'$as_ac_var'}'` = yes; then
46159   cat >>confdefs.h <<_ACEOF
46160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46161 _ACEOF
46162
46163 fi
46164 done
46165
46166     fi
46167   fi
46168
46169
46170
46171
46172
46173
46174   echo "$as_me:$LINENO: checking for log10l declaration" >&5
46175 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
46176   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46177     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
46178   echo $ECHO_N "(cached) $ECHO_C" >&6
46179 else
46180
46181
46182
46183       ac_ext=cc
46184 ac_cpp='$CXXCPP $CPPFLAGS'
46185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46188
46189       cat >conftest.$ac_ext <<_ACEOF
46190 /* confdefs.h.  */
46191 _ACEOF
46192 cat confdefs.h >>conftest.$ac_ext
46193 cat >>conftest.$ac_ext <<_ACEOF
46194 /* end confdefs.h.  */
46195 #include <math.h>
46196                       #ifdef HAVE_IEEEFP_H
46197                       #include <ieeefp.h>
46198                       #endif
46199
46200 int
46201 main ()
46202 {
46203  log10l(0);
46204   ;
46205   return 0;
46206 }
46207 _ACEOF
46208 rm -f conftest.$ac_objext
46209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46210   (eval $ac_compile) 2>conftest.er1
46211   ac_status=$?
46212   grep -v '^ *+' conftest.er1 >conftest.err
46213   rm -f conftest.er1
46214   cat conftest.err >&5
46215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46216   (exit $ac_status); } &&
46217          { ac_try='test -z "$ac_cxx_werror_flag"
46218                          || test ! -s conftest.err'
46219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46220   (eval $ac_try) 2>&5
46221   ac_status=$?
46222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46223   (exit $ac_status); }; } &&
46224          { ac_try='test -s conftest.$ac_objext'
46225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46226   (eval $ac_try) 2>&5
46227   ac_status=$?
46228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46229   (exit $ac_status); }; }; then
46230   glibcxx_cv_func_log10l_use=yes
46231 else
46232   echo "$as_me: failed program was:" >&5
46233 sed 's/^/| /' conftest.$ac_ext >&5
46234
46235 glibcxx_cv_func_log10l_use=no
46236 fi
46237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46238       ac_ext=c
46239 ac_cpp='$CPP $CPPFLAGS'
46240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46243
46244
46245 fi
46246
46247   fi
46248   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
46249 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
46250
46251   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46252
46253 for ac_func in log10l
46254 do
46255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46256 echo "$as_me:$LINENO: checking for $ac_func" >&5
46257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46258 if eval "test \"\${$as_ac_var+set}\" = set"; then
46259   echo $ECHO_N "(cached) $ECHO_C" >&6
46260 else
46261   if test x$gcc_no_link = xyes; then
46262   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46264    { (exit 1); exit 1; }; }
46265 fi
46266 cat >conftest.$ac_ext <<_ACEOF
46267 /* confdefs.h.  */
46268 _ACEOF
46269 cat confdefs.h >>conftest.$ac_ext
46270 cat >>conftest.$ac_ext <<_ACEOF
46271 /* end confdefs.h.  */
46272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46273    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46274 #define $ac_func innocuous_$ac_func
46275
46276 /* System header to define __stub macros and hopefully few prototypes,
46277     which can conflict with char $ac_func (); below.
46278     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46279     <limits.h> exists even on freestanding compilers.  */
46280
46281 #ifdef __STDC__
46282 # include <limits.h>
46283 #else
46284 # include <assert.h>
46285 #endif
46286
46287 #undef $ac_func
46288
46289 /* Override any gcc2 internal prototype to avoid an error.  */
46290 #ifdef __cplusplus
46291 extern "C"
46292 {
46293 #endif
46294 /* We use char because int might match the return type of a gcc2
46295    builtin and then its argument prototype would still apply.  */
46296 char $ac_func ();
46297 /* The GNU C library defines this for functions which it implements
46298     to always fail with ENOSYS.  Some functions are actually named
46299     something starting with __ and the normal name is an alias.  */
46300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46301 choke me
46302 #else
46303 char (*f) () = $ac_func;
46304 #endif
46305 #ifdef __cplusplus
46306 }
46307 #endif
46308
46309 int
46310 main ()
46311 {
46312 return f != $ac_func;
46313   ;
46314   return 0;
46315 }
46316 _ACEOF
46317 rm -f conftest.$ac_objext conftest$ac_exeext
46318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46319   (eval $ac_link) 2>conftest.er1
46320   ac_status=$?
46321   grep -v '^ *+' conftest.er1 >conftest.err
46322   rm -f conftest.er1
46323   cat conftest.err >&5
46324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46325   (exit $ac_status); } &&
46326          { ac_try='test -z "$ac_c_werror_flag"
46327                          || test ! -s conftest.err'
46328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46329   (eval $ac_try) 2>&5
46330   ac_status=$?
46331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46332   (exit $ac_status); }; } &&
46333          { ac_try='test -s conftest$ac_exeext'
46334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46335   (eval $ac_try) 2>&5
46336   ac_status=$?
46337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46338   (exit $ac_status); }; }; then
46339   eval "$as_ac_var=yes"
46340 else
46341   echo "$as_me: failed program was:" >&5
46342 sed 's/^/| /' conftest.$ac_ext >&5
46343
46344 eval "$as_ac_var=no"
46345 fi
46346 rm -f conftest.err conftest.$ac_objext \
46347       conftest$ac_exeext conftest.$ac_ext
46348 fi
46349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46351 if test `eval echo '${'$as_ac_var'}'` = yes; then
46352   cat >>confdefs.h <<_ACEOF
46353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46354 _ACEOF
46355
46356 fi
46357 done
46358
46359   else
46360
46361   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
46362 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
46363   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46364     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
46365   echo $ECHO_N "(cached) $ECHO_C" >&6
46366 else
46367
46368
46369
46370       ac_ext=cc
46371 ac_cpp='$CXXCPP $CPPFLAGS'
46372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46375
46376       cat >conftest.$ac_ext <<_ACEOF
46377 /* confdefs.h.  */
46378 _ACEOF
46379 cat confdefs.h >>conftest.$ac_ext
46380 cat >>conftest.$ac_ext <<_ACEOF
46381 /* end confdefs.h.  */
46382 #include <math.h>
46383                       #ifdef HAVE_IEEEFP_H
46384                       #include <ieeefp.h>
46385                       #endif
46386
46387 int
46388 main ()
46389 {
46390  _log10l(0);
46391   ;
46392   return 0;
46393 }
46394 _ACEOF
46395 rm -f conftest.$ac_objext
46396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46397   (eval $ac_compile) 2>conftest.er1
46398   ac_status=$?
46399   grep -v '^ *+' conftest.er1 >conftest.err
46400   rm -f conftest.er1
46401   cat conftest.err >&5
46402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46403   (exit $ac_status); } &&
46404          { ac_try='test -z "$ac_cxx_werror_flag"
46405                          || test ! -s conftest.err'
46406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46407   (eval $ac_try) 2>&5
46408   ac_status=$?
46409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46410   (exit $ac_status); }; } &&
46411          { ac_try='test -s conftest.$ac_objext'
46412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46413   (eval $ac_try) 2>&5
46414   ac_status=$?
46415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46416   (exit $ac_status); }; }; then
46417   glibcxx_cv_func__log10l_use=yes
46418 else
46419   echo "$as_me: failed program was:" >&5
46420 sed 's/^/| /' conftest.$ac_ext >&5
46421
46422 glibcxx_cv_func__log10l_use=no
46423 fi
46424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46425       ac_ext=c
46426 ac_cpp='$CPP $CPPFLAGS'
46427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46430
46431
46432 fi
46433
46434   fi
46435   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
46436 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
46437
46438     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46439
46440 for ac_func in _log10l
46441 do
46442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46443 echo "$as_me:$LINENO: checking for $ac_func" >&5
46444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46445 if eval "test \"\${$as_ac_var+set}\" = set"; then
46446   echo $ECHO_N "(cached) $ECHO_C" >&6
46447 else
46448   if test x$gcc_no_link = xyes; then
46449   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46451    { (exit 1); exit 1; }; }
46452 fi
46453 cat >conftest.$ac_ext <<_ACEOF
46454 /* confdefs.h.  */
46455 _ACEOF
46456 cat confdefs.h >>conftest.$ac_ext
46457 cat >>conftest.$ac_ext <<_ACEOF
46458 /* end confdefs.h.  */
46459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46460    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46461 #define $ac_func innocuous_$ac_func
46462
46463 /* System header to define __stub macros and hopefully few prototypes,
46464     which can conflict with char $ac_func (); below.
46465     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46466     <limits.h> exists even on freestanding compilers.  */
46467
46468 #ifdef __STDC__
46469 # include <limits.h>
46470 #else
46471 # include <assert.h>
46472 #endif
46473
46474 #undef $ac_func
46475
46476 /* Override any gcc2 internal prototype to avoid an error.  */
46477 #ifdef __cplusplus
46478 extern "C"
46479 {
46480 #endif
46481 /* We use char because int might match the return type of a gcc2
46482    builtin and then its argument prototype would still apply.  */
46483 char $ac_func ();
46484 /* The GNU C library defines this for functions which it implements
46485     to always fail with ENOSYS.  Some functions are actually named
46486     something starting with __ and the normal name is an alias.  */
46487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46488 choke me
46489 #else
46490 char (*f) () = $ac_func;
46491 #endif
46492 #ifdef __cplusplus
46493 }
46494 #endif
46495
46496 int
46497 main ()
46498 {
46499 return f != $ac_func;
46500   ;
46501   return 0;
46502 }
46503 _ACEOF
46504 rm -f conftest.$ac_objext conftest$ac_exeext
46505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46506   (eval $ac_link) 2>conftest.er1
46507   ac_status=$?
46508   grep -v '^ *+' conftest.er1 >conftest.err
46509   rm -f conftest.er1
46510   cat conftest.err >&5
46511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46512   (exit $ac_status); } &&
46513          { ac_try='test -z "$ac_c_werror_flag"
46514                          || test ! -s conftest.err'
46515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46516   (eval $ac_try) 2>&5
46517   ac_status=$?
46518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46519   (exit $ac_status); }; } &&
46520          { ac_try='test -s conftest$ac_exeext'
46521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46522   (eval $ac_try) 2>&5
46523   ac_status=$?
46524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46525   (exit $ac_status); }; }; then
46526   eval "$as_ac_var=yes"
46527 else
46528   echo "$as_me: failed program was:" >&5
46529 sed 's/^/| /' conftest.$ac_ext >&5
46530
46531 eval "$as_ac_var=no"
46532 fi
46533 rm -f conftest.err conftest.$ac_objext \
46534       conftest$ac_exeext conftest.$ac_ext
46535 fi
46536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46538 if test `eval echo '${'$as_ac_var'}'` = yes; then
46539   cat >>confdefs.h <<_ACEOF
46540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46541 _ACEOF
46542
46543 fi
46544 done
46545
46546     fi
46547   fi
46548
46549
46550
46551
46552
46553
46554   echo "$as_me:$LINENO: checking for modfl declaration" >&5
46555 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
46556   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46557     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
46558   echo $ECHO_N "(cached) $ECHO_C" >&6
46559 else
46560
46561
46562
46563       ac_ext=cc
46564 ac_cpp='$CXXCPP $CPPFLAGS'
46565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46568
46569       cat >conftest.$ac_ext <<_ACEOF
46570 /* confdefs.h.  */
46571 _ACEOF
46572 cat confdefs.h >>conftest.$ac_ext
46573 cat >>conftest.$ac_ext <<_ACEOF
46574 /* end confdefs.h.  */
46575 #include <math.h>
46576 int
46577 main ()
46578 {
46579  modfl(0, 0);
46580   ;
46581   return 0;
46582 }
46583 _ACEOF
46584 rm -f conftest.$ac_objext
46585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46586   (eval $ac_compile) 2>conftest.er1
46587   ac_status=$?
46588   grep -v '^ *+' conftest.er1 >conftest.err
46589   rm -f conftest.er1
46590   cat conftest.err >&5
46591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46592   (exit $ac_status); } &&
46593          { ac_try='test -z "$ac_cxx_werror_flag"
46594                          || test ! -s conftest.err'
46595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46596   (eval $ac_try) 2>&5
46597   ac_status=$?
46598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46599   (exit $ac_status); }; } &&
46600          { ac_try='test -s conftest.$ac_objext'
46601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46602   (eval $ac_try) 2>&5
46603   ac_status=$?
46604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46605   (exit $ac_status); }; }; then
46606   glibcxx_cv_func_modfl_use=yes
46607 else
46608   echo "$as_me: failed program was:" >&5
46609 sed 's/^/| /' conftest.$ac_ext >&5
46610
46611 glibcxx_cv_func_modfl_use=no
46612 fi
46613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46614       ac_ext=c
46615 ac_cpp='$CPP $CPPFLAGS'
46616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46619
46620
46621 fi
46622
46623   fi
46624   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
46625 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
46626
46627   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46628
46629 for ac_func in modfl
46630 do
46631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46632 echo "$as_me:$LINENO: checking for $ac_func" >&5
46633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46634 if eval "test \"\${$as_ac_var+set}\" = set"; then
46635   echo $ECHO_N "(cached) $ECHO_C" >&6
46636 else
46637   if test x$gcc_no_link = xyes; then
46638   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46640    { (exit 1); exit 1; }; }
46641 fi
46642 cat >conftest.$ac_ext <<_ACEOF
46643 /* confdefs.h.  */
46644 _ACEOF
46645 cat confdefs.h >>conftest.$ac_ext
46646 cat >>conftest.$ac_ext <<_ACEOF
46647 /* end confdefs.h.  */
46648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46649    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46650 #define $ac_func innocuous_$ac_func
46651
46652 /* System header to define __stub macros and hopefully few prototypes,
46653     which can conflict with char $ac_func (); below.
46654     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46655     <limits.h> exists even on freestanding compilers.  */
46656
46657 #ifdef __STDC__
46658 # include <limits.h>
46659 #else
46660 # include <assert.h>
46661 #endif
46662
46663 #undef $ac_func
46664
46665 /* Override any gcc2 internal prototype to avoid an error.  */
46666 #ifdef __cplusplus
46667 extern "C"
46668 {
46669 #endif
46670 /* We use char because int might match the return type of a gcc2
46671    builtin and then its argument prototype would still apply.  */
46672 char $ac_func ();
46673 /* The GNU C library defines this for functions which it implements
46674     to always fail with ENOSYS.  Some functions are actually named
46675     something starting with __ and the normal name is an alias.  */
46676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46677 choke me
46678 #else
46679 char (*f) () = $ac_func;
46680 #endif
46681 #ifdef __cplusplus
46682 }
46683 #endif
46684
46685 int
46686 main ()
46687 {
46688 return f != $ac_func;
46689   ;
46690   return 0;
46691 }
46692 _ACEOF
46693 rm -f conftest.$ac_objext conftest$ac_exeext
46694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46695   (eval $ac_link) 2>conftest.er1
46696   ac_status=$?
46697   grep -v '^ *+' conftest.er1 >conftest.err
46698   rm -f conftest.er1
46699   cat conftest.err >&5
46700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46701   (exit $ac_status); } &&
46702          { ac_try='test -z "$ac_c_werror_flag"
46703                          || test ! -s conftest.err'
46704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46705   (eval $ac_try) 2>&5
46706   ac_status=$?
46707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46708   (exit $ac_status); }; } &&
46709          { ac_try='test -s conftest$ac_exeext'
46710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46711   (eval $ac_try) 2>&5
46712   ac_status=$?
46713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46714   (exit $ac_status); }; }; then
46715   eval "$as_ac_var=yes"
46716 else
46717   echo "$as_me: failed program was:" >&5
46718 sed 's/^/| /' conftest.$ac_ext >&5
46719
46720 eval "$as_ac_var=no"
46721 fi
46722 rm -f conftest.err conftest.$ac_objext \
46723       conftest$ac_exeext conftest.$ac_ext
46724 fi
46725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46727 if test `eval echo '${'$as_ac_var'}'` = yes; then
46728   cat >>confdefs.h <<_ACEOF
46729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46730 _ACEOF
46731
46732 fi
46733 done
46734
46735   else
46736
46737   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
46738 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
46739   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46740     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
46741   echo $ECHO_N "(cached) $ECHO_C" >&6
46742 else
46743
46744
46745
46746       ac_ext=cc
46747 ac_cpp='$CXXCPP $CPPFLAGS'
46748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46751
46752       cat >conftest.$ac_ext <<_ACEOF
46753 /* confdefs.h.  */
46754 _ACEOF
46755 cat confdefs.h >>conftest.$ac_ext
46756 cat >>conftest.$ac_ext <<_ACEOF
46757 /* end confdefs.h.  */
46758 #include <math.h>
46759 int
46760 main ()
46761 {
46762  _modfl(0, 0);
46763   ;
46764   return 0;
46765 }
46766 _ACEOF
46767 rm -f conftest.$ac_objext
46768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46769   (eval $ac_compile) 2>conftest.er1
46770   ac_status=$?
46771   grep -v '^ *+' conftest.er1 >conftest.err
46772   rm -f conftest.er1
46773   cat conftest.err >&5
46774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46775   (exit $ac_status); } &&
46776          { ac_try='test -z "$ac_cxx_werror_flag"
46777                          || test ! -s conftest.err'
46778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46779   (eval $ac_try) 2>&5
46780   ac_status=$?
46781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46782   (exit $ac_status); }; } &&
46783          { ac_try='test -s conftest.$ac_objext'
46784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46785   (eval $ac_try) 2>&5
46786   ac_status=$?
46787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46788   (exit $ac_status); }; }; then
46789   glibcxx_cv_func__modfl_use=yes
46790 else
46791   echo "$as_me: failed program was:" >&5
46792 sed 's/^/| /' conftest.$ac_ext >&5
46793
46794 glibcxx_cv_func__modfl_use=no
46795 fi
46796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46797       ac_ext=c
46798 ac_cpp='$CPP $CPPFLAGS'
46799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46802
46803
46804 fi
46805
46806   fi
46807   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
46808 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
46809
46810     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46811
46812 for ac_func in _modfl
46813 do
46814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46815 echo "$as_me:$LINENO: checking for $ac_func" >&5
46816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46817 if eval "test \"\${$as_ac_var+set}\" = set"; then
46818   echo $ECHO_N "(cached) $ECHO_C" >&6
46819 else
46820   if test x$gcc_no_link = xyes; then
46821   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46823    { (exit 1); exit 1; }; }
46824 fi
46825 cat >conftest.$ac_ext <<_ACEOF
46826 /* confdefs.h.  */
46827 _ACEOF
46828 cat confdefs.h >>conftest.$ac_ext
46829 cat >>conftest.$ac_ext <<_ACEOF
46830 /* end confdefs.h.  */
46831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46832    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46833 #define $ac_func innocuous_$ac_func
46834
46835 /* System header to define __stub macros and hopefully few prototypes,
46836     which can conflict with char $ac_func (); below.
46837     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46838     <limits.h> exists even on freestanding compilers.  */
46839
46840 #ifdef __STDC__
46841 # include <limits.h>
46842 #else
46843 # include <assert.h>
46844 #endif
46845
46846 #undef $ac_func
46847
46848 /* Override any gcc2 internal prototype to avoid an error.  */
46849 #ifdef __cplusplus
46850 extern "C"
46851 {
46852 #endif
46853 /* We use char because int might match the return type of a gcc2
46854    builtin and then its argument prototype would still apply.  */
46855 char $ac_func ();
46856 /* The GNU C library defines this for functions which it implements
46857     to always fail with ENOSYS.  Some functions are actually named
46858     something starting with __ and the normal name is an alias.  */
46859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46860 choke me
46861 #else
46862 char (*f) () = $ac_func;
46863 #endif
46864 #ifdef __cplusplus
46865 }
46866 #endif
46867
46868 int
46869 main ()
46870 {
46871 return f != $ac_func;
46872   ;
46873   return 0;
46874 }
46875 _ACEOF
46876 rm -f conftest.$ac_objext conftest$ac_exeext
46877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46878   (eval $ac_link) 2>conftest.er1
46879   ac_status=$?
46880   grep -v '^ *+' conftest.er1 >conftest.err
46881   rm -f conftest.er1
46882   cat conftest.err >&5
46883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46884   (exit $ac_status); } &&
46885          { ac_try='test -z "$ac_c_werror_flag"
46886                          || test ! -s conftest.err'
46887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46888   (eval $ac_try) 2>&5
46889   ac_status=$?
46890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46891   (exit $ac_status); }; } &&
46892          { ac_try='test -s conftest$ac_exeext'
46893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46894   (eval $ac_try) 2>&5
46895   ac_status=$?
46896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46897   (exit $ac_status); }; }; then
46898   eval "$as_ac_var=yes"
46899 else
46900   echo "$as_me: failed program was:" >&5
46901 sed 's/^/| /' conftest.$ac_ext >&5
46902
46903 eval "$as_ac_var=no"
46904 fi
46905 rm -f conftest.err conftest.$ac_objext \
46906       conftest$ac_exeext conftest.$ac_ext
46907 fi
46908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46910 if test `eval echo '${'$as_ac_var'}'` = yes; then
46911   cat >>confdefs.h <<_ACEOF
46912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46913 _ACEOF
46914
46915 fi
46916 done
46917
46918     fi
46919   fi
46920
46921
46922
46923
46924
46925
46926   echo "$as_me:$LINENO: checking for powl declaration" >&5
46927 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
46928   if test x${glibcxx_cv_func_powl_use+set} != xset; then
46929     if test "${glibcxx_cv_func_powl_use+set}" = set; then
46930   echo $ECHO_N "(cached) $ECHO_C" >&6
46931 else
46932
46933
46934
46935       ac_ext=cc
46936 ac_cpp='$CXXCPP $CPPFLAGS'
46937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46940
46941       cat >conftest.$ac_ext <<_ACEOF
46942 /* confdefs.h.  */
46943 _ACEOF
46944 cat confdefs.h >>conftest.$ac_ext
46945 cat >>conftest.$ac_ext <<_ACEOF
46946 /* end confdefs.h.  */
46947 #include <math.h>
46948 int
46949 main ()
46950 {
46951  powl(0, 0);
46952   ;
46953   return 0;
46954 }
46955 _ACEOF
46956 rm -f conftest.$ac_objext
46957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46958   (eval $ac_compile) 2>conftest.er1
46959   ac_status=$?
46960   grep -v '^ *+' conftest.er1 >conftest.err
46961   rm -f conftest.er1
46962   cat conftest.err >&5
46963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46964   (exit $ac_status); } &&
46965          { ac_try='test -z "$ac_cxx_werror_flag"
46966                          || test ! -s conftest.err'
46967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46968   (eval $ac_try) 2>&5
46969   ac_status=$?
46970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46971   (exit $ac_status); }; } &&
46972          { ac_try='test -s conftest.$ac_objext'
46973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46974   (eval $ac_try) 2>&5
46975   ac_status=$?
46976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46977   (exit $ac_status); }; }; then
46978   glibcxx_cv_func_powl_use=yes
46979 else
46980   echo "$as_me: failed program was:" >&5
46981 sed 's/^/| /' conftest.$ac_ext >&5
46982
46983 glibcxx_cv_func_powl_use=no
46984 fi
46985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46986       ac_ext=c
46987 ac_cpp='$CPP $CPPFLAGS'
46988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46991
46992
46993 fi
46994
46995   fi
46996   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
46997 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
46998
46999   if test x$glibcxx_cv_func_powl_use = x"yes"; then
47000
47001 for ac_func in powl
47002 do
47003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47004 echo "$as_me:$LINENO: checking for $ac_func" >&5
47005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47006 if eval "test \"\${$as_ac_var+set}\" = set"; then
47007   echo $ECHO_N "(cached) $ECHO_C" >&6
47008 else
47009   if test x$gcc_no_link = xyes; then
47010   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47012    { (exit 1); exit 1; }; }
47013 fi
47014 cat >conftest.$ac_ext <<_ACEOF
47015 /* confdefs.h.  */
47016 _ACEOF
47017 cat confdefs.h >>conftest.$ac_ext
47018 cat >>conftest.$ac_ext <<_ACEOF
47019 /* end confdefs.h.  */
47020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47021    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47022 #define $ac_func innocuous_$ac_func
47023
47024 /* System header to define __stub macros and hopefully few prototypes,
47025     which can conflict with char $ac_func (); below.
47026     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47027     <limits.h> exists even on freestanding compilers.  */
47028
47029 #ifdef __STDC__
47030 # include <limits.h>
47031 #else
47032 # include <assert.h>
47033 #endif
47034
47035 #undef $ac_func
47036
47037 /* Override any gcc2 internal prototype to avoid an error.  */
47038 #ifdef __cplusplus
47039 extern "C"
47040 {
47041 #endif
47042 /* We use char because int might match the return type of a gcc2
47043    builtin and then its argument prototype would still apply.  */
47044 char $ac_func ();
47045 /* The GNU C library defines this for functions which it implements
47046     to always fail with ENOSYS.  Some functions are actually named
47047     something starting with __ and the normal name is an alias.  */
47048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47049 choke me
47050 #else
47051 char (*f) () = $ac_func;
47052 #endif
47053 #ifdef __cplusplus
47054 }
47055 #endif
47056
47057 int
47058 main ()
47059 {
47060 return f != $ac_func;
47061   ;
47062   return 0;
47063 }
47064 _ACEOF
47065 rm -f conftest.$ac_objext conftest$ac_exeext
47066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47067   (eval $ac_link) 2>conftest.er1
47068   ac_status=$?
47069   grep -v '^ *+' conftest.er1 >conftest.err
47070   rm -f conftest.er1
47071   cat conftest.err >&5
47072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47073   (exit $ac_status); } &&
47074          { ac_try='test -z "$ac_c_werror_flag"
47075                          || test ! -s conftest.err'
47076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47077   (eval $ac_try) 2>&5
47078   ac_status=$?
47079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47080   (exit $ac_status); }; } &&
47081          { ac_try='test -s conftest$ac_exeext'
47082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47083   (eval $ac_try) 2>&5
47084   ac_status=$?
47085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47086   (exit $ac_status); }; }; then
47087   eval "$as_ac_var=yes"
47088 else
47089   echo "$as_me: failed program was:" >&5
47090 sed 's/^/| /' conftest.$ac_ext >&5
47091
47092 eval "$as_ac_var=no"
47093 fi
47094 rm -f conftest.err conftest.$ac_objext \
47095       conftest$ac_exeext conftest.$ac_ext
47096 fi
47097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47098 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47099 if test `eval echo '${'$as_ac_var'}'` = yes; then
47100   cat >>confdefs.h <<_ACEOF
47101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47102 _ACEOF
47103
47104 fi
47105 done
47106
47107   else
47108
47109   echo "$as_me:$LINENO: checking for _powl declaration" >&5
47110 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
47111   if test x${glibcxx_cv_func__powl_use+set} != xset; then
47112     if test "${glibcxx_cv_func__powl_use+set}" = set; then
47113   echo $ECHO_N "(cached) $ECHO_C" >&6
47114 else
47115
47116
47117
47118       ac_ext=cc
47119 ac_cpp='$CXXCPP $CPPFLAGS'
47120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47123
47124       cat >conftest.$ac_ext <<_ACEOF
47125 /* confdefs.h.  */
47126 _ACEOF
47127 cat confdefs.h >>conftest.$ac_ext
47128 cat >>conftest.$ac_ext <<_ACEOF
47129 /* end confdefs.h.  */
47130 #include <math.h>
47131 int
47132 main ()
47133 {
47134  _powl(0, 0);
47135   ;
47136   return 0;
47137 }
47138 _ACEOF
47139 rm -f conftest.$ac_objext
47140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47141   (eval $ac_compile) 2>conftest.er1
47142   ac_status=$?
47143   grep -v '^ *+' conftest.er1 >conftest.err
47144   rm -f conftest.er1
47145   cat conftest.err >&5
47146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47147   (exit $ac_status); } &&
47148          { ac_try='test -z "$ac_cxx_werror_flag"
47149                          || test ! -s conftest.err'
47150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47151   (eval $ac_try) 2>&5
47152   ac_status=$?
47153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47154   (exit $ac_status); }; } &&
47155          { ac_try='test -s conftest.$ac_objext'
47156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47157   (eval $ac_try) 2>&5
47158   ac_status=$?
47159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47160   (exit $ac_status); }; }; then
47161   glibcxx_cv_func__powl_use=yes
47162 else
47163   echo "$as_me: failed program was:" >&5
47164 sed 's/^/| /' conftest.$ac_ext >&5
47165
47166 glibcxx_cv_func__powl_use=no
47167 fi
47168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47169       ac_ext=c
47170 ac_cpp='$CPP $CPPFLAGS'
47171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47174
47175
47176 fi
47177
47178   fi
47179   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
47180 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
47181
47182     if test x$glibcxx_cv_func__powl_use = x"yes"; then
47183
47184 for ac_func in _powl
47185 do
47186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47187 echo "$as_me:$LINENO: checking for $ac_func" >&5
47188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47189 if eval "test \"\${$as_ac_var+set}\" = set"; then
47190   echo $ECHO_N "(cached) $ECHO_C" >&6
47191 else
47192   if test x$gcc_no_link = xyes; then
47193   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47195    { (exit 1); exit 1; }; }
47196 fi
47197 cat >conftest.$ac_ext <<_ACEOF
47198 /* confdefs.h.  */
47199 _ACEOF
47200 cat confdefs.h >>conftest.$ac_ext
47201 cat >>conftest.$ac_ext <<_ACEOF
47202 /* end confdefs.h.  */
47203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47204    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47205 #define $ac_func innocuous_$ac_func
47206
47207 /* System header to define __stub macros and hopefully few prototypes,
47208     which can conflict with char $ac_func (); below.
47209     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47210     <limits.h> exists even on freestanding compilers.  */
47211
47212 #ifdef __STDC__
47213 # include <limits.h>
47214 #else
47215 # include <assert.h>
47216 #endif
47217
47218 #undef $ac_func
47219
47220 /* Override any gcc2 internal prototype to avoid an error.  */
47221 #ifdef __cplusplus
47222 extern "C"
47223 {
47224 #endif
47225 /* We use char because int might match the return type of a gcc2
47226    builtin and then its argument prototype would still apply.  */
47227 char $ac_func ();
47228 /* The GNU C library defines this for functions which it implements
47229     to always fail with ENOSYS.  Some functions are actually named
47230     something starting with __ and the normal name is an alias.  */
47231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47232 choke me
47233 #else
47234 char (*f) () = $ac_func;
47235 #endif
47236 #ifdef __cplusplus
47237 }
47238 #endif
47239
47240 int
47241 main ()
47242 {
47243 return f != $ac_func;
47244   ;
47245   return 0;
47246 }
47247 _ACEOF
47248 rm -f conftest.$ac_objext conftest$ac_exeext
47249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47250   (eval $ac_link) 2>conftest.er1
47251   ac_status=$?
47252   grep -v '^ *+' conftest.er1 >conftest.err
47253   rm -f conftest.er1
47254   cat conftest.err >&5
47255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47256   (exit $ac_status); } &&
47257          { ac_try='test -z "$ac_c_werror_flag"
47258                          || test ! -s conftest.err'
47259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47260   (eval $ac_try) 2>&5
47261   ac_status=$?
47262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47263   (exit $ac_status); }; } &&
47264          { ac_try='test -s conftest$ac_exeext'
47265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47266   (eval $ac_try) 2>&5
47267   ac_status=$?
47268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47269   (exit $ac_status); }; }; then
47270   eval "$as_ac_var=yes"
47271 else
47272   echo "$as_me: failed program was:" >&5
47273 sed 's/^/| /' conftest.$ac_ext >&5
47274
47275 eval "$as_ac_var=no"
47276 fi
47277 rm -f conftest.err conftest.$ac_objext \
47278       conftest$ac_exeext conftest.$ac_ext
47279 fi
47280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47282 if test `eval echo '${'$as_ac_var'}'` = yes; then
47283   cat >>confdefs.h <<_ACEOF
47284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47285 _ACEOF
47286
47287 fi
47288 done
47289
47290     fi
47291   fi
47292
47293
47294
47295
47296
47297
47298   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
47299 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
47300   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
47301     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
47302   echo $ECHO_N "(cached) $ECHO_C" >&6
47303 else
47304
47305
47306
47307       ac_ext=cc
47308 ac_cpp='$CXXCPP $CPPFLAGS'
47309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47312
47313       cat >conftest.$ac_ext <<_ACEOF
47314 /* confdefs.h.  */
47315 _ACEOF
47316 cat confdefs.h >>conftest.$ac_ext
47317 cat >>conftest.$ac_ext <<_ACEOF
47318 /* end confdefs.h.  */
47319 #include <math.h>
47320                       #ifdef HAVE_IEEEFP_H
47321                       #include <ieeefp.h>
47322                       #endif
47323
47324 int
47325 main ()
47326 {
47327  sqrtl(0);
47328   ;
47329   return 0;
47330 }
47331 _ACEOF
47332 rm -f conftest.$ac_objext
47333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47334   (eval $ac_compile) 2>conftest.er1
47335   ac_status=$?
47336   grep -v '^ *+' conftest.er1 >conftest.err
47337   rm -f conftest.er1
47338   cat conftest.err >&5
47339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47340   (exit $ac_status); } &&
47341          { ac_try='test -z "$ac_cxx_werror_flag"
47342                          || test ! -s conftest.err'
47343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47344   (eval $ac_try) 2>&5
47345   ac_status=$?
47346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47347   (exit $ac_status); }; } &&
47348          { ac_try='test -s conftest.$ac_objext'
47349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47350   (eval $ac_try) 2>&5
47351   ac_status=$?
47352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47353   (exit $ac_status); }; }; then
47354   glibcxx_cv_func_sqrtl_use=yes
47355 else
47356   echo "$as_me: failed program was:" >&5
47357 sed 's/^/| /' conftest.$ac_ext >&5
47358
47359 glibcxx_cv_func_sqrtl_use=no
47360 fi
47361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47362       ac_ext=c
47363 ac_cpp='$CPP $CPPFLAGS'
47364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47367
47368
47369 fi
47370
47371   fi
47372   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
47373 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
47374
47375   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
47376
47377 for ac_func in sqrtl
47378 do
47379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47380 echo "$as_me:$LINENO: checking for $ac_func" >&5
47381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47382 if eval "test \"\${$as_ac_var+set}\" = set"; then
47383   echo $ECHO_N "(cached) $ECHO_C" >&6
47384 else
47385   if test x$gcc_no_link = xyes; then
47386   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47388    { (exit 1); exit 1; }; }
47389 fi
47390 cat >conftest.$ac_ext <<_ACEOF
47391 /* confdefs.h.  */
47392 _ACEOF
47393 cat confdefs.h >>conftest.$ac_ext
47394 cat >>conftest.$ac_ext <<_ACEOF
47395 /* end confdefs.h.  */
47396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47397    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47398 #define $ac_func innocuous_$ac_func
47399
47400 /* System header to define __stub macros and hopefully few prototypes,
47401     which can conflict with char $ac_func (); below.
47402     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47403     <limits.h> exists even on freestanding compilers.  */
47404
47405 #ifdef __STDC__
47406 # include <limits.h>
47407 #else
47408 # include <assert.h>
47409 #endif
47410
47411 #undef $ac_func
47412
47413 /* Override any gcc2 internal prototype to avoid an error.  */
47414 #ifdef __cplusplus
47415 extern "C"
47416 {
47417 #endif
47418 /* We use char because int might match the return type of a gcc2
47419    builtin and then its argument prototype would still apply.  */
47420 char $ac_func ();
47421 /* The GNU C library defines this for functions which it implements
47422     to always fail with ENOSYS.  Some functions are actually named
47423     something starting with __ and the normal name is an alias.  */
47424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47425 choke me
47426 #else
47427 char (*f) () = $ac_func;
47428 #endif
47429 #ifdef __cplusplus
47430 }
47431 #endif
47432
47433 int
47434 main ()
47435 {
47436 return f != $ac_func;
47437   ;
47438   return 0;
47439 }
47440 _ACEOF
47441 rm -f conftest.$ac_objext conftest$ac_exeext
47442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47443   (eval $ac_link) 2>conftest.er1
47444   ac_status=$?
47445   grep -v '^ *+' conftest.er1 >conftest.err
47446   rm -f conftest.er1
47447   cat conftest.err >&5
47448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47449   (exit $ac_status); } &&
47450          { ac_try='test -z "$ac_c_werror_flag"
47451                          || test ! -s conftest.err'
47452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47453   (eval $ac_try) 2>&5
47454   ac_status=$?
47455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47456   (exit $ac_status); }; } &&
47457          { ac_try='test -s conftest$ac_exeext'
47458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47459   (eval $ac_try) 2>&5
47460   ac_status=$?
47461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47462   (exit $ac_status); }; }; then
47463   eval "$as_ac_var=yes"
47464 else
47465   echo "$as_me: failed program was:" >&5
47466 sed 's/^/| /' conftest.$ac_ext >&5
47467
47468 eval "$as_ac_var=no"
47469 fi
47470 rm -f conftest.err conftest.$ac_objext \
47471       conftest$ac_exeext conftest.$ac_ext
47472 fi
47473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47475 if test `eval echo '${'$as_ac_var'}'` = yes; then
47476   cat >>confdefs.h <<_ACEOF
47477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47478 _ACEOF
47479
47480 fi
47481 done
47482
47483   else
47484
47485   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
47486 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
47487   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
47488     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
47489   echo $ECHO_N "(cached) $ECHO_C" >&6
47490 else
47491
47492
47493
47494       ac_ext=cc
47495 ac_cpp='$CXXCPP $CPPFLAGS'
47496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47499
47500       cat >conftest.$ac_ext <<_ACEOF
47501 /* confdefs.h.  */
47502 _ACEOF
47503 cat confdefs.h >>conftest.$ac_ext
47504 cat >>conftest.$ac_ext <<_ACEOF
47505 /* end confdefs.h.  */
47506 #include <math.h>
47507                       #ifdef HAVE_IEEEFP_H
47508                       #include <ieeefp.h>
47509                       #endif
47510
47511 int
47512 main ()
47513 {
47514  _sqrtl(0);
47515   ;
47516   return 0;
47517 }
47518 _ACEOF
47519 rm -f conftest.$ac_objext
47520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47521   (eval $ac_compile) 2>conftest.er1
47522   ac_status=$?
47523   grep -v '^ *+' conftest.er1 >conftest.err
47524   rm -f conftest.er1
47525   cat conftest.err >&5
47526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47527   (exit $ac_status); } &&
47528          { ac_try='test -z "$ac_cxx_werror_flag"
47529                          || test ! -s conftest.err'
47530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47531   (eval $ac_try) 2>&5
47532   ac_status=$?
47533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47534   (exit $ac_status); }; } &&
47535          { ac_try='test -s conftest.$ac_objext'
47536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47537   (eval $ac_try) 2>&5
47538   ac_status=$?
47539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47540   (exit $ac_status); }; }; then
47541   glibcxx_cv_func__sqrtl_use=yes
47542 else
47543   echo "$as_me: failed program was:" >&5
47544 sed 's/^/| /' conftest.$ac_ext >&5
47545
47546 glibcxx_cv_func__sqrtl_use=no
47547 fi
47548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47549       ac_ext=c
47550 ac_cpp='$CPP $CPPFLAGS'
47551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47554
47555
47556 fi
47557
47558   fi
47559   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
47560 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
47561
47562     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
47563
47564 for ac_func in _sqrtl
47565 do
47566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47567 echo "$as_me:$LINENO: checking for $ac_func" >&5
47568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47569 if eval "test \"\${$as_ac_var+set}\" = set"; then
47570   echo $ECHO_N "(cached) $ECHO_C" >&6
47571 else
47572   if test x$gcc_no_link = xyes; then
47573   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47575    { (exit 1); exit 1; }; }
47576 fi
47577 cat >conftest.$ac_ext <<_ACEOF
47578 /* confdefs.h.  */
47579 _ACEOF
47580 cat confdefs.h >>conftest.$ac_ext
47581 cat >>conftest.$ac_ext <<_ACEOF
47582 /* end confdefs.h.  */
47583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47584    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47585 #define $ac_func innocuous_$ac_func
47586
47587 /* System header to define __stub macros and hopefully few prototypes,
47588     which can conflict with char $ac_func (); below.
47589     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47590     <limits.h> exists even on freestanding compilers.  */
47591
47592 #ifdef __STDC__
47593 # include <limits.h>
47594 #else
47595 # include <assert.h>
47596 #endif
47597
47598 #undef $ac_func
47599
47600 /* Override any gcc2 internal prototype to avoid an error.  */
47601 #ifdef __cplusplus
47602 extern "C"
47603 {
47604 #endif
47605 /* We use char because int might match the return type of a gcc2
47606    builtin and then its argument prototype would still apply.  */
47607 char $ac_func ();
47608 /* The GNU C library defines this for functions which it implements
47609     to always fail with ENOSYS.  Some functions are actually named
47610     something starting with __ and the normal name is an alias.  */
47611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47612 choke me
47613 #else
47614 char (*f) () = $ac_func;
47615 #endif
47616 #ifdef __cplusplus
47617 }
47618 #endif
47619
47620 int
47621 main ()
47622 {
47623 return f != $ac_func;
47624   ;
47625   return 0;
47626 }
47627 _ACEOF
47628 rm -f conftest.$ac_objext conftest$ac_exeext
47629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47630   (eval $ac_link) 2>conftest.er1
47631   ac_status=$?
47632   grep -v '^ *+' conftest.er1 >conftest.err
47633   rm -f conftest.er1
47634   cat conftest.err >&5
47635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47636   (exit $ac_status); } &&
47637          { ac_try='test -z "$ac_c_werror_flag"
47638                          || test ! -s conftest.err'
47639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47640   (eval $ac_try) 2>&5
47641   ac_status=$?
47642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47643   (exit $ac_status); }; } &&
47644          { ac_try='test -s conftest$ac_exeext'
47645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47646   (eval $ac_try) 2>&5
47647   ac_status=$?
47648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47649   (exit $ac_status); }; }; then
47650   eval "$as_ac_var=yes"
47651 else
47652   echo "$as_me: failed program was:" >&5
47653 sed 's/^/| /' conftest.$ac_ext >&5
47654
47655 eval "$as_ac_var=no"
47656 fi
47657 rm -f conftest.err conftest.$ac_objext \
47658       conftest$ac_exeext conftest.$ac_ext
47659 fi
47660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47662 if test `eval echo '${'$as_ac_var'}'` = yes; then
47663   cat >>confdefs.h <<_ACEOF
47664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47665 _ACEOF
47666
47667 fi
47668 done
47669
47670     fi
47671   fi
47672
47673
47674
47675
47676
47677
47678   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
47679 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
47680   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
47681     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
47682   echo $ECHO_N "(cached) $ECHO_C" >&6
47683 else
47684
47685
47686
47687       ac_ext=cc
47688 ac_cpp='$CXXCPP $CPPFLAGS'
47689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47692
47693       cat >conftest.$ac_ext <<_ACEOF
47694 /* confdefs.h.  */
47695 _ACEOF
47696 cat confdefs.h >>conftest.$ac_ext
47697 cat >>conftest.$ac_ext <<_ACEOF
47698 /* end confdefs.h.  */
47699 #include <math.h>
47700 int
47701 main ()
47702 {
47703  sincosl(0, 0, 0);
47704   ;
47705   return 0;
47706 }
47707 _ACEOF
47708 rm -f conftest.$ac_objext
47709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47710   (eval $ac_compile) 2>conftest.er1
47711   ac_status=$?
47712   grep -v '^ *+' conftest.er1 >conftest.err
47713   rm -f conftest.er1
47714   cat conftest.err >&5
47715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47716   (exit $ac_status); } &&
47717          { ac_try='test -z "$ac_cxx_werror_flag"
47718                          || test ! -s conftest.err'
47719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47720   (eval $ac_try) 2>&5
47721   ac_status=$?
47722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47723   (exit $ac_status); }; } &&
47724          { ac_try='test -s conftest.$ac_objext'
47725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47726   (eval $ac_try) 2>&5
47727   ac_status=$?
47728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47729   (exit $ac_status); }; }; then
47730   glibcxx_cv_func_sincosl_use=yes
47731 else
47732   echo "$as_me: failed program was:" >&5
47733 sed 's/^/| /' conftest.$ac_ext >&5
47734
47735 glibcxx_cv_func_sincosl_use=no
47736 fi
47737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47738       ac_ext=c
47739 ac_cpp='$CPP $CPPFLAGS'
47740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47743
47744
47745 fi
47746
47747   fi
47748   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
47749 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
47750
47751   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
47752
47753 for ac_func in sincosl
47754 do
47755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47756 echo "$as_me:$LINENO: checking for $ac_func" >&5
47757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47758 if eval "test \"\${$as_ac_var+set}\" = set"; then
47759   echo $ECHO_N "(cached) $ECHO_C" >&6
47760 else
47761   if test x$gcc_no_link = xyes; then
47762   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47764    { (exit 1); exit 1; }; }
47765 fi
47766 cat >conftest.$ac_ext <<_ACEOF
47767 /* confdefs.h.  */
47768 _ACEOF
47769 cat confdefs.h >>conftest.$ac_ext
47770 cat >>conftest.$ac_ext <<_ACEOF
47771 /* end confdefs.h.  */
47772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47773    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47774 #define $ac_func innocuous_$ac_func
47775
47776 /* System header to define __stub macros and hopefully few prototypes,
47777     which can conflict with char $ac_func (); below.
47778     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47779     <limits.h> exists even on freestanding compilers.  */
47780
47781 #ifdef __STDC__
47782 # include <limits.h>
47783 #else
47784 # include <assert.h>
47785 #endif
47786
47787 #undef $ac_func
47788
47789 /* Override any gcc2 internal prototype to avoid an error.  */
47790 #ifdef __cplusplus
47791 extern "C"
47792 {
47793 #endif
47794 /* We use char because int might match the return type of a gcc2
47795    builtin and then its argument prototype would still apply.  */
47796 char $ac_func ();
47797 /* The GNU C library defines this for functions which it implements
47798     to always fail with ENOSYS.  Some functions are actually named
47799     something starting with __ and the normal name is an alias.  */
47800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47801 choke me
47802 #else
47803 char (*f) () = $ac_func;
47804 #endif
47805 #ifdef __cplusplus
47806 }
47807 #endif
47808
47809 int
47810 main ()
47811 {
47812 return f != $ac_func;
47813   ;
47814   return 0;
47815 }
47816 _ACEOF
47817 rm -f conftest.$ac_objext conftest$ac_exeext
47818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47819   (eval $ac_link) 2>conftest.er1
47820   ac_status=$?
47821   grep -v '^ *+' conftest.er1 >conftest.err
47822   rm -f conftest.er1
47823   cat conftest.err >&5
47824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47825   (exit $ac_status); } &&
47826          { ac_try='test -z "$ac_c_werror_flag"
47827                          || test ! -s conftest.err'
47828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47829   (eval $ac_try) 2>&5
47830   ac_status=$?
47831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47832   (exit $ac_status); }; } &&
47833          { ac_try='test -s conftest$ac_exeext'
47834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47835   (eval $ac_try) 2>&5
47836   ac_status=$?
47837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47838   (exit $ac_status); }; }; then
47839   eval "$as_ac_var=yes"
47840 else
47841   echo "$as_me: failed program was:" >&5
47842 sed 's/^/| /' conftest.$ac_ext >&5
47843
47844 eval "$as_ac_var=no"
47845 fi
47846 rm -f conftest.err conftest.$ac_objext \
47847       conftest$ac_exeext conftest.$ac_ext
47848 fi
47849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47851 if test `eval echo '${'$as_ac_var'}'` = yes; then
47852   cat >>confdefs.h <<_ACEOF
47853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47854 _ACEOF
47855
47856 fi
47857 done
47858
47859   else
47860
47861   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
47862 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
47863   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
47864     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
47865   echo $ECHO_N "(cached) $ECHO_C" >&6
47866 else
47867
47868
47869
47870       ac_ext=cc
47871 ac_cpp='$CXXCPP $CPPFLAGS'
47872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47875
47876       cat >conftest.$ac_ext <<_ACEOF
47877 /* confdefs.h.  */
47878 _ACEOF
47879 cat confdefs.h >>conftest.$ac_ext
47880 cat >>conftest.$ac_ext <<_ACEOF
47881 /* end confdefs.h.  */
47882 #include <math.h>
47883 int
47884 main ()
47885 {
47886  _sincosl(0, 0, 0);
47887   ;
47888   return 0;
47889 }
47890 _ACEOF
47891 rm -f conftest.$ac_objext
47892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47893   (eval $ac_compile) 2>conftest.er1
47894   ac_status=$?
47895   grep -v '^ *+' conftest.er1 >conftest.err
47896   rm -f conftest.er1
47897   cat conftest.err >&5
47898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47899   (exit $ac_status); } &&
47900          { ac_try='test -z "$ac_cxx_werror_flag"
47901                          || test ! -s conftest.err'
47902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47903   (eval $ac_try) 2>&5
47904   ac_status=$?
47905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47906   (exit $ac_status); }; } &&
47907          { ac_try='test -s conftest.$ac_objext'
47908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47909   (eval $ac_try) 2>&5
47910   ac_status=$?
47911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47912   (exit $ac_status); }; }; then
47913   glibcxx_cv_func__sincosl_use=yes
47914 else
47915   echo "$as_me: failed program was:" >&5
47916 sed 's/^/| /' conftest.$ac_ext >&5
47917
47918 glibcxx_cv_func__sincosl_use=no
47919 fi
47920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47921       ac_ext=c
47922 ac_cpp='$CPP $CPPFLAGS'
47923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47926
47927
47928 fi
47929
47930   fi
47931   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
47932 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
47933
47934     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
47935
47936 for ac_func in _sincosl
47937 do
47938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47939 echo "$as_me:$LINENO: checking for $ac_func" >&5
47940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47941 if eval "test \"\${$as_ac_var+set}\" = set"; then
47942   echo $ECHO_N "(cached) $ECHO_C" >&6
47943 else
47944   if test x$gcc_no_link = xyes; then
47945   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47947    { (exit 1); exit 1; }; }
47948 fi
47949 cat >conftest.$ac_ext <<_ACEOF
47950 /* confdefs.h.  */
47951 _ACEOF
47952 cat confdefs.h >>conftest.$ac_ext
47953 cat >>conftest.$ac_ext <<_ACEOF
47954 /* end confdefs.h.  */
47955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47956    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47957 #define $ac_func innocuous_$ac_func
47958
47959 /* System header to define __stub macros and hopefully few prototypes,
47960     which can conflict with char $ac_func (); below.
47961     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47962     <limits.h> exists even on freestanding compilers.  */
47963
47964 #ifdef __STDC__
47965 # include <limits.h>
47966 #else
47967 # include <assert.h>
47968 #endif
47969
47970 #undef $ac_func
47971
47972 /* Override any gcc2 internal prototype to avoid an error.  */
47973 #ifdef __cplusplus
47974 extern "C"
47975 {
47976 #endif
47977 /* We use char because int might match the return type of a gcc2
47978    builtin and then its argument prototype would still apply.  */
47979 char $ac_func ();
47980 /* The GNU C library defines this for functions which it implements
47981     to always fail with ENOSYS.  Some functions are actually named
47982     something starting with __ and the normal name is an alias.  */
47983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47984 choke me
47985 #else
47986 char (*f) () = $ac_func;
47987 #endif
47988 #ifdef __cplusplus
47989 }
47990 #endif
47991
47992 int
47993 main ()
47994 {
47995 return f != $ac_func;
47996   ;
47997   return 0;
47998 }
47999 _ACEOF
48000 rm -f conftest.$ac_objext conftest$ac_exeext
48001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48002   (eval $ac_link) 2>conftest.er1
48003   ac_status=$?
48004   grep -v '^ *+' conftest.er1 >conftest.err
48005   rm -f conftest.er1
48006   cat conftest.err >&5
48007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48008   (exit $ac_status); } &&
48009          { ac_try='test -z "$ac_c_werror_flag"
48010                          || test ! -s conftest.err'
48011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48012   (eval $ac_try) 2>&5
48013   ac_status=$?
48014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48015   (exit $ac_status); }; } &&
48016          { ac_try='test -s conftest$ac_exeext'
48017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48018   (eval $ac_try) 2>&5
48019   ac_status=$?
48020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48021   (exit $ac_status); }; }; then
48022   eval "$as_ac_var=yes"
48023 else
48024   echo "$as_me: failed program was:" >&5
48025 sed 's/^/| /' conftest.$ac_ext >&5
48026
48027 eval "$as_ac_var=no"
48028 fi
48029 rm -f conftest.err conftest.$ac_objext \
48030       conftest$ac_exeext conftest.$ac_ext
48031 fi
48032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48034 if test `eval echo '${'$as_ac_var'}'` = yes; then
48035   cat >>confdefs.h <<_ACEOF
48036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48037 _ACEOF
48038
48039 fi
48040 done
48041
48042     fi
48043   fi
48044
48045
48046
48047
48048
48049
48050   echo "$as_me:$LINENO: checking for finitel declaration" >&5
48051 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
48052   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
48053     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
48054   echo $ECHO_N "(cached) $ECHO_C" >&6
48055 else
48056
48057
48058
48059       ac_ext=cc
48060 ac_cpp='$CXXCPP $CPPFLAGS'
48061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48064
48065       cat >conftest.$ac_ext <<_ACEOF
48066 /* confdefs.h.  */
48067 _ACEOF
48068 cat confdefs.h >>conftest.$ac_ext
48069 cat >>conftest.$ac_ext <<_ACEOF
48070 /* end confdefs.h.  */
48071 #include <math.h>
48072                       #ifdef HAVE_IEEEFP_H
48073                       #include <ieeefp.h>
48074                       #endif
48075
48076 int
48077 main ()
48078 {
48079  finitel(0);
48080   ;
48081   return 0;
48082 }
48083 _ACEOF
48084 rm -f conftest.$ac_objext
48085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48086   (eval $ac_compile) 2>conftest.er1
48087   ac_status=$?
48088   grep -v '^ *+' conftest.er1 >conftest.err
48089   rm -f conftest.er1
48090   cat conftest.err >&5
48091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48092   (exit $ac_status); } &&
48093          { ac_try='test -z "$ac_cxx_werror_flag"
48094                          || test ! -s conftest.err'
48095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48096   (eval $ac_try) 2>&5
48097   ac_status=$?
48098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48099   (exit $ac_status); }; } &&
48100          { ac_try='test -s conftest.$ac_objext'
48101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48102   (eval $ac_try) 2>&5
48103   ac_status=$?
48104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48105   (exit $ac_status); }; }; then
48106   glibcxx_cv_func_finitel_use=yes
48107 else
48108   echo "$as_me: failed program was:" >&5
48109 sed 's/^/| /' conftest.$ac_ext >&5
48110
48111 glibcxx_cv_func_finitel_use=no
48112 fi
48113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48114       ac_ext=c
48115 ac_cpp='$CPP $CPPFLAGS'
48116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48119
48120
48121 fi
48122
48123   fi
48124   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
48125 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
48126
48127   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
48128
48129 for ac_func in finitel
48130 do
48131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48132 echo "$as_me:$LINENO: checking for $ac_func" >&5
48133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48134 if eval "test \"\${$as_ac_var+set}\" = set"; then
48135   echo $ECHO_N "(cached) $ECHO_C" >&6
48136 else
48137   if test x$gcc_no_link = xyes; then
48138   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48140    { (exit 1); exit 1; }; }
48141 fi
48142 cat >conftest.$ac_ext <<_ACEOF
48143 /* confdefs.h.  */
48144 _ACEOF
48145 cat confdefs.h >>conftest.$ac_ext
48146 cat >>conftest.$ac_ext <<_ACEOF
48147 /* end confdefs.h.  */
48148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48149    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48150 #define $ac_func innocuous_$ac_func
48151
48152 /* System header to define __stub macros and hopefully few prototypes,
48153     which can conflict with char $ac_func (); below.
48154     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48155     <limits.h> exists even on freestanding compilers.  */
48156
48157 #ifdef __STDC__
48158 # include <limits.h>
48159 #else
48160 # include <assert.h>
48161 #endif
48162
48163 #undef $ac_func
48164
48165 /* Override any gcc2 internal prototype to avoid an error.  */
48166 #ifdef __cplusplus
48167 extern "C"
48168 {
48169 #endif
48170 /* We use char because int might match the return type of a gcc2
48171    builtin and then its argument prototype would still apply.  */
48172 char $ac_func ();
48173 /* The GNU C library defines this for functions which it implements
48174     to always fail with ENOSYS.  Some functions are actually named
48175     something starting with __ and the normal name is an alias.  */
48176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48177 choke me
48178 #else
48179 char (*f) () = $ac_func;
48180 #endif
48181 #ifdef __cplusplus
48182 }
48183 #endif
48184
48185 int
48186 main ()
48187 {
48188 return f != $ac_func;
48189   ;
48190   return 0;
48191 }
48192 _ACEOF
48193 rm -f conftest.$ac_objext conftest$ac_exeext
48194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48195   (eval $ac_link) 2>conftest.er1
48196   ac_status=$?
48197   grep -v '^ *+' conftest.er1 >conftest.err
48198   rm -f conftest.er1
48199   cat conftest.err >&5
48200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48201   (exit $ac_status); } &&
48202          { ac_try='test -z "$ac_c_werror_flag"
48203                          || test ! -s conftest.err'
48204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48205   (eval $ac_try) 2>&5
48206   ac_status=$?
48207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48208   (exit $ac_status); }; } &&
48209          { ac_try='test -s conftest$ac_exeext'
48210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48211   (eval $ac_try) 2>&5
48212   ac_status=$?
48213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48214   (exit $ac_status); }; }; then
48215   eval "$as_ac_var=yes"
48216 else
48217   echo "$as_me: failed program was:" >&5
48218 sed 's/^/| /' conftest.$ac_ext >&5
48219
48220 eval "$as_ac_var=no"
48221 fi
48222 rm -f conftest.err conftest.$ac_objext \
48223       conftest$ac_exeext conftest.$ac_ext
48224 fi
48225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48227 if test `eval echo '${'$as_ac_var'}'` = yes; then
48228   cat >>confdefs.h <<_ACEOF
48229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48230 _ACEOF
48231
48232 fi
48233 done
48234
48235   else
48236
48237   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
48238 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
48239   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
48240     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
48241   echo $ECHO_N "(cached) $ECHO_C" >&6
48242 else
48243
48244
48245
48246       ac_ext=cc
48247 ac_cpp='$CXXCPP $CPPFLAGS'
48248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48251
48252       cat >conftest.$ac_ext <<_ACEOF
48253 /* confdefs.h.  */
48254 _ACEOF
48255 cat confdefs.h >>conftest.$ac_ext
48256 cat >>conftest.$ac_ext <<_ACEOF
48257 /* end confdefs.h.  */
48258 #include <math.h>
48259                       #ifdef HAVE_IEEEFP_H
48260                       #include <ieeefp.h>
48261                       #endif
48262
48263 int
48264 main ()
48265 {
48266  _finitel(0);
48267   ;
48268   return 0;
48269 }
48270 _ACEOF
48271 rm -f conftest.$ac_objext
48272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48273   (eval $ac_compile) 2>conftest.er1
48274   ac_status=$?
48275   grep -v '^ *+' conftest.er1 >conftest.err
48276   rm -f conftest.er1
48277   cat conftest.err >&5
48278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48279   (exit $ac_status); } &&
48280          { ac_try='test -z "$ac_cxx_werror_flag"
48281                          || test ! -s conftest.err'
48282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48283   (eval $ac_try) 2>&5
48284   ac_status=$?
48285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48286   (exit $ac_status); }; } &&
48287          { ac_try='test -s conftest.$ac_objext'
48288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48289   (eval $ac_try) 2>&5
48290   ac_status=$?
48291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48292   (exit $ac_status); }; }; then
48293   glibcxx_cv_func__finitel_use=yes
48294 else
48295   echo "$as_me: failed program was:" >&5
48296 sed 's/^/| /' conftest.$ac_ext >&5
48297
48298 glibcxx_cv_func__finitel_use=no
48299 fi
48300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48301       ac_ext=c
48302 ac_cpp='$CPP $CPPFLAGS'
48303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48306
48307
48308 fi
48309
48310   fi
48311   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
48312 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
48313
48314     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
48315
48316 for ac_func in _finitel
48317 do
48318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48319 echo "$as_me:$LINENO: checking for $ac_func" >&5
48320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48321 if eval "test \"\${$as_ac_var+set}\" = set"; then
48322   echo $ECHO_N "(cached) $ECHO_C" >&6
48323 else
48324   if test x$gcc_no_link = xyes; then
48325   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48327    { (exit 1); exit 1; }; }
48328 fi
48329 cat >conftest.$ac_ext <<_ACEOF
48330 /* confdefs.h.  */
48331 _ACEOF
48332 cat confdefs.h >>conftest.$ac_ext
48333 cat >>conftest.$ac_ext <<_ACEOF
48334 /* end confdefs.h.  */
48335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48336    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48337 #define $ac_func innocuous_$ac_func
48338
48339 /* System header to define __stub macros and hopefully few prototypes,
48340     which can conflict with char $ac_func (); below.
48341     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48342     <limits.h> exists even on freestanding compilers.  */
48343
48344 #ifdef __STDC__
48345 # include <limits.h>
48346 #else
48347 # include <assert.h>
48348 #endif
48349
48350 #undef $ac_func
48351
48352 /* Override any gcc2 internal prototype to avoid an error.  */
48353 #ifdef __cplusplus
48354 extern "C"
48355 {
48356 #endif
48357 /* We use char because int might match the return type of a gcc2
48358    builtin and then its argument prototype would still apply.  */
48359 char $ac_func ();
48360 /* The GNU C library defines this for functions which it implements
48361     to always fail with ENOSYS.  Some functions are actually named
48362     something starting with __ and the normal name is an alias.  */
48363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48364 choke me
48365 #else
48366 char (*f) () = $ac_func;
48367 #endif
48368 #ifdef __cplusplus
48369 }
48370 #endif
48371
48372 int
48373 main ()
48374 {
48375 return f != $ac_func;
48376   ;
48377   return 0;
48378 }
48379 _ACEOF
48380 rm -f conftest.$ac_objext conftest$ac_exeext
48381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48382   (eval $ac_link) 2>conftest.er1
48383   ac_status=$?
48384   grep -v '^ *+' conftest.er1 >conftest.err
48385   rm -f conftest.er1
48386   cat conftest.err >&5
48387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48388   (exit $ac_status); } &&
48389          { ac_try='test -z "$ac_c_werror_flag"
48390                          || test ! -s conftest.err'
48391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48392   (eval $ac_try) 2>&5
48393   ac_status=$?
48394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48395   (exit $ac_status); }; } &&
48396          { ac_try='test -s conftest$ac_exeext'
48397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48398   (eval $ac_try) 2>&5
48399   ac_status=$?
48400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48401   (exit $ac_status); }; }; then
48402   eval "$as_ac_var=yes"
48403 else
48404   echo "$as_me: failed program was:" >&5
48405 sed 's/^/| /' conftest.$ac_ext >&5
48406
48407 eval "$as_ac_var=no"
48408 fi
48409 rm -f conftest.err conftest.$ac_objext \
48410       conftest$ac_exeext conftest.$ac_ext
48411 fi
48412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48414 if test `eval echo '${'$as_ac_var'}'` = yes; then
48415   cat >>confdefs.h <<_ACEOF
48416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48417 _ACEOF
48418
48419 fi
48420 done
48421
48422     fi
48423   fi
48424
48425
48426
48427
48428
48429   LIBS="$ac_save_LIBS"
48430   CXXFLAGS="$ac_save_CXXFLAGS"
48431
48432
48433
48434   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
48435 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
48436   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
48437     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
48438   echo $ECHO_N "(cached) $ECHO_C" >&6
48439 else
48440
48441
48442
48443       ac_ext=cc
48444 ac_cpp='$CXXCPP $CPPFLAGS'
48445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48448
48449       cat >conftest.$ac_ext <<_ACEOF
48450 /* confdefs.h.  */
48451 _ACEOF
48452 cat confdefs.h >>conftest.$ac_ext
48453 cat >>conftest.$ac_ext <<_ACEOF
48454 /* end confdefs.h.  */
48455 #include <math.h>
48456 int
48457 main ()
48458 {
48459  __builtin_abs(0);
48460   ;
48461   return 0;
48462 }
48463 _ACEOF
48464 rm -f conftest.$ac_objext
48465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48466   (eval $ac_compile) 2>conftest.er1
48467   ac_status=$?
48468   grep -v '^ *+' conftest.er1 >conftest.err
48469   rm -f conftest.er1
48470   cat conftest.err >&5
48471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48472   (exit $ac_status); } &&
48473          { ac_try='test -z "$ac_cxx_werror_flag"
48474                          || test ! -s conftest.err'
48475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48476   (eval $ac_try) 2>&5
48477   ac_status=$?
48478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48479   (exit $ac_status); }; } &&
48480          { ac_try='test -s conftest.$ac_objext'
48481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48482   (eval $ac_try) 2>&5
48483   ac_status=$?
48484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48485   (exit $ac_status); }; }; then
48486   glibcxx_cv_func___builtin_abs_use=yes
48487 else
48488   echo "$as_me: failed program was:" >&5
48489 sed 's/^/| /' conftest.$ac_ext >&5
48490
48491 glibcxx_cv_func___builtin_abs_use=no
48492 fi
48493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48494       ac_ext=c
48495 ac_cpp='$CPP $CPPFLAGS'
48496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48499
48500
48501 fi
48502
48503   fi
48504   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
48505 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
48506   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
48507     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
48508 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
48509     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
48510       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
48511   echo $ECHO_N "(cached) $ECHO_C" >&6
48512 else
48513
48514         if test x$gcc_no_link = xyes; then
48515   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48517    { (exit 1); exit 1; }; }
48518 fi
48519 cat >conftest.$ac_ext <<_ACEOF
48520 /* confdefs.h.  */
48521 _ACEOF
48522 cat confdefs.h >>conftest.$ac_ext
48523 cat >>conftest.$ac_ext <<_ACEOF
48524 /* end confdefs.h.  */
48525 #include <math.h>
48526 int
48527 main ()
48528 {
48529  __builtin_abs(0);
48530   ;
48531   return 0;
48532 }
48533 _ACEOF
48534 rm -f conftest.$ac_objext conftest$ac_exeext
48535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48536   (eval $ac_link) 2>conftest.er1
48537   ac_status=$?
48538   grep -v '^ *+' conftest.er1 >conftest.err
48539   rm -f conftest.er1
48540   cat conftest.err >&5
48541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48542   (exit $ac_status); } &&
48543          { ac_try='test -z "$ac_c_werror_flag"
48544                          || test ! -s conftest.err'
48545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48546   (eval $ac_try) 2>&5
48547   ac_status=$?
48548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48549   (exit $ac_status); }; } &&
48550          { ac_try='test -s conftest$ac_exeext'
48551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48552   (eval $ac_try) 2>&5
48553   ac_status=$?
48554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48555   (exit $ac_status); }; }; then
48556   glibcxx_cv_func___builtin_abs_link=yes
48557 else
48558   echo "$as_me: failed program was:" >&5
48559 sed 's/^/| /' conftest.$ac_ext >&5
48560
48561 glibcxx_cv_func___builtin_abs_link=no
48562 fi
48563 rm -f conftest.err conftest.$ac_objext \
48564       conftest$ac_exeext conftest.$ac_ext
48565
48566 fi
48567
48568     fi
48569     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
48570 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
48571
48572     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
48573
48574 cat >>confdefs.h <<\_ACEOF
48575 #define HAVE___BUILTIN_ABS 1
48576 _ACEOF
48577
48578     fi
48579
48580   fi
48581
48582
48583   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
48584 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
48585   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
48586     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
48587   echo $ECHO_N "(cached) $ECHO_C" >&6
48588 else
48589
48590
48591
48592       ac_ext=cc
48593 ac_cpp='$CXXCPP $CPPFLAGS'
48594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48597
48598       cat >conftest.$ac_ext <<_ACEOF
48599 /* confdefs.h.  */
48600 _ACEOF
48601 cat confdefs.h >>conftest.$ac_ext
48602 cat >>conftest.$ac_ext <<_ACEOF
48603 /* end confdefs.h.  */
48604 #include <math.h>
48605 int
48606 main ()
48607 {
48608  __builtin_fabsf(0);
48609   ;
48610   return 0;
48611 }
48612 _ACEOF
48613 rm -f conftest.$ac_objext
48614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48615   (eval $ac_compile) 2>conftest.er1
48616   ac_status=$?
48617   grep -v '^ *+' conftest.er1 >conftest.err
48618   rm -f conftest.er1
48619   cat conftest.err >&5
48620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48621   (exit $ac_status); } &&
48622          { ac_try='test -z "$ac_cxx_werror_flag"
48623                          || test ! -s conftest.err'
48624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48625   (eval $ac_try) 2>&5
48626   ac_status=$?
48627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48628   (exit $ac_status); }; } &&
48629          { ac_try='test -s conftest.$ac_objext'
48630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48631   (eval $ac_try) 2>&5
48632   ac_status=$?
48633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48634   (exit $ac_status); }; }; then
48635   glibcxx_cv_func___builtin_fabsf_use=yes
48636 else
48637   echo "$as_me: failed program was:" >&5
48638 sed 's/^/| /' conftest.$ac_ext >&5
48639
48640 glibcxx_cv_func___builtin_fabsf_use=no
48641 fi
48642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48643       ac_ext=c
48644 ac_cpp='$CPP $CPPFLAGS'
48645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48648
48649
48650 fi
48651
48652   fi
48653   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
48654 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
48655   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
48656     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
48657 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
48658     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
48659       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
48660   echo $ECHO_N "(cached) $ECHO_C" >&6
48661 else
48662
48663         if test x$gcc_no_link = xyes; then
48664   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48666    { (exit 1); exit 1; }; }
48667 fi
48668 cat >conftest.$ac_ext <<_ACEOF
48669 /* confdefs.h.  */
48670 _ACEOF
48671 cat confdefs.h >>conftest.$ac_ext
48672 cat >>conftest.$ac_ext <<_ACEOF
48673 /* end confdefs.h.  */
48674 #include <math.h>
48675 int
48676 main ()
48677 {
48678  __builtin_fabsf(0);
48679   ;
48680   return 0;
48681 }
48682 _ACEOF
48683 rm -f conftest.$ac_objext conftest$ac_exeext
48684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48685   (eval $ac_link) 2>conftest.er1
48686   ac_status=$?
48687   grep -v '^ *+' conftest.er1 >conftest.err
48688   rm -f conftest.er1
48689   cat conftest.err >&5
48690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48691   (exit $ac_status); } &&
48692          { ac_try='test -z "$ac_c_werror_flag"
48693                          || test ! -s conftest.err'
48694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48695   (eval $ac_try) 2>&5
48696   ac_status=$?
48697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48698   (exit $ac_status); }; } &&
48699          { ac_try='test -s conftest$ac_exeext'
48700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48701   (eval $ac_try) 2>&5
48702   ac_status=$?
48703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48704   (exit $ac_status); }; }; then
48705   glibcxx_cv_func___builtin_fabsf_link=yes
48706 else
48707   echo "$as_me: failed program was:" >&5
48708 sed 's/^/| /' conftest.$ac_ext >&5
48709
48710 glibcxx_cv_func___builtin_fabsf_link=no
48711 fi
48712 rm -f conftest.err conftest.$ac_objext \
48713       conftest$ac_exeext conftest.$ac_ext
48714
48715 fi
48716
48717     fi
48718     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
48719 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
48720
48721     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
48722
48723 cat >>confdefs.h <<\_ACEOF
48724 #define HAVE___BUILTIN_FABSF 1
48725 _ACEOF
48726
48727     fi
48728
48729   fi
48730
48731
48732   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
48733 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
48734   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
48735     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
48736   echo $ECHO_N "(cached) $ECHO_C" >&6
48737 else
48738
48739
48740
48741       ac_ext=cc
48742 ac_cpp='$CXXCPP $CPPFLAGS'
48743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48746
48747       cat >conftest.$ac_ext <<_ACEOF
48748 /* confdefs.h.  */
48749 _ACEOF
48750 cat confdefs.h >>conftest.$ac_ext
48751 cat >>conftest.$ac_ext <<_ACEOF
48752 /* end confdefs.h.  */
48753 #include <math.h>
48754 int
48755 main ()
48756 {
48757  __builtin_fabs(0);
48758   ;
48759   return 0;
48760 }
48761 _ACEOF
48762 rm -f conftest.$ac_objext
48763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48764   (eval $ac_compile) 2>conftest.er1
48765   ac_status=$?
48766   grep -v '^ *+' conftest.er1 >conftest.err
48767   rm -f conftest.er1
48768   cat conftest.err >&5
48769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48770   (exit $ac_status); } &&
48771          { ac_try='test -z "$ac_cxx_werror_flag"
48772                          || test ! -s conftest.err'
48773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48774   (eval $ac_try) 2>&5
48775   ac_status=$?
48776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48777   (exit $ac_status); }; } &&
48778          { ac_try='test -s conftest.$ac_objext'
48779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48780   (eval $ac_try) 2>&5
48781   ac_status=$?
48782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48783   (exit $ac_status); }; }; then
48784   glibcxx_cv_func___builtin_fabs_use=yes
48785 else
48786   echo "$as_me: failed program was:" >&5
48787 sed 's/^/| /' conftest.$ac_ext >&5
48788
48789 glibcxx_cv_func___builtin_fabs_use=no
48790 fi
48791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48792       ac_ext=c
48793 ac_cpp='$CPP $CPPFLAGS'
48794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48797
48798
48799 fi
48800
48801   fi
48802   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
48803 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
48804   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
48805     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
48806 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
48807     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
48808       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
48809   echo $ECHO_N "(cached) $ECHO_C" >&6
48810 else
48811
48812         if test x$gcc_no_link = xyes; then
48813   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48815    { (exit 1); exit 1; }; }
48816 fi
48817 cat >conftest.$ac_ext <<_ACEOF
48818 /* confdefs.h.  */
48819 _ACEOF
48820 cat confdefs.h >>conftest.$ac_ext
48821 cat >>conftest.$ac_ext <<_ACEOF
48822 /* end confdefs.h.  */
48823 #include <math.h>
48824 int
48825 main ()
48826 {
48827  __builtin_fabs(0);
48828   ;
48829   return 0;
48830 }
48831 _ACEOF
48832 rm -f conftest.$ac_objext conftest$ac_exeext
48833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48834   (eval $ac_link) 2>conftest.er1
48835   ac_status=$?
48836   grep -v '^ *+' conftest.er1 >conftest.err
48837   rm -f conftest.er1
48838   cat conftest.err >&5
48839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48840   (exit $ac_status); } &&
48841          { ac_try='test -z "$ac_c_werror_flag"
48842                          || test ! -s conftest.err'
48843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48844   (eval $ac_try) 2>&5
48845   ac_status=$?
48846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48847   (exit $ac_status); }; } &&
48848          { ac_try='test -s conftest$ac_exeext'
48849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48850   (eval $ac_try) 2>&5
48851   ac_status=$?
48852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48853   (exit $ac_status); }; }; then
48854   glibcxx_cv_func___builtin_fabs_link=yes
48855 else
48856   echo "$as_me: failed program was:" >&5
48857 sed 's/^/| /' conftest.$ac_ext >&5
48858
48859 glibcxx_cv_func___builtin_fabs_link=no
48860 fi
48861 rm -f conftest.err conftest.$ac_objext \
48862       conftest$ac_exeext conftest.$ac_ext
48863
48864 fi
48865
48866     fi
48867     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
48868 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
48869
48870     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
48871
48872 cat >>confdefs.h <<\_ACEOF
48873 #define HAVE___BUILTIN_FABS 1
48874 _ACEOF
48875
48876     fi
48877
48878   fi
48879
48880
48881   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
48882 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
48883   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
48884     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
48885   echo $ECHO_N "(cached) $ECHO_C" >&6
48886 else
48887
48888
48889
48890       ac_ext=cc
48891 ac_cpp='$CXXCPP $CPPFLAGS'
48892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48895
48896       cat >conftest.$ac_ext <<_ACEOF
48897 /* confdefs.h.  */
48898 _ACEOF
48899 cat confdefs.h >>conftest.$ac_ext
48900 cat >>conftest.$ac_ext <<_ACEOF
48901 /* end confdefs.h.  */
48902 #include <math.h>
48903 int
48904 main ()
48905 {
48906  __builtin_fabsl(0);
48907   ;
48908   return 0;
48909 }
48910 _ACEOF
48911 rm -f conftest.$ac_objext
48912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48913   (eval $ac_compile) 2>conftest.er1
48914   ac_status=$?
48915   grep -v '^ *+' conftest.er1 >conftest.err
48916   rm -f conftest.er1
48917   cat conftest.err >&5
48918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48919   (exit $ac_status); } &&
48920          { ac_try='test -z "$ac_cxx_werror_flag"
48921                          || test ! -s conftest.err'
48922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48923   (eval $ac_try) 2>&5
48924   ac_status=$?
48925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48926   (exit $ac_status); }; } &&
48927          { ac_try='test -s conftest.$ac_objext'
48928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48929   (eval $ac_try) 2>&5
48930   ac_status=$?
48931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48932   (exit $ac_status); }; }; then
48933   glibcxx_cv_func___builtin_fabsl_use=yes
48934 else
48935   echo "$as_me: failed program was:" >&5
48936 sed 's/^/| /' conftest.$ac_ext >&5
48937
48938 glibcxx_cv_func___builtin_fabsl_use=no
48939 fi
48940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48941       ac_ext=c
48942 ac_cpp='$CPP $CPPFLAGS'
48943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48946
48947
48948 fi
48949
48950   fi
48951   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
48952 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
48953   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
48954     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
48955 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
48956     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
48957       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
48958   echo $ECHO_N "(cached) $ECHO_C" >&6
48959 else
48960
48961         if test x$gcc_no_link = xyes; then
48962   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48964    { (exit 1); exit 1; }; }
48965 fi
48966 cat >conftest.$ac_ext <<_ACEOF
48967 /* confdefs.h.  */
48968 _ACEOF
48969 cat confdefs.h >>conftest.$ac_ext
48970 cat >>conftest.$ac_ext <<_ACEOF
48971 /* end confdefs.h.  */
48972 #include <math.h>
48973 int
48974 main ()
48975 {
48976  __builtin_fabsl(0);
48977   ;
48978   return 0;
48979 }
48980 _ACEOF
48981 rm -f conftest.$ac_objext conftest$ac_exeext
48982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48983   (eval $ac_link) 2>conftest.er1
48984   ac_status=$?
48985   grep -v '^ *+' conftest.er1 >conftest.err
48986   rm -f conftest.er1
48987   cat conftest.err >&5
48988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48989   (exit $ac_status); } &&
48990          { ac_try='test -z "$ac_c_werror_flag"
48991                          || test ! -s conftest.err'
48992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48993   (eval $ac_try) 2>&5
48994   ac_status=$?
48995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48996   (exit $ac_status); }; } &&
48997          { ac_try='test -s conftest$ac_exeext'
48998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48999   (eval $ac_try) 2>&5
49000   ac_status=$?
49001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49002   (exit $ac_status); }; }; then
49003   glibcxx_cv_func___builtin_fabsl_link=yes
49004 else
49005   echo "$as_me: failed program was:" >&5
49006 sed 's/^/| /' conftest.$ac_ext >&5
49007
49008 glibcxx_cv_func___builtin_fabsl_link=no
49009 fi
49010 rm -f conftest.err conftest.$ac_objext \
49011       conftest$ac_exeext conftest.$ac_ext
49012
49013 fi
49014
49015     fi
49016     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
49017 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
49018
49019     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
49020
49021 cat >>confdefs.h <<\_ACEOF
49022 #define HAVE___BUILTIN_FABSL 1
49023 _ACEOF
49024
49025     fi
49026
49027   fi
49028
49029
49030   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
49031 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
49032   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
49033     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
49034   echo $ECHO_N "(cached) $ECHO_C" >&6
49035 else
49036
49037
49038
49039       ac_ext=cc
49040 ac_cpp='$CXXCPP $CPPFLAGS'
49041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49044
49045       cat >conftest.$ac_ext <<_ACEOF
49046 /* confdefs.h.  */
49047 _ACEOF
49048 cat confdefs.h >>conftest.$ac_ext
49049 cat >>conftest.$ac_ext <<_ACEOF
49050 /* end confdefs.h.  */
49051 #include <math.h>
49052 int
49053 main ()
49054 {
49055  __builtin_labs(0);
49056   ;
49057   return 0;
49058 }
49059 _ACEOF
49060 rm -f conftest.$ac_objext
49061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49062   (eval $ac_compile) 2>conftest.er1
49063   ac_status=$?
49064   grep -v '^ *+' conftest.er1 >conftest.err
49065   rm -f conftest.er1
49066   cat conftest.err >&5
49067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49068   (exit $ac_status); } &&
49069          { ac_try='test -z "$ac_cxx_werror_flag"
49070                          || test ! -s conftest.err'
49071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49072   (eval $ac_try) 2>&5
49073   ac_status=$?
49074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49075   (exit $ac_status); }; } &&
49076          { ac_try='test -s conftest.$ac_objext'
49077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49078   (eval $ac_try) 2>&5
49079   ac_status=$?
49080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49081   (exit $ac_status); }; }; then
49082   glibcxx_cv_func___builtin_labs_use=yes
49083 else
49084   echo "$as_me: failed program was:" >&5
49085 sed 's/^/| /' conftest.$ac_ext >&5
49086
49087 glibcxx_cv_func___builtin_labs_use=no
49088 fi
49089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49090       ac_ext=c
49091 ac_cpp='$CPP $CPPFLAGS'
49092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49095
49096
49097 fi
49098
49099   fi
49100   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
49101 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
49102   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
49103     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
49104 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
49105     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
49106       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
49107   echo $ECHO_N "(cached) $ECHO_C" >&6
49108 else
49109
49110         if test x$gcc_no_link = xyes; then
49111   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49113    { (exit 1); exit 1; }; }
49114 fi
49115 cat >conftest.$ac_ext <<_ACEOF
49116 /* confdefs.h.  */
49117 _ACEOF
49118 cat confdefs.h >>conftest.$ac_ext
49119 cat >>conftest.$ac_ext <<_ACEOF
49120 /* end confdefs.h.  */
49121 #include <math.h>
49122 int
49123 main ()
49124 {
49125  __builtin_labs(0);
49126   ;
49127   return 0;
49128 }
49129 _ACEOF
49130 rm -f conftest.$ac_objext conftest$ac_exeext
49131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49132   (eval $ac_link) 2>conftest.er1
49133   ac_status=$?
49134   grep -v '^ *+' conftest.er1 >conftest.err
49135   rm -f conftest.er1
49136   cat conftest.err >&5
49137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49138   (exit $ac_status); } &&
49139          { ac_try='test -z "$ac_c_werror_flag"
49140                          || test ! -s conftest.err'
49141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49142   (eval $ac_try) 2>&5
49143   ac_status=$?
49144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49145   (exit $ac_status); }; } &&
49146          { ac_try='test -s conftest$ac_exeext'
49147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49148   (eval $ac_try) 2>&5
49149   ac_status=$?
49150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49151   (exit $ac_status); }; }; then
49152   glibcxx_cv_func___builtin_labs_link=yes
49153 else
49154   echo "$as_me: failed program was:" >&5
49155 sed 's/^/| /' conftest.$ac_ext >&5
49156
49157 glibcxx_cv_func___builtin_labs_link=no
49158 fi
49159 rm -f conftest.err conftest.$ac_objext \
49160       conftest$ac_exeext conftest.$ac_ext
49161
49162 fi
49163
49164     fi
49165     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
49166 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
49167
49168     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
49169
49170 cat >>confdefs.h <<\_ACEOF
49171 #define HAVE___BUILTIN_LABS 1
49172 _ACEOF
49173
49174     fi
49175
49176   fi
49177
49178
49179
49180   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
49181 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
49182   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
49183     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
49184   echo $ECHO_N "(cached) $ECHO_C" >&6
49185 else
49186
49187
49188
49189       ac_ext=cc
49190 ac_cpp='$CXXCPP $CPPFLAGS'
49191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49194
49195       cat >conftest.$ac_ext <<_ACEOF
49196 /* confdefs.h.  */
49197 _ACEOF
49198 cat confdefs.h >>conftest.$ac_ext
49199 cat >>conftest.$ac_ext <<_ACEOF
49200 /* end confdefs.h.  */
49201 #include <math.h>
49202 int
49203 main ()
49204 {
49205  __builtin_sqrtf(0);
49206   ;
49207   return 0;
49208 }
49209 _ACEOF
49210 rm -f conftest.$ac_objext
49211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49212   (eval $ac_compile) 2>conftest.er1
49213   ac_status=$?
49214   grep -v '^ *+' conftest.er1 >conftest.err
49215   rm -f conftest.er1
49216   cat conftest.err >&5
49217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49218   (exit $ac_status); } &&
49219          { ac_try='test -z "$ac_cxx_werror_flag"
49220                          || test ! -s conftest.err'
49221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49222   (eval $ac_try) 2>&5
49223   ac_status=$?
49224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49225   (exit $ac_status); }; } &&
49226          { ac_try='test -s conftest.$ac_objext'
49227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49228   (eval $ac_try) 2>&5
49229   ac_status=$?
49230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49231   (exit $ac_status); }; }; then
49232   glibcxx_cv_func___builtin_sqrtf_use=yes
49233 else
49234   echo "$as_me: failed program was:" >&5
49235 sed 's/^/| /' conftest.$ac_ext >&5
49236
49237 glibcxx_cv_func___builtin_sqrtf_use=no
49238 fi
49239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49240       ac_ext=c
49241 ac_cpp='$CPP $CPPFLAGS'
49242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49245
49246
49247 fi
49248
49249   fi
49250   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
49251 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
49252   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
49253     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
49254 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
49255     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
49256       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
49257   echo $ECHO_N "(cached) $ECHO_C" >&6
49258 else
49259
49260         if test x$gcc_no_link = xyes; then
49261   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49263    { (exit 1); exit 1; }; }
49264 fi
49265 cat >conftest.$ac_ext <<_ACEOF
49266 /* confdefs.h.  */
49267 _ACEOF
49268 cat confdefs.h >>conftest.$ac_ext
49269 cat >>conftest.$ac_ext <<_ACEOF
49270 /* end confdefs.h.  */
49271 #include <math.h>
49272 int
49273 main ()
49274 {
49275  __builtin_sqrtf(0);
49276   ;
49277   return 0;
49278 }
49279 _ACEOF
49280 rm -f conftest.$ac_objext conftest$ac_exeext
49281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49282   (eval $ac_link) 2>conftest.er1
49283   ac_status=$?
49284   grep -v '^ *+' conftest.er1 >conftest.err
49285   rm -f conftest.er1
49286   cat conftest.err >&5
49287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49288   (exit $ac_status); } &&
49289          { ac_try='test -z "$ac_c_werror_flag"
49290                          || test ! -s conftest.err'
49291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49292   (eval $ac_try) 2>&5
49293   ac_status=$?
49294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49295   (exit $ac_status); }; } &&
49296          { ac_try='test -s conftest$ac_exeext'
49297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49298   (eval $ac_try) 2>&5
49299   ac_status=$?
49300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49301   (exit $ac_status); }; }; then
49302   glibcxx_cv_func___builtin_sqrtf_link=yes
49303 else
49304   echo "$as_me: failed program was:" >&5
49305 sed 's/^/| /' conftest.$ac_ext >&5
49306
49307 glibcxx_cv_func___builtin_sqrtf_link=no
49308 fi
49309 rm -f conftest.err conftest.$ac_objext \
49310       conftest$ac_exeext conftest.$ac_ext
49311
49312 fi
49313
49314     fi
49315     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
49316 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
49317
49318     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
49319
49320 cat >>confdefs.h <<\_ACEOF
49321 #define HAVE___BUILTIN_SQRTF 1
49322 _ACEOF
49323
49324     fi
49325
49326   fi
49327
49328
49329   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
49330 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
49331   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
49332     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
49333   echo $ECHO_N "(cached) $ECHO_C" >&6
49334 else
49335
49336
49337
49338       ac_ext=cc
49339 ac_cpp='$CXXCPP $CPPFLAGS'
49340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49343
49344       cat >conftest.$ac_ext <<_ACEOF
49345 /* confdefs.h.  */
49346 _ACEOF
49347 cat confdefs.h >>conftest.$ac_ext
49348 cat >>conftest.$ac_ext <<_ACEOF
49349 /* end confdefs.h.  */
49350 #include <math.h>
49351 int
49352 main ()
49353 {
49354  __builtin_sqrt(0);
49355   ;
49356   return 0;
49357 }
49358 _ACEOF
49359 rm -f conftest.$ac_objext
49360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49361   (eval $ac_compile) 2>conftest.er1
49362   ac_status=$?
49363   grep -v '^ *+' conftest.er1 >conftest.err
49364   rm -f conftest.er1
49365   cat conftest.err >&5
49366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49367   (exit $ac_status); } &&
49368          { ac_try='test -z "$ac_cxx_werror_flag"
49369                          || test ! -s conftest.err'
49370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49371   (eval $ac_try) 2>&5
49372   ac_status=$?
49373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49374   (exit $ac_status); }; } &&
49375          { ac_try='test -s conftest.$ac_objext'
49376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49377   (eval $ac_try) 2>&5
49378   ac_status=$?
49379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49380   (exit $ac_status); }; }; then
49381   glibcxx_cv_func___builtin_sqrt_use=yes
49382 else
49383   echo "$as_me: failed program was:" >&5
49384 sed 's/^/| /' conftest.$ac_ext >&5
49385
49386 glibcxx_cv_func___builtin_sqrt_use=no
49387 fi
49388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49389       ac_ext=c
49390 ac_cpp='$CPP $CPPFLAGS'
49391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49394
49395
49396 fi
49397
49398   fi
49399   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
49400 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
49401   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
49402     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
49403 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
49404     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
49405       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
49406   echo $ECHO_N "(cached) $ECHO_C" >&6
49407 else
49408
49409         if test x$gcc_no_link = xyes; then
49410   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49412    { (exit 1); exit 1; }; }
49413 fi
49414 cat >conftest.$ac_ext <<_ACEOF
49415 /* confdefs.h.  */
49416 _ACEOF
49417 cat confdefs.h >>conftest.$ac_ext
49418 cat >>conftest.$ac_ext <<_ACEOF
49419 /* end confdefs.h.  */
49420 #include <math.h>
49421 int
49422 main ()
49423 {
49424  __builtin_sqrt(0);
49425   ;
49426   return 0;
49427 }
49428 _ACEOF
49429 rm -f conftest.$ac_objext conftest$ac_exeext
49430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49431   (eval $ac_link) 2>conftest.er1
49432   ac_status=$?
49433   grep -v '^ *+' conftest.er1 >conftest.err
49434   rm -f conftest.er1
49435   cat conftest.err >&5
49436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49437   (exit $ac_status); } &&
49438          { ac_try='test -z "$ac_c_werror_flag"
49439                          || test ! -s conftest.err'
49440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49441   (eval $ac_try) 2>&5
49442   ac_status=$?
49443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49444   (exit $ac_status); }; } &&
49445          { ac_try='test -s conftest$ac_exeext'
49446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49447   (eval $ac_try) 2>&5
49448   ac_status=$?
49449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49450   (exit $ac_status); }; }; then
49451   glibcxx_cv_func___builtin_sqrt_link=yes
49452 else
49453   echo "$as_me: failed program was:" >&5
49454 sed 's/^/| /' conftest.$ac_ext >&5
49455
49456 glibcxx_cv_func___builtin_sqrt_link=no
49457 fi
49458 rm -f conftest.err conftest.$ac_objext \
49459       conftest$ac_exeext conftest.$ac_ext
49460
49461 fi
49462
49463     fi
49464     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
49465 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
49466
49467     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
49468
49469 cat >>confdefs.h <<\_ACEOF
49470 #define HAVE___BUILTIN_SQRT 1
49471 _ACEOF
49472
49473     fi
49474
49475   fi
49476
49477
49478   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
49479 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
49480   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
49481     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
49482   echo $ECHO_N "(cached) $ECHO_C" >&6
49483 else
49484
49485
49486
49487       ac_ext=cc
49488 ac_cpp='$CXXCPP $CPPFLAGS'
49489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49492
49493       cat >conftest.$ac_ext <<_ACEOF
49494 /* confdefs.h.  */
49495 _ACEOF
49496 cat confdefs.h >>conftest.$ac_ext
49497 cat >>conftest.$ac_ext <<_ACEOF
49498 /* end confdefs.h.  */
49499 #include <math.h>
49500 int
49501 main ()
49502 {
49503  __builtin_sqrtl(0);
49504   ;
49505   return 0;
49506 }
49507 _ACEOF
49508 rm -f conftest.$ac_objext
49509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49510   (eval $ac_compile) 2>conftest.er1
49511   ac_status=$?
49512   grep -v '^ *+' conftest.er1 >conftest.err
49513   rm -f conftest.er1
49514   cat conftest.err >&5
49515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49516   (exit $ac_status); } &&
49517          { ac_try='test -z "$ac_cxx_werror_flag"
49518                          || test ! -s conftest.err'
49519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49520   (eval $ac_try) 2>&5
49521   ac_status=$?
49522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49523   (exit $ac_status); }; } &&
49524          { ac_try='test -s conftest.$ac_objext'
49525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49526   (eval $ac_try) 2>&5
49527   ac_status=$?
49528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49529   (exit $ac_status); }; }; then
49530   glibcxx_cv_func___builtin_sqrtl_use=yes
49531 else
49532   echo "$as_me: failed program was:" >&5
49533 sed 's/^/| /' conftest.$ac_ext >&5
49534
49535 glibcxx_cv_func___builtin_sqrtl_use=no
49536 fi
49537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49538       ac_ext=c
49539 ac_cpp='$CPP $CPPFLAGS'
49540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49543
49544
49545 fi
49546
49547   fi
49548   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
49549 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
49550   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
49551     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
49552 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
49553     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
49554       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
49555   echo $ECHO_N "(cached) $ECHO_C" >&6
49556 else
49557
49558         if test x$gcc_no_link = xyes; then
49559   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49561    { (exit 1); exit 1; }; }
49562 fi
49563 cat >conftest.$ac_ext <<_ACEOF
49564 /* confdefs.h.  */
49565 _ACEOF
49566 cat confdefs.h >>conftest.$ac_ext
49567 cat >>conftest.$ac_ext <<_ACEOF
49568 /* end confdefs.h.  */
49569 #include <math.h>
49570 int
49571 main ()
49572 {
49573  __builtin_sqrtl(0);
49574   ;
49575   return 0;
49576 }
49577 _ACEOF
49578 rm -f conftest.$ac_objext conftest$ac_exeext
49579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49580   (eval $ac_link) 2>conftest.er1
49581   ac_status=$?
49582   grep -v '^ *+' conftest.er1 >conftest.err
49583   rm -f conftest.er1
49584   cat conftest.err >&5
49585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49586   (exit $ac_status); } &&
49587          { ac_try='test -z "$ac_c_werror_flag"
49588                          || test ! -s conftest.err'
49589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49590   (eval $ac_try) 2>&5
49591   ac_status=$?
49592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49593   (exit $ac_status); }; } &&
49594          { ac_try='test -s conftest$ac_exeext'
49595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49596   (eval $ac_try) 2>&5
49597   ac_status=$?
49598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49599   (exit $ac_status); }; }; then
49600   glibcxx_cv_func___builtin_sqrtl_link=yes
49601 else
49602   echo "$as_me: failed program was:" >&5
49603 sed 's/^/| /' conftest.$ac_ext >&5
49604
49605 glibcxx_cv_func___builtin_sqrtl_link=no
49606 fi
49607 rm -f conftest.err conftest.$ac_objext \
49608       conftest$ac_exeext conftest.$ac_ext
49609
49610 fi
49611
49612     fi
49613     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
49614 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
49615
49616     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
49617
49618 cat >>confdefs.h <<\_ACEOF
49619 #define HAVE___BUILTIN_SQRTL 1
49620 _ACEOF
49621
49622     fi
49623
49624   fi
49625
49626
49627
49628   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
49629 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
49630   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
49631     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
49632   echo $ECHO_N "(cached) $ECHO_C" >&6
49633 else
49634
49635
49636
49637       ac_ext=cc
49638 ac_cpp='$CXXCPP $CPPFLAGS'
49639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49642
49643       cat >conftest.$ac_ext <<_ACEOF
49644 /* confdefs.h.  */
49645 _ACEOF
49646 cat confdefs.h >>conftest.$ac_ext
49647 cat >>conftest.$ac_ext <<_ACEOF
49648 /* end confdefs.h.  */
49649 #include <math.h>
49650 int
49651 main ()
49652 {
49653  __builtin_sinf(0);
49654   ;
49655   return 0;
49656 }
49657 _ACEOF
49658 rm -f conftest.$ac_objext
49659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49660   (eval $ac_compile) 2>conftest.er1
49661   ac_status=$?
49662   grep -v '^ *+' conftest.er1 >conftest.err
49663   rm -f conftest.er1
49664   cat conftest.err >&5
49665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49666   (exit $ac_status); } &&
49667          { ac_try='test -z "$ac_cxx_werror_flag"
49668                          || test ! -s conftest.err'
49669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49670   (eval $ac_try) 2>&5
49671   ac_status=$?
49672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49673   (exit $ac_status); }; } &&
49674          { ac_try='test -s conftest.$ac_objext'
49675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49676   (eval $ac_try) 2>&5
49677   ac_status=$?
49678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49679   (exit $ac_status); }; }; then
49680   glibcxx_cv_func___builtin_sinf_use=yes
49681 else
49682   echo "$as_me: failed program was:" >&5
49683 sed 's/^/| /' conftest.$ac_ext >&5
49684
49685 glibcxx_cv_func___builtin_sinf_use=no
49686 fi
49687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49688       ac_ext=c
49689 ac_cpp='$CPP $CPPFLAGS'
49690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49693
49694
49695 fi
49696
49697   fi
49698   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
49699 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
49700   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
49701     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
49702 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
49703     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
49704       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
49705   echo $ECHO_N "(cached) $ECHO_C" >&6
49706 else
49707
49708         if test x$gcc_no_link = xyes; then
49709   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49711    { (exit 1); exit 1; }; }
49712 fi
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 int
49721 main ()
49722 {
49723  __builtin_sinf(0);
49724   ;
49725   return 0;
49726 }
49727 _ACEOF
49728 rm -f conftest.$ac_objext conftest$ac_exeext
49729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49730   (eval $ac_link) 2>conftest.er1
49731   ac_status=$?
49732   grep -v '^ *+' conftest.er1 >conftest.err
49733   rm -f conftest.er1
49734   cat conftest.err >&5
49735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49736   (exit $ac_status); } &&
49737          { ac_try='test -z "$ac_c_werror_flag"
49738                          || test ! -s conftest.err'
49739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49740   (eval $ac_try) 2>&5
49741   ac_status=$?
49742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49743   (exit $ac_status); }; } &&
49744          { ac_try='test -s conftest$ac_exeext'
49745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49746   (eval $ac_try) 2>&5
49747   ac_status=$?
49748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49749   (exit $ac_status); }; }; then
49750   glibcxx_cv_func___builtin_sinf_link=yes
49751 else
49752   echo "$as_me: failed program was:" >&5
49753 sed 's/^/| /' conftest.$ac_ext >&5
49754
49755 glibcxx_cv_func___builtin_sinf_link=no
49756 fi
49757 rm -f conftest.err conftest.$ac_objext \
49758       conftest$ac_exeext conftest.$ac_ext
49759
49760 fi
49761
49762     fi
49763     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
49764 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
49765
49766     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
49767
49768 cat >>confdefs.h <<\_ACEOF
49769 #define HAVE___BUILTIN_SINF 1
49770 _ACEOF
49771
49772     fi
49773
49774   fi
49775
49776
49777   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
49778 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
49779   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
49780     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
49781   echo $ECHO_N "(cached) $ECHO_C" >&6
49782 else
49783
49784
49785
49786       ac_ext=cc
49787 ac_cpp='$CXXCPP $CPPFLAGS'
49788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49791
49792       cat >conftest.$ac_ext <<_ACEOF
49793 /* confdefs.h.  */
49794 _ACEOF
49795 cat confdefs.h >>conftest.$ac_ext
49796 cat >>conftest.$ac_ext <<_ACEOF
49797 /* end confdefs.h.  */
49798 #include <math.h>
49799 int
49800 main ()
49801 {
49802  __builtin_sin(0);
49803   ;
49804   return 0;
49805 }
49806 _ACEOF
49807 rm -f conftest.$ac_objext
49808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49809   (eval $ac_compile) 2>conftest.er1
49810   ac_status=$?
49811   grep -v '^ *+' conftest.er1 >conftest.err
49812   rm -f conftest.er1
49813   cat conftest.err >&5
49814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49815   (exit $ac_status); } &&
49816          { ac_try='test -z "$ac_cxx_werror_flag"
49817                          || test ! -s conftest.err'
49818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49819   (eval $ac_try) 2>&5
49820   ac_status=$?
49821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49822   (exit $ac_status); }; } &&
49823          { ac_try='test -s conftest.$ac_objext'
49824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49825   (eval $ac_try) 2>&5
49826   ac_status=$?
49827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49828   (exit $ac_status); }; }; then
49829   glibcxx_cv_func___builtin_sin_use=yes
49830 else
49831   echo "$as_me: failed program was:" >&5
49832 sed 's/^/| /' conftest.$ac_ext >&5
49833
49834 glibcxx_cv_func___builtin_sin_use=no
49835 fi
49836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49837       ac_ext=c
49838 ac_cpp='$CPP $CPPFLAGS'
49839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49842
49843
49844 fi
49845
49846   fi
49847   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
49848 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
49849   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
49850     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
49851 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
49852     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
49853       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
49854   echo $ECHO_N "(cached) $ECHO_C" >&6
49855 else
49856
49857         if test x$gcc_no_link = xyes; then
49858   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49860    { (exit 1); exit 1; }; }
49861 fi
49862 cat >conftest.$ac_ext <<_ACEOF
49863 /* confdefs.h.  */
49864 _ACEOF
49865 cat confdefs.h >>conftest.$ac_ext
49866 cat >>conftest.$ac_ext <<_ACEOF
49867 /* end confdefs.h.  */
49868 #include <math.h>
49869 int
49870 main ()
49871 {
49872  __builtin_sin(0);
49873   ;
49874   return 0;
49875 }
49876 _ACEOF
49877 rm -f conftest.$ac_objext conftest$ac_exeext
49878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49879   (eval $ac_link) 2>conftest.er1
49880   ac_status=$?
49881   grep -v '^ *+' conftest.er1 >conftest.err
49882   rm -f conftest.er1
49883   cat conftest.err >&5
49884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49885   (exit $ac_status); } &&
49886          { ac_try='test -z "$ac_c_werror_flag"
49887                          || test ! -s conftest.err'
49888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49889   (eval $ac_try) 2>&5
49890   ac_status=$?
49891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49892   (exit $ac_status); }; } &&
49893          { ac_try='test -s conftest$ac_exeext'
49894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49895   (eval $ac_try) 2>&5
49896   ac_status=$?
49897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49898   (exit $ac_status); }; }; then
49899   glibcxx_cv_func___builtin_sin_link=yes
49900 else
49901   echo "$as_me: failed program was:" >&5
49902 sed 's/^/| /' conftest.$ac_ext >&5
49903
49904 glibcxx_cv_func___builtin_sin_link=no
49905 fi
49906 rm -f conftest.err conftest.$ac_objext \
49907       conftest$ac_exeext conftest.$ac_ext
49908
49909 fi
49910
49911     fi
49912     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
49913 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
49914
49915     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
49916
49917 cat >>confdefs.h <<\_ACEOF
49918 #define HAVE___BUILTIN_SIN 1
49919 _ACEOF
49920
49921     fi
49922
49923   fi
49924
49925
49926   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
49927 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
49928   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
49929     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
49930   echo $ECHO_N "(cached) $ECHO_C" >&6
49931 else
49932
49933
49934
49935       ac_ext=cc
49936 ac_cpp='$CXXCPP $CPPFLAGS'
49937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49940
49941       cat >conftest.$ac_ext <<_ACEOF
49942 /* confdefs.h.  */
49943 _ACEOF
49944 cat confdefs.h >>conftest.$ac_ext
49945 cat >>conftest.$ac_ext <<_ACEOF
49946 /* end confdefs.h.  */
49947 #include <math.h>
49948 int
49949 main ()
49950 {
49951  __builtin_sinl(0);
49952   ;
49953   return 0;
49954 }
49955 _ACEOF
49956 rm -f conftest.$ac_objext
49957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49958   (eval $ac_compile) 2>conftest.er1
49959   ac_status=$?
49960   grep -v '^ *+' conftest.er1 >conftest.err
49961   rm -f conftest.er1
49962   cat conftest.err >&5
49963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49964   (exit $ac_status); } &&
49965          { ac_try='test -z "$ac_cxx_werror_flag"
49966                          || test ! -s conftest.err'
49967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49968   (eval $ac_try) 2>&5
49969   ac_status=$?
49970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49971   (exit $ac_status); }; } &&
49972          { ac_try='test -s conftest.$ac_objext'
49973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49974   (eval $ac_try) 2>&5
49975   ac_status=$?
49976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49977   (exit $ac_status); }; }; then
49978   glibcxx_cv_func___builtin_sinl_use=yes
49979 else
49980   echo "$as_me: failed program was:" >&5
49981 sed 's/^/| /' conftest.$ac_ext >&5
49982
49983 glibcxx_cv_func___builtin_sinl_use=no
49984 fi
49985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49986       ac_ext=c
49987 ac_cpp='$CPP $CPPFLAGS'
49988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49991
49992
49993 fi
49994
49995   fi
49996   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
49997 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
49998   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
49999     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
50000 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
50001     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
50002       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
50003   echo $ECHO_N "(cached) $ECHO_C" >&6
50004 else
50005
50006         if test x$gcc_no_link = xyes; then
50007   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50009    { (exit 1); exit 1; }; }
50010 fi
50011 cat >conftest.$ac_ext <<_ACEOF
50012 /* confdefs.h.  */
50013 _ACEOF
50014 cat confdefs.h >>conftest.$ac_ext
50015 cat >>conftest.$ac_ext <<_ACEOF
50016 /* end confdefs.h.  */
50017 #include <math.h>
50018 int
50019 main ()
50020 {
50021  __builtin_sinl(0);
50022   ;
50023   return 0;
50024 }
50025 _ACEOF
50026 rm -f conftest.$ac_objext conftest$ac_exeext
50027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50028   (eval $ac_link) 2>conftest.er1
50029   ac_status=$?
50030   grep -v '^ *+' conftest.er1 >conftest.err
50031   rm -f conftest.er1
50032   cat conftest.err >&5
50033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50034   (exit $ac_status); } &&
50035          { ac_try='test -z "$ac_c_werror_flag"
50036                          || test ! -s conftest.err'
50037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50038   (eval $ac_try) 2>&5
50039   ac_status=$?
50040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50041   (exit $ac_status); }; } &&
50042          { ac_try='test -s conftest$ac_exeext'
50043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50044   (eval $ac_try) 2>&5
50045   ac_status=$?
50046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50047   (exit $ac_status); }; }; then
50048   glibcxx_cv_func___builtin_sinl_link=yes
50049 else
50050   echo "$as_me: failed program was:" >&5
50051 sed 's/^/| /' conftest.$ac_ext >&5
50052
50053 glibcxx_cv_func___builtin_sinl_link=no
50054 fi
50055 rm -f conftest.err conftest.$ac_objext \
50056       conftest$ac_exeext conftest.$ac_ext
50057
50058 fi
50059
50060     fi
50061     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
50062 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
50063
50064     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
50065
50066 cat >>confdefs.h <<\_ACEOF
50067 #define HAVE___BUILTIN_SINL 1
50068 _ACEOF
50069
50070     fi
50071
50072   fi
50073
50074
50075
50076   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
50077 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
50078   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
50079     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
50080   echo $ECHO_N "(cached) $ECHO_C" >&6
50081 else
50082
50083
50084
50085       ac_ext=cc
50086 ac_cpp='$CXXCPP $CPPFLAGS'
50087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50090
50091       cat >conftest.$ac_ext <<_ACEOF
50092 /* confdefs.h.  */
50093 _ACEOF
50094 cat confdefs.h >>conftest.$ac_ext
50095 cat >>conftest.$ac_ext <<_ACEOF
50096 /* end confdefs.h.  */
50097 #include <math.h>
50098 int
50099 main ()
50100 {
50101  __builtin_cosf(0);
50102   ;
50103   return 0;
50104 }
50105 _ACEOF
50106 rm -f conftest.$ac_objext
50107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50108   (eval $ac_compile) 2>conftest.er1
50109   ac_status=$?
50110   grep -v '^ *+' conftest.er1 >conftest.err
50111   rm -f conftest.er1
50112   cat conftest.err >&5
50113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50114   (exit $ac_status); } &&
50115          { ac_try='test -z "$ac_cxx_werror_flag"
50116                          || test ! -s conftest.err'
50117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50118   (eval $ac_try) 2>&5
50119   ac_status=$?
50120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50121   (exit $ac_status); }; } &&
50122          { ac_try='test -s conftest.$ac_objext'
50123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50124   (eval $ac_try) 2>&5
50125   ac_status=$?
50126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50127   (exit $ac_status); }; }; then
50128   glibcxx_cv_func___builtin_cosf_use=yes
50129 else
50130   echo "$as_me: failed program was:" >&5
50131 sed 's/^/| /' conftest.$ac_ext >&5
50132
50133 glibcxx_cv_func___builtin_cosf_use=no
50134 fi
50135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50136       ac_ext=c
50137 ac_cpp='$CPP $CPPFLAGS'
50138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50141
50142
50143 fi
50144
50145   fi
50146   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
50147 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
50148   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
50149     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
50150 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
50151     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
50152       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
50153   echo $ECHO_N "(cached) $ECHO_C" >&6
50154 else
50155
50156         if test x$gcc_no_link = xyes; then
50157   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50159    { (exit 1); exit 1; }; }
50160 fi
50161 cat >conftest.$ac_ext <<_ACEOF
50162 /* confdefs.h.  */
50163 _ACEOF
50164 cat confdefs.h >>conftest.$ac_ext
50165 cat >>conftest.$ac_ext <<_ACEOF
50166 /* end confdefs.h.  */
50167 #include <math.h>
50168 int
50169 main ()
50170 {
50171  __builtin_cosf(0);
50172   ;
50173   return 0;
50174 }
50175 _ACEOF
50176 rm -f conftest.$ac_objext conftest$ac_exeext
50177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50178   (eval $ac_link) 2>conftest.er1
50179   ac_status=$?
50180   grep -v '^ *+' conftest.er1 >conftest.err
50181   rm -f conftest.er1
50182   cat conftest.err >&5
50183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50184   (exit $ac_status); } &&
50185          { ac_try='test -z "$ac_c_werror_flag"
50186                          || test ! -s conftest.err'
50187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50188   (eval $ac_try) 2>&5
50189   ac_status=$?
50190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50191   (exit $ac_status); }; } &&
50192          { ac_try='test -s conftest$ac_exeext'
50193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50194   (eval $ac_try) 2>&5
50195   ac_status=$?
50196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50197   (exit $ac_status); }; }; then
50198   glibcxx_cv_func___builtin_cosf_link=yes
50199 else
50200   echo "$as_me: failed program was:" >&5
50201 sed 's/^/| /' conftest.$ac_ext >&5
50202
50203 glibcxx_cv_func___builtin_cosf_link=no
50204 fi
50205 rm -f conftest.err conftest.$ac_objext \
50206       conftest$ac_exeext conftest.$ac_ext
50207
50208 fi
50209
50210     fi
50211     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
50212 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
50213
50214     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
50215
50216 cat >>confdefs.h <<\_ACEOF
50217 #define HAVE___BUILTIN_COSF 1
50218 _ACEOF
50219
50220     fi
50221
50222   fi
50223
50224
50225   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
50226 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
50227   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
50228     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
50229   echo $ECHO_N "(cached) $ECHO_C" >&6
50230 else
50231
50232
50233
50234       ac_ext=cc
50235 ac_cpp='$CXXCPP $CPPFLAGS'
50236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50239
50240       cat >conftest.$ac_ext <<_ACEOF
50241 /* confdefs.h.  */
50242 _ACEOF
50243 cat confdefs.h >>conftest.$ac_ext
50244 cat >>conftest.$ac_ext <<_ACEOF
50245 /* end confdefs.h.  */
50246 #include <math.h>
50247 int
50248 main ()
50249 {
50250  __builtin_cos(0);
50251   ;
50252   return 0;
50253 }
50254 _ACEOF
50255 rm -f conftest.$ac_objext
50256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50257   (eval $ac_compile) 2>conftest.er1
50258   ac_status=$?
50259   grep -v '^ *+' conftest.er1 >conftest.err
50260   rm -f conftest.er1
50261   cat conftest.err >&5
50262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50263   (exit $ac_status); } &&
50264          { ac_try='test -z "$ac_cxx_werror_flag"
50265                          || test ! -s conftest.err'
50266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50267   (eval $ac_try) 2>&5
50268   ac_status=$?
50269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50270   (exit $ac_status); }; } &&
50271          { ac_try='test -s conftest.$ac_objext'
50272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50273   (eval $ac_try) 2>&5
50274   ac_status=$?
50275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50276   (exit $ac_status); }; }; then
50277   glibcxx_cv_func___builtin_cos_use=yes
50278 else
50279   echo "$as_me: failed program was:" >&5
50280 sed 's/^/| /' conftest.$ac_ext >&5
50281
50282 glibcxx_cv_func___builtin_cos_use=no
50283 fi
50284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50285       ac_ext=c
50286 ac_cpp='$CPP $CPPFLAGS'
50287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50290
50291
50292 fi
50293
50294   fi
50295   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
50296 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
50297   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
50298     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
50299 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
50300     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
50301       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
50302   echo $ECHO_N "(cached) $ECHO_C" >&6
50303 else
50304
50305         if test x$gcc_no_link = xyes; then
50306   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50308    { (exit 1); exit 1; }; }
50309 fi
50310 cat >conftest.$ac_ext <<_ACEOF
50311 /* confdefs.h.  */
50312 _ACEOF
50313 cat confdefs.h >>conftest.$ac_ext
50314 cat >>conftest.$ac_ext <<_ACEOF
50315 /* end confdefs.h.  */
50316 #include <math.h>
50317 int
50318 main ()
50319 {
50320  __builtin_cos(0);
50321   ;
50322   return 0;
50323 }
50324 _ACEOF
50325 rm -f conftest.$ac_objext conftest$ac_exeext
50326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50327   (eval $ac_link) 2>conftest.er1
50328   ac_status=$?
50329   grep -v '^ *+' conftest.er1 >conftest.err
50330   rm -f conftest.er1
50331   cat conftest.err >&5
50332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50333   (exit $ac_status); } &&
50334          { ac_try='test -z "$ac_c_werror_flag"
50335                          || test ! -s conftest.err'
50336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50337   (eval $ac_try) 2>&5
50338   ac_status=$?
50339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50340   (exit $ac_status); }; } &&
50341          { ac_try='test -s conftest$ac_exeext'
50342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50343   (eval $ac_try) 2>&5
50344   ac_status=$?
50345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50346   (exit $ac_status); }; }; then
50347   glibcxx_cv_func___builtin_cos_link=yes
50348 else
50349   echo "$as_me: failed program was:" >&5
50350 sed 's/^/| /' conftest.$ac_ext >&5
50351
50352 glibcxx_cv_func___builtin_cos_link=no
50353 fi
50354 rm -f conftest.err conftest.$ac_objext \
50355       conftest$ac_exeext conftest.$ac_ext
50356
50357 fi
50358
50359     fi
50360     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
50361 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
50362
50363     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
50364
50365 cat >>confdefs.h <<\_ACEOF
50366 #define HAVE___BUILTIN_COS 1
50367 _ACEOF
50368
50369     fi
50370
50371   fi
50372
50373
50374   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
50375 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
50376   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
50377     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
50378   echo $ECHO_N "(cached) $ECHO_C" >&6
50379 else
50380
50381
50382
50383       ac_ext=cc
50384 ac_cpp='$CXXCPP $CPPFLAGS'
50385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50388
50389       cat >conftest.$ac_ext <<_ACEOF
50390 /* confdefs.h.  */
50391 _ACEOF
50392 cat confdefs.h >>conftest.$ac_ext
50393 cat >>conftest.$ac_ext <<_ACEOF
50394 /* end confdefs.h.  */
50395 #include <math.h>
50396 int
50397 main ()
50398 {
50399  __builtin_cosl(0);
50400   ;
50401   return 0;
50402 }
50403 _ACEOF
50404 rm -f conftest.$ac_objext
50405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50406   (eval $ac_compile) 2>conftest.er1
50407   ac_status=$?
50408   grep -v '^ *+' conftest.er1 >conftest.err
50409   rm -f conftest.er1
50410   cat conftest.err >&5
50411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50412   (exit $ac_status); } &&
50413          { ac_try='test -z "$ac_cxx_werror_flag"
50414                          || test ! -s conftest.err'
50415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50416   (eval $ac_try) 2>&5
50417   ac_status=$?
50418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50419   (exit $ac_status); }; } &&
50420          { ac_try='test -s conftest.$ac_objext'
50421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50422   (eval $ac_try) 2>&5
50423   ac_status=$?
50424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50425   (exit $ac_status); }; }; then
50426   glibcxx_cv_func___builtin_cosl_use=yes
50427 else
50428   echo "$as_me: failed program was:" >&5
50429 sed 's/^/| /' conftest.$ac_ext >&5
50430
50431 glibcxx_cv_func___builtin_cosl_use=no
50432 fi
50433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50434       ac_ext=c
50435 ac_cpp='$CPP $CPPFLAGS'
50436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50439
50440
50441 fi
50442
50443   fi
50444   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
50445 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
50446   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
50447     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
50448 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
50449     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
50450       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
50451   echo $ECHO_N "(cached) $ECHO_C" >&6
50452 else
50453
50454         if test x$gcc_no_link = xyes; then
50455   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50457    { (exit 1); exit 1; }; }
50458 fi
50459 cat >conftest.$ac_ext <<_ACEOF
50460 /* confdefs.h.  */
50461 _ACEOF
50462 cat confdefs.h >>conftest.$ac_ext
50463 cat >>conftest.$ac_ext <<_ACEOF
50464 /* end confdefs.h.  */
50465 #include <math.h>
50466 int
50467 main ()
50468 {
50469  __builtin_cosl(0);
50470   ;
50471   return 0;
50472 }
50473 _ACEOF
50474 rm -f conftest.$ac_objext conftest$ac_exeext
50475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50476   (eval $ac_link) 2>conftest.er1
50477   ac_status=$?
50478   grep -v '^ *+' conftest.er1 >conftest.err
50479   rm -f conftest.er1
50480   cat conftest.err >&5
50481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50482   (exit $ac_status); } &&
50483          { ac_try='test -z "$ac_c_werror_flag"
50484                          || test ! -s conftest.err'
50485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50486   (eval $ac_try) 2>&5
50487   ac_status=$?
50488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50489   (exit $ac_status); }; } &&
50490          { ac_try='test -s conftest$ac_exeext'
50491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50492   (eval $ac_try) 2>&5
50493   ac_status=$?
50494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50495   (exit $ac_status); }; }; then
50496   glibcxx_cv_func___builtin_cosl_link=yes
50497 else
50498   echo "$as_me: failed program was:" >&5
50499 sed 's/^/| /' conftest.$ac_ext >&5
50500
50501 glibcxx_cv_func___builtin_cosl_link=no
50502 fi
50503 rm -f conftest.err conftest.$ac_objext \
50504       conftest$ac_exeext conftest.$ac_ext
50505
50506 fi
50507
50508     fi
50509     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
50510 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
50511
50512     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
50513
50514 cat >>confdefs.h <<\_ACEOF
50515 #define HAVE___BUILTIN_COSL 1
50516 _ACEOF
50517
50518     fi
50519
50520   fi
50521
50522
50523
50524
50525 echo "$as_me:$LINENO: checking for main in -lm" >&5
50526 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
50527 if test "${ac_cv_lib_m_main+set}" = set; then
50528   echo $ECHO_N "(cached) $ECHO_C" >&6
50529 else
50530   ac_check_lib_save_LIBS=$LIBS
50531 LIBS="-lm  $LIBS"
50532 if test x$gcc_no_link = xyes; then
50533   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50535    { (exit 1); exit 1; }; }
50536 fi
50537 cat >conftest.$ac_ext <<_ACEOF
50538 /* confdefs.h.  */
50539 _ACEOF
50540 cat confdefs.h >>conftest.$ac_ext
50541 cat >>conftest.$ac_ext <<_ACEOF
50542 /* end confdefs.h.  */
50543
50544
50545 int
50546 main ()
50547 {
50548 main ();
50549   ;
50550   return 0;
50551 }
50552 _ACEOF
50553 rm -f conftest.$ac_objext conftest$ac_exeext
50554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50555   (eval $ac_link) 2>conftest.er1
50556   ac_status=$?
50557   grep -v '^ *+' conftest.er1 >conftest.err
50558   rm -f conftest.er1
50559   cat conftest.err >&5
50560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50561   (exit $ac_status); } &&
50562          { ac_try='test -z "$ac_c_werror_flag"
50563                          || test ! -s conftest.err'
50564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50565   (eval $ac_try) 2>&5
50566   ac_status=$?
50567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50568   (exit $ac_status); }; } &&
50569          { ac_try='test -s conftest$ac_exeext'
50570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50571   (eval $ac_try) 2>&5
50572   ac_status=$?
50573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50574   (exit $ac_status); }; }; then
50575   ac_cv_lib_m_main=yes
50576 else
50577   echo "$as_me: failed program was:" >&5
50578 sed 's/^/| /' conftest.$ac_ext >&5
50579
50580 ac_cv_lib_m_main=no
50581 fi
50582 rm -f conftest.err conftest.$ac_objext \
50583       conftest$ac_exeext conftest.$ac_ext
50584 LIBS=$ac_check_lib_save_LIBS
50585 fi
50586 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
50587 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
50588 if test $ac_cv_lib_m_main = yes; then
50589   cat >>confdefs.h <<_ACEOF
50590 #define HAVE_LIBM 1
50591 _ACEOF
50592
50593   LIBS="-lm $LIBS"
50594
50595 fi
50596
50597
50598 for ac_func in copysignf
50599 do
50600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50601 echo "$as_me:$LINENO: checking for $ac_func" >&5
50602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50603 if eval "test \"\${$as_ac_var+set}\" = set"; then
50604   echo $ECHO_N "(cached) $ECHO_C" >&6
50605 else
50606   if test x$gcc_no_link = xyes; then
50607   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50609    { (exit 1); exit 1; }; }
50610 fi
50611 cat >conftest.$ac_ext <<_ACEOF
50612 /* confdefs.h.  */
50613 _ACEOF
50614 cat confdefs.h >>conftest.$ac_ext
50615 cat >>conftest.$ac_ext <<_ACEOF
50616 /* end confdefs.h.  */
50617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50618    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50619 #define $ac_func innocuous_$ac_func
50620
50621 /* System header to define __stub macros and hopefully few prototypes,
50622     which can conflict with char $ac_func (); below.
50623     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50624     <limits.h> exists even on freestanding compilers.  */
50625
50626 #ifdef __STDC__
50627 # include <limits.h>
50628 #else
50629 # include <assert.h>
50630 #endif
50631
50632 #undef $ac_func
50633
50634 /* Override any gcc2 internal prototype to avoid an error.  */
50635 #ifdef __cplusplus
50636 extern "C"
50637 {
50638 #endif
50639 /* We use char because int might match the return type of a gcc2
50640    builtin and then its argument prototype would still apply.  */
50641 char $ac_func ();
50642 /* The GNU C library defines this for functions which it implements
50643     to always fail with ENOSYS.  Some functions are actually named
50644     something starting with __ and the normal name is an alias.  */
50645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50646 choke me
50647 #else
50648 char (*f) () = $ac_func;
50649 #endif
50650 #ifdef __cplusplus
50651 }
50652 #endif
50653
50654 int
50655 main ()
50656 {
50657 return f != $ac_func;
50658   ;
50659   return 0;
50660 }
50661 _ACEOF
50662 rm -f conftest.$ac_objext conftest$ac_exeext
50663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50664   (eval $ac_link) 2>conftest.er1
50665   ac_status=$?
50666   grep -v '^ *+' conftest.er1 >conftest.err
50667   rm -f conftest.er1
50668   cat conftest.err >&5
50669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50670   (exit $ac_status); } &&
50671          { ac_try='test -z "$ac_c_werror_flag"
50672                          || test ! -s conftest.err'
50673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50674   (eval $ac_try) 2>&5
50675   ac_status=$?
50676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50677   (exit $ac_status); }; } &&
50678          { ac_try='test -s conftest$ac_exeext'
50679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50680   (eval $ac_try) 2>&5
50681   ac_status=$?
50682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50683   (exit $ac_status); }; }; then
50684   eval "$as_ac_var=yes"
50685 else
50686   echo "$as_me: failed program was:" >&5
50687 sed 's/^/| /' conftest.$ac_ext >&5
50688
50689 eval "$as_ac_var=no"
50690 fi
50691 rm -f conftest.err conftest.$ac_objext \
50692       conftest$ac_exeext conftest.$ac_ext
50693 fi
50694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50696 if test `eval echo '${'$as_ac_var'}'` = yes; then
50697   cat >>confdefs.h <<_ACEOF
50698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50699 _ACEOF
50700
50701 else
50702   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
50703 fi
50704 done
50705
50706
50707
50708 for ac_func in __signbit
50709 do
50710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50711 echo "$as_me:$LINENO: checking for $ac_func" >&5
50712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50713 if eval "test \"\${$as_ac_var+set}\" = set"; then
50714   echo $ECHO_N "(cached) $ECHO_C" >&6
50715 else
50716   if test x$gcc_no_link = xyes; then
50717   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50719    { (exit 1); exit 1; }; }
50720 fi
50721 cat >conftest.$ac_ext <<_ACEOF
50722 /* confdefs.h.  */
50723 _ACEOF
50724 cat confdefs.h >>conftest.$ac_ext
50725 cat >>conftest.$ac_ext <<_ACEOF
50726 /* end confdefs.h.  */
50727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50728    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50729 #define $ac_func innocuous_$ac_func
50730
50731 /* System header to define __stub macros and hopefully few prototypes,
50732     which can conflict with char $ac_func (); below.
50733     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50734     <limits.h> exists even on freestanding compilers.  */
50735
50736 #ifdef __STDC__
50737 # include <limits.h>
50738 #else
50739 # include <assert.h>
50740 #endif
50741
50742 #undef $ac_func
50743
50744 /* Override any gcc2 internal prototype to avoid an error.  */
50745 #ifdef __cplusplus
50746 extern "C"
50747 {
50748 #endif
50749 /* We use char because int might match the return type of a gcc2
50750    builtin and then its argument prototype would still apply.  */
50751 char $ac_func ();
50752 /* The GNU C library defines this for functions which it implements
50753     to always fail with ENOSYS.  Some functions are actually named
50754     something starting with __ and the normal name is an alias.  */
50755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50756 choke me
50757 #else
50758 char (*f) () = $ac_func;
50759 #endif
50760 #ifdef __cplusplus
50761 }
50762 #endif
50763
50764 int
50765 main ()
50766 {
50767 return f != $ac_func;
50768   ;
50769   return 0;
50770 }
50771 _ACEOF
50772 rm -f conftest.$ac_objext conftest$ac_exeext
50773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50774   (eval $ac_link) 2>conftest.er1
50775   ac_status=$?
50776   grep -v '^ *+' conftest.er1 >conftest.err
50777   rm -f conftest.er1
50778   cat conftest.err >&5
50779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50780   (exit $ac_status); } &&
50781          { ac_try='test -z "$ac_c_werror_flag"
50782                          || test ! -s conftest.err'
50783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50784   (eval $ac_try) 2>&5
50785   ac_status=$?
50786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50787   (exit $ac_status); }; } &&
50788          { ac_try='test -s conftest$ac_exeext'
50789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50790   (eval $ac_try) 2>&5
50791   ac_status=$?
50792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50793   (exit $ac_status); }; }; then
50794   eval "$as_ac_var=yes"
50795 else
50796   echo "$as_me: failed program was:" >&5
50797 sed 's/^/| /' conftest.$ac_ext >&5
50798
50799 eval "$as_ac_var=no"
50800 fi
50801 rm -f conftest.err conftest.$ac_objext \
50802       conftest$ac_exeext conftest.$ac_ext
50803 fi
50804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50806 if test `eval echo '${'$as_ac_var'}'` = yes; then
50807   cat >>confdefs.h <<_ACEOF
50808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50809 _ACEOF
50810
50811 else
50812   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
50813 fi
50814 done
50815
50816
50817
50818 for ac_func in __signbitf
50819 do
50820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50821 echo "$as_me:$LINENO: checking for $ac_func" >&5
50822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50823 if eval "test \"\${$as_ac_var+set}\" = set"; then
50824   echo $ECHO_N "(cached) $ECHO_C" >&6
50825 else
50826   if test x$gcc_no_link = xyes; then
50827   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50829    { (exit 1); exit 1; }; }
50830 fi
50831 cat >conftest.$ac_ext <<_ACEOF
50832 /* confdefs.h.  */
50833 _ACEOF
50834 cat confdefs.h >>conftest.$ac_ext
50835 cat >>conftest.$ac_ext <<_ACEOF
50836 /* end confdefs.h.  */
50837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50838    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50839 #define $ac_func innocuous_$ac_func
50840
50841 /* System header to define __stub macros and hopefully few prototypes,
50842     which can conflict with char $ac_func (); below.
50843     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50844     <limits.h> exists even on freestanding compilers.  */
50845
50846 #ifdef __STDC__
50847 # include <limits.h>
50848 #else
50849 # include <assert.h>
50850 #endif
50851
50852 #undef $ac_func
50853
50854 /* Override any gcc2 internal prototype to avoid an error.  */
50855 #ifdef __cplusplus
50856 extern "C"
50857 {
50858 #endif
50859 /* We use char because int might match the return type of a gcc2
50860    builtin and then its argument prototype would still apply.  */
50861 char $ac_func ();
50862 /* The GNU C library defines this for functions which it implements
50863     to always fail with ENOSYS.  Some functions are actually named
50864     something starting with __ and the normal name is an alias.  */
50865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50866 choke me
50867 #else
50868 char (*f) () = $ac_func;
50869 #endif
50870 #ifdef __cplusplus
50871 }
50872 #endif
50873
50874 int
50875 main ()
50876 {
50877 return f != $ac_func;
50878   ;
50879   return 0;
50880 }
50881 _ACEOF
50882 rm -f conftest.$ac_objext conftest$ac_exeext
50883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50884   (eval $ac_link) 2>conftest.er1
50885   ac_status=$?
50886   grep -v '^ *+' conftest.er1 >conftest.err
50887   rm -f conftest.er1
50888   cat conftest.err >&5
50889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50890   (exit $ac_status); } &&
50891          { ac_try='test -z "$ac_c_werror_flag"
50892                          || test ! -s conftest.err'
50893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50894   (eval $ac_try) 2>&5
50895   ac_status=$?
50896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50897   (exit $ac_status); }; } &&
50898          { ac_try='test -s conftest$ac_exeext'
50899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50900   (eval $ac_try) 2>&5
50901   ac_status=$?
50902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50903   (exit $ac_status); }; }; then
50904   eval "$as_ac_var=yes"
50905 else
50906   echo "$as_me: failed program was:" >&5
50907 sed 's/^/| /' conftest.$ac_ext >&5
50908
50909 eval "$as_ac_var=no"
50910 fi
50911 rm -f conftest.err conftest.$ac_objext \
50912       conftest$ac_exeext conftest.$ac_ext
50913 fi
50914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50916 if test `eval echo '${'$as_ac_var'}'` = yes; then
50917   cat >>confdefs.h <<_ACEOF
50918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50919 _ACEOF
50920
50921 else
50922   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
50923 fi
50924 done
50925
50926
50927           if test x$ac_cv_func_copysignl = x"yes"; then
50928
50929 for ac_func in __signbitl
50930 do
50931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50932 echo "$as_me:$LINENO: checking for $ac_func" >&5
50933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50934 if eval "test \"\${$as_ac_var+set}\" = set"; then
50935   echo $ECHO_N "(cached) $ECHO_C" >&6
50936 else
50937   if test x$gcc_no_link = xyes; then
50938   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50940    { (exit 1); exit 1; }; }
50941 fi
50942 cat >conftest.$ac_ext <<_ACEOF
50943 /* confdefs.h.  */
50944 _ACEOF
50945 cat confdefs.h >>conftest.$ac_ext
50946 cat >>conftest.$ac_ext <<_ACEOF
50947 /* end confdefs.h.  */
50948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50949    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50950 #define $ac_func innocuous_$ac_func
50951
50952 /* System header to define __stub macros and hopefully few prototypes,
50953     which can conflict with char $ac_func (); below.
50954     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50955     <limits.h> exists even on freestanding compilers.  */
50956
50957 #ifdef __STDC__
50958 # include <limits.h>
50959 #else
50960 # include <assert.h>
50961 #endif
50962
50963 #undef $ac_func
50964
50965 /* Override any gcc2 internal prototype to avoid an error.  */
50966 #ifdef __cplusplus
50967 extern "C"
50968 {
50969 #endif
50970 /* We use char because int might match the return type of a gcc2
50971    builtin and then its argument prototype would still apply.  */
50972 char $ac_func ();
50973 /* The GNU C library defines this for functions which it implements
50974     to always fail with ENOSYS.  Some functions are actually named
50975     something starting with __ and the normal name is an alias.  */
50976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50977 choke me
50978 #else
50979 char (*f) () = $ac_func;
50980 #endif
50981 #ifdef __cplusplus
50982 }
50983 #endif
50984
50985 int
50986 main ()
50987 {
50988 return f != $ac_func;
50989   ;
50990   return 0;
50991 }
50992 _ACEOF
50993 rm -f conftest.$ac_objext conftest$ac_exeext
50994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50995   (eval $ac_link) 2>conftest.er1
50996   ac_status=$?
50997   grep -v '^ *+' conftest.er1 >conftest.err
50998   rm -f conftest.er1
50999   cat conftest.err >&5
51000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51001   (exit $ac_status); } &&
51002          { ac_try='test -z "$ac_c_werror_flag"
51003                          || test ! -s conftest.err'
51004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51005   (eval $ac_try) 2>&5
51006   ac_status=$?
51007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51008   (exit $ac_status); }; } &&
51009          { ac_try='test -s conftest$ac_exeext'
51010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51011   (eval $ac_try) 2>&5
51012   ac_status=$?
51013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51014   (exit $ac_status); }; }; then
51015   eval "$as_ac_var=yes"
51016 else
51017   echo "$as_me: failed program was:" >&5
51018 sed 's/^/| /' conftest.$ac_ext >&5
51019
51020 eval "$as_ac_var=no"
51021 fi
51022 rm -f conftest.err conftest.$ac_objext \
51023       conftest$ac_exeext conftest.$ac_ext
51024 fi
51025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51027 if test `eval echo '${'$as_ac_var'}'` = yes; then
51028   cat >>confdefs.h <<_ACEOF
51029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51030 _ACEOF
51031
51032 else
51033   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
51034 fi
51035 done
51036
51037   fi
51038
51039   # Used in libmath/Makefile.am.
51040   if test -n "$LIBMATHOBJS"; then
51041     need_libmath=yes
51042   fi
51043
51044
51045
51046
51047   enable_iconv=no
51048   # Only continue checking if the ISO C99 headers exist and support is on.
51049   if test x"$enable_wchar_t" = xyes; then
51050
51051     # Use iconv for wchar_t to char conversions. As such, check for
51052     # X/Open Portability Guide, version 2 features (XPG2).
51053     if test "${ac_cv_header_iconv_h+set}" = set; then
51054   echo "$as_me:$LINENO: checking for iconv.h" >&5
51055 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51056 if test "${ac_cv_header_iconv_h+set}" = set; then
51057   echo $ECHO_N "(cached) $ECHO_C" >&6
51058 fi
51059 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51060 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51061 else
51062   # Is the header compilable?
51063 echo "$as_me:$LINENO: checking iconv.h usability" >&5
51064 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
51065 cat >conftest.$ac_ext <<_ACEOF
51066 /* confdefs.h.  */
51067 _ACEOF
51068 cat confdefs.h >>conftest.$ac_ext
51069 cat >>conftest.$ac_ext <<_ACEOF
51070 /* end confdefs.h.  */
51071 $ac_includes_default
51072 #include <iconv.h>
51073 _ACEOF
51074 rm -f conftest.$ac_objext
51075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51076   (eval $ac_compile) 2>conftest.er1
51077   ac_status=$?
51078   grep -v '^ *+' conftest.er1 >conftest.err
51079   rm -f conftest.er1
51080   cat conftest.err >&5
51081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51082   (exit $ac_status); } &&
51083          { ac_try='test -z "$ac_c_werror_flag"
51084                          || test ! -s conftest.err'
51085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51086   (eval $ac_try) 2>&5
51087   ac_status=$?
51088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51089   (exit $ac_status); }; } &&
51090          { ac_try='test -s conftest.$ac_objext'
51091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51092   (eval $ac_try) 2>&5
51093   ac_status=$?
51094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51095   (exit $ac_status); }; }; then
51096   ac_header_compiler=yes
51097 else
51098   echo "$as_me: failed program was:" >&5
51099 sed 's/^/| /' conftest.$ac_ext >&5
51100
51101 ac_header_compiler=no
51102 fi
51103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51104 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51105 echo "${ECHO_T}$ac_header_compiler" >&6
51106
51107 # Is the header present?
51108 echo "$as_me:$LINENO: checking iconv.h presence" >&5
51109 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
51110 cat >conftest.$ac_ext <<_ACEOF
51111 /* confdefs.h.  */
51112 _ACEOF
51113 cat confdefs.h >>conftest.$ac_ext
51114 cat >>conftest.$ac_ext <<_ACEOF
51115 /* end confdefs.h.  */
51116 #include <iconv.h>
51117 _ACEOF
51118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51119   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51120   ac_status=$?
51121   grep -v '^ *+' conftest.er1 >conftest.err
51122   rm -f conftest.er1
51123   cat conftest.err >&5
51124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51125   (exit $ac_status); } >/dev/null; then
51126   if test -s conftest.err; then
51127     ac_cpp_err=$ac_c_preproc_warn_flag
51128     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51129   else
51130     ac_cpp_err=
51131   fi
51132 else
51133   ac_cpp_err=yes
51134 fi
51135 if test -z "$ac_cpp_err"; then
51136   ac_header_preproc=yes
51137 else
51138   echo "$as_me: failed program was:" >&5
51139 sed 's/^/| /' conftest.$ac_ext >&5
51140
51141   ac_header_preproc=no
51142 fi
51143 rm -f conftest.err conftest.$ac_ext
51144 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51145 echo "${ECHO_T}$ac_header_preproc" >&6
51146
51147 # So?  What about this header?
51148 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51149   yes:no: )
51150     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
51151 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51152     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
51153 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
51154     ac_header_preproc=yes
51155     ;;
51156   no:yes:* )
51157     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
51158 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
51159     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
51160 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
51161     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
51162 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
51163     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
51164 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
51165     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
51166 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
51167     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
51168 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
51169     (
51170       cat <<\_ASBOX
51171 ## ----------------------------------------- ##
51172 ## Report this to the package-unused lists.  ##
51173 ## ----------------------------------------- ##
51174 _ASBOX
51175     ) |
51176       sed "s/^/$as_me: WARNING:     /" >&2
51177     ;;
51178 esac
51179 echo "$as_me:$LINENO: checking for iconv.h" >&5
51180 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51181 if test "${ac_cv_header_iconv_h+set}" = set; then
51182   echo $ECHO_N "(cached) $ECHO_C" >&6
51183 else
51184   ac_cv_header_iconv_h=$ac_header_preproc
51185 fi
51186 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51187 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51188
51189 fi
51190 if test $ac_cv_header_iconv_h = yes; then
51191   ac_has_iconv_h=yes
51192 else
51193   ac_has_iconv_h=no
51194 fi
51195
51196
51197     if test "${ac_cv_header_langinfo_h+set}" = set; then
51198   echo "$as_me:$LINENO: checking for langinfo.h" >&5
51199 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51200 if test "${ac_cv_header_langinfo_h+set}" = set; then
51201   echo $ECHO_N "(cached) $ECHO_C" >&6
51202 fi
51203 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51204 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51205 else
51206   # Is the header compilable?
51207 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
51208 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
51209 cat >conftest.$ac_ext <<_ACEOF
51210 /* confdefs.h.  */
51211 _ACEOF
51212 cat confdefs.h >>conftest.$ac_ext
51213 cat >>conftest.$ac_ext <<_ACEOF
51214 /* end confdefs.h.  */
51215 $ac_includes_default
51216 #include <langinfo.h>
51217 _ACEOF
51218 rm -f conftest.$ac_objext
51219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51220   (eval $ac_compile) 2>conftest.er1
51221   ac_status=$?
51222   grep -v '^ *+' conftest.er1 >conftest.err
51223   rm -f conftest.er1
51224   cat conftest.err >&5
51225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51226   (exit $ac_status); } &&
51227          { ac_try='test -z "$ac_c_werror_flag"
51228                          || test ! -s conftest.err'
51229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51230   (eval $ac_try) 2>&5
51231   ac_status=$?
51232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51233   (exit $ac_status); }; } &&
51234          { ac_try='test -s conftest.$ac_objext'
51235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51236   (eval $ac_try) 2>&5
51237   ac_status=$?
51238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51239   (exit $ac_status); }; }; then
51240   ac_header_compiler=yes
51241 else
51242   echo "$as_me: failed program was:" >&5
51243 sed 's/^/| /' conftest.$ac_ext >&5
51244
51245 ac_header_compiler=no
51246 fi
51247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51248 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51249 echo "${ECHO_T}$ac_header_compiler" >&6
51250
51251 # Is the header present?
51252 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
51253 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
51254 cat >conftest.$ac_ext <<_ACEOF
51255 /* confdefs.h.  */
51256 _ACEOF
51257 cat confdefs.h >>conftest.$ac_ext
51258 cat >>conftest.$ac_ext <<_ACEOF
51259 /* end confdefs.h.  */
51260 #include <langinfo.h>
51261 _ACEOF
51262 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51263   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51264   ac_status=$?
51265   grep -v '^ *+' conftest.er1 >conftest.err
51266   rm -f conftest.er1
51267   cat conftest.err >&5
51268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51269   (exit $ac_status); } >/dev/null; then
51270   if test -s conftest.err; then
51271     ac_cpp_err=$ac_c_preproc_warn_flag
51272     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51273   else
51274     ac_cpp_err=
51275   fi
51276 else
51277   ac_cpp_err=yes
51278 fi
51279 if test -z "$ac_cpp_err"; then
51280   ac_header_preproc=yes
51281 else
51282   echo "$as_me: failed program was:" >&5
51283 sed 's/^/| /' conftest.$ac_ext >&5
51284
51285   ac_header_preproc=no
51286 fi
51287 rm -f conftest.err conftest.$ac_ext
51288 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51289 echo "${ECHO_T}$ac_header_preproc" >&6
51290
51291 # So?  What about this header?
51292 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51293   yes:no: )
51294     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
51295 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51296     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
51297 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
51298     ac_header_preproc=yes
51299     ;;
51300   no:yes:* )
51301     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
51302 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
51303     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
51304 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
51305     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
51306 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
51307     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
51308 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
51309     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
51310 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
51311     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
51312 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
51313     (
51314       cat <<\_ASBOX
51315 ## ----------------------------------------- ##
51316 ## Report this to the package-unused lists.  ##
51317 ## ----------------------------------------- ##
51318 _ASBOX
51319     ) |
51320       sed "s/^/$as_me: WARNING:     /" >&2
51321     ;;
51322 esac
51323 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51324 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51325 if test "${ac_cv_header_langinfo_h+set}" = set; then
51326   echo $ECHO_N "(cached) $ECHO_C" >&6
51327 else
51328   ac_cv_header_langinfo_h=$ac_header_preproc
51329 fi
51330 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51331 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51332
51333 fi
51334 if test $ac_cv_header_langinfo_h = yes; then
51335   ac_has_langinfo_h=yes
51336 else
51337   ac_has_langinfo_h=no
51338 fi
51339
51340
51341
51342     # Check for existence of libiconv.a providing XPG2 wchar_t support.
51343     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
51344 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
51345 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
51346   echo $ECHO_N "(cached) $ECHO_C" >&6
51347 else
51348   ac_check_lib_save_LIBS=$LIBS
51349 LIBS="-liconv  $LIBS"
51350 if test x$gcc_no_link = xyes; then
51351   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51353    { (exit 1); exit 1; }; }
51354 fi
51355 cat >conftest.$ac_ext <<_ACEOF
51356 /* confdefs.h.  */
51357 _ACEOF
51358 cat confdefs.h >>conftest.$ac_ext
51359 cat >>conftest.$ac_ext <<_ACEOF
51360 /* end confdefs.h.  */
51361
51362 /* Override any gcc2 internal prototype to avoid an error.  */
51363 #ifdef __cplusplus
51364 extern "C"
51365 #endif
51366 /* We use char because int might match the return type of a gcc2
51367    builtin and then its argument prototype would still apply.  */
51368 char iconv ();
51369 int
51370 main ()
51371 {
51372 iconv ();
51373   ;
51374   return 0;
51375 }
51376 _ACEOF
51377 rm -f conftest.$ac_objext conftest$ac_exeext
51378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51379   (eval $ac_link) 2>conftest.er1
51380   ac_status=$?
51381   grep -v '^ *+' conftest.er1 >conftest.err
51382   rm -f conftest.er1
51383   cat conftest.err >&5
51384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51385   (exit $ac_status); } &&
51386          { ac_try='test -z "$ac_c_werror_flag"
51387                          || test ! -s conftest.err'
51388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51389   (eval $ac_try) 2>&5
51390   ac_status=$?
51391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51392   (exit $ac_status); }; } &&
51393          { ac_try='test -s conftest$ac_exeext'
51394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51395   (eval $ac_try) 2>&5
51396   ac_status=$?
51397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51398   (exit $ac_status); }; }; then
51399   ac_cv_lib_iconv_iconv=yes
51400 else
51401   echo "$as_me: failed program was:" >&5
51402 sed 's/^/| /' conftest.$ac_ext >&5
51403
51404 ac_cv_lib_iconv_iconv=no
51405 fi
51406 rm -f conftest.err conftest.$ac_objext \
51407       conftest$ac_exeext conftest.$ac_ext
51408 LIBS=$ac_check_lib_save_LIBS
51409 fi
51410 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
51411 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
51412 if test $ac_cv_lib_iconv_iconv = yes; then
51413   LIBICONV="-liconv"
51414 fi
51415
51416     ac_save_LIBS="$LIBS"
51417     LIBS="$LIBS $LIBICONV"
51418
51419
51420
51421
51422
51423
51424 for ac_func in iconv_open iconv_close iconv nl_langinfo
51425 do
51426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51427 echo "$as_me:$LINENO: checking for $ac_func" >&5
51428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51429 if eval "test \"\${$as_ac_var+set}\" = set"; then
51430   echo $ECHO_N "(cached) $ECHO_C" >&6
51431 else
51432   if test x$gcc_no_link = xyes; then
51433   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51435    { (exit 1); exit 1; }; }
51436 fi
51437 cat >conftest.$ac_ext <<_ACEOF
51438 /* confdefs.h.  */
51439 _ACEOF
51440 cat confdefs.h >>conftest.$ac_ext
51441 cat >>conftest.$ac_ext <<_ACEOF
51442 /* end confdefs.h.  */
51443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51444    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51445 #define $ac_func innocuous_$ac_func
51446
51447 /* System header to define __stub macros and hopefully few prototypes,
51448     which can conflict with char $ac_func (); below.
51449     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51450     <limits.h> exists even on freestanding compilers.  */
51451
51452 #ifdef __STDC__
51453 # include <limits.h>
51454 #else
51455 # include <assert.h>
51456 #endif
51457
51458 #undef $ac_func
51459
51460 /* Override any gcc2 internal prototype to avoid an error.  */
51461 #ifdef __cplusplus
51462 extern "C"
51463 {
51464 #endif
51465 /* We use char because int might match the return type of a gcc2
51466    builtin and then its argument prototype would still apply.  */
51467 char $ac_func ();
51468 /* The GNU C library defines this for functions which it implements
51469     to always fail with ENOSYS.  Some functions are actually named
51470     something starting with __ and the normal name is an alias.  */
51471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51472 choke me
51473 #else
51474 char (*f) () = $ac_func;
51475 #endif
51476 #ifdef __cplusplus
51477 }
51478 #endif
51479
51480 int
51481 main ()
51482 {
51483 return f != $ac_func;
51484   ;
51485   return 0;
51486 }
51487 _ACEOF
51488 rm -f conftest.$ac_objext conftest$ac_exeext
51489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51490   (eval $ac_link) 2>conftest.er1
51491   ac_status=$?
51492   grep -v '^ *+' conftest.er1 >conftest.err
51493   rm -f conftest.er1
51494   cat conftest.err >&5
51495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51496   (exit $ac_status); } &&
51497          { ac_try='test -z "$ac_c_werror_flag"
51498                          || test ! -s conftest.err'
51499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51500   (eval $ac_try) 2>&5
51501   ac_status=$?
51502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51503   (exit $ac_status); }; } &&
51504          { ac_try='test -s conftest$ac_exeext'
51505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51506   (eval $ac_try) 2>&5
51507   ac_status=$?
51508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51509   (exit $ac_status); }; }; then
51510   eval "$as_ac_var=yes"
51511 else
51512   echo "$as_me: failed program was:" >&5
51513 sed 's/^/| /' conftest.$ac_ext >&5
51514
51515 eval "$as_ac_var=no"
51516 fi
51517 rm -f conftest.err conftest.$ac_objext \
51518       conftest$ac_exeext conftest.$ac_ext
51519 fi
51520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51522 if test `eval echo '${'$as_ac_var'}'` = yes; then
51523   cat >>confdefs.h <<_ACEOF
51524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51525 _ACEOF
51526  ac_XPG2funcs=yes
51527 else
51528   ac_XPG2funcs=no
51529 fi
51530 done
51531
51532
51533     LIBS="$ac_save_LIBS"
51534
51535     if test x"$ac_has_iconv_h" = xyes &&
51536        test x"$ac_has_langinfo_h" = xyes &&
51537        test x"$ac_XPG2funcs" = xyes;
51538     then
51539
51540 cat >>confdefs.h <<\_ACEOF
51541 #define _GLIBCXX_USE_ICONV 1
51542 _ACEOF
51543
51544       enable_iconv=yes
51545     fi
51546   fi
51547   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
51548 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
51549   echo "$as_me:$LINENO: result: $enable_iconv" >&5
51550 echo "${ECHO_T}$enable_iconv" >&6
51551
51552
51553   ac_test_CXXFLAGS="${CXXFLAGS+set}"
51554   ac_save_CXXFLAGS="$CXXFLAGS"
51555   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51556
51557
51558   echo "$as_me:$LINENO: checking for strtold declaration" >&5
51559 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
51560   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51561     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
51562   echo $ECHO_N "(cached) $ECHO_C" >&6
51563 else
51564
51565
51566
51567       ac_ext=cc
51568 ac_cpp='$CXXCPP $CPPFLAGS'
51569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51572
51573       cat >conftest.$ac_ext <<_ACEOF
51574 /* confdefs.h.  */
51575 _ACEOF
51576 cat confdefs.h >>conftest.$ac_ext
51577 cat >>conftest.$ac_ext <<_ACEOF
51578 /* end confdefs.h.  */
51579 #include <stdlib.h>
51580 int
51581 main ()
51582 {
51583  strtold(0, 0);
51584   ;
51585   return 0;
51586 }
51587 _ACEOF
51588 rm -f conftest.$ac_objext
51589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51590   (eval $ac_compile) 2>conftest.er1
51591   ac_status=$?
51592   grep -v '^ *+' conftest.er1 >conftest.err
51593   rm -f conftest.er1
51594   cat conftest.err >&5
51595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51596   (exit $ac_status); } &&
51597          { ac_try='test -z "$ac_cxx_werror_flag"
51598                          || test ! -s conftest.err'
51599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51600   (eval $ac_try) 2>&5
51601   ac_status=$?
51602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51603   (exit $ac_status); }; } &&
51604          { ac_try='test -s conftest.$ac_objext'
51605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51606   (eval $ac_try) 2>&5
51607   ac_status=$?
51608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51609   (exit $ac_status); }; }; then
51610   glibcxx_cv_func_strtold_use=yes
51611 else
51612   echo "$as_me: failed program was:" >&5
51613 sed 's/^/| /' conftest.$ac_ext >&5
51614
51615 glibcxx_cv_func_strtold_use=no
51616 fi
51617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51618       ac_ext=c
51619 ac_cpp='$CPP $CPPFLAGS'
51620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51623
51624
51625 fi
51626
51627   fi
51628   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
51629 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
51630   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51631
51632 for ac_func in strtold
51633 do
51634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51635 echo "$as_me:$LINENO: checking for $ac_func" >&5
51636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51637 if eval "test \"\${$as_ac_var+set}\" = set"; then
51638   echo $ECHO_N "(cached) $ECHO_C" >&6
51639 else
51640   if test x$gcc_no_link = xyes; then
51641   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51643    { (exit 1); exit 1; }; }
51644 fi
51645 cat >conftest.$ac_ext <<_ACEOF
51646 /* confdefs.h.  */
51647 _ACEOF
51648 cat confdefs.h >>conftest.$ac_ext
51649 cat >>conftest.$ac_ext <<_ACEOF
51650 /* end confdefs.h.  */
51651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51652    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51653 #define $ac_func innocuous_$ac_func
51654
51655 /* System header to define __stub macros and hopefully few prototypes,
51656     which can conflict with char $ac_func (); below.
51657     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51658     <limits.h> exists even on freestanding compilers.  */
51659
51660 #ifdef __STDC__
51661 # include <limits.h>
51662 #else
51663 # include <assert.h>
51664 #endif
51665
51666 #undef $ac_func
51667
51668 /* Override any gcc2 internal prototype to avoid an error.  */
51669 #ifdef __cplusplus
51670 extern "C"
51671 {
51672 #endif
51673 /* We use char because int might match the return type of a gcc2
51674    builtin and then its argument prototype would still apply.  */
51675 char $ac_func ();
51676 /* The GNU C library defines this for functions which it implements
51677     to always fail with ENOSYS.  Some functions are actually named
51678     something starting with __ and the normal name is an alias.  */
51679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51680 choke me
51681 #else
51682 char (*f) () = $ac_func;
51683 #endif
51684 #ifdef __cplusplus
51685 }
51686 #endif
51687
51688 int
51689 main ()
51690 {
51691 return f != $ac_func;
51692   ;
51693   return 0;
51694 }
51695 _ACEOF
51696 rm -f conftest.$ac_objext conftest$ac_exeext
51697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51698   (eval $ac_link) 2>conftest.er1
51699   ac_status=$?
51700   grep -v '^ *+' conftest.er1 >conftest.err
51701   rm -f conftest.er1
51702   cat conftest.err >&5
51703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51704   (exit $ac_status); } &&
51705          { ac_try='test -z "$ac_c_werror_flag"
51706                          || test ! -s conftest.err'
51707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51708   (eval $ac_try) 2>&5
51709   ac_status=$?
51710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51711   (exit $ac_status); }; } &&
51712          { ac_try='test -s conftest$ac_exeext'
51713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51714   (eval $ac_try) 2>&5
51715   ac_status=$?
51716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51717   (exit $ac_status); }; }; then
51718   eval "$as_ac_var=yes"
51719 else
51720   echo "$as_me: failed program was:" >&5
51721 sed 's/^/| /' conftest.$ac_ext >&5
51722
51723 eval "$as_ac_var=no"
51724 fi
51725 rm -f conftest.err conftest.$ac_objext \
51726       conftest$ac_exeext conftest.$ac_ext
51727 fi
51728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51730 if test `eval echo '${'$as_ac_var'}'` = yes; then
51731   cat >>confdefs.h <<_ACEOF
51732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51733 _ACEOF
51734
51735 fi
51736 done
51737
51738   fi
51739
51740
51741
51742
51743
51744   echo "$as_me:$LINENO: checking for strtof declaration" >&5
51745 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
51746   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51747     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
51748   echo $ECHO_N "(cached) $ECHO_C" >&6
51749 else
51750
51751
51752
51753       ac_ext=cc
51754 ac_cpp='$CXXCPP $CPPFLAGS'
51755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51758
51759       cat >conftest.$ac_ext <<_ACEOF
51760 /* confdefs.h.  */
51761 _ACEOF
51762 cat confdefs.h >>conftest.$ac_ext
51763 cat >>conftest.$ac_ext <<_ACEOF
51764 /* end confdefs.h.  */
51765 #include <stdlib.h>
51766 int
51767 main ()
51768 {
51769  strtof(0, 0);
51770   ;
51771   return 0;
51772 }
51773 _ACEOF
51774 rm -f conftest.$ac_objext
51775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51776   (eval $ac_compile) 2>conftest.er1
51777   ac_status=$?
51778   grep -v '^ *+' conftest.er1 >conftest.err
51779   rm -f conftest.er1
51780   cat conftest.err >&5
51781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51782   (exit $ac_status); } &&
51783          { ac_try='test -z "$ac_cxx_werror_flag"
51784                          || test ! -s conftest.err'
51785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51786   (eval $ac_try) 2>&5
51787   ac_status=$?
51788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51789   (exit $ac_status); }; } &&
51790          { ac_try='test -s conftest.$ac_objext'
51791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51792   (eval $ac_try) 2>&5
51793   ac_status=$?
51794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51795   (exit $ac_status); }; }; then
51796   glibcxx_cv_func_strtof_use=yes
51797 else
51798   echo "$as_me: failed program was:" >&5
51799 sed 's/^/| /' conftest.$ac_ext >&5
51800
51801 glibcxx_cv_func_strtof_use=no
51802 fi
51803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51804       ac_ext=c
51805 ac_cpp='$CPP $CPPFLAGS'
51806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51809
51810
51811 fi
51812
51813   fi
51814   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
51815 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
51816   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51817
51818 for ac_func in strtof
51819 do
51820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51821 echo "$as_me:$LINENO: checking for $ac_func" >&5
51822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51823 if eval "test \"\${$as_ac_var+set}\" = set"; then
51824   echo $ECHO_N "(cached) $ECHO_C" >&6
51825 else
51826   if test x$gcc_no_link = xyes; then
51827   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51829    { (exit 1); exit 1; }; }
51830 fi
51831 cat >conftest.$ac_ext <<_ACEOF
51832 /* confdefs.h.  */
51833 _ACEOF
51834 cat confdefs.h >>conftest.$ac_ext
51835 cat >>conftest.$ac_ext <<_ACEOF
51836 /* end confdefs.h.  */
51837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51838    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51839 #define $ac_func innocuous_$ac_func
51840
51841 /* System header to define __stub macros and hopefully few prototypes,
51842     which can conflict with char $ac_func (); below.
51843     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51844     <limits.h> exists even on freestanding compilers.  */
51845
51846 #ifdef __STDC__
51847 # include <limits.h>
51848 #else
51849 # include <assert.h>
51850 #endif
51851
51852 #undef $ac_func
51853
51854 /* Override any gcc2 internal prototype to avoid an error.  */
51855 #ifdef __cplusplus
51856 extern "C"
51857 {
51858 #endif
51859 /* We use char because int might match the return type of a gcc2
51860    builtin and then its argument prototype would still apply.  */
51861 char $ac_func ();
51862 /* The GNU C library defines this for functions which it implements
51863     to always fail with ENOSYS.  Some functions are actually named
51864     something starting with __ and the normal name is an alias.  */
51865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51866 choke me
51867 #else
51868 char (*f) () = $ac_func;
51869 #endif
51870 #ifdef __cplusplus
51871 }
51872 #endif
51873
51874 int
51875 main ()
51876 {
51877 return f != $ac_func;
51878   ;
51879   return 0;
51880 }
51881 _ACEOF
51882 rm -f conftest.$ac_objext conftest$ac_exeext
51883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51884   (eval $ac_link) 2>conftest.er1
51885   ac_status=$?
51886   grep -v '^ *+' conftest.er1 >conftest.err
51887   rm -f conftest.er1
51888   cat conftest.err >&5
51889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51890   (exit $ac_status); } &&
51891          { ac_try='test -z "$ac_c_werror_flag"
51892                          || test ! -s conftest.err'
51893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51894   (eval $ac_try) 2>&5
51895   ac_status=$?
51896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51897   (exit $ac_status); }; } &&
51898          { ac_try='test -s conftest$ac_exeext'
51899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51900   (eval $ac_try) 2>&5
51901   ac_status=$?
51902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51903   (exit $ac_status); }; }; then
51904   eval "$as_ac_var=yes"
51905 else
51906   echo "$as_me: failed program was:" >&5
51907 sed 's/^/| /' conftest.$ac_ext >&5
51908
51909 eval "$as_ac_var=no"
51910 fi
51911 rm -f conftest.err conftest.$ac_objext \
51912       conftest$ac_exeext conftest.$ac_ext
51913 fi
51914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51916 if test `eval echo '${'$as_ac_var'}'` = yes; then
51917   cat >>confdefs.h <<_ACEOF
51918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51919 _ACEOF
51920
51921 fi
51922 done
51923
51924   fi
51925
51926
51927
51928
51929
51930   CXXFLAGS="$ac_save_CXXFLAGS"
51931
51932
51933     # For showmanyc_helper().
51934
51935
51936 for ac_header in sys/ioctl.h sys/filio.h
51937 do
51938 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51940   echo "$as_me:$LINENO: checking for $ac_header" >&5
51941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51943   echo $ECHO_N "(cached) $ECHO_C" >&6
51944 fi
51945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51946 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51947 else
51948   # Is the header compilable?
51949 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51950 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51951 cat >conftest.$ac_ext <<_ACEOF
51952 /* confdefs.h.  */
51953 _ACEOF
51954 cat confdefs.h >>conftest.$ac_ext
51955 cat >>conftest.$ac_ext <<_ACEOF
51956 /* end confdefs.h.  */
51957 $ac_includes_default
51958 #include <$ac_header>
51959 _ACEOF
51960 rm -f conftest.$ac_objext
51961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51962   (eval $ac_compile) 2>conftest.er1
51963   ac_status=$?
51964   grep -v '^ *+' conftest.er1 >conftest.err
51965   rm -f conftest.er1
51966   cat conftest.err >&5
51967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51968   (exit $ac_status); } &&
51969          { ac_try='test -z "$ac_c_werror_flag"
51970                          || test ! -s conftest.err'
51971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51972   (eval $ac_try) 2>&5
51973   ac_status=$?
51974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51975   (exit $ac_status); }; } &&
51976          { ac_try='test -s conftest.$ac_objext'
51977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51978   (eval $ac_try) 2>&5
51979   ac_status=$?
51980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51981   (exit $ac_status); }; }; then
51982   ac_header_compiler=yes
51983 else
51984   echo "$as_me: failed program was:" >&5
51985 sed 's/^/| /' conftest.$ac_ext >&5
51986
51987 ac_header_compiler=no
51988 fi
51989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51990 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51991 echo "${ECHO_T}$ac_header_compiler" >&6
51992
51993 # Is the header present?
51994 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51995 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51996 cat >conftest.$ac_ext <<_ACEOF
51997 /* confdefs.h.  */
51998 _ACEOF
51999 cat confdefs.h >>conftest.$ac_ext
52000 cat >>conftest.$ac_ext <<_ACEOF
52001 /* end confdefs.h.  */
52002 #include <$ac_header>
52003 _ACEOF
52004 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52005   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52006   ac_status=$?
52007   grep -v '^ *+' conftest.er1 >conftest.err
52008   rm -f conftest.er1
52009   cat conftest.err >&5
52010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52011   (exit $ac_status); } >/dev/null; then
52012   if test -s conftest.err; then
52013     ac_cpp_err=$ac_c_preproc_warn_flag
52014     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52015   else
52016     ac_cpp_err=
52017   fi
52018 else
52019   ac_cpp_err=yes
52020 fi
52021 if test -z "$ac_cpp_err"; then
52022   ac_header_preproc=yes
52023 else
52024   echo "$as_me: failed program was:" >&5
52025 sed 's/^/| /' conftest.$ac_ext >&5
52026
52027   ac_header_preproc=no
52028 fi
52029 rm -f conftest.err conftest.$ac_ext
52030 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52031 echo "${ECHO_T}$ac_header_preproc" >&6
52032
52033 # So?  What about this header?
52034 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52035   yes:no: )
52036     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52037 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52038     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52039 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52040     ac_header_preproc=yes
52041     ;;
52042   no:yes:* )
52043     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52044 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52045     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
52046 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
52047     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52048 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52049     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
52050 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
52051     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52052 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52053     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52054 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52055     (
52056       cat <<\_ASBOX
52057 ## ----------------------------------------- ##
52058 ## Report this to the package-unused lists.  ##
52059 ## ----------------------------------------- ##
52060 _ASBOX
52061     ) |
52062       sed "s/^/$as_me: WARNING:     /" >&2
52063     ;;
52064 esac
52065 echo "$as_me:$LINENO: checking for $ac_header" >&5
52066 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52067 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52068   echo $ECHO_N "(cached) $ECHO_C" >&6
52069 else
52070   eval "$as_ac_Header=\$ac_header_preproc"
52071 fi
52072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52073 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52074
52075 fi
52076 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52077   cat >>confdefs.h <<_ACEOF
52078 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52079 _ACEOF
52080
52081 fi
52082
52083 done
52084
52085
52086   echo "$as_me:$LINENO: checking for poll" >&5
52087 echo $ECHO_N "checking for poll... $ECHO_C" >&6
52088   if test "${glibcxx_cv_POLL+set}" = set; then
52089   echo $ECHO_N "(cached) $ECHO_C" >&6
52090 else
52091
52092     if test x$gcc_no_link = xyes; then
52093   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52095    { (exit 1); exit 1; }; }
52096 fi
52097 cat >conftest.$ac_ext <<_ACEOF
52098 /* confdefs.h.  */
52099 _ACEOF
52100 cat confdefs.h >>conftest.$ac_ext
52101 cat >>conftest.$ac_ext <<_ACEOF
52102 /* end confdefs.h.  */
52103 #include <poll.h>
52104 int
52105 main ()
52106 {
52107 struct pollfd pfd[1];
52108        pfd[0].events = POLLIN;
52109        poll(pfd, 1, 0);
52110   ;
52111   return 0;
52112 }
52113 _ACEOF
52114 rm -f conftest.$ac_objext conftest$ac_exeext
52115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52116   (eval $ac_link) 2>conftest.er1
52117   ac_status=$?
52118   grep -v '^ *+' conftest.er1 >conftest.err
52119   rm -f conftest.er1
52120   cat conftest.err >&5
52121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52122   (exit $ac_status); } &&
52123          { ac_try='test -z "$ac_c_werror_flag"
52124                          || test ! -s conftest.err'
52125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52126   (eval $ac_try) 2>&5
52127   ac_status=$?
52128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52129   (exit $ac_status); }; } &&
52130          { ac_try='test -s conftest$ac_exeext'
52131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52132   (eval $ac_try) 2>&5
52133   ac_status=$?
52134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52135   (exit $ac_status); }; }; then
52136   glibcxx_cv_POLL=yes
52137 else
52138   echo "$as_me: failed program was:" >&5
52139 sed 's/^/| /' conftest.$ac_ext >&5
52140
52141 glibcxx_cv_POLL=no
52142 fi
52143 rm -f conftest.err conftest.$ac_objext \
52144       conftest$ac_exeext conftest.$ac_ext
52145
52146 fi
52147
52148   if test $glibcxx_cv_POLL = yes; then
52149
52150 cat >>confdefs.h <<\_ACEOF
52151 #define HAVE_POLL 1
52152 _ACEOF
52153
52154   fi
52155   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
52156 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
52157
52158
52159   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
52160 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
52161   if test "${glibcxx_cv_S_ISREG+set}" = set; then
52162   echo $ECHO_N "(cached) $ECHO_C" >&6
52163 else
52164
52165     if test x$gcc_no_link = xyes; then
52166   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52168    { (exit 1); exit 1; }; }
52169 fi
52170 cat >conftest.$ac_ext <<_ACEOF
52171 /* confdefs.h.  */
52172 _ACEOF
52173 cat confdefs.h >>conftest.$ac_ext
52174 cat >>conftest.$ac_ext <<_ACEOF
52175 /* end confdefs.h.  */
52176 #include <sys/stat.h>
52177 int
52178 main ()
52179 {
52180 struct stat buffer;
52181        fstat(0, &buffer);
52182        S_ISREG(buffer.st_mode);
52183   ;
52184   return 0;
52185 }
52186 _ACEOF
52187 rm -f conftest.$ac_objext conftest$ac_exeext
52188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52189   (eval $ac_link) 2>conftest.er1
52190   ac_status=$?
52191   grep -v '^ *+' conftest.er1 >conftest.err
52192   rm -f conftest.er1
52193   cat conftest.err >&5
52194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52195   (exit $ac_status); } &&
52196          { ac_try='test -z "$ac_c_werror_flag"
52197                          || test ! -s conftest.err'
52198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52199   (eval $ac_try) 2>&5
52200   ac_status=$?
52201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52202   (exit $ac_status); }; } &&
52203          { ac_try='test -s conftest$ac_exeext'
52204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52205   (eval $ac_try) 2>&5
52206   ac_status=$?
52207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52208   (exit $ac_status); }; }; then
52209   glibcxx_cv_S_ISREG=yes
52210 else
52211   echo "$as_me: failed program was:" >&5
52212 sed 's/^/| /' conftest.$ac_ext >&5
52213
52214 glibcxx_cv_S_ISREG=no
52215 fi
52216 rm -f conftest.err conftest.$ac_objext \
52217       conftest$ac_exeext conftest.$ac_ext
52218
52219 fi
52220
52221   if test "${glibcxx_cv_S_IFREG+set}" = set; then
52222   echo $ECHO_N "(cached) $ECHO_C" >&6
52223 else
52224
52225     if test x$gcc_no_link = xyes; then
52226   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52228    { (exit 1); exit 1; }; }
52229 fi
52230 cat >conftest.$ac_ext <<_ACEOF
52231 /* confdefs.h.  */
52232 _ACEOF
52233 cat confdefs.h >>conftest.$ac_ext
52234 cat >>conftest.$ac_ext <<_ACEOF
52235 /* end confdefs.h.  */
52236 #include <sys/stat.h>
52237 int
52238 main ()
52239 {
52240 struct stat buffer;
52241        fstat(0, &buffer);
52242        S_IFREG & buffer.st_mode;
52243   ;
52244   return 0;
52245 }
52246 _ACEOF
52247 rm -f conftest.$ac_objext conftest$ac_exeext
52248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52249   (eval $ac_link) 2>conftest.er1
52250   ac_status=$?
52251   grep -v '^ *+' conftest.er1 >conftest.err
52252   rm -f conftest.er1
52253   cat conftest.err >&5
52254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52255   (exit $ac_status); } &&
52256          { ac_try='test -z "$ac_c_werror_flag"
52257                          || test ! -s conftest.err'
52258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52259   (eval $ac_try) 2>&5
52260   ac_status=$?
52261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52262   (exit $ac_status); }; } &&
52263          { ac_try='test -s conftest$ac_exeext'
52264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52265   (eval $ac_try) 2>&5
52266   ac_status=$?
52267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52268   (exit $ac_status); }; }; then
52269   glibcxx_cv_S_IFREG=yes
52270 else
52271   echo "$as_me: failed program was:" >&5
52272 sed 's/^/| /' conftest.$ac_ext >&5
52273
52274 glibcxx_cv_S_IFREG=no
52275 fi
52276 rm -f conftest.err conftest.$ac_objext \
52277       conftest$ac_exeext conftest.$ac_ext
52278
52279 fi
52280
52281   res=no
52282   if test $glibcxx_cv_S_ISREG = yes; then
52283
52284 cat >>confdefs.h <<\_ACEOF
52285 #define HAVE_S_ISREG 1
52286 _ACEOF
52287
52288     res=S_ISREG
52289   elif test $glibcxx_cv_S_IFREG = yes; then
52290
52291 cat >>confdefs.h <<\_ACEOF
52292 #define HAVE_S_IFREG 1
52293 _ACEOF
52294
52295     res=S_IFREG
52296   fi
52297   echo "$as_me:$LINENO: result: $res" >&5
52298 echo "${ECHO_T}$res" >&6
52299
52300
52301     # For xsputn_2().
52302
52303 for ac_header in sys/uio.h
52304 do
52305 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52306 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52307   echo "$as_me:$LINENO: checking for $ac_header" >&5
52308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52310   echo $ECHO_N "(cached) $ECHO_C" >&6
52311 fi
52312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52314 else
52315   # Is the header compilable?
52316 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52317 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52318 cat >conftest.$ac_ext <<_ACEOF
52319 /* confdefs.h.  */
52320 _ACEOF
52321 cat confdefs.h >>conftest.$ac_ext
52322 cat >>conftest.$ac_ext <<_ACEOF
52323 /* end confdefs.h.  */
52324 $ac_includes_default
52325 #include <$ac_header>
52326 _ACEOF
52327 rm -f conftest.$ac_objext
52328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52329   (eval $ac_compile) 2>conftest.er1
52330   ac_status=$?
52331   grep -v '^ *+' conftest.er1 >conftest.err
52332   rm -f conftest.er1
52333   cat conftest.err >&5
52334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52335   (exit $ac_status); } &&
52336          { ac_try='test -z "$ac_c_werror_flag"
52337                          || test ! -s conftest.err'
52338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52339   (eval $ac_try) 2>&5
52340   ac_status=$?
52341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52342   (exit $ac_status); }; } &&
52343          { ac_try='test -s conftest.$ac_objext'
52344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52345   (eval $ac_try) 2>&5
52346   ac_status=$?
52347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52348   (exit $ac_status); }; }; then
52349   ac_header_compiler=yes
52350 else
52351   echo "$as_me: failed program was:" >&5
52352 sed 's/^/| /' conftest.$ac_ext >&5
52353
52354 ac_header_compiler=no
52355 fi
52356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52357 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52358 echo "${ECHO_T}$ac_header_compiler" >&6
52359
52360 # Is the header present?
52361 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52362 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52363 cat >conftest.$ac_ext <<_ACEOF
52364 /* confdefs.h.  */
52365 _ACEOF
52366 cat confdefs.h >>conftest.$ac_ext
52367 cat >>conftest.$ac_ext <<_ACEOF
52368 /* end confdefs.h.  */
52369 #include <$ac_header>
52370 _ACEOF
52371 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52372   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52373   ac_status=$?
52374   grep -v '^ *+' conftest.er1 >conftest.err
52375   rm -f conftest.er1
52376   cat conftest.err >&5
52377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52378   (exit $ac_status); } >/dev/null; then
52379   if test -s conftest.err; then
52380     ac_cpp_err=$ac_c_preproc_warn_flag
52381     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52382   else
52383     ac_cpp_err=
52384   fi
52385 else
52386   ac_cpp_err=yes
52387 fi
52388 if test -z "$ac_cpp_err"; then
52389   ac_header_preproc=yes
52390 else
52391   echo "$as_me: failed program was:" >&5
52392 sed 's/^/| /' conftest.$ac_ext >&5
52393
52394   ac_header_preproc=no
52395 fi
52396 rm -f conftest.err conftest.$ac_ext
52397 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52398 echo "${ECHO_T}$ac_header_preproc" >&6
52399
52400 # So?  What about this header?
52401 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52402   yes:no: )
52403     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52404 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52405     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52406 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52407     ac_header_preproc=yes
52408     ;;
52409   no:yes:* )
52410     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52411 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52412     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
52413 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
52414     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52415 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52416     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
52417 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
52418     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52419 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52420     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52421 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52422     (
52423       cat <<\_ASBOX
52424 ## ----------------------------------------- ##
52425 ## Report this to the package-unused lists.  ##
52426 ## ----------------------------------------- ##
52427 _ASBOX
52428     ) |
52429       sed "s/^/$as_me: WARNING:     /" >&2
52430     ;;
52431 esac
52432 echo "$as_me:$LINENO: checking for $ac_header" >&5
52433 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52434 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52435   echo $ECHO_N "(cached) $ECHO_C" >&6
52436 else
52437   eval "$as_ac_Header=\$ac_header_preproc"
52438 fi
52439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52440 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52441
52442 fi
52443 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52444   cat >>confdefs.h <<_ACEOF
52445 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52446 _ACEOF
52447
52448 fi
52449
52450 done
52451
52452
52453   echo "$as_me:$LINENO: checking for writev" >&5
52454 echo $ECHO_N "checking for writev... $ECHO_C" >&6
52455   if test "${glibcxx_cv_WRITEV+set}" = set; then
52456   echo $ECHO_N "(cached) $ECHO_C" >&6
52457 else
52458
52459     if test x$gcc_no_link = xyes; then
52460   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52462    { (exit 1); exit 1; }; }
52463 fi
52464 cat >conftest.$ac_ext <<_ACEOF
52465 /* confdefs.h.  */
52466 _ACEOF
52467 cat confdefs.h >>conftest.$ac_ext
52468 cat >>conftest.$ac_ext <<_ACEOF
52469 /* end confdefs.h.  */
52470 #include <sys/uio.h>
52471 int
52472 main ()
52473 {
52474 struct iovec iov[2];
52475        writev(0, iov, 0);
52476   ;
52477   return 0;
52478 }
52479 _ACEOF
52480 rm -f conftest.$ac_objext conftest$ac_exeext
52481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52482   (eval $ac_link) 2>conftest.er1
52483   ac_status=$?
52484   grep -v '^ *+' conftest.er1 >conftest.err
52485   rm -f conftest.er1
52486   cat conftest.err >&5
52487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52488   (exit $ac_status); } &&
52489          { ac_try='test -z "$ac_c_werror_flag"
52490                          || test ! -s conftest.err'
52491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52492   (eval $ac_try) 2>&5
52493   ac_status=$?
52494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52495   (exit $ac_status); }; } &&
52496          { ac_try='test -s conftest$ac_exeext'
52497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52498   (eval $ac_try) 2>&5
52499   ac_status=$?
52500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52501   (exit $ac_status); }; }; then
52502   glibcxx_cv_WRITEV=yes
52503 else
52504   echo "$as_me: failed program was:" >&5
52505 sed 's/^/| /' conftest.$ac_ext >&5
52506
52507 glibcxx_cv_WRITEV=no
52508 fi
52509 rm -f conftest.err conftest.$ac_objext \
52510       conftest$ac_exeext conftest.$ac_ext
52511
52512 fi
52513
52514   if test $glibcxx_cv_WRITEV = yes; then
52515
52516 cat >>confdefs.h <<\_ACEOF
52517 #define HAVE_WRITEV 1
52518 _ACEOF
52519
52520   fi
52521   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
52522 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
52523
52524
52525     cat >>confdefs.h <<\_ACEOF
52526 #define HAVE_LC_MESSAGES 1
52527 _ACEOF
52528
52529
52530     cat >conftest.$ac_ext <<_ACEOF
52531 /* confdefs.h.  */
52532 _ACEOF
52533 cat confdefs.h >>conftest.$ac_ext
52534 cat >>conftest.$ac_ext <<_ACEOF
52535 /* end confdefs.h.  */
52536 #include <setjmp.h>
52537 int
52538 main ()
52539 {
52540 sigjmp_buf env;
52541        while (! sigsetjmp (env, 1))
52542          siglongjmp (env, 1);
52543
52544   ;
52545   return 0;
52546 }
52547 _ACEOF
52548 rm -f conftest.$ac_objext
52549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52550   (eval $ac_compile) 2>conftest.er1
52551   ac_status=$?
52552   grep -v '^ *+' conftest.er1 >conftest.err
52553   rm -f conftest.er1
52554   cat conftest.err >&5
52555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52556   (exit $ac_status); } &&
52557          { ac_try='test -z "$ac_c_werror_flag"
52558                          || test ! -s conftest.err'
52559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52560   (eval $ac_try) 2>&5
52561   ac_status=$?
52562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52563   (exit $ac_status); }; } &&
52564          { ac_try='test -s conftest.$ac_objext'
52565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52566   (eval $ac_try) 2>&5
52567   ac_status=$?
52568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52569   (exit $ac_status); }; }; then
52570
52571 cat >>confdefs.h <<\_ACEOF
52572 #define HAVE_SIGSETJMP 1
52573 _ACEOF
52574
52575 else
52576   echo "$as_me: failed program was:" >&5
52577 sed 's/^/| /' conftest.$ac_ext >&5
52578
52579 fi
52580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52581
52582     cat >>confdefs.h <<\_ACEOF
52583 #define HAVE_MMAP 1
52584 _ACEOF
52585
52586     ;;
52587
52588   *djgpp)
52589
52590
52591
52592
52593
52594
52595
52596
52597
52598
52599
52600
52601
52602
52603
52604
52605
52606
52607
52608
52609 for ac_header in float.h ieeefp.h inttypes.h locale.h \
52610       memory.h stdint.h stdlib.h strings.h string.h unistd.h \
52611       wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
52612       sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
52613 do
52614 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52616   echo "$as_me:$LINENO: checking for $ac_header" >&5
52617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52619   echo $ECHO_N "(cached) $ECHO_C" >&6
52620 fi
52621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52622 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52623 else
52624   # Is the header compilable?
52625 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52626 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52627 cat >conftest.$ac_ext <<_ACEOF
52628 /* confdefs.h.  */
52629 _ACEOF
52630 cat confdefs.h >>conftest.$ac_ext
52631 cat >>conftest.$ac_ext <<_ACEOF
52632 /* end confdefs.h.  */
52633 $ac_includes_default
52634 #include <$ac_header>
52635 _ACEOF
52636 rm -f conftest.$ac_objext
52637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52638   (eval $ac_compile) 2>conftest.er1
52639   ac_status=$?
52640   grep -v '^ *+' conftest.er1 >conftest.err
52641   rm -f conftest.er1
52642   cat conftest.err >&5
52643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52644   (exit $ac_status); } &&
52645          { ac_try='test -z "$ac_c_werror_flag"
52646                          || test ! -s conftest.err'
52647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52648   (eval $ac_try) 2>&5
52649   ac_status=$?
52650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52651   (exit $ac_status); }; } &&
52652          { ac_try='test -s conftest.$ac_objext'
52653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52654   (eval $ac_try) 2>&5
52655   ac_status=$?
52656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52657   (exit $ac_status); }; }; then
52658   ac_header_compiler=yes
52659 else
52660   echo "$as_me: failed program was:" >&5
52661 sed 's/^/| /' conftest.$ac_ext >&5
52662
52663 ac_header_compiler=no
52664 fi
52665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52666 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52667 echo "${ECHO_T}$ac_header_compiler" >&6
52668
52669 # Is the header present?
52670 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52671 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52672 cat >conftest.$ac_ext <<_ACEOF
52673 /* confdefs.h.  */
52674 _ACEOF
52675 cat confdefs.h >>conftest.$ac_ext
52676 cat >>conftest.$ac_ext <<_ACEOF
52677 /* end confdefs.h.  */
52678 #include <$ac_header>
52679 _ACEOF
52680 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52681   (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
52688   if test -s conftest.err; then
52689     ac_cpp_err=$ac_c_preproc_warn_flag
52690     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52691   else
52692     ac_cpp_err=
52693   fi
52694 else
52695   ac_cpp_err=yes
52696 fi
52697 if test -z "$ac_cpp_err"; then
52698   ac_header_preproc=yes
52699 else
52700   echo "$as_me: failed program was:" >&5
52701 sed 's/^/| /' conftest.$ac_ext >&5
52702
52703   ac_header_preproc=no
52704 fi
52705 rm -f conftest.err conftest.$ac_ext
52706 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52707 echo "${ECHO_T}$ac_header_preproc" >&6
52708
52709 # So?  What about this header?
52710 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52711   yes:no: )
52712     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52713 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52714     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52715 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52716     ac_header_preproc=yes
52717     ;;
52718   no:yes:* )
52719     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52720 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52721     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
52722 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
52723     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52724 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52725     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
52726 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
52727     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52728 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52729     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52730 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52731     (
52732       cat <<\_ASBOX
52733 ## ----------------------------------------- ##
52734 ## Report this to the package-unused lists.  ##
52735 ## ----------------------------------------- ##
52736 _ASBOX
52737     ) |
52738       sed "s/^/$as_me: WARNING:     /" >&2
52739     ;;
52740 esac
52741 echo "$as_me:$LINENO: checking for $ac_header" >&5
52742 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52743 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52744   echo $ECHO_N "(cached) $ECHO_C" >&6
52745 else
52746   eval "$as_ac_Header=\$ac_header_preproc"
52747 fi
52748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52749 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52750
52751 fi
52752 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52753   cat >>confdefs.h <<_ACEOF
52754 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52755 _ACEOF
52756
52757 fi
52758
52759 done
52760
52761
52762   # All these tests are for C++; save the language and the compiler flags.
52763   # The CXXFLAGS thing is suspicious, but based on similar bits previously
52764   # found in GLIBCXX_CONFIGURE.
52765
52766
52767   ac_ext=cc
52768 ac_cpp='$CXXCPP $CPPFLAGS'
52769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52772
52773   ac_test_CXXFLAGS="${CXXFLAGS+set}"
52774   ac_save_CXXFLAGS="$CXXFLAGS"
52775
52776   # Check for maintainer-mode bits.
52777   if test x"$USE_MAINTAINER_MODE" = xno; then
52778     WERROR=''
52779   else
52780     WERROR='-Werror'
52781   fi
52782
52783   # Check for -ffunction-sections -fdata-sections
52784   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52785 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
52786   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
52787   cat >conftest.$ac_ext <<_ACEOF
52788 /* confdefs.h.  */
52789 _ACEOF
52790 cat confdefs.h >>conftest.$ac_ext
52791 cat >>conftest.$ac_ext <<_ACEOF
52792 /* end confdefs.h.  */
52793
52794 int
52795 main ()
52796 {
52797 int foo;
52798   ;
52799   return 0;
52800 }
52801 _ACEOF
52802 rm -f conftest.$ac_objext
52803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52804   (eval $ac_compile) 2>conftest.er1
52805   ac_status=$?
52806   grep -v '^ *+' conftest.er1 >conftest.err
52807   rm -f conftest.er1
52808   cat conftest.err >&5
52809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52810   (exit $ac_status); } &&
52811          { ac_try='test -z "$ac_cxx_werror_flag"
52812                          || test ! -s conftest.err'
52813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52814   (eval $ac_try) 2>&5
52815   ac_status=$?
52816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52817   (exit $ac_status); }; } &&
52818          { ac_try='test -s conftest.$ac_objext'
52819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52820   (eval $ac_try) 2>&5
52821   ac_status=$?
52822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52823   (exit $ac_status); }; }; then
52824   ac_fdsections=yes
52825 else
52826   echo "$as_me: failed program was:" >&5
52827 sed 's/^/| /' conftest.$ac_ext >&5
52828
52829 ac_fdsections=no
52830 fi
52831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52832   if test "$ac_test_CXXFLAGS" = set; then
52833     CXXFLAGS="$ac_save_CXXFLAGS"
52834   else
52835     # this is the suspicious part
52836     CXXFLAGS=''
52837   fi
52838   if test x"$ac_fdsections" = x"yes"; then
52839     SECTION_FLAGS='-ffunction-sections -fdata-sections'
52840   fi
52841   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
52842 echo "${ECHO_T}$ac_fdsections" >&6
52843
52844   ac_ext=c
52845 ac_cpp='$CPP $CPPFLAGS'
52846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52849
52850
52851
52852
52853
52854   # If we're not using GNU ld, then there's no point in even trying these
52855   # tests.  Check for that first.  We should have already tested for gld
52856   # by now (in libtool), but require it now just to be safe...
52857   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52858   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52859
52860
52861
52862   # The name set by libtool depends on the version of libtool.  Shame on us
52863   # for depending on an impl detail, but c'est la vie.  Older versions used
52864   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52865   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52866   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
52867   # set (hence we're using an older libtool), then set it.
52868   if test x${with_gnu_ld+set} != xset; then
52869     if test x${ac_cv_prog_gnu_ld+set} != xset; then
52870       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
52871       with_gnu_ld=no
52872     else
52873       with_gnu_ld=$ac_cv_prog_gnu_ld
52874     fi
52875   fi
52876
52877   # Start by getting the version number.  I think the libtool test already
52878   # does some of this, but throws away the result.
52879
52880   ldver=`$LD --version 2>/dev/null | head -1 | \
52881          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
52882
52883   glibcxx_gnu_ld_version=`echo $ldver | \
52884          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52885
52886   # Set --gc-sections.
52887   if test "$with_gnu_ld" = "notbroken"; then
52888     # GNU ld it is!  Joy and bunny rabbits!
52889
52890     # All these tests are for C++; save the language and the compiler flags.
52891     # Need to do this so that g++ won't try to link in libstdc++
52892     ac_test_CFLAGS="${CFLAGS+set}"
52893     ac_save_CFLAGS="$CFLAGS"
52894     CFLAGS='-x c++  -Wl,--gc-sections'
52895
52896     # Check for -Wl,--gc-sections
52897     # XXX This test is broken at the moment, as symbols required for linking
52898     # are now in libsupc++ (not built yet).  In addition, this test has
52899     # cored on solaris in the past.  In addition, --gc-sections doesn't
52900     # really work at the moment (keeps on discarding used sections, first
52901     # .eh_frame and now some of the glibc sections for iconv).
52902     # Bzzzzt.  Thanks for playing, maybe next time.
52903     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
52904 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
52905     if test "$cross_compiling" = yes; then
52906   ac_sectionLDflags=yes
52907 else
52908   cat >conftest.$ac_ext <<_ACEOF
52909 /* confdefs.h.  */
52910 _ACEOF
52911 cat confdefs.h >>conftest.$ac_ext
52912 cat >>conftest.$ac_ext <<_ACEOF
52913 /* end confdefs.h.  */
52914
52915      int main(void)
52916      {
52917        try { throw 1; }
52918        catch (...) { };
52919        return 0;
52920      }
52921
52922 _ACEOF
52923 rm -f conftest$ac_exeext
52924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52925   (eval $ac_link) 2>&5
52926   ac_status=$?
52927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52928   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
52929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52930   (eval $ac_try) 2>&5
52931   ac_status=$?
52932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52933   (exit $ac_status); }; }; then
52934   ac_sectionLDflags=yes
52935 else
52936   echo "$as_me: program exited with status $ac_status" >&5
52937 echo "$as_me: failed program was:" >&5
52938 sed 's/^/| /' conftest.$ac_ext >&5
52939
52940 ( exit $ac_status )
52941 ac_sectionLDflags=no
52942 fi
52943 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
52944 fi
52945     if test "$ac_test_CFLAGS" = set; then
52946       CFLAGS="$ac_save_CFLAGS"
52947     else
52948       # this is the suspicious part
52949       CFLAGS=''
52950     fi
52951     if test "$ac_sectionLDflags" = "yes"; then
52952       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52953     fi
52954     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
52955 echo "${ECHO_T}$ac_sectionLDflags" >&6
52956   fi
52957
52958   # Set linker optimization flags.
52959   if test x"$with_gnu_ld" = x"yes"; then
52960     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52961   fi
52962
52963
52964
52965
52966
52967   ac_test_CXXFLAGS="${CXXFLAGS+set}"
52968   ac_save_CXXFLAGS="$CXXFLAGS"
52969   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52970
52971     echo "$as_me:$LINENO: checking for sin in -lm" >&5
52972 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
52973 if test "${ac_cv_lib_m_sin+set}" = set; then
52974   echo $ECHO_N "(cached) $ECHO_C" >&6
52975 else
52976   ac_check_lib_save_LIBS=$LIBS
52977 LIBS="-lm  $LIBS"
52978 if test x$gcc_no_link = xyes; then
52979   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52981    { (exit 1); exit 1; }; }
52982 fi
52983 cat >conftest.$ac_ext <<_ACEOF
52984 /* confdefs.h.  */
52985 _ACEOF
52986 cat confdefs.h >>conftest.$ac_ext
52987 cat >>conftest.$ac_ext <<_ACEOF
52988 /* end confdefs.h.  */
52989
52990 /* Override any gcc2 internal prototype to avoid an error.  */
52991 #ifdef __cplusplus
52992 extern "C"
52993 #endif
52994 /* We use char because int might match the return type of a gcc2
52995    builtin and then its argument prototype would still apply.  */
52996 char sin ();
52997 int
52998 main ()
52999 {
53000 sin ();
53001   ;
53002   return 0;
53003 }
53004 _ACEOF
53005 rm -f conftest.$ac_objext conftest$ac_exeext
53006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53007   (eval $ac_link) 2>conftest.er1
53008   ac_status=$?
53009   grep -v '^ *+' conftest.er1 >conftest.err
53010   rm -f conftest.er1
53011   cat conftest.err >&5
53012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53013   (exit $ac_status); } &&
53014          { ac_try='test -z "$ac_c_werror_flag"
53015                          || test ! -s conftest.err'
53016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53017   (eval $ac_try) 2>&5
53018   ac_status=$?
53019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53020   (exit $ac_status); }; } &&
53021          { ac_try='test -s conftest$ac_exeext'
53022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53023   (eval $ac_try) 2>&5
53024   ac_status=$?
53025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53026   (exit $ac_status); }; }; then
53027   ac_cv_lib_m_sin=yes
53028 else
53029   echo "$as_me: failed program was:" >&5
53030 sed 's/^/| /' conftest.$ac_ext >&5
53031
53032 ac_cv_lib_m_sin=no
53033 fi
53034 rm -f conftest.err conftest.$ac_objext \
53035       conftest$ac_exeext conftest.$ac_ext
53036 LIBS=$ac_check_lib_save_LIBS
53037 fi
53038 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
53039 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
53040 if test $ac_cv_lib_m_sin = yes; then
53041   libm="-lm"
53042 fi
53043
53044   ac_save_LIBS="$LIBS"
53045   LIBS="$LIBS $libm"
53046
53047
53048
53049   echo "$as_me:$LINENO: checking for isinf declaration" >&5
53050 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
53051   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53052     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
53053   echo $ECHO_N "(cached) $ECHO_C" >&6
53054 else
53055
53056
53057
53058       ac_ext=cc
53059 ac_cpp='$CXXCPP $CPPFLAGS'
53060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53063
53064       cat >conftest.$ac_ext <<_ACEOF
53065 /* confdefs.h.  */
53066 _ACEOF
53067 cat confdefs.h >>conftest.$ac_ext
53068 cat >>conftest.$ac_ext <<_ACEOF
53069 /* end confdefs.h.  */
53070 #include <math.h>
53071                       #ifdef HAVE_IEEEFP_H
53072                       #include <ieeefp.h>
53073                       #endif
53074
53075 int
53076 main ()
53077 {
53078  isinf(0);
53079   ;
53080   return 0;
53081 }
53082 _ACEOF
53083 rm -f conftest.$ac_objext
53084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53085   (eval $ac_compile) 2>conftest.er1
53086   ac_status=$?
53087   grep -v '^ *+' conftest.er1 >conftest.err
53088   rm -f conftest.er1
53089   cat conftest.err >&5
53090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53091   (exit $ac_status); } &&
53092          { ac_try='test -z "$ac_cxx_werror_flag"
53093                          || test ! -s conftest.err'
53094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53095   (eval $ac_try) 2>&5
53096   ac_status=$?
53097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53098   (exit $ac_status); }; } &&
53099          { ac_try='test -s conftest.$ac_objext'
53100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53101   (eval $ac_try) 2>&5
53102   ac_status=$?
53103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53104   (exit $ac_status); }; }; then
53105   glibcxx_cv_func_isinf_use=yes
53106 else
53107   echo "$as_me: failed program was:" >&5
53108 sed 's/^/| /' conftest.$ac_ext >&5
53109
53110 glibcxx_cv_func_isinf_use=no
53111 fi
53112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53113       ac_ext=c
53114 ac_cpp='$CPP $CPPFLAGS'
53115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53118
53119
53120 fi
53121
53122   fi
53123   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
53124 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
53125
53126   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53127
53128 for ac_func in isinf
53129 do
53130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53131 echo "$as_me:$LINENO: checking for $ac_func" >&5
53132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53133 if eval "test \"\${$as_ac_var+set}\" = set"; then
53134   echo $ECHO_N "(cached) $ECHO_C" >&6
53135 else
53136   if test x$gcc_no_link = xyes; then
53137   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53139    { (exit 1); exit 1; }; }
53140 fi
53141 cat >conftest.$ac_ext <<_ACEOF
53142 /* confdefs.h.  */
53143 _ACEOF
53144 cat confdefs.h >>conftest.$ac_ext
53145 cat >>conftest.$ac_ext <<_ACEOF
53146 /* end confdefs.h.  */
53147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53148    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53149 #define $ac_func innocuous_$ac_func
53150
53151 /* System header to define __stub macros and hopefully few prototypes,
53152     which can conflict with char $ac_func (); below.
53153     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53154     <limits.h> exists even on freestanding compilers.  */
53155
53156 #ifdef __STDC__
53157 # include <limits.h>
53158 #else
53159 # include <assert.h>
53160 #endif
53161
53162 #undef $ac_func
53163
53164 /* Override any gcc2 internal prototype to avoid an error.  */
53165 #ifdef __cplusplus
53166 extern "C"
53167 {
53168 #endif
53169 /* We use char because int might match the return type of a gcc2
53170    builtin and then its argument prototype would still apply.  */
53171 char $ac_func ();
53172 /* The GNU C library defines this for functions which it implements
53173     to always fail with ENOSYS.  Some functions are actually named
53174     something starting with __ and the normal name is an alias.  */
53175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53176 choke me
53177 #else
53178 char (*f) () = $ac_func;
53179 #endif
53180 #ifdef __cplusplus
53181 }
53182 #endif
53183
53184 int
53185 main ()
53186 {
53187 return f != $ac_func;
53188   ;
53189   return 0;
53190 }
53191 _ACEOF
53192 rm -f conftest.$ac_objext conftest$ac_exeext
53193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53194   (eval $ac_link) 2>conftest.er1
53195   ac_status=$?
53196   grep -v '^ *+' conftest.er1 >conftest.err
53197   rm -f conftest.er1
53198   cat conftest.err >&5
53199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53200   (exit $ac_status); } &&
53201          { ac_try='test -z "$ac_c_werror_flag"
53202                          || test ! -s conftest.err'
53203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53204   (eval $ac_try) 2>&5
53205   ac_status=$?
53206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53207   (exit $ac_status); }; } &&
53208          { ac_try='test -s conftest$ac_exeext'
53209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53210   (eval $ac_try) 2>&5
53211   ac_status=$?
53212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53213   (exit $ac_status); }; }; then
53214   eval "$as_ac_var=yes"
53215 else
53216   echo "$as_me: failed program was:" >&5
53217 sed 's/^/| /' conftest.$ac_ext >&5
53218
53219 eval "$as_ac_var=no"
53220 fi
53221 rm -f conftest.err conftest.$ac_objext \
53222       conftest$ac_exeext conftest.$ac_ext
53223 fi
53224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53226 if test `eval echo '${'$as_ac_var'}'` = yes; then
53227   cat >>confdefs.h <<_ACEOF
53228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53229 _ACEOF
53230
53231 fi
53232 done
53233
53234   else
53235
53236   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
53237 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
53238   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53239     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
53240   echo $ECHO_N "(cached) $ECHO_C" >&6
53241 else
53242
53243
53244
53245       ac_ext=cc
53246 ac_cpp='$CXXCPP $CPPFLAGS'
53247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53250
53251       cat >conftest.$ac_ext <<_ACEOF
53252 /* confdefs.h.  */
53253 _ACEOF
53254 cat confdefs.h >>conftest.$ac_ext
53255 cat >>conftest.$ac_ext <<_ACEOF
53256 /* end confdefs.h.  */
53257 #include <math.h>
53258                       #ifdef HAVE_IEEEFP_H
53259                       #include <ieeefp.h>
53260                       #endif
53261
53262 int
53263 main ()
53264 {
53265  _isinf(0);
53266   ;
53267   return 0;
53268 }
53269 _ACEOF
53270 rm -f conftest.$ac_objext
53271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53272   (eval $ac_compile) 2>conftest.er1
53273   ac_status=$?
53274   grep -v '^ *+' conftest.er1 >conftest.err
53275   rm -f conftest.er1
53276   cat conftest.err >&5
53277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53278   (exit $ac_status); } &&
53279          { ac_try='test -z "$ac_cxx_werror_flag"
53280                          || test ! -s conftest.err'
53281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53282   (eval $ac_try) 2>&5
53283   ac_status=$?
53284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53285   (exit $ac_status); }; } &&
53286          { ac_try='test -s conftest.$ac_objext'
53287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53288   (eval $ac_try) 2>&5
53289   ac_status=$?
53290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53291   (exit $ac_status); }; }; then
53292   glibcxx_cv_func__isinf_use=yes
53293 else
53294   echo "$as_me: failed program was:" >&5
53295 sed 's/^/| /' conftest.$ac_ext >&5
53296
53297 glibcxx_cv_func__isinf_use=no
53298 fi
53299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53300       ac_ext=c
53301 ac_cpp='$CPP $CPPFLAGS'
53302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53305
53306
53307 fi
53308
53309   fi
53310   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
53311 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
53312
53313     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53314
53315 for ac_func in _isinf
53316 do
53317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53318 echo "$as_me:$LINENO: checking for $ac_func" >&5
53319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53320 if eval "test \"\${$as_ac_var+set}\" = set"; then
53321   echo $ECHO_N "(cached) $ECHO_C" >&6
53322 else
53323   if test x$gcc_no_link = xyes; then
53324   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53326    { (exit 1); exit 1; }; }
53327 fi
53328 cat >conftest.$ac_ext <<_ACEOF
53329 /* confdefs.h.  */
53330 _ACEOF
53331 cat confdefs.h >>conftest.$ac_ext
53332 cat >>conftest.$ac_ext <<_ACEOF
53333 /* end confdefs.h.  */
53334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53335    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53336 #define $ac_func innocuous_$ac_func
53337
53338 /* System header to define __stub macros and hopefully few prototypes,
53339     which can conflict with char $ac_func (); below.
53340     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53341     <limits.h> exists even on freestanding compilers.  */
53342
53343 #ifdef __STDC__
53344 # include <limits.h>
53345 #else
53346 # include <assert.h>
53347 #endif
53348
53349 #undef $ac_func
53350
53351 /* Override any gcc2 internal prototype to avoid an error.  */
53352 #ifdef __cplusplus
53353 extern "C"
53354 {
53355 #endif
53356 /* We use char because int might match the return type of a gcc2
53357    builtin and then its argument prototype would still apply.  */
53358 char $ac_func ();
53359 /* The GNU C library defines this for functions which it implements
53360     to always fail with ENOSYS.  Some functions are actually named
53361     something starting with __ and the normal name is an alias.  */
53362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53363 choke me
53364 #else
53365 char (*f) () = $ac_func;
53366 #endif
53367 #ifdef __cplusplus
53368 }
53369 #endif
53370
53371 int
53372 main ()
53373 {
53374 return f != $ac_func;
53375   ;
53376   return 0;
53377 }
53378 _ACEOF
53379 rm -f conftest.$ac_objext conftest$ac_exeext
53380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53381   (eval $ac_link) 2>conftest.er1
53382   ac_status=$?
53383   grep -v '^ *+' conftest.er1 >conftest.err
53384   rm -f conftest.er1
53385   cat conftest.err >&5
53386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53387   (exit $ac_status); } &&
53388          { ac_try='test -z "$ac_c_werror_flag"
53389                          || test ! -s conftest.err'
53390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53391   (eval $ac_try) 2>&5
53392   ac_status=$?
53393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53394   (exit $ac_status); }; } &&
53395          { ac_try='test -s conftest$ac_exeext'
53396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53397   (eval $ac_try) 2>&5
53398   ac_status=$?
53399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53400   (exit $ac_status); }; }; then
53401   eval "$as_ac_var=yes"
53402 else
53403   echo "$as_me: failed program was:" >&5
53404 sed 's/^/| /' conftest.$ac_ext >&5
53405
53406 eval "$as_ac_var=no"
53407 fi
53408 rm -f conftest.err conftest.$ac_objext \
53409       conftest$ac_exeext conftest.$ac_ext
53410 fi
53411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53413 if test `eval echo '${'$as_ac_var'}'` = yes; then
53414   cat >>confdefs.h <<_ACEOF
53415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53416 _ACEOF
53417
53418 fi
53419 done
53420
53421     fi
53422   fi
53423
53424
53425
53426
53427
53428
53429   echo "$as_me:$LINENO: checking for isnan declaration" >&5
53430 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
53431   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53432     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
53433   echo $ECHO_N "(cached) $ECHO_C" >&6
53434 else
53435
53436
53437
53438       ac_ext=cc
53439 ac_cpp='$CXXCPP $CPPFLAGS'
53440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53443
53444       cat >conftest.$ac_ext <<_ACEOF
53445 /* confdefs.h.  */
53446 _ACEOF
53447 cat confdefs.h >>conftest.$ac_ext
53448 cat >>conftest.$ac_ext <<_ACEOF
53449 /* end confdefs.h.  */
53450 #include <math.h>
53451                       #ifdef HAVE_IEEEFP_H
53452                       #include <ieeefp.h>
53453                       #endif
53454
53455 int
53456 main ()
53457 {
53458  isnan(0);
53459   ;
53460   return 0;
53461 }
53462 _ACEOF
53463 rm -f conftest.$ac_objext
53464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53465   (eval $ac_compile) 2>conftest.er1
53466   ac_status=$?
53467   grep -v '^ *+' conftest.er1 >conftest.err
53468   rm -f conftest.er1
53469   cat conftest.err >&5
53470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53471   (exit $ac_status); } &&
53472          { ac_try='test -z "$ac_cxx_werror_flag"
53473                          || test ! -s conftest.err'
53474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53475   (eval $ac_try) 2>&5
53476   ac_status=$?
53477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53478   (exit $ac_status); }; } &&
53479          { ac_try='test -s conftest.$ac_objext'
53480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53481   (eval $ac_try) 2>&5
53482   ac_status=$?
53483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53484   (exit $ac_status); }; }; then
53485   glibcxx_cv_func_isnan_use=yes
53486 else
53487   echo "$as_me: failed program was:" >&5
53488 sed 's/^/| /' conftest.$ac_ext >&5
53489
53490 glibcxx_cv_func_isnan_use=no
53491 fi
53492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53493       ac_ext=c
53494 ac_cpp='$CPP $CPPFLAGS'
53495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53498
53499
53500 fi
53501
53502   fi
53503   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
53504 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
53505
53506   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53507
53508 for ac_func in isnan
53509 do
53510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53511 echo "$as_me:$LINENO: checking for $ac_func" >&5
53512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53513 if eval "test \"\${$as_ac_var+set}\" = set"; then
53514   echo $ECHO_N "(cached) $ECHO_C" >&6
53515 else
53516   if test x$gcc_no_link = xyes; then
53517   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53519    { (exit 1); exit 1; }; }
53520 fi
53521 cat >conftest.$ac_ext <<_ACEOF
53522 /* confdefs.h.  */
53523 _ACEOF
53524 cat confdefs.h >>conftest.$ac_ext
53525 cat >>conftest.$ac_ext <<_ACEOF
53526 /* end confdefs.h.  */
53527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53528    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53529 #define $ac_func innocuous_$ac_func
53530
53531 /* System header to define __stub macros and hopefully few prototypes,
53532     which can conflict with char $ac_func (); below.
53533     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53534     <limits.h> exists even on freestanding compilers.  */
53535
53536 #ifdef __STDC__
53537 # include <limits.h>
53538 #else
53539 # include <assert.h>
53540 #endif
53541
53542 #undef $ac_func
53543
53544 /* Override any gcc2 internal prototype to avoid an error.  */
53545 #ifdef __cplusplus
53546 extern "C"
53547 {
53548 #endif
53549 /* We use char because int might match the return type of a gcc2
53550    builtin and then its argument prototype would still apply.  */
53551 char $ac_func ();
53552 /* The GNU C library defines this for functions which it implements
53553     to always fail with ENOSYS.  Some functions are actually named
53554     something starting with __ and the normal name is an alias.  */
53555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53556 choke me
53557 #else
53558 char (*f) () = $ac_func;
53559 #endif
53560 #ifdef __cplusplus
53561 }
53562 #endif
53563
53564 int
53565 main ()
53566 {
53567 return f != $ac_func;
53568   ;
53569   return 0;
53570 }
53571 _ACEOF
53572 rm -f conftest.$ac_objext conftest$ac_exeext
53573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53574   (eval $ac_link) 2>conftest.er1
53575   ac_status=$?
53576   grep -v '^ *+' conftest.er1 >conftest.err
53577   rm -f conftest.er1
53578   cat conftest.err >&5
53579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53580   (exit $ac_status); } &&
53581          { ac_try='test -z "$ac_c_werror_flag"
53582                          || test ! -s conftest.err'
53583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53584   (eval $ac_try) 2>&5
53585   ac_status=$?
53586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53587   (exit $ac_status); }; } &&
53588          { ac_try='test -s conftest$ac_exeext'
53589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53590   (eval $ac_try) 2>&5
53591   ac_status=$?
53592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53593   (exit $ac_status); }; }; then
53594   eval "$as_ac_var=yes"
53595 else
53596   echo "$as_me: failed program was:" >&5
53597 sed 's/^/| /' conftest.$ac_ext >&5
53598
53599 eval "$as_ac_var=no"
53600 fi
53601 rm -f conftest.err conftest.$ac_objext \
53602       conftest$ac_exeext conftest.$ac_ext
53603 fi
53604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53606 if test `eval echo '${'$as_ac_var'}'` = yes; then
53607   cat >>confdefs.h <<_ACEOF
53608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53609 _ACEOF
53610
53611 fi
53612 done
53613
53614   else
53615
53616   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
53617 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
53618   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53619     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
53620   echo $ECHO_N "(cached) $ECHO_C" >&6
53621 else
53622
53623
53624
53625       ac_ext=cc
53626 ac_cpp='$CXXCPP $CPPFLAGS'
53627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53630
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 <math.h>
53638                       #ifdef HAVE_IEEEFP_H
53639                       #include <ieeefp.h>
53640                       #endif
53641
53642 int
53643 main ()
53644 {
53645  _isnan(0);
53646   ;
53647   return 0;
53648 }
53649 _ACEOF
53650 rm -f conftest.$ac_objext
53651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53652   (eval $ac_compile) 2>conftest.er1
53653   ac_status=$?
53654   grep -v '^ *+' conftest.er1 >conftest.err
53655   rm -f conftest.er1
53656   cat conftest.err >&5
53657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53658   (exit $ac_status); } &&
53659          { ac_try='test -z "$ac_cxx_werror_flag"
53660                          || test ! -s conftest.err'
53661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53662   (eval $ac_try) 2>&5
53663   ac_status=$?
53664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53665   (exit $ac_status); }; } &&
53666          { ac_try='test -s conftest.$ac_objext'
53667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53668   (eval $ac_try) 2>&5
53669   ac_status=$?
53670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53671   (exit $ac_status); }; }; then
53672   glibcxx_cv_func__isnan_use=yes
53673 else
53674   echo "$as_me: failed program was:" >&5
53675 sed 's/^/| /' conftest.$ac_ext >&5
53676
53677 glibcxx_cv_func__isnan_use=no
53678 fi
53679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53680       ac_ext=c
53681 ac_cpp='$CPP $CPPFLAGS'
53682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53685
53686
53687 fi
53688
53689   fi
53690   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
53691 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
53692
53693     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53694
53695 for ac_func in _isnan
53696 do
53697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53698 echo "$as_me:$LINENO: checking for $ac_func" >&5
53699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53700 if eval "test \"\${$as_ac_var+set}\" = set"; then
53701   echo $ECHO_N "(cached) $ECHO_C" >&6
53702 else
53703   if test x$gcc_no_link = xyes; then
53704   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53706    { (exit 1); exit 1; }; }
53707 fi
53708 cat >conftest.$ac_ext <<_ACEOF
53709 /* confdefs.h.  */
53710 _ACEOF
53711 cat confdefs.h >>conftest.$ac_ext
53712 cat >>conftest.$ac_ext <<_ACEOF
53713 /* end confdefs.h.  */
53714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53715    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53716 #define $ac_func innocuous_$ac_func
53717
53718 /* System header to define __stub macros and hopefully few prototypes,
53719     which can conflict with char $ac_func (); below.
53720     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53721     <limits.h> exists even on freestanding compilers.  */
53722
53723 #ifdef __STDC__
53724 # include <limits.h>
53725 #else
53726 # include <assert.h>
53727 #endif
53728
53729 #undef $ac_func
53730
53731 /* Override any gcc2 internal prototype to avoid an error.  */
53732 #ifdef __cplusplus
53733 extern "C"
53734 {
53735 #endif
53736 /* We use char because int might match the return type of a gcc2
53737    builtin and then its argument prototype would still apply.  */
53738 char $ac_func ();
53739 /* The GNU C library defines this for functions which it implements
53740     to always fail with ENOSYS.  Some functions are actually named
53741     something starting with __ and the normal name is an alias.  */
53742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53743 choke me
53744 #else
53745 char (*f) () = $ac_func;
53746 #endif
53747 #ifdef __cplusplus
53748 }
53749 #endif
53750
53751 int
53752 main ()
53753 {
53754 return f != $ac_func;
53755   ;
53756   return 0;
53757 }
53758 _ACEOF
53759 rm -f conftest.$ac_objext conftest$ac_exeext
53760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53761   (eval $ac_link) 2>conftest.er1
53762   ac_status=$?
53763   grep -v '^ *+' conftest.er1 >conftest.err
53764   rm -f conftest.er1
53765   cat conftest.err >&5
53766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53767   (exit $ac_status); } &&
53768          { ac_try='test -z "$ac_c_werror_flag"
53769                          || test ! -s conftest.err'
53770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53771   (eval $ac_try) 2>&5
53772   ac_status=$?
53773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53774   (exit $ac_status); }; } &&
53775          { ac_try='test -s conftest$ac_exeext'
53776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53777   (eval $ac_try) 2>&5
53778   ac_status=$?
53779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53780   (exit $ac_status); }; }; then
53781   eval "$as_ac_var=yes"
53782 else
53783   echo "$as_me: failed program was:" >&5
53784 sed 's/^/| /' conftest.$ac_ext >&5
53785
53786 eval "$as_ac_var=no"
53787 fi
53788 rm -f conftest.err conftest.$ac_objext \
53789       conftest$ac_exeext conftest.$ac_ext
53790 fi
53791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53793 if test `eval echo '${'$as_ac_var'}'` = yes; then
53794   cat >>confdefs.h <<_ACEOF
53795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53796 _ACEOF
53797
53798 fi
53799 done
53800
53801     fi
53802   fi
53803
53804
53805
53806
53807
53808
53809   echo "$as_me:$LINENO: checking for finite declaration" >&5
53810 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
53811   if test x${glibcxx_cv_func_finite_use+set} != xset; then
53812     if test "${glibcxx_cv_func_finite_use+set}" = set; then
53813   echo $ECHO_N "(cached) $ECHO_C" >&6
53814 else
53815
53816
53817
53818       ac_ext=cc
53819 ac_cpp='$CXXCPP $CPPFLAGS'
53820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53823
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 <math.h>
53831                       #ifdef HAVE_IEEEFP_H
53832                       #include <ieeefp.h>
53833                       #endif
53834
53835 int
53836 main ()
53837 {
53838  finite(0);
53839   ;
53840   return 0;
53841 }
53842 _ACEOF
53843 rm -f conftest.$ac_objext
53844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53845   (eval $ac_compile) 2>conftest.er1
53846   ac_status=$?
53847   grep -v '^ *+' conftest.er1 >conftest.err
53848   rm -f conftest.er1
53849   cat conftest.err >&5
53850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53851   (exit $ac_status); } &&
53852          { ac_try='test -z "$ac_cxx_werror_flag"
53853                          || test ! -s conftest.err'
53854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53855   (eval $ac_try) 2>&5
53856   ac_status=$?
53857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53858   (exit $ac_status); }; } &&
53859          { ac_try='test -s conftest.$ac_objext'
53860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53861   (eval $ac_try) 2>&5
53862   ac_status=$?
53863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53864   (exit $ac_status); }; }; then
53865   glibcxx_cv_func_finite_use=yes
53866 else
53867   echo "$as_me: failed program was:" >&5
53868 sed 's/^/| /' conftest.$ac_ext >&5
53869
53870 glibcxx_cv_func_finite_use=no
53871 fi
53872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53873       ac_ext=c
53874 ac_cpp='$CPP $CPPFLAGS'
53875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53878
53879
53880 fi
53881
53882   fi
53883   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
53884 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
53885
53886   if test x$glibcxx_cv_func_finite_use = x"yes"; then
53887
53888 for ac_func in finite
53889 do
53890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53891 echo "$as_me:$LINENO: checking for $ac_func" >&5
53892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53893 if eval "test \"\${$as_ac_var+set}\" = set"; then
53894   echo $ECHO_N "(cached) $ECHO_C" >&6
53895 else
53896   if test x$gcc_no_link = xyes; then
53897   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53899    { (exit 1); exit 1; }; }
53900 fi
53901 cat >conftest.$ac_ext <<_ACEOF
53902 /* confdefs.h.  */
53903 _ACEOF
53904 cat confdefs.h >>conftest.$ac_ext
53905 cat >>conftest.$ac_ext <<_ACEOF
53906 /* end confdefs.h.  */
53907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53908    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53909 #define $ac_func innocuous_$ac_func
53910
53911 /* System header to define __stub macros and hopefully few prototypes,
53912     which can conflict with char $ac_func (); below.
53913     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53914     <limits.h> exists even on freestanding compilers.  */
53915
53916 #ifdef __STDC__
53917 # include <limits.h>
53918 #else
53919 # include <assert.h>
53920 #endif
53921
53922 #undef $ac_func
53923
53924 /* Override any gcc2 internal prototype to avoid an error.  */
53925 #ifdef __cplusplus
53926 extern "C"
53927 {
53928 #endif
53929 /* We use char because int might match the return type of a gcc2
53930    builtin and then its argument prototype would still apply.  */
53931 char $ac_func ();
53932 /* The GNU C library defines this for functions which it implements
53933     to always fail with ENOSYS.  Some functions are actually named
53934     something starting with __ and the normal name is an alias.  */
53935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53936 choke me
53937 #else
53938 char (*f) () = $ac_func;
53939 #endif
53940 #ifdef __cplusplus
53941 }
53942 #endif
53943
53944 int
53945 main ()
53946 {
53947 return f != $ac_func;
53948   ;
53949   return 0;
53950 }
53951 _ACEOF
53952 rm -f conftest.$ac_objext conftest$ac_exeext
53953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53954   (eval $ac_link) 2>conftest.er1
53955   ac_status=$?
53956   grep -v '^ *+' conftest.er1 >conftest.err
53957   rm -f conftest.er1
53958   cat conftest.err >&5
53959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53960   (exit $ac_status); } &&
53961          { ac_try='test -z "$ac_c_werror_flag"
53962                          || test ! -s conftest.err'
53963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53964   (eval $ac_try) 2>&5
53965   ac_status=$?
53966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53967   (exit $ac_status); }; } &&
53968          { ac_try='test -s conftest$ac_exeext'
53969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53970   (eval $ac_try) 2>&5
53971   ac_status=$?
53972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53973   (exit $ac_status); }; }; then
53974   eval "$as_ac_var=yes"
53975 else
53976   echo "$as_me: failed program was:" >&5
53977 sed 's/^/| /' conftest.$ac_ext >&5
53978
53979 eval "$as_ac_var=no"
53980 fi
53981 rm -f conftest.err conftest.$ac_objext \
53982       conftest$ac_exeext conftest.$ac_ext
53983 fi
53984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53986 if test `eval echo '${'$as_ac_var'}'` = yes; then
53987   cat >>confdefs.h <<_ACEOF
53988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53989 _ACEOF
53990
53991 fi
53992 done
53993
53994   else
53995
53996   echo "$as_me:$LINENO: checking for _finite declaration" >&5
53997 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
53998   if test x${glibcxx_cv_func__finite_use+set} != xset; then
53999     if test "${glibcxx_cv_func__finite_use+set}" = set; then
54000   echo $ECHO_N "(cached) $ECHO_C" >&6
54001 else
54002
54003
54004
54005       ac_ext=cc
54006 ac_cpp='$CXXCPP $CPPFLAGS'
54007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54010
54011       cat >conftest.$ac_ext <<_ACEOF
54012 /* confdefs.h.  */
54013 _ACEOF
54014 cat confdefs.h >>conftest.$ac_ext
54015 cat >>conftest.$ac_ext <<_ACEOF
54016 /* end confdefs.h.  */
54017 #include <math.h>
54018                       #ifdef HAVE_IEEEFP_H
54019                       #include <ieeefp.h>
54020                       #endif
54021
54022 int
54023 main ()
54024 {
54025  _finite(0);
54026   ;
54027   return 0;
54028 }
54029 _ACEOF
54030 rm -f conftest.$ac_objext
54031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54032   (eval $ac_compile) 2>conftest.er1
54033   ac_status=$?
54034   grep -v '^ *+' conftest.er1 >conftest.err
54035   rm -f conftest.er1
54036   cat conftest.err >&5
54037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54038   (exit $ac_status); } &&
54039          { ac_try='test -z "$ac_cxx_werror_flag"
54040                          || test ! -s conftest.err'
54041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54042   (eval $ac_try) 2>&5
54043   ac_status=$?
54044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54045   (exit $ac_status); }; } &&
54046          { ac_try='test -s conftest.$ac_objext'
54047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54048   (eval $ac_try) 2>&5
54049   ac_status=$?
54050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54051   (exit $ac_status); }; }; then
54052   glibcxx_cv_func__finite_use=yes
54053 else
54054   echo "$as_me: failed program was:" >&5
54055 sed 's/^/| /' conftest.$ac_ext >&5
54056
54057 glibcxx_cv_func__finite_use=no
54058 fi
54059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54060       ac_ext=c
54061 ac_cpp='$CPP $CPPFLAGS'
54062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54065
54066
54067 fi
54068
54069   fi
54070   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
54071 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
54072
54073     if test x$glibcxx_cv_func__finite_use = x"yes"; then
54074
54075 for ac_func in _finite
54076 do
54077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54078 echo "$as_me:$LINENO: checking for $ac_func" >&5
54079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54080 if eval "test \"\${$as_ac_var+set}\" = set"; then
54081   echo $ECHO_N "(cached) $ECHO_C" >&6
54082 else
54083   if test x$gcc_no_link = xyes; then
54084   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54086    { (exit 1); exit 1; }; }
54087 fi
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54095    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54096 #define $ac_func innocuous_$ac_func
54097
54098 /* System header to define __stub macros and hopefully few prototypes,
54099     which can conflict with char $ac_func (); below.
54100     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54101     <limits.h> exists even on freestanding compilers.  */
54102
54103 #ifdef __STDC__
54104 # include <limits.h>
54105 #else
54106 # include <assert.h>
54107 #endif
54108
54109 #undef $ac_func
54110
54111 /* Override any gcc2 internal prototype to avoid an error.  */
54112 #ifdef __cplusplus
54113 extern "C"
54114 {
54115 #endif
54116 /* We use char because int might match the return type of a gcc2
54117    builtin and then its argument prototype would still apply.  */
54118 char $ac_func ();
54119 /* The GNU C library defines this for functions which it implements
54120     to always fail with ENOSYS.  Some functions are actually named
54121     something starting with __ and the normal name is an alias.  */
54122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54123 choke me
54124 #else
54125 char (*f) () = $ac_func;
54126 #endif
54127 #ifdef __cplusplus
54128 }
54129 #endif
54130
54131 int
54132 main ()
54133 {
54134 return f != $ac_func;
54135   ;
54136   return 0;
54137 }
54138 _ACEOF
54139 rm -f conftest.$ac_objext conftest$ac_exeext
54140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54141   (eval $ac_link) 2>conftest.er1
54142   ac_status=$?
54143   grep -v '^ *+' conftest.er1 >conftest.err
54144   rm -f conftest.er1
54145   cat conftest.err >&5
54146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54147   (exit $ac_status); } &&
54148          { ac_try='test -z "$ac_c_werror_flag"
54149                          || test ! -s conftest.err'
54150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54151   (eval $ac_try) 2>&5
54152   ac_status=$?
54153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54154   (exit $ac_status); }; } &&
54155          { ac_try='test -s conftest$ac_exeext'
54156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54157   (eval $ac_try) 2>&5
54158   ac_status=$?
54159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54160   (exit $ac_status); }; }; then
54161   eval "$as_ac_var=yes"
54162 else
54163   echo "$as_me: failed program was:" >&5
54164 sed 's/^/| /' conftest.$ac_ext >&5
54165
54166 eval "$as_ac_var=no"
54167 fi
54168 rm -f conftest.err conftest.$ac_objext \
54169       conftest$ac_exeext conftest.$ac_ext
54170 fi
54171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54173 if test `eval echo '${'$as_ac_var'}'` = yes; then
54174   cat >>confdefs.h <<_ACEOF
54175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54176 _ACEOF
54177
54178 fi
54179 done
54180
54181     fi
54182   fi
54183
54184
54185
54186
54187
54188
54189   echo "$as_me:$LINENO: checking for copysign declaration" >&5
54190 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
54191   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
54192     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
54193   echo $ECHO_N "(cached) $ECHO_C" >&6
54194 else
54195
54196
54197
54198       ac_ext=cc
54199 ac_cpp='$CXXCPP $CPPFLAGS'
54200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54203
54204       cat >conftest.$ac_ext <<_ACEOF
54205 /* confdefs.h.  */
54206 _ACEOF
54207 cat confdefs.h >>conftest.$ac_ext
54208 cat >>conftest.$ac_ext <<_ACEOF
54209 /* end confdefs.h.  */
54210 #include <math.h>
54211 int
54212 main ()
54213 {
54214  copysign(0, 0);
54215   ;
54216   return 0;
54217 }
54218 _ACEOF
54219 rm -f conftest.$ac_objext
54220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54221   (eval $ac_compile) 2>conftest.er1
54222   ac_status=$?
54223   grep -v '^ *+' conftest.er1 >conftest.err
54224   rm -f conftest.er1
54225   cat conftest.err >&5
54226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54227   (exit $ac_status); } &&
54228          { ac_try='test -z "$ac_cxx_werror_flag"
54229                          || test ! -s conftest.err'
54230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54231   (eval $ac_try) 2>&5
54232   ac_status=$?
54233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54234   (exit $ac_status); }; } &&
54235          { ac_try='test -s conftest.$ac_objext'
54236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54237   (eval $ac_try) 2>&5
54238   ac_status=$?
54239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54240   (exit $ac_status); }; }; then
54241   glibcxx_cv_func_copysign_use=yes
54242 else
54243   echo "$as_me: failed program was:" >&5
54244 sed 's/^/| /' conftest.$ac_ext >&5
54245
54246 glibcxx_cv_func_copysign_use=no
54247 fi
54248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54249       ac_ext=c
54250 ac_cpp='$CPP $CPPFLAGS'
54251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54254
54255
54256 fi
54257
54258   fi
54259   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
54260 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
54261
54262   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
54263
54264 for ac_func in copysign
54265 do
54266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54267 echo "$as_me:$LINENO: checking for $ac_func" >&5
54268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54269 if eval "test \"\${$as_ac_var+set}\" = set"; then
54270   echo $ECHO_N "(cached) $ECHO_C" >&6
54271 else
54272   if test x$gcc_no_link = xyes; then
54273   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54275    { (exit 1); exit 1; }; }
54276 fi
54277 cat >conftest.$ac_ext <<_ACEOF
54278 /* confdefs.h.  */
54279 _ACEOF
54280 cat confdefs.h >>conftest.$ac_ext
54281 cat >>conftest.$ac_ext <<_ACEOF
54282 /* end confdefs.h.  */
54283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54284    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54285 #define $ac_func innocuous_$ac_func
54286
54287 /* System header to define __stub macros and hopefully few prototypes,
54288     which can conflict with char $ac_func (); below.
54289     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54290     <limits.h> exists even on freestanding compilers.  */
54291
54292 #ifdef __STDC__
54293 # include <limits.h>
54294 #else
54295 # include <assert.h>
54296 #endif
54297
54298 #undef $ac_func
54299
54300 /* Override any gcc2 internal prototype to avoid an error.  */
54301 #ifdef __cplusplus
54302 extern "C"
54303 {
54304 #endif
54305 /* We use char because int might match the return type of a gcc2
54306    builtin and then its argument prototype would still apply.  */
54307 char $ac_func ();
54308 /* The GNU C library defines this for functions which it implements
54309     to always fail with ENOSYS.  Some functions are actually named
54310     something starting with __ and the normal name is an alias.  */
54311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54312 choke me
54313 #else
54314 char (*f) () = $ac_func;
54315 #endif
54316 #ifdef __cplusplus
54317 }
54318 #endif
54319
54320 int
54321 main ()
54322 {
54323 return f != $ac_func;
54324   ;
54325   return 0;
54326 }
54327 _ACEOF
54328 rm -f conftest.$ac_objext conftest$ac_exeext
54329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54330   (eval $ac_link) 2>conftest.er1
54331   ac_status=$?
54332   grep -v '^ *+' conftest.er1 >conftest.err
54333   rm -f conftest.er1
54334   cat conftest.err >&5
54335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54336   (exit $ac_status); } &&
54337          { ac_try='test -z "$ac_c_werror_flag"
54338                          || test ! -s conftest.err'
54339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54340   (eval $ac_try) 2>&5
54341   ac_status=$?
54342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54343   (exit $ac_status); }; } &&
54344          { ac_try='test -s conftest$ac_exeext'
54345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54346   (eval $ac_try) 2>&5
54347   ac_status=$?
54348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54349   (exit $ac_status); }; }; then
54350   eval "$as_ac_var=yes"
54351 else
54352   echo "$as_me: failed program was:" >&5
54353 sed 's/^/| /' conftest.$ac_ext >&5
54354
54355 eval "$as_ac_var=no"
54356 fi
54357 rm -f conftest.err conftest.$ac_objext \
54358       conftest$ac_exeext conftest.$ac_ext
54359 fi
54360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54362 if test `eval echo '${'$as_ac_var'}'` = yes; then
54363   cat >>confdefs.h <<_ACEOF
54364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54365 _ACEOF
54366
54367 fi
54368 done
54369
54370   else
54371
54372   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
54373 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
54374   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
54375     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
54376   echo $ECHO_N "(cached) $ECHO_C" >&6
54377 else
54378
54379
54380
54381       ac_ext=cc
54382 ac_cpp='$CXXCPP $CPPFLAGS'
54383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54386
54387       cat >conftest.$ac_ext <<_ACEOF
54388 /* confdefs.h.  */
54389 _ACEOF
54390 cat confdefs.h >>conftest.$ac_ext
54391 cat >>conftest.$ac_ext <<_ACEOF
54392 /* end confdefs.h.  */
54393 #include <math.h>
54394 int
54395 main ()
54396 {
54397  _copysign(0, 0);
54398   ;
54399   return 0;
54400 }
54401 _ACEOF
54402 rm -f conftest.$ac_objext
54403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54404   (eval $ac_compile) 2>conftest.er1
54405   ac_status=$?
54406   grep -v '^ *+' conftest.er1 >conftest.err
54407   rm -f conftest.er1
54408   cat conftest.err >&5
54409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54410   (exit $ac_status); } &&
54411          { ac_try='test -z "$ac_cxx_werror_flag"
54412                          || test ! -s conftest.err'
54413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54414   (eval $ac_try) 2>&5
54415   ac_status=$?
54416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54417   (exit $ac_status); }; } &&
54418          { ac_try='test -s conftest.$ac_objext'
54419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54420   (eval $ac_try) 2>&5
54421   ac_status=$?
54422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54423   (exit $ac_status); }; }; then
54424   glibcxx_cv_func__copysign_use=yes
54425 else
54426   echo "$as_me: failed program was:" >&5
54427 sed 's/^/| /' conftest.$ac_ext >&5
54428
54429 glibcxx_cv_func__copysign_use=no
54430 fi
54431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54432       ac_ext=c
54433 ac_cpp='$CPP $CPPFLAGS'
54434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54437
54438
54439 fi
54440
54441   fi
54442   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
54443 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
54444
54445     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
54446
54447 for ac_func in _copysign
54448 do
54449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54450 echo "$as_me:$LINENO: checking for $ac_func" >&5
54451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54452 if eval "test \"\${$as_ac_var+set}\" = set"; then
54453   echo $ECHO_N "(cached) $ECHO_C" >&6
54454 else
54455   if test x$gcc_no_link = xyes; then
54456   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54458    { (exit 1); exit 1; }; }
54459 fi
54460 cat >conftest.$ac_ext <<_ACEOF
54461 /* confdefs.h.  */
54462 _ACEOF
54463 cat confdefs.h >>conftest.$ac_ext
54464 cat >>conftest.$ac_ext <<_ACEOF
54465 /* end confdefs.h.  */
54466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54467    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54468 #define $ac_func innocuous_$ac_func
54469
54470 /* System header to define __stub macros and hopefully few prototypes,
54471     which can conflict with char $ac_func (); below.
54472     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54473     <limits.h> exists even on freestanding compilers.  */
54474
54475 #ifdef __STDC__
54476 # include <limits.h>
54477 #else
54478 # include <assert.h>
54479 #endif
54480
54481 #undef $ac_func
54482
54483 /* Override any gcc2 internal prototype to avoid an error.  */
54484 #ifdef __cplusplus
54485 extern "C"
54486 {
54487 #endif
54488 /* We use char because int might match the return type of a gcc2
54489    builtin and then its argument prototype would still apply.  */
54490 char $ac_func ();
54491 /* The GNU C library defines this for functions which it implements
54492     to always fail with ENOSYS.  Some functions are actually named
54493     something starting with __ and the normal name is an alias.  */
54494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54495 choke me
54496 #else
54497 char (*f) () = $ac_func;
54498 #endif
54499 #ifdef __cplusplus
54500 }
54501 #endif
54502
54503 int
54504 main ()
54505 {
54506 return f != $ac_func;
54507   ;
54508   return 0;
54509 }
54510 _ACEOF
54511 rm -f conftest.$ac_objext conftest$ac_exeext
54512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54513   (eval $ac_link) 2>conftest.er1
54514   ac_status=$?
54515   grep -v '^ *+' conftest.er1 >conftest.err
54516   rm -f conftest.er1
54517   cat conftest.err >&5
54518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54519   (exit $ac_status); } &&
54520          { ac_try='test -z "$ac_c_werror_flag"
54521                          || test ! -s conftest.err'
54522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54523   (eval $ac_try) 2>&5
54524   ac_status=$?
54525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54526   (exit $ac_status); }; } &&
54527          { ac_try='test -s conftest$ac_exeext'
54528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54529   (eval $ac_try) 2>&5
54530   ac_status=$?
54531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54532   (exit $ac_status); }; }; then
54533   eval "$as_ac_var=yes"
54534 else
54535   echo "$as_me: failed program was:" >&5
54536 sed 's/^/| /' conftest.$ac_ext >&5
54537
54538 eval "$as_ac_var=no"
54539 fi
54540 rm -f conftest.err conftest.$ac_objext \
54541       conftest$ac_exeext conftest.$ac_ext
54542 fi
54543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54545 if test `eval echo '${'$as_ac_var'}'` = yes; then
54546   cat >>confdefs.h <<_ACEOF
54547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54548 _ACEOF
54549
54550 fi
54551 done
54552
54553     fi
54554   fi
54555
54556
54557
54558
54559
54560
54561   echo "$as_me:$LINENO: checking for sincos declaration" >&5
54562 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
54563   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54564     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
54565   echo $ECHO_N "(cached) $ECHO_C" >&6
54566 else
54567
54568
54569
54570       ac_ext=cc
54571 ac_cpp='$CXXCPP $CPPFLAGS'
54572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54575
54576       cat >conftest.$ac_ext <<_ACEOF
54577 /* confdefs.h.  */
54578 _ACEOF
54579 cat confdefs.h >>conftest.$ac_ext
54580 cat >>conftest.$ac_ext <<_ACEOF
54581 /* end confdefs.h.  */
54582 #include <math.h>
54583 int
54584 main ()
54585 {
54586  sincos(0, 0, 0);
54587   ;
54588   return 0;
54589 }
54590 _ACEOF
54591 rm -f conftest.$ac_objext
54592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54593   (eval $ac_compile) 2>conftest.er1
54594   ac_status=$?
54595   grep -v '^ *+' conftest.er1 >conftest.err
54596   rm -f conftest.er1
54597   cat conftest.err >&5
54598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54599   (exit $ac_status); } &&
54600          { ac_try='test -z "$ac_cxx_werror_flag"
54601                          || test ! -s conftest.err'
54602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54603   (eval $ac_try) 2>&5
54604   ac_status=$?
54605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54606   (exit $ac_status); }; } &&
54607          { ac_try='test -s conftest.$ac_objext'
54608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54609   (eval $ac_try) 2>&5
54610   ac_status=$?
54611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54612   (exit $ac_status); }; }; then
54613   glibcxx_cv_func_sincos_use=yes
54614 else
54615   echo "$as_me: failed program was:" >&5
54616 sed 's/^/| /' conftest.$ac_ext >&5
54617
54618 glibcxx_cv_func_sincos_use=no
54619 fi
54620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54621       ac_ext=c
54622 ac_cpp='$CPP $CPPFLAGS'
54623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54626
54627
54628 fi
54629
54630   fi
54631   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
54632 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
54633
54634   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54635
54636 for ac_func in sincos
54637 do
54638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54639 echo "$as_me:$LINENO: checking for $ac_func" >&5
54640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54641 if eval "test \"\${$as_ac_var+set}\" = set"; then
54642   echo $ECHO_N "(cached) $ECHO_C" >&6
54643 else
54644   if test x$gcc_no_link = xyes; then
54645   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54647    { (exit 1); exit 1; }; }
54648 fi
54649 cat >conftest.$ac_ext <<_ACEOF
54650 /* confdefs.h.  */
54651 _ACEOF
54652 cat confdefs.h >>conftest.$ac_ext
54653 cat >>conftest.$ac_ext <<_ACEOF
54654 /* end confdefs.h.  */
54655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54656    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54657 #define $ac_func innocuous_$ac_func
54658
54659 /* System header to define __stub macros and hopefully few prototypes,
54660     which can conflict with char $ac_func (); below.
54661     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54662     <limits.h> exists even on freestanding compilers.  */
54663
54664 #ifdef __STDC__
54665 # include <limits.h>
54666 #else
54667 # include <assert.h>
54668 #endif
54669
54670 #undef $ac_func
54671
54672 /* Override any gcc2 internal prototype to avoid an error.  */
54673 #ifdef __cplusplus
54674 extern "C"
54675 {
54676 #endif
54677 /* We use char because int might match the return type of a gcc2
54678    builtin and then its argument prototype would still apply.  */
54679 char $ac_func ();
54680 /* The GNU C library defines this for functions which it implements
54681     to always fail with ENOSYS.  Some functions are actually named
54682     something starting with __ and the normal name is an alias.  */
54683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54684 choke me
54685 #else
54686 char (*f) () = $ac_func;
54687 #endif
54688 #ifdef __cplusplus
54689 }
54690 #endif
54691
54692 int
54693 main ()
54694 {
54695 return f != $ac_func;
54696   ;
54697   return 0;
54698 }
54699 _ACEOF
54700 rm -f conftest.$ac_objext conftest$ac_exeext
54701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54702   (eval $ac_link) 2>conftest.er1
54703   ac_status=$?
54704   grep -v '^ *+' conftest.er1 >conftest.err
54705   rm -f conftest.er1
54706   cat conftest.err >&5
54707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54708   (exit $ac_status); } &&
54709          { ac_try='test -z "$ac_c_werror_flag"
54710                          || test ! -s conftest.err'
54711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54712   (eval $ac_try) 2>&5
54713   ac_status=$?
54714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54715   (exit $ac_status); }; } &&
54716          { ac_try='test -s conftest$ac_exeext'
54717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54718   (eval $ac_try) 2>&5
54719   ac_status=$?
54720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54721   (exit $ac_status); }; }; then
54722   eval "$as_ac_var=yes"
54723 else
54724   echo "$as_me: failed program was:" >&5
54725 sed 's/^/| /' conftest.$ac_ext >&5
54726
54727 eval "$as_ac_var=no"
54728 fi
54729 rm -f conftest.err conftest.$ac_objext \
54730       conftest$ac_exeext conftest.$ac_ext
54731 fi
54732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54734 if test `eval echo '${'$as_ac_var'}'` = yes; then
54735   cat >>confdefs.h <<_ACEOF
54736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54737 _ACEOF
54738
54739 fi
54740 done
54741
54742   else
54743
54744   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
54745 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
54746   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54747     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
54748   echo $ECHO_N "(cached) $ECHO_C" >&6
54749 else
54750
54751
54752
54753       ac_ext=cc
54754 ac_cpp='$CXXCPP $CPPFLAGS'
54755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54758
54759       cat >conftest.$ac_ext <<_ACEOF
54760 /* confdefs.h.  */
54761 _ACEOF
54762 cat confdefs.h >>conftest.$ac_ext
54763 cat >>conftest.$ac_ext <<_ACEOF
54764 /* end confdefs.h.  */
54765 #include <math.h>
54766 int
54767 main ()
54768 {
54769  _sincos(0, 0, 0);
54770   ;
54771   return 0;
54772 }
54773 _ACEOF
54774 rm -f conftest.$ac_objext
54775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54776   (eval $ac_compile) 2>conftest.er1
54777   ac_status=$?
54778   grep -v '^ *+' conftest.er1 >conftest.err
54779   rm -f conftest.er1
54780   cat conftest.err >&5
54781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54782   (exit $ac_status); } &&
54783          { ac_try='test -z "$ac_cxx_werror_flag"
54784                          || test ! -s conftest.err'
54785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54786   (eval $ac_try) 2>&5
54787   ac_status=$?
54788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54789   (exit $ac_status); }; } &&
54790          { ac_try='test -s conftest.$ac_objext'
54791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54792   (eval $ac_try) 2>&5
54793   ac_status=$?
54794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54795   (exit $ac_status); }; }; then
54796   glibcxx_cv_func__sincos_use=yes
54797 else
54798   echo "$as_me: failed program was:" >&5
54799 sed 's/^/| /' conftest.$ac_ext >&5
54800
54801 glibcxx_cv_func__sincos_use=no
54802 fi
54803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54804       ac_ext=c
54805 ac_cpp='$CPP $CPPFLAGS'
54806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54809
54810
54811 fi
54812
54813   fi
54814   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
54815 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
54816
54817     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54818
54819 for ac_func in _sincos
54820 do
54821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54822 echo "$as_me:$LINENO: checking for $ac_func" >&5
54823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54824 if eval "test \"\${$as_ac_var+set}\" = set"; then
54825   echo $ECHO_N "(cached) $ECHO_C" >&6
54826 else
54827   if test x$gcc_no_link = xyes; then
54828   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54830    { (exit 1); exit 1; }; }
54831 fi
54832 cat >conftest.$ac_ext <<_ACEOF
54833 /* confdefs.h.  */
54834 _ACEOF
54835 cat confdefs.h >>conftest.$ac_ext
54836 cat >>conftest.$ac_ext <<_ACEOF
54837 /* end confdefs.h.  */
54838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54839    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54840 #define $ac_func innocuous_$ac_func
54841
54842 /* System header to define __stub macros and hopefully few prototypes,
54843     which can conflict with char $ac_func (); below.
54844     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54845     <limits.h> exists even on freestanding compilers.  */
54846
54847 #ifdef __STDC__
54848 # include <limits.h>
54849 #else
54850 # include <assert.h>
54851 #endif
54852
54853 #undef $ac_func
54854
54855 /* Override any gcc2 internal prototype to avoid an error.  */
54856 #ifdef __cplusplus
54857 extern "C"
54858 {
54859 #endif
54860 /* We use char because int might match the return type of a gcc2
54861    builtin and then its argument prototype would still apply.  */
54862 char $ac_func ();
54863 /* The GNU C library defines this for functions which it implements
54864     to always fail with ENOSYS.  Some functions are actually named
54865     something starting with __ and the normal name is an alias.  */
54866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54867 choke me
54868 #else
54869 char (*f) () = $ac_func;
54870 #endif
54871 #ifdef __cplusplus
54872 }
54873 #endif
54874
54875 int
54876 main ()
54877 {
54878 return f != $ac_func;
54879   ;
54880   return 0;
54881 }
54882 _ACEOF
54883 rm -f conftest.$ac_objext conftest$ac_exeext
54884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54885   (eval $ac_link) 2>conftest.er1
54886   ac_status=$?
54887   grep -v '^ *+' conftest.er1 >conftest.err
54888   rm -f conftest.er1
54889   cat conftest.err >&5
54890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54891   (exit $ac_status); } &&
54892          { ac_try='test -z "$ac_c_werror_flag"
54893                          || test ! -s conftest.err'
54894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54895   (eval $ac_try) 2>&5
54896   ac_status=$?
54897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54898   (exit $ac_status); }; } &&
54899          { ac_try='test -s conftest$ac_exeext'
54900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54901   (eval $ac_try) 2>&5
54902   ac_status=$?
54903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54904   (exit $ac_status); }; }; then
54905   eval "$as_ac_var=yes"
54906 else
54907   echo "$as_me: failed program was:" >&5
54908 sed 's/^/| /' conftest.$ac_ext >&5
54909
54910 eval "$as_ac_var=no"
54911 fi
54912 rm -f conftest.err conftest.$ac_objext \
54913       conftest$ac_exeext conftest.$ac_ext
54914 fi
54915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54917 if test `eval echo '${'$as_ac_var'}'` = yes; then
54918   cat >>confdefs.h <<_ACEOF
54919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54920 _ACEOF
54921
54922 fi
54923 done
54924
54925     fi
54926   fi
54927
54928
54929
54930
54931
54932
54933   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
54934 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
54935   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54936     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
54937   echo $ECHO_N "(cached) $ECHO_C" >&6
54938 else
54939
54940
54941
54942       ac_ext=cc
54943 ac_cpp='$CXXCPP $CPPFLAGS'
54944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54947
54948       cat >conftest.$ac_ext <<_ACEOF
54949 /* confdefs.h.  */
54950 _ACEOF
54951 cat confdefs.h >>conftest.$ac_ext
54952 cat >>conftest.$ac_ext <<_ACEOF
54953 /* end confdefs.h.  */
54954 #include <math.h>
54955                       #ifdef HAVE_IEEEFP_H
54956                       #include <ieeefp.h>
54957                       #endif
54958
54959 int
54960 main ()
54961 {
54962  fpclass(0);
54963   ;
54964   return 0;
54965 }
54966 _ACEOF
54967 rm -f conftest.$ac_objext
54968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54969   (eval $ac_compile) 2>conftest.er1
54970   ac_status=$?
54971   grep -v '^ *+' conftest.er1 >conftest.err
54972   rm -f conftest.er1
54973   cat conftest.err >&5
54974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54975   (exit $ac_status); } &&
54976          { ac_try='test -z "$ac_cxx_werror_flag"
54977                          || test ! -s conftest.err'
54978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54979   (eval $ac_try) 2>&5
54980   ac_status=$?
54981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54982   (exit $ac_status); }; } &&
54983          { ac_try='test -s conftest.$ac_objext'
54984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54985   (eval $ac_try) 2>&5
54986   ac_status=$?
54987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54988   (exit $ac_status); }; }; then
54989   glibcxx_cv_func_fpclass_use=yes
54990 else
54991   echo "$as_me: failed program was:" >&5
54992 sed 's/^/| /' conftest.$ac_ext >&5
54993
54994 glibcxx_cv_func_fpclass_use=no
54995 fi
54996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54997       ac_ext=c
54998 ac_cpp='$CPP $CPPFLAGS'
54999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55002
55003
55004 fi
55005
55006   fi
55007   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
55008 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
55009
55010   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55011
55012 for ac_func in fpclass
55013 do
55014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55015 echo "$as_me:$LINENO: checking for $ac_func" >&5
55016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55017 if eval "test \"\${$as_ac_var+set}\" = set"; then
55018   echo $ECHO_N "(cached) $ECHO_C" >&6
55019 else
55020   if test x$gcc_no_link = xyes; then
55021   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55023    { (exit 1); exit 1; }; }
55024 fi
55025 cat >conftest.$ac_ext <<_ACEOF
55026 /* confdefs.h.  */
55027 _ACEOF
55028 cat confdefs.h >>conftest.$ac_ext
55029 cat >>conftest.$ac_ext <<_ACEOF
55030 /* end confdefs.h.  */
55031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55032    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55033 #define $ac_func innocuous_$ac_func
55034
55035 /* System header to define __stub macros and hopefully few prototypes,
55036     which can conflict with char $ac_func (); below.
55037     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55038     <limits.h> exists even on freestanding compilers.  */
55039
55040 #ifdef __STDC__
55041 # include <limits.h>
55042 #else
55043 # include <assert.h>
55044 #endif
55045
55046 #undef $ac_func
55047
55048 /* Override any gcc2 internal prototype to avoid an error.  */
55049 #ifdef __cplusplus
55050 extern "C"
55051 {
55052 #endif
55053 /* We use char because int might match the return type of a gcc2
55054    builtin and then its argument prototype would still apply.  */
55055 char $ac_func ();
55056 /* The GNU C library defines this for functions which it implements
55057     to always fail with ENOSYS.  Some functions are actually named
55058     something starting with __ and the normal name is an alias.  */
55059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55060 choke me
55061 #else
55062 char (*f) () = $ac_func;
55063 #endif
55064 #ifdef __cplusplus
55065 }
55066 #endif
55067
55068 int
55069 main ()
55070 {
55071 return f != $ac_func;
55072   ;
55073   return 0;
55074 }
55075 _ACEOF
55076 rm -f conftest.$ac_objext conftest$ac_exeext
55077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55078   (eval $ac_link) 2>conftest.er1
55079   ac_status=$?
55080   grep -v '^ *+' conftest.er1 >conftest.err
55081   rm -f conftest.er1
55082   cat conftest.err >&5
55083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55084   (exit $ac_status); } &&
55085          { ac_try='test -z "$ac_c_werror_flag"
55086                          || test ! -s conftest.err'
55087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55088   (eval $ac_try) 2>&5
55089   ac_status=$?
55090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55091   (exit $ac_status); }; } &&
55092          { ac_try='test -s conftest$ac_exeext'
55093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55094   (eval $ac_try) 2>&5
55095   ac_status=$?
55096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55097   (exit $ac_status); }; }; then
55098   eval "$as_ac_var=yes"
55099 else
55100   echo "$as_me: failed program was:" >&5
55101 sed 's/^/| /' conftest.$ac_ext >&5
55102
55103 eval "$as_ac_var=no"
55104 fi
55105 rm -f conftest.err conftest.$ac_objext \
55106       conftest$ac_exeext conftest.$ac_ext
55107 fi
55108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55110 if test `eval echo '${'$as_ac_var'}'` = yes; then
55111   cat >>confdefs.h <<_ACEOF
55112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55113 _ACEOF
55114
55115 fi
55116 done
55117
55118   else
55119
55120   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
55121 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
55122   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55123     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
55124   echo $ECHO_N "(cached) $ECHO_C" >&6
55125 else
55126
55127
55128
55129       ac_ext=cc
55130 ac_cpp='$CXXCPP $CPPFLAGS'
55131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55134
55135       cat >conftest.$ac_ext <<_ACEOF
55136 /* confdefs.h.  */
55137 _ACEOF
55138 cat confdefs.h >>conftest.$ac_ext
55139 cat >>conftest.$ac_ext <<_ACEOF
55140 /* end confdefs.h.  */
55141 #include <math.h>
55142                       #ifdef HAVE_IEEEFP_H
55143                       #include <ieeefp.h>
55144                       #endif
55145
55146 int
55147 main ()
55148 {
55149  _fpclass(0);
55150   ;
55151   return 0;
55152 }
55153 _ACEOF
55154 rm -f conftest.$ac_objext
55155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55156   (eval $ac_compile) 2>conftest.er1
55157   ac_status=$?
55158   grep -v '^ *+' conftest.er1 >conftest.err
55159   rm -f conftest.er1
55160   cat conftest.err >&5
55161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55162   (exit $ac_status); } &&
55163          { ac_try='test -z "$ac_cxx_werror_flag"
55164                          || test ! -s conftest.err'
55165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55166   (eval $ac_try) 2>&5
55167   ac_status=$?
55168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55169   (exit $ac_status); }; } &&
55170          { ac_try='test -s conftest.$ac_objext'
55171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55172   (eval $ac_try) 2>&5
55173   ac_status=$?
55174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55175   (exit $ac_status); }; }; then
55176   glibcxx_cv_func__fpclass_use=yes
55177 else
55178   echo "$as_me: failed program was:" >&5
55179 sed 's/^/| /' conftest.$ac_ext >&5
55180
55181 glibcxx_cv_func__fpclass_use=no
55182 fi
55183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55184       ac_ext=c
55185 ac_cpp='$CPP $CPPFLAGS'
55186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55189
55190
55191 fi
55192
55193   fi
55194   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
55195 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
55196
55197     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55198
55199 for ac_func in _fpclass
55200 do
55201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55202 echo "$as_me:$LINENO: checking for $ac_func" >&5
55203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55204 if eval "test \"\${$as_ac_var+set}\" = set"; then
55205   echo $ECHO_N "(cached) $ECHO_C" >&6
55206 else
55207   if test x$gcc_no_link = xyes; then
55208   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55210    { (exit 1); exit 1; }; }
55211 fi
55212 cat >conftest.$ac_ext <<_ACEOF
55213 /* confdefs.h.  */
55214 _ACEOF
55215 cat confdefs.h >>conftest.$ac_ext
55216 cat >>conftest.$ac_ext <<_ACEOF
55217 /* end confdefs.h.  */
55218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55219    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55220 #define $ac_func innocuous_$ac_func
55221
55222 /* System header to define __stub macros and hopefully few prototypes,
55223     which can conflict with char $ac_func (); below.
55224     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55225     <limits.h> exists even on freestanding compilers.  */
55226
55227 #ifdef __STDC__
55228 # include <limits.h>
55229 #else
55230 # include <assert.h>
55231 #endif
55232
55233 #undef $ac_func
55234
55235 /* Override any gcc2 internal prototype to avoid an error.  */
55236 #ifdef __cplusplus
55237 extern "C"
55238 {
55239 #endif
55240 /* We use char because int might match the return type of a gcc2
55241    builtin and then its argument prototype would still apply.  */
55242 char $ac_func ();
55243 /* The GNU C library defines this for functions which it implements
55244     to always fail with ENOSYS.  Some functions are actually named
55245     something starting with __ and the normal name is an alias.  */
55246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55247 choke me
55248 #else
55249 char (*f) () = $ac_func;
55250 #endif
55251 #ifdef __cplusplus
55252 }
55253 #endif
55254
55255 int
55256 main ()
55257 {
55258 return f != $ac_func;
55259   ;
55260   return 0;
55261 }
55262 _ACEOF
55263 rm -f conftest.$ac_objext conftest$ac_exeext
55264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55265   (eval $ac_link) 2>conftest.er1
55266   ac_status=$?
55267   grep -v '^ *+' conftest.er1 >conftest.err
55268   rm -f conftest.er1
55269   cat conftest.err >&5
55270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55271   (exit $ac_status); } &&
55272          { ac_try='test -z "$ac_c_werror_flag"
55273                          || test ! -s conftest.err'
55274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55275   (eval $ac_try) 2>&5
55276   ac_status=$?
55277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55278   (exit $ac_status); }; } &&
55279          { ac_try='test -s conftest$ac_exeext'
55280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55281   (eval $ac_try) 2>&5
55282   ac_status=$?
55283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55284   (exit $ac_status); }; }; then
55285   eval "$as_ac_var=yes"
55286 else
55287   echo "$as_me: failed program was:" >&5
55288 sed 's/^/| /' conftest.$ac_ext >&5
55289
55290 eval "$as_ac_var=no"
55291 fi
55292 rm -f conftest.err conftest.$ac_objext \
55293       conftest$ac_exeext conftest.$ac_ext
55294 fi
55295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55297 if test `eval echo '${'$as_ac_var'}'` = yes; then
55298   cat >>confdefs.h <<_ACEOF
55299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55300 _ACEOF
55301
55302 fi
55303 done
55304
55305     fi
55306   fi
55307
55308
55309
55310
55311
55312
55313   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
55314 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
55315   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55316     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
55317   echo $ECHO_N "(cached) $ECHO_C" >&6
55318 else
55319
55320
55321
55322       ac_ext=cc
55323 ac_cpp='$CXXCPP $CPPFLAGS'
55324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55327
55328       cat >conftest.$ac_ext <<_ACEOF
55329 /* confdefs.h.  */
55330 _ACEOF
55331 cat confdefs.h >>conftest.$ac_ext
55332 cat >>conftest.$ac_ext <<_ACEOF
55333 /* end confdefs.h.  */
55334 #include <math.h>
55335                       #ifdef HAVE_IEEEFP_H
55336                       #include <ieeefp.h>
55337                       #endif
55338
55339 int
55340 main ()
55341 {
55342  qfpclass(0);
55343   ;
55344   return 0;
55345 }
55346 _ACEOF
55347 rm -f conftest.$ac_objext
55348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55349   (eval $ac_compile) 2>conftest.er1
55350   ac_status=$?
55351   grep -v '^ *+' conftest.er1 >conftest.err
55352   rm -f conftest.er1
55353   cat conftest.err >&5
55354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55355   (exit $ac_status); } &&
55356          { ac_try='test -z "$ac_cxx_werror_flag"
55357                          || test ! -s conftest.err'
55358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55359   (eval $ac_try) 2>&5
55360   ac_status=$?
55361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55362   (exit $ac_status); }; } &&
55363          { ac_try='test -s conftest.$ac_objext'
55364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55365   (eval $ac_try) 2>&5
55366   ac_status=$?
55367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55368   (exit $ac_status); }; }; then
55369   glibcxx_cv_func_qfpclass_use=yes
55370 else
55371   echo "$as_me: failed program was:" >&5
55372 sed 's/^/| /' conftest.$ac_ext >&5
55373
55374 glibcxx_cv_func_qfpclass_use=no
55375 fi
55376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55377       ac_ext=c
55378 ac_cpp='$CPP $CPPFLAGS'
55379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55382
55383
55384 fi
55385
55386   fi
55387   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
55388 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
55389
55390   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55391
55392 for ac_func in qfpclass
55393 do
55394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55395 echo "$as_me:$LINENO: checking for $ac_func" >&5
55396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55397 if eval "test \"\${$as_ac_var+set}\" = set"; then
55398   echo $ECHO_N "(cached) $ECHO_C" >&6
55399 else
55400   if test x$gcc_no_link = xyes; then
55401   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55403    { (exit 1); exit 1; }; }
55404 fi
55405 cat >conftest.$ac_ext <<_ACEOF
55406 /* confdefs.h.  */
55407 _ACEOF
55408 cat confdefs.h >>conftest.$ac_ext
55409 cat >>conftest.$ac_ext <<_ACEOF
55410 /* end confdefs.h.  */
55411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55412    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55413 #define $ac_func innocuous_$ac_func
55414
55415 /* System header to define __stub macros and hopefully few prototypes,
55416     which can conflict with char $ac_func (); below.
55417     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55418     <limits.h> exists even on freestanding compilers.  */
55419
55420 #ifdef __STDC__
55421 # include <limits.h>
55422 #else
55423 # include <assert.h>
55424 #endif
55425
55426 #undef $ac_func
55427
55428 /* Override any gcc2 internal prototype to avoid an error.  */
55429 #ifdef __cplusplus
55430 extern "C"
55431 {
55432 #endif
55433 /* We use char because int might match the return type of a gcc2
55434    builtin and then its argument prototype would still apply.  */
55435 char $ac_func ();
55436 /* The GNU C library defines this for functions which it implements
55437     to always fail with ENOSYS.  Some functions are actually named
55438     something starting with __ and the normal name is an alias.  */
55439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55440 choke me
55441 #else
55442 char (*f) () = $ac_func;
55443 #endif
55444 #ifdef __cplusplus
55445 }
55446 #endif
55447
55448 int
55449 main ()
55450 {
55451 return f != $ac_func;
55452   ;
55453   return 0;
55454 }
55455 _ACEOF
55456 rm -f conftest.$ac_objext conftest$ac_exeext
55457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55458   (eval $ac_link) 2>conftest.er1
55459   ac_status=$?
55460   grep -v '^ *+' conftest.er1 >conftest.err
55461   rm -f conftest.er1
55462   cat conftest.err >&5
55463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55464   (exit $ac_status); } &&
55465          { ac_try='test -z "$ac_c_werror_flag"
55466                          || test ! -s conftest.err'
55467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55468   (eval $ac_try) 2>&5
55469   ac_status=$?
55470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55471   (exit $ac_status); }; } &&
55472          { ac_try='test -s conftest$ac_exeext'
55473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55474   (eval $ac_try) 2>&5
55475   ac_status=$?
55476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55477   (exit $ac_status); }; }; then
55478   eval "$as_ac_var=yes"
55479 else
55480   echo "$as_me: failed program was:" >&5
55481 sed 's/^/| /' conftest.$ac_ext >&5
55482
55483 eval "$as_ac_var=no"
55484 fi
55485 rm -f conftest.err conftest.$ac_objext \
55486       conftest$ac_exeext conftest.$ac_ext
55487 fi
55488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55490 if test `eval echo '${'$as_ac_var'}'` = yes; then
55491   cat >>confdefs.h <<_ACEOF
55492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55493 _ACEOF
55494
55495 fi
55496 done
55497
55498   else
55499
55500   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
55501 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
55502   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55503     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
55504   echo $ECHO_N "(cached) $ECHO_C" >&6
55505 else
55506
55507
55508
55509       ac_ext=cc
55510 ac_cpp='$CXXCPP $CPPFLAGS'
55511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55514
55515       cat >conftest.$ac_ext <<_ACEOF
55516 /* confdefs.h.  */
55517 _ACEOF
55518 cat confdefs.h >>conftest.$ac_ext
55519 cat >>conftest.$ac_ext <<_ACEOF
55520 /* end confdefs.h.  */
55521 #include <math.h>
55522                       #ifdef HAVE_IEEEFP_H
55523                       #include <ieeefp.h>
55524                       #endif
55525
55526 int
55527 main ()
55528 {
55529  _qfpclass(0);
55530   ;
55531   return 0;
55532 }
55533 _ACEOF
55534 rm -f conftest.$ac_objext
55535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55536   (eval $ac_compile) 2>conftest.er1
55537   ac_status=$?
55538   grep -v '^ *+' conftest.er1 >conftest.err
55539   rm -f conftest.er1
55540   cat conftest.err >&5
55541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55542   (exit $ac_status); } &&
55543          { ac_try='test -z "$ac_cxx_werror_flag"
55544                          || test ! -s conftest.err'
55545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55546   (eval $ac_try) 2>&5
55547   ac_status=$?
55548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55549   (exit $ac_status); }; } &&
55550          { ac_try='test -s conftest.$ac_objext'
55551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55552   (eval $ac_try) 2>&5
55553   ac_status=$?
55554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55555   (exit $ac_status); }; }; then
55556   glibcxx_cv_func__qfpclass_use=yes
55557 else
55558   echo "$as_me: failed program was:" >&5
55559 sed 's/^/| /' conftest.$ac_ext >&5
55560
55561 glibcxx_cv_func__qfpclass_use=no
55562 fi
55563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55564       ac_ext=c
55565 ac_cpp='$CPP $CPPFLAGS'
55566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55569
55570
55571 fi
55572
55573   fi
55574   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
55575 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
55576
55577     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55578
55579 for ac_func in _qfpclass
55580 do
55581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55582 echo "$as_me:$LINENO: checking for $ac_func" >&5
55583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55584 if eval "test \"\${$as_ac_var+set}\" = set"; then
55585   echo $ECHO_N "(cached) $ECHO_C" >&6
55586 else
55587   if test x$gcc_no_link = xyes; then
55588   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55590    { (exit 1); exit 1; }; }
55591 fi
55592 cat >conftest.$ac_ext <<_ACEOF
55593 /* confdefs.h.  */
55594 _ACEOF
55595 cat confdefs.h >>conftest.$ac_ext
55596 cat >>conftest.$ac_ext <<_ACEOF
55597 /* end confdefs.h.  */
55598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55599    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55600 #define $ac_func innocuous_$ac_func
55601
55602 /* System header to define __stub macros and hopefully few prototypes,
55603     which can conflict with char $ac_func (); below.
55604     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55605     <limits.h> exists even on freestanding compilers.  */
55606
55607 #ifdef __STDC__
55608 # include <limits.h>
55609 #else
55610 # include <assert.h>
55611 #endif
55612
55613 #undef $ac_func
55614
55615 /* Override any gcc2 internal prototype to avoid an error.  */
55616 #ifdef __cplusplus
55617 extern "C"
55618 {
55619 #endif
55620 /* We use char because int might match the return type of a gcc2
55621    builtin and then its argument prototype would still apply.  */
55622 char $ac_func ();
55623 /* The GNU C library defines this for functions which it implements
55624     to always fail with ENOSYS.  Some functions are actually named
55625     something starting with __ and the normal name is an alias.  */
55626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55627 choke me
55628 #else
55629 char (*f) () = $ac_func;
55630 #endif
55631 #ifdef __cplusplus
55632 }
55633 #endif
55634
55635 int
55636 main ()
55637 {
55638 return f != $ac_func;
55639   ;
55640   return 0;
55641 }
55642 _ACEOF
55643 rm -f conftest.$ac_objext conftest$ac_exeext
55644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55645   (eval $ac_link) 2>conftest.er1
55646   ac_status=$?
55647   grep -v '^ *+' conftest.er1 >conftest.err
55648   rm -f conftest.er1
55649   cat conftest.err >&5
55650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55651   (exit $ac_status); } &&
55652          { ac_try='test -z "$ac_c_werror_flag"
55653                          || test ! -s conftest.err'
55654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55655   (eval $ac_try) 2>&5
55656   ac_status=$?
55657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55658   (exit $ac_status); }; } &&
55659          { ac_try='test -s conftest$ac_exeext'
55660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55661   (eval $ac_try) 2>&5
55662   ac_status=$?
55663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55664   (exit $ac_status); }; }; then
55665   eval "$as_ac_var=yes"
55666 else
55667   echo "$as_me: failed program was:" >&5
55668 sed 's/^/| /' conftest.$ac_ext >&5
55669
55670 eval "$as_ac_var=no"
55671 fi
55672 rm -f conftest.err conftest.$ac_objext \
55673       conftest$ac_exeext conftest.$ac_ext
55674 fi
55675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55677 if test `eval echo '${'$as_ac_var'}'` = yes; then
55678   cat >>confdefs.h <<_ACEOF
55679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55680 _ACEOF
55681
55682 fi
55683 done
55684
55685     fi
55686   fi
55687
55688
55689
55690
55691
55692
55693   echo "$as_me:$LINENO: checking for hypot declaration" >&5
55694 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
55695   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55696     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
55697   echo $ECHO_N "(cached) $ECHO_C" >&6
55698 else
55699
55700
55701
55702       ac_ext=cc
55703 ac_cpp='$CXXCPP $CPPFLAGS'
55704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55707
55708       cat >conftest.$ac_ext <<_ACEOF
55709 /* confdefs.h.  */
55710 _ACEOF
55711 cat confdefs.h >>conftest.$ac_ext
55712 cat >>conftest.$ac_ext <<_ACEOF
55713 /* end confdefs.h.  */
55714 #include <math.h>
55715 int
55716 main ()
55717 {
55718  hypot(0, 0);
55719   ;
55720   return 0;
55721 }
55722 _ACEOF
55723 rm -f conftest.$ac_objext
55724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55725   (eval $ac_compile) 2>conftest.er1
55726   ac_status=$?
55727   grep -v '^ *+' conftest.er1 >conftest.err
55728   rm -f conftest.er1
55729   cat conftest.err >&5
55730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55731   (exit $ac_status); } &&
55732          { ac_try='test -z "$ac_cxx_werror_flag"
55733                          || test ! -s conftest.err'
55734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55735   (eval $ac_try) 2>&5
55736   ac_status=$?
55737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55738   (exit $ac_status); }; } &&
55739          { ac_try='test -s conftest.$ac_objext'
55740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55741   (eval $ac_try) 2>&5
55742   ac_status=$?
55743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55744   (exit $ac_status); }; }; then
55745   glibcxx_cv_func_hypot_use=yes
55746 else
55747   echo "$as_me: failed program was:" >&5
55748 sed 's/^/| /' conftest.$ac_ext >&5
55749
55750 glibcxx_cv_func_hypot_use=no
55751 fi
55752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55753       ac_ext=c
55754 ac_cpp='$CPP $CPPFLAGS'
55755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55758
55759
55760 fi
55761
55762   fi
55763   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
55764 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
55765
55766   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55767
55768 for ac_func in hypot
55769 do
55770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55771 echo "$as_me:$LINENO: checking for $ac_func" >&5
55772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55773 if eval "test \"\${$as_ac_var+set}\" = set"; then
55774   echo $ECHO_N "(cached) $ECHO_C" >&6
55775 else
55776   if test x$gcc_no_link = xyes; then
55777   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55779    { (exit 1); exit 1; }; }
55780 fi
55781 cat >conftest.$ac_ext <<_ACEOF
55782 /* confdefs.h.  */
55783 _ACEOF
55784 cat confdefs.h >>conftest.$ac_ext
55785 cat >>conftest.$ac_ext <<_ACEOF
55786 /* end confdefs.h.  */
55787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55788    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55789 #define $ac_func innocuous_$ac_func
55790
55791 /* System header to define __stub macros and hopefully few prototypes,
55792     which can conflict with char $ac_func (); below.
55793     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55794     <limits.h> exists even on freestanding compilers.  */
55795
55796 #ifdef __STDC__
55797 # include <limits.h>
55798 #else
55799 # include <assert.h>
55800 #endif
55801
55802 #undef $ac_func
55803
55804 /* Override any gcc2 internal prototype to avoid an error.  */
55805 #ifdef __cplusplus
55806 extern "C"
55807 {
55808 #endif
55809 /* We use char because int might match the return type of a gcc2
55810    builtin and then its argument prototype would still apply.  */
55811 char $ac_func ();
55812 /* The GNU C library defines this for functions which it implements
55813     to always fail with ENOSYS.  Some functions are actually named
55814     something starting with __ and the normal name is an alias.  */
55815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55816 choke me
55817 #else
55818 char (*f) () = $ac_func;
55819 #endif
55820 #ifdef __cplusplus
55821 }
55822 #endif
55823
55824 int
55825 main ()
55826 {
55827 return f != $ac_func;
55828   ;
55829   return 0;
55830 }
55831 _ACEOF
55832 rm -f conftest.$ac_objext conftest$ac_exeext
55833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55834   (eval $ac_link) 2>conftest.er1
55835   ac_status=$?
55836   grep -v '^ *+' conftest.er1 >conftest.err
55837   rm -f conftest.er1
55838   cat conftest.err >&5
55839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55840   (exit $ac_status); } &&
55841          { ac_try='test -z "$ac_c_werror_flag"
55842                          || test ! -s conftest.err'
55843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55844   (eval $ac_try) 2>&5
55845   ac_status=$?
55846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55847   (exit $ac_status); }; } &&
55848          { ac_try='test -s conftest$ac_exeext'
55849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55850   (eval $ac_try) 2>&5
55851   ac_status=$?
55852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55853   (exit $ac_status); }; }; then
55854   eval "$as_ac_var=yes"
55855 else
55856   echo "$as_me: failed program was:" >&5
55857 sed 's/^/| /' conftest.$ac_ext >&5
55858
55859 eval "$as_ac_var=no"
55860 fi
55861 rm -f conftest.err conftest.$ac_objext \
55862       conftest$ac_exeext conftest.$ac_ext
55863 fi
55864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55866 if test `eval echo '${'$as_ac_var'}'` = yes; then
55867   cat >>confdefs.h <<_ACEOF
55868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55869 _ACEOF
55870
55871 fi
55872 done
55873
55874   else
55875
55876   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
55877 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
55878   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55879     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
55880   echo $ECHO_N "(cached) $ECHO_C" >&6
55881 else
55882
55883
55884
55885       ac_ext=cc
55886 ac_cpp='$CXXCPP $CPPFLAGS'
55887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55890
55891       cat >conftest.$ac_ext <<_ACEOF
55892 /* confdefs.h.  */
55893 _ACEOF
55894 cat confdefs.h >>conftest.$ac_ext
55895 cat >>conftest.$ac_ext <<_ACEOF
55896 /* end confdefs.h.  */
55897 #include <math.h>
55898 int
55899 main ()
55900 {
55901  _hypot(0, 0);
55902   ;
55903   return 0;
55904 }
55905 _ACEOF
55906 rm -f conftest.$ac_objext
55907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55908   (eval $ac_compile) 2>conftest.er1
55909   ac_status=$?
55910   grep -v '^ *+' conftest.er1 >conftest.err
55911   rm -f conftest.er1
55912   cat conftest.err >&5
55913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55914   (exit $ac_status); } &&
55915          { ac_try='test -z "$ac_cxx_werror_flag"
55916                          || test ! -s conftest.err'
55917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55918   (eval $ac_try) 2>&5
55919   ac_status=$?
55920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55921   (exit $ac_status); }; } &&
55922          { ac_try='test -s conftest.$ac_objext'
55923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55924   (eval $ac_try) 2>&5
55925   ac_status=$?
55926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55927   (exit $ac_status); }; }; then
55928   glibcxx_cv_func__hypot_use=yes
55929 else
55930   echo "$as_me: failed program was:" >&5
55931 sed 's/^/| /' conftest.$ac_ext >&5
55932
55933 glibcxx_cv_func__hypot_use=no
55934 fi
55935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55936       ac_ext=c
55937 ac_cpp='$CPP $CPPFLAGS'
55938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55941
55942
55943 fi
55944
55945   fi
55946   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
55947 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
55948
55949     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55950
55951 for ac_func in _hypot
55952 do
55953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55954 echo "$as_me:$LINENO: checking for $ac_func" >&5
55955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55956 if eval "test \"\${$as_ac_var+set}\" = set"; then
55957   echo $ECHO_N "(cached) $ECHO_C" >&6
55958 else
55959   if test x$gcc_no_link = xyes; then
55960   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55962    { (exit 1); exit 1; }; }
55963 fi
55964 cat >conftest.$ac_ext <<_ACEOF
55965 /* confdefs.h.  */
55966 _ACEOF
55967 cat confdefs.h >>conftest.$ac_ext
55968 cat >>conftest.$ac_ext <<_ACEOF
55969 /* end confdefs.h.  */
55970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55971    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55972 #define $ac_func innocuous_$ac_func
55973
55974 /* System header to define __stub macros and hopefully few prototypes,
55975     which can conflict with char $ac_func (); below.
55976     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55977     <limits.h> exists even on freestanding compilers.  */
55978
55979 #ifdef __STDC__
55980 # include <limits.h>
55981 #else
55982 # include <assert.h>
55983 #endif
55984
55985 #undef $ac_func
55986
55987 /* Override any gcc2 internal prototype to avoid an error.  */
55988 #ifdef __cplusplus
55989 extern "C"
55990 {
55991 #endif
55992 /* We use char because int might match the return type of a gcc2
55993    builtin and then its argument prototype would still apply.  */
55994 char $ac_func ();
55995 /* The GNU C library defines this for functions which it implements
55996     to always fail with ENOSYS.  Some functions are actually named
55997     something starting with __ and the normal name is an alias.  */
55998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55999 choke me
56000 #else
56001 char (*f) () = $ac_func;
56002 #endif
56003 #ifdef __cplusplus
56004 }
56005 #endif
56006
56007 int
56008 main ()
56009 {
56010 return f != $ac_func;
56011   ;
56012   return 0;
56013 }
56014 _ACEOF
56015 rm -f conftest.$ac_objext conftest$ac_exeext
56016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56017   (eval $ac_link) 2>conftest.er1
56018   ac_status=$?
56019   grep -v '^ *+' conftest.er1 >conftest.err
56020   rm -f conftest.er1
56021   cat conftest.err >&5
56022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56023   (exit $ac_status); } &&
56024          { ac_try='test -z "$ac_c_werror_flag"
56025                          || test ! -s conftest.err'
56026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56027   (eval $ac_try) 2>&5
56028   ac_status=$?
56029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56030   (exit $ac_status); }; } &&
56031          { ac_try='test -s conftest$ac_exeext'
56032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56033   (eval $ac_try) 2>&5
56034   ac_status=$?
56035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56036   (exit $ac_status); }; }; then
56037   eval "$as_ac_var=yes"
56038 else
56039   echo "$as_me: failed program was:" >&5
56040 sed 's/^/| /' conftest.$ac_ext >&5
56041
56042 eval "$as_ac_var=no"
56043 fi
56044 rm -f conftest.err conftest.$ac_objext \
56045       conftest$ac_exeext conftest.$ac_ext
56046 fi
56047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56049 if test `eval echo '${'$as_ac_var'}'` = yes; then
56050   cat >>confdefs.h <<_ACEOF
56051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56052 _ACEOF
56053
56054 fi
56055 done
56056
56057     fi
56058   fi
56059
56060
56061
56062
56063
56064
56065     echo "$as_me:$LINENO: checking for float trig functions" >&5
56066 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
56067   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
56068   echo $ECHO_N "(cached) $ECHO_C" >&6
56069 else
56070
56071
56072
56073     ac_ext=cc
56074 ac_cpp='$CXXCPP $CPPFLAGS'
56075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56078
56079     cat >conftest.$ac_ext <<_ACEOF
56080 /* confdefs.h.  */
56081 _ACEOF
56082 cat confdefs.h >>conftest.$ac_ext
56083 cat >>conftest.$ac_ext <<_ACEOF
56084 /* end confdefs.h.  */
56085 #include <math.h>
56086 int
56087 main ()
56088 {
56089 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
56090   ;
56091   return 0;
56092 }
56093 _ACEOF
56094 rm -f conftest.$ac_objext
56095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56096   (eval $ac_compile) 2>conftest.er1
56097   ac_status=$?
56098   grep -v '^ *+' conftest.er1 >conftest.err
56099   rm -f conftest.er1
56100   cat conftest.err >&5
56101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56102   (exit $ac_status); } &&
56103          { ac_try='test -z "$ac_cxx_werror_flag"
56104                          || test ! -s conftest.err'
56105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56106   (eval $ac_try) 2>&5
56107   ac_status=$?
56108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56109   (exit $ac_status); }; } &&
56110          { ac_try='test -s conftest.$ac_objext'
56111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56112   (eval $ac_try) 2>&5
56113   ac_status=$?
56114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56115   (exit $ac_status); }; }; then
56116   glibcxx_cv_func_float_trig_use=yes
56117 else
56118   echo "$as_me: failed program was:" >&5
56119 sed 's/^/| /' conftest.$ac_ext >&5
56120
56121 glibcxx_cv_func_float_trig_use=no
56122 fi
56123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56124     ac_ext=c
56125 ac_cpp='$CPP $CPPFLAGS'
56126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56129
56130 fi
56131
56132   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
56133 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
56134   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56135
56136
56137
56138
56139
56140
56141
56142
56143
56144 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
56145 do
56146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56147 echo "$as_me:$LINENO: checking for $ac_func" >&5
56148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56149 if eval "test \"\${$as_ac_var+set}\" = set"; then
56150   echo $ECHO_N "(cached) $ECHO_C" >&6
56151 else
56152   if test x$gcc_no_link = xyes; then
56153   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56155    { (exit 1); exit 1; }; }
56156 fi
56157 cat >conftest.$ac_ext <<_ACEOF
56158 /* confdefs.h.  */
56159 _ACEOF
56160 cat confdefs.h >>conftest.$ac_ext
56161 cat >>conftest.$ac_ext <<_ACEOF
56162 /* end confdefs.h.  */
56163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56164    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56165 #define $ac_func innocuous_$ac_func
56166
56167 /* System header to define __stub macros and hopefully few prototypes,
56168     which can conflict with char $ac_func (); below.
56169     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56170     <limits.h> exists even on freestanding compilers.  */
56171
56172 #ifdef __STDC__
56173 # include <limits.h>
56174 #else
56175 # include <assert.h>
56176 #endif
56177
56178 #undef $ac_func
56179
56180 /* Override any gcc2 internal prototype to avoid an error.  */
56181 #ifdef __cplusplus
56182 extern "C"
56183 {
56184 #endif
56185 /* We use char because int might match the return type of a gcc2
56186    builtin and then its argument prototype would still apply.  */
56187 char $ac_func ();
56188 /* The GNU C library defines this for functions which it implements
56189     to always fail with ENOSYS.  Some functions are actually named
56190     something starting with __ and the normal name is an alias.  */
56191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56192 choke me
56193 #else
56194 char (*f) () = $ac_func;
56195 #endif
56196 #ifdef __cplusplus
56197 }
56198 #endif
56199
56200 int
56201 main ()
56202 {
56203 return f != $ac_func;
56204   ;
56205   return 0;
56206 }
56207 _ACEOF
56208 rm -f conftest.$ac_objext conftest$ac_exeext
56209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56210   (eval $ac_link) 2>conftest.er1
56211   ac_status=$?
56212   grep -v '^ *+' conftest.er1 >conftest.err
56213   rm -f conftest.er1
56214   cat conftest.err >&5
56215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56216   (exit $ac_status); } &&
56217          { ac_try='test -z "$ac_c_werror_flag"
56218                          || test ! -s conftest.err'
56219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56220   (eval $ac_try) 2>&5
56221   ac_status=$?
56222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56223   (exit $ac_status); }; } &&
56224          { ac_try='test -s conftest$ac_exeext'
56225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56226   (eval $ac_try) 2>&5
56227   ac_status=$?
56228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56229   (exit $ac_status); }; }; then
56230   eval "$as_ac_var=yes"
56231 else
56232   echo "$as_me: failed program was:" >&5
56233 sed 's/^/| /' conftest.$ac_ext >&5
56234
56235 eval "$as_ac_var=no"
56236 fi
56237 rm -f conftest.err conftest.$ac_objext \
56238       conftest$ac_exeext conftest.$ac_ext
56239 fi
56240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56242 if test `eval echo '${'$as_ac_var'}'` = yes; then
56243   cat >>confdefs.h <<_ACEOF
56244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56245 _ACEOF
56246
56247 fi
56248 done
56249
56250   else
56251     echo "$as_me:$LINENO: checking for _float trig functions" >&5
56252 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
56253     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
56254   echo $ECHO_N "(cached) $ECHO_C" >&6
56255 else
56256
56257
56258
56259       ac_ext=cc
56260 ac_cpp='$CXXCPP $CPPFLAGS'
56261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56264
56265       cat >conftest.$ac_ext <<_ACEOF
56266 /* confdefs.h.  */
56267 _ACEOF
56268 cat confdefs.h >>conftest.$ac_ext
56269 cat >>conftest.$ac_ext <<_ACEOF
56270 /* end confdefs.h.  */
56271 #include <math.h>
56272 int
56273 main ()
56274 {
56275 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
56276   ;
56277   return 0;
56278 }
56279 _ACEOF
56280 rm -f conftest.$ac_objext
56281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56282   (eval $ac_compile) 2>conftest.er1
56283   ac_status=$?
56284   grep -v '^ *+' conftest.er1 >conftest.err
56285   rm -f conftest.er1
56286   cat conftest.err >&5
56287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56288   (exit $ac_status); } &&
56289          { ac_try='test -z "$ac_cxx_werror_flag"
56290                          || test ! -s conftest.err'
56291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56292   (eval $ac_try) 2>&5
56293   ac_status=$?
56294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56295   (exit $ac_status); }; } &&
56296          { ac_try='test -s conftest.$ac_objext'
56297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56298   (eval $ac_try) 2>&5
56299   ac_status=$?
56300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56301   (exit $ac_status); }; }; then
56302   glibcxx_cv_func__float_trig_use=yes
56303 else
56304   echo "$as_me: failed program was:" >&5
56305 sed 's/^/| /' conftest.$ac_ext >&5
56306
56307 glibcxx_cv_func__float_trig_use=no
56308 fi
56309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56310       ac_ext=c
56311 ac_cpp='$CPP $CPPFLAGS'
56312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56315
56316 fi
56317
56318     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
56319 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
56320     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
56321
56322
56323
56324
56325
56326
56327
56328
56329
56330 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
56331 do
56332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56333 echo "$as_me:$LINENO: checking for $ac_func" >&5
56334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56335 if eval "test \"\${$as_ac_var+set}\" = set"; then
56336   echo $ECHO_N "(cached) $ECHO_C" >&6
56337 else
56338   if test x$gcc_no_link = xyes; then
56339   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56341    { (exit 1); exit 1; }; }
56342 fi
56343 cat >conftest.$ac_ext <<_ACEOF
56344 /* confdefs.h.  */
56345 _ACEOF
56346 cat confdefs.h >>conftest.$ac_ext
56347 cat >>conftest.$ac_ext <<_ACEOF
56348 /* end confdefs.h.  */
56349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56350    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56351 #define $ac_func innocuous_$ac_func
56352
56353 /* System header to define __stub macros and hopefully few prototypes,
56354     which can conflict with char $ac_func (); below.
56355     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56356     <limits.h> exists even on freestanding compilers.  */
56357
56358 #ifdef __STDC__
56359 # include <limits.h>
56360 #else
56361 # include <assert.h>
56362 #endif
56363
56364 #undef $ac_func
56365
56366 /* Override any gcc2 internal prototype to avoid an error.  */
56367 #ifdef __cplusplus
56368 extern "C"
56369 {
56370 #endif
56371 /* We use char because int might match the return type of a gcc2
56372    builtin and then its argument prototype would still apply.  */
56373 char $ac_func ();
56374 /* The GNU C library defines this for functions which it implements
56375     to always fail with ENOSYS.  Some functions are actually named
56376     something starting with __ and the normal name is an alias.  */
56377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56378 choke me
56379 #else
56380 char (*f) () = $ac_func;
56381 #endif
56382 #ifdef __cplusplus
56383 }
56384 #endif
56385
56386 int
56387 main ()
56388 {
56389 return f != $ac_func;
56390   ;
56391   return 0;
56392 }
56393 _ACEOF
56394 rm -f conftest.$ac_objext conftest$ac_exeext
56395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56396   (eval $ac_link) 2>conftest.er1
56397   ac_status=$?
56398   grep -v '^ *+' conftest.er1 >conftest.err
56399   rm -f conftest.er1
56400   cat conftest.err >&5
56401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56402   (exit $ac_status); } &&
56403          { ac_try='test -z "$ac_c_werror_flag"
56404                          || test ! -s conftest.err'
56405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56406   (eval $ac_try) 2>&5
56407   ac_status=$?
56408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56409   (exit $ac_status); }; } &&
56410          { ac_try='test -s conftest$ac_exeext'
56411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56412   (eval $ac_try) 2>&5
56413   ac_status=$?
56414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56415   (exit $ac_status); }; }; then
56416   eval "$as_ac_var=yes"
56417 else
56418   echo "$as_me: failed program was:" >&5
56419 sed 's/^/| /' conftest.$ac_ext >&5
56420
56421 eval "$as_ac_var=no"
56422 fi
56423 rm -f conftest.err conftest.$ac_objext \
56424       conftest$ac_exeext conftest.$ac_ext
56425 fi
56426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56428 if test `eval echo '${'$as_ac_var'}'` = yes; then
56429   cat >>confdefs.h <<_ACEOF
56430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56431 _ACEOF
56432
56433 fi
56434 done
56435
56436     fi
56437   fi
56438
56439
56440
56441
56442
56443
56444
56445
56446
56447
56448
56449
56450
56451
56452     echo "$as_me:$LINENO: checking for float round functions" >&5
56453 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
56454   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
56455   echo $ECHO_N "(cached) $ECHO_C" >&6
56456 else
56457
56458
56459
56460     ac_ext=cc
56461 ac_cpp='$CXXCPP $CPPFLAGS'
56462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56465
56466     cat >conftest.$ac_ext <<_ACEOF
56467 /* confdefs.h.  */
56468 _ACEOF
56469 cat confdefs.h >>conftest.$ac_ext
56470 cat >>conftest.$ac_ext <<_ACEOF
56471 /* end confdefs.h.  */
56472 #include <math.h>
56473 int
56474 main ()
56475 {
56476 ceilf (0); floorf (0);
56477   ;
56478   return 0;
56479 }
56480 _ACEOF
56481 rm -f conftest.$ac_objext
56482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56483   (eval $ac_compile) 2>conftest.er1
56484   ac_status=$?
56485   grep -v '^ *+' conftest.er1 >conftest.err
56486   rm -f conftest.er1
56487   cat conftest.err >&5
56488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56489   (exit $ac_status); } &&
56490          { ac_try='test -z "$ac_cxx_werror_flag"
56491                          || test ! -s conftest.err'
56492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56493   (eval $ac_try) 2>&5
56494   ac_status=$?
56495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56496   (exit $ac_status); }; } &&
56497          { ac_try='test -s conftest.$ac_objext'
56498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56499   (eval $ac_try) 2>&5
56500   ac_status=$?
56501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56502   (exit $ac_status); }; }; then
56503   glibcxx_cv_func_float_round_use=yes
56504 else
56505   echo "$as_me: failed program was:" >&5
56506 sed 's/^/| /' conftest.$ac_ext >&5
56507
56508 glibcxx_cv_func_float_round_use=no
56509 fi
56510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56511     ac_ext=c
56512 ac_cpp='$CPP $CPPFLAGS'
56513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56516
56517 fi
56518
56519   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
56520 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
56521   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
56522
56523
56524 for ac_func in ceilf floorf
56525 do
56526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56527 echo "$as_me:$LINENO: checking for $ac_func" >&5
56528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56529 if eval "test \"\${$as_ac_var+set}\" = set"; then
56530   echo $ECHO_N "(cached) $ECHO_C" >&6
56531 else
56532   if test x$gcc_no_link = xyes; then
56533   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56535    { (exit 1); exit 1; }; }
56536 fi
56537 cat >conftest.$ac_ext <<_ACEOF
56538 /* confdefs.h.  */
56539 _ACEOF
56540 cat confdefs.h >>conftest.$ac_ext
56541 cat >>conftest.$ac_ext <<_ACEOF
56542 /* end confdefs.h.  */
56543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56544    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56545 #define $ac_func innocuous_$ac_func
56546
56547 /* System header to define __stub macros and hopefully few prototypes,
56548     which can conflict with char $ac_func (); below.
56549     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56550     <limits.h> exists even on freestanding compilers.  */
56551
56552 #ifdef __STDC__
56553 # include <limits.h>
56554 #else
56555 # include <assert.h>
56556 #endif
56557
56558 #undef $ac_func
56559
56560 /* Override any gcc2 internal prototype to avoid an error.  */
56561 #ifdef __cplusplus
56562 extern "C"
56563 {
56564 #endif
56565 /* We use char because int might match the return type of a gcc2
56566    builtin and then its argument prototype would still apply.  */
56567 char $ac_func ();
56568 /* The GNU C library defines this for functions which it implements
56569     to always fail with ENOSYS.  Some functions are actually named
56570     something starting with __ and the normal name is an alias.  */
56571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56572 choke me
56573 #else
56574 char (*f) () = $ac_func;
56575 #endif
56576 #ifdef __cplusplus
56577 }
56578 #endif
56579
56580 int
56581 main ()
56582 {
56583 return f != $ac_func;
56584   ;
56585   return 0;
56586 }
56587 _ACEOF
56588 rm -f conftest.$ac_objext conftest$ac_exeext
56589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56590   (eval $ac_link) 2>conftest.er1
56591   ac_status=$?
56592   grep -v '^ *+' conftest.er1 >conftest.err
56593   rm -f conftest.er1
56594   cat conftest.err >&5
56595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56596   (exit $ac_status); } &&
56597          { ac_try='test -z "$ac_c_werror_flag"
56598                          || test ! -s conftest.err'
56599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56600   (eval $ac_try) 2>&5
56601   ac_status=$?
56602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56603   (exit $ac_status); }; } &&
56604          { ac_try='test -s conftest$ac_exeext'
56605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56606   (eval $ac_try) 2>&5
56607   ac_status=$?
56608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56609   (exit $ac_status); }; }; then
56610   eval "$as_ac_var=yes"
56611 else
56612   echo "$as_me: failed program was:" >&5
56613 sed 's/^/| /' conftest.$ac_ext >&5
56614
56615 eval "$as_ac_var=no"
56616 fi
56617 rm -f conftest.err conftest.$ac_objext \
56618       conftest$ac_exeext conftest.$ac_ext
56619 fi
56620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56622 if test `eval echo '${'$as_ac_var'}'` = yes; then
56623   cat >>confdefs.h <<_ACEOF
56624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56625 _ACEOF
56626
56627 fi
56628 done
56629
56630   else
56631     echo "$as_me:$LINENO: checking for _float round functions" >&5
56632 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
56633     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
56634   echo $ECHO_N "(cached) $ECHO_C" >&6
56635 else
56636
56637
56638
56639       ac_ext=cc
56640 ac_cpp='$CXXCPP $CPPFLAGS'
56641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56644
56645       cat >conftest.$ac_ext <<_ACEOF
56646 /* confdefs.h.  */
56647 _ACEOF
56648 cat confdefs.h >>conftest.$ac_ext
56649 cat >>conftest.$ac_ext <<_ACEOF
56650 /* end confdefs.h.  */
56651 #include <math.h>
56652 int
56653 main ()
56654 {
56655 _ceilf (0); _floorf (0);
56656   ;
56657   return 0;
56658 }
56659 _ACEOF
56660 rm -f conftest.$ac_objext
56661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56662   (eval $ac_compile) 2>conftest.er1
56663   ac_status=$?
56664   grep -v '^ *+' conftest.er1 >conftest.err
56665   rm -f conftest.er1
56666   cat conftest.err >&5
56667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56668   (exit $ac_status); } &&
56669          { ac_try='test -z "$ac_cxx_werror_flag"
56670                          || test ! -s conftest.err'
56671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56672   (eval $ac_try) 2>&5
56673   ac_status=$?
56674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56675   (exit $ac_status); }; } &&
56676          { ac_try='test -s conftest.$ac_objext'
56677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56678   (eval $ac_try) 2>&5
56679   ac_status=$?
56680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56681   (exit $ac_status); }; }; then
56682   glibcxx_cv_func__float_round_use=yes
56683 else
56684   echo "$as_me: failed program was:" >&5
56685 sed 's/^/| /' conftest.$ac_ext >&5
56686
56687 glibcxx_cv_func__float_round_use=no
56688 fi
56689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56690       ac_ext=c
56691 ac_cpp='$CPP $CPPFLAGS'
56692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56695
56696 fi
56697
56698     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
56699 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
56700     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
56701
56702
56703 for ac_func in _ceilf _floorf
56704 do
56705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56706 echo "$as_me:$LINENO: checking for $ac_func" >&5
56707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56708 if eval "test \"\${$as_ac_var+set}\" = set"; then
56709   echo $ECHO_N "(cached) $ECHO_C" >&6
56710 else
56711   if test x$gcc_no_link = xyes; then
56712   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56714    { (exit 1); exit 1; }; }
56715 fi
56716 cat >conftest.$ac_ext <<_ACEOF
56717 /* confdefs.h.  */
56718 _ACEOF
56719 cat confdefs.h >>conftest.$ac_ext
56720 cat >>conftest.$ac_ext <<_ACEOF
56721 /* end confdefs.h.  */
56722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56723    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56724 #define $ac_func innocuous_$ac_func
56725
56726 /* System header to define __stub macros and hopefully few prototypes,
56727     which can conflict with char $ac_func (); below.
56728     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56729     <limits.h> exists even on freestanding compilers.  */
56730
56731 #ifdef __STDC__
56732 # include <limits.h>
56733 #else
56734 # include <assert.h>
56735 #endif
56736
56737 #undef $ac_func
56738
56739 /* Override any gcc2 internal prototype to avoid an error.  */
56740 #ifdef __cplusplus
56741 extern "C"
56742 {
56743 #endif
56744 /* We use char because int might match the return type of a gcc2
56745    builtin and then its argument prototype would still apply.  */
56746 char $ac_func ();
56747 /* The GNU C library defines this for functions which it implements
56748     to always fail with ENOSYS.  Some functions are actually named
56749     something starting with __ and the normal name is an alias.  */
56750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56751 choke me
56752 #else
56753 char (*f) () = $ac_func;
56754 #endif
56755 #ifdef __cplusplus
56756 }
56757 #endif
56758
56759 int
56760 main ()
56761 {
56762 return f != $ac_func;
56763   ;
56764   return 0;
56765 }
56766 _ACEOF
56767 rm -f conftest.$ac_objext conftest$ac_exeext
56768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56769   (eval $ac_link) 2>conftest.er1
56770   ac_status=$?
56771   grep -v '^ *+' conftest.er1 >conftest.err
56772   rm -f conftest.er1
56773   cat conftest.err >&5
56774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56775   (exit $ac_status); } &&
56776          { ac_try='test -z "$ac_c_werror_flag"
56777                          || test ! -s conftest.err'
56778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56779   (eval $ac_try) 2>&5
56780   ac_status=$?
56781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56782   (exit $ac_status); }; } &&
56783          { ac_try='test -s conftest$ac_exeext'
56784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56785   (eval $ac_try) 2>&5
56786   ac_status=$?
56787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56788   (exit $ac_status); }; }; then
56789   eval "$as_ac_var=yes"
56790 else
56791   echo "$as_me: failed program was:" >&5
56792 sed 's/^/| /' conftest.$ac_ext >&5
56793
56794 eval "$as_ac_var=no"
56795 fi
56796 rm -f conftest.err conftest.$ac_objext \
56797       conftest$ac_exeext conftest.$ac_ext
56798 fi
56799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56801 if test `eval echo '${'$as_ac_var'}'` = yes; then
56802   cat >>confdefs.h <<_ACEOF
56803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56804 _ACEOF
56805
56806 fi
56807 done
56808
56809     fi
56810   fi
56811
56812
56813
56814
56815
56816
56817
56818
56819   echo "$as_me:$LINENO: checking for expf declaration" >&5
56820 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
56821   if test x${glibcxx_cv_func_expf_use+set} != xset; then
56822     if test "${glibcxx_cv_func_expf_use+set}" = set; then
56823   echo $ECHO_N "(cached) $ECHO_C" >&6
56824 else
56825
56826
56827
56828       ac_ext=cc
56829 ac_cpp='$CXXCPP $CPPFLAGS'
56830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56833
56834       cat >conftest.$ac_ext <<_ACEOF
56835 /* confdefs.h.  */
56836 _ACEOF
56837 cat confdefs.h >>conftest.$ac_ext
56838 cat >>conftest.$ac_ext <<_ACEOF
56839 /* end confdefs.h.  */
56840 #include <math.h>
56841                       #ifdef HAVE_IEEEFP_H
56842                       #include <ieeefp.h>
56843                       #endif
56844
56845 int
56846 main ()
56847 {
56848  expf(0);
56849   ;
56850   return 0;
56851 }
56852 _ACEOF
56853 rm -f conftest.$ac_objext
56854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56855   (eval $ac_compile) 2>conftest.er1
56856   ac_status=$?
56857   grep -v '^ *+' conftest.er1 >conftest.err
56858   rm -f conftest.er1
56859   cat conftest.err >&5
56860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56861   (exit $ac_status); } &&
56862          { ac_try='test -z "$ac_cxx_werror_flag"
56863                          || test ! -s conftest.err'
56864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56865   (eval $ac_try) 2>&5
56866   ac_status=$?
56867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56868   (exit $ac_status); }; } &&
56869          { ac_try='test -s conftest.$ac_objext'
56870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56871   (eval $ac_try) 2>&5
56872   ac_status=$?
56873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56874   (exit $ac_status); }; }; then
56875   glibcxx_cv_func_expf_use=yes
56876 else
56877   echo "$as_me: failed program was:" >&5
56878 sed 's/^/| /' conftest.$ac_ext >&5
56879
56880 glibcxx_cv_func_expf_use=no
56881 fi
56882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56883       ac_ext=c
56884 ac_cpp='$CPP $CPPFLAGS'
56885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56888
56889
56890 fi
56891
56892   fi
56893   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
56894 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
56895
56896   if test x$glibcxx_cv_func_expf_use = x"yes"; then
56897
56898 for ac_func in expf
56899 do
56900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56901 echo "$as_me:$LINENO: checking for $ac_func" >&5
56902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56903 if eval "test \"\${$as_ac_var+set}\" = set"; then
56904   echo $ECHO_N "(cached) $ECHO_C" >&6
56905 else
56906   if test x$gcc_no_link = xyes; then
56907   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56909    { (exit 1); exit 1; }; }
56910 fi
56911 cat >conftest.$ac_ext <<_ACEOF
56912 /* confdefs.h.  */
56913 _ACEOF
56914 cat confdefs.h >>conftest.$ac_ext
56915 cat >>conftest.$ac_ext <<_ACEOF
56916 /* end confdefs.h.  */
56917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56918    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56919 #define $ac_func innocuous_$ac_func
56920
56921 /* System header to define __stub macros and hopefully few prototypes,
56922     which can conflict with char $ac_func (); below.
56923     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56924     <limits.h> exists even on freestanding compilers.  */
56925
56926 #ifdef __STDC__
56927 # include <limits.h>
56928 #else
56929 # include <assert.h>
56930 #endif
56931
56932 #undef $ac_func
56933
56934 /* Override any gcc2 internal prototype to avoid an error.  */
56935 #ifdef __cplusplus
56936 extern "C"
56937 {
56938 #endif
56939 /* We use char because int might match the return type of a gcc2
56940    builtin and then its argument prototype would still apply.  */
56941 char $ac_func ();
56942 /* The GNU C library defines this for functions which it implements
56943     to always fail with ENOSYS.  Some functions are actually named
56944     something starting with __ and the normal name is an alias.  */
56945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56946 choke me
56947 #else
56948 char (*f) () = $ac_func;
56949 #endif
56950 #ifdef __cplusplus
56951 }
56952 #endif
56953
56954 int
56955 main ()
56956 {
56957 return f != $ac_func;
56958   ;
56959   return 0;
56960 }
56961 _ACEOF
56962 rm -f conftest.$ac_objext conftest$ac_exeext
56963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56964   (eval $ac_link) 2>conftest.er1
56965   ac_status=$?
56966   grep -v '^ *+' conftest.er1 >conftest.err
56967   rm -f conftest.er1
56968   cat conftest.err >&5
56969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56970   (exit $ac_status); } &&
56971          { ac_try='test -z "$ac_c_werror_flag"
56972                          || test ! -s conftest.err'
56973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56974   (eval $ac_try) 2>&5
56975   ac_status=$?
56976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56977   (exit $ac_status); }; } &&
56978          { ac_try='test -s conftest$ac_exeext'
56979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56980   (eval $ac_try) 2>&5
56981   ac_status=$?
56982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56983   (exit $ac_status); }; }; then
56984   eval "$as_ac_var=yes"
56985 else
56986   echo "$as_me: failed program was:" >&5
56987 sed 's/^/| /' conftest.$ac_ext >&5
56988
56989 eval "$as_ac_var=no"
56990 fi
56991 rm -f conftest.err conftest.$ac_objext \
56992       conftest$ac_exeext conftest.$ac_ext
56993 fi
56994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56995 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56996 if test `eval echo '${'$as_ac_var'}'` = yes; then
56997   cat >>confdefs.h <<_ACEOF
56998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56999 _ACEOF
57000
57001 fi
57002 done
57003
57004   else
57005
57006   echo "$as_me:$LINENO: checking for _expf declaration" >&5
57007 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
57008   if test x${glibcxx_cv_func__expf_use+set} != xset; then
57009     if test "${glibcxx_cv_func__expf_use+set}" = set; then
57010   echo $ECHO_N "(cached) $ECHO_C" >&6
57011 else
57012
57013
57014
57015       ac_ext=cc
57016 ac_cpp='$CXXCPP $CPPFLAGS'
57017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57020
57021       cat >conftest.$ac_ext <<_ACEOF
57022 /* confdefs.h.  */
57023 _ACEOF
57024 cat confdefs.h >>conftest.$ac_ext
57025 cat >>conftest.$ac_ext <<_ACEOF
57026 /* end confdefs.h.  */
57027 #include <math.h>
57028                       #ifdef HAVE_IEEEFP_H
57029                       #include <ieeefp.h>
57030                       #endif
57031
57032 int
57033 main ()
57034 {
57035  _expf(0);
57036   ;
57037   return 0;
57038 }
57039 _ACEOF
57040 rm -f conftest.$ac_objext
57041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57042   (eval $ac_compile) 2>conftest.er1
57043   ac_status=$?
57044   grep -v '^ *+' conftest.er1 >conftest.err
57045   rm -f conftest.er1
57046   cat conftest.err >&5
57047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57048   (exit $ac_status); } &&
57049          { ac_try='test -z "$ac_cxx_werror_flag"
57050                          || test ! -s conftest.err'
57051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57052   (eval $ac_try) 2>&5
57053   ac_status=$?
57054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57055   (exit $ac_status); }; } &&
57056          { ac_try='test -s conftest.$ac_objext'
57057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57058   (eval $ac_try) 2>&5
57059   ac_status=$?
57060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57061   (exit $ac_status); }; }; then
57062   glibcxx_cv_func__expf_use=yes
57063 else
57064   echo "$as_me: failed program was:" >&5
57065 sed 's/^/| /' conftest.$ac_ext >&5
57066
57067 glibcxx_cv_func__expf_use=no
57068 fi
57069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57070       ac_ext=c
57071 ac_cpp='$CPP $CPPFLAGS'
57072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57075
57076
57077 fi
57078
57079   fi
57080   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
57081 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
57082
57083     if test x$glibcxx_cv_func__expf_use = x"yes"; then
57084
57085 for ac_func in _expf
57086 do
57087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57088 echo "$as_me:$LINENO: checking for $ac_func" >&5
57089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57090 if eval "test \"\${$as_ac_var+set}\" = set"; then
57091   echo $ECHO_N "(cached) $ECHO_C" >&6
57092 else
57093   if test x$gcc_no_link = xyes; then
57094   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57096    { (exit 1); exit 1; }; }
57097 fi
57098 cat >conftest.$ac_ext <<_ACEOF
57099 /* confdefs.h.  */
57100 _ACEOF
57101 cat confdefs.h >>conftest.$ac_ext
57102 cat >>conftest.$ac_ext <<_ACEOF
57103 /* end confdefs.h.  */
57104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57105    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57106 #define $ac_func innocuous_$ac_func
57107
57108 /* System header to define __stub macros and hopefully few prototypes,
57109     which can conflict with char $ac_func (); below.
57110     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57111     <limits.h> exists even on freestanding compilers.  */
57112
57113 #ifdef __STDC__
57114 # include <limits.h>
57115 #else
57116 # include <assert.h>
57117 #endif
57118
57119 #undef $ac_func
57120
57121 /* Override any gcc2 internal prototype to avoid an error.  */
57122 #ifdef __cplusplus
57123 extern "C"
57124 {
57125 #endif
57126 /* We use char because int might match the return type of a gcc2
57127    builtin and then its argument prototype would still apply.  */
57128 char $ac_func ();
57129 /* The GNU C library defines this for functions which it implements
57130     to always fail with ENOSYS.  Some functions are actually named
57131     something starting with __ and the normal name is an alias.  */
57132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57133 choke me
57134 #else
57135 char (*f) () = $ac_func;
57136 #endif
57137 #ifdef __cplusplus
57138 }
57139 #endif
57140
57141 int
57142 main ()
57143 {
57144 return f != $ac_func;
57145   ;
57146   return 0;
57147 }
57148 _ACEOF
57149 rm -f conftest.$ac_objext conftest$ac_exeext
57150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57151   (eval $ac_link) 2>conftest.er1
57152   ac_status=$?
57153   grep -v '^ *+' conftest.er1 >conftest.err
57154   rm -f conftest.er1
57155   cat conftest.err >&5
57156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57157   (exit $ac_status); } &&
57158          { ac_try='test -z "$ac_c_werror_flag"
57159                          || test ! -s conftest.err'
57160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57161   (eval $ac_try) 2>&5
57162   ac_status=$?
57163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57164   (exit $ac_status); }; } &&
57165          { ac_try='test -s conftest$ac_exeext'
57166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57167   (eval $ac_try) 2>&5
57168   ac_status=$?
57169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57170   (exit $ac_status); }; }; then
57171   eval "$as_ac_var=yes"
57172 else
57173   echo "$as_me: failed program was:" >&5
57174 sed 's/^/| /' conftest.$ac_ext >&5
57175
57176 eval "$as_ac_var=no"
57177 fi
57178 rm -f conftest.err conftest.$ac_objext \
57179       conftest$ac_exeext conftest.$ac_ext
57180 fi
57181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57183 if test `eval echo '${'$as_ac_var'}'` = yes; then
57184   cat >>confdefs.h <<_ACEOF
57185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57186 _ACEOF
57187
57188 fi
57189 done
57190
57191     fi
57192   fi
57193
57194
57195
57196
57197
57198
57199   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
57200 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
57201   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
57202     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
57203   echo $ECHO_N "(cached) $ECHO_C" >&6
57204 else
57205
57206
57207
57208       ac_ext=cc
57209 ac_cpp='$CXXCPP $CPPFLAGS'
57210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57213
57214       cat >conftest.$ac_ext <<_ACEOF
57215 /* confdefs.h.  */
57216 _ACEOF
57217 cat confdefs.h >>conftest.$ac_ext
57218 cat >>conftest.$ac_ext <<_ACEOF
57219 /* end confdefs.h.  */
57220 #include <math.h>
57221                       #ifdef HAVE_IEEEFP_H
57222                       #include <ieeefp.h>
57223                       #endif
57224
57225 int
57226 main ()
57227 {
57228  isnanf(0);
57229   ;
57230   return 0;
57231 }
57232 _ACEOF
57233 rm -f conftest.$ac_objext
57234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57235   (eval $ac_compile) 2>conftest.er1
57236   ac_status=$?
57237   grep -v '^ *+' conftest.er1 >conftest.err
57238   rm -f conftest.er1
57239   cat conftest.err >&5
57240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57241   (exit $ac_status); } &&
57242          { ac_try='test -z "$ac_cxx_werror_flag"
57243                          || test ! -s conftest.err'
57244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57245   (eval $ac_try) 2>&5
57246   ac_status=$?
57247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57248   (exit $ac_status); }; } &&
57249          { ac_try='test -s conftest.$ac_objext'
57250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57251   (eval $ac_try) 2>&5
57252   ac_status=$?
57253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57254   (exit $ac_status); }; }; then
57255   glibcxx_cv_func_isnanf_use=yes
57256 else
57257   echo "$as_me: failed program was:" >&5
57258 sed 's/^/| /' conftest.$ac_ext >&5
57259
57260 glibcxx_cv_func_isnanf_use=no
57261 fi
57262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57263       ac_ext=c
57264 ac_cpp='$CPP $CPPFLAGS'
57265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57268
57269
57270 fi
57271
57272   fi
57273   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
57274 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
57275
57276   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
57277
57278 for ac_func in isnanf
57279 do
57280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57281 echo "$as_me:$LINENO: checking for $ac_func" >&5
57282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57283 if eval "test \"\${$as_ac_var+set}\" = set"; then
57284   echo $ECHO_N "(cached) $ECHO_C" >&6
57285 else
57286   if test x$gcc_no_link = xyes; then
57287   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57289    { (exit 1); exit 1; }; }
57290 fi
57291 cat >conftest.$ac_ext <<_ACEOF
57292 /* confdefs.h.  */
57293 _ACEOF
57294 cat confdefs.h >>conftest.$ac_ext
57295 cat >>conftest.$ac_ext <<_ACEOF
57296 /* end confdefs.h.  */
57297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57298    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57299 #define $ac_func innocuous_$ac_func
57300
57301 /* System header to define __stub macros and hopefully few prototypes,
57302     which can conflict with char $ac_func (); below.
57303     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57304     <limits.h> exists even on freestanding compilers.  */
57305
57306 #ifdef __STDC__
57307 # include <limits.h>
57308 #else
57309 # include <assert.h>
57310 #endif
57311
57312 #undef $ac_func
57313
57314 /* Override any gcc2 internal prototype to avoid an error.  */
57315 #ifdef __cplusplus
57316 extern "C"
57317 {
57318 #endif
57319 /* We use char because int might match the return type of a gcc2
57320    builtin and then its argument prototype would still apply.  */
57321 char $ac_func ();
57322 /* The GNU C library defines this for functions which it implements
57323     to always fail with ENOSYS.  Some functions are actually named
57324     something starting with __ and the normal name is an alias.  */
57325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57326 choke me
57327 #else
57328 char (*f) () = $ac_func;
57329 #endif
57330 #ifdef __cplusplus
57331 }
57332 #endif
57333
57334 int
57335 main ()
57336 {
57337 return f != $ac_func;
57338   ;
57339   return 0;
57340 }
57341 _ACEOF
57342 rm -f conftest.$ac_objext conftest$ac_exeext
57343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57344   (eval $ac_link) 2>conftest.er1
57345   ac_status=$?
57346   grep -v '^ *+' conftest.er1 >conftest.err
57347   rm -f conftest.er1
57348   cat conftest.err >&5
57349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57350   (exit $ac_status); } &&
57351          { ac_try='test -z "$ac_c_werror_flag"
57352                          || test ! -s conftest.err'
57353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57354   (eval $ac_try) 2>&5
57355   ac_status=$?
57356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57357   (exit $ac_status); }; } &&
57358          { ac_try='test -s conftest$ac_exeext'
57359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57360   (eval $ac_try) 2>&5
57361   ac_status=$?
57362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57363   (exit $ac_status); }; }; then
57364   eval "$as_ac_var=yes"
57365 else
57366   echo "$as_me: failed program was:" >&5
57367 sed 's/^/| /' conftest.$ac_ext >&5
57368
57369 eval "$as_ac_var=no"
57370 fi
57371 rm -f conftest.err conftest.$ac_objext \
57372       conftest$ac_exeext conftest.$ac_ext
57373 fi
57374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57376 if test `eval echo '${'$as_ac_var'}'` = yes; then
57377   cat >>confdefs.h <<_ACEOF
57378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57379 _ACEOF
57380
57381 fi
57382 done
57383
57384   else
57385
57386   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
57387 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
57388   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
57389     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
57390   echo $ECHO_N "(cached) $ECHO_C" >&6
57391 else
57392
57393
57394
57395       ac_ext=cc
57396 ac_cpp='$CXXCPP $CPPFLAGS'
57397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57400
57401       cat >conftest.$ac_ext <<_ACEOF
57402 /* confdefs.h.  */
57403 _ACEOF
57404 cat confdefs.h >>conftest.$ac_ext
57405 cat >>conftest.$ac_ext <<_ACEOF
57406 /* end confdefs.h.  */
57407 #include <math.h>
57408                       #ifdef HAVE_IEEEFP_H
57409                       #include <ieeefp.h>
57410                       #endif
57411
57412 int
57413 main ()
57414 {
57415  _isnanf(0);
57416   ;
57417   return 0;
57418 }
57419 _ACEOF
57420 rm -f conftest.$ac_objext
57421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57422   (eval $ac_compile) 2>conftest.er1
57423   ac_status=$?
57424   grep -v '^ *+' conftest.er1 >conftest.err
57425   rm -f conftest.er1
57426   cat conftest.err >&5
57427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57428   (exit $ac_status); } &&
57429          { ac_try='test -z "$ac_cxx_werror_flag"
57430                          || test ! -s conftest.err'
57431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57432   (eval $ac_try) 2>&5
57433   ac_status=$?
57434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57435   (exit $ac_status); }; } &&
57436          { ac_try='test -s conftest.$ac_objext'
57437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57438   (eval $ac_try) 2>&5
57439   ac_status=$?
57440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57441   (exit $ac_status); }; }; then
57442   glibcxx_cv_func__isnanf_use=yes
57443 else
57444   echo "$as_me: failed program was:" >&5
57445 sed 's/^/| /' conftest.$ac_ext >&5
57446
57447 glibcxx_cv_func__isnanf_use=no
57448 fi
57449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57450       ac_ext=c
57451 ac_cpp='$CPP $CPPFLAGS'
57452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57455
57456
57457 fi
57458
57459   fi
57460   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
57461 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
57462
57463     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
57464
57465 for ac_func in _isnanf
57466 do
57467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57468 echo "$as_me:$LINENO: checking for $ac_func" >&5
57469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57470 if eval "test \"\${$as_ac_var+set}\" = set"; then
57471   echo $ECHO_N "(cached) $ECHO_C" >&6
57472 else
57473   if test x$gcc_no_link = xyes; then
57474   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57476    { (exit 1); exit 1; }; }
57477 fi
57478 cat >conftest.$ac_ext <<_ACEOF
57479 /* confdefs.h.  */
57480 _ACEOF
57481 cat confdefs.h >>conftest.$ac_ext
57482 cat >>conftest.$ac_ext <<_ACEOF
57483 /* end confdefs.h.  */
57484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57485    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57486 #define $ac_func innocuous_$ac_func
57487
57488 /* System header to define __stub macros and hopefully few prototypes,
57489     which can conflict with char $ac_func (); below.
57490     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57491     <limits.h> exists even on freestanding compilers.  */
57492
57493 #ifdef __STDC__
57494 # include <limits.h>
57495 #else
57496 # include <assert.h>
57497 #endif
57498
57499 #undef $ac_func
57500
57501 /* Override any gcc2 internal prototype to avoid an error.  */
57502 #ifdef __cplusplus
57503 extern "C"
57504 {
57505 #endif
57506 /* We use char because int might match the return type of a gcc2
57507    builtin and then its argument prototype would still apply.  */
57508 char $ac_func ();
57509 /* The GNU C library defines this for functions which it implements
57510     to always fail with ENOSYS.  Some functions are actually named
57511     something starting with __ and the normal name is an alias.  */
57512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57513 choke me
57514 #else
57515 char (*f) () = $ac_func;
57516 #endif
57517 #ifdef __cplusplus
57518 }
57519 #endif
57520
57521 int
57522 main ()
57523 {
57524 return f != $ac_func;
57525   ;
57526   return 0;
57527 }
57528 _ACEOF
57529 rm -f conftest.$ac_objext conftest$ac_exeext
57530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57531   (eval $ac_link) 2>conftest.er1
57532   ac_status=$?
57533   grep -v '^ *+' conftest.er1 >conftest.err
57534   rm -f conftest.er1
57535   cat conftest.err >&5
57536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57537   (exit $ac_status); } &&
57538          { ac_try='test -z "$ac_c_werror_flag"
57539                          || test ! -s conftest.err'
57540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57541   (eval $ac_try) 2>&5
57542   ac_status=$?
57543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57544   (exit $ac_status); }; } &&
57545          { ac_try='test -s conftest$ac_exeext'
57546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57547   (eval $ac_try) 2>&5
57548   ac_status=$?
57549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57550   (exit $ac_status); }; }; then
57551   eval "$as_ac_var=yes"
57552 else
57553   echo "$as_me: failed program was:" >&5
57554 sed 's/^/| /' conftest.$ac_ext >&5
57555
57556 eval "$as_ac_var=no"
57557 fi
57558 rm -f conftest.err conftest.$ac_objext \
57559       conftest$ac_exeext conftest.$ac_ext
57560 fi
57561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57563 if test `eval echo '${'$as_ac_var'}'` = yes; then
57564   cat >>confdefs.h <<_ACEOF
57565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57566 _ACEOF
57567
57568 fi
57569 done
57570
57571     fi
57572   fi
57573
57574
57575
57576
57577
57578
57579   echo "$as_me:$LINENO: checking for isinff declaration" >&5
57580 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
57581   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
57582     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
57583   echo $ECHO_N "(cached) $ECHO_C" >&6
57584 else
57585
57586
57587
57588       ac_ext=cc
57589 ac_cpp='$CXXCPP $CPPFLAGS'
57590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57593
57594       cat >conftest.$ac_ext <<_ACEOF
57595 /* confdefs.h.  */
57596 _ACEOF
57597 cat confdefs.h >>conftest.$ac_ext
57598 cat >>conftest.$ac_ext <<_ACEOF
57599 /* end confdefs.h.  */
57600 #include <math.h>
57601                       #ifdef HAVE_IEEEFP_H
57602                       #include <ieeefp.h>
57603                       #endif
57604
57605 int
57606 main ()
57607 {
57608  isinff(0);
57609   ;
57610   return 0;
57611 }
57612 _ACEOF
57613 rm -f conftest.$ac_objext
57614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57615   (eval $ac_compile) 2>conftest.er1
57616   ac_status=$?
57617   grep -v '^ *+' conftest.er1 >conftest.err
57618   rm -f conftest.er1
57619   cat conftest.err >&5
57620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57621   (exit $ac_status); } &&
57622          { ac_try='test -z "$ac_cxx_werror_flag"
57623                          || test ! -s conftest.err'
57624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57625   (eval $ac_try) 2>&5
57626   ac_status=$?
57627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57628   (exit $ac_status); }; } &&
57629          { ac_try='test -s conftest.$ac_objext'
57630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57631   (eval $ac_try) 2>&5
57632   ac_status=$?
57633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57634   (exit $ac_status); }; }; then
57635   glibcxx_cv_func_isinff_use=yes
57636 else
57637   echo "$as_me: failed program was:" >&5
57638 sed 's/^/| /' conftest.$ac_ext >&5
57639
57640 glibcxx_cv_func_isinff_use=no
57641 fi
57642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57643       ac_ext=c
57644 ac_cpp='$CPP $CPPFLAGS'
57645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57648
57649
57650 fi
57651
57652   fi
57653   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
57654 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
57655
57656   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
57657
57658 for ac_func in isinff
57659 do
57660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57661 echo "$as_me:$LINENO: checking for $ac_func" >&5
57662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57663 if eval "test \"\${$as_ac_var+set}\" = set"; then
57664   echo $ECHO_N "(cached) $ECHO_C" >&6
57665 else
57666   if test x$gcc_no_link = xyes; then
57667   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57669    { (exit 1); exit 1; }; }
57670 fi
57671 cat >conftest.$ac_ext <<_ACEOF
57672 /* confdefs.h.  */
57673 _ACEOF
57674 cat confdefs.h >>conftest.$ac_ext
57675 cat >>conftest.$ac_ext <<_ACEOF
57676 /* end confdefs.h.  */
57677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57678    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57679 #define $ac_func innocuous_$ac_func
57680
57681 /* System header to define __stub macros and hopefully few prototypes,
57682     which can conflict with char $ac_func (); below.
57683     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57684     <limits.h> exists even on freestanding compilers.  */
57685
57686 #ifdef __STDC__
57687 # include <limits.h>
57688 #else
57689 # include <assert.h>
57690 #endif
57691
57692 #undef $ac_func
57693
57694 /* Override any gcc2 internal prototype to avoid an error.  */
57695 #ifdef __cplusplus
57696 extern "C"
57697 {
57698 #endif
57699 /* We use char because int might match the return type of a gcc2
57700    builtin and then its argument prototype would still apply.  */
57701 char $ac_func ();
57702 /* The GNU C library defines this for functions which it implements
57703     to always fail with ENOSYS.  Some functions are actually named
57704     something starting with __ and the normal name is an alias.  */
57705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57706 choke me
57707 #else
57708 char (*f) () = $ac_func;
57709 #endif
57710 #ifdef __cplusplus
57711 }
57712 #endif
57713
57714 int
57715 main ()
57716 {
57717 return f != $ac_func;
57718   ;
57719   return 0;
57720 }
57721 _ACEOF
57722 rm -f conftest.$ac_objext conftest$ac_exeext
57723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57724   (eval $ac_link) 2>conftest.er1
57725   ac_status=$?
57726   grep -v '^ *+' conftest.er1 >conftest.err
57727   rm -f conftest.er1
57728   cat conftest.err >&5
57729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57730   (exit $ac_status); } &&
57731          { ac_try='test -z "$ac_c_werror_flag"
57732                          || test ! -s conftest.err'
57733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57734   (eval $ac_try) 2>&5
57735   ac_status=$?
57736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57737   (exit $ac_status); }; } &&
57738          { ac_try='test -s conftest$ac_exeext'
57739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57740   (eval $ac_try) 2>&5
57741   ac_status=$?
57742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57743   (exit $ac_status); }; }; then
57744   eval "$as_ac_var=yes"
57745 else
57746   echo "$as_me: failed program was:" >&5
57747 sed 's/^/| /' conftest.$ac_ext >&5
57748
57749 eval "$as_ac_var=no"
57750 fi
57751 rm -f conftest.err conftest.$ac_objext \
57752       conftest$ac_exeext conftest.$ac_ext
57753 fi
57754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57756 if test `eval echo '${'$as_ac_var'}'` = yes; then
57757   cat >>confdefs.h <<_ACEOF
57758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57759 _ACEOF
57760
57761 fi
57762 done
57763
57764   else
57765
57766   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
57767 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
57768   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
57769     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
57770   echo $ECHO_N "(cached) $ECHO_C" >&6
57771 else
57772
57773
57774
57775       ac_ext=cc
57776 ac_cpp='$CXXCPP $CPPFLAGS'
57777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57780
57781       cat >conftest.$ac_ext <<_ACEOF
57782 /* confdefs.h.  */
57783 _ACEOF
57784 cat confdefs.h >>conftest.$ac_ext
57785 cat >>conftest.$ac_ext <<_ACEOF
57786 /* end confdefs.h.  */
57787 #include <math.h>
57788                       #ifdef HAVE_IEEEFP_H
57789                       #include <ieeefp.h>
57790                       #endif
57791
57792 int
57793 main ()
57794 {
57795  _isinff(0);
57796   ;
57797   return 0;
57798 }
57799 _ACEOF
57800 rm -f conftest.$ac_objext
57801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57802   (eval $ac_compile) 2>conftest.er1
57803   ac_status=$?
57804   grep -v '^ *+' conftest.er1 >conftest.err
57805   rm -f conftest.er1
57806   cat conftest.err >&5
57807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57808   (exit $ac_status); } &&
57809          { ac_try='test -z "$ac_cxx_werror_flag"
57810                          || test ! -s conftest.err'
57811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57812   (eval $ac_try) 2>&5
57813   ac_status=$?
57814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57815   (exit $ac_status); }; } &&
57816          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
57822   glibcxx_cv_func__isinff_use=yes
57823 else
57824   echo "$as_me: failed program was:" >&5
57825 sed 's/^/| /' conftest.$ac_ext >&5
57826
57827 glibcxx_cv_func__isinff_use=no
57828 fi
57829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57830       ac_ext=c
57831 ac_cpp='$CPP $CPPFLAGS'
57832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57835
57836
57837 fi
57838
57839   fi
57840   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
57841 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
57842
57843     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
57844
57845 for ac_func in _isinff
57846 do
57847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57848 echo "$as_me:$LINENO: checking for $ac_func" >&5
57849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57850 if eval "test \"\${$as_ac_var+set}\" = set"; then
57851   echo $ECHO_N "(cached) $ECHO_C" >&6
57852 else
57853   if test x$gcc_no_link = xyes; then
57854   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57856    { (exit 1); exit 1; }; }
57857 fi
57858 cat >conftest.$ac_ext <<_ACEOF
57859 /* confdefs.h.  */
57860 _ACEOF
57861 cat confdefs.h >>conftest.$ac_ext
57862 cat >>conftest.$ac_ext <<_ACEOF
57863 /* end confdefs.h.  */
57864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57865    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57866 #define $ac_func innocuous_$ac_func
57867
57868 /* System header to define __stub macros and hopefully few prototypes,
57869     which can conflict with char $ac_func (); below.
57870     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57871     <limits.h> exists even on freestanding compilers.  */
57872
57873 #ifdef __STDC__
57874 # include <limits.h>
57875 #else
57876 # include <assert.h>
57877 #endif
57878
57879 #undef $ac_func
57880
57881 /* Override any gcc2 internal prototype to avoid an error.  */
57882 #ifdef __cplusplus
57883 extern "C"
57884 {
57885 #endif
57886 /* We use char because int might match the return type of a gcc2
57887    builtin and then its argument prototype would still apply.  */
57888 char $ac_func ();
57889 /* The GNU C library defines this for functions which it implements
57890     to always fail with ENOSYS.  Some functions are actually named
57891     something starting with __ and the normal name is an alias.  */
57892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57893 choke me
57894 #else
57895 char (*f) () = $ac_func;
57896 #endif
57897 #ifdef __cplusplus
57898 }
57899 #endif
57900
57901 int
57902 main ()
57903 {
57904 return f != $ac_func;
57905   ;
57906   return 0;
57907 }
57908 _ACEOF
57909 rm -f conftest.$ac_objext conftest$ac_exeext
57910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57911   (eval $ac_link) 2>conftest.er1
57912   ac_status=$?
57913   grep -v '^ *+' conftest.er1 >conftest.err
57914   rm -f conftest.er1
57915   cat conftest.err >&5
57916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57917   (exit $ac_status); } &&
57918          { ac_try='test -z "$ac_c_werror_flag"
57919                          || test ! -s conftest.err'
57920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57921   (eval $ac_try) 2>&5
57922   ac_status=$?
57923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57924   (exit $ac_status); }; } &&
57925          { ac_try='test -s conftest$ac_exeext'
57926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57927   (eval $ac_try) 2>&5
57928   ac_status=$?
57929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57930   (exit $ac_status); }; }; then
57931   eval "$as_ac_var=yes"
57932 else
57933   echo "$as_me: failed program was:" >&5
57934 sed 's/^/| /' conftest.$ac_ext >&5
57935
57936 eval "$as_ac_var=no"
57937 fi
57938 rm -f conftest.err conftest.$ac_objext \
57939       conftest$ac_exeext conftest.$ac_ext
57940 fi
57941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57943 if test `eval echo '${'$as_ac_var'}'` = yes; then
57944   cat >>confdefs.h <<_ACEOF
57945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57946 _ACEOF
57947
57948 fi
57949 done
57950
57951     fi
57952   fi
57953
57954
57955
57956
57957
57958
57959   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
57960 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
57961   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
57962     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
57963   echo $ECHO_N "(cached) $ECHO_C" >&6
57964 else
57965
57966
57967
57968       ac_ext=cc
57969 ac_cpp='$CXXCPP $CPPFLAGS'
57970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57973
57974       cat >conftest.$ac_ext <<_ACEOF
57975 /* confdefs.h.  */
57976 _ACEOF
57977 cat confdefs.h >>conftest.$ac_ext
57978 cat >>conftest.$ac_ext <<_ACEOF
57979 /* end confdefs.h.  */
57980 #include <math.h>
57981 int
57982 main ()
57983 {
57984  atan2f(0, 0);
57985   ;
57986   return 0;
57987 }
57988 _ACEOF
57989 rm -f conftest.$ac_objext
57990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57991   (eval $ac_compile) 2>conftest.er1
57992   ac_status=$?
57993   grep -v '^ *+' conftest.er1 >conftest.err
57994   rm -f conftest.er1
57995   cat conftest.err >&5
57996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57997   (exit $ac_status); } &&
57998          { ac_try='test -z "$ac_cxx_werror_flag"
57999                          || test ! -s conftest.err'
58000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58001   (eval $ac_try) 2>&5
58002   ac_status=$?
58003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58004   (exit $ac_status); }; } &&
58005          { ac_try='test -s conftest.$ac_objext'
58006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58007   (eval $ac_try) 2>&5
58008   ac_status=$?
58009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58010   (exit $ac_status); }; }; then
58011   glibcxx_cv_func_atan2f_use=yes
58012 else
58013   echo "$as_me: failed program was:" >&5
58014 sed 's/^/| /' conftest.$ac_ext >&5
58015
58016 glibcxx_cv_func_atan2f_use=no
58017 fi
58018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58019       ac_ext=c
58020 ac_cpp='$CPP $CPPFLAGS'
58021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58024
58025
58026 fi
58027
58028   fi
58029   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
58030 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
58031
58032   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
58033
58034 for ac_func in atan2f
58035 do
58036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58037 echo "$as_me:$LINENO: checking for $ac_func" >&5
58038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58039 if eval "test \"\${$as_ac_var+set}\" = set"; then
58040   echo $ECHO_N "(cached) $ECHO_C" >&6
58041 else
58042   if test x$gcc_no_link = xyes; then
58043   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58045    { (exit 1); exit 1; }; }
58046 fi
58047 cat >conftest.$ac_ext <<_ACEOF
58048 /* confdefs.h.  */
58049 _ACEOF
58050 cat confdefs.h >>conftest.$ac_ext
58051 cat >>conftest.$ac_ext <<_ACEOF
58052 /* end confdefs.h.  */
58053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58054    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58055 #define $ac_func innocuous_$ac_func
58056
58057 /* System header to define __stub macros and hopefully few prototypes,
58058     which can conflict with char $ac_func (); below.
58059     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58060     <limits.h> exists even on freestanding compilers.  */
58061
58062 #ifdef __STDC__
58063 # include <limits.h>
58064 #else
58065 # include <assert.h>
58066 #endif
58067
58068 #undef $ac_func
58069
58070 /* Override any gcc2 internal prototype to avoid an error.  */
58071 #ifdef __cplusplus
58072 extern "C"
58073 {
58074 #endif
58075 /* We use char because int might match the return type of a gcc2
58076    builtin and then its argument prototype would still apply.  */
58077 char $ac_func ();
58078 /* The GNU C library defines this for functions which it implements
58079     to always fail with ENOSYS.  Some functions are actually named
58080     something starting with __ and the normal name is an alias.  */
58081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58082 choke me
58083 #else
58084 char (*f) () = $ac_func;
58085 #endif
58086 #ifdef __cplusplus
58087 }
58088 #endif
58089
58090 int
58091 main ()
58092 {
58093 return f != $ac_func;
58094   ;
58095   return 0;
58096 }
58097 _ACEOF
58098 rm -f conftest.$ac_objext conftest$ac_exeext
58099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58100   (eval $ac_link) 2>conftest.er1
58101   ac_status=$?
58102   grep -v '^ *+' conftest.er1 >conftest.err
58103   rm -f conftest.er1
58104   cat conftest.err >&5
58105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58106   (exit $ac_status); } &&
58107          { ac_try='test -z "$ac_c_werror_flag"
58108                          || test ! -s conftest.err'
58109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58110   (eval $ac_try) 2>&5
58111   ac_status=$?
58112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58113   (exit $ac_status); }; } &&
58114          { ac_try='test -s conftest$ac_exeext'
58115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58116   (eval $ac_try) 2>&5
58117   ac_status=$?
58118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58119   (exit $ac_status); }; }; then
58120   eval "$as_ac_var=yes"
58121 else
58122   echo "$as_me: failed program was:" >&5
58123 sed 's/^/| /' conftest.$ac_ext >&5
58124
58125 eval "$as_ac_var=no"
58126 fi
58127 rm -f conftest.err conftest.$ac_objext \
58128       conftest$ac_exeext conftest.$ac_ext
58129 fi
58130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58132 if test `eval echo '${'$as_ac_var'}'` = yes; then
58133   cat >>confdefs.h <<_ACEOF
58134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58135 _ACEOF
58136
58137 fi
58138 done
58139
58140   else
58141
58142   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
58143 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
58144   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58145     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
58146   echo $ECHO_N "(cached) $ECHO_C" >&6
58147 else
58148
58149
58150
58151       ac_ext=cc
58152 ac_cpp='$CXXCPP $CPPFLAGS'
58153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58156
58157       cat >conftest.$ac_ext <<_ACEOF
58158 /* confdefs.h.  */
58159 _ACEOF
58160 cat confdefs.h >>conftest.$ac_ext
58161 cat >>conftest.$ac_ext <<_ACEOF
58162 /* end confdefs.h.  */
58163 #include <math.h>
58164 int
58165 main ()
58166 {
58167  _atan2f(0, 0);
58168   ;
58169   return 0;
58170 }
58171 _ACEOF
58172 rm -f conftest.$ac_objext
58173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58174   (eval $ac_compile) 2>conftest.er1
58175   ac_status=$?
58176   grep -v '^ *+' conftest.er1 >conftest.err
58177   rm -f conftest.er1
58178   cat conftest.err >&5
58179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58180   (exit $ac_status); } &&
58181          { ac_try='test -z "$ac_cxx_werror_flag"
58182                          || test ! -s conftest.err'
58183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58184   (eval $ac_try) 2>&5
58185   ac_status=$?
58186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58187   (exit $ac_status); }; } &&
58188          { ac_try='test -s conftest.$ac_objext'
58189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58190   (eval $ac_try) 2>&5
58191   ac_status=$?
58192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58193   (exit $ac_status); }; }; then
58194   glibcxx_cv_func__atan2f_use=yes
58195 else
58196   echo "$as_me: failed program was:" >&5
58197 sed 's/^/| /' conftest.$ac_ext >&5
58198
58199 glibcxx_cv_func__atan2f_use=no
58200 fi
58201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58202       ac_ext=c
58203 ac_cpp='$CPP $CPPFLAGS'
58204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58207
58208
58209 fi
58210
58211   fi
58212   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
58213 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
58214
58215     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
58216
58217 for ac_func in _atan2f
58218 do
58219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58220 echo "$as_me:$LINENO: checking for $ac_func" >&5
58221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58222 if eval "test \"\${$as_ac_var+set}\" = set"; then
58223   echo $ECHO_N "(cached) $ECHO_C" >&6
58224 else
58225   if test x$gcc_no_link = xyes; then
58226   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58228    { (exit 1); exit 1; }; }
58229 fi
58230 cat >conftest.$ac_ext <<_ACEOF
58231 /* confdefs.h.  */
58232 _ACEOF
58233 cat confdefs.h >>conftest.$ac_ext
58234 cat >>conftest.$ac_ext <<_ACEOF
58235 /* end confdefs.h.  */
58236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58237    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58238 #define $ac_func innocuous_$ac_func
58239
58240 /* System header to define __stub macros and hopefully few prototypes,
58241     which can conflict with char $ac_func (); below.
58242     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58243     <limits.h> exists even on freestanding compilers.  */
58244
58245 #ifdef __STDC__
58246 # include <limits.h>
58247 #else
58248 # include <assert.h>
58249 #endif
58250
58251 #undef $ac_func
58252
58253 /* Override any gcc2 internal prototype to avoid an error.  */
58254 #ifdef __cplusplus
58255 extern "C"
58256 {
58257 #endif
58258 /* We use char because int might match the return type of a gcc2
58259    builtin and then its argument prototype would still apply.  */
58260 char $ac_func ();
58261 /* The GNU C library defines this for functions which it implements
58262     to always fail with ENOSYS.  Some functions are actually named
58263     something starting with __ and the normal name is an alias.  */
58264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58265 choke me
58266 #else
58267 char (*f) () = $ac_func;
58268 #endif
58269 #ifdef __cplusplus
58270 }
58271 #endif
58272
58273 int
58274 main ()
58275 {
58276 return f != $ac_func;
58277   ;
58278   return 0;
58279 }
58280 _ACEOF
58281 rm -f conftest.$ac_objext conftest$ac_exeext
58282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58283   (eval $ac_link) 2>conftest.er1
58284   ac_status=$?
58285   grep -v '^ *+' conftest.er1 >conftest.err
58286   rm -f conftest.er1
58287   cat conftest.err >&5
58288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58289   (exit $ac_status); } &&
58290          { ac_try='test -z "$ac_c_werror_flag"
58291                          || test ! -s conftest.err'
58292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58293   (eval $ac_try) 2>&5
58294   ac_status=$?
58295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58296   (exit $ac_status); }; } &&
58297          { ac_try='test -s conftest$ac_exeext'
58298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58299   (eval $ac_try) 2>&5
58300   ac_status=$?
58301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58302   (exit $ac_status); }; }; then
58303   eval "$as_ac_var=yes"
58304 else
58305   echo "$as_me: failed program was:" >&5
58306 sed 's/^/| /' conftest.$ac_ext >&5
58307
58308 eval "$as_ac_var=no"
58309 fi
58310 rm -f conftest.err conftest.$ac_objext \
58311       conftest$ac_exeext conftest.$ac_ext
58312 fi
58313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58315 if test `eval echo '${'$as_ac_var'}'` = yes; then
58316   cat >>confdefs.h <<_ACEOF
58317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58318 _ACEOF
58319
58320 fi
58321 done
58322
58323     fi
58324   fi
58325
58326
58327
58328
58329
58330
58331   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
58332 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
58333   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
58334     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
58335   echo $ECHO_N "(cached) $ECHO_C" >&6
58336 else
58337
58338
58339
58340       ac_ext=cc
58341 ac_cpp='$CXXCPP $CPPFLAGS'
58342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58345
58346       cat >conftest.$ac_ext <<_ACEOF
58347 /* confdefs.h.  */
58348 _ACEOF
58349 cat confdefs.h >>conftest.$ac_ext
58350 cat >>conftest.$ac_ext <<_ACEOF
58351 /* end confdefs.h.  */
58352 #include <math.h>
58353                       #ifdef HAVE_IEEEFP_H
58354                       #include <ieeefp.h>
58355                       #endif
58356
58357 int
58358 main ()
58359 {
58360  fabsf(0);
58361   ;
58362   return 0;
58363 }
58364 _ACEOF
58365 rm -f conftest.$ac_objext
58366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58367   (eval $ac_compile) 2>conftest.er1
58368   ac_status=$?
58369   grep -v '^ *+' conftest.er1 >conftest.err
58370   rm -f conftest.er1
58371   cat conftest.err >&5
58372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58373   (exit $ac_status); } &&
58374          { ac_try='test -z "$ac_cxx_werror_flag"
58375                          || test ! -s conftest.err'
58376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58377   (eval $ac_try) 2>&5
58378   ac_status=$?
58379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58380   (exit $ac_status); }; } &&
58381          { ac_try='test -s conftest.$ac_objext'
58382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58383   (eval $ac_try) 2>&5
58384   ac_status=$?
58385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58386   (exit $ac_status); }; }; then
58387   glibcxx_cv_func_fabsf_use=yes
58388 else
58389   echo "$as_me: failed program was:" >&5
58390 sed 's/^/| /' conftest.$ac_ext >&5
58391
58392 glibcxx_cv_func_fabsf_use=no
58393 fi
58394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58395       ac_ext=c
58396 ac_cpp='$CPP $CPPFLAGS'
58397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58400
58401
58402 fi
58403
58404   fi
58405   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
58406 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
58407
58408   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
58409
58410 for ac_func in fabsf
58411 do
58412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58413 echo "$as_me:$LINENO: checking for $ac_func" >&5
58414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58415 if eval "test \"\${$as_ac_var+set}\" = set"; then
58416   echo $ECHO_N "(cached) $ECHO_C" >&6
58417 else
58418   if test x$gcc_no_link = xyes; then
58419   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58421    { (exit 1); exit 1; }; }
58422 fi
58423 cat >conftest.$ac_ext <<_ACEOF
58424 /* confdefs.h.  */
58425 _ACEOF
58426 cat confdefs.h >>conftest.$ac_ext
58427 cat >>conftest.$ac_ext <<_ACEOF
58428 /* end confdefs.h.  */
58429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58430    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58431 #define $ac_func innocuous_$ac_func
58432
58433 /* System header to define __stub macros and hopefully few prototypes,
58434     which can conflict with char $ac_func (); below.
58435     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58436     <limits.h> exists even on freestanding compilers.  */
58437
58438 #ifdef __STDC__
58439 # include <limits.h>
58440 #else
58441 # include <assert.h>
58442 #endif
58443
58444 #undef $ac_func
58445
58446 /* Override any gcc2 internal prototype to avoid an error.  */
58447 #ifdef __cplusplus
58448 extern "C"
58449 {
58450 #endif
58451 /* We use char because int might match the return type of a gcc2
58452    builtin and then its argument prototype would still apply.  */
58453 char $ac_func ();
58454 /* The GNU C library defines this for functions which it implements
58455     to always fail with ENOSYS.  Some functions are actually named
58456     something starting with __ and the normal name is an alias.  */
58457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58458 choke me
58459 #else
58460 char (*f) () = $ac_func;
58461 #endif
58462 #ifdef __cplusplus
58463 }
58464 #endif
58465
58466 int
58467 main ()
58468 {
58469 return f != $ac_func;
58470   ;
58471   return 0;
58472 }
58473 _ACEOF
58474 rm -f conftest.$ac_objext conftest$ac_exeext
58475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58476   (eval $ac_link) 2>conftest.er1
58477   ac_status=$?
58478   grep -v '^ *+' conftest.er1 >conftest.err
58479   rm -f conftest.er1
58480   cat conftest.err >&5
58481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58482   (exit $ac_status); } &&
58483          { ac_try='test -z "$ac_c_werror_flag"
58484                          || test ! -s conftest.err'
58485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58486   (eval $ac_try) 2>&5
58487   ac_status=$?
58488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58489   (exit $ac_status); }; } &&
58490          { ac_try='test -s conftest$ac_exeext'
58491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58492   (eval $ac_try) 2>&5
58493   ac_status=$?
58494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58495   (exit $ac_status); }; }; then
58496   eval "$as_ac_var=yes"
58497 else
58498   echo "$as_me: failed program was:" >&5
58499 sed 's/^/| /' conftest.$ac_ext >&5
58500
58501 eval "$as_ac_var=no"
58502 fi
58503 rm -f conftest.err conftest.$ac_objext \
58504       conftest$ac_exeext conftest.$ac_ext
58505 fi
58506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58508 if test `eval echo '${'$as_ac_var'}'` = yes; then
58509   cat >>confdefs.h <<_ACEOF
58510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58511 _ACEOF
58512
58513 fi
58514 done
58515
58516   else
58517
58518   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
58519 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
58520   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
58521     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
58522   echo $ECHO_N "(cached) $ECHO_C" >&6
58523 else
58524
58525
58526
58527       ac_ext=cc
58528 ac_cpp='$CXXCPP $CPPFLAGS'
58529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58532
58533       cat >conftest.$ac_ext <<_ACEOF
58534 /* confdefs.h.  */
58535 _ACEOF
58536 cat confdefs.h >>conftest.$ac_ext
58537 cat >>conftest.$ac_ext <<_ACEOF
58538 /* end confdefs.h.  */
58539 #include <math.h>
58540                       #ifdef HAVE_IEEEFP_H
58541                       #include <ieeefp.h>
58542                       #endif
58543
58544 int
58545 main ()
58546 {
58547  _fabsf(0);
58548   ;
58549   return 0;
58550 }
58551 _ACEOF
58552 rm -f conftest.$ac_objext
58553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58554   (eval $ac_compile) 2>conftest.er1
58555   ac_status=$?
58556   grep -v '^ *+' conftest.er1 >conftest.err
58557   rm -f conftest.er1
58558   cat conftest.err >&5
58559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58560   (exit $ac_status); } &&
58561          { ac_try='test -z "$ac_cxx_werror_flag"
58562                          || test ! -s conftest.err'
58563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58564   (eval $ac_try) 2>&5
58565   ac_status=$?
58566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58567   (exit $ac_status); }; } &&
58568          { ac_try='test -s conftest.$ac_objext'
58569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58570   (eval $ac_try) 2>&5
58571   ac_status=$?
58572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58573   (exit $ac_status); }; }; then
58574   glibcxx_cv_func__fabsf_use=yes
58575 else
58576   echo "$as_me: failed program was:" >&5
58577 sed 's/^/| /' conftest.$ac_ext >&5
58578
58579 glibcxx_cv_func__fabsf_use=no
58580 fi
58581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58582       ac_ext=c
58583 ac_cpp='$CPP $CPPFLAGS'
58584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58587
58588
58589 fi
58590
58591   fi
58592   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
58593 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
58594
58595     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
58596
58597 for ac_func in _fabsf
58598 do
58599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58600 echo "$as_me:$LINENO: checking for $ac_func" >&5
58601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58602 if eval "test \"\${$as_ac_var+set}\" = set"; then
58603   echo $ECHO_N "(cached) $ECHO_C" >&6
58604 else
58605   if test x$gcc_no_link = xyes; then
58606   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58608    { (exit 1); exit 1; }; }
58609 fi
58610 cat >conftest.$ac_ext <<_ACEOF
58611 /* confdefs.h.  */
58612 _ACEOF
58613 cat confdefs.h >>conftest.$ac_ext
58614 cat >>conftest.$ac_ext <<_ACEOF
58615 /* end confdefs.h.  */
58616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58617    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58618 #define $ac_func innocuous_$ac_func
58619
58620 /* System header to define __stub macros and hopefully few prototypes,
58621     which can conflict with char $ac_func (); below.
58622     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58623     <limits.h> exists even on freestanding compilers.  */
58624
58625 #ifdef __STDC__
58626 # include <limits.h>
58627 #else
58628 # include <assert.h>
58629 #endif
58630
58631 #undef $ac_func
58632
58633 /* Override any gcc2 internal prototype to avoid an error.  */
58634 #ifdef __cplusplus
58635 extern "C"
58636 {
58637 #endif
58638 /* We use char because int might match the return type of a gcc2
58639    builtin and then its argument prototype would still apply.  */
58640 char $ac_func ();
58641 /* The GNU C library defines this for functions which it implements
58642     to always fail with ENOSYS.  Some functions are actually named
58643     something starting with __ and the normal name is an alias.  */
58644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58645 choke me
58646 #else
58647 char (*f) () = $ac_func;
58648 #endif
58649 #ifdef __cplusplus
58650 }
58651 #endif
58652
58653 int
58654 main ()
58655 {
58656 return f != $ac_func;
58657   ;
58658   return 0;
58659 }
58660 _ACEOF
58661 rm -f conftest.$ac_objext conftest$ac_exeext
58662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58663   (eval $ac_link) 2>conftest.er1
58664   ac_status=$?
58665   grep -v '^ *+' conftest.er1 >conftest.err
58666   rm -f conftest.er1
58667   cat conftest.err >&5
58668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58669   (exit $ac_status); } &&
58670          { ac_try='test -z "$ac_c_werror_flag"
58671                          || test ! -s conftest.err'
58672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58673   (eval $ac_try) 2>&5
58674   ac_status=$?
58675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58676   (exit $ac_status); }; } &&
58677          { ac_try='test -s conftest$ac_exeext'
58678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58679   (eval $ac_try) 2>&5
58680   ac_status=$?
58681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58682   (exit $ac_status); }; }; then
58683   eval "$as_ac_var=yes"
58684 else
58685   echo "$as_me: failed program was:" >&5
58686 sed 's/^/| /' conftest.$ac_ext >&5
58687
58688 eval "$as_ac_var=no"
58689 fi
58690 rm -f conftest.err conftest.$ac_objext \
58691       conftest$ac_exeext conftest.$ac_ext
58692 fi
58693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58695 if test `eval echo '${'$as_ac_var'}'` = yes; then
58696   cat >>confdefs.h <<_ACEOF
58697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58698 _ACEOF
58699
58700 fi
58701 done
58702
58703     fi
58704   fi
58705
58706
58707
58708
58709
58710
58711   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
58712 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
58713   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
58714     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
58715   echo $ECHO_N "(cached) $ECHO_C" >&6
58716 else
58717
58718
58719
58720       ac_ext=cc
58721 ac_cpp='$CXXCPP $CPPFLAGS'
58722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58725
58726       cat >conftest.$ac_ext <<_ACEOF
58727 /* confdefs.h.  */
58728 _ACEOF
58729 cat confdefs.h >>conftest.$ac_ext
58730 cat >>conftest.$ac_ext <<_ACEOF
58731 /* end confdefs.h.  */
58732 #include <math.h>
58733 int
58734 main ()
58735 {
58736  fmodf(0, 0);
58737   ;
58738   return 0;
58739 }
58740 _ACEOF
58741 rm -f conftest.$ac_objext
58742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58743   (eval $ac_compile) 2>conftest.er1
58744   ac_status=$?
58745   grep -v '^ *+' conftest.er1 >conftest.err
58746   rm -f conftest.er1
58747   cat conftest.err >&5
58748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58749   (exit $ac_status); } &&
58750          { ac_try='test -z "$ac_cxx_werror_flag"
58751                          || test ! -s conftest.err'
58752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58753   (eval $ac_try) 2>&5
58754   ac_status=$?
58755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58756   (exit $ac_status); }; } &&
58757          { ac_try='test -s conftest.$ac_objext'
58758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58759   (eval $ac_try) 2>&5
58760   ac_status=$?
58761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58762   (exit $ac_status); }; }; then
58763   glibcxx_cv_func_fmodf_use=yes
58764 else
58765   echo "$as_me: failed program was:" >&5
58766 sed 's/^/| /' conftest.$ac_ext >&5
58767
58768 glibcxx_cv_func_fmodf_use=no
58769 fi
58770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58771       ac_ext=c
58772 ac_cpp='$CPP $CPPFLAGS'
58773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58776
58777
58778 fi
58779
58780   fi
58781   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
58782 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
58783
58784   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
58785
58786 for ac_func in fmodf
58787 do
58788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58789 echo "$as_me:$LINENO: checking for $ac_func" >&5
58790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58791 if eval "test \"\${$as_ac_var+set}\" = set"; then
58792   echo $ECHO_N "(cached) $ECHO_C" >&6
58793 else
58794   if test x$gcc_no_link = xyes; then
58795   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58797    { (exit 1); exit 1; }; }
58798 fi
58799 cat >conftest.$ac_ext <<_ACEOF
58800 /* confdefs.h.  */
58801 _ACEOF
58802 cat confdefs.h >>conftest.$ac_ext
58803 cat >>conftest.$ac_ext <<_ACEOF
58804 /* end confdefs.h.  */
58805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58806    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58807 #define $ac_func innocuous_$ac_func
58808
58809 /* System header to define __stub macros and hopefully few prototypes,
58810     which can conflict with char $ac_func (); below.
58811     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58812     <limits.h> exists even on freestanding compilers.  */
58813
58814 #ifdef __STDC__
58815 # include <limits.h>
58816 #else
58817 # include <assert.h>
58818 #endif
58819
58820 #undef $ac_func
58821
58822 /* Override any gcc2 internal prototype to avoid an error.  */
58823 #ifdef __cplusplus
58824 extern "C"
58825 {
58826 #endif
58827 /* We use char because int might match the return type of a gcc2
58828    builtin and then its argument prototype would still apply.  */
58829 char $ac_func ();
58830 /* The GNU C library defines this for functions which it implements
58831     to always fail with ENOSYS.  Some functions are actually named
58832     something starting with __ and the normal name is an alias.  */
58833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58834 choke me
58835 #else
58836 char (*f) () = $ac_func;
58837 #endif
58838 #ifdef __cplusplus
58839 }
58840 #endif
58841
58842 int
58843 main ()
58844 {
58845 return f != $ac_func;
58846   ;
58847   return 0;
58848 }
58849 _ACEOF
58850 rm -f conftest.$ac_objext conftest$ac_exeext
58851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58852   (eval $ac_link) 2>conftest.er1
58853   ac_status=$?
58854   grep -v '^ *+' conftest.er1 >conftest.err
58855   rm -f conftest.er1
58856   cat conftest.err >&5
58857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58858   (exit $ac_status); } &&
58859          { ac_try='test -z "$ac_c_werror_flag"
58860                          || test ! -s conftest.err'
58861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58862   (eval $ac_try) 2>&5
58863   ac_status=$?
58864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58865   (exit $ac_status); }; } &&
58866          { ac_try='test -s conftest$ac_exeext'
58867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58868   (eval $ac_try) 2>&5
58869   ac_status=$?
58870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58871   (exit $ac_status); }; }; then
58872   eval "$as_ac_var=yes"
58873 else
58874   echo "$as_me: failed program was:" >&5
58875 sed 's/^/| /' conftest.$ac_ext >&5
58876
58877 eval "$as_ac_var=no"
58878 fi
58879 rm -f conftest.err conftest.$ac_objext \
58880       conftest$ac_exeext conftest.$ac_ext
58881 fi
58882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58884 if test `eval echo '${'$as_ac_var'}'` = yes; then
58885   cat >>confdefs.h <<_ACEOF
58886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58887 _ACEOF
58888
58889 fi
58890 done
58891
58892   else
58893
58894   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
58895 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
58896   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
58897     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
58898   echo $ECHO_N "(cached) $ECHO_C" >&6
58899 else
58900
58901
58902
58903       ac_ext=cc
58904 ac_cpp='$CXXCPP $CPPFLAGS'
58905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58908
58909       cat >conftest.$ac_ext <<_ACEOF
58910 /* confdefs.h.  */
58911 _ACEOF
58912 cat confdefs.h >>conftest.$ac_ext
58913 cat >>conftest.$ac_ext <<_ACEOF
58914 /* end confdefs.h.  */
58915 #include <math.h>
58916 int
58917 main ()
58918 {
58919  _fmodf(0, 0);
58920   ;
58921   return 0;
58922 }
58923 _ACEOF
58924 rm -f conftest.$ac_objext
58925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58926   (eval $ac_compile) 2>conftest.er1
58927   ac_status=$?
58928   grep -v '^ *+' conftest.er1 >conftest.err
58929   rm -f conftest.er1
58930   cat conftest.err >&5
58931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58932   (exit $ac_status); } &&
58933          { ac_try='test -z "$ac_cxx_werror_flag"
58934                          || test ! -s conftest.err'
58935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58936   (eval $ac_try) 2>&5
58937   ac_status=$?
58938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58939   (exit $ac_status); }; } &&
58940          { ac_try='test -s conftest.$ac_objext'
58941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58942   (eval $ac_try) 2>&5
58943   ac_status=$?
58944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58945   (exit $ac_status); }; }; then
58946   glibcxx_cv_func__fmodf_use=yes
58947 else
58948   echo "$as_me: failed program was:" >&5
58949 sed 's/^/| /' conftest.$ac_ext >&5
58950
58951 glibcxx_cv_func__fmodf_use=no
58952 fi
58953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58954       ac_ext=c
58955 ac_cpp='$CPP $CPPFLAGS'
58956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58959
58960
58961 fi
58962
58963   fi
58964   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
58965 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
58966
58967     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
58968
58969 for ac_func in _fmodf
58970 do
58971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58972 echo "$as_me:$LINENO: checking for $ac_func" >&5
58973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58974 if eval "test \"\${$as_ac_var+set}\" = set"; then
58975   echo $ECHO_N "(cached) $ECHO_C" >&6
58976 else
58977   if test x$gcc_no_link = xyes; then
58978   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58980    { (exit 1); exit 1; }; }
58981 fi
58982 cat >conftest.$ac_ext <<_ACEOF
58983 /* confdefs.h.  */
58984 _ACEOF
58985 cat confdefs.h >>conftest.$ac_ext
58986 cat >>conftest.$ac_ext <<_ACEOF
58987 /* end confdefs.h.  */
58988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58989    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58990 #define $ac_func innocuous_$ac_func
58991
58992 /* System header to define __stub macros and hopefully few prototypes,
58993     which can conflict with char $ac_func (); below.
58994     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58995     <limits.h> exists even on freestanding compilers.  */
58996
58997 #ifdef __STDC__
58998 # include <limits.h>
58999 #else
59000 # include <assert.h>
59001 #endif
59002
59003 #undef $ac_func
59004
59005 /* Override any gcc2 internal prototype to avoid an error.  */
59006 #ifdef __cplusplus
59007 extern "C"
59008 {
59009 #endif
59010 /* We use char because int might match the return type of a gcc2
59011    builtin and then its argument prototype would still apply.  */
59012 char $ac_func ();
59013 /* The GNU C library defines this for functions which it implements
59014     to always fail with ENOSYS.  Some functions are actually named
59015     something starting with __ and the normal name is an alias.  */
59016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59017 choke me
59018 #else
59019 char (*f) () = $ac_func;
59020 #endif
59021 #ifdef __cplusplus
59022 }
59023 #endif
59024
59025 int
59026 main ()
59027 {
59028 return f != $ac_func;
59029   ;
59030   return 0;
59031 }
59032 _ACEOF
59033 rm -f conftest.$ac_objext conftest$ac_exeext
59034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59035   (eval $ac_link) 2>conftest.er1
59036   ac_status=$?
59037   grep -v '^ *+' conftest.er1 >conftest.err
59038   rm -f conftest.er1
59039   cat conftest.err >&5
59040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59041   (exit $ac_status); } &&
59042          { ac_try='test -z "$ac_c_werror_flag"
59043                          || test ! -s conftest.err'
59044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59045   (eval $ac_try) 2>&5
59046   ac_status=$?
59047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59048   (exit $ac_status); }; } &&
59049          { ac_try='test -s conftest$ac_exeext'
59050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59051   (eval $ac_try) 2>&5
59052   ac_status=$?
59053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59054   (exit $ac_status); }; }; then
59055   eval "$as_ac_var=yes"
59056 else
59057   echo "$as_me: failed program was:" >&5
59058 sed 's/^/| /' conftest.$ac_ext >&5
59059
59060 eval "$as_ac_var=no"
59061 fi
59062 rm -f conftest.err conftest.$ac_objext \
59063       conftest$ac_exeext conftest.$ac_ext
59064 fi
59065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59067 if test `eval echo '${'$as_ac_var'}'` = yes; then
59068   cat >>confdefs.h <<_ACEOF
59069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59070 _ACEOF
59071
59072 fi
59073 done
59074
59075     fi
59076   fi
59077
59078
59079
59080
59081
59082
59083   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
59084 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
59085   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59086     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
59087   echo $ECHO_N "(cached) $ECHO_C" >&6
59088 else
59089
59090
59091
59092       ac_ext=cc
59093 ac_cpp='$CXXCPP $CPPFLAGS'
59094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59097
59098       cat >conftest.$ac_ext <<_ACEOF
59099 /* confdefs.h.  */
59100 _ACEOF
59101 cat confdefs.h >>conftest.$ac_ext
59102 cat >>conftest.$ac_ext <<_ACEOF
59103 /* end confdefs.h.  */
59104 #include <math.h>
59105 int
59106 main ()
59107 {
59108  frexpf(0, 0);
59109   ;
59110   return 0;
59111 }
59112 _ACEOF
59113 rm -f conftest.$ac_objext
59114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59115   (eval $ac_compile) 2>conftest.er1
59116   ac_status=$?
59117   grep -v '^ *+' conftest.er1 >conftest.err
59118   rm -f conftest.er1
59119   cat conftest.err >&5
59120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59121   (exit $ac_status); } &&
59122          { ac_try='test -z "$ac_cxx_werror_flag"
59123                          || test ! -s conftest.err'
59124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59125   (eval $ac_try) 2>&5
59126   ac_status=$?
59127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59128   (exit $ac_status); }; } &&
59129          { ac_try='test -s conftest.$ac_objext'
59130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59131   (eval $ac_try) 2>&5
59132   ac_status=$?
59133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59134   (exit $ac_status); }; }; then
59135   glibcxx_cv_func_frexpf_use=yes
59136 else
59137   echo "$as_me: failed program was:" >&5
59138 sed 's/^/| /' conftest.$ac_ext >&5
59139
59140 glibcxx_cv_func_frexpf_use=no
59141 fi
59142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59143       ac_ext=c
59144 ac_cpp='$CPP $CPPFLAGS'
59145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59148
59149
59150 fi
59151
59152   fi
59153   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
59154 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
59155
59156   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59157
59158 for ac_func in frexpf
59159 do
59160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59161 echo "$as_me:$LINENO: checking for $ac_func" >&5
59162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59163 if eval "test \"\${$as_ac_var+set}\" = set"; then
59164   echo $ECHO_N "(cached) $ECHO_C" >&6
59165 else
59166   if test x$gcc_no_link = xyes; then
59167   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59169    { (exit 1); exit 1; }; }
59170 fi
59171 cat >conftest.$ac_ext <<_ACEOF
59172 /* confdefs.h.  */
59173 _ACEOF
59174 cat confdefs.h >>conftest.$ac_ext
59175 cat >>conftest.$ac_ext <<_ACEOF
59176 /* end confdefs.h.  */
59177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59178    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59179 #define $ac_func innocuous_$ac_func
59180
59181 /* System header to define __stub macros and hopefully few prototypes,
59182     which can conflict with char $ac_func (); below.
59183     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59184     <limits.h> exists even on freestanding compilers.  */
59185
59186 #ifdef __STDC__
59187 # include <limits.h>
59188 #else
59189 # include <assert.h>
59190 #endif
59191
59192 #undef $ac_func
59193
59194 /* Override any gcc2 internal prototype to avoid an error.  */
59195 #ifdef __cplusplus
59196 extern "C"
59197 {
59198 #endif
59199 /* We use char because int might match the return type of a gcc2
59200    builtin and then its argument prototype would still apply.  */
59201 char $ac_func ();
59202 /* The GNU C library defines this for functions which it implements
59203     to always fail with ENOSYS.  Some functions are actually named
59204     something starting with __ and the normal name is an alias.  */
59205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59206 choke me
59207 #else
59208 char (*f) () = $ac_func;
59209 #endif
59210 #ifdef __cplusplus
59211 }
59212 #endif
59213
59214 int
59215 main ()
59216 {
59217 return f != $ac_func;
59218   ;
59219   return 0;
59220 }
59221 _ACEOF
59222 rm -f conftest.$ac_objext conftest$ac_exeext
59223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59224   (eval $ac_link) 2>conftest.er1
59225   ac_status=$?
59226   grep -v '^ *+' conftest.er1 >conftest.err
59227   rm -f conftest.er1
59228   cat conftest.err >&5
59229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59230   (exit $ac_status); } &&
59231          { ac_try='test -z "$ac_c_werror_flag"
59232                          || test ! -s conftest.err'
59233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59234   (eval $ac_try) 2>&5
59235   ac_status=$?
59236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59237   (exit $ac_status); }; } &&
59238          { ac_try='test -s conftest$ac_exeext'
59239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59240   (eval $ac_try) 2>&5
59241   ac_status=$?
59242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59243   (exit $ac_status); }; }; then
59244   eval "$as_ac_var=yes"
59245 else
59246   echo "$as_me: failed program was:" >&5
59247 sed 's/^/| /' conftest.$ac_ext >&5
59248
59249 eval "$as_ac_var=no"
59250 fi
59251 rm -f conftest.err conftest.$ac_objext \
59252       conftest$ac_exeext conftest.$ac_ext
59253 fi
59254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59256 if test `eval echo '${'$as_ac_var'}'` = yes; then
59257   cat >>confdefs.h <<_ACEOF
59258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59259 _ACEOF
59260
59261 fi
59262 done
59263
59264   else
59265
59266   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
59267 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
59268   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59269     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
59270   echo $ECHO_N "(cached) $ECHO_C" >&6
59271 else
59272
59273
59274
59275       ac_ext=cc
59276 ac_cpp='$CXXCPP $CPPFLAGS'
59277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59280
59281       cat >conftest.$ac_ext <<_ACEOF
59282 /* confdefs.h.  */
59283 _ACEOF
59284 cat confdefs.h >>conftest.$ac_ext
59285 cat >>conftest.$ac_ext <<_ACEOF
59286 /* end confdefs.h.  */
59287 #include <math.h>
59288 int
59289 main ()
59290 {
59291  _frexpf(0, 0);
59292   ;
59293   return 0;
59294 }
59295 _ACEOF
59296 rm -f conftest.$ac_objext
59297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59298   (eval $ac_compile) 2>conftest.er1
59299   ac_status=$?
59300   grep -v '^ *+' conftest.er1 >conftest.err
59301   rm -f conftest.er1
59302   cat conftest.err >&5
59303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59304   (exit $ac_status); } &&
59305          { ac_try='test -z "$ac_cxx_werror_flag"
59306                          || test ! -s conftest.err'
59307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59308   (eval $ac_try) 2>&5
59309   ac_status=$?
59310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59311   (exit $ac_status); }; } &&
59312          { ac_try='test -s conftest.$ac_objext'
59313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59314   (eval $ac_try) 2>&5
59315   ac_status=$?
59316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59317   (exit $ac_status); }; }; then
59318   glibcxx_cv_func__frexpf_use=yes
59319 else
59320   echo "$as_me: failed program was:" >&5
59321 sed 's/^/| /' conftest.$ac_ext >&5
59322
59323 glibcxx_cv_func__frexpf_use=no
59324 fi
59325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59326       ac_ext=c
59327 ac_cpp='$CPP $CPPFLAGS'
59328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59331
59332
59333 fi
59334
59335   fi
59336   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
59337 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
59338
59339     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59340
59341 for ac_func in _frexpf
59342 do
59343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59344 echo "$as_me:$LINENO: checking for $ac_func" >&5
59345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59346 if eval "test \"\${$as_ac_var+set}\" = set"; then
59347   echo $ECHO_N "(cached) $ECHO_C" >&6
59348 else
59349   if test x$gcc_no_link = xyes; then
59350   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59352    { (exit 1); exit 1; }; }
59353 fi
59354 cat >conftest.$ac_ext <<_ACEOF
59355 /* confdefs.h.  */
59356 _ACEOF
59357 cat confdefs.h >>conftest.$ac_ext
59358 cat >>conftest.$ac_ext <<_ACEOF
59359 /* end confdefs.h.  */
59360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59361    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59362 #define $ac_func innocuous_$ac_func
59363
59364 /* System header to define __stub macros and hopefully few prototypes,
59365     which can conflict with char $ac_func (); below.
59366     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59367     <limits.h> exists even on freestanding compilers.  */
59368
59369 #ifdef __STDC__
59370 # include <limits.h>
59371 #else
59372 # include <assert.h>
59373 #endif
59374
59375 #undef $ac_func
59376
59377 /* Override any gcc2 internal prototype to avoid an error.  */
59378 #ifdef __cplusplus
59379 extern "C"
59380 {
59381 #endif
59382 /* We use char because int might match the return type of a gcc2
59383    builtin and then its argument prototype would still apply.  */
59384 char $ac_func ();
59385 /* The GNU C library defines this for functions which it implements
59386     to always fail with ENOSYS.  Some functions are actually named
59387     something starting with __ and the normal name is an alias.  */
59388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59389 choke me
59390 #else
59391 char (*f) () = $ac_func;
59392 #endif
59393 #ifdef __cplusplus
59394 }
59395 #endif
59396
59397 int
59398 main ()
59399 {
59400 return f != $ac_func;
59401   ;
59402   return 0;
59403 }
59404 _ACEOF
59405 rm -f conftest.$ac_objext conftest$ac_exeext
59406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59407   (eval $ac_link) 2>conftest.er1
59408   ac_status=$?
59409   grep -v '^ *+' conftest.er1 >conftest.err
59410   rm -f conftest.er1
59411   cat conftest.err >&5
59412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59413   (exit $ac_status); } &&
59414          { ac_try='test -z "$ac_c_werror_flag"
59415                          || test ! -s conftest.err'
59416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59417   (eval $ac_try) 2>&5
59418   ac_status=$?
59419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59420   (exit $ac_status); }; } &&
59421          { ac_try='test -s conftest$ac_exeext'
59422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59423   (eval $ac_try) 2>&5
59424   ac_status=$?
59425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59426   (exit $ac_status); }; }; then
59427   eval "$as_ac_var=yes"
59428 else
59429   echo "$as_me: failed program was:" >&5
59430 sed 's/^/| /' conftest.$ac_ext >&5
59431
59432 eval "$as_ac_var=no"
59433 fi
59434 rm -f conftest.err conftest.$ac_objext \
59435       conftest$ac_exeext conftest.$ac_ext
59436 fi
59437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59439 if test `eval echo '${'$as_ac_var'}'` = yes; then
59440   cat >>confdefs.h <<_ACEOF
59441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59442 _ACEOF
59443
59444 fi
59445 done
59446
59447     fi
59448   fi
59449
59450
59451
59452
59453
59454
59455   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
59456 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
59457   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59458     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
59459   echo $ECHO_N "(cached) $ECHO_C" >&6
59460 else
59461
59462
59463
59464       ac_ext=cc
59465 ac_cpp='$CXXCPP $CPPFLAGS'
59466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59469
59470       cat >conftest.$ac_ext <<_ACEOF
59471 /* confdefs.h.  */
59472 _ACEOF
59473 cat confdefs.h >>conftest.$ac_ext
59474 cat >>conftest.$ac_ext <<_ACEOF
59475 /* end confdefs.h.  */
59476 #include <math.h>
59477 int
59478 main ()
59479 {
59480  hypotf(0, 0);
59481   ;
59482   return 0;
59483 }
59484 _ACEOF
59485 rm -f conftest.$ac_objext
59486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59487   (eval $ac_compile) 2>conftest.er1
59488   ac_status=$?
59489   grep -v '^ *+' conftest.er1 >conftest.err
59490   rm -f conftest.er1
59491   cat conftest.err >&5
59492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59493   (exit $ac_status); } &&
59494          { ac_try='test -z "$ac_cxx_werror_flag"
59495                          || test ! -s conftest.err'
59496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59497   (eval $ac_try) 2>&5
59498   ac_status=$?
59499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59500   (exit $ac_status); }; } &&
59501          { ac_try='test -s conftest.$ac_objext'
59502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59503   (eval $ac_try) 2>&5
59504   ac_status=$?
59505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59506   (exit $ac_status); }; }; then
59507   glibcxx_cv_func_hypotf_use=yes
59508 else
59509   echo "$as_me: failed program was:" >&5
59510 sed 's/^/| /' conftest.$ac_ext >&5
59511
59512 glibcxx_cv_func_hypotf_use=no
59513 fi
59514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59515       ac_ext=c
59516 ac_cpp='$CPP $CPPFLAGS'
59517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59520
59521
59522 fi
59523
59524   fi
59525   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
59526 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
59527
59528   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59529
59530 for ac_func in hypotf
59531 do
59532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59533 echo "$as_me:$LINENO: checking for $ac_func" >&5
59534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59535 if eval "test \"\${$as_ac_var+set}\" = set"; then
59536   echo $ECHO_N "(cached) $ECHO_C" >&6
59537 else
59538   if test x$gcc_no_link = xyes; then
59539   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59541    { (exit 1); exit 1; }; }
59542 fi
59543 cat >conftest.$ac_ext <<_ACEOF
59544 /* confdefs.h.  */
59545 _ACEOF
59546 cat confdefs.h >>conftest.$ac_ext
59547 cat >>conftest.$ac_ext <<_ACEOF
59548 /* end confdefs.h.  */
59549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59550    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59551 #define $ac_func innocuous_$ac_func
59552
59553 /* System header to define __stub macros and hopefully few prototypes,
59554     which can conflict with char $ac_func (); below.
59555     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59556     <limits.h> exists even on freestanding compilers.  */
59557
59558 #ifdef __STDC__
59559 # include <limits.h>
59560 #else
59561 # include <assert.h>
59562 #endif
59563
59564 #undef $ac_func
59565
59566 /* Override any gcc2 internal prototype to avoid an error.  */
59567 #ifdef __cplusplus
59568 extern "C"
59569 {
59570 #endif
59571 /* We use char because int might match the return type of a gcc2
59572    builtin and then its argument prototype would still apply.  */
59573 char $ac_func ();
59574 /* The GNU C library defines this for functions which it implements
59575     to always fail with ENOSYS.  Some functions are actually named
59576     something starting with __ and the normal name is an alias.  */
59577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59578 choke me
59579 #else
59580 char (*f) () = $ac_func;
59581 #endif
59582 #ifdef __cplusplus
59583 }
59584 #endif
59585
59586 int
59587 main ()
59588 {
59589 return f != $ac_func;
59590   ;
59591   return 0;
59592 }
59593 _ACEOF
59594 rm -f conftest.$ac_objext conftest$ac_exeext
59595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59596   (eval $ac_link) 2>conftest.er1
59597   ac_status=$?
59598   grep -v '^ *+' conftest.er1 >conftest.err
59599   rm -f conftest.er1
59600   cat conftest.err >&5
59601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59602   (exit $ac_status); } &&
59603          { ac_try='test -z "$ac_c_werror_flag"
59604                          || test ! -s conftest.err'
59605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59606   (eval $ac_try) 2>&5
59607   ac_status=$?
59608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59609   (exit $ac_status); }; } &&
59610          { ac_try='test -s conftest$ac_exeext'
59611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59612   (eval $ac_try) 2>&5
59613   ac_status=$?
59614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59615   (exit $ac_status); }; }; then
59616   eval "$as_ac_var=yes"
59617 else
59618   echo "$as_me: failed program was:" >&5
59619 sed 's/^/| /' conftest.$ac_ext >&5
59620
59621 eval "$as_ac_var=no"
59622 fi
59623 rm -f conftest.err conftest.$ac_objext \
59624       conftest$ac_exeext conftest.$ac_ext
59625 fi
59626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59628 if test `eval echo '${'$as_ac_var'}'` = yes; then
59629   cat >>confdefs.h <<_ACEOF
59630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59631 _ACEOF
59632
59633 fi
59634 done
59635
59636   else
59637
59638   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
59639 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
59640   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59641     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
59642   echo $ECHO_N "(cached) $ECHO_C" >&6
59643 else
59644
59645
59646
59647       ac_ext=cc
59648 ac_cpp='$CXXCPP $CPPFLAGS'
59649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59652
59653       cat >conftest.$ac_ext <<_ACEOF
59654 /* confdefs.h.  */
59655 _ACEOF
59656 cat confdefs.h >>conftest.$ac_ext
59657 cat >>conftest.$ac_ext <<_ACEOF
59658 /* end confdefs.h.  */
59659 #include <math.h>
59660 int
59661 main ()
59662 {
59663  _hypotf(0, 0);
59664   ;
59665   return 0;
59666 }
59667 _ACEOF
59668 rm -f conftest.$ac_objext
59669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59670   (eval $ac_compile) 2>conftest.er1
59671   ac_status=$?
59672   grep -v '^ *+' conftest.er1 >conftest.err
59673   rm -f conftest.er1
59674   cat conftest.err >&5
59675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59676   (exit $ac_status); } &&
59677          { ac_try='test -z "$ac_cxx_werror_flag"
59678                          || test ! -s conftest.err'
59679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59680   (eval $ac_try) 2>&5
59681   ac_status=$?
59682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59683   (exit $ac_status); }; } &&
59684          { ac_try='test -s conftest.$ac_objext'
59685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59686   (eval $ac_try) 2>&5
59687   ac_status=$?
59688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59689   (exit $ac_status); }; }; then
59690   glibcxx_cv_func__hypotf_use=yes
59691 else
59692   echo "$as_me: failed program was:" >&5
59693 sed 's/^/| /' conftest.$ac_ext >&5
59694
59695 glibcxx_cv_func__hypotf_use=no
59696 fi
59697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59698       ac_ext=c
59699 ac_cpp='$CPP $CPPFLAGS'
59700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59703
59704
59705 fi
59706
59707   fi
59708   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
59709 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
59710
59711     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59712
59713 for ac_func in _hypotf
59714 do
59715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59716 echo "$as_me:$LINENO: checking for $ac_func" >&5
59717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59718 if eval "test \"\${$as_ac_var+set}\" = set"; then
59719   echo $ECHO_N "(cached) $ECHO_C" >&6
59720 else
59721   if test x$gcc_no_link = xyes; then
59722   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59724    { (exit 1); exit 1; }; }
59725 fi
59726 cat >conftest.$ac_ext <<_ACEOF
59727 /* confdefs.h.  */
59728 _ACEOF
59729 cat confdefs.h >>conftest.$ac_ext
59730 cat >>conftest.$ac_ext <<_ACEOF
59731 /* end confdefs.h.  */
59732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59733    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59734 #define $ac_func innocuous_$ac_func
59735
59736 /* System header to define __stub macros and hopefully few prototypes,
59737     which can conflict with char $ac_func (); below.
59738     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59739     <limits.h> exists even on freestanding compilers.  */
59740
59741 #ifdef __STDC__
59742 # include <limits.h>
59743 #else
59744 # include <assert.h>
59745 #endif
59746
59747 #undef $ac_func
59748
59749 /* Override any gcc2 internal prototype to avoid an error.  */
59750 #ifdef __cplusplus
59751 extern "C"
59752 {
59753 #endif
59754 /* We use char because int might match the return type of a gcc2
59755    builtin and then its argument prototype would still apply.  */
59756 char $ac_func ();
59757 /* The GNU C library defines this for functions which it implements
59758     to always fail with ENOSYS.  Some functions are actually named
59759     something starting with __ and the normal name is an alias.  */
59760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59761 choke me
59762 #else
59763 char (*f) () = $ac_func;
59764 #endif
59765 #ifdef __cplusplus
59766 }
59767 #endif
59768
59769 int
59770 main ()
59771 {
59772 return f != $ac_func;
59773   ;
59774   return 0;
59775 }
59776 _ACEOF
59777 rm -f conftest.$ac_objext conftest$ac_exeext
59778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59779   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
59800 else
59801   echo "$as_me: failed program was:" >&5
59802 sed 's/^/| /' conftest.$ac_ext >&5
59803
59804 eval "$as_ac_var=no"
59805 fi
59806 rm -f conftest.err conftest.$ac_objext \
59807       conftest$ac_exeext conftest.$ac_ext
59808 fi
59809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59811 if test `eval echo '${'$as_ac_var'}'` = yes; then
59812   cat >>confdefs.h <<_ACEOF
59813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59814 _ACEOF
59815
59816 fi
59817 done
59818
59819     fi
59820   fi
59821
59822
59823
59824
59825
59826
59827   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
59828 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
59829   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
59830     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
59831   echo $ECHO_N "(cached) $ECHO_C" >&6
59832 else
59833
59834
59835
59836       ac_ext=cc
59837 ac_cpp='$CXXCPP $CPPFLAGS'
59838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59841
59842       cat >conftest.$ac_ext <<_ACEOF
59843 /* confdefs.h.  */
59844 _ACEOF
59845 cat confdefs.h >>conftest.$ac_ext
59846 cat >>conftest.$ac_ext <<_ACEOF
59847 /* end confdefs.h.  */
59848 #include <math.h>
59849 int
59850 main ()
59851 {
59852  ldexpf(0, 0);
59853   ;
59854   return 0;
59855 }
59856 _ACEOF
59857 rm -f conftest.$ac_objext
59858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59859   (eval $ac_compile) 2>conftest.er1
59860   ac_status=$?
59861   grep -v '^ *+' conftest.er1 >conftest.err
59862   rm -f conftest.er1
59863   cat conftest.err >&5
59864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59865   (exit $ac_status); } &&
59866          { ac_try='test -z "$ac_cxx_werror_flag"
59867                          || test ! -s conftest.err'
59868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59869   (eval $ac_try) 2>&5
59870   ac_status=$?
59871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59872   (exit $ac_status); }; } &&
59873          { ac_try='test -s conftest.$ac_objext'
59874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59875   (eval $ac_try) 2>&5
59876   ac_status=$?
59877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59878   (exit $ac_status); }; }; then
59879   glibcxx_cv_func_ldexpf_use=yes
59880 else
59881   echo "$as_me: failed program was:" >&5
59882 sed 's/^/| /' conftest.$ac_ext >&5
59883
59884 glibcxx_cv_func_ldexpf_use=no
59885 fi
59886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59887       ac_ext=c
59888 ac_cpp='$CPP $CPPFLAGS'
59889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59892
59893
59894 fi
59895
59896   fi
59897   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
59898 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
59899
59900   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
59901
59902 for ac_func in ldexpf
59903 do
59904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59905 echo "$as_me:$LINENO: checking for $ac_func" >&5
59906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59907 if eval "test \"\${$as_ac_var+set}\" = set"; then
59908   echo $ECHO_N "(cached) $ECHO_C" >&6
59909 else
59910   if test x$gcc_no_link = xyes; then
59911   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59913    { (exit 1); exit 1; }; }
59914 fi
59915 cat >conftest.$ac_ext <<_ACEOF
59916 /* confdefs.h.  */
59917 _ACEOF
59918 cat confdefs.h >>conftest.$ac_ext
59919 cat >>conftest.$ac_ext <<_ACEOF
59920 /* end confdefs.h.  */
59921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59922    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59923 #define $ac_func innocuous_$ac_func
59924
59925 /* System header to define __stub macros and hopefully few prototypes,
59926     which can conflict with char $ac_func (); below.
59927     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59928     <limits.h> exists even on freestanding compilers.  */
59929
59930 #ifdef __STDC__
59931 # include <limits.h>
59932 #else
59933 # include <assert.h>
59934 #endif
59935
59936 #undef $ac_func
59937
59938 /* Override any gcc2 internal prototype to avoid an error.  */
59939 #ifdef __cplusplus
59940 extern "C"
59941 {
59942 #endif
59943 /* We use char because int might match the return type of a gcc2
59944    builtin and then its argument prototype would still apply.  */
59945 char $ac_func ();
59946 /* The GNU C library defines this for functions which it implements
59947     to always fail with ENOSYS.  Some functions are actually named
59948     something starting with __ and the normal name is an alias.  */
59949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59950 choke me
59951 #else
59952 char (*f) () = $ac_func;
59953 #endif
59954 #ifdef __cplusplus
59955 }
59956 #endif
59957
59958 int
59959 main ()
59960 {
59961 return f != $ac_func;
59962   ;
59963   return 0;
59964 }
59965 _ACEOF
59966 rm -f conftest.$ac_objext conftest$ac_exeext
59967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59968   (eval $ac_link) 2>conftest.er1
59969   ac_status=$?
59970   grep -v '^ *+' conftest.er1 >conftest.err
59971   rm -f conftest.er1
59972   cat conftest.err >&5
59973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59974   (exit $ac_status); } &&
59975          { ac_try='test -z "$ac_c_werror_flag"
59976                          || test ! -s conftest.err'
59977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59978   (eval $ac_try) 2>&5
59979   ac_status=$?
59980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59981   (exit $ac_status); }; } &&
59982          { ac_try='test -s conftest$ac_exeext'
59983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59984   (eval $ac_try) 2>&5
59985   ac_status=$?
59986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59987   (exit $ac_status); }; }; then
59988   eval "$as_ac_var=yes"
59989 else
59990   echo "$as_me: failed program was:" >&5
59991 sed 's/^/| /' conftest.$ac_ext >&5
59992
59993 eval "$as_ac_var=no"
59994 fi
59995 rm -f conftest.err conftest.$ac_objext \
59996       conftest$ac_exeext conftest.$ac_ext
59997 fi
59998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60000 if test `eval echo '${'$as_ac_var'}'` = yes; then
60001   cat >>confdefs.h <<_ACEOF
60002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60003 _ACEOF
60004
60005 fi
60006 done
60007
60008   else
60009
60010   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
60011 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
60012   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60013     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
60014   echo $ECHO_N "(cached) $ECHO_C" >&6
60015 else
60016
60017
60018
60019       ac_ext=cc
60020 ac_cpp='$CXXCPP $CPPFLAGS'
60021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60024
60025       cat >conftest.$ac_ext <<_ACEOF
60026 /* confdefs.h.  */
60027 _ACEOF
60028 cat confdefs.h >>conftest.$ac_ext
60029 cat >>conftest.$ac_ext <<_ACEOF
60030 /* end confdefs.h.  */
60031 #include <math.h>
60032 int
60033 main ()
60034 {
60035  _ldexpf(0, 0);
60036   ;
60037   return 0;
60038 }
60039 _ACEOF
60040 rm -f conftest.$ac_objext
60041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60042   (eval $ac_compile) 2>conftest.er1
60043   ac_status=$?
60044   grep -v '^ *+' conftest.er1 >conftest.err
60045   rm -f conftest.er1
60046   cat conftest.err >&5
60047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60048   (exit $ac_status); } &&
60049          { ac_try='test -z "$ac_cxx_werror_flag"
60050                          || test ! -s conftest.err'
60051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60052   (eval $ac_try) 2>&5
60053   ac_status=$?
60054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60055   (exit $ac_status); }; } &&
60056          { ac_try='test -s conftest.$ac_objext'
60057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60058   (eval $ac_try) 2>&5
60059   ac_status=$?
60060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60061   (exit $ac_status); }; }; then
60062   glibcxx_cv_func__ldexpf_use=yes
60063 else
60064   echo "$as_me: failed program was:" >&5
60065 sed 's/^/| /' conftest.$ac_ext >&5
60066
60067 glibcxx_cv_func__ldexpf_use=no
60068 fi
60069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60070       ac_ext=c
60071 ac_cpp='$CPP $CPPFLAGS'
60072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60075
60076
60077 fi
60078
60079   fi
60080   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
60081 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
60082
60083     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60084
60085 for ac_func in _ldexpf
60086 do
60087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60088 echo "$as_me:$LINENO: checking for $ac_func" >&5
60089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60090 if eval "test \"\${$as_ac_var+set}\" = set"; then
60091   echo $ECHO_N "(cached) $ECHO_C" >&6
60092 else
60093   if test x$gcc_no_link = xyes; then
60094   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60096    { (exit 1); exit 1; }; }
60097 fi
60098 cat >conftest.$ac_ext <<_ACEOF
60099 /* confdefs.h.  */
60100 _ACEOF
60101 cat confdefs.h >>conftest.$ac_ext
60102 cat >>conftest.$ac_ext <<_ACEOF
60103 /* end confdefs.h.  */
60104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60105    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60106 #define $ac_func innocuous_$ac_func
60107
60108 /* System header to define __stub macros and hopefully few prototypes,
60109     which can conflict with char $ac_func (); below.
60110     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60111     <limits.h> exists even on freestanding compilers.  */
60112
60113 #ifdef __STDC__
60114 # include <limits.h>
60115 #else
60116 # include <assert.h>
60117 #endif
60118
60119 #undef $ac_func
60120
60121 /* Override any gcc2 internal prototype to avoid an error.  */
60122 #ifdef __cplusplus
60123 extern "C"
60124 {
60125 #endif
60126 /* We use char because int might match the return type of a gcc2
60127    builtin and then its argument prototype would still apply.  */
60128 char $ac_func ();
60129 /* The GNU C library defines this for functions which it implements
60130     to always fail with ENOSYS.  Some functions are actually named
60131     something starting with __ and the normal name is an alias.  */
60132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60133 choke me
60134 #else
60135 char (*f) () = $ac_func;
60136 #endif
60137 #ifdef __cplusplus
60138 }
60139 #endif
60140
60141 int
60142 main ()
60143 {
60144 return f != $ac_func;
60145   ;
60146   return 0;
60147 }
60148 _ACEOF
60149 rm -f conftest.$ac_objext conftest$ac_exeext
60150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60151   (eval $ac_link) 2>conftest.er1
60152   ac_status=$?
60153   grep -v '^ *+' conftest.er1 >conftest.err
60154   rm -f conftest.er1
60155   cat conftest.err >&5
60156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60157   (exit $ac_status); } &&
60158          { ac_try='test -z "$ac_c_werror_flag"
60159                          || test ! -s conftest.err'
60160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60161   (eval $ac_try) 2>&5
60162   ac_status=$?
60163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60164   (exit $ac_status); }; } &&
60165          { ac_try='test -s conftest$ac_exeext'
60166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60167   (eval $ac_try) 2>&5
60168   ac_status=$?
60169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60170   (exit $ac_status); }; }; then
60171   eval "$as_ac_var=yes"
60172 else
60173   echo "$as_me: failed program was:" >&5
60174 sed 's/^/| /' conftest.$ac_ext >&5
60175
60176 eval "$as_ac_var=no"
60177 fi
60178 rm -f conftest.err conftest.$ac_objext \
60179       conftest$ac_exeext conftest.$ac_ext
60180 fi
60181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60183 if test `eval echo '${'$as_ac_var'}'` = yes; then
60184   cat >>confdefs.h <<_ACEOF
60185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60186 _ACEOF
60187
60188 fi
60189 done
60190
60191     fi
60192   fi
60193
60194
60195
60196
60197
60198
60199   echo "$as_me:$LINENO: checking for logf declaration" >&5
60200 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
60201   if test x${glibcxx_cv_func_logf_use+set} != xset; then
60202     if test "${glibcxx_cv_func_logf_use+set}" = set; then
60203   echo $ECHO_N "(cached) $ECHO_C" >&6
60204 else
60205
60206
60207
60208       ac_ext=cc
60209 ac_cpp='$CXXCPP $CPPFLAGS'
60210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60213
60214       cat >conftest.$ac_ext <<_ACEOF
60215 /* confdefs.h.  */
60216 _ACEOF
60217 cat confdefs.h >>conftest.$ac_ext
60218 cat >>conftest.$ac_ext <<_ACEOF
60219 /* end confdefs.h.  */
60220 #include <math.h>
60221                       #ifdef HAVE_IEEEFP_H
60222                       #include <ieeefp.h>
60223                       #endif
60224
60225 int
60226 main ()
60227 {
60228  logf(0);
60229   ;
60230   return 0;
60231 }
60232 _ACEOF
60233 rm -f conftest.$ac_objext
60234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60235   (eval $ac_compile) 2>conftest.er1
60236   ac_status=$?
60237   grep -v '^ *+' conftest.er1 >conftest.err
60238   rm -f conftest.er1
60239   cat conftest.err >&5
60240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60241   (exit $ac_status); } &&
60242          { ac_try='test -z "$ac_cxx_werror_flag"
60243                          || test ! -s conftest.err'
60244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60245   (eval $ac_try) 2>&5
60246   ac_status=$?
60247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60248   (exit $ac_status); }; } &&
60249          { ac_try='test -s conftest.$ac_objext'
60250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60251   (eval $ac_try) 2>&5
60252   ac_status=$?
60253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60254   (exit $ac_status); }; }; then
60255   glibcxx_cv_func_logf_use=yes
60256 else
60257   echo "$as_me: failed program was:" >&5
60258 sed 's/^/| /' conftest.$ac_ext >&5
60259
60260 glibcxx_cv_func_logf_use=no
60261 fi
60262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60263       ac_ext=c
60264 ac_cpp='$CPP $CPPFLAGS'
60265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60268
60269
60270 fi
60271
60272   fi
60273   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
60274 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
60275
60276   if test x$glibcxx_cv_func_logf_use = x"yes"; then
60277
60278 for ac_func in logf
60279 do
60280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60281 echo "$as_me:$LINENO: checking for $ac_func" >&5
60282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60283 if eval "test \"\${$as_ac_var+set}\" = set"; then
60284   echo $ECHO_N "(cached) $ECHO_C" >&6
60285 else
60286   if test x$gcc_no_link = xyes; then
60287   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60289    { (exit 1); exit 1; }; }
60290 fi
60291 cat >conftest.$ac_ext <<_ACEOF
60292 /* confdefs.h.  */
60293 _ACEOF
60294 cat confdefs.h >>conftest.$ac_ext
60295 cat >>conftest.$ac_ext <<_ACEOF
60296 /* end confdefs.h.  */
60297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60298    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60299 #define $ac_func innocuous_$ac_func
60300
60301 /* System header to define __stub macros and hopefully few prototypes,
60302     which can conflict with char $ac_func (); below.
60303     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60304     <limits.h> exists even on freestanding compilers.  */
60305
60306 #ifdef __STDC__
60307 # include <limits.h>
60308 #else
60309 # include <assert.h>
60310 #endif
60311
60312 #undef $ac_func
60313
60314 /* Override any gcc2 internal prototype to avoid an error.  */
60315 #ifdef __cplusplus
60316 extern "C"
60317 {
60318 #endif
60319 /* We use char because int might match the return type of a gcc2
60320    builtin and then its argument prototype would still apply.  */
60321 char $ac_func ();
60322 /* The GNU C library defines this for functions which it implements
60323     to always fail with ENOSYS.  Some functions are actually named
60324     something starting with __ and the normal name is an alias.  */
60325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60326 choke me
60327 #else
60328 char (*f) () = $ac_func;
60329 #endif
60330 #ifdef __cplusplus
60331 }
60332 #endif
60333
60334 int
60335 main ()
60336 {
60337 return f != $ac_func;
60338   ;
60339   return 0;
60340 }
60341 _ACEOF
60342 rm -f conftest.$ac_objext conftest$ac_exeext
60343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60344   (eval $ac_link) 2>conftest.er1
60345   ac_status=$?
60346   grep -v '^ *+' conftest.er1 >conftest.err
60347   rm -f conftest.er1
60348   cat conftest.err >&5
60349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60350   (exit $ac_status); } &&
60351          { ac_try='test -z "$ac_c_werror_flag"
60352                          || test ! -s conftest.err'
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); }; } &&
60358          { ac_try='test -s conftest$ac_exeext'
60359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60360   (eval $ac_try) 2>&5
60361   ac_status=$?
60362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60363   (exit $ac_status); }; }; then
60364   eval "$as_ac_var=yes"
60365 else
60366   echo "$as_me: failed program was:" >&5
60367 sed 's/^/| /' conftest.$ac_ext >&5
60368
60369 eval "$as_ac_var=no"
60370 fi
60371 rm -f conftest.err conftest.$ac_objext \
60372       conftest$ac_exeext conftest.$ac_ext
60373 fi
60374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60376 if test `eval echo '${'$as_ac_var'}'` = yes; then
60377   cat >>confdefs.h <<_ACEOF
60378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60379 _ACEOF
60380
60381 fi
60382 done
60383
60384   else
60385
60386   echo "$as_me:$LINENO: checking for _logf declaration" >&5
60387 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
60388   if test x${glibcxx_cv_func__logf_use+set} != xset; then
60389     if test "${glibcxx_cv_func__logf_use+set}" = set; then
60390   echo $ECHO_N "(cached) $ECHO_C" >&6
60391 else
60392
60393
60394
60395       ac_ext=cc
60396 ac_cpp='$CXXCPP $CPPFLAGS'
60397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60400
60401       cat >conftest.$ac_ext <<_ACEOF
60402 /* confdefs.h.  */
60403 _ACEOF
60404 cat confdefs.h >>conftest.$ac_ext
60405 cat >>conftest.$ac_ext <<_ACEOF
60406 /* end confdefs.h.  */
60407 #include <math.h>
60408                       #ifdef HAVE_IEEEFP_H
60409                       #include <ieeefp.h>
60410                       #endif
60411
60412 int
60413 main ()
60414 {
60415  _logf(0);
60416   ;
60417   return 0;
60418 }
60419 _ACEOF
60420 rm -f conftest.$ac_objext
60421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60422   (eval $ac_compile) 2>conftest.er1
60423   ac_status=$?
60424   grep -v '^ *+' conftest.er1 >conftest.err
60425   rm -f conftest.er1
60426   cat conftest.err >&5
60427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60428   (exit $ac_status); } &&
60429          { ac_try='test -z "$ac_cxx_werror_flag"
60430                          || test ! -s conftest.err'
60431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60432   (eval $ac_try) 2>&5
60433   ac_status=$?
60434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60435   (exit $ac_status); }; } &&
60436          { ac_try='test -s conftest.$ac_objext'
60437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60438   (eval $ac_try) 2>&5
60439   ac_status=$?
60440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60441   (exit $ac_status); }; }; then
60442   glibcxx_cv_func__logf_use=yes
60443 else
60444   echo "$as_me: failed program was:" >&5
60445 sed 's/^/| /' conftest.$ac_ext >&5
60446
60447 glibcxx_cv_func__logf_use=no
60448 fi
60449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60450       ac_ext=c
60451 ac_cpp='$CPP $CPPFLAGS'
60452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60455
60456
60457 fi
60458
60459   fi
60460   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
60461 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
60462
60463     if test x$glibcxx_cv_func__logf_use = x"yes"; then
60464
60465 for ac_func in _logf
60466 do
60467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60468 echo "$as_me:$LINENO: checking for $ac_func" >&5
60469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60470 if eval "test \"\${$as_ac_var+set}\" = set"; then
60471   echo $ECHO_N "(cached) $ECHO_C" >&6
60472 else
60473   if test x$gcc_no_link = xyes; then
60474   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60476    { (exit 1); exit 1; }; }
60477 fi
60478 cat >conftest.$ac_ext <<_ACEOF
60479 /* confdefs.h.  */
60480 _ACEOF
60481 cat confdefs.h >>conftest.$ac_ext
60482 cat >>conftest.$ac_ext <<_ACEOF
60483 /* end confdefs.h.  */
60484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60485    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60486 #define $ac_func innocuous_$ac_func
60487
60488 /* System header to define __stub macros and hopefully few prototypes,
60489     which can conflict with char $ac_func (); below.
60490     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60491     <limits.h> exists even on freestanding compilers.  */
60492
60493 #ifdef __STDC__
60494 # include <limits.h>
60495 #else
60496 # include <assert.h>
60497 #endif
60498
60499 #undef $ac_func
60500
60501 /* Override any gcc2 internal prototype to avoid an error.  */
60502 #ifdef __cplusplus
60503 extern "C"
60504 {
60505 #endif
60506 /* We use char because int might match the return type of a gcc2
60507    builtin and then its argument prototype would still apply.  */
60508 char $ac_func ();
60509 /* The GNU C library defines this for functions which it implements
60510     to always fail with ENOSYS.  Some functions are actually named
60511     something starting with __ and the normal name is an alias.  */
60512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60513 choke me
60514 #else
60515 char (*f) () = $ac_func;
60516 #endif
60517 #ifdef __cplusplus
60518 }
60519 #endif
60520
60521 int
60522 main ()
60523 {
60524 return f != $ac_func;
60525   ;
60526   return 0;
60527 }
60528 _ACEOF
60529 rm -f conftest.$ac_objext conftest$ac_exeext
60530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60531   (eval $ac_link) 2>conftest.er1
60532   ac_status=$?
60533   grep -v '^ *+' conftest.er1 >conftest.err
60534   rm -f conftest.er1
60535   cat conftest.err >&5
60536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60537   (exit $ac_status); } &&
60538          { ac_try='test -z "$ac_c_werror_flag"
60539                          || test ! -s conftest.err'
60540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60541   (eval $ac_try) 2>&5
60542   ac_status=$?
60543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60544   (exit $ac_status); }; } &&
60545          { ac_try='test -s conftest$ac_exeext'
60546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60547   (eval $ac_try) 2>&5
60548   ac_status=$?
60549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60550   (exit $ac_status); }; }; then
60551   eval "$as_ac_var=yes"
60552 else
60553   echo "$as_me: failed program was:" >&5
60554 sed 's/^/| /' conftest.$ac_ext >&5
60555
60556 eval "$as_ac_var=no"
60557 fi
60558 rm -f conftest.err conftest.$ac_objext \
60559       conftest$ac_exeext conftest.$ac_ext
60560 fi
60561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60563 if test `eval echo '${'$as_ac_var'}'` = yes; then
60564   cat >>confdefs.h <<_ACEOF
60565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60566 _ACEOF
60567
60568 fi
60569 done
60570
60571     fi
60572   fi
60573
60574
60575
60576
60577
60578
60579   echo "$as_me:$LINENO: checking for log10f declaration" >&5
60580 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
60581   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60582     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
60583   echo $ECHO_N "(cached) $ECHO_C" >&6
60584 else
60585
60586
60587
60588       ac_ext=cc
60589 ac_cpp='$CXXCPP $CPPFLAGS'
60590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60593
60594       cat >conftest.$ac_ext <<_ACEOF
60595 /* confdefs.h.  */
60596 _ACEOF
60597 cat confdefs.h >>conftest.$ac_ext
60598 cat >>conftest.$ac_ext <<_ACEOF
60599 /* end confdefs.h.  */
60600 #include <math.h>
60601                       #ifdef HAVE_IEEEFP_H
60602                       #include <ieeefp.h>
60603                       #endif
60604
60605 int
60606 main ()
60607 {
60608  log10f(0);
60609   ;
60610   return 0;
60611 }
60612 _ACEOF
60613 rm -f conftest.$ac_objext
60614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60615   (eval $ac_compile) 2>conftest.er1
60616   ac_status=$?
60617   grep -v '^ *+' conftest.er1 >conftest.err
60618   rm -f conftest.er1
60619   cat conftest.err >&5
60620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60621   (exit $ac_status); } &&
60622          { ac_try='test -z "$ac_cxx_werror_flag"
60623                          || test ! -s conftest.err'
60624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60625   (eval $ac_try) 2>&5
60626   ac_status=$?
60627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60628   (exit $ac_status); }; } &&
60629          { ac_try='test -s conftest.$ac_objext'
60630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60631   (eval $ac_try) 2>&5
60632   ac_status=$?
60633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60634   (exit $ac_status); }; }; then
60635   glibcxx_cv_func_log10f_use=yes
60636 else
60637   echo "$as_me: failed program was:" >&5
60638 sed 's/^/| /' conftest.$ac_ext >&5
60639
60640 glibcxx_cv_func_log10f_use=no
60641 fi
60642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60643       ac_ext=c
60644 ac_cpp='$CPP $CPPFLAGS'
60645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60648
60649
60650 fi
60651
60652   fi
60653   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
60654 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
60655
60656   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60657
60658 for ac_func in log10f
60659 do
60660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60661 echo "$as_me:$LINENO: checking for $ac_func" >&5
60662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60663 if eval "test \"\${$as_ac_var+set}\" = set"; then
60664   echo $ECHO_N "(cached) $ECHO_C" >&6
60665 else
60666   if test x$gcc_no_link = xyes; then
60667   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60669    { (exit 1); exit 1; }; }
60670 fi
60671 cat >conftest.$ac_ext <<_ACEOF
60672 /* confdefs.h.  */
60673 _ACEOF
60674 cat confdefs.h >>conftest.$ac_ext
60675 cat >>conftest.$ac_ext <<_ACEOF
60676 /* end confdefs.h.  */
60677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60678    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60679 #define $ac_func innocuous_$ac_func
60680
60681 /* System header to define __stub macros and hopefully few prototypes,
60682     which can conflict with char $ac_func (); below.
60683     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60684     <limits.h> exists even on freestanding compilers.  */
60685
60686 #ifdef __STDC__
60687 # include <limits.h>
60688 #else
60689 # include <assert.h>
60690 #endif
60691
60692 #undef $ac_func
60693
60694 /* Override any gcc2 internal prototype to avoid an error.  */
60695 #ifdef __cplusplus
60696 extern "C"
60697 {
60698 #endif
60699 /* We use char because int might match the return type of a gcc2
60700    builtin and then its argument prototype would still apply.  */
60701 char $ac_func ();
60702 /* The GNU C library defines this for functions which it implements
60703     to always fail with ENOSYS.  Some functions are actually named
60704     something starting with __ and the normal name is an alias.  */
60705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60706 choke me
60707 #else
60708 char (*f) () = $ac_func;
60709 #endif
60710 #ifdef __cplusplus
60711 }
60712 #endif
60713
60714 int
60715 main ()
60716 {
60717 return f != $ac_func;
60718   ;
60719   return 0;
60720 }
60721 _ACEOF
60722 rm -f conftest.$ac_objext conftest$ac_exeext
60723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60724   (eval $ac_link) 2>conftest.er1
60725   ac_status=$?
60726   grep -v '^ *+' conftest.er1 >conftest.err
60727   rm -f conftest.er1
60728   cat conftest.err >&5
60729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60730   (exit $ac_status); } &&
60731          { ac_try='test -z "$ac_c_werror_flag"
60732                          || test ! -s conftest.err'
60733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60734   (eval $ac_try) 2>&5
60735   ac_status=$?
60736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60737   (exit $ac_status); }; } &&
60738          { ac_try='test -s conftest$ac_exeext'
60739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60740   (eval $ac_try) 2>&5
60741   ac_status=$?
60742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60743   (exit $ac_status); }; }; then
60744   eval "$as_ac_var=yes"
60745 else
60746   echo "$as_me: failed program was:" >&5
60747 sed 's/^/| /' conftest.$ac_ext >&5
60748
60749 eval "$as_ac_var=no"
60750 fi
60751 rm -f conftest.err conftest.$ac_objext \
60752       conftest$ac_exeext conftest.$ac_ext
60753 fi
60754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60756 if test `eval echo '${'$as_ac_var'}'` = yes; then
60757   cat >>confdefs.h <<_ACEOF
60758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60759 _ACEOF
60760
60761 fi
60762 done
60763
60764   else
60765
60766   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
60767 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
60768   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60769     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
60770   echo $ECHO_N "(cached) $ECHO_C" >&6
60771 else
60772
60773
60774
60775       ac_ext=cc
60776 ac_cpp='$CXXCPP $CPPFLAGS'
60777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60780
60781       cat >conftest.$ac_ext <<_ACEOF
60782 /* confdefs.h.  */
60783 _ACEOF
60784 cat confdefs.h >>conftest.$ac_ext
60785 cat >>conftest.$ac_ext <<_ACEOF
60786 /* end confdefs.h.  */
60787 #include <math.h>
60788                       #ifdef HAVE_IEEEFP_H
60789                       #include <ieeefp.h>
60790                       #endif
60791
60792 int
60793 main ()
60794 {
60795  _log10f(0);
60796   ;
60797   return 0;
60798 }
60799 _ACEOF
60800 rm -f conftest.$ac_objext
60801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60802   (eval $ac_compile) 2>conftest.er1
60803   ac_status=$?
60804   grep -v '^ *+' conftest.er1 >conftest.err
60805   rm -f conftest.er1
60806   cat conftest.err >&5
60807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60808   (exit $ac_status); } &&
60809          { ac_try='test -z "$ac_cxx_werror_flag"
60810                          || test ! -s conftest.err'
60811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60812   (eval $ac_try) 2>&5
60813   ac_status=$?
60814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60815   (exit $ac_status); }; } &&
60816          { ac_try='test -s conftest.$ac_objext'
60817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60818   (eval $ac_try) 2>&5
60819   ac_status=$?
60820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60821   (exit $ac_status); }; }; then
60822   glibcxx_cv_func__log10f_use=yes
60823 else
60824   echo "$as_me: failed program was:" >&5
60825 sed 's/^/| /' conftest.$ac_ext >&5
60826
60827 glibcxx_cv_func__log10f_use=no
60828 fi
60829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60830       ac_ext=c
60831 ac_cpp='$CPP $CPPFLAGS'
60832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60835
60836
60837 fi
60838
60839   fi
60840   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
60841 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
60842
60843     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60844
60845 for ac_func in _log10f
60846 do
60847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60848 echo "$as_me:$LINENO: checking for $ac_func" >&5
60849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60850 if eval "test \"\${$as_ac_var+set}\" = set"; then
60851   echo $ECHO_N "(cached) $ECHO_C" >&6
60852 else
60853   if test x$gcc_no_link = xyes; then
60854   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60856    { (exit 1); exit 1; }; }
60857 fi
60858 cat >conftest.$ac_ext <<_ACEOF
60859 /* confdefs.h.  */
60860 _ACEOF
60861 cat confdefs.h >>conftest.$ac_ext
60862 cat >>conftest.$ac_ext <<_ACEOF
60863 /* end confdefs.h.  */
60864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60865    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60866 #define $ac_func innocuous_$ac_func
60867
60868 /* System header to define __stub macros and hopefully few prototypes,
60869     which can conflict with char $ac_func (); below.
60870     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60871     <limits.h> exists even on freestanding compilers.  */
60872
60873 #ifdef __STDC__
60874 # include <limits.h>
60875 #else
60876 # include <assert.h>
60877 #endif
60878
60879 #undef $ac_func
60880
60881 /* Override any gcc2 internal prototype to avoid an error.  */
60882 #ifdef __cplusplus
60883 extern "C"
60884 {
60885 #endif
60886 /* We use char because int might match the return type of a gcc2
60887    builtin and then its argument prototype would still apply.  */
60888 char $ac_func ();
60889 /* The GNU C library defines this for functions which it implements
60890     to always fail with ENOSYS.  Some functions are actually named
60891     something starting with __ and the normal name is an alias.  */
60892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60893 choke me
60894 #else
60895 char (*f) () = $ac_func;
60896 #endif
60897 #ifdef __cplusplus
60898 }
60899 #endif
60900
60901 int
60902 main ()
60903 {
60904 return f != $ac_func;
60905   ;
60906   return 0;
60907 }
60908 _ACEOF
60909 rm -f conftest.$ac_objext conftest$ac_exeext
60910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60911   (eval $ac_link) 2>conftest.er1
60912   ac_status=$?
60913   grep -v '^ *+' conftest.er1 >conftest.err
60914   rm -f conftest.er1
60915   cat conftest.err >&5
60916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60917   (exit $ac_status); } &&
60918          { ac_try='test -z "$ac_c_werror_flag"
60919                          || test ! -s conftest.err'
60920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60921   (eval $ac_try) 2>&5
60922   ac_status=$?
60923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60924   (exit $ac_status); }; } &&
60925          { ac_try='test -s conftest$ac_exeext'
60926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60927   (eval $ac_try) 2>&5
60928   ac_status=$?
60929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60930   (exit $ac_status); }; }; then
60931   eval "$as_ac_var=yes"
60932 else
60933   echo "$as_me: failed program was:" >&5
60934 sed 's/^/| /' conftest.$ac_ext >&5
60935
60936 eval "$as_ac_var=no"
60937 fi
60938 rm -f conftest.err conftest.$ac_objext \
60939       conftest$ac_exeext conftest.$ac_ext
60940 fi
60941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60943 if test `eval echo '${'$as_ac_var'}'` = yes; then
60944   cat >>confdefs.h <<_ACEOF
60945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60946 _ACEOF
60947
60948 fi
60949 done
60950
60951     fi
60952   fi
60953
60954
60955
60956
60957
60958
60959   echo "$as_me:$LINENO: checking for modff declaration" >&5
60960 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
60961   if test x${glibcxx_cv_func_modff_use+set} != xset; then
60962     if test "${glibcxx_cv_func_modff_use+set}" = set; then
60963   echo $ECHO_N "(cached) $ECHO_C" >&6
60964 else
60965
60966
60967
60968       ac_ext=cc
60969 ac_cpp='$CXXCPP $CPPFLAGS'
60970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60973
60974       cat >conftest.$ac_ext <<_ACEOF
60975 /* confdefs.h.  */
60976 _ACEOF
60977 cat confdefs.h >>conftest.$ac_ext
60978 cat >>conftest.$ac_ext <<_ACEOF
60979 /* end confdefs.h.  */
60980 #include <math.h>
60981 int
60982 main ()
60983 {
60984  modff(0, 0);
60985   ;
60986   return 0;
60987 }
60988 _ACEOF
60989 rm -f conftest.$ac_objext
60990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60991   (eval $ac_compile) 2>conftest.er1
60992   ac_status=$?
60993   grep -v '^ *+' conftest.er1 >conftest.err
60994   rm -f conftest.er1
60995   cat conftest.err >&5
60996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60997   (exit $ac_status); } &&
60998          { ac_try='test -z "$ac_cxx_werror_flag"
60999                          || test ! -s conftest.err'
61000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61001   (eval $ac_try) 2>&5
61002   ac_status=$?
61003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61004   (exit $ac_status); }; } &&
61005          { ac_try='test -s conftest.$ac_objext'
61006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61007   (eval $ac_try) 2>&5
61008   ac_status=$?
61009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61010   (exit $ac_status); }; }; then
61011   glibcxx_cv_func_modff_use=yes
61012 else
61013   echo "$as_me: failed program was:" >&5
61014 sed 's/^/| /' conftest.$ac_ext >&5
61015
61016 glibcxx_cv_func_modff_use=no
61017 fi
61018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61019       ac_ext=c
61020 ac_cpp='$CPP $CPPFLAGS'
61021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61024
61025
61026 fi
61027
61028   fi
61029   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
61030 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
61031
61032   if test x$glibcxx_cv_func_modff_use = x"yes"; then
61033
61034 for ac_func in modff
61035 do
61036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61037 echo "$as_me:$LINENO: checking for $ac_func" >&5
61038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61039 if eval "test \"\${$as_ac_var+set}\" = set"; then
61040   echo $ECHO_N "(cached) $ECHO_C" >&6
61041 else
61042   if test x$gcc_no_link = xyes; then
61043   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61045    { (exit 1); exit 1; }; }
61046 fi
61047 cat >conftest.$ac_ext <<_ACEOF
61048 /* confdefs.h.  */
61049 _ACEOF
61050 cat confdefs.h >>conftest.$ac_ext
61051 cat >>conftest.$ac_ext <<_ACEOF
61052 /* end confdefs.h.  */
61053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61054    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61055 #define $ac_func innocuous_$ac_func
61056
61057 /* System header to define __stub macros and hopefully few prototypes,
61058     which can conflict with char $ac_func (); below.
61059     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61060     <limits.h> exists even on freestanding compilers.  */
61061
61062 #ifdef __STDC__
61063 # include <limits.h>
61064 #else
61065 # include <assert.h>
61066 #endif
61067
61068 #undef $ac_func
61069
61070 /* Override any gcc2 internal prototype to avoid an error.  */
61071 #ifdef __cplusplus
61072 extern "C"
61073 {
61074 #endif
61075 /* We use char because int might match the return type of a gcc2
61076    builtin and then its argument prototype would still apply.  */
61077 char $ac_func ();
61078 /* The GNU C library defines this for functions which it implements
61079     to always fail with ENOSYS.  Some functions are actually named
61080     something starting with __ and the normal name is an alias.  */
61081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61082 choke me
61083 #else
61084 char (*f) () = $ac_func;
61085 #endif
61086 #ifdef __cplusplus
61087 }
61088 #endif
61089
61090 int
61091 main ()
61092 {
61093 return f != $ac_func;
61094   ;
61095   return 0;
61096 }
61097 _ACEOF
61098 rm -f conftest.$ac_objext conftest$ac_exeext
61099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61100   (eval $ac_link) 2>conftest.er1
61101   ac_status=$?
61102   grep -v '^ *+' conftest.er1 >conftest.err
61103   rm -f conftest.er1
61104   cat conftest.err >&5
61105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61106   (exit $ac_status); } &&
61107          { ac_try='test -z "$ac_c_werror_flag"
61108                          || test ! -s conftest.err'
61109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61110   (eval $ac_try) 2>&5
61111   ac_status=$?
61112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61113   (exit $ac_status); }; } &&
61114          { ac_try='test -s conftest$ac_exeext'
61115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61116   (eval $ac_try) 2>&5
61117   ac_status=$?
61118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61119   (exit $ac_status); }; }; then
61120   eval "$as_ac_var=yes"
61121 else
61122   echo "$as_me: failed program was:" >&5
61123 sed 's/^/| /' conftest.$ac_ext >&5
61124
61125 eval "$as_ac_var=no"
61126 fi
61127 rm -f conftest.err conftest.$ac_objext \
61128       conftest$ac_exeext conftest.$ac_ext
61129 fi
61130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61132 if test `eval echo '${'$as_ac_var'}'` = yes; then
61133   cat >>confdefs.h <<_ACEOF
61134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61135 _ACEOF
61136
61137 fi
61138 done
61139
61140   else
61141
61142   echo "$as_me:$LINENO: checking for _modff declaration" >&5
61143 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
61144   if test x${glibcxx_cv_func__modff_use+set} != xset; then
61145     if test "${glibcxx_cv_func__modff_use+set}" = set; then
61146   echo $ECHO_N "(cached) $ECHO_C" >&6
61147 else
61148
61149
61150
61151       ac_ext=cc
61152 ac_cpp='$CXXCPP $CPPFLAGS'
61153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61156
61157       cat >conftest.$ac_ext <<_ACEOF
61158 /* confdefs.h.  */
61159 _ACEOF
61160 cat confdefs.h >>conftest.$ac_ext
61161 cat >>conftest.$ac_ext <<_ACEOF
61162 /* end confdefs.h.  */
61163 #include <math.h>
61164 int
61165 main ()
61166 {
61167  _modff(0, 0);
61168   ;
61169   return 0;
61170 }
61171 _ACEOF
61172 rm -f conftest.$ac_objext
61173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61174   (eval $ac_compile) 2>conftest.er1
61175   ac_status=$?
61176   grep -v '^ *+' conftest.er1 >conftest.err
61177   rm -f conftest.er1
61178   cat conftest.err >&5
61179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61180   (exit $ac_status); } &&
61181          { ac_try='test -z "$ac_cxx_werror_flag"
61182                          || test ! -s conftest.err'
61183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61184   (eval $ac_try) 2>&5
61185   ac_status=$?
61186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61187   (exit $ac_status); }; } &&
61188          { ac_try='test -s conftest.$ac_objext'
61189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61190   (eval $ac_try) 2>&5
61191   ac_status=$?
61192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61193   (exit $ac_status); }; }; then
61194   glibcxx_cv_func__modff_use=yes
61195 else
61196   echo "$as_me: failed program was:" >&5
61197 sed 's/^/| /' conftest.$ac_ext >&5
61198
61199 glibcxx_cv_func__modff_use=no
61200 fi
61201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61202       ac_ext=c
61203 ac_cpp='$CPP $CPPFLAGS'
61204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61207
61208
61209 fi
61210
61211   fi
61212   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
61213 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
61214
61215     if test x$glibcxx_cv_func__modff_use = x"yes"; then
61216
61217 for ac_func in _modff
61218 do
61219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61220 echo "$as_me:$LINENO: checking for $ac_func" >&5
61221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61222 if eval "test \"\${$as_ac_var+set}\" = set"; then
61223   echo $ECHO_N "(cached) $ECHO_C" >&6
61224 else
61225   if test x$gcc_no_link = xyes; then
61226   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61228    { (exit 1); exit 1; }; }
61229 fi
61230 cat >conftest.$ac_ext <<_ACEOF
61231 /* confdefs.h.  */
61232 _ACEOF
61233 cat confdefs.h >>conftest.$ac_ext
61234 cat >>conftest.$ac_ext <<_ACEOF
61235 /* end confdefs.h.  */
61236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61237    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61238 #define $ac_func innocuous_$ac_func
61239
61240 /* System header to define __stub macros and hopefully few prototypes,
61241     which can conflict with char $ac_func (); below.
61242     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61243     <limits.h> exists even on freestanding compilers.  */
61244
61245 #ifdef __STDC__
61246 # include <limits.h>
61247 #else
61248 # include <assert.h>
61249 #endif
61250
61251 #undef $ac_func
61252
61253 /* Override any gcc2 internal prototype to avoid an error.  */
61254 #ifdef __cplusplus
61255 extern "C"
61256 {
61257 #endif
61258 /* We use char because int might match the return type of a gcc2
61259    builtin and then its argument prototype would still apply.  */
61260 char $ac_func ();
61261 /* The GNU C library defines this for functions which it implements
61262     to always fail with ENOSYS.  Some functions are actually named
61263     something starting with __ and the normal name is an alias.  */
61264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61265 choke me
61266 #else
61267 char (*f) () = $ac_func;
61268 #endif
61269 #ifdef __cplusplus
61270 }
61271 #endif
61272
61273 int
61274 main ()
61275 {
61276 return f != $ac_func;
61277   ;
61278   return 0;
61279 }
61280 _ACEOF
61281 rm -f conftest.$ac_objext conftest$ac_exeext
61282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61283   (eval $ac_link) 2>conftest.er1
61284   ac_status=$?
61285   grep -v '^ *+' conftest.er1 >conftest.err
61286   rm -f conftest.er1
61287   cat conftest.err >&5
61288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61289   (exit $ac_status); } &&
61290          { ac_try='test -z "$ac_c_werror_flag"
61291                          || test ! -s conftest.err'
61292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61293   (eval $ac_try) 2>&5
61294   ac_status=$?
61295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61296   (exit $ac_status); }; } &&
61297          { ac_try='test -s conftest$ac_exeext'
61298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61299   (eval $ac_try) 2>&5
61300   ac_status=$?
61301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61302   (exit $ac_status); }; }; then
61303   eval "$as_ac_var=yes"
61304 else
61305   echo "$as_me: failed program was:" >&5
61306 sed 's/^/| /' conftest.$ac_ext >&5
61307
61308 eval "$as_ac_var=no"
61309 fi
61310 rm -f conftest.err conftest.$ac_objext \
61311       conftest$ac_exeext conftest.$ac_ext
61312 fi
61313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61315 if test `eval echo '${'$as_ac_var'}'` = yes; then
61316   cat >>confdefs.h <<_ACEOF
61317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61318 _ACEOF
61319
61320 fi
61321 done
61322
61323     fi
61324   fi
61325
61326
61327
61328
61329
61330
61331   echo "$as_me:$LINENO: checking for modf declaration" >&5
61332 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
61333   if test x${glibcxx_cv_func_modf_use+set} != xset; then
61334     if test "${glibcxx_cv_func_modf_use+set}" = set; then
61335   echo $ECHO_N "(cached) $ECHO_C" >&6
61336 else
61337
61338
61339
61340       ac_ext=cc
61341 ac_cpp='$CXXCPP $CPPFLAGS'
61342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61345
61346       cat >conftest.$ac_ext <<_ACEOF
61347 /* confdefs.h.  */
61348 _ACEOF
61349 cat confdefs.h >>conftest.$ac_ext
61350 cat >>conftest.$ac_ext <<_ACEOF
61351 /* end confdefs.h.  */
61352 #include <math.h>
61353 int
61354 main ()
61355 {
61356  modf(0, 0);
61357   ;
61358   return 0;
61359 }
61360 _ACEOF
61361 rm -f conftest.$ac_objext
61362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61363   (eval $ac_compile) 2>conftest.er1
61364   ac_status=$?
61365   grep -v '^ *+' conftest.er1 >conftest.err
61366   rm -f conftest.er1
61367   cat conftest.err >&5
61368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61369   (exit $ac_status); } &&
61370          { ac_try='test -z "$ac_cxx_werror_flag"
61371                          || test ! -s conftest.err'
61372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61373   (eval $ac_try) 2>&5
61374   ac_status=$?
61375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61376   (exit $ac_status); }; } &&
61377          { ac_try='test -s conftest.$ac_objext'
61378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61379   (eval $ac_try) 2>&5
61380   ac_status=$?
61381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61382   (exit $ac_status); }; }; then
61383   glibcxx_cv_func_modf_use=yes
61384 else
61385   echo "$as_me: failed program was:" >&5
61386 sed 's/^/| /' conftest.$ac_ext >&5
61387
61388 glibcxx_cv_func_modf_use=no
61389 fi
61390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61391       ac_ext=c
61392 ac_cpp='$CPP $CPPFLAGS'
61393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61396
61397
61398 fi
61399
61400   fi
61401   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
61402 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
61403
61404   if test x$glibcxx_cv_func_modf_use = x"yes"; then
61405
61406 for ac_func in modf
61407 do
61408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61409 echo "$as_me:$LINENO: checking for $ac_func" >&5
61410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61411 if eval "test \"\${$as_ac_var+set}\" = set"; then
61412   echo $ECHO_N "(cached) $ECHO_C" >&6
61413 else
61414   if test x$gcc_no_link = xyes; then
61415   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61417    { (exit 1); exit 1; }; }
61418 fi
61419 cat >conftest.$ac_ext <<_ACEOF
61420 /* confdefs.h.  */
61421 _ACEOF
61422 cat confdefs.h >>conftest.$ac_ext
61423 cat >>conftest.$ac_ext <<_ACEOF
61424 /* end confdefs.h.  */
61425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61426    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61427 #define $ac_func innocuous_$ac_func
61428
61429 /* System header to define __stub macros and hopefully few prototypes,
61430     which can conflict with char $ac_func (); below.
61431     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61432     <limits.h> exists even on freestanding compilers.  */
61433
61434 #ifdef __STDC__
61435 # include <limits.h>
61436 #else
61437 # include <assert.h>
61438 #endif
61439
61440 #undef $ac_func
61441
61442 /* Override any gcc2 internal prototype to avoid an error.  */
61443 #ifdef __cplusplus
61444 extern "C"
61445 {
61446 #endif
61447 /* We use char because int might match the return type of a gcc2
61448    builtin and then its argument prototype would still apply.  */
61449 char $ac_func ();
61450 /* The GNU C library defines this for functions which it implements
61451     to always fail with ENOSYS.  Some functions are actually named
61452     something starting with __ and the normal name is an alias.  */
61453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61454 choke me
61455 #else
61456 char (*f) () = $ac_func;
61457 #endif
61458 #ifdef __cplusplus
61459 }
61460 #endif
61461
61462 int
61463 main ()
61464 {
61465 return f != $ac_func;
61466   ;
61467   return 0;
61468 }
61469 _ACEOF
61470 rm -f conftest.$ac_objext conftest$ac_exeext
61471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61472   (eval $ac_link) 2>conftest.er1
61473   ac_status=$?
61474   grep -v '^ *+' conftest.er1 >conftest.err
61475   rm -f conftest.er1
61476   cat conftest.err >&5
61477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61478   (exit $ac_status); } &&
61479          { ac_try='test -z "$ac_c_werror_flag"
61480                          || test ! -s conftest.err'
61481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61482   (eval $ac_try) 2>&5
61483   ac_status=$?
61484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61485   (exit $ac_status); }; } &&
61486          { ac_try='test -s conftest$ac_exeext'
61487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61488   (eval $ac_try) 2>&5
61489   ac_status=$?
61490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61491   (exit $ac_status); }; }; then
61492   eval "$as_ac_var=yes"
61493 else
61494   echo "$as_me: failed program was:" >&5
61495 sed 's/^/| /' conftest.$ac_ext >&5
61496
61497 eval "$as_ac_var=no"
61498 fi
61499 rm -f conftest.err conftest.$ac_objext \
61500       conftest$ac_exeext conftest.$ac_ext
61501 fi
61502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61504 if test `eval echo '${'$as_ac_var'}'` = yes; then
61505   cat >>confdefs.h <<_ACEOF
61506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61507 _ACEOF
61508
61509 fi
61510 done
61511
61512   else
61513
61514   echo "$as_me:$LINENO: checking for _modf declaration" >&5
61515 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
61516   if test x${glibcxx_cv_func__modf_use+set} != xset; then
61517     if test "${glibcxx_cv_func__modf_use+set}" = set; then
61518   echo $ECHO_N "(cached) $ECHO_C" >&6
61519 else
61520
61521
61522
61523       ac_ext=cc
61524 ac_cpp='$CXXCPP $CPPFLAGS'
61525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61528
61529       cat >conftest.$ac_ext <<_ACEOF
61530 /* confdefs.h.  */
61531 _ACEOF
61532 cat confdefs.h >>conftest.$ac_ext
61533 cat >>conftest.$ac_ext <<_ACEOF
61534 /* end confdefs.h.  */
61535 #include <math.h>
61536 int
61537 main ()
61538 {
61539  _modf(0, 0);
61540   ;
61541   return 0;
61542 }
61543 _ACEOF
61544 rm -f conftest.$ac_objext
61545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61546   (eval $ac_compile) 2>conftest.er1
61547   ac_status=$?
61548   grep -v '^ *+' conftest.er1 >conftest.err
61549   rm -f conftest.er1
61550   cat conftest.err >&5
61551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61552   (exit $ac_status); } &&
61553          { ac_try='test -z "$ac_cxx_werror_flag"
61554                          || test ! -s conftest.err'
61555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61556   (eval $ac_try) 2>&5
61557   ac_status=$?
61558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61559   (exit $ac_status); }; } &&
61560          { ac_try='test -s conftest.$ac_objext'
61561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61562   (eval $ac_try) 2>&5
61563   ac_status=$?
61564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61565   (exit $ac_status); }; }; then
61566   glibcxx_cv_func__modf_use=yes
61567 else
61568   echo "$as_me: failed program was:" >&5
61569 sed 's/^/| /' conftest.$ac_ext >&5
61570
61571 glibcxx_cv_func__modf_use=no
61572 fi
61573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61574       ac_ext=c
61575 ac_cpp='$CPP $CPPFLAGS'
61576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61579
61580
61581 fi
61582
61583   fi
61584   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
61585 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
61586
61587     if test x$glibcxx_cv_func__modf_use = x"yes"; then
61588
61589 for ac_func in _modf
61590 do
61591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61592 echo "$as_me:$LINENO: checking for $ac_func" >&5
61593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61594 if eval "test \"\${$as_ac_var+set}\" = set"; then
61595   echo $ECHO_N "(cached) $ECHO_C" >&6
61596 else
61597   if test x$gcc_no_link = xyes; then
61598   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61600    { (exit 1); exit 1; }; }
61601 fi
61602 cat >conftest.$ac_ext <<_ACEOF
61603 /* confdefs.h.  */
61604 _ACEOF
61605 cat confdefs.h >>conftest.$ac_ext
61606 cat >>conftest.$ac_ext <<_ACEOF
61607 /* end confdefs.h.  */
61608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61609    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61610 #define $ac_func innocuous_$ac_func
61611
61612 /* System header to define __stub macros and hopefully few prototypes,
61613     which can conflict with char $ac_func (); below.
61614     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61615     <limits.h> exists even on freestanding compilers.  */
61616
61617 #ifdef __STDC__
61618 # include <limits.h>
61619 #else
61620 # include <assert.h>
61621 #endif
61622
61623 #undef $ac_func
61624
61625 /* Override any gcc2 internal prototype to avoid an error.  */
61626 #ifdef __cplusplus
61627 extern "C"
61628 {
61629 #endif
61630 /* We use char because int might match the return type of a gcc2
61631    builtin and then its argument prototype would still apply.  */
61632 char $ac_func ();
61633 /* The GNU C library defines this for functions which it implements
61634     to always fail with ENOSYS.  Some functions are actually named
61635     something starting with __ and the normal name is an alias.  */
61636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61637 choke me
61638 #else
61639 char (*f) () = $ac_func;
61640 #endif
61641 #ifdef __cplusplus
61642 }
61643 #endif
61644
61645 int
61646 main ()
61647 {
61648 return f != $ac_func;
61649   ;
61650   return 0;
61651 }
61652 _ACEOF
61653 rm -f conftest.$ac_objext conftest$ac_exeext
61654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61655   (eval $ac_link) 2>conftest.er1
61656   ac_status=$?
61657   grep -v '^ *+' conftest.er1 >conftest.err
61658   rm -f conftest.er1
61659   cat conftest.err >&5
61660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61661   (exit $ac_status); } &&
61662          { ac_try='test -z "$ac_c_werror_flag"
61663                          || test ! -s conftest.err'
61664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61665   (eval $ac_try) 2>&5
61666   ac_status=$?
61667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61668   (exit $ac_status); }; } &&
61669          { ac_try='test -s conftest$ac_exeext'
61670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61671   (eval $ac_try) 2>&5
61672   ac_status=$?
61673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61674   (exit $ac_status); }; }; then
61675   eval "$as_ac_var=yes"
61676 else
61677   echo "$as_me: failed program was:" >&5
61678 sed 's/^/| /' conftest.$ac_ext >&5
61679
61680 eval "$as_ac_var=no"
61681 fi
61682 rm -f conftest.err conftest.$ac_objext \
61683       conftest$ac_exeext conftest.$ac_ext
61684 fi
61685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61687 if test `eval echo '${'$as_ac_var'}'` = yes; then
61688   cat >>confdefs.h <<_ACEOF
61689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61690 _ACEOF
61691
61692 fi
61693 done
61694
61695     fi
61696   fi
61697
61698
61699
61700
61701
61702
61703   echo "$as_me:$LINENO: checking for powf declaration" >&5
61704 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
61705   if test x${glibcxx_cv_func_powf_use+set} != xset; then
61706     if test "${glibcxx_cv_func_powf_use+set}" = set; then
61707   echo $ECHO_N "(cached) $ECHO_C" >&6
61708 else
61709
61710
61711
61712       ac_ext=cc
61713 ac_cpp='$CXXCPP $CPPFLAGS'
61714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61717
61718       cat >conftest.$ac_ext <<_ACEOF
61719 /* confdefs.h.  */
61720 _ACEOF
61721 cat confdefs.h >>conftest.$ac_ext
61722 cat >>conftest.$ac_ext <<_ACEOF
61723 /* end confdefs.h.  */
61724 #include <math.h>
61725 int
61726 main ()
61727 {
61728  powf(0, 0);
61729   ;
61730   return 0;
61731 }
61732 _ACEOF
61733 rm -f conftest.$ac_objext
61734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61735   (eval $ac_compile) 2>conftest.er1
61736   ac_status=$?
61737   grep -v '^ *+' conftest.er1 >conftest.err
61738   rm -f conftest.er1
61739   cat conftest.err >&5
61740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61741   (exit $ac_status); } &&
61742          { ac_try='test -z "$ac_cxx_werror_flag"
61743                          || test ! -s conftest.err'
61744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61745   (eval $ac_try) 2>&5
61746   ac_status=$?
61747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61748   (exit $ac_status); }; } &&
61749          { ac_try='test -s conftest.$ac_objext'
61750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61751   (eval $ac_try) 2>&5
61752   ac_status=$?
61753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61754   (exit $ac_status); }; }; then
61755   glibcxx_cv_func_powf_use=yes
61756 else
61757   echo "$as_me: failed program was:" >&5
61758 sed 's/^/| /' conftest.$ac_ext >&5
61759
61760 glibcxx_cv_func_powf_use=no
61761 fi
61762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61763       ac_ext=c
61764 ac_cpp='$CPP $CPPFLAGS'
61765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61768
61769
61770 fi
61771
61772   fi
61773   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
61774 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
61775
61776   if test x$glibcxx_cv_func_powf_use = x"yes"; then
61777
61778 for ac_func in powf
61779 do
61780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61781 echo "$as_me:$LINENO: checking for $ac_func" >&5
61782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61783 if eval "test \"\${$as_ac_var+set}\" = set"; then
61784   echo $ECHO_N "(cached) $ECHO_C" >&6
61785 else
61786   if test x$gcc_no_link = xyes; then
61787   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61789    { (exit 1); exit 1; }; }
61790 fi
61791 cat >conftest.$ac_ext <<_ACEOF
61792 /* confdefs.h.  */
61793 _ACEOF
61794 cat confdefs.h >>conftest.$ac_ext
61795 cat >>conftest.$ac_ext <<_ACEOF
61796 /* end confdefs.h.  */
61797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61798    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61799 #define $ac_func innocuous_$ac_func
61800
61801 /* System header to define __stub macros and hopefully few prototypes,
61802     which can conflict with char $ac_func (); below.
61803     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61804     <limits.h> exists even on freestanding compilers.  */
61805
61806 #ifdef __STDC__
61807 # include <limits.h>
61808 #else
61809 # include <assert.h>
61810 #endif
61811
61812 #undef $ac_func
61813
61814 /* Override any gcc2 internal prototype to avoid an error.  */
61815 #ifdef __cplusplus
61816 extern "C"
61817 {
61818 #endif
61819 /* We use char because int might match the return type of a gcc2
61820    builtin and then its argument prototype would still apply.  */
61821 char $ac_func ();
61822 /* The GNU C library defines this for functions which it implements
61823     to always fail with ENOSYS.  Some functions are actually named
61824     something starting with __ and the normal name is an alias.  */
61825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61826 choke me
61827 #else
61828 char (*f) () = $ac_func;
61829 #endif
61830 #ifdef __cplusplus
61831 }
61832 #endif
61833
61834 int
61835 main ()
61836 {
61837 return f != $ac_func;
61838   ;
61839   return 0;
61840 }
61841 _ACEOF
61842 rm -f conftest.$ac_objext conftest$ac_exeext
61843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61844   (eval $ac_link) 2>conftest.er1
61845   ac_status=$?
61846   grep -v '^ *+' conftest.er1 >conftest.err
61847   rm -f conftest.er1
61848   cat conftest.err >&5
61849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61850   (exit $ac_status); } &&
61851          { ac_try='test -z "$ac_c_werror_flag"
61852                          || test ! -s conftest.err'
61853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61854   (eval $ac_try) 2>&5
61855   ac_status=$?
61856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61857   (exit $ac_status); }; } &&
61858          { ac_try='test -s conftest$ac_exeext'
61859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61860   (eval $ac_try) 2>&5
61861   ac_status=$?
61862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61863   (exit $ac_status); }; }; then
61864   eval "$as_ac_var=yes"
61865 else
61866   echo "$as_me: failed program was:" >&5
61867 sed 's/^/| /' conftest.$ac_ext >&5
61868
61869 eval "$as_ac_var=no"
61870 fi
61871 rm -f conftest.err conftest.$ac_objext \
61872       conftest$ac_exeext conftest.$ac_ext
61873 fi
61874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61876 if test `eval echo '${'$as_ac_var'}'` = yes; then
61877   cat >>confdefs.h <<_ACEOF
61878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61879 _ACEOF
61880
61881 fi
61882 done
61883
61884   else
61885
61886   echo "$as_me:$LINENO: checking for _powf declaration" >&5
61887 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
61888   if test x${glibcxx_cv_func__powf_use+set} != xset; then
61889     if test "${glibcxx_cv_func__powf_use+set}" = set; then
61890   echo $ECHO_N "(cached) $ECHO_C" >&6
61891 else
61892
61893
61894
61895       ac_ext=cc
61896 ac_cpp='$CXXCPP $CPPFLAGS'
61897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61900
61901       cat >conftest.$ac_ext <<_ACEOF
61902 /* confdefs.h.  */
61903 _ACEOF
61904 cat confdefs.h >>conftest.$ac_ext
61905 cat >>conftest.$ac_ext <<_ACEOF
61906 /* end confdefs.h.  */
61907 #include <math.h>
61908 int
61909 main ()
61910 {
61911  _powf(0, 0);
61912   ;
61913   return 0;
61914 }
61915 _ACEOF
61916 rm -f conftest.$ac_objext
61917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61918   (eval $ac_compile) 2>conftest.er1
61919   ac_status=$?
61920   grep -v '^ *+' conftest.er1 >conftest.err
61921   rm -f conftest.er1
61922   cat conftest.err >&5
61923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61924   (exit $ac_status); } &&
61925          { ac_try='test -z "$ac_cxx_werror_flag"
61926                          || test ! -s conftest.err'
61927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61928   (eval $ac_try) 2>&5
61929   ac_status=$?
61930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61931   (exit $ac_status); }; } &&
61932          { ac_try='test -s conftest.$ac_objext'
61933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61934   (eval $ac_try) 2>&5
61935   ac_status=$?
61936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61937   (exit $ac_status); }; }; then
61938   glibcxx_cv_func__powf_use=yes
61939 else
61940   echo "$as_me: failed program was:" >&5
61941 sed 's/^/| /' conftest.$ac_ext >&5
61942
61943 glibcxx_cv_func__powf_use=no
61944 fi
61945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61946       ac_ext=c
61947 ac_cpp='$CPP $CPPFLAGS'
61948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61951
61952
61953 fi
61954
61955   fi
61956   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
61957 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
61958
61959     if test x$glibcxx_cv_func__powf_use = x"yes"; then
61960
61961 for ac_func in _powf
61962 do
61963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61964 echo "$as_me:$LINENO: checking for $ac_func" >&5
61965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61966 if eval "test \"\${$as_ac_var+set}\" = set"; then
61967   echo $ECHO_N "(cached) $ECHO_C" >&6
61968 else
61969   if test x$gcc_no_link = xyes; then
61970   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61972    { (exit 1); exit 1; }; }
61973 fi
61974 cat >conftest.$ac_ext <<_ACEOF
61975 /* confdefs.h.  */
61976 _ACEOF
61977 cat confdefs.h >>conftest.$ac_ext
61978 cat >>conftest.$ac_ext <<_ACEOF
61979 /* end confdefs.h.  */
61980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61981    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61982 #define $ac_func innocuous_$ac_func
61983
61984 /* System header to define __stub macros and hopefully few prototypes,
61985     which can conflict with char $ac_func (); below.
61986     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61987     <limits.h> exists even on freestanding compilers.  */
61988
61989 #ifdef __STDC__
61990 # include <limits.h>
61991 #else
61992 # include <assert.h>
61993 #endif
61994
61995 #undef $ac_func
61996
61997 /* Override any gcc2 internal prototype to avoid an error.  */
61998 #ifdef __cplusplus
61999 extern "C"
62000 {
62001 #endif
62002 /* We use char because int might match the return type of a gcc2
62003    builtin and then its argument prototype would still apply.  */
62004 char $ac_func ();
62005 /* The GNU C library defines this for functions which it implements
62006     to always fail with ENOSYS.  Some functions are actually named
62007     something starting with __ and the normal name is an alias.  */
62008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62009 choke me
62010 #else
62011 char (*f) () = $ac_func;
62012 #endif
62013 #ifdef __cplusplus
62014 }
62015 #endif
62016
62017 int
62018 main ()
62019 {
62020 return f != $ac_func;
62021   ;
62022   return 0;
62023 }
62024 _ACEOF
62025 rm -f conftest.$ac_objext conftest$ac_exeext
62026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62027   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
62048 else
62049   echo "$as_me: failed program was:" >&5
62050 sed 's/^/| /' conftest.$ac_ext >&5
62051
62052 eval "$as_ac_var=no"
62053 fi
62054 rm -f conftest.err conftest.$ac_objext \
62055       conftest$ac_exeext conftest.$ac_ext
62056 fi
62057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62059 if test `eval echo '${'$as_ac_var'}'` = yes; then
62060   cat >>confdefs.h <<_ACEOF
62061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62062 _ACEOF
62063
62064 fi
62065 done
62066
62067     fi
62068   fi
62069
62070
62071
62072
62073
62074
62075   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
62076 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
62077   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
62078     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
62079   echo $ECHO_N "(cached) $ECHO_C" >&6
62080 else
62081
62082
62083
62084       ac_ext=cc
62085 ac_cpp='$CXXCPP $CPPFLAGS'
62086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62089
62090       cat >conftest.$ac_ext <<_ACEOF
62091 /* confdefs.h.  */
62092 _ACEOF
62093 cat confdefs.h >>conftest.$ac_ext
62094 cat >>conftest.$ac_ext <<_ACEOF
62095 /* end confdefs.h.  */
62096 #include <math.h>
62097                       #ifdef HAVE_IEEEFP_H
62098                       #include <ieeefp.h>
62099                       #endif
62100
62101 int
62102 main ()
62103 {
62104  sqrtf(0);
62105   ;
62106   return 0;
62107 }
62108 _ACEOF
62109 rm -f conftest.$ac_objext
62110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62111   (eval $ac_compile) 2>conftest.er1
62112   ac_status=$?
62113   grep -v '^ *+' conftest.er1 >conftest.err
62114   rm -f conftest.er1
62115   cat conftest.err >&5
62116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62117   (exit $ac_status); } &&
62118          { ac_try='test -z "$ac_cxx_werror_flag"
62119                          || test ! -s conftest.err'
62120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62121   (eval $ac_try) 2>&5
62122   ac_status=$?
62123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62124   (exit $ac_status); }; } &&
62125          { ac_try='test -s conftest.$ac_objext'
62126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62127   (eval $ac_try) 2>&5
62128   ac_status=$?
62129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62130   (exit $ac_status); }; }; then
62131   glibcxx_cv_func_sqrtf_use=yes
62132 else
62133   echo "$as_me: failed program was:" >&5
62134 sed 's/^/| /' conftest.$ac_ext >&5
62135
62136 glibcxx_cv_func_sqrtf_use=no
62137 fi
62138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62139       ac_ext=c
62140 ac_cpp='$CPP $CPPFLAGS'
62141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62144
62145
62146 fi
62147
62148   fi
62149   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
62150 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
62151
62152   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62153
62154 for ac_func in sqrtf
62155 do
62156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62157 echo "$as_me:$LINENO: checking for $ac_func" >&5
62158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62159 if eval "test \"\${$as_ac_var+set}\" = set"; then
62160   echo $ECHO_N "(cached) $ECHO_C" >&6
62161 else
62162   if test x$gcc_no_link = xyes; then
62163   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62165    { (exit 1); exit 1; }; }
62166 fi
62167 cat >conftest.$ac_ext <<_ACEOF
62168 /* confdefs.h.  */
62169 _ACEOF
62170 cat confdefs.h >>conftest.$ac_ext
62171 cat >>conftest.$ac_ext <<_ACEOF
62172 /* end confdefs.h.  */
62173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62174    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62175 #define $ac_func innocuous_$ac_func
62176
62177 /* System header to define __stub macros and hopefully few prototypes,
62178     which can conflict with char $ac_func (); below.
62179     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62180     <limits.h> exists even on freestanding compilers.  */
62181
62182 #ifdef __STDC__
62183 # include <limits.h>
62184 #else
62185 # include <assert.h>
62186 #endif
62187
62188 #undef $ac_func
62189
62190 /* Override any gcc2 internal prototype to avoid an error.  */
62191 #ifdef __cplusplus
62192 extern "C"
62193 {
62194 #endif
62195 /* We use char because int might match the return type of a gcc2
62196    builtin and then its argument prototype would still apply.  */
62197 char $ac_func ();
62198 /* The GNU C library defines this for functions which it implements
62199     to always fail with ENOSYS.  Some functions are actually named
62200     something starting with __ and the normal name is an alias.  */
62201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62202 choke me
62203 #else
62204 char (*f) () = $ac_func;
62205 #endif
62206 #ifdef __cplusplus
62207 }
62208 #endif
62209
62210 int
62211 main ()
62212 {
62213 return f != $ac_func;
62214   ;
62215   return 0;
62216 }
62217 _ACEOF
62218 rm -f conftest.$ac_objext conftest$ac_exeext
62219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62220   (eval $ac_link) 2>conftest.er1
62221   ac_status=$?
62222   grep -v '^ *+' conftest.er1 >conftest.err
62223   rm -f conftest.er1
62224   cat conftest.err >&5
62225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62226   (exit $ac_status); } &&
62227          { ac_try='test -z "$ac_c_werror_flag"
62228                          || test ! -s conftest.err'
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); }; } &&
62234          { ac_try='test -s conftest$ac_exeext'
62235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62236   (eval $ac_try) 2>&5
62237   ac_status=$?
62238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62239   (exit $ac_status); }; }; then
62240   eval "$as_ac_var=yes"
62241 else
62242   echo "$as_me: failed program was:" >&5
62243 sed 's/^/| /' conftest.$ac_ext >&5
62244
62245 eval "$as_ac_var=no"
62246 fi
62247 rm -f conftest.err conftest.$ac_objext \
62248       conftest$ac_exeext conftest.$ac_ext
62249 fi
62250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62252 if test `eval echo '${'$as_ac_var'}'` = yes; then
62253   cat >>confdefs.h <<_ACEOF
62254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62255 _ACEOF
62256
62257 fi
62258 done
62259
62260   else
62261
62262   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
62263 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
62264   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62265     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
62266   echo $ECHO_N "(cached) $ECHO_C" >&6
62267 else
62268
62269
62270
62271       ac_ext=cc
62272 ac_cpp='$CXXCPP $CPPFLAGS'
62273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62276
62277       cat >conftest.$ac_ext <<_ACEOF
62278 /* confdefs.h.  */
62279 _ACEOF
62280 cat confdefs.h >>conftest.$ac_ext
62281 cat >>conftest.$ac_ext <<_ACEOF
62282 /* end confdefs.h.  */
62283 #include <math.h>
62284                       #ifdef HAVE_IEEEFP_H
62285                       #include <ieeefp.h>
62286                       #endif
62287
62288 int
62289 main ()
62290 {
62291  _sqrtf(0);
62292   ;
62293   return 0;
62294 }
62295 _ACEOF
62296 rm -f conftest.$ac_objext
62297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62298   (eval $ac_compile) 2>conftest.er1
62299   ac_status=$?
62300   grep -v '^ *+' conftest.er1 >conftest.err
62301   rm -f conftest.er1
62302   cat conftest.err >&5
62303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62304   (exit $ac_status); } &&
62305          { ac_try='test -z "$ac_cxx_werror_flag"
62306                          || test ! -s conftest.err'
62307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62308   (eval $ac_try) 2>&5
62309   ac_status=$?
62310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62311   (exit $ac_status); }; } &&
62312          { ac_try='test -s conftest.$ac_objext'
62313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62314   (eval $ac_try) 2>&5
62315   ac_status=$?
62316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62317   (exit $ac_status); }; }; then
62318   glibcxx_cv_func__sqrtf_use=yes
62319 else
62320   echo "$as_me: failed program was:" >&5
62321 sed 's/^/| /' conftest.$ac_ext >&5
62322
62323 glibcxx_cv_func__sqrtf_use=no
62324 fi
62325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62326       ac_ext=c
62327 ac_cpp='$CPP $CPPFLAGS'
62328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62331
62332
62333 fi
62334
62335   fi
62336   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
62337 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
62338
62339     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62340
62341 for ac_func in _sqrtf
62342 do
62343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62344 echo "$as_me:$LINENO: checking for $ac_func" >&5
62345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62346 if eval "test \"\${$as_ac_var+set}\" = set"; then
62347   echo $ECHO_N "(cached) $ECHO_C" >&6
62348 else
62349   if test x$gcc_no_link = xyes; then
62350   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62352    { (exit 1); exit 1; }; }
62353 fi
62354 cat >conftest.$ac_ext <<_ACEOF
62355 /* confdefs.h.  */
62356 _ACEOF
62357 cat confdefs.h >>conftest.$ac_ext
62358 cat >>conftest.$ac_ext <<_ACEOF
62359 /* end confdefs.h.  */
62360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62361    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62362 #define $ac_func innocuous_$ac_func
62363
62364 /* System header to define __stub macros and hopefully few prototypes,
62365     which can conflict with char $ac_func (); below.
62366     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62367     <limits.h> exists even on freestanding compilers.  */
62368
62369 #ifdef __STDC__
62370 # include <limits.h>
62371 #else
62372 # include <assert.h>
62373 #endif
62374
62375 #undef $ac_func
62376
62377 /* Override any gcc2 internal prototype to avoid an error.  */
62378 #ifdef __cplusplus
62379 extern "C"
62380 {
62381 #endif
62382 /* We use char because int might match the return type of a gcc2
62383    builtin and then its argument prototype would still apply.  */
62384 char $ac_func ();
62385 /* The GNU C library defines this for functions which it implements
62386     to always fail with ENOSYS.  Some functions are actually named
62387     something starting with __ and the normal name is an alias.  */
62388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62389 choke me
62390 #else
62391 char (*f) () = $ac_func;
62392 #endif
62393 #ifdef __cplusplus
62394 }
62395 #endif
62396
62397 int
62398 main ()
62399 {
62400 return f != $ac_func;
62401   ;
62402   return 0;
62403 }
62404 _ACEOF
62405 rm -f conftest.$ac_objext conftest$ac_exeext
62406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62407   (eval $ac_link) 2>conftest.er1
62408   ac_status=$?
62409   grep -v '^ *+' conftest.er1 >conftest.err
62410   rm -f conftest.er1
62411   cat conftest.err >&5
62412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62413   (exit $ac_status); } &&
62414          { ac_try='test -z "$ac_c_werror_flag"
62415                          || test ! -s conftest.err'
62416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62417   (eval $ac_try) 2>&5
62418   ac_status=$?
62419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62420   (exit $ac_status); }; } &&
62421          { ac_try='test -s conftest$ac_exeext'
62422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62423   (eval $ac_try) 2>&5
62424   ac_status=$?
62425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62426   (exit $ac_status); }; }; then
62427   eval "$as_ac_var=yes"
62428 else
62429   echo "$as_me: failed program was:" >&5
62430 sed 's/^/| /' conftest.$ac_ext >&5
62431
62432 eval "$as_ac_var=no"
62433 fi
62434 rm -f conftest.err conftest.$ac_objext \
62435       conftest$ac_exeext conftest.$ac_ext
62436 fi
62437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62439 if test `eval echo '${'$as_ac_var'}'` = yes; then
62440   cat >>confdefs.h <<_ACEOF
62441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62442 _ACEOF
62443
62444 fi
62445 done
62446
62447     fi
62448   fi
62449
62450
62451
62452
62453
62454
62455   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
62456 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
62457   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62458     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
62459   echo $ECHO_N "(cached) $ECHO_C" >&6
62460 else
62461
62462
62463
62464       ac_ext=cc
62465 ac_cpp='$CXXCPP $CPPFLAGS'
62466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62469
62470       cat >conftest.$ac_ext <<_ACEOF
62471 /* confdefs.h.  */
62472 _ACEOF
62473 cat confdefs.h >>conftest.$ac_ext
62474 cat >>conftest.$ac_ext <<_ACEOF
62475 /* end confdefs.h.  */
62476 #include <math.h>
62477 int
62478 main ()
62479 {
62480  sincosf(0, 0, 0);
62481   ;
62482   return 0;
62483 }
62484 _ACEOF
62485 rm -f conftest.$ac_objext
62486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62487   (eval $ac_compile) 2>conftest.er1
62488   ac_status=$?
62489   grep -v '^ *+' conftest.er1 >conftest.err
62490   rm -f conftest.er1
62491   cat conftest.err >&5
62492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62493   (exit $ac_status); } &&
62494          { ac_try='test -z "$ac_cxx_werror_flag"
62495                          || test ! -s conftest.err'
62496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62497   (eval $ac_try) 2>&5
62498   ac_status=$?
62499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62500   (exit $ac_status); }; } &&
62501          { ac_try='test -s conftest.$ac_objext'
62502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62503   (eval $ac_try) 2>&5
62504   ac_status=$?
62505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62506   (exit $ac_status); }; }; then
62507   glibcxx_cv_func_sincosf_use=yes
62508 else
62509   echo "$as_me: failed program was:" >&5
62510 sed 's/^/| /' conftest.$ac_ext >&5
62511
62512 glibcxx_cv_func_sincosf_use=no
62513 fi
62514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62515       ac_ext=c
62516 ac_cpp='$CPP $CPPFLAGS'
62517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62520
62521
62522 fi
62523
62524   fi
62525   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
62526 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
62527
62528   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62529
62530 for ac_func in sincosf
62531 do
62532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62533 echo "$as_me:$LINENO: checking for $ac_func" >&5
62534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62535 if eval "test \"\${$as_ac_var+set}\" = set"; then
62536   echo $ECHO_N "(cached) $ECHO_C" >&6
62537 else
62538   if test x$gcc_no_link = xyes; then
62539   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62541    { (exit 1); exit 1; }; }
62542 fi
62543 cat >conftest.$ac_ext <<_ACEOF
62544 /* confdefs.h.  */
62545 _ACEOF
62546 cat confdefs.h >>conftest.$ac_ext
62547 cat >>conftest.$ac_ext <<_ACEOF
62548 /* end confdefs.h.  */
62549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62550    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62551 #define $ac_func innocuous_$ac_func
62552
62553 /* System header to define __stub macros and hopefully few prototypes,
62554     which can conflict with char $ac_func (); below.
62555     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62556     <limits.h> exists even on freestanding compilers.  */
62557
62558 #ifdef __STDC__
62559 # include <limits.h>
62560 #else
62561 # include <assert.h>
62562 #endif
62563
62564 #undef $ac_func
62565
62566 /* Override any gcc2 internal prototype to avoid an error.  */
62567 #ifdef __cplusplus
62568 extern "C"
62569 {
62570 #endif
62571 /* We use char because int might match the return type of a gcc2
62572    builtin and then its argument prototype would still apply.  */
62573 char $ac_func ();
62574 /* The GNU C library defines this for functions which it implements
62575     to always fail with ENOSYS.  Some functions are actually named
62576     something starting with __ and the normal name is an alias.  */
62577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62578 choke me
62579 #else
62580 char (*f) () = $ac_func;
62581 #endif
62582 #ifdef __cplusplus
62583 }
62584 #endif
62585
62586 int
62587 main ()
62588 {
62589 return f != $ac_func;
62590   ;
62591   return 0;
62592 }
62593 _ACEOF
62594 rm -f conftest.$ac_objext conftest$ac_exeext
62595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62596   (eval $ac_link) 2>conftest.er1
62597   ac_status=$?
62598   grep -v '^ *+' conftest.er1 >conftest.err
62599   rm -f conftest.er1
62600   cat conftest.err >&5
62601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62602   (exit $ac_status); } &&
62603          { ac_try='test -z "$ac_c_werror_flag"
62604                          || test ! -s conftest.err'
62605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62606   (eval $ac_try) 2>&5
62607   ac_status=$?
62608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62609   (exit $ac_status); }; } &&
62610          { ac_try='test -s conftest$ac_exeext'
62611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62612   (eval $ac_try) 2>&5
62613   ac_status=$?
62614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62615   (exit $ac_status); }; }; then
62616   eval "$as_ac_var=yes"
62617 else
62618   echo "$as_me: failed program was:" >&5
62619 sed 's/^/| /' conftest.$ac_ext >&5
62620
62621 eval "$as_ac_var=no"
62622 fi
62623 rm -f conftest.err conftest.$ac_objext \
62624       conftest$ac_exeext conftest.$ac_ext
62625 fi
62626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62628 if test `eval echo '${'$as_ac_var'}'` = yes; then
62629   cat >>confdefs.h <<_ACEOF
62630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62631 _ACEOF
62632
62633 fi
62634 done
62635
62636   else
62637
62638   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
62639 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
62640   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62641     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
62642   echo $ECHO_N "(cached) $ECHO_C" >&6
62643 else
62644
62645
62646
62647       ac_ext=cc
62648 ac_cpp='$CXXCPP $CPPFLAGS'
62649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62652
62653       cat >conftest.$ac_ext <<_ACEOF
62654 /* confdefs.h.  */
62655 _ACEOF
62656 cat confdefs.h >>conftest.$ac_ext
62657 cat >>conftest.$ac_ext <<_ACEOF
62658 /* end confdefs.h.  */
62659 #include <math.h>
62660 int
62661 main ()
62662 {
62663  _sincosf(0, 0, 0);
62664   ;
62665   return 0;
62666 }
62667 _ACEOF
62668 rm -f conftest.$ac_objext
62669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62670   (eval $ac_compile) 2>conftest.er1
62671   ac_status=$?
62672   grep -v '^ *+' conftest.er1 >conftest.err
62673   rm -f conftest.er1
62674   cat conftest.err >&5
62675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62676   (exit $ac_status); } &&
62677          { ac_try='test -z "$ac_cxx_werror_flag"
62678                          || test ! -s conftest.err'
62679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62680   (eval $ac_try) 2>&5
62681   ac_status=$?
62682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62683   (exit $ac_status); }; } &&
62684          { ac_try='test -s conftest.$ac_objext'
62685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62686   (eval $ac_try) 2>&5
62687   ac_status=$?
62688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62689   (exit $ac_status); }; }; then
62690   glibcxx_cv_func__sincosf_use=yes
62691 else
62692   echo "$as_me: failed program was:" >&5
62693 sed 's/^/| /' conftest.$ac_ext >&5
62694
62695 glibcxx_cv_func__sincosf_use=no
62696 fi
62697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62698       ac_ext=c
62699 ac_cpp='$CPP $CPPFLAGS'
62700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62703
62704
62705 fi
62706
62707   fi
62708   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
62709 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
62710
62711     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62712
62713 for ac_func in _sincosf
62714 do
62715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62716 echo "$as_me:$LINENO: checking for $ac_func" >&5
62717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62718 if eval "test \"\${$as_ac_var+set}\" = set"; then
62719   echo $ECHO_N "(cached) $ECHO_C" >&6
62720 else
62721   if test x$gcc_no_link = xyes; then
62722   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62724    { (exit 1); exit 1; }; }
62725 fi
62726 cat >conftest.$ac_ext <<_ACEOF
62727 /* confdefs.h.  */
62728 _ACEOF
62729 cat confdefs.h >>conftest.$ac_ext
62730 cat >>conftest.$ac_ext <<_ACEOF
62731 /* end confdefs.h.  */
62732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62733    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62734 #define $ac_func innocuous_$ac_func
62735
62736 /* System header to define __stub macros and hopefully few prototypes,
62737     which can conflict with char $ac_func (); below.
62738     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62739     <limits.h> exists even on freestanding compilers.  */
62740
62741 #ifdef __STDC__
62742 # include <limits.h>
62743 #else
62744 # include <assert.h>
62745 #endif
62746
62747 #undef $ac_func
62748
62749 /* Override any gcc2 internal prototype to avoid an error.  */
62750 #ifdef __cplusplus
62751 extern "C"
62752 {
62753 #endif
62754 /* We use char because int might match the return type of a gcc2
62755    builtin and then its argument prototype would still apply.  */
62756 char $ac_func ();
62757 /* The GNU C library defines this for functions which it implements
62758     to always fail with ENOSYS.  Some functions are actually named
62759     something starting with __ and the normal name is an alias.  */
62760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62761 choke me
62762 #else
62763 char (*f) () = $ac_func;
62764 #endif
62765 #ifdef __cplusplus
62766 }
62767 #endif
62768
62769 int
62770 main ()
62771 {
62772 return f != $ac_func;
62773   ;
62774   return 0;
62775 }
62776 _ACEOF
62777 rm -f conftest.$ac_objext conftest$ac_exeext
62778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62779   (eval $ac_link) 2>conftest.er1
62780   ac_status=$?
62781   grep -v '^ *+' conftest.er1 >conftest.err
62782   rm -f conftest.er1
62783   cat conftest.err >&5
62784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62785   (exit $ac_status); } &&
62786          { ac_try='test -z "$ac_c_werror_flag"
62787                          || test ! -s conftest.err'
62788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62789   (eval $ac_try) 2>&5
62790   ac_status=$?
62791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62792   (exit $ac_status); }; } &&
62793          { ac_try='test -s conftest$ac_exeext'
62794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62795   (eval $ac_try) 2>&5
62796   ac_status=$?
62797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62798   (exit $ac_status); }; }; then
62799   eval "$as_ac_var=yes"
62800 else
62801   echo "$as_me: failed program was:" >&5
62802 sed 's/^/| /' conftest.$ac_ext >&5
62803
62804 eval "$as_ac_var=no"
62805 fi
62806 rm -f conftest.err conftest.$ac_objext \
62807       conftest$ac_exeext conftest.$ac_ext
62808 fi
62809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62811 if test `eval echo '${'$as_ac_var'}'` = yes; then
62812   cat >>confdefs.h <<_ACEOF
62813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62814 _ACEOF
62815
62816 fi
62817 done
62818
62819     fi
62820   fi
62821
62822
62823
62824
62825
62826
62827   echo "$as_me:$LINENO: checking for finitef declaration" >&5
62828 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
62829   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62830     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
62831   echo $ECHO_N "(cached) $ECHO_C" >&6
62832 else
62833
62834
62835
62836       ac_ext=cc
62837 ac_cpp='$CXXCPP $CPPFLAGS'
62838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62841
62842       cat >conftest.$ac_ext <<_ACEOF
62843 /* confdefs.h.  */
62844 _ACEOF
62845 cat confdefs.h >>conftest.$ac_ext
62846 cat >>conftest.$ac_ext <<_ACEOF
62847 /* end confdefs.h.  */
62848 #include <math.h>
62849                       #ifdef HAVE_IEEEFP_H
62850                       #include <ieeefp.h>
62851                       #endif
62852
62853 int
62854 main ()
62855 {
62856  finitef(0);
62857   ;
62858   return 0;
62859 }
62860 _ACEOF
62861 rm -f conftest.$ac_objext
62862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62863   (eval $ac_compile) 2>conftest.er1
62864   ac_status=$?
62865   grep -v '^ *+' conftest.er1 >conftest.err
62866   rm -f conftest.er1
62867   cat conftest.err >&5
62868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62869   (exit $ac_status); } &&
62870          { ac_try='test -z "$ac_cxx_werror_flag"
62871                          || test ! -s conftest.err'
62872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62873   (eval $ac_try) 2>&5
62874   ac_status=$?
62875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62876   (exit $ac_status); }; } &&
62877          { ac_try='test -s conftest.$ac_objext'
62878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62879   (eval $ac_try) 2>&5
62880   ac_status=$?
62881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62882   (exit $ac_status); }; }; then
62883   glibcxx_cv_func_finitef_use=yes
62884 else
62885   echo "$as_me: failed program was:" >&5
62886 sed 's/^/| /' conftest.$ac_ext >&5
62887
62888 glibcxx_cv_func_finitef_use=no
62889 fi
62890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62891       ac_ext=c
62892 ac_cpp='$CPP $CPPFLAGS'
62893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62896
62897
62898 fi
62899
62900   fi
62901   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
62902 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
62903
62904   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62905
62906 for ac_func in finitef
62907 do
62908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62909 echo "$as_me:$LINENO: checking for $ac_func" >&5
62910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62911 if eval "test \"\${$as_ac_var+set}\" = set"; then
62912   echo $ECHO_N "(cached) $ECHO_C" >&6
62913 else
62914   if test x$gcc_no_link = xyes; then
62915   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62917    { (exit 1); exit 1; }; }
62918 fi
62919 cat >conftest.$ac_ext <<_ACEOF
62920 /* confdefs.h.  */
62921 _ACEOF
62922 cat confdefs.h >>conftest.$ac_ext
62923 cat >>conftest.$ac_ext <<_ACEOF
62924 /* end confdefs.h.  */
62925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62926    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62927 #define $ac_func innocuous_$ac_func
62928
62929 /* System header to define __stub macros and hopefully few prototypes,
62930     which can conflict with char $ac_func (); below.
62931     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62932     <limits.h> exists even on freestanding compilers.  */
62933
62934 #ifdef __STDC__
62935 # include <limits.h>
62936 #else
62937 # include <assert.h>
62938 #endif
62939
62940 #undef $ac_func
62941
62942 /* Override any gcc2 internal prototype to avoid an error.  */
62943 #ifdef __cplusplus
62944 extern "C"
62945 {
62946 #endif
62947 /* We use char because int might match the return type of a gcc2
62948    builtin and then its argument prototype would still apply.  */
62949 char $ac_func ();
62950 /* The GNU C library defines this for functions which it implements
62951     to always fail with ENOSYS.  Some functions are actually named
62952     something starting with __ and the normal name is an alias.  */
62953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62954 choke me
62955 #else
62956 char (*f) () = $ac_func;
62957 #endif
62958 #ifdef __cplusplus
62959 }
62960 #endif
62961
62962 int
62963 main ()
62964 {
62965 return f != $ac_func;
62966   ;
62967   return 0;
62968 }
62969 _ACEOF
62970 rm -f conftest.$ac_objext conftest$ac_exeext
62971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62972   (eval $ac_link) 2>conftest.er1
62973   ac_status=$?
62974   grep -v '^ *+' conftest.er1 >conftest.err
62975   rm -f conftest.er1
62976   cat conftest.err >&5
62977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62978   (exit $ac_status); } &&
62979          { ac_try='test -z "$ac_c_werror_flag"
62980                          || test ! -s conftest.err'
62981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62982   (eval $ac_try) 2>&5
62983   ac_status=$?
62984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62985   (exit $ac_status); }; } &&
62986          { ac_try='test -s conftest$ac_exeext'
62987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62988   (eval $ac_try) 2>&5
62989   ac_status=$?
62990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62991   (exit $ac_status); }; }; then
62992   eval "$as_ac_var=yes"
62993 else
62994   echo "$as_me: failed program was:" >&5
62995 sed 's/^/| /' conftest.$ac_ext >&5
62996
62997 eval "$as_ac_var=no"
62998 fi
62999 rm -f conftest.err conftest.$ac_objext \
63000       conftest$ac_exeext conftest.$ac_ext
63001 fi
63002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63004 if test `eval echo '${'$as_ac_var'}'` = yes; then
63005   cat >>confdefs.h <<_ACEOF
63006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63007 _ACEOF
63008
63009 fi
63010 done
63011
63012   else
63013
63014   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
63015 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
63016   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63017     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
63018   echo $ECHO_N "(cached) $ECHO_C" >&6
63019 else
63020
63021
63022
63023       ac_ext=cc
63024 ac_cpp='$CXXCPP $CPPFLAGS'
63025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63028
63029       cat >conftest.$ac_ext <<_ACEOF
63030 /* confdefs.h.  */
63031 _ACEOF
63032 cat confdefs.h >>conftest.$ac_ext
63033 cat >>conftest.$ac_ext <<_ACEOF
63034 /* end confdefs.h.  */
63035 #include <math.h>
63036                       #ifdef HAVE_IEEEFP_H
63037                       #include <ieeefp.h>
63038                       #endif
63039
63040 int
63041 main ()
63042 {
63043  _finitef(0);
63044   ;
63045   return 0;
63046 }
63047 _ACEOF
63048 rm -f conftest.$ac_objext
63049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63050   (eval $ac_compile) 2>conftest.er1
63051   ac_status=$?
63052   grep -v '^ *+' conftest.er1 >conftest.err
63053   rm -f conftest.er1
63054   cat conftest.err >&5
63055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63056   (exit $ac_status); } &&
63057          { ac_try='test -z "$ac_cxx_werror_flag"
63058                          || test ! -s conftest.err'
63059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63060   (eval $ac_try) 2>&5
63061   ac_status=$?
63062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63063   (exit $ac_status); }; } &&
63064          { ac_try='test -s conftest.$ac_objext'
63065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63066   (eval $ac_try) 2>&5
63067   ac_status=$?
63068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63069   (exit $ac_status); }; }; then
63070   glibcxx_cv_func__finitef_use=yes
63071 else
63072   echo "$as_me: failed program was:" >&5
63073 sed 's/^/| /' conftest.$ac_ext >&5
63074
63075 glibcxx_cv_func__finitef_use=no
63076 fi
63077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63078       ac_ext=c
63079 ac_cpp='$CPP $CPPFLAGS'
63080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63083
63084
63085 fi
63086
63087   fi
63088   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
63089 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
63090
63091     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63092
63093 for ac_func in _finitef
63094 do
63095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63096 echo "$as_me:$LINENO: checking for $ac_func" >&5
63097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63098 if eval "test \"\${$as_ac_var+set}\" = set"; then
63099   echo $ECHO_N "(cached) $ECHO_C" >&6
63100 else
63101   if test x$gcc_no_link = xyes; then
63102   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63104    { (exit 1); exit 1; }; }
63105 fi
63106 cat >conftest.$ac_ext <<_ACEOF
63107 /* confdefs.h.  */
63108 _ACEOF
63109 cat confdefs.h >>conftest.$ac_ext
63110 cat >>conftest.$ac_ext <<_ACEOF
63111 /* end confdefs.h.  */
63112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63113    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63114 #define $ac_func innocuous_$ac_func
63115
63116 /* System header to define __stub macros and hopefully few prototypes,
63117     which can conflict with char $ac_func (); below.
63118     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63119     <limits.h> exists even on freestanding compilers.  */
63120
63121 #ifdef __STDC__
63122 # include <limits.h>
63123 #else
63124 # include <assert.h>
63125 #endif
63126
63127 #undef $ac_func
63128
63129 /* Override any gcc2 internal prototype to avoid an error.  */
63130 #ifdef __cplusplus
63131 extern "C"
63132 {
63133 #endif
63134 /* We use char because int might match the return type of a gcc2
63135    builtin and then its argument prototype would still apply.  */
63136 char $ac_func ();
63137 /* The GNU C library defines this for functions which it implements
63138     to always fail with ENOSYS.  Some functions are actually named
63139     something starting with __ and the normal name is an alias.  */
63140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63141 choke me
63142 #else
63143 char (*f) () = $ac_func;
63144 #endif
63145 #ifdef __cplusplus
63146 }
63147 #endif
63148
63149 int
63150 main ()
63151 {
63152 return f != $ac_func;
63153   ;
63154   return 0;
63155 }
63156 _ACEOF
63157 rm -f conftest.$ac_objext conftest$ac_exeext
63158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63159   (eval $ac_link) 2>conftest.er1
63160   ac_status=$?
63161   grep -v '^ *+' conftest.er1 >conftest.err
63162   rm -f conftest.er1
63163   cat conftest.err >&5
63164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63165   (exit $ac_status); } &&
63166          { ac_try='test -z "$ac_c_werror_flag"
63167                          || test ! -s conftest.err'
63168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63169   (eval $ac_try) 2>&5
63170   ac_status=$?
63171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63172   (exit $ac_status); }; } &&
63173          { ac_try='test -s conftest$ac_exeext'
63174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63175   (eval $ac_try) 2>&5
63176   ac_status=$?
63177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63178   (exit $ac_status); }; }; then
63179   eval "$as_ac_var=yes"
63180 else
63181   echo "$as_me: failed program was:" >&5
63182 sed 's/^/| /' conftest.$ac_ext >&5
63183
63184 eval "$as_ac_var=no"
63185 fi
63186 rm -f conftest.err conftest.$ac_objext \
63187       conftest$ac_exeext conftest.$ac_ext
63188 fi
63189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63191 if test `eval echo '${'$as_ac_var'}'` = yes; then
63192   cat >>confdefs.h <<_ACEOF
63193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63194 _ACEOF
63195
63196 fi
63197 done
63198
63199     fi
63200   fi
63201
63202
63203
63204
63205
63206
63207     echo "$as_me:$LINENO: checking for long double trig functions" >&5
63208 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
63209   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
63210   echo $ECHO_N "(cached) $ECHO_C" >&6
63211 else
63212
63213
63214
63215     ac_ext=cc
63216 ac_cpp='$CXXCPP $CPPFLAGS'
63217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63220
63221     cat >conftest.$ac_ext <<_ACEOF
63222 /* confdefs.h.  */
63223 _ACEOF
63224 cat confdefs.h >>conftest.$ac_ext
63225 cat >>conftest.$ac_ext <<_ACEOF
63226 /* end confdefs.h.  */
63227 #include <math.h>
63228 int
63229 main ()
63230 {
63231 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63232   ;
63233   return 0;
63234 }
63235 _ACEOF
63236 rm -f conftest.$ac_objext
63237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63238   (eval $ac_compile) 2>conftest.er1
63239   ac_status=$?
63240   grep -v '^ *+' conftest.er1 >conftest.err
63241   rm -f conftest.er1
63242   cat conftest.err >&5
63243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63244   (exit $ac_status); } &&
63245          { ac_try='test -z "$ac_cxx_werror_flag"
63246                          || test ! -s conftest.err'
63247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63248   (eval $ac_try) 2>&5
63249   ac_status=$?
63250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63251   (exit $ac_status); }; } &&
63252          { ac_try='test -s conftest.$ac_objext'
63253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63254   (eval $ac_try) 2>&5
63255   ac_status=$?
63256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63257   (exit $ac_status); }; }; then
63258   glibcxx_cv_func_long_double_trig_use=yes
63259 else
63260   echo "$as_me: failed program was:" >&5
63261 sed 's/^/| /' conftest.$ac_ext >&5
63262
63263 glibcxx_cv_func_long_double_trig_use=no
63264 fi
63265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63266     ac_ext=c
63267 ac_cpp='$CPP $CPPFLAGS'
63268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63271
63272 fi
63273
63274   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
63275 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
63276   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63277
63278
63279
63280
63281
63282
63283
63284
63285
63286 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63287 do
63288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63289 echo "$as_me:$LINENO: checking for $ac_func" >&5
63290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63291 if eval "test \"\${$as_ac_var+set}\" = set"; then
63292   echo $ECHO_N "(cached) $ECHO_C" >&6
63293 else
63294   if test x$gcc_no_link = xyes; then
63295   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63297    { (exit 1); exit 1; }; }
63298 fi
63299 cat >conftest.$ac_ext <<_ACEOF
63300 /* confdefs.h.  */
63301 _ACEOF
63302 cat confdefs.h >>conftest.$ac_ext
63303 cat >>conftest.$ac_ext <<_ACEOF
63304 /* end confdefs.h.  */
63305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63306    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63307 #define $ac_func innocuous_$ac_func
63308
63309 /* System header to define __stub macros and hopefully few prototypes,
63310     which can conflict with char $ac_func (); below.
63311     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63312     <limits.h> exists even on freestanding compilers.  */
63313
63314 #ifdef __STDC__
63315 # include <limits.h>
63316 #else
63317 # include <assert.h>
63318 #endif
63319
63320 #undef $ac_func
63321
63322 /* Override any gcc2 internal prototype to avoid an error.  */
63323 #ifdef __cplusplus
63324 extern "C"
63325 {
63326 #endif
63327 /* We use char because int might match the return type of a gcc2
63328    builtin and then its argument prototype would still apply.  */
63329 char $ac_func ();
63330 /* The GNU C library defines this for functions which it implements
63331     to always fail with ENOSYS.  Some functions are actually named
63332     something starting with __ and the normal name is an alias.  */
63333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63334 choke me
63335 #else
63336 char (*f) () = $ac_func;
63337 #endif
63338 #ifdef __cplusplus
63339 }
63340 #endif
63341
63342 int
63343 main ()
63344 {
63345 return f != $ac_func;
63346   ;
63347   return 0;
63348 }
63349 _ACEOF
63350 rm -f conftest.$ac_objext conftest$ac_exeext
63351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63352   (eval $ac_link) 2>conftest.er1
63353   ac_status=$?
63354   grep -v '^ *+' conftest.er1 >conftest.err
63355   rm -f conftest.er1
63356   cat conftest.err >&5
63357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63358   (exit $ac_status); } &&
63359          { ac_try='test -z "$ac_c_werror_flag"
63360                          || test ! -s conftest.err'
63361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63362   (eval $ac_try) 2>&5
63363   ac_status=$?
63364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63365   (exit $ac_status); }; } &&
63366          { ac_try='test -s conftest$ac_exeext'
63367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63368   (eval $ac_try) 2>&5
63369   ac_status=$?
63370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63371   (exit $ac_status); }; }; then
63372   eval "$as_ac_var=yes"
63373 else
63374   echo "$as_me: failed program was:" >&5
63375 sed 's/^/| /' conftest.$ac_ext >&5
63376
63377 eval "$as_ac_var=no"
63378 fi
63379 rm -f conftest.err conftest.$ac_objext \
63380       conftest$ac_exeext conftest.$ac_ext
63381 fi
63382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63384 if test `eval echo '${'$as_ac_var'}'` = yes; then
63385   cat >>confdefs.h <<_ACEOF
63386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63387 _ACEOF
63388
63389 fi
63390 done
63391
63392   else
63393     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
63394 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
63395     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
63396   echo $ECHO_N "(cached) $ECHO_C" >&6
63397 else
63398
63399
63400
63401       ac_ext=cc
63402 ac_cpp='$CXXCPP $CPPFLAGS'
63403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63406
63407       cat >conftest.$ac_ext <<_ACEOF
63408 /* confdefs.h.  */
63409 _ACEOF
63410 cat confdefs.h >>conftest.$ac_ext
63411 cat >>conftest.$ac_ext <<_ACEOF
63412 /* end confdefs.h.  */
63413 #include <math.h>
63414 int
63415 main ()
63416 {
63417 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63418   ;
63419   return 0;
63420 }
63421 _ACEOF
63422 rm -f conftest.$ac_objext
63423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63424   (eval $ac_compile) 2>conftest.er1
63425   ac_status=$?
63426   grep -v '^ *+' conftest.er1 >conftest.err
63427   rm -f conftest.er1
63428   cat conftest.err >&5
63429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63430   (exit $ac_status); } &&
63431          { ac_try='test -z "$ac_cxx_werror_flag"
63432                          || test ! -s conftest.err'
63433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63434   (eval $ac_try) 2>&5
63435   ac_status=$?
63436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63437   (exit $ac_status); }; } &&
63438          { ac_try='test -s conftest.$ac_objext'
63439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63440   (eval $ac_try) 2>&5
63441   ac_status=$?
63442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63443   (exit $ac_status); }; }; then
63444   glibcxx_cv_func__long_double_trig_use=yes
63445 else
63446   echo "$as_me: failed program was:" >&5
63447 sed 's/^/| /' conftest.$ac_ext >&5
63448
63449 glibcxx_cv_func__long_double_trig_use=no
63450 fi
63451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63452       ac_ext=c
63453 ac_cpp='$CPP $CPPFLAGS'
63454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63457
63458 fi
63459
63460     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
63461 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
63462     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63463
63464
63465
63466
63467
63468
63469
63470
63471
63472 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63473 do
63474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63475 echo "$as_me:$LINENO: checking for $ac_func" >&5
63476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63477 if eval "test \"\${$as_ac_var+set}\" = set"; then
63478   echo $ECHO_N "(cached) $ECHO_C" >&6
63479 else
63480   if test x$gcc_no_link = xyes; then
63481   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63483    { (exit 1); exit 1; }; }
63484 fi
63485 cat >conftest.$ac_ext <<_ACEOF
63486 /* confdefs.h.  */
63487 _ACEOF
63488 cat confdefs.h >>conftest.$ac_ext
63489 cat >>conftest.$ac_ext <<_ACEOF
63490 /* end confdefs.h.  */
63491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63492    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63493 #define $ac_func innocuous_$ac_func
63494
63495 /* System header to define __stub macros and hopefully few prototypes,
63496     which can conflict with char $ac_func (); below.
63497     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63498     <limits.h> exists even on freestanding compilers.  */
63499
63500 #ifdef __STDC__
63501 # include <limits.h>
63502 #else
63503 # include <assert.h>
63504 #endif
63505
63506 #undef $ac_func
63507
63508 /* Override any gcc2 internal prototype to avoid an error.  */
63509 #ifdef __cplusplus
63510 extern "C"
63511 {
63512 #endif
63513 /* We use char because int might match the return type of a gcc2
63514    builtin and then its argument prototype would still apply.  */
63515 char $ac_func ();
63516 /* The GNU C library defines this for functions which it implements
63517     to always fail with ENOSYS.  Some functions are actually named
63518     something starting with __ and the normal name is an alias.  */
63519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63520 choke me
63521 #else
63522 char (*f) () = $ac_func;
63523 #endif
63524 #ifdef __cplusplus
63525 }
63526 #endif
63527
63528 int
63529 main ()
63530 {
63531 return f != $ac_func;
63532   ;
63533   return 0;
63534 }
63535 _ACEOF
63536 rm -f conftest.$ac_objext conftest$ac_exeext
63537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63538   (eval $ac_link) 2>conftest.er1
63539   ac_status=$?
63540   grep -v '^ *+' conftest.er1 >conftest.err
63541   rm -f conftest.er1
63542   cat conftest.err >&5
63543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63544   (exit $ac_status); } &&
63545          { ac_try='test -z "$ac_c_werror_flag"
63546                          || test ! -s conftest.err'
63547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63548   (eval $ac_try) 2>&5
63549   ac_status=$?
63550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63551   (exit $ac_status); }; } &&
63552          { ac_try='test -s conftest$ac_exeext'
63553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63554   (eval $ac_try) 2>&5
63555   ac_status=$?
63556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63557   (exit $ac_status); }; }; then
63558   eval "$as_ac_var=yes"
63559 else
63560   echo "$as_me: failed program was:" >&5
63561 sed 's/^/| /' conftest.$ac_ext >&5
63562
63563 eval "$as_ac_var=no"
63564 fi
63565 rm -f conftest.err conftest.$ac_objext \
63566       conftest$ac_exeext conftest.$ac_ext
63567 fi
63568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63570 if test `eval echo '${'$as_ac_var'}'` = yes; then
63571   cat >>confdefs.h <<_ACEOF
63572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63573 _ACEOF
63574
63575 fi
63576 done
63577
63578     fi
63579   fi
63580
63581
63582
63583
63584
63585
63586
63587
63588
63589
63590
63591
63592
63593
63594     echo "$as_me:$LINENO: checking for long double round functions" >&5
63595 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
63596   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
63597   echo $ECHO_N "(cached) $ECHO_C" >&6
63598 else
63599
63600
63601
63602     ac_ext=cc
63603 ac_cpp='$CXXCPP $CPPFLAGS'
63604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63607
63608     cat >conftest.$ac_ext <<_ACEOF
63609 /* confdefs.h.  */
63610 _ACEOF
63611 cat confdefs.h >>conftest.$ac_ext
63612 cat >>conftest.$ac_ext <<_ACEOF
63613 /* end confdefs.h.  */
63614 #include <math.h>
63615 int
63616 main ()
63617 {
63618 ceill (0); floorl (0);
63619   ;
63620   return 0;
63621 }
63622 _ACEOF
63623 rm -f conftest.$ac_objext
63624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63625   (eval $ac_compile) 2>conftest.er1
63626   ac_status=$?
63627   grep -v '^ *+' conftest.er1 >conftest.err
63628   rm -f conftest.er1
63629   cat conftest.err >&5
63630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63631   (exit $ac_status); } &&
63632          { ac_try='test -z "$ac_cxx_werror_flag"
63633                          || test ! -s conftest.err'
63634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63635   (eval $ac_try) 2>&5
63636   ac_status=$?
63637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63638   (exit $ac_status); }; } &&
63639          { ac_try='test -s conftest.$ac_objext'
63640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63641   (eval $ac_try) 2>&5
63642   ac_status=$?
63643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63644   (exit $ac_status); }; }; then
63645   glibcxx_cv_func_long_double_round_use=yes
63646 else
63647   echo "$as_me: failed program was:" >&5
63648 sed 's/^/| /' conftest.$ac_ext >&5
63649
63650 glibcxx_cv_func_long_double_round_use=no
63651 fi
63652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63653     ac_ext=c
63654 ac_cpp='$CPP $CPPFLAGS'
63655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63658
63659 fi
63660
63661   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
63662 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
63663   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63664
63665
63666 for ac_func in ceill floorl
63667 do
63668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63669 echo "$as_me:$LINENO: checking for $ac_func" >&5
63670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63671 if eval "test \"\${$as_ac_var+set}\" = set"; then
63672   echo $ECHO_N "(cached) $ECHO_C" >&6
63673 else
63674   if test x$gcc_no_link = xyes; then
63675   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63677    { (exit 1); exit 1; }; }
63678 fi
63679 cat >conftest.$ac_ext <<_ACEOF
63680 /* confdefs.h.  */
63681 _ACEOF
63682 cat confdefs.h >>conftest.$ac_ext
63683 cat >>conftest.$ac_ext <<_ACEOF
63684 /* end confdefs.h.  */
63685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63686    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63687 #define $ac_func innocuous_$ac_func
63688
63689 /* System header to define __stub macros and hopefully few prototypes,
63690     which can conflict with char $ac_func (); below.
63691     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63692     <limits.h> exists even on freestanding compilers.  */
63693
63694 #ifdef __STDC__
63695 # include <limits.h>
63696 #else
63697 # include <assert.h>
63698 #endif
63699
63700 #undef $ac_func
63701
63702 /* Override any gcc2 internal prototype to avoid an error.  */
63703 #ifdef __cplusplus
63704 extern "C"
63705 {
63706 #endif
63707 /* We use char because int might match the return type of a gcc2
63708    builtin and then its argument prototype would still apply.  */
63709 char $ac_func ();
63710 /* The GNU C library defines this for functions which it implements
63711     to always fail with ENOSYS.  Some functions are actually named
63712     something starting with __ and the normal name is an alias.  */
63713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63714 choke me
63715 #else
63716 char (*f) () = $ac_func;
63717 #endif
63718 #ifdef __cplusplus
63719 }
63720 #endif
63721
63722 int
63723 main ()
63724 {
63725 return f != $ac_func;
63726   ;
63727   return 0;
63728 }
63729 _ACEOF
63730 rm -f conftest.$ac_objext conftest$ac_exeext
63731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63732   (eval $ac_link) 2>conftest.er1
63733   ac_status=$?
63734   grep -v '^ *+' conftest.er1 >conftest.err
63735   rm -f conftest.er1
63736   cat conftest.err >&5
63737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63738   (exit $ac_status); } &&
63739          { ac_try='test -z "$ac_c_werror_flag"
63740                          || test ! -s conftest.err'
63741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63742   (eval $ac_try) 2>&5
63743   ac_status=$?
63744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63745   (exit $ac_status); }; } &&
63746          { ac_try='test -s conftest$ac_exeext'
63747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63748   (eval $ac_try) 2>&5
63749   ac_status=$?
63750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63751   (exit $ac_status); }; }; then
63752   eval "$as_ac_var=yes"
63753 else
63754   echo "$as_me: failed program was:" >&5
63755 sed 's/^/| /' conftest.$ac_ext >&5
63756
63757 eval "$as_ac_var=no"
63758 fi
63759 rm -f conftest.err conftest.$ac_objext \
63760       conftest$ac_exeext conftest.$ac_ext
63761 fi
63762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63764 if test `eval echo '${'$as_ac_var'}'` = yes; then
63765   cat >>confdefs.h <<_ACEOF
63766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63767 _ACEOF
63768
63769 fi
63770 done
63771
63772   else
63773     echo "$as_me:$LINENO: checking for _long double round functions" >&5
63774 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
63775     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
63776   echo $ECHO_N "(cached) $ECHO_C" >&6
63777 else
63778
63779
63780
63781       ac_ext=cc
63782 ac_cpp='$CXXCPP $CPPFLAGS'
63783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63786
63787       cat >conftest.$ac_ext <<_ACEOF
63788 /* confdefs.h.  */
63789 _ACEOF
63790 cat confdefs.h >>conftest.$ac_ext
63791 cat >>conftest.$ac_ext <<_ACEOF
63792 /* end confdefs.h.  */
63793 #include <math.h>
63794 int
63795 main ()
63796 {
63797 _ceill (0); _floorl (0);
63798   ;
63799   return 0;
63800 }
63801 _ACEOF
63802 rm -f conftest.$ac_objext
63803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63804   (eval $ac_compile) 2>conftest.er1
63805   ac_status=$?
63806   grep -v '^ *+' conftest.er1 >conftest.err
63807   rm -f conftest.er1
63808   cat conftest.err >&5
63809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63810   (exit $ac_status); } &&
63811          { ac_try='test -z "$ac_cxx_werror_flag"
63812                          || test ! -s conftest.err'
63813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63814   (eval $ac_try) 2>&5
63815   ac_status=$?
63816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63817   (exit $ac_status); }; } &&
63818          { ac_try='test -s conftest.$ac_objext'
63819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63820   (eval $ac_try) 2>&5
63821   ac_status=$?
63822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63823   (exit $ac_status); }; }; then
63824   glibcxx_cv_func__long_double_round_use=yes
63825 else
63826   echo "$as_me: failed program was:" >&5
63827 sed 's/^/| /' conftest.$ac_ext >&5
63828
63829 glibcxx_cv_func__long_double_round_use=no
63830 fi
63831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63832       ac_ext=c
63833 ac_cpp='$CPP $CPPFLAGS'
63834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63837
63838 fi
63839
63840     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
63841 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
63842     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63843
63844
63845 for ac_func in _ceill _floorl
63846 do
63847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63848 echo "$as_me:$LINENO: checking for $ac_func" >&5
63849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63850 if eval "test \"\${$as_ac_var+set}\" = set"; then
63851   echo $ECHO_N "(cached) $ECHO_C" >&6
63852 else
63853   if test x$gcc_no_link = xyes; then
63854   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63856    { (exit 1); exit 1; }; }
63857 fi
63858 cat >conftest.$ac_ext <<_ACEOF
63859 /* confdefs.h.  */
63860 _ACEOF
63861 cat confdefs.h >>conftest.$ac_ext
63862 cat >>conftest.$ac_ext <<_ACEOF
63863 /* end confdefs.h.  */
63864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63865    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63866 #define $ac_func innocuous_$ac_func
63867
63868 /* System header to define __stub macros and hopefully few prototypes,
63869     which can conflict with char $ac_func (); below.
63870     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63871     <limits.h> exists even on freestanding compilers.  */
63872
63873 #ifdef __STDC__
63874 # include <limits.h>
63875 #else
63876 # include <assert.h>
63877 #endif
63878
63879 #undef $ac_func
63880
63881 /* Override any gcc2 internal prototype to avoid an error.  */
63882 #ifdef __cplusplus
63883 extern "C"
63884 {
63885 #endif
63886 /* We use char because int might match the return type of a gcc2
63887    builtin and then its argument prototype would still apply.  */
63888 char $ac_func ();
63889 /* The GNU C library defines this for functions which it implements
63890     to always fail with ENOSYS.  Some functions are actually named
63891     something starting with __ and the normal name is an alias.  */
63892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63893 choke me
63894 #else
63895 char (*f) () = $ac_func;
63896 #endif
63897 #ifdef __cplusplus
63898 }
63899 #endif
63900
63901 int
63902 main ()
63903 {
63904 return f != $ac_func;
63905   ;
63906   return 0;
63907 }
63908 _ACEOF
63909 rm -f conftest.$ac_objext conftest$ac_exeext
63910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63911   (eval $ac_link) 2>conftest.er1
63912   ac_status=$?
63913   grep -v '^ *+' conftest.er1 >conftest.err
63914   rm -f conftest.er1
63915   cat conftest.err >&5
63916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63917   (exit $ac_status); } &&
63918          { ac_try='test -z "$ac_c_werror_flag"
63919                          || test ! -s conftest.err'
63920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63921   (eval $ac_try) 2>&5
63922   ac_status=$?
63923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63924   (exit $ac_status); }; } &&
63925          { ac_try='test -s conftest$ac_exeext'
63926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63927   (eval $ac_try) 2>&5
63928   ac_status=$?
63929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63930   (exit $ac_status); }; }; then
63931   eval "$as_ac_var=yes"
63932 else
63933   echo "$as_me: failed program was:" >&5
63934 sed 's/^/| /' conftest.$ac_ext >&5
63935
63936 eval "$as_ac_var=no"
63937 fi
63938 rm -f conftest.err conftest.$ac_objext \
63939       conftest$ac_exeext conftest.$ac_ext
63940 fi
63941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63943 if test `eval echo '${'$as_ac_var'}'` = yes; then
63944   cat >>confdefs.h <<_ACEOF
63945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63946 _ACEOF
63947
63948 fi
63949 done
63950
63951     fi
63952   fi
63953
63954
63955
63956
63957
63958
63959
63960
63961   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
63962 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
63963   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63964     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
63965   echo $ECHO_N "(cached) $ECHO_C" >&6
63966 else
63967
63968
63969
63970       ac_ext=cc
63971 ac_cpp='$CXXCPP $CPPFLAGS'
63972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63975
63976       cat >conftest.$ac_ext <<_ACEOF
63977 /* confdefs.h.  */
63978 _ACEOF
63979 cat confdefs.h >>conftest.$ac_ext
63980 cat >>conftest.$ac_ext <<_ACEOF
63981 /* end confdefs.h.  */
63982 #include <math.h>
63983                       #ifdef HAVE_IEEEFP_H
63984                       #include <ieeefp.h>
63985                       #endif
63986
63987 int
63988 main ()
63989 {
63990  isnanl(0);
63991   ;
63992   return 0;
63993 }
63994 _ACEOF
63995 rm -f conftest.$ac_objext
63996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63997   (eval $ac_compile) 2>conftest.er1
63998   ac_status=$?
63999   grep -v '^ *+' conftest.er1 >conftest.err
64000   rm -f conftest.er1
64001   cat conftest.err >&5
64002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64003   (exit $ac_status); } &&
64004          { ac_try='test -z "$ac_cxx_werror_flag"
64005                          || test ! -s conftest.err'
64006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64007   (eval $ac_try) 2>&5
64008   ac_status=$?
64009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64010   (exit $ac_status); }; } &&
64011          { ac_try='test -s conftest.$ac_objext'
64012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64013   (eval $ac_try) 2>&5
64014   ac_status=$?
64015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64016   (exit $ac_status); }; }; then
64017   glibcxx_cv_func_isnanl_use=yes
64018 else
64019   echo "$as_me: failed program was:" >&5
64020 sed 's/^/| /' conftest.$ac_ext >&5
64021
64022 glibcxx_cv_func_isnanl_use=no
64023 fi
64024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64025       ac_ext=c
64026 ac_cpp='$CPP $CPPFLAGS'
64027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64030
64031
64032 fi
64033
64034   fi
64035   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
64036 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
64037
64038   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64039
64040 for ac_func in isnanl
64041 do
64042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64043 echo "$as_me:$LINENO: checking for $ac_func" >&5
64044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64045 if eval "test \"\${$as_ac_var+set}\" = set"; then
64046   echo $ECHO_N "(cached) $ECHO_C" >&6
64047 else
64048   if test x$gcc_no_link = xyes; then
64049   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64051    { (exit 1); exit 1; }; }
64052 fi
64053 cat >conftest.$ac_ext <<_ACEOF
64054 /* confdefs.h.  */
64055 _ACEOF
64056 cat confdefs.h >>conftest.$ac_ext
64057 cat >>conftest.$ac_ext <<_ACEOF
64058 /* end confdefs.h.  */
64059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64060    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64061 #define $ac_func innocuous_$ac_func
64062
64063 /* System header to define __stub macros and hopefully few prototypes,
64064     which can conflict with char $ac_func (); below.
64065     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64066     <limits.h> exists even on freestanding compilers.  */
64067
64068 #ifdef __STDC__
64069 # include <limits.h>
64070 #else
64071 # include <assert.h>
64072 #endif
64073
64074 #undef $ac_func
64075
64076 /* Override any gcc2 internal prototype to avoid an error.  */
64077 #ifdef __cplusplus
64078 extern "C"
64079 {
64080 #endif
64081 /* We use char because int might match the return type of a gcc2
64082    builtin and then its argument prototype would still apply.  */
64083 char $ac_func ();
64084 /* The GNU C library defines this for functions which it implements
64085     to always fail with ENOSYS.  Some functions are actually named
64086     something starting with __ and the normal name is an alias.  */
64087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64088 choke me
64089 #else
64090 char (*f) () = $ac_func;
64091 #endif
64092 #ifdef __cplusplus
64093 }
64094 #endif
64095
64096 int
64097 main ()
64098 {
64099 return f != $ac_func;
64100   ;
64101   return 0;
64102 }
64103 _ACEOF
64104 rm -f conftest.$ac_objext conftest$ac_exeext
64105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64106   (eval $ac_link) 2>conftest.er1
64107   ac_status=$?
64108   grep -v '^ *+' conftest.er1 >conftest.err
64109   rm -f conftest.er1
64110   cat conftest.err >&5
64111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64112   (exit $ac_status); } &&
64113          { ac_try='test -z "$ac_c_werror_flag"
64114                          || test ! -s conftest.err'
64115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64116   (eval $ac_try) 2>&5
64117   ac_status=$?
64118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64119   (exit $ac_status); }; } &&
64120          { ac_try='test -s conftest$ac_exeext'
64121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64122   (eval $ac_try) 2>&5
64123   ac_status=$?
64124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64125   (exit $ac_status); }; }; then
64126   eval "$as_ac_var=yes"
64127 else
64128   echo "$as_me: failed program was:" >&5
64129 sed 's/^/| /' conftest.$ac_ext >&5
64130
64131 eval "$as_ac_var=no"
64132 fi
64133 rm -f conftest.err conftest.$ac_objext \
64134       conftest$ac_exeext conftest.$ac_ext
64135 fi
64136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64138 if test `eval echo '${'$as_ac_var'}'` = yes; then
64139   cat >>confdefs.h <<_ACEOF
64140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64141 _ACEOF
64142
64143 fi
64144 done
64145
64146   else
64147
64148   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
64149 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
64150   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64151     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
64152   echo $ECHO_N "(cached) $ECHO_C" >&6
64153 else
64154
64155
64156
64157       ac_ext=cc
64158 ac_cpp='$CXXCPP $CPPFLAGS'
64159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64162
64163       cat >conftest.$ac_ext <<_ACEOF
64164 /* confdefs.h.  */
64165 _ACEOF
64166 cat confdefs.h >>conftest.$ac_ext
64167 cat >>conftest.$ac_ext <<_ACEOF
64168 /* end confdefs.h.  */
64169 #include <math.h>
64170                       #ifdef HAVE_IEEEFP_H
64171                       #include <ieeefp.h>
64172                       #endif
64173
64174 int
64175 main ()
64176 {
64177  _isnanl(0);
64178   ;
64179   return 0;
64180 }
64181 _ACEOF
64182 rm -f conftest.$ac_objext
64183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64184   (eval $ac_compile) 2>conftest.er1
64185   ac_status=$?
64186   grep -v '^ *+' conftest.er1 >conftest.err
64187   rm -f conftest.er1
64188   cat conftest.err >&5
64189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64190   (exit $ac_status); } &&
64191          { ac_try='test -z "$ac_cxx_werror_flag"
64192                          || test ! -s conftest.err'
64193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64194   (eval $ac_try) 2>&5
64195   ac_status=$?
64196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64197   (exit $ac_status); }; } &&
64198          { ac_try='test -s conftest.$ac_objext'
64199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64200   (eval $ac_try) 2>&5
64201   ac_status=$?
64202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64203   (exit $ac_status); }; }; then
64204   glibcxx_cv_func__isnanl_use=yes
64205 else
64206   echo "$as_me: failed program was:" >&5
64207 sed 's/^/| /' conftest.$ac_ext >&5
64208
64209 glibcxx_cv_func__isnanl_use=no
64210 fi
64211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64212       ac_ext=c
64213 ac_cpp='$CPP $CPPFLAGS'
64214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64217
64218
64219 fi
64220
64221   fi
64222   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
64223 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
64224
64225     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64226
64227 for ac_func in _isnanl
64228 do
64229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64230 echo "$as_me:$LINENO: checking for $ac_func" >&5
64231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64232 if eval "test \"\${$as_ac_var+set}\" = set"; then
64233   echo $ECHO_N "(cached) $ECHO_C" >&6
64234 else
64235   if test x$gcc_no_link = xyes; then
64236   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64238    { (exit 1); exit 1; }; }
64239 fi
64240 cat >conftest.$ac_ext <<_ACEOF
64241 /* confdefs.h.  */
64242 _ACEOF
64243 cat confdefs.h >>conftest.$ac_ext
64244 cat >>conftest.$ac_ext <<_ACEOF
64245 /* end confdefs.h.  */
64246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64247    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64248 #define $ac_func innocuous_$ac_func
64249
64250 /* System header to define __stub macros and hopefully few prototypes,
64251     which can conflict with char $ac_func (); below.
64252     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64253     <limits.h> exists even on freestanding compilers.  */
64254
64255 #ifdef __STDC__
64256 # include <limits.h>
64257 #else
64258 # include <assert.h>
64259 #endif
64260
64261 #undef $ac_func
64262
64263 /* Override any gcc2 internal prototype to avoid an error.  */
64264 #ifdef __cplusplus
64265 extern "C"
64266 {
64267 #endif
64268 /* We use char because int might match the return type of a gcc2
64269    builtin and then its argument prototype would still apply.  */
64270 char $ac_func ();
64271 /* The GNU C library defines this for functions which it implements
64272     to always fail with ENOSYS.  Some functions are actually named
64273     something starting with __ and the normal name is an alias.  */
64274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64275 choke me
64276 #else
64277 char (*f) () = $ac_func;
64278 #endif
64279 #ifdef __cplusplus
64280 }
64281 #endif
64282
64283 int
64284 main ()
64285 {
64286 return f != $ac_func;
64287   ;
64288   return 0;
64289 }
64290 _ACEOF
64291 rm -f conftest.$ac_objext conftest$ac_exeext
64292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64293   (eval $ac_link) 2>conftest.er1
64294   ac_status=$?
64295   grep -v '^ *+' conftest.er1 >conftest.err
64296   rm -f conftest.er1
64297   cat conftest.err >&5
64298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64299   (exit $ac_status); } &&
64300          { ac_try='test -z "$ac_c_werror_flag"
64301                          || test ! -s conftest.err'
64302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64303   (eval $ac_try) 2>&5
64304   ac_status=$?
64305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64306   (exit $ac_status); }; } &&
64307          { ac_try='test -s conftest$ac_exeext'
64308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64309   (eval $ac_try) 2>&5
64310   ac_status=$?
64311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64312   (exit $ac_status); }; }; then
64313   eval "$as_ac_var=yes"
64314 else
64315   echo "$as_me: failed program was:" >&5
64316 sed 's/^/| /' conftest.$ac_ext >&5
64317
64318 eval "$as_ac_var=no"
64319 fi
64320 rm -f conftest.err conftest.$ac_objext \
64321       conftest$ac_exeext conftest.$ac_ext
64322 fi
64323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64325 if test `eval echo '${'$as_ac_var'}'` = yes; then
64326   cat >>confdefs.h <<_ACEOF
64327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64328 _ACEOF
64329
64330 fi
64331 done
64332
64333     fi
64334   fi
64335
64336
64337
64338
64339
64340
64341   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
64342 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
64343   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64344     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
64345   echo $ECHO_N "(cached) $ECHO_C" >&6
64346 else
64347
64348
64349
64350       ac_ext=cc
64351 ac_cpp='$CXXCPP $CPPFLAGS'
64352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64355
64356       cat >conftest.$ac_ext <<_ACEOF
64357 /* confdefs.h.  */
64358 _ACEOF
64359 cat confdefs.h >>conftest.$ac_ext
64360 cat >>conftest.$ac_ext <<_ACEOF
64361 /* end confdefs.h.  */
64362 #include <math.h>
64363                       #ifdef HAVE_IEEEFP_H
64364                       #include <ieeefp.h>
64365                       #endif
64366
64367 int
64368 main ()
64369 {
64370  isinfl(0);
64371   ;
64372   return 0;
64373 }
64374 _ACEOF
64375 rm -f conftest.$ac_objext
64376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64377   (eval $ac_compile) 2>conftest.er1
64378   ac_status=$?
64379   grep -v '^ *+' conftest.er1 >conftest.err
64380   rm -f conftest.er1
64381   cat conftest.err >&5
64382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64383   (exit $ac_status); } &&
64384          { ac_try='test -z "$ac_cxx_werror_flag"
64385                          || test ! -s conftest.err'
64386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64387   (eval $ac_try) 2>&5
64388   ac_status=$?
64389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64390   (exit $ac_status); }; } &&
64391          { ac_try='test -s conftest.$ac_objext'
64392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64393   (eval $ac_try) 2>&5
64394   ac_status=$?
64395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64396   (exit $ac_status); }; }; then
64397   glibcxx_cv_func_isinfl_use=yes
64398 else
64399   echo "$as_me: failed program was:" >&5
64400 sed 's/^/| /' conftest.$ac_ext >&5
64401
64402 glibcxx_cv_func_isinfl_use=no
64403 fi
64404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64405       ac_ext=c
64406 ac_cpp='$CPP $CPPFLAGS'
64407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64410
64411
64412 fi
64413
64414   fi
64415   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
64416 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
64417
64418   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64419
64420 for ac_func in isinfl
64421 do
64422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64423 echo "$as_me:$LINENO: checking for $ac_func" >&5
64424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64425 if eval "test \"\${$as_ac_var+set}\" = set"; then
64426   echo $ECHO_N "(cached) $ECHO_C" >&6
64427 else
64428   if test x$gcc_no_link = xyes; then
64429   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64431    { (exit 1); exit 1; }; }
64432 fi
64433 cat >conftest.$ac_ext <<_ACEOF
64434 /* confdefs.h.  */
64435 _ACEOF
64436 cat confdefs.h >>conftest.$ac_ext
64437 cat >>conftest.$ac_ext <<_ACEOF
64438 /* end confdefs.h.  */
64439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64440    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64441 #define $ac_func innocuous_$ac_func
64442
64443 /* System header to define __stub macros and hopefully few prototypes,
64444     which can conflict with char $ac_func (); below.
64445     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64446     <limits.h> exists even on freestanding compilers.  */
64447
64448 #ifdef __STDC__
64449 # include <limits.h>
64450 #else
64451 # include <assert.h>
64452 #endif
64453
64454 #undef $ac_func
64455
64456 /* Override any gcc2 internal prototype to avoid an error.  */
64457 #ifdef __cplusplus
64458 extern "C"
64459 {
64460 #endif
64461 /* We use char because int might match the return type of a gcc2
64462    builtin and then its argument prototype would still apply.  */
64463 char $ac_func ();
64464 /* The GNU C library defines this for functions which it implements
64465     to always fail with ENOSYS.  Some functions are actually named
64466     something starting with __ and the normal name is an alias.  */
64467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64468 choke me
64469 #else
64470 char (*f) () = $ac_func;
64471 #endif
64472 #ifdef __cplusplus
64473 }
64474 #endif
64475
64476 int
64477 main ()
64478 {
64479 return f != $ac_func;
64480   ;
64481   return 0;
64482 }
64483 _ACEOF
64484 rm -f conftest.$ac_objext conftest$ac_exeext
64485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64486   (eval $ac_link) 2>conftest.er1
64487   ac_status=$?
64488   grep -v '^ *+' conftest.er1 >conftest.err
64489   rm -f conftest.er1
64490   cat conftest.err >&5
64491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64492   (exit $ac_status); } &&
64493          { ac_try='test -z "$ac_c_werror_flag"
64494                          || test ! -s conftest.err'
64495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64496   (eval $ac_try) 2>&5
64497   ac_status=$?
64498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64499   (exit $ac_status); }; } &&
64500          { ac_try='test -s conftest$ac_exeext'
64501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64502   (eval $ac_try) 2>&5
64503   ac_status=$?
64504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64505   (exit $ac_status); }; }; then
64506   eval "$as_ac_var=yes"
64507 else
64508   echo "$as_me: failed program was:" >&5
64509 sed 's/^/| /' conftest.$ac_ext >&5
64510
64511 eval "$as_ac_var=no"
64512 fi
64513 rm -f conftest.err conftest.$ac_objext \
64514       conftest$ac_exeext conftest.$ac_ext
64515 fi
64516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64518 if test `eval echo '${'$as_ac_var'}'` = yes; then
64519   cat >>confdefs.h <<_ACEOF
64520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64521 _ACEOF
64522
64523 fi
64524 done
64525
64526   else
64527
64528   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
64529 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
64530   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64531     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
64532   echo $ECHO_N "(cached) $ECHO_C" >&6
64533 else
64534
64535
64536
64537       ac_ext=cc
64538 ac_cpp='$CXXCPP $CPPFLAGS'
64539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64542
64543       cat >conftest.$ac_ext <<_ACEOF
64544 /* confdefs.h.  */
64545 _ACEOF
64546 cat confdefs.h >>conftest.$ac_ext
64547 cat >>conftest.$ac_ext <<_ACEOF
64548 /* end confdefs.h.  */
64549 #include <math.h>
64550                       #ifdef HAVE_IEEEFP_H
64551                       #include <ieeefp.h>
64552                       #endif
64553
64554 int
64555 main ()
64556 {
64557  _isinfl(0);
64558   ;
64559   return 0;
64560 }
64561 _ACEOF
64562 rm -f conftest.$ac_objext
64563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64564   (eval $ac_compile) 2>conftest.er1
64565   ac_status=$?
64566   grep -v '^ *+' conftest.er1 >conftest.err
64567   rm -f conftest.er1
64568   cat conftest.err >&5
64569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64570   (exit $ac_status); } &&
64571          { ac_try='test -z "$ac_cxx_werror_flag"
64572                          || test ! -s conftest.err'
64573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64574   (eval $ac_try) 2>&5
64575   ac_status=$?
64576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64577   (exit $ac_status); }; } &&
64578          { ac_try='test -s conftest.$ac_objext'
64579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64580   (eval $ac_try) 2>&5
64581   ac_status=$?
64582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64583   (exit $ac_status); }; }; then
64584   glibcxx_cv_func__isinfl_use=yes
64585 else
64586   echo "$as_me: failed program was:" >&5
64587 sed 's/^/| /' conftest.$ac_ext >&5
64588
64589 glibcxx_cv_func__isinfl_use=no
64590 fi
64591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64592       ac_ext=c
64593 ac_cpp='$CPP $CPPFLAGS'
64594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64597
64598
64599 fi
64600
64601   fi
64602   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
64603 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
64604
64605     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64606
64607 for ac_func in _isinfl
64608 do
64609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64610 echo "$as_me:$LINENO: checking for $ac_func" >&5
64611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64612 if eval "test \"\${$as_ac_var+set}\" = set"; then
64613   echo $ECHO_N "(cached) $ECHO_C" >&6
64614 else
64615   if test x$gcc_no_link = xyes; then
64616   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64618    { (exit 1); exit 1; }; }
64619 fi
64620 cat >conftest.$ac_ext <<_ACEOF
64621 /* confdefs.h.  */
64622 _ACEOF
64623 cat confdefs.h >>conftest.$ac_ext
64624 cat >>conftest.$ac_ext <<_ACEOF
64625 /* end confdefs.h.  */
64626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64627    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64628 #define $ac_func innocuous_$ac_func
64629
64630 /* System header to define __stub macros and hopefully few prototypes,
64631     which can conflict with char $ac_func (); below.
64632     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64633     <limits.h> exists even on freestanding compilers.  */
64634
64635 #ifdef __STDC__
64636 # include <limits.h>
64637 #else
64638 # include <assert.h>
64639 #endif
64640
64641 #undef $ac_func
64642
64643 /* Override any gcc2 internal prototype to avoid an error.  */
64644 #ifdef __cplusplus
64645 extern "C"
64646 {
64647 #endif
64648 /* We use char because int might match the return type of a gcc2
64649    builtin and then its argument prototype would still apply.  */
64650 char $ac_func ();
64651 /* The GNU C library defines this for functions which it implements
64652     to always fail with ENOSYS.  Some functions are actually named
64653     something starting with __ and the normal name is an alias.  */
64654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64655 choke me
64656 #else
64657 char (*f) () = $ac_func;
64658 #endif
64659 #ifdef __cplusplus
64660 }
64661 #endif
64662
64663 int
64664 main ()
64665 {
64666 return f != $ac_func;
64667   ;
64668   return 0;
64669 }
64670 _ACEOF
64671 rm -f conftest.$ac_objext conftest$ac_exeext
64672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64673   (eval $ac_link) 2>conftest.er1
64674   ac_status=$?
64675   grep -v '^ *+' conftest.er1 >conftest.err
64676   rm -f conftest.er1
64677   cat conftest.err >&5
64678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64679   (exit $ac_status); } &&
64680          { ac_try='test -z "$ac_c_werror_flag"
64681                          || test ! -s conftest.err'
64682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64683   (eval $ac_try) 2>&5
64684   ac_status=$?
64685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64686   (exit $ac_status); }; } &&
64687          { ac_try='test -s conftest$ac_exeext'
64688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64689   (eval $ac_try) 2>&5
64690   ac_status=$?
64691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64692   (exit $ac_status); }; }; then
64693   eval "$as_ac_var=yes"
64694 else
64695   echo "$as_me: failed program was:" >&5
64696 sed 's/^/| /' conftest.$ac_ext >&5
64697
64698 eval "$as_ac_var=no"
64699 fi
64700 rm -f conftest.err conftest.$ac_objext \
64701       conftest$ac_exeext conftest.$ac_ext
64702 fi
64703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64705 if test `eval echo '${'$as_ac_var'}'` = yes; then
64706   cat >>confdefs.h <<_ACEOF
64707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64708 _ACEOF
64709
64710 fi
64711 done
64712
64713     fi
64714   fi
64715
64716
64717
64718
64719
64720
64721   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
64722 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
64723   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
64724     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
64725   echo $ECHO_N "(cached) $ECHO_C" >&6
64726 else
64727
64728
64729
64730       ac_ext=cc
64731 ac_cpp='$CXXCPP $CPPFLAGS'
64732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64735
64736       cat >conftest.$ac_ext <<_ACEOF
64737 /* confdefs.h.  */
64738 _ACEOF
64739 cat confdefs.h >>conftest.$ac_ext
64740 cat >>conftest.$ac_ext <<_ACEOF
64741 /* end confdefs.h.  */
64742 #include <math.h>
64743 int
64744 main ()
64745 {
64746  copysignl(0, 0);
64747   ;
64748   return 0;
64749 }
64750 _ACEOF
64751 rm -f conftest.$ac_objext
64752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64753   (eval $ac_compile) 2>conftest.er1
64754   ac_status=$?
64755   grep -v '^ *+' conftest.er1 >conftest.err
64756   rm -f conftest.er1
64757   cat conftest.err >&5
64758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64759   (exit $ac_status); } &&
64760          { ac_try='test -z "$ac_cxx_werror_flag"
64761                          || test ! -s conftest.err'
64762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64763   (eval $ac_try) 2>&5
64764   ac_status=$?
64765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64766   (exit $ac_status); }; } &&
64767          { ac_try='test -s conftest.$ac_objext'
64768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64769   (eval $ac_try) 2>&5
64770   ac_status=$?
64771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64772   (exit $ac_status); }; }; then
64773   glibcxx_cv_func_copysignl_use=yes
64774 else
64775   echo "$as_me: failed program was:" >&5
64776 sed 's/^/| /' conftest.$ac_ext >&5
64777
64778 glibcxx_cv_func_copysignl_use=no
64779 fi
64780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64781       ac_ext=c
64782 ac_cpp='$CPP $CPPFLAGS'
64783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64786
64787
64788 fi
64789
64790   fi
64791   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
64792 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
64793
64794   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
64795
64796 for ac_func in copysignl
64797 do
64798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64799 echo "$as_me:$LINENO: checking for $ac_func" >&5
64800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64801 if eval "test \"\${$as_ac_var+set}\" = set"; then
64802   echo $ECHO_N "(cached) $ECHO_C" >&6
64803 else
64804   if test x$gcc_no_link = xyes; then
64805   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64807    { (exit 1); exit 1; }; }
64808 fi
64809 cat >conftest.$ac_ext <<_ACEOF
64810 /* confdefs.h.  */
64811 _ACEOF
64812 cat confdefs.h >>conftest.$ac_ext
64813 cat >>conftest.$ac_ext <<_ACEOF
64814 /* end confdefs.h.  */
64815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64816    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64817 #define $ac_func innocuous_$ac_func
64818
64819 /* System header to define __stub macros and hopefully few prototypes,
64820     which can conflict with char $ac_func (); below.
64821     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64822     <limits.h> exists even on freestanding compilers.  */
64823
64824 #ifdef __STDC__
64825 # include <limits.h>
64826 #else
64827 # include <assert.h>
64828 #endif
64829
64830 #undef $ac_func
64831
64832 /* Override any gcc2 internal prototype to avoid an error.  */
64833 #ifdef __cplusplus
64834 extern "C"
64835 {
64836 #endif
64837 /* We use char because int might match the return type of a gcc2
64838    builtin and then its argument prototype would still apply.  */
64839 char $ac_func ();
64840 /* The GNU C library defines this for functions which it implements
64841     to always fail with ENOSYS.  Some functions are actually named
64842     something starting with __ and the normal name is an alias.  */
64843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64844 choke me
64845 #else
64846 char (*f) () = $ac_func;
64847 #endif
64848 #ifdef __cplusplus
64849 }
64850 #endif
64851
64852 int
64853 main ()
64854 {
64855 return f != $ac_func;
64856   ;
64857   return 0;
64858 }
64859 _ACEOF
64860 rm -f conftest.$ac_objext conftest$ac_exeext
64861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64862   (eval $ac_link) 2>conftest.er1
64863   ac_status=$?
64864   grep -v '^ *+' conftest.er1 >conftest.err
64865   rm -f conftest.er1
64866   cat conftest.err >&5
64867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64868   (exit $ac_status); } &&
64869          { ac_try='test -z "$ac_c_werror_flag"
64870                          || test ! -s conftest.err'
64871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64872   (eval $ac_try) 2>&5
64873   ac_status=$?
64874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64875   (exit $ac_status); }; } &&
64876          { ac_try='test -s conftest$ac_exeext'
64877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64878   (eval $ac_try) 2>&5
64879   ac_status=$?
64880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64881   (exit $ac_status); }; }; then
64882   eval "$as_ac_var=yes"
64883 else
64884   echo "$as_me: failed program was:" >&5
64885 sed 's/^/| /' conftest.$ac_ext >&5
64886
64887 eval "$as_ac_var=no"
64888 fi
64889 rm -f conftest.err conftest.$ac_objext \
64890       conftest$ac_exeext conftest.$ac_ext
64891 fi
64892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64894 if test `eval echo '${'$as_ac_var'}'` = yes; then
64895   cat >>confdefs.h <<_ACEOF
64896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64897 _ACEOF
64898
64899 fi
64900 done
64901
64902   else
64903
64904   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
64905 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
64906   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
64907     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
64908   echo $ECHO_N "(cached) $ECHO_C" >&6
64909 else
64910
64911
64912
64913       ac_ext=cc
64914 ac_cpp='$CXXCPP $CPPFLAGS'
64915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64918
64919       cat >conftest.$ac_ext <<_ACEOF
64920 /* confdefs.h.  */
64921 _ACEOF
64922 cat confdefs.h >>conftest.$ac_ext
64923 cat >>conftest.$ac_ext <<_ACEOF
64924 /* end confdefs.h.  */
64925 #include <math.h>
64926 int
64927 main ()
64928 {
64929  _copysignl(0, 0);
64930   ;
64931   return 0;
64932 }
64933 _ACEOF
64934 rm -f conftest.$ac_objext
64935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64936   (eval $ac_compile) 2>conftest.er1
64937   ac_status=$?
64938   grep -v '^ *+' conftest.er1 >conftest.err
64939   rm -f conftest.er1
64940   cat conftest.err >&5
64941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64942   (exit $ac_status); } &&
64943          { ac_try='test -z "$ac_cxx_werror_flag"
64944                          || test ! -s conftest.err'
64945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64946   (eval $ac_try) 2>&5
64947   ac_status=$?
64948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64949   (exit $ac_status); }; } &&
64950          { ac_try='test -s conftest.$ac_objext'
64951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64952   (eval $ac_try) 2>&5
64953   ac_status=$?
64954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64955   (exit $ac_status); }; }; then
64956   glibcxx_cv_func__copysignl_use=yes
64957 else
64958   echo "$as_me: failed program was:" >&5
64959 sed 's/^/| /' conftest.$ac_ext >&5
64960
64961 glibcxx_cv_func__copysignl_use=no
64962 fi
64963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64964       ac_ext=c
64965 ac_cpp='$CPP $CPPFLAGS'
64966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64969
64970
64971 fi
64972
64973   fi
64974   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
64975 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
64976
64977     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
64978
64979 for ac_func in _copysignl
64980 do
64981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64982 echo "$as_me:$LINENO: checking for $ac_func" >&5
64983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64984 if eval "test \"\${$as_ac_var+set}\" = set"; then
64985   echo $ECHO_N "(cached) $ECHO_C" >&6
64986 else
64987   if test x$gcc_no_link = xyes; then
64988   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64990    { (exit 1); exit 1; }; }
64991 fi
64992 cat >conftest.$ac_ext <<_ACEOF
64993 /* confdefs.h.  */
64994 _ACEOF
64995 cat confdefs.h >>conftest.$ac_ext
64996 cat >>conftest.$ac_ext <<_ACEOF
64997 /* end confdefs.h.  */
64998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64999    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65000 #define $ac_func innocuous_$ac_func
65001
65002 /* System header to define __stub macros and hopefully few prototypes,
65003     which can conflict with char $ac_func (); below.
65004     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65005     <limits.h> exists even on freestanding compilers.  */
65006
65007 #ifdef __STDC__
65008 # include <limits.h>
65009 #else
65010 # include <assert.h>
65011 #endif
65012
65013 #undef $ac_func
65014
65015 /* Override any gcc2 internal prototype to avoid an error.  */
65016 #ifdef __cplusplus
65017 extern "C"
65018 {
65019 #endif
65020 /* We use char because int might match the return type of a gcc2
65021    builtin and then its argument prototype would still apply.  */
65022 char $ac_func ();
65023 /* The GNU C library defines this for functions which it implements
65024     to always fail with ENOSYS.  Some functions are actually named
65025     something starting with __ and the normal name is an alias.  */
65026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65027 choke me
65028 #else
65029 char (*f) () = $ac_func;
65030 #endif
65031 #ifdef __cplusplus
65032 }
65033 #endif
65034
65035 int
65036 main ()
65037 {
65038 return f != $ac_func;
65039   ;
65040   return 0;
65041 }
65042 _ACEOF
65043 rm -f conftest.$ac_objext conftest$ac_exeext
65044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65045   (eval $ac_link) 2>conftest.er1
65046   ac_status=$?
65047   grep -v '^ *+' conftest.er1 >conftest.err
65048   rm -f conftest.er1
65049   cat conftest.err >&5
65050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65051   (exit $ac_status); } &&
65052          { ac_try='test -z "$ac_c_werror_flag"
65053                          || test ! -s conftest.err'
65054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65055   (eval $ac_try) 2>&5
65056   ac_status=$?
65057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65058   (exit $ac_status); }; } &&
65059          { ac_try='test -s conftest$ac_exeext'
65060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65061   (eval $ac_try) 2>&5
65062   ac_status=$?
65063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65064   (exit $ac_status); }; }; then
65065   eval "$as_ac_var=yes"
65066 else
65067   echo "$as_me: failed program was:" >&5
65068 sed 's/^/| /' conftest.$ac_ext >&5
65069
65070 eval "$as_ac_var=no"
65071 fi
65072 rm -f conftest.err conftest.$ac_objext \
65073       conftest$ac_exeext conftest.$ac_ext
65074 fi
65075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65077 if test `eval echo '${'$as_ac_var'}'` = yes; then
65078   cat >>confdefs.h <<_ACEOF
65079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65080 _ACEOF
65081
65082 fi
65083 done
65084
65085     fi
65086   fi
65087
65088
65089
65090
65091
65092
65093   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
65094 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
65095   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
65096     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
65097   echo $ECHO_N "(cached) $ECHO_C" >&6
65098 else
65099
65100
65101
65102       ac_ext=cc
65103 ac_cpp='$CXXCPP $CPPFLAGS'
65104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65107
65108       cat >conftest.$ac_ext <<_ACEOF
65109 /* confdefs.h.  */
65110 _ACEOF
65111 cat confdefs.h >>conftest.$ac_ext
65112 cat >>conftest.$ac_ext <<_ACEOF
65113 /* end confdefs.h.  */
65114 #include <math.h>
65115 int
65116 main ()
65117 {
65118  atan2l(0, 0);
65119   ;
65120   return 0;
65121 }
65122 _ACEOF
65123 rm -f conftest.$ac_objext
65124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65125   (eval $ac_compile) 2>conftest.er1
65126   ac_status=$?
65127   grep -v '^ *+' conftest.er1 >conftest.err
65128   rm -f conftest.er1
65129   cat conftest.err >&5
65130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65131   (exit $ac_status); } &&
65132          { ac_try='test -z "$ac_cxx_werror_flag"
65133                          || test ! -s conftest.err'
65134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65135   (eval $ac_try) 2>&5
65136   ac_status=$?
65137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65138   (exit $ac_status); }; } &&
65139          { ac_try='test -s conftest.$ac_objext'
65140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65141   (eval $ac_try) 2>&5
65142   ac_status=$?
65143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65144   (exit $ac_status); }; }; then
65145   glibcxx_cv_func_atan2l_use=yes
65146 else
65147   echo "$as_me: failed program was:" >&5
65148 sed 's/^/| /' conftest.$ac_ext >&5
65149
65150 glibcxx_cv_func_atan2l_use=no
65151 fi
65152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65153       ac_ext=c
65154 ac_cpp='$CPP $CPPFLAGS'
65155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65158
65159
65160 fi
65161
65162   fi
65163   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
65164 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
65165
65166   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
65167
65168 for ac_func in atan2l
65169 do
65170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65171 echo "$as_me:$LINENO: checking for $ac_func" >&5
65172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65173 if eval "test \"\${$as_ac_var+set}\" = set"; then
65174   echo $ECHO_N "(cached) $ECHO_C" >&6
65175 else
65176   if test x$gcc_no_link = xyes; then
65177   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65179    { (exit 1); exit 1; }; }
65180 fi
65181 cat >conftest.$ac_ext <<_ACEOF
65182 /* confdefs.h.  */
65183 _ACEOF
65184 cat confdefs.h >>conftest.$ac_ext
65185 cat >>conftest.$ac_ext <<_ACEOF
65186 /* end confdefs.h.  */
65187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65188    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65189 #define $ac_func innocuous_$ac_func
65190
65191 /* System header to define __stub macros and hopefully few prototypes,
65192     which can conflict with char $ac_func (); below.
65193     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65194     <limits.h> exists even on freestanding compilers.  */
65195
65196 #ifdef __STDC__
65197 # include <limits.h>
65198 #else
65199 # include <assert.h>
65200 #endif
65201
65202 #undef $ac_func
65203
65204 /* Override any gcc2 internal prototype to avoid an error.  */
65205 #ifdef __cplusplus
65206 extern "C"
65207 {
65208 #endif
65209 /* We use char because int might match the return type of a gcc2
65210    builtin and then its argument prototype would still apply.  */
65211 char $ac_func ();
65212 /* The GNU C library defines this for functions which it implements
65213     to always fail with ENOSYS.  Some functions are actually named
65214     something starting with __ and the normal name is an alias.  */
65215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65216 choke me
65217 #else
65218 char (*f) () = $ac_func;
65219 #endif
65220 #ifdef __cplusplus
65221 }
65222 #endif
65223
65224 int
65225 main ()
65226 {
65227 return f != $ac_func;
65228   ;
65229   return 0;
65230 }
65231 _ACEOF
65232 rm -f conftest.$ac_objext conftest$ac_exeext
65233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65234   (eval $ac_link) 2>conftest.er1
65235   ac_status=$?
65236   grep -v '^ *+' conftest.er1 >conftest.err
65237   rm -f conftest.er1
65238   cat conftest.err >&5
65239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65240   (exit $ac_status); } &&
65241          { ac_try='test -z "$ac_c_werror_flag"
65242                          || test ! -s conftest.err'
65243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65244   (eval $ac_try) 2>&5
65245   ac_status=$?
65246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65247   (exit $ac_status); }; } &&
65248          { ac_try='test -s conftest$ac_exeext'
65249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65250   (eval $ac_try) 2>&5
65251   ac_status=$?
65252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65253   (exit $ac_status); }; }; then
65254   eval "$as_ac_var=yes"
65255 else
65256   echo "$as_me: failed program was:" >&5
65257 sed 's/^/| /' conftest.$ac_ext >&5
65258
65259 eval "$as_ac_var=no"
65260 fi
65261 rm -f conftest.err conftest.$ac_objext \
65262       conftest$ac_exeext conftest.$ac_ext
65263 fi
65264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65266 if test `eval echo '${'$as_ac_var'}'` = yes; then
65267   cat >>confdefs.h <<_ACEOF
65268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65269 _ACEOF
65270
65271 fi
65272 done
65273
65274   else
65275
65276   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
65277 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
65278   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
65279     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
65280   echo $ECHO_N "(cached) $ECHO_C" >&6
65281 else
65282
65283
65284
65285       ac_ext=cc
65286 ac_cpp='$CXXCPP $CPPFLAGS'
65287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65290
65291       cat >conftest.$ac_ext <<_ACEOF
65292 /* confdefs.h.  */
65293 _ACEOF
65294 cat confdefs.h >>conftest.$ac_ext
65295 cat >>conftest.$ac_ext <<_ACEOF
65296 /* end confdefs.h.  */
65297 #include <math.h>
65298 int
65299 main ()
65300 {
65301  _atan2l(0, 0);
65302   ;
65303   return 0;
65304 }
65305 _ACEOF
65306 rm -f conftest.$ac_objext
65307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65308   (eval $ac_compile) 2>conftest.er1
65309   ac_status=$?
65310   grep -v '^ *+' conftest.er1 >conftest.err
65311   rm -f conftest.er1
65312   cat conftest.err >&5
65313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65314   (exit $ac_status); } &&
65315          { ac_try='test -z "$ac_cxx_werror_flag"
65316                          || test ! -s conftest.err'
65317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65318   (eval $ac_try) 2>&5
65319   ac_status=$?
65320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65321   (exit $ac_status); }; } &&
65322          { ac_try='test -s conftest.$ac_objext'
65323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65324   (eval $ac_try) 2>&5
65325   ac_status=$?
65326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65327   (exit $ac_status); }; }; then
65328   glibcxx_cv_func__atan2l_use=yes
65329 else
65330   echo "$as_me: failed program was:" >&5
65331 sed 's/^/| /' conftest.$ac_ext >&5
65332
65333 glibcxx_cv_func__atan2l_use=no
65334 fi
65335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65336       ac_ext=c
65337 ac_cpp='$CPP $CPPFLAGS'
65338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65341
65342
65343 fi
65344
65345   fi
65346   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
65347 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
65348
65349     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
65350
65351 for ac_func in _atan2l
65352 do
65353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65354 echo "$as_me:$LINENO: checking for $ac_func" >&5
65355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65356 if eval "test \"\${$as_ac_var+set}\" = set"; then
65357   echo $ECHO_N "(cached) $ECHO_C" >&6
65358 else
65359   if test x$gcc_no_link = xyes; then
65360   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65362    { (exit 1); exit 1; }; }
65363 fi
65364 cat >conftest.$ac_ext <<_ACEOF
65365 /* confdefs.h.  */
65366 _ACEOF
65367 cat confdefs.h >>conftest.$ac_ext
65368 cat >>conftest.$ac_ext <<_ACEOF
65369 /* end confdefs.h.  */
65370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65371    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65372 #define $ac_func innocuous_$ac_func
65373
65374 /* System header to define __stub macros and hopefully few prototypes,
65375     which can conflict with char $ac_func (); below.
65376     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65377     <limits.h> exists even on freestanding compilers.  */
65378
65379 #ifdef __STDC__
65380 # include <limits.h>
65381 #else
65382 # include <assert.h>
65383 #endif
65384
65385 #undef $ac_func
65386
65387 /* Override any gcc2 internal prototype to avoid an error.  */
65388 #ifdef __cplusplus
65389 extern "C"
65390 {
65391 #endif
65392 /* We use char because int might match the return type of a gcc2
65393    builtin and then its argument prototype would still apply.  */
65394 char $ac_func ();
65395 /* The GNU C library defines this for functions which it implements
65396     to always fail with ENOSYS.  Some functions are actually named
65397     something starting with __ and the normal name is an alias.  */
65398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65399 choke me
65400 #else
65401 char (*f) () = $ac_func;
65402 #endif
65403 #ifdef __cplusplus
65404 }
65405 #endif
65406
65407 int
65408 main ()
65409 {
65410 return f != $ac_func;
65411   ;
65412   return 0;
65413 }
65414 _ACEOF
65415 rm -f conftest.$ac_objext conftest$ac_exeext
65416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65417   (eval $ac_link) 2>conftest.er1
65418   ac_status=$?
65419   grep -v '^ *+' conftest.er1 >conftest.err
65420   rm -f conftest.er1
65421   cat conftest.err >&5
65422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65423   (exit $ac_status); } &&
65424          { ac_try='test -z "$ac_c_werror_flag"
65425                          || test ! -s conftest.err'
65426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65427   (eval $ac_try) 2>&5
65428   ac_status=$?
65429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65430   (exit $ac_status); }; } &&
65431          { ac_try='test -s conftest$ac_exeext'
65432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65433   (eval $ac_try) 2>&5
65434   ac_status=$?
65435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65436   (exit $ac_status); }; }; then
65437   eval "$as_ac_var=yes"
65438 else
65439   echo "$as_me: failed program was:" >&5
65440 sed 's/^/| /' conftest.$ac_ext >&5
65441
65442 eval "$as_ac_var=no"
65443 fi
65444 rm -f conftest.err conftest.$ac_objext \
65445       conftest$ac_exeext conftest.$ac_ext
65446 fi
65447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65449 if test `eval echo '${'$as_ac_var'}'` = yes; then
65450   cat >>confdefs.h <<_ACEOF
65451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65452 _ACEOF
65453
65454 fi
65455 done
65456
65457     fi
65458   fi
65459
65460
65461
65462
65463
65464
65465   echo "$as_me:$LINENO: checking for expl declaration" >&5
65466 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
65467   if test x${glibcxx_cv_func_expl_use+set} != xset; then
65468     if test "${glibcxx_cv_func_expl_use+set}" = set; then
65469   echo $ECHO_N "(cached) $ECHO_C" >&6
65470 else
65471
65472
65473
65474       ac_ext=cc
65475 ac_cpp='$CXXCPP $CPPFLAGS'
65476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65479
65480       cat >conftest.$ac_ext <<_ACEOF
65481 /* confdefs.h.  */
65482 _ACEOF
65483 cat confdefs.h >>conftest.$ac_ext
65484 cat >>conftest.$ac_ext <<_ACEOF
65485 /* end confdefs.h.  */
65486 #include <math.h>
65487                       #ifdef HAVE_IEEEFP_H
65488                       #include <ieeefp.h>
65489                       #endif
65490
65491 int
65492 main ()
65493 {
65494  expl(0);
65495   ;
65496   return 0;
65497 }
65498 _ACEOF
65499 rm -f conftest.$ac_objext
65500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65501   (eval $ac_compile) 2>conftest.er1
65502   ac_status=$?
65503   grep -v '^ *+' conftest.er1 >conftest.err
65504   rm -f conftest.er1
65505   cat conftest.err >&5
65506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65507   (exit $ac_status); } &&
65508          { ac_try='test -z "$ac_cxx_werror_flag"
65509                          || test ! -s conftest.err'
65510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65511   (eval $ac_try) 2>&5
65512   ac_status=$?
65513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65514   (exit $ac_status); }; } &&
65515          { ac_try='test -s conftest.$ac_objext'
65516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65517   (eval $ac_try) 2>&5
65518   ac_status=$?
65519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65520   (exit $ac_status); }; }; then
65521   glibcxx_cv_func_expl_use=yes
65522 else
65523   echo "$as_me: failed program was:" >&5
65524 sed 's/^/| /' conftest.$ac_ext >&5
65525
65526 glibcxx_cv_func_expl_use=no
65527 fi
65528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65529       ac_ext=c
65530 ac_cpp='$CPP $CPPFLAGS'
65531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65534
65535
65536 fi
65537
65538   fi
65539   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
65540 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
65541
65542   if test x$glibcxx_cv_func_expl_use = x"yes"; then
65543
65544 for ac_func in expl
65545 do
65546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65547 echo "$as_me:$LINENO: checking for $ac_func" >&5
65548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65549 if eval "test \"\${$as_ac_var+set}\" = set"; then
65550   echo $ECHO_N "(cached) $ECHO_C" >&6
65551 else
65552   if test x$gcc_no_link = xyes; then
65553   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65555    { (exit 1); exit 1; }; }
65556 fi
65557 cat >conftest.$ac_ext <<_ACEOF
65558 /* confdefs.h.  */
65559 _ACEOF
65560 cat confdefs.h >>conftest.$ac_ext
65561 cat >>conftest.$ac_ext <<_ACEOF
65562 /* end confdefs.h.  */
65563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65564    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65565 #define $ac_func innocuous_$ac_func
65566
65567 /* System header to define __stub macros and hopefully few prototypes,
65568     which can conflict with char $ac_func (); below.
65569     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65570     <limits.h> exists even on freestanding compilers.  */
65571
65572 #ifdef __STDC__
65573 # include <limits.h>
65574 #else
65575 # include <assert.h>
65576 #endif
65577
65578 #undef $ac_func
65579
65580 /* Override any gcc2 internal prototype to avoid an error.  */
65581 #ifdef __cplusplus
65582 extern "C"
65583 {
65584 #endif
65585 /* We use char because int might match the return type of a gcc2
65586    builtin and then its argument prototype would still apply.  */
65587 char $ac_func ();
65588 /* The GNU C library defines this for functions which it implements
65589     to always fail with ENOSYS.  Some functions are actually named
65590     something starting with __ and the normal name is an alias.  */
65591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65592 choke me
65593 #else
65594 char (*f) () = $ac_func;
65595 #endif
65596 #ifdef __cplusplus
65597 }
65598 #endif
65599
65600 int
65601 main ()
65602 {
65603 return f != $ac_func;
65604   ;
65605   return 0;
65606 }
65607 _ACEOF
65608 rm -f conftest.$ac_objext conftest$ac_exeext
65609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65610   (eval $ac_link) 2>conftest.er1
65611   ac_status=$?
65612   grep -v '^ *+' conftest.er1 >conftest.err
65613   rm -f conftest.er1
65614   cat conftest.err >&5
65615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65616   (exit $ac_status); } &&
65617          { ac_try='test -z "$ac_c_werror_flag"
65618                          || test ! -s conftest.err'
65619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65620   (eval $ac_try) 2>&5
65621   ac_status=$?
65622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65623   (exit $ac_status); }; } &&
65624          { ac_try='test -s conftest$ac_exeext'
65625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65626   (eval $ac_try) 2>&5
65627   ac_status=$?
65628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65629   (exit $ac_status); }; }; then
65630   eval "$as_ac_var=yes"
65631 else
65632   echo "$as_me: failed program was:" >&5
65633 sed 's/^/| /' conftest.$ac_ext >&5
65634
65635 eval "$as_ac_var=no"
65636 fi
65637 rm -f conftest.err conftest.$ac_objext \
65638       conftest$ac_exeext conftest.$ac_ext
65639 fi
65640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65642 if test `eval echo '${'$as_ac_var'}'` = yes; then
65643   cat >>confdefs.h <<_ACEOF
65644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65645 _ACEOF
65646
65647 fi
65648 done
65649
65650   else
65651
65652   echo "$as_me:$LINENO: checking for _expl declaration" >&5
65653 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
65654   if test x${glibcxx_cv_func__expl_use+set} != xset; then
65655     if test "${glibcxx_cv_func__expl_use+set}" = set; then
65656   echo $ECHO_N "(cached) $ECHO_C" >&6
65657 else
65658
65659
65660
65661       ac_ext=cc
65662 ac_cpp='$CXXCPP $CPPFLAGS'
65663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65666
65667       cat >conftest.$ac_ext <<_ACEOF
65668 /* confdefs.h.  */
65669 _ACEOF
65670 cat confdefs.h >>conftest.$ac_ext
65671 cat >>conftest.$ac_ext <<_ACEOF
65672 /* end confdefs.h.  */
65673 #include <math.h>
65674                       #ifdef HAVE_IEEEFP_H
65675                       #include <ieeefp.h>
65676                       #endif
65677
65678 int
65679 main ()
65680 {
65681  _expl(0);
65682   ;
65683   return 0;
65684 }
65685 _ACEOF
65686 rm -f conftest.$ac_objext
65687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65688   (eval $ac_compile) 2>conftest.er1
65689   ac_status=$?
65690   grep -v '^ *+' conftest.er1 >conftest.err
65691   rm -f conftest.er1
65692   cat conftest.err >&5
65693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65694   (exit $ac_status); } &&
65695          { ac_try='test -z "$ac_cxx_werror_flag"
65696                          || test ! -s conftest.err'
65697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65698   (eval $ac_try) 2>&5
65699   ac_status=$?
65700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65701   (exit $ac_status); }; } &&
65702          { ac_try='test -s conftest.$ac_objext'
65703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65704   (eval $ac_try) 2>&5
65705   ac_status=$?
65706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65707   (exit $ac_status); }; }; then
65708   glibcxx_cv_func__expl_use=yes
65709 else
65710   echo "$as_me: failed program was:" >&5
65711 sed 's/^/| /' conftest.$ac_ext >&5
65712
65713 glibcxx_cv_func__expl_use=no
65714 fi
65715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65716       ac_ext=c
65717 ac_cpp='$CPP $CPPFLAGS'
65718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65721
65722
65723 fi
65724
65725   fi
65726   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
65727 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
65728
65729     if test x$glibcxx_cv_func__expl_use = x"yes"; then
65730
65731 for ac_func in _expl
65732 do
65733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65734 echo "$as_me:$LINENO: checking for $ac_func" >&5
65735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65736 if eval "test \"\${$as_ac_var+set}\" = set"; then
65737   echo $ECHO_N "(cached) $ECHO_C" >&6
65738 else
65739   if test x$gcc_no_link = xyes; then
65740   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65742    { (exit 1); exit 1; }; }
65743 fi
65744 cat >conftest.$ac_ext <<_ACEOF
65745 /* confdefs.h.  */
65746 _ACEOF
65747 cat confdefs.h >>conftest.$ac_ext
65748 cat >>conftest.$ac_ext <<_ACEOF
65749 /* end confdefs.h.  */
65750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65751    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65752 #define $ac_func innocuous_$ac_func
65753
65754 /* System header to define __stub macros and hopefully few prototypes,
65755     which can conflict with char $ac_func (); below.
65756     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65757     <limits.h> exists even on freestanding compilers.  */
65758
65759 #ifdef __STDC__
65760 # include <limits.h>
65761 #else
65762 # include <assert.h>
65763 #endif
65764
65765 #undef $ac_func
65766
65767 /* Override any gcc2 internal prototype to avoid an error.  */
65768 #ifdef __cplusplus
65769 extern "C"
65770 {
65771 #endif
65772 /* We use char because int might match the return type of a gcc2
65773    builtin and then its argument prototype would still apply.  */
65774 char $ac_func ();
65775 /* The GNU C library defines this for functions which it implements
65776     to always fail with ENOSYS.  Some functions are actually named
65777     something starting with __ and the normal name is an alias.  */
65778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65779 choke me
65780 #else
65781 char (*f) () = $ac_func;
65782 #endif
65783 #ifdef __cplusplus
65784 }
65785 #endif
65786
65787 int
65788 main ()
65789 {
65790 return f != $ac_func;
65791   ;
65792   return 0;
65793 }
65794 _ACEOF
65795 rm -f conftest.$ac_objext conftest$ac_exeext
65796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65797   (eval $ac_link) 2>conftest.er1
65798   ac_status=$?
65799   grep -v '^ *+' conftest.er1 >conftest.err
65800   rm -f conftest.er1
65801   cat conftest.err >&5
65802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65803   (exit $ac_status); } &&
65804          { ac_try='test -z "$ac_c_werror_flag"
65805                          || test ! -s conftest.err'
65806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65807   (eval $ac_try) 2>&5
65808   ac_status=$?
65809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65810   (exit $ac_status); }; } &&
65811          { ac_try='test -s conftest$ac_exeext'
65812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65813   (eval $ac_try) 2>&5
65814   ac_status=$?
65815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65816   (exit $ac_status); }; }; then
65817   eval "$as_ac_var=yes"
65818 else
65819   echo "$as_me: failed program was:" >&5
65820 sed 's/^/| /' conftest.$ac_ext >&5
65821
65822 eval "$as_ac_var=no"
65823 fi
65824 rm -f conftest.err conftest.$ac_objext \
65825       conftest$ac_exeext conftest.$ac_ext
65826 fi
65827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65829 if test `eval echo '${'$as_ac_var'}'` = yes; then
65830   cat >>confdefs.h <<_ACEOF
65831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65832 _ACEOF
65833
65834 fi
65835 done
65836
65837     fi
65838   fi
65839
65840
65841
65842
65843
65844
65845   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
65846 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
65847   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65848     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
65849   echo $ECHO_N "(cached) $ECHO_C" >&6
65850 else
65851
65852
65853
65854       ac_ext=cc
65855 ac_cpp='$CXXCPP $CPPFLAGS'
65856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65859
65860       cat >conftest.$ac_ext <<_ACEOF
65861 /* confdefs.h.  */
65862 _ACEOF
65863 cat confdefs.h >>conftest.$ac_ext
65864 cat >>conftest.$ac_ext <<_ACEOF
65865 /* end confdefs.h.  */
65866 #include <math.h>
65867                       #ifdef HAVE_IEEEFP_H
65868                       #include <ieeefp.h>
65869                       #endif
65870
65871 int
65872 main ()
65873 {
65874  fabsl(0);
65875   ;
65876   return 0;
65877 }
65878 _ACEOF
65879 rm -f conftest.$ac_objext
65880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65881   (eval $ac_compile) 2>conftest.er1
65882   ac_status=$?
65883   grep -v '^ *+' conftest.er1 >conftest.err
65884   rm -f conftest.er1
65885   cat conftest.err >&5
65886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65887   (exit $ac_status); } &&
65888          { ac_try='test -z "$ac_cxx_werror_flag"
65889                          || test ! -s conftest.err'
65890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65891   (eval $ac_try) 2>&5
65892   ac_status=$?
65893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65894   (exit $ac_status); }; } &&
65895          { ac_try='test -s conftest.$ac_objext'
65896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65897   (eval $ac_try) 2>&5
65898   ac_status=$?
65899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65900   (exit $ac_status); }; }; then
65901   glibcxx_cv_func_fabsl_use=yes
65902 else
65903   echo "$as_me: failed program was:" >&5
65904 sed 's/^/| /' conftest.$ac_ext >&5
65905
65906 glibcxx_cv_func_fabsl_use=no
65907 fi
65908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65909       ac_ext=c
65910 ac_cpp='$CPP $CPPFLAGS'
65911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65914
65915
65916 fi
65917
65918   fi
65919   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
65920 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
65921
65922   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65923
65924 for ac_func in fabsl
65925 do
65926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65927 echo "$as_me:$LINENO: checking for $ac_func" >&5
65928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65929 if eval "test \"\${$as_ac_var+set}\" = set"; then
65930   echo $ECHO_N "(cached) $ECHO_C" >&6
65931 else
65932   if test x$gcc_no_link = xyes; then
65933   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65935    { (exit 1); exit 1; }; }
65936 fi
65937 cat >conftest.$ac_ext <<_ACEOF
65938 /* confdefs.h.  */
65939 _ACEOF
65940 cat confdefs.h >>conftest.$ac_ext
65941 cat >>conftest.$ac_ext <<_ACEOF
65942 /* end confdefs.h.  */
65943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65944    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65945 #define $ac_func innocuous_$ac_func
65946
65947 /* System header to define __stub macros and hopefully few prototypes,
65948     which can conflict with char $ac_func (); below.
65949     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65950     <limits.h> exists even on freestanding compilers.  */
65951
65952 #ifdef __STDC__
65953 # include <limits.h>
65954 #else
65955 # include <assert.h>
65956 #endif
65957
65958 #undef $ac_func
65959
65960 /* Override any gcc2 internal prototype to avoid an error.  */
65961 #ifdef __cplusplus
65962 extern "C"
65963 {
65964 #endif
65965 /* We use char because int might match the return type of a gcc2
65966    builtin and then its argument prototype would still apply.  */
65967 char $ac_func ();
65968 /* The GNU C library defines this for functions which it implements
65969     to always fail with ENOSYS.  Some functions are actually named
65970     something starting with __ and the normal name is an alias.  */
65971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65972 choke me
65973 #else
65974 char (*f) () = $ac_func;
65975 #endif
65976 #ifdef __cplusplus
65977 }
65978 #endif
65979
65980 int
65981 main ()
65982 {
65983 return f != $ac_func;
65984   ;
65985   return 0;
65986 }
65987 _ACEOF
65988 rm -f conftest.$ac_objext conftest$ac_exeext
65989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65990   (eval $ac_link) 2>conftest.er1
65991   ac_status=$?
65992   grep -v '^ *+' conftest.er1 >conftest.err
65993   rm -f conftest.er1
65994   cat conftest.err >&5
65995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65996   (exit $ac_status); } &&
65997          { ac_try='test -z "$ac_c_werror_flag"
65998                          || test ! -s conftest.err'
65999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66000   (eval $ac_try) 2>&5
66001   ac_status=$?
66002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66003   (exit $ac_status); }; } &&
66004          { ac_try='test -s conftest$ac_exeext'
66005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66006   (eval $ac_try) 2>&5
66007   ac_status=$?
66008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66009   (exit $ac_status); }; }; then
66010   eval "$as_ac_var=yes"
66011 else
66012   echo "$as_me: failed program was:" >&5
66013 sed 's/^/| /' conftest.$ac_ext >&5
66014
66015 eval "$as_ac_var=no"
66016 fi
66017 rm -f conftest.err conftest.$ac_objext \
66018       conftest$ac_exeext conftest.$ac_ext
66019 fi
66020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66022 if test `eval echo '${'$as_ac_var'}'` = yes; then
66023   cat >>confdefs.h <<_ACEOF
66024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66025 _ACEOF
66026
66027 fi
66028 done
66029
66030   else
66031
66032   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
66033 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
66034   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
66035     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
66036   echo $ECHO_N "(cached) $ECHO_C" >&6
66037 else
66038
66039
66040
66041       ac_ext=cc
66042 ac_cpp='$CXXCPP $CPPFLAGS'
66043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66046
66047       cat >conftest.$ac_ext <<_ACEOF
66048 /* confdefs.h.  */
66049 _ACEOF
66050 cat confdefs.h >>conftest.$ac_ext
66051 cat >>conftest.$ac_ext <<_ACEOF
66052 /* end confdefs.h.  */
66053 #include <math.h>
66054                       #ifdef HAVE_IEEEFP_H
66055                       #include <ieeefp.h>
66056                       #endif
66057
66058 int
66059 main ()
66060 {
66061  _fabsl(0);
66062   ;
66063   return 0;
66064 }
66065 _ACEOF
66066 rm -f conftest.$ac_objext
66067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66068   (eval $ac_compile) 2>conftest.er1
66069   ac_status=$?
66070   grep -v '^ *+' conftest.er1 >conftest.err
66071   rm -f conftest.er1
66072   cat conftest.err >&5
66073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66074   (exit $ac_status); } &&
66075          { ac_try='test -z "$ac_cxx_werror_flag"
66076                          || test ! -s conftest.err'
66077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66078   (eval $ac_try) 2>&5
66079   ac_status=$?
66080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66081   (exit $ac_status); }; } &&
66082          { ac_try='test -s conftest.$ac_objext'
66083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66084   (eval $ac_try) 2>&5
66085   ac_status=$?
66086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66087   (exit $ac_status); }; }; then
66088   glibcxx_cv_func__fabsl_use=yes
66089 else
66090   echo "$as_me: failed program was:" >&5
66091 sed 's/^/| /' conftest.$ac_ext >&5
66092
66093 glibcxx_cv_func__fabsl_use=no
66094 fi
66095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66096       ac_ext=c
66097 ac_cpp='$CPP $CPPFLAGS'
66098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66101
66102
66103 fi
66104
66105   fi
66106   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
66107 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
66108
66109     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
66110
66111 for ac_func in _fabsl
66112 do
66113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66114 echo "$as_me:$LINENO: checking for $ac_func" >&5
66115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66116 if eval "test \"\${$as_ac_var+set}\" = set"; then
66117   echo $ECHO_N "(cached) $ECHO_C" >&6
66118 else
66119   if test x$gcc_no_link = xyes; then
66120   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66122    { (exit 1); exit 1; }; }
66123 fi
66124 cat >conftest.$ac_ext <<_ACEOF
66125 /* confdefs.h.  */
66126 _ACEOF
66127 cat confdefs.h >>conftest.$ac_ext
66128 cat >>conftest.$ac_ext <<_ACEOF
66129 /* end confdefs.h.  */
66130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66131    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66132 #define $ac_func innocuous_$ac_func
66133
66134 /* System header to define __stub macros and hopefully few prototypes,
66135     which can conflict with char $ac_func (); below.
66136     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66137     <limits.h> exists even on freestanding compilers.  */
66138
66139 #ifdef __STDC__
66140 # include <limits.h>
66141 #else
66142 # include <assert.h>
66143 #endif
66144
66145 #undef $ac_func
66146
66147 /* Override any gcc2 internal prototype to avoid an error.  */
66148 #ifdef __cplusplus
66149 extern "C"
66150 {
66151 #endif
66152 /* We use char because int might match the return type of a gcc2
66153    builtin and then its argument prototype would still apply.  */
66154 char $ac_func ();
66155 /* The GNU C library defines this for functions which it implements
66156     to always fail with ENOSYS.  Some functions are actually named
66157     something starting with __ and the normal name is an alias.  */
66158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66159 choke me
66160 #else
66161 char (*f) () = $ac_func;
66162 #endif
66163 #ifdef __cplusplus
66164 }
66165 #endif
66166
66167 int
66168 main ()
66169 {
66170 return f != $ac_func;
66171   ;
66172   return 0;
66173 }
66174 _ACEOF
66175 rm -f conftest.$ac_objext conftest$ac_exeext
66176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66177   (eval $ac_link) 2>conftest.er1
66178   ac_status=$?
66179   grep -v '^ *+' conftest.er1 >conftest.err
66180   rm -f conftest.er1
66181   cat conftest.err >&5
66182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66183   (exit $ac_status); } &&
66184          { ac_try='test -z "$ac_c_werror_flag"
66185                          || test ! -s conftest.err'
66186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66187   (eval $ac_try) 2>&5
66188   ac_status=$?
66189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66190   (exit $ac_status); }; } &&
66191          { ac_try='test -s conftest$ac_exeext'
66192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66193   (eval $ac_try) 2>&5
66194   ac_status=$?
66195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66196   (exit $ac_status); }; }; then
66197   eval "$as_ac_var=yes"
66198 else
66199   echo "$as_me: failed program was:" >&5
66200 sed 's/^/| /' conftest.$ac_ext >&5
66201
66202 eval "$as_ac_var=no"
66203 fi
66204 rm -f conftest.err conftest.$ac_objext \
66205       conftest$ac_exeext conftest.$ac_ext
66206 fi
66207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66209 if test `eval echo '${'$as_ac_var'}'` = yes; then
66210   cat >>confdefs.h <<_ACEOF
66211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66212 _ACEOF
66213
66214 fi
66215 done
66216
66217     fi
66218   fi
66219
66220
66221
66222
66223
66224
66225   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
66226 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
66227   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
66228     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
66229   echo $ECHO_N "(cached) $ECHO_C" >&6
66230 else
66231
66232
66233
66234       ac_ext=cc
66235 ac_cpp='$CXXCPP $CPPFLAGS'
66236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66239
66240       cat >conftest.$ac_ext <<_ACEOF
66241 /* confdefs.h.  */
66242 _ACEOF
66243 cat confdefs.h >>conftest.$ac_ext
66244 cat >>conftest.$ac_ext <<_ACEOF
66245 /* end confdefs.h.  */
66246 #include <math.h>
66247 int
66248 main ()
66249 {
66250  fmodl(0, 0);
66251   ;
66252   return 0;
66253 }
66254 _ACEOF
66255 rm -f conftest.$ac_objext
66256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66257   (eval $ac_compile) 2>conftest.er1
66258   ac_status=$?
66259   grep -v '^ *+' conftest.er1 >conftest.err
66260   rm -f conftest.er1
66261   cat conftest.err >&5
66262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66263   (exit $ac_status); } &&
66264          { ac_try='test -z "$ac_cxx_werror_flag"
66265                          || test ! -s conftest.err'
66266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66267   (eval $ac_try) 2>&5
66268   ac_status=$?
66269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66270   (exit $ac_status); }; } &&
66271          { ac_try='test -s conftest.$ac_objext'
66272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66273   (eval $ac_try) 2>&5
66274   ac_status=$?
66275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66276   (exit $ac_status); }; }; then
66277   glibcxx_cv_func_fmodl_use=yes
66278 else
66279   echo "$as_me: failed program was:" >&5
66280 sed 's/^/| /' conftest.$ac_ext >&5
66281
66282 glibcxx_cv_func_fmodl_use=no
66283 fi
66284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66285       ac_ext=c
66286 ac_cpp='$CPP $CPPFLAGS'
66287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66290
66291
66292 fi
66293
66294   fi
66295   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
66296 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
66297
66298   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
66299
66300 for ac_func in fmodl
66301 do
66302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66303 echo "$as_me:$LINENO: checking for $ac_func" >&5
66304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66305 if eval "test \"\${$as_ac_var+set}\" = set"; then
66306   echo $ECHO_N "(cached) $ECHO_C" >&6
66307 else
66308   if test x$gcc_no_link = xyes; then
66309   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66311    { (exit 1); exit 1; }; }
66312 fi
66313 cat >conftest.$ac_ext <<_ACEOF
66314 /* confdefs.h.  */
66315 _ACEOF
66316 cat confdefs.h >>conftest.$ac_ext
66317 cat >>conftest.$ac_ext <<_ACEOF
66318 /* end confdefs.h.  */
66319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66320    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66321 #define $ac_func innocuous_$ac_func
66322
66323 /* System header to define __stub macros and hopefully few prototypes,
66324     which can conflict with char $ac_func (); below.
66325     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66326     <limits.h> exists even on freestanding compilers.  */
66327
66328 #ifdef __STDC__
66329 # include <limits.h>
66330 #else
66331 # include <assert.h>
66332 #endif
66333
66334 #undef $ac_func
66335
66336 /* Override any gcc2 internal prototype to avoid an error.  */
66337 #ifdef __cplusplus
66338 extern "C"
66339 {
66340 #endif
66341 /* We use char because int might match the return type of a gcc2
66342    builtin and then its argument prototype would still apply.  */
66343 char $ac_func ();
66344 /* The GNU C library defines this for functions which it implements
66345     to always fail with ENOSYS.  Some functions are actually named
66346     something starting with __ and the normal name is an alias.  */
66347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66348 choke me
66349 #else
66350 char (*f) () = $ac_func;
66351 #endif
66352 #ifdef __cplusplus
66353 }
66354 #endif
66355
66356 int
66357 main ()
66358 {
66359 return f != $ac_func;
66360   ;
66361   return 0;
66362 }
66363 _ACEOF
66364 rm -f conftest.$ac_objext conftest$ac_exeext
66365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66366   (eval $ac_link) 2>conftest.er1
66367   ac_status=$?
66368   grep -v '^ *+' conftest.er1 >conftest.err
66369   rm -f conftest.er1
66370   cat conftest.err >&5
66371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66372   (exit $ac_status); } &&
66373          { ac_try='test -z "$ac_c_werror_flag"
66374                          || test ! -s conftest.err'
66375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66376   (eval $ac_try) 2>&5
66377   ac_status=$?
66378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66379   (exit $ac_status); }; } &&
66380          { ac_try='test -s conftest$ac_exeext'
66381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66382   (eval $ac_try) 2>&5
66383   ac_status=$?
66384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66385   (exit $ac_status); }; }; then
66386   eval "$as_ac_var=yes"
66387 else
66388   echo "$as_me: failed program was:" >&5
66389 sed 's/^/| /' conftest.$ac_ext >&5
66390
66391 eval "$as_ac_var=no"
66392 fi
66393 rm -f conftest.err conftest.$ac_objext \
66394       conftest$ac_exeext conftest.$ac_ext
66395 fi
66396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66398 if test `eval echo '${'$as_ac_var'}'` = yes; then
66399   cat >>confdefs.h <<_ACEOF
66400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66401 _ACEOF
66402
66403 fi
66404 done
66405
66406   else
66407
66408   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
66409 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
66410   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
66411     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
66412   echo $ECHO_N "(cached) $ECHO_C" >&6
66413 else
66414
66415
66416
66417       ac_ext=cc
66418 ac_cpp='$CXXCPP $CPPFLAGS'
66419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66422
66423       cat >conftest.$ac_ext <<_ACEOF
66424 /* confdefs.h.  */
66425 _ACEOF
66426 cat confdefs.h >>conftest.$ac_ext
66427 cat >>conftest.$ac_ext <<_ACEOF
66428 /* end confdefs.h.  */
66429 #include <math.h>
66430 int
66431 main ()
66432 {
66433  _fmodl(0, 0);
66434   ;
66435   return 0;
66436 }
66437 _ACEOF
66438 rm -f conftest.$ac_objext
66439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66440   (eval $ac_compile) 2>conftest.er1
66441   ac_status=$?
66442   grep -v '^ *+' conftest.er1 >conftest.err
66443   rm -f conftest.er1
66444   cat conftest.err >&5
66445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66446   (exit $ac_status); } &&
66447          { ac_try='test -z "$ac_cxx_werror_flag"
66448                          || test ! -s conftest.err'
66449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66450   (eval $ac_try) 2>&5
66451   ac_status=$?
66452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66453   (exit $ac_status); }; } &&
66454          { ac_try='test -s conftest.$ac_objext'
66455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66456   (eval $ac_try) 2>&5
66457   ac_status=$?
66458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66459   (exit $ac_status); }; }; then
66460   glibcxx_cv_func__fmodl_use=yes
66461 else
66462   echo "$as_me: failed program was:" >&5
66463 sed 's/^/| /' conftest.$ac_ext >&5
66464
66465 glibcxx_cv_func__fmodl_use=no
66466 fi
66467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66468       ac_ext=c
66469 ac_cpp='$CPP $CPPFLAGS'
66470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66473
66474
66475 fi
66476
66477   fi
66478   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
66479 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
66480
66481     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
66482
66483 for ac_func in _fmodl
66484 do
66485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66486 echo "$as_me:$LINENO: checking for $ac_func" >&5
66487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66488 if eval "test \"\${$as_ac_var+set}\" = set"; then
66489   echo $ECHO_N "(cached) $ECHO_C" >&6
66490 else
66491   if test x$gcc_no_link = xyes; then
66492   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66494    { (exit 1); exit 1; }; }
66495 fi
66496 cat >conftest.$ac_ext <<_ACEOF
66497 /* confdefs.h.  */
66498 _ACEOF
66499 cat confdefs.h >>conftest.$ac_ext
66500 cat >>conftest.$ac_ext <<_ACEOF
66501 /* end confdefs.h.  */
66502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66503    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66504 #define $ac_func innocuous_$ac_func
66505
66506 /* System header to define __stub macros and hopefully few prototypes,
66507     which can conflict with char $ac_func (); below.
66508     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66509     <limits.h> exists even on freestanding compilers.  */
66510
66511 #ifdef __STDC__
66512 # include <limits.h>
66513 #else
66514 # include <assert.h>
66515 #endif
66516
66517 #undef $ac_func
66518
66519 /* Override any gcc2 internal prototype to avoid an error.  */
66520 #ifdef __cplusplus
66521 extern "C"
66522 {
66523 #endif
66524 /* We use char because int might match the return type of a gcc2
66525    builtin and then its argument prototype would still apply.  */
66526 char $ac_func ();
66527 /* The GNU C library defines this for functions which it implements
66528     to always fail with ENOSYS.  Some functions are actually named
66529     something starting with __ and the normal name is an alias.  */
66530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66531 choke me
66532 #else
66533 char (*f) () = $ac_func;
66534 #endif
66535 #ifdef __cplusplus
66536 }
66537 #endif
66538
66539 int
66540 main ()
66541 {
66542 return f != $ac_func;
66543   ;
66544   return 0;
66545 }
66546 _ACEOF
66547 rm -f conftest.$ac_objext conftest$ac_exeext
66548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66549   (eval $ac_link) 2>conftest.er1
66550   ac_status=$?
66551   grep -v '^ *+' conftest.er1 >conftest.err
66552   rm -f conftest.er1
66553   cat conftest.err >&5
66554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66555   (exit $ac_status); } &&
66556          { ac_try='test -z "$ac_c_werror_flag"
66557                          || test ! -s conftest.err'
66558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66559   (eval $ac_try) 2>&5
66560   ac_status=$?
66561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66562   (exit $ac_status); }; } &&
66563          { ac_try='test -s conftest$ac_exeext'
66564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66565   (eval $ac_try) 2>&5
66566   ac_status=$?
66567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66568   (exit $ac_status); }; }; then
66569   eval "$as_ac_var=yes"
66570 else
66571   echo "$as_me: failed program was:" >&5
66572 sed 's/^/| /' conftest.$ac_ext >&5
66573
66574 eval "$as_ac_var=no"
66575 fi
66576 rm -f conftest.err conftest.$ac_objext \
66577       conftest$ac_exeext conftest.$ac_ext
66578 fi
66579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66581 if test `eval echo '${'$as_ac_var'}'` = yes; then
66582   cat >>confdefs.h <<_ACEOF
66583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66584 _ACEOF
66585
66586 fi
66587 done
66588
66589     fi
66590   fi
66591
66592
66593
66594
66595
66596
66597   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
66598 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
66599   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
66600     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
66601   echo $ECHO_N "(cached) $ECHO_C" >&6
66602 else
66603
66604
66605
66606       ac_ext=cc
66607 ac_cpp='$CXXCPP $CPPFLAGS'
66608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66611
66612       cat >conftest.$ac_ext <<_ACEOF
66613 /* confdefs.h.  */
66614 _ACEOF
66615 cat confdefs.h >>conftest.$ac_ext
66616 cat >>conftest.$ac_ext <<_ACEOF
66617 /* end confdefs.h.  */
66618 #include <math.h>
66619 int
66620 main ()
66621 {
66622  frexpl(0, 0);
66623   ;
66624   return 0;
66625 }
66626 _ACEOF
66627 rm -f conftest.$ac_objext
66628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66629   (eval $ac_compile) 2>conftest.er1
66630   ac_status=$?
66631   grep -v '^ *+' conftest.er1 >conftest.err
66632   rm -f conftest.er1
66633   cat conftest.err >&5
66634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66635   (exit $ac_status); } &&
66636          { ac_try='test -z "$ac_cxx_werror_flag"
66637                          || test ! -s conftest.err'
66638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66639   (eval $ac_try) 2>&5
66640   ac_status=$?
66641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66642   (exit $ac_status); }; } &&
66643          { ac_try='test -s conftest.$ac_objext'
66644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66645   (eval $ac_try) 2>&5
66646   ac_status=$?
66647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66648   (exit $ac_status); }; }; then
66649   glibcxx_cv_func_frexpl_use=yes
66650 else
66651   echo "$as_me: failed program was:" >&5
66652 sed 's/^/| /' conftest.$ac_ext >&5
66653
66654 glibcxx_cv_func_frexpl_use=no
66655 fi
66656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66657       ac_ext=c
66658 ac_cpp='$CPP $CPPFLAGS'
66659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66662
66663
66664 fi
66665
66666   fi
66667   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
66668 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
66669
66670   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
66671
66672 for ac_func in frexpl
66673 do
66674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66675 echo "$as_me:$LINENO: checking for $ac_func" >&5
66676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66677 if eval "test \"\${$as_ac_var+set}\" = set"; then
66678   echo $ECHO_N "(cached) $ECHO_C" >&6
66679 else
66680   if test x$gcc_no_link = xyes; then
66681   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66683    { (exit 1); exit 1; }; }
66684 fi
66685 cat >conftest.$ac_ext <<_ACEOF
66686 /* confdefs.h.  */
66687 _ACEOF
66688 cat confdefs.h >>conftest.$ac_ext
66689 cat >>conftest.$ac_ext <<_ACEOF
66690 /* end confdefs.h.  */
66691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66692    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66693 #define $ac_func innocuous_$ac_func
66694
66695 /* System header to define __stub macros and hopefully few prototypes,
66696     which can conflict with char $ac_func (); below.
66697     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66698     <limits.h> exists even on freestanding compilers.  */
66699
66700 #ifdef __STDC__
66701 # include <limits.h>
66702 #else
66703 # include <assert.h>
66704 #endif
66705
66706 #undef $ac_func
66707
66708 /* Override any gcc2 internal prototype to avoid an error.  */
66709 #ifdef __cplusplus
66710 extern "C"
66711 {
66712 #endif
66713 /* We use char because int might match the return type of a gcc2
66714    builtin and then its argument prototype would still apply.  */
66715 char $ac_func ();
66716 /* The GNU C library defines this for functions which it implements
66717     to always fail with ENOSYS.  Some functions are actually named
66718     something starting with __ and the normal name is an alias.  */
66719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66720 choke me
66721 #else
66722 char (*f) () = $ac_func;
66723 #endif
66724 #ifdef __cplusplus
66725 }
66726 #endif
66727
66728 int
66729 main ()
66730 {
66731 return f != $ac_func;
66732   ;
66733   return 0;
66734 }
66735 _ACEOF
66736 rm -f conftest.$ac_objext conftest$ac_exeext
66737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66738   (eval $ac_link) 2>conftest.er1
66739   ac_status=$?
66740   grep -v '^ *+' conftest.er1 >conftest.err
66741   rm -f conftest.er1
66742   cat conftest.err >&5
66743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66744   (exit $ac_status); } &&
66745          { ac_try='test -z "$ac_c_werror_flag"
66746                          || test ! -s conftest.err'
66747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66748   (eval $ac_try) 2>&5
66749   ac_status=$?
66750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66751   (exit $ac_status); }; } &&
66752          { ac_try='test -s conftest$ac_exeext'
66753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66754   (eval $ac_try) 2>&5
66755   ac_status=$?
66756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66757   (exit $ac_status); }; }; then
66758   eval "$as_ac_var=yes"
66759 else
66760   echo "$as_me: failed program was:" >&5
66761 sed 's/^/| /' conftest.$ac_ext >&5
66762
66763 eval "$as_ac_var=no"
66764 fi
66765 rm -f conftest.err conftest.$ac_objext \
66766       conftest$ac_exeext conftest.$ac_ext
66767 fi
66768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66770 if test `eval echo '${'$as_ac_var'}'` = yes; then
66771   cat >>confdefs.h <<_ACEOF
66772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66773 _ACEOF
66774
66775 fi
66776 done
66777
66778   else
66779
66780   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
66781 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
66782   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
66783     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
66784   echo $ECHO_N "(cached) $ECHO_C" >&6
66785 else
66786
66787
66788
66789       ac_ext=cc
66790 ac_cpp='$CXXCPP $CPPFLAGS'
66791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66794
66795       cat >conftest.$ac_ext <<_ACEOF
66796 /* confdefs.h.  */
66797 _ACEOF
66798 cat confdefs.h >>conftest.$ac_ext
66799 cat >>conftest.$ac_ext <<_ACEOF
66800 /* end confdefs.h.  */
66801 #include <math.h>
66802 int
66803 main ()
66804 {
66805  _frexpl(0, 0);
66806   ;
66807   return 0;
66808 }
66809 _ACEOF
66810 rm -f conftest.$ac_objext
66811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66812   (eval $ac_compile) 2>conftest.er1
66813   ac_status=$?
66814   grep -v '^ *+' conftest.er1 >conftest.err
66815   rm -f conftest.er1
66816   cat conftest.err >&5
66817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66818   (exit $ac_status); } &&
66819          { ac_try='test -z "$ac_cxx_werror_flag"
66820                          || test ! -s conftest.err'
66821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66822   (eval $ac_try) 2>&5
66823   ac_status=$?
66824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66825   (exit $ac_status); }; } &&
66826          { ac_try='test -s conftest.$ac_objext'
66827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66828   (eval $ac_try) 2>&5
66829   ac_status=$?
66830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66831   (exit $ac_status); }; }; then
66832   glibcxx_cv_func__frexpl_use=yes
66833 else
66834   echo "$as_me: failed program was:" >&5
66835 sed 's/^/| /' conftest.$ac_ext >&5
66836
66837 glibcxx_cv_func__frexpl_use=no
66838 fi
66839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66840       ac_ext=c
66841 ac_cpp='$CPP $CPPFLAGS'
66842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66845
66846
66847 fi
66848
66849   fi
66850   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
66851 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
66852
66853     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
66854
66855 for ac_func in _frexpl
66856 do
66857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66858 echo "$as_me:$LINENO: checking for $ac_func" >&5
66859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66860 if eval "test \"\${$as_ac_var+set}\" = set"; then
66861   echo $ECHO_N "(cached) $ECHO_C" >&6
66862 else
66863   if test x$gcc_no_link = xyes; then
66864   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66866    { (exit 1); exit 1; }; }
66867 fi
66868 cat >conftest.$ac_ext <<_ACEOF
66869 /* confdefs.h.  */
66870 _ACEOF
66871 cat confdefs.h >>conftest.$ac_ext
66872 cat >>conftest.$ac_ext <<_ACEOF
66873 /* end confdefs.h.  */
66874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66875    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66876 #define $ac_func innocuous_$ac_func
66877
66878 /* System header to define __stub macros and hopefully few prototypes,
66879     which can conflict with char $ac_func (); below.
66880     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66881     <limits.h> exists even on freestanding compilers.  */
66882
66883 #ifdef __STDC__
66884 # include <limits.h>
66885 #else
66886 # include <assert.h>
66887 #endif
66888
66889 #undef $ac_func
66890
66891 /* Override any gcc2 internal prototype to avoid an error.  */
66892 #ifdef __cplusplus
66893 extern "C"
66894 {
66895 #endif
66896 /* We use char because int might match the return type of a gcc2
66897    builtin and then its argument prototype would still apply.  */
66898 char $ac_func ();
66899 /* The GNU C library defines this for functions which it implements
66900     to always fail with ENOSYS.  Some functions are actually named
66901     something starting with __ and the normal name is an alias.  */
66902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66903 choke me
66904 #else
66905 char (*f) () = $ac_func;
66906 #endif
66907 #ifdef __cplusplus
66908 }
66909 #endif
66910
66911 int
66912 main ()
66913 {
66914 return f != $ac_func;
66915   ;
66916   return 0;
66917 }
66918 _ACEOF
66919 rm -f conftest.$ac_objext conftest$ac_exeext
66920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66921   (eval $ac_link) 2>conftest.er1
66922   ac_status=$?
66923   grep -v '^ *+' conftest.er1 >conftest.err
66924   rm -f conftest.er1
66925   cat conftest.err >&5
66926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66927   (exit $ac_status); } &&
66928          { ac_try='test -z "$ac_c_werror_flag"
66929                          || test ! -s conftest.err'
66930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66931   (eval $ac_try) 2>&5
66932   ac_status=$?
66933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66934   (exit $ac_status); }; } &&
66935          { ac_try='test -s conftest$ac_exeext'
66936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66937   (eval $ac_try) 2>&5
66938   ac_status=$?
66939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66940   (exit $ac_status); }; }; then
66941   eval "$as_ac_var=yes"
66942 else
66943   echo "$as_me: failed program was:" >&5
66944 sed 's/^/| /' conftest.$ac_ext >&5
66945
66946 eval "$as_ac_var=no"
66947 fi
66948 rm -f conftest.err conftest.$ac_objext \
66949       conftest$ac_exeext conftest.$ac_ext
66950 fi
66951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66953 if test `eval echo '${'$as_ac_var'}'` = yes; then
66954   cat >>confdefs.h <<_ACEOF
66955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66956 _ACEOF
66957
66958 fi
66959 done
66960
66961     fi
66962   fi
66963
66964
66965
66966
66967
66968
66969   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
66970 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
66971   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
66972     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
66973   echo $ECHO_N "(cached) $ECHO_C" >&6
66974 else
66975
66976
66977
66978       ac_ext=cc
66979 ac_cpp='$CXXCPP $CPPFLAGS'
66980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66983
66984       cat >conftest.$ac_ext <<_ACEOF
66985 /* confdefs.h.  */
66986 _ACEOF
66987 cat confdefs.h >>conftest.$ac_ext
66988 cat >>conftest.$ac_ext <<_ACEOF
66989 /* end confdefs.h.  */
66990 #include <math.h>
66991 int
66992 main ()
66993 {
66994  hypotl(0, 0);
66995   ;
66996   return 0;
66997 }
66998 _ACEOF
66999 rm -f conftest.$ac_objext
67000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67001   (eval $ac_compile) 2>conftest.er1
67002   ac_status=$?
67003   grep -v '^ *+' conftest.er1 >conftest.err
67004   rm -f conftest.er1
67005   cat conftest.err >&5
67006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67007   (exit $ac_status); } &&
67008          { ac_try='test -z "$ac_cxx_werror_flag"
67009                          || test ! -s conftest.err'
67010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67011   (eval $ac_try) 2>&5
67012   ac_status=$?
67013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67014   (exit $ac_status); }; } &&
67015          { ac_try='test -s conftest.$ac_objext'
67016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67017   (eval $ac_try) 2>&5
67018   ac_status=$?
67019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67020   (exit $ac_status); }; }; then
67021   glibcxx_cv_func_hypotl_use=yes
67022 else
67023   echo "$as_me: failed program was:" >&5
67024 sed 's/^/| /' conftest.$ac_ext >&5
67025
67026 glibcxx_cv_func_hypotl_use=no
67027 fi
67028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67029       ac_ext=c
67030 ac_cpp='$CPP $CPPFLAGS'
67031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67034
67035
67036 fi
67037
67038   fi
67039   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
67040 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
67041
67042   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
67043
67044 for ac_func in hypotl
67045 do
67046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67047 echo "$as_me:$LINENO: checking for $ac_func" >&5
67048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67049 if eval "test \"\${$as_ac_var+set}\" = set"; then
67050   echo $ECHO_N "(cached) $ECHO_C" >&6
67051 else
67052   if test x$gcc_no_link = xyes; then
67053   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67055    { (exit 1); exit 1; }; }
67056 fi
67057 cat >conftest.$ac_ext <<_ACEOF
67058 /* confdefs.h.  */
67059 _ACEOF
67060 cat confdefs.h >>conftest.$ac_ext
67061 cat >>conftest.$ac_ext <<_ACEOF
67062 /* end confdefs.h.  */
67063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67064    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67065 #define $ac_func innocuous_$ac_func
67066
67067 /* System header to define __stub macros and hopefully few prototypes,
67068     which can conflict with char $ac_func (); below.
67069     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67070     <limits.h> exists even on freestanding compilers.  */
67071
67072 #ifdef __STDC__
67073 # include <limits.h>
67074 #else
67075 # include <assert.h>
67076 #endif
67077
67078 #undef $ac_func
67079
67080 /* Override any gcc2 internal prototype to avoid an error.  */
67081 #ifdef __cplusplus
67082 extern "C"
67083 {
67084 #endif
67085 /* We use char because int might match the return type of a gcc2
67086    builtin and then its argument prototype would still apply.  */
67087 char $ac_func ();
67088 /* The GNU C library defines this for functions which it implements
67089     to always fail with ENOSYS.  Some functions are actually named
67090     something starting with __ and the normal name is an alias.  */
67091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67092 choke me
67093 #else
67094 char (*f) () = $ac_func;
67095 #endif
67096 #ifdef __cplusplus
67097 }
67098 #endif
67099
67100 int
67101 main ()
67102 {
67103 return f != $ac_func;
67104   ;
67105   return 0;
67106 }
67107 _ACEOF
67108 rm -f conftest.$ac_objext conftest$ac_exeext
67109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67110   (eval $ac_link) 2>conftest.er1
67111   ac_status=$?
67112   grep -v '^ *+' conftest.er1 >conftest.err
67113   rm -f conftest.er1
67114   cat conftest.err >&5
67115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67116   (exit $ac_status); } &&
67117          { ac_try='test -z "$ac_c_werror_flag"
67118                          || test ! -s conftest.err'
67119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67120   (eval $ac_try) 2>&5
67121   ac_status=$?
67122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67123   (exit $ac_status); }; } &&
67124          { ac_try='test -s conftest$ac_exeext'
67125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67126   (eval $ac_try) 2>&5
67127   ac_status=$?
67128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67129   (exit $ac_status); }; }; then
67130   eval "$as_ac_var=yes"
67131 else
67132   echo "$as_me: failed program was:" >&5
67133 sed 's/^/| /' conftest.$ac_ext >&5
67134
67135 eval "$as_ac_var=no"
67136 fi
67137 rm -f conftest.err conftest.$ac_objext \
67138       conftest$ac_exeext conftest.$ac_ext
67139 fi
67140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67142 if test `eval echo '${'$as_ac_var'}'` = yes; then
67143   cat >>confdefs.h <<_ACEOF
67144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67145 _ACEOF
67146
67147 fi
67148 done
67149
67150   else
67151
67152   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
67153 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
67154   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
67155     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
67156   echo $ECHO_N "(cached) $ECHO_C" >&6
67157 else
67158
67159
67160
67161       ac_ext=cc
67162 ac_cpp='$CXXCPP $CPPFLAGS'
67163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67166
67167       cat >conftest.$ac_ext <<_ACEOF
67168 /* confdefs.h.  */
67169 _ACEOF
67170 cat confdefs.h >>conftest.$ac_ext
67171 cat >>conftest.$ac_ext <<_ACEOF
67172 /* end confdefs.h.  */
67173 #include <math.h>
67174 int
67175 main ()
67176 {
67177  _hypotl(0, 0);
67178   ;
67179   return 0;
67180 }
67181 _ACEOF
67182 rm -f conftest.$ac_objext
67183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67184   (eval $ac_compile) 2>conftest.er1
67185   ac_status=$?
67186   grep -v '^ *+' conftest.er1 >conftest.err
67187   rm -f conftest.er1
67188   cat conftest.err >&5
67189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67190   (exit $ac_status); } &&
67191          { ac_try='test -z "$ac_cxx_werror_flag"
67192                          || test ! -s conftest.err'
67193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67194   (eval $ac_try) 2>&5
67195   ac_status=$?
67196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67197   (exit $ac_status); }; } &&
67198          { ac_try='test -s conftest.$ac_objext'
67199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67200   (eval $ac_try) 2>&5
67201   ac_status=$?
67202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67203   (exit $ac_status); }; }; then
67204   glibcxx_cv_func__hypotl_use=yes
67205 else
67206   echo "$as_me: failed program was:" >&5
67207 sed 's/^/| /' conftest.$ac_ext >&5
67208
67209 glibcxx_cv_func__hypotl_use=no
67210 fi
67211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67212       ac_ext=c
67213 ac_cpp='$CPP $CPPFLAGS'
67214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67217
67218
67219 fi
67220
67221   fi
67222   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
67223 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
67224
67225     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
67226
67227 for ac_func in _hypotl
67228 do
67229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67230 echo "$as_me:$LINENO: checking for $ac_func" >&5
67231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67232 if eval "test \"\${$as_ac_var+set}\" = set"; then
67233   echo $ECHO_N "(cached) $ECHO_C" >&6
67234 else
67235   if test x$gcc_no_link = xyes; then
67236   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67238    { (exit 1); exit 1; }; }
67239 fi
67240 cat >conftest.$ac_ext <<_ACEOF
67241 /* confdefs.h.  */
67242 _ACEOF
67243 cat confdefs.h >>conftest.$ac_ext
67244 cat >>conftest.$ac_ext <<_ACEOF
67245 /* end confdefs.h.  */
67246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67247    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67248 #define $ac_func innocuous_$ac_func
67249
67250 /* System header to define __stub macros and hopefully few prototypes,
67251     which can conflict with char $ac_func (); below.
67252     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67253     <limits.h> exists even on freestanding compilers.  */
67254
67255 #ifdef __STDC__
67256 # include <limits.h>
67257 #else
67258 # include <assert.h>
67259 #endif
67260
67261 #undef $ac_func
67262
67263 /* Override any gcc2 internal prototype to avoid an error.  */
67264 #ifdef __cplusplus
67265 extern "C"
67266 {
67267 #endif
67268 /* We use char because int might match the return type of a gcc2
67269    builtin and then its argument prototype would still apply.  */
67270 char $ac_func ();
67271 /* The GNU C library defines this for functions which it implements
67272     to always fail with ENOSYS.  Some functions are actually named
67273     something starting with __ and the normal name is an alias.  */
67274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67275 choke me
67276 #else
67277 char (*f) () = $ac_func;
67278 #endif
67279 #ifdef __cplusplus
67280 }
67281 #endif
67282
67283 int
67284 main ()
67285 {
67286 return f != $ac_func;
67287   ;
67288   return 0;
67289 }
67290 _ACEOF
67291 rm -f conftest.$ac_objext conftest$ac_exeext
67292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67293   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
67314 else
67315   echo "$as_me: failed program was:" >&5
67316 sed 's/^/| /' conftest.$ac_ext >&5
67317
67318 eval "$as_ac_var=no"
67319 fi
67320 rm -f conftest.err conftest.$ac_objext \
67321       conftest$ac_exeext conftest.$ac_ext
67322 fi
67323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67325 if test `eval echo '${'$as_ac_var'}'` = yes; then
67326   cat >>confdefs.h <<_ACEOF
67327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67328 _ACEOF
67329
67330 fi
67331 done
67332
67333     fi
67334   fi
67335
67336
67337
67338
67339
67340
67341   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
67342 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
67343   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
67344     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
67345   echo $ECHO_N "(cached) $ECHO_C" >&6
67346 else
67347
67348
67349
67350       ac_ext=cc
67351 ac_cpp='$CXXCPP $CPPFLAGS'
67352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67355
67356       cat >conftest.$ac_ext <<_ACEOF
67357 /* confdefs.h.  */
67358 _ACEOF
67359 cat confdefs.h >>conftest.$ac_ext
67360 cat >>conftest.$ac_ext <<_ACEOF
67361 /* end confdefs.h.  */
67362 #include <math.h>
67363 int
67364 main ()
67365 {
67366  ldexpl(0, 0);
67367   ;
67368   return 0;
67369 }
67370 _ACEOF
67371 rm -f conftest.$ac_objext
67372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67373   (eval $ac_compile) 2>conftest.er1
67374   ac_status=$?
67375   grep -v '^ *+' conftest.er1 >conftest.err
67376   rm -f conftest.er1
67377   cat conftest.err >&5
67378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67379   (exit $ac_status); } &&
67380          { ac_try='test -z "$ac_cxx_werror_flag"
67381                          || test ! -s conftest.err'
67382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67383   (eval $ac_try) 2>&5
67384   ac_status=$?
67385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67386   (exit $ac_status); }; } &&
67387          { ac_try='test -s conftest.$ac_objext'
67388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67389   (eval $ac_try) 2>&5
67390   ac_status=$?
67391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67392   (exit $ac_status); }; }; then
67393   glibcxx_cv_func_ldexpl_use=yes
67394 else
67395   echo "$as_me: failed program was:" >&5
67396 sed 's/^/| /' conftest.$ac_ext >&5
67397
67398 glibcxx_cv_func_ldexpl_use=no
67399 fi
67400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67401       ac_ext=c
67402 ac_cpp='$CPP $CPPFLAGS'
67403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67406
67407
67408 fi
67409
67410   fi
67411   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
67412 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
67413
67414   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
67415
67416 for ac_func in ldexpl
67417 do
67418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67419 echo "$as_me:$LINENO: checking for $ac_func" >&5
67420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67421 if eval "test \"\${$as_ac_var+set}\" = set"; then
67422   echo $ECHO_N "(cached) $ECHO_C" >&6
67423 else
67424   if test x$gcc_no_link = xyes; then
67425   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67427    { (exit 1); exit 1; }; }
67428 fi
67429 cat >conftest.$ac_ext <<_ACEOF
67430 /* confdefs.h.  */
67431 _ACEOF
67432 cat confdefs.h >>conftest.$ac_ext
67433 cat >>conftest.$ac_ext <<_ACEOF
67434 /* end confdefs.h.  */
67435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67436    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67437 #define $ac_func innocuous_$ac_func
67438
67439 /* System header to define __stub macros and hopefully few prototypes,
67440     which can conflict with char $ac_func (); below.
67441     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67442     <limits.h> exists even on freestanding compilers.  */
67443
67444 #ifdef __STDC__
67445 # include <limits.h>
67446 #else
67447 # include <assert.h>
67448 #endif
67449
67450 #undef $ac_func
67451
67452 /* Override any gcc2 internal prototype to avoid an error.  */
67453 #ifdef __cplusplus
67454 extern "C"
67455 {
67456 #endif
67457 /* We use char because int might match the return type of a gcc2
67458    builtin and then its argument prototype would still apply.  */
67459 char $ac_func ();
67460 /* The GNU C library defines this for functions which it implements
67461     to always fail with ENOSYS.  Some functions are actually named
67462     something starting with __ and the normal name is an alias.  */
67463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67464 choke me
67465 #else
67466 char (*f) () = $ac_func;
67467 #endif
67468 #ifdef __cplusplus
67469 }
67470 #endif
67471
67472 int
67473 main ()
67474 {
67475 return f != $ac_func;
67476   ;
67477   return 0;
67478 }
67479 _ACEOF
67480 rm -f conftest.$ac_objext conftest$ac_exeext
67481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67482   (eval $ac_link) 2>conftest.er1
67483   ac_status=$?
67484   grep -v '^ *+' conftest.er1 >conftest.err
67485   rm -f conftest.er1
67486   cat conftest.err >&5
67487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67488   (exit $ac_status); } &&
67489          { ac_try='test -z "$ac_c_werror_flag"
67490                          || test ! -s conftest.err'
67491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67492   (eval $ac_try) 2>&5
67493   ac_status=$?
67494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67495   (exit $ac_status); }; } &&
67496          { ac_try='test -s conftest$ac_exeext'
67497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67498   (eval $ac_try) 2>&5
67499   ac_status=$?
67500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67501   (exit $ac_status); }; }; then
67502   eval "$as_ac_var=yes"
67503 else
67504   echo "$as_me: failed program was:" >&5
67505 sed 's/^/| /' conftest.$ac_ext >&5
67506
67507 eval "$as_ac_var=no"
67508 fi
67509 rm -f conftest.err conftest.$ac_objext \
67510       conftest$ac_exeext conftest.$ac_ext
67511 fi
67512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67514 if test `eval echo '${'$as_ac_var'}'` = yes; then
67515   cat >>confdefs.h <<_ACEOF
67516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67517 _ACEOF
67518
67519 fi
67520 done
67521
67522   else
67523
67524   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
67525 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
67526   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
67527     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
67528   echo $ECHO_N "(cached) $ECHO_C" >&6
67529 else
67530
67531
67532
67533       ac_ext=cc
67534 ac_cpp='$CXXCPP $CPPFLAGS'
67535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67538
67539       cat >conftest.$ac_ext <<_ACEOF
67540 /* confdefs.h.  */
67541 _ACEOF
67542 cat confdefs.h >>conftest.$ac_ext
67543 cat >>conftest.$ac_ext <<_ACEOF
67544 /* end confdefs.h.  */
67545 #include <math.h>
67546 int
67547 main ()
67548 {
67549  _ldexpl(0, 0);
67550   ;
67551   return 0;
67552 }
67553 _ACEOF
67554 rm -f conftest.$ac_objext
67555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67556   (eval $ac_compile) 2>conftest.er1
67557   ac_status=$?
67558   grep -v '^ *+' conftest.er1 >conftest.err
67559   rm -f conftest.er1
67560   cat conftest.err >&5
67561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67562   (exit $ac_status); } &&
67563          { ac_try='test -z "$ac_cxx_werror_flag"
67564                          || test ! -s conftest.err'
67565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67566   (eval $ac_try) 2>&5
67567   ac_status=$?
67568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67569   (exit $ac_status); }; } &&
67570          { ac_try='test -s conftest.$ac_objext'
67571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67572   (eval $ac_try) 2>&5
67573   ac_status=$?
67574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67575   (exit $ac_status); }; }; then
67576   glibcxx_cv_func__ldexpl_use=yes
67577 else
67578   echo "$as_me: failed program was:" >&5
67579 sed 's/^/| /' conftest.$ac_ext >&5
67580
67581 glibcxx_cv_func__ldexpl_use=no
67582 fi
67583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67584       ac_ext=c
67585 ac_cpp='$CPP $CPPFLAGS'
67586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67589
67590
67591 fi
67592
67593   fi
67594   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
67595 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
67596
67597     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
67598
67599 for ac_func in _ldexpl
67600 do
67601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67602 echo "$as_me:$LINENO: checking for $ac_func" >&5
67603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67604 if eval "test \"\${$as_ac_var+set}\" = set"; then
67605   echo $ECHO_N "(cached) $ECHO_C" >&6
67606 else
67607   if test x$gcc_no_link = xyes; then
67608   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67610    { (exit 1); exit 1; }; }
67611 fi
67612 cat >conftest.$ac_ext <<_ACEOF
67613 /* confdefs.h.  */
67614 _ACEOF
67615 cat confdefs.h >>conftest.$ac_ext
67616 cat >>conftest.$ac_ext <<_ACEOF
67617 /* end confdefs.h.  */
67618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67619    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67620 #define $ac_func innocuous_$ac_func
67621
67622 /* System header to define __stub macros and hopefully few prototypes,
67623     which can conflict with char $ac_func (); below.
67624     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67625     <limits.h> exists even on freestanding compilers.  */
67626
67627 #ifdef __STDC__
67628 # include <limits.h>
67629 #else
67630 # include <assert.h>
67631 #endif
67632
67633 #undef $ac_func
67634
67635 /* Override any gcc2 internal prototype to avoid an error.  */
67636 #ifdef __cplusplus
67637 extern "C"
67638 {
67639 #endif
67640 /* We use char because int might match the return type of a gcc2
67641    builtin and then its argument prototype would still apply.  */
67642 char $ac_func ();
67643 /* The GNU C library defines this for functions which it implements
67644     to always fail with ENOSYS.  Some functions are actually named
67645     something starting with __ and the normal name is an alias.  */
67646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67647 choke me
67648 #else
67649 char (*f) () = $ac_func;
67650 #endif
67651 #ifdef __cplusplus
67652 }
67653 #endif
67654
67655 int
67656 main ()
67657 {
67658 return f != $ac_func;
67659   ;
67660   return 0;
67661 }
67662 _ACEOF
67663 rm -f conftest.$ac_objext conftest$ac_exeext
67664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67665   (eval $ac_link) 2>conftest.er1
67666   ac_status=$?
67667   grep -v '^ *+' conftest.er1 >conftest.err
67668   rm -f conftest.er1
67669   cat conftest.err >&5
67670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67671   (exit $ac_status); } &&
67672          { ac_try='test -z "$ac_c_werror_flag"
67673                          || test ! -s conftest.err'
67674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67675   (eval $ac_try) 2>&5
67676   ac_status=$?
67677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67678   (exit $ac_status); }; } &&
67679          { ac_try='test -s conftest$ac_exeext'
67680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67681   (eval $ac_try) 2>&5
67682   ac_status=$?
67683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67684   (exit $ac_status); }; }; then
67685   eval "$as_ac_var=yes"
67686 else
67687   echo "$as_me: failed program was:" >&5
67688 sed 's/^/| /' conftest.$ac_ext >&5
67689
67690 eval "$as_ac_var=no"
67691 fi
67692 rm -f conftest.err conftest.$ac_objext \
67693       conftest$ac_exeext conftest.$ac_ext
67694 fi
67695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67697 if test `eval echo '${'$as_ac_var'}'` = yes; then
67698   cat >>confdefs.h <<_ACEOF
67699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67700 _ACEOF
67701
67702 fi
67703 done
67704
67705     fi
67706   fi
67707
67708
67709
67710
67711
67712
67713   echo "$as_me:$LINENO: checking for logl declaration" >&5
67714 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
67715   if test x${glibcxx_cv_func_logl_use+set} != xset; then
67716     if test "${glibcxx_cv_func_logl_use+set}" = set; then
67717   echo $ECHO_N "(cached) $ECHO_C" >&6
67718 else
67719
67720
67721
67722       ac_ext=cc
67723 ac_cpp='$CXXCPP $CPPFLAGS'
67724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67727
67728       cat >conftest.$ac_ext <<_ACEOF
67729 /* confdefs.h.  */
67730 _ACEOF
67731 cat confdefs.h >>conftest.$ac_ext
67732 cat >>conftest.$ac_ext <<_ACEOF
67733 /* end confdefs.h.  */
67734 #include <math.h>
67735                       #ifdef HAVE_IEEEFP_H
67736                       #include <ieeefp.h>
67737                       #endif
67738
67739 int
67740 main ()
67741 {
67742  logl(0);
67743   ;
67744   return 0;
67745 }
67746 _ACEOF
67747 rm -f conftest.$ac_objext
67748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67749   (eval $ac_compile) 2>conftest.er1
67750   ac_status=$?
67751   grep -v '^ *+' conftest.er1 >conftest.err
67752   rm -f conftest.er1
67753   cat conftest.err >&5
67754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67755   (exit $ac_status); } &&
67756          { ac_try='test -z "$ac_cxx_werror_flag"
67757                          || test ! -s conftest.err'
67758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67759   (eval $ac_try) 2>&5
67760   ac_status=$?
67761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67762   (exit $ac_status); }; } &&
67763          { ac_try='test -s conftest.$ac_objext'
67764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67765   (eval $ac_try) 2>&5
67766   ac_status=$?
67767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67768   (exit $ac_status); }; }; then
67769   glibcxx_cv_func_logl_use=yes
67770 else
67771   echo "$as_me: failed program was:" >&5
67772 sed 's/^/| /' conftest.$ac_ext >&5
67773
67774 glibcxx_cv_func_logl_use=no
67775 fi
67776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67777       ac_ext=c
67778 ac_cpp='$CPP $CPPFLAGS'
67779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67782
67783
67784 fi
67785
67786   fi
67787   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
67788 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
67789
67790   if test x$glibcxx_cv_func_logl_use = x"yes"; then
67791
67792 for ac_func in logl
67793 do
67794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67795 echo "$as_me:$LINENO: checking for $ac_func" >&5
67796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67797 if eval "test \"\${$as_ac_var+set}\" = set"; then
67798   echo $ECHO_N "(cached) $ECHO_C" >&6
67799 else
67800   if test x$gcc_no_link = xyes; then
67801   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67803    { (exit 1); exit 1; }; }
67804 fi
67805 cat >conftest.$ac_ext <<_ACEOF
67806 /* confdefs.h.  */
67807 _ACEOF
67808 cat confdefs.h >>conftest.$ac_ext
67809 cat >>conftest.$ac_ext <<_ACEOF
67810 /* end confdefs.h.  */
67811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67812    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67813 #define $ac_func innocuous_$ac_func
67814
67815 /* System header to define __stub macros and hopefully few prototypes,
67816     which can conflict with char $ac_func (); below.
67817     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67818     <limits.h> exists even on freestanding compilers.  */
67819
67820 #ifdef __STDC__
67821 # include <limits.h>
67822 #else
67823 # include <assert.h>
67824 #endif
67825
67826 #undef $ac_func
67827
67828 /* Override any gcc2 internal prototype to avoid an error.  */
67829 #ifdef __cplusplus
67830 extern "C"
67831 {
67832 #endif
67833 /* We use char because int might match the return type of a gcc2
67834    builtin and then its argument prototype would still apply.  */
67835 char $ac_func ();
67836 /* The GNU C library defines this for functions which it implements
67837     to always fail with ENOSYS.  Some functions are actually named
67838     something starting with __ and the normal name is an alias.  */
67839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67840 choke me
67841 #else
67842 char (*f) () = $ac_func;
67843 #endif
67844 #ifdef __cplusplus
67845 }
67846 #endif
67847
67848 int
67849 main ()
67850 {
67851 return f != $ac_func;
67852   ;
67853   return 0;
67854 }
67855 _ACEOF
67856 rm -f conftest.$ac_objext conftest$ac_exeext
67857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67858   (eval $ac_link) 2>conftest.er1
67859   ac_status=$?
67860   grep -v '^ *+' conftest.er1 >conftest.err
67861   rm -f conftest.er1
67862   cat conftest.err >&5
67863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67864   (exit $ac_status); } &&
67865          { ac_try='test -z "$ac_c_werror_flag"
67866                          || test ! -s conftest.err'
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); }; } &&
67872          { ac_try='test -s conftest$ac_exeext'
67873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67874   (eval $ac_try) 2>&5
67875   ac_status=$?
67876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67877   (exit $ac_status); }; }; then
67878   eval "$as_ac_var=yes"
67879 else
67880   echo "$as_me: failed program was:" >&5
67881 sed 's/^/| /' conftest.$ac_ext >&5
67882
67883 eval "$as_ac_var=no"
67884 fi
67885 rm -f conftest.err conftest.$ac_objext \
67886       conftest$ac_exeext conftest.$ac_ext
67887 fi
67888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67890 if test `eval echo '${'$as_ac_var'}'` = yes; then
67891   cat >>confdefs.h <<_ACEOF
67892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67893 _ACEOF
67894
67895 fi
67896 done
67897
67898   else
67899
67900   echo "$as_me:$LINENO: checking for _logl declaration" >&5
67901 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
67902   if test x${glibcxx_cv_func__logl_use+set} != xset; then
67903     if test "${glibcxx_cv_func__logl_use+set}" = set; then
67904   echo $ECHO_N "(cached) $ECHO_C" >&6
67905 else
67906
67907
67908
67909       ac_ext=cc
67910 ac_cpp='$CXXCPP $CPPFLAGS'
67911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67914
67915       cat >conftest.$ac_ext <<_ACEOF
67916 /* confdefs.h.  */
67917 _ACEOF
67918 cat confdefs.h >>conftest.$ac_ext
67919 cat >>conftest.$ac_ext <<_ACEOF
67920 /* end confdefs.h.  */
67921 #include <math.h>
67922                       #ifdef HAVE_IEEEFP_H
67923                       #include <ieeefp.h>
67924                       #endif
67925
67926 int
67927 main ()
67928 {
67929  _logl(0);
67930   ;
67931   return 0;
67932 }
67933 _ACEOF
67934 rm -f conftest.$ac_objext
67935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67936   (eval $ac_compile) 2>conftest.er1
67937   ac_status=$?
67938   grep -v '^ *+' conftest.er1 >conftest.err
67939   rm -f conftest.er1
67940   cat conftest.err >&5
67941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67942   (exit $ac_status); } &&
67943          { ac_try='test -z "$ac_cxx_werror_flag"
67944                          || test ! -s conftest.err'
67945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67946   (eval $ac_try) 2>&5
67947   ac_status=$?
67948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67949   (exit $ac_status); }; } &&
67950          { ac_try='test -s conftest.$ac_objext'
67951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67952   (eval $ac_try) 2>&5
67953   ac_status=$?
67954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67955   (exit $ac_status); }; }; then
67956   glibcxx_cv_func__logl_use=yes
67957 else
67958   echo "$as_me: failed program was:" >&5
67959 sed 's/^/| /' conftest.$ac_ext >&5
67960
67961 glibcxx_cv_func__logl_use=no
67962 fi
67963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67964       ac_ext=c
67965 ac_cpp='$CPP $CPPFLAGS'
67966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67969
67970
67971 fi
67972
67973   fi
67974   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
67975 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
67976
67977     if test x$glibcxx_cv_func__logl_use = x"yes"; then
67978
67979 for ac_func in _logl
67980 do
67981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67982 echo "$as_me:$LINENO: checking for $ac_func" >&5
67983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67984 if eval "test \"\${$as_ac_var+set}\" = set"; then
67985   echo $ECHO_N "(cached) $ECHO_C" >&6
67986 else
67987   if test x$gcc_no_link = xyes; then
67988   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67990    { (exit 1); exit 1; }; }
67991 fi
67992 cat >conftest.$ac_ext <<_ACEOF
67993 /* confdefs.h.  */
67994 _ACEOF
67995 cat confdefs.h >>conftest.$ac_ext
67996 cat >>conftest.$ac_ext <<_ACEOF
67997 /* end confdefs.h.  */
67998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67999    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68000 #define $ac_func innocuous_$ac_func
68001
68002 /* System header to define __stub macros and hopefully few prototypes,
68003     which can conflict with char $ac_func (); below.
68004     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68005     <limits.h> exists even on freestanding compilers.  */
68006
68007 #ifdef __STDC__
68008 # include <limits.h>
68009 #else
68010 # include <assert.h>
68011 #endif
68012
68013 #undef $ac_func
68014
68015 /* Override any gcc2 internal prototype to avoid an error.  */
68016 #ifdef __cplusplus
68017 extern "C"
68018 {
68019 #endif
68020 /* We use char because int might match the return type of a gcc2
68021    builtin and then its argument prototype would still apply.  */
68022 char $ac_func ();
68023 /* The GNU C library defines this for functions which it implements
68024     to always fail with ENOSYS.  Some functions are actually named
68025     something starting with __ and the normal name is an alias.  */
68026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68027 choke me
68028 #else
68029 char (*f) () = $ac_func;
68030 #endif
68031 #ifdef __cplusplus
68032 }
68033 #endif
68034
68035 int
68036 main ()
68037 {
68038 return f != $ac_func;
68039   ;
68040   return 0;
68041 }
68042 _ACEOF
68043 rm -f conftest.$ac_objext conftest$ac_exeext
68044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68045   (eval $ac_link) 2>conftest.er1
68046   ac_status=$?
68047   grep -v '^ *+' conftest.er1 >conftest.err
68048   rm -f conftest.er1
68049   cat conftest.err >&5
68050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68051   (exit $ac_status); } &&
68052          { ac_try='test -z "$ac_c_werror_flag"
68053                          || test ! -s conftest.err'
68054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68055   (eval $ac_try) 2>&5
68056   ac_status=$?
68057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68058   (exit $ac_status); }; } &&
68059          { ac_try='test -s conftest$ac_exeext'
68060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68061   (eval $ac_try) 2>&5
68062   ac_status=$?
68063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68064   (exit $ac_status); }; }; then
68065   eval "$as_ac_var=yes"
68066 else
68067   echo "$as_me: failed program was:" >&5
68068 sed 's/^/| /' conftest.$ac_ext >&5
68069
68070 eval "$as_ac_var=no"
68071 fi
68072 rm -f conftest.err conftest.$ac_objext \
68073       conftest$ac_exeext conftest.$ac_ext
68074 fi
68075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68077 if test `eval echo '${'$as_ac_var'}'` = yes; then
68078   cat >>confdefs.h <<_ACEOF
68079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68080 _ACEOF
68081
68082 fi
68083 done
68084
68085     fi
68086   fi
68087
68088
68089
68090
68091
68092
68093   echo "$as_me:$LINENO: checking for log10l declaration" >&5
68094 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
68095   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
68096     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
68097   echo $ECHO_N "(cached) $ECHO_C" >&6
68098 else
68099
68100
68101
68102       ac_ext=cc
68103 ac_cpp='$CXXCPP $CPPFLAGS'
68104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68107
68108       cat >conftest.$ac_ext <<_ACEOF
68109 /* confdefs.h.  */
68110 _ACEOF
68111 cat confdefs.h >>conftest.$ac_ext
68112 cat >>conftest.$ac_ext <<_ACEOF
68113 /* end confdefs.h.  */
68114 #include <math.h>
68115                       #ifdef HAVE_IEEEFP_H
68116                       #include <ieeefp.h>
68117                       #endif
68118
68119 int
68120 main ()
68121 {
68122  log10l(0);
68123   ;
68124   return 0;
68125 }
68126 _ACEOF
68127 rm -f conftest.$ac_objext
68128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68129   (eval $ac_compile) 2>conftest.er1
68130   ac_status=$?
68131   grep -v '^ *+' conftest.er1 >conftest.err
68132   rm -f conftest.er1
68133   cat conftest.err >&5
68134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68135   (exit $ac_status); } &&
68136          { ac_try='test -z "$ac_cxx_werror_flag"
68137                          || test ! -s conftest.err'
68138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68139   (eval $ac_try) 2>&5
68140   ac_status=$?
68141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68142   (exit $ac_status); }; } &&
68143          { ac_try='test -s conftest.$ac_objext'
68144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68145   (eval $ac_try) 2>&5
68146   ac_status=$?
68147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68148   (exit $ac_status); }; }; then
68149   glibcxx_cv_func_log10l_use=yes
68150 else
68151   echo "$as_me: failed program was:" >&5
68152 sed 's/^/| /' conftest.$ac_ext >&5
68153
68154 glibcxx_cv_func_log10l_use=no
68155 fi
68156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68157       ac_ext=c
68158 ac_cpp='$CPP $CPPFLAGS'
68159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68162
68163
68164 fi
68165
68166   fi
68167   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
68168 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
68169
68170   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
68171
68172 for ac_func in log10l
68173 do
68174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68175 echo "$as_me:$LINENO: checking for $ac_func" >&5
68176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68177 if eval "test \"\${$as_ac_var+set}\" = set"; then
68178   echo $ECHO_N "(cached) $ECHO_C" >&6
68179 else
68180   if test x$gcc_no_link = xyes; then
68181   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68183    { (exit 1); exit 1; }; }
68184 fi
68185 cat >conftest.$ac_ext <<_ACEOF
68186 /* confdefs.h.  */
68187 _ACEOF
68188 cat confdefs.h >>conftest.$ac_ext
68189 cat >>conftest.$ac_ext <<_ACEOF
68190 /* end confdefs.h.  */
68191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68192    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68193 #define $ac_func innocuous_$ac_func
68194
68195 /* System header to define __stub macros and hopefully few prototypes,
68196     which can conflict with char $ac_func (); below.
68197     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68198     <limits.h> exists even on freestanding compilers.  */
68199
68200 #ifdef __STDC__
68201 # include <limits.h>
68202 #else
68203 # include <assert.h>
68204 #endif
68205
68206 #undef $ac_func
68207
68208 /* Override any gcc2 internal prototype to avoid an error.  */
68209 #ifdef __cplusplus
68210 extern "C"
68211 {
68212 #endif
68213 /* We use char because int might match the return type of a gcc2
68214    builtin and then its argument prototype would still apply.  */
68215 char $ac_func ();
68216 /* The GNU C library defines this for functions which it implements
68217     to always fail with ENOSYS.  Some functions are actually named
68218     something starting with __ and the normal name is an alias.  */
68219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68220 choke me
68221 #else
68222 char (*f) () = $ac_func;
68223 #endif
68224 #ifdef __cplusplus
68225 }
68226 #endif
68227
68228 int
68229 main ()
68230 {
68231 return f != $ac_func;
68232   ;
68233   return 0;
68234 }
68235 _ACEOF
68236 rm -f conftest.$ac_objext conftest$ac_exeext
68237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68238   (eval $ac_link) 2>conftest.er1
68239   ac_status=$?
68240   grep -v '^ *+' conftest.er1 >conftest.err
68241   rm -f conftest.er1
68242   cat conftest.err >&5
68243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68244   (exit $ac_status); } &&
68245          { ac_try='test -z "$ac_c_werror_flag"
68246                          || test ! -s conftest.err'
68247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68248   (eval $ac_try) 2>&5
68249   ac_status=$?
68250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68251   (exit $ac_status); }; } &&
68252          { ac_try='test -s conftest$ac_exeext'
68253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68254   (eval $ac_try) 2>&5
68255   ac_status=$?
68256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68257   (exit $ac_status); }; }; then
68258   eval "$as_ac_var=yes"
68259 else
68260   echo "$as_me: failed program was:" >&5
68261 sed 's/^/| /' conftest.$ac_ext >&5
68262
68263 eval "$as_ac_var=no"
68264 fi
68265 rm -f conftest.err conftest.$ac_objext \
68266       conftest$ac_exeext conftest.$ac_ext
68267 fi
68268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68270 if test `eval echo '${'$as_ac_var'}'` = yes; then
68271   cat >>confdefs.h <<_ACEOF
68272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68273 _ACEOF
68274
68275 fi
68276 done
68277
68278   else
68279
68280   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
68281 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
68282   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
68283     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
68284   echo $ECHO_N "(cached) $ECHO_C" >&6
68285 else
68286
68287
68288
68289       ac_ext=cc
68290 ac_cpp='$CXXCPP $CPPFLAGS'
68291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68294
68295       cat >conftest.$ac_ext <<_ACEOF
68296 /* confdefs.h.  */
68297 _ACEOF
68298 cat confdefs.h >>conftest.$ac_ext
68299 cat >>conftest.$ac_ext <<_ACEOF
68300 /* end confdefs.h.  */
68301 #include <math.h>
68302                       #ifdef HAVE_IEEEFP_H
68303                       #include <ieeefp.h>
68304                       #endif
68305
68306 int
68307 main ()
68308 {
68309  _log10l(0);
68310   ;
68311   return 0;
68312 }
68313 _ACEOF
68314 rm -f conftest.$ac_objext
68315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68316   (eval $ac_compile) 2>conftest.er1
68317   ac_status=$?
68318   grep -v '^ *+' conftest.er1 >conftest.err
68319   rm -f conftest.er1
68320   cat conftest.err >&5
68321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68322   (exit $ac_status); } &&
68323          { ac_try='test -z "$ac_cxx_werror_flag"
68324                          || test ! -s conftest.err'
68325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68326   (eval $ac_try) 2>&5
68327   ac_status=$?
68328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68329   (exit $ac_status); }; } &&
68330          { ac_try='test -s conftest.$ac_objext'
68331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68332   (eval $ac_try) 2>&5
68333   ac_status=$?
68334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68335   (exit $ac_status); }; }; then
68336   glibcxx_cv_func__log10l_use=yes
68337 else
68338   echo "$as_me: failed program was:" >&5
68339 sed 's/^/| /' conftest.$ac_ext >&5
68340
68341 glibcxx_cv_func__log10l_use=no
68342 fi
68343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68344       ac_ext=c
68345 ac_cpp='$CPP $CPPFLAGS'
68346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68349
68350
68351 fi
68352
68353   fi
68354   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
68355 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
68356
68357     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
68358
68359 for ac_func in _log10l
68360 do
68361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68362 echo "$as_me:$LINENO: checking for $ac_func" >&5
68363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68364 if eval "test \"\${$as_ac_var+set}\" = set"; then
68365   echo $ECHO_N "(cached) $ECHO_C" >&6
68366 else
68367   if test x$gcc_no_link = xyes; then
68368   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68370    { (exit 1); exit 1; }; }
68371 fi
68372 cat >conftest.$ac_ext <<_ACEOF
68373 /* confdefs.h.  */
68374 _ACEOF
68375 cat confdefs.h >>conftest.$ac_ext
68376 cat >>conftest.$ac_ext <<_ACEOF
68377 /* end confdefs.h.  */
68378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68379    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68380 #define $ac_func innocuous_$ac_func
68381
68382 /* System header to define __stub macros and hopefully few prototypes,
68383     which can conflict with char $ac_func (); below.
68384     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68385     <limits.h> exists even on freestanding compilers.  */
68386
68387 #ifdef __STDC__
68388 # include <limits.h>
68389 #else
68390 # include <assert.h>
68391 #endif
68392
68393 #undef $ac_func
68394
68395 /* Override any gcc2 internal prototype to avoid an error.  */
68396 #ifdef __cplusplus
68397 extern "C"
68398 {
68399 #endif
68400 /* We use char because int might match the return type of a gcc2
68401    builtin and then its argument prototype would still apply.  */
68402 char $ac_func ();
68403 /* The GNU C library defines this for functions which it implements
68404     to always fail with ENOSYS.  Some functions are actually named
68405     something starting with __ and the normal name is an alias.  */
68406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68407 choke me
68408 #else
68409 char (*f) () = $ac_func;
68410 #endif
68411 #ifdef __cplusplus
68412 }
68413 #endif
68414
68415 int
68416 main ()
68417 {
68418 return f != $ac_func;
68419   ;
68420   return 0;
68421 }
68422 _ACEOF
68423 rm -f conftest.$ac_objext conftest$ac_exeext
68424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68425   (eval $ac_link) 2>conftest.er1
68426   ac_status=$?
68427   grep -v '^ *+' conftest.er1 >conftest.err
68428   rm -f conftest.er1
68429   cat conftest.err >&5
68430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68431   (exit $ac_status); } &&
68432          { ac_try='test -z "$ac_c_werror_flag"
68433                          || test ! -s conftest.err'
68434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68435   (eval $ac_try) 2>&5
68436   ac_status=$?
68437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68438   (exit $ac_status); }; } &&
68439          { ac_try='test -s conftest$ac_exeext'
68440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68441   (eval $ac_try) 2>&5
68442   ac_status=$?
68443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68444   (exit $ac_status); }; }; then
68445   eval "$as_ac_var=yes"
68446 else
68447   echo "$as_me: failed program was:" >&5
68448 sed 's/^/| /' conftest.$ac_ext >&5
68449
68450 eval "$as_ac_var=no"
68451 fi
68452 rm -f conftest.err conftest.$ac_objext \
68453       conftest$ac_exeext conftest.$ac_ext
68454 fi
68455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68457 if test `eval echo '${'$as_ac_var'}'` = yes; then
68458   cat >>confdefs.h <<_ACEOF
68459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68460 _ACEOF
68461
68462 fi
68463 done
68464
68465     fi
68466   fi
68467
68468
68469
68470
68471
68472
68473   echo "$as_me:$LINENO: checking for modfl declaration" >&5
68474 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
68475   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
68476     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
68477   echo $ECHO_N "(cached) $ECHO_C" >&6
68478 else
68479
68480
68481
68482       ac_ext=cc
68483 ac_cpp='$CXXCPP $CPPFLAGS'
68484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68487
68488       cat >conftest.$ac_ext <<_ACEOF
68489 /* confdefs.h.  */
68490 _ACEOF
68491 cat confdefs.h >>conftest.$ac_ext
68492 cat >>conftest.$ac_ext <<_ACEOF
68493 /* end confdefs.h.  */
68494 #include <math.h>
68495 int
68496 main ()
68497 {
68498  modfl(0, 0);
68499   ;
68500   return 0;
68501 }
68502 _ACEOF
68503 rm -f conftest.$ac_objext
68504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68505   (eval $ac_compile) 2>conftest.er1
68506   ac_status=$?
68507   grep -v '^ *+' conftest.er1 >conftest.err
68508   rm -f conftest.er1
68509   cat conftest.err >&5
68510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68511   (exit $ac_status); } &&
68512          { ac_try='test -z "$ac_cxx_werror_flag"
68513                          || test ! -s conftest.err'
68514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68515   (eval $ac_try) 2>&5
68516   ac_status=$?
68517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68518   (exit $ac_status); }; } &&
68519          { ac_try='test -s conftest.$ac_objext'
68520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68521   (eval $ac_try) 2>&5
68522   ac_status=$?
68523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68524   (exit $ac_status); }; }; then
68525   glibcxx_cv_func_modfl_use=yes
68526 else
68527   echo "$as_me: failed program was:" >&5
68528 sed 's/^/| /' conftest.$ac_ext >&5
68529
68530 glibcxx_cv_func_modfl_use=no
68531 fi
68532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68533       ac_ext=c
68534 ac_cpp='$CPP $CPPFLAGS'
68535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68538
68539
68540 fi
68541
68542   fi
68543   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
68544 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
68545
68546   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68547
68548 for ac_func in modfl
68549 do
68550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68551 echo "$as_me:$LINENO: checking for $ac_func" >&5
68552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68553 if eval "test \"\${$as_ac_var+set}\" = set"; then
68554   echo $ECHO_N "(cached) $ECHO_C" >&6
68555 else
68556   if test x$gcc_no_link = xyes; then
68557   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68559    { (exit 1); exit 1; }; }
68560 fi
68561 cat >conftest.$ac_ext <<_ACEOF
68562 /* confdefs.h.  */
68563 _ACEOF
68564 cat confdefs.h >>conftest.$ac_ext
68565 cat >>conftest.$ac_ext <<_ACEOF
68566 /* end confdefs.h.  */
68567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68568    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68569 #define $ac_func innocuous_$ac_func
68570
68571 /* System header to define __stub macros and hopefully few prototypes,
68572     which can conflict with char $ac_func (); below.
68573     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68574     <limits.h> exists even on freestanding compilers.  */
68575
68576 #ifdef __STDC__
68577 # include <limits.h>
68578 #else
68579 # include <assert.h>
68580 #endif
68581
68582 #undef $ac_func
68583
68584 /* Override any gcc2 internal prototype to avoid an error.  */
68585 #ifdef __cplusplus
68586 extern "C"
68587 {
68588 #endif
68589 /* We use char because int might match the return type of a gcc2
68590    builtin and then its argument prototype would still apply.  */
68591 char $ac_func ();
68592 /* The GNU C library defines this for functions which it implements
68593     to always fail with ENOSYS.  Some functions are actually named
68594     something starting with __ and the normal name is an alias.  */
68595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68596 choke me
68597 #else
68598 char (*f) () = $ac_func;
68599 #endif
68600 #ifdef __cplusplus
68601 }
68602 #endif
68603
68604 int
68605 main ()
68606 {
68607 return f != $ac_func;
68608   ;
68609   return 0;
68610 }
68611 _ACEOF
68612 rm -f conftest.$ac_objext conftest$ac_exeext
68613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68614   (eval $ac_link) 2>conftest.er1
68615   ac_status=$?
68616   grep -v '^ *+' conftest.er1 >conftest.err
68617   rm -f conftest.er1
68618   cat conftest.err >&5
68619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68620   (exit $ac_status); } &&
68621          { ac_try='test -z "$ac_c_werror_flag"
68622                          || test ! -s conftest.err'
68623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68624   (eval $ac_try) 2>&5
68625   ac_status=$?
68626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68627   (exit $ac_status); }; } &&
68628          { ac_try='test -s conftest$ac_exeext'
68629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68630   (eval $ac_try) 2>&5
68631   ac_status=$?
68632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68633   (exit $ac_status); }; }; then
68634   eval "$as_ac_var=yes"
68635 else
68636   echo "$as_me: failed program was:" >&5
68637 sed 's/^/| /' conftest.$ac_ext >&5
68638
68639 eval "$as_ac_var=no"
68640 fi
68641 rm -f conftest.err conftest.$ac_objext \
68642       conftest$ac_exeext conftest.$ac_ext
68643 fi
68644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68646 if test `eval echo '${'$as_ac_var'}'` = yes; then
68647   cat >>confdefs.h <<_ACEOF
68648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68649 _ACEOF
68650
68651 fi
68652 done
68653
68654   else
68655
68656   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
68657 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
68658   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68659     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
68660   echo $ECHO_N "(cached) $ECHO_C" >&6
68661 else
68662
68663
68664
68665       ac_ext=cc
68666 ac_cpp='$CXXCPP $CPPFLAGS'
68667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68670
68671       cat >conftest.$ac_ext <<_ACEOF
68672 /* confdefs.h.  */
68673 _ACEOF
68674 cat confdefs.h >>conftest.$ac_ext
68675 cat >>conftest.$ac_ext <<_ACEOF
68676 /* end confdefs.h.  */
68677 #include <math.h>
68678 int
68679 main ()
68680 {
68681  _modfl(0, 0);
68682   ;
68683   return 0;
68684 }
68685 _ACEOF
68686 rm -f conftest.$ac_objext
68687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68688   (eval $ac_compile) 2>conftest.er1
68689   ac_status=$?
68690   grep -v '^ *+' conftest.er1 >conftest.err
68691   rm -f conftest.er1
68692   cat conftest.err >&5
68693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68694   (exit $ac_status); } &&
68695          { ac_try='test -z "$ac_cxx_werror_flag"
68696                          || test ! -s conftest.err'
68697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68698   (eval $ac_try) 2>&5
68699   ac_status=$?
68700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68701   (exit $ac_status); }; } &&
68702          { ac_try='test -s conftest.$ac_objext'
68703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68704   (eval $ac_try) 2>&5
68705   ac_status=$?
68706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68707   (exit $ac_status); }; }; then
68708   glibcxx_cv_func__modfl_use=yes
68709 else
68710   echo "$as_me: failed program was:" >&5
68711 sed 's/^/| /' conftest.$ac_ext >&5
68712
68713 glibcxx_cv_func__modfl_use=no
68714 fi
68715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68716       ac_ext=c
68717 ac_cpp='$CPP $CPPFLAGS'
68718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68721
68722
68723 fi
68724
68725   fi
68726   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
68727 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
68728
68729     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68730
68731 for ac_func in _modfl
68732 do
68733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68734 echo "$as_me:$LINENO: checking for $ac_func" >&5
68735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68736 if eval "test \"\${$as_ac_var+set}\" = set"; then
68737   echo $ECHO_N "(cached) $ECHO_C" >&6
68738 else
68739   if test x$gcc_no_link = xyes; then
68740   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68742    { (exit 1); exit 1; }; }
68743 fi
68744 cat >conftest.$ac_ext <<_ACEOF
68745 /* confdefs.h.  */
68746 _ACEOF
68747 cat confdefs.h >>conftest.$ac_ext
68748 cat >>conftest.$ac_ext <<_ACEOF
68749 /* end confdefs.h.  */
68750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68751    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68752 #define $ac_func innocuous_$ac_func
68753
68754 /* System header to define __stub macros and hopefully few prototypes,
68755     which can conflict with char $ac_func (); below.
68756     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68757     <limits.h> exists even on freestanding compilers.  */
68758
68759 #ifdef __STDC__
68760 # include <limits.h>
68761 #else
68762 # include <assert.h>
68763 #endif
68764
68765 #undef $ac_func
68766
68767 /* Override any gcc2 internal prototype to avoid an error.  */
68768 #ifdef __cplusplus
68769 extern "C"
68770 {
68771 #endif
68772 /* We use char because int might match the return type of a gcc2
68773    builtin and then its argument prototype would still apply.  */
68774 char $ac_func ();
68775 /* The GNU C library defines this for functions which it implements
68776     to always fail with ENOSYS.  Some functions are actually named
68777     something starting with __ and the normal name is an alias.  */
68778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68779 choke me
68780 #else
68781 char (*f) () = $ac_func;
68782 #endif
68783 #ifdef __cplusplus
68784 }
68785 #endif
68786
68787 int
68788 main ()
68789 {
68790 return f != $ac_func;
68791   ;
68792   return 0;
68793 }
68794 _ACEOF
68795 rm -f conftest.$ac_objext conftest$ac_exeext
68796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68797   (eval $ac_link) 2>conftest.er1
68798   ac_status=$?
68799   grep -v '^ *+' conftest.er1 >conftest.err
68800   rm -f conftest.er1
68801   cat conftest.err >&5
68802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68803   (exit $ac_status); } &&
68804          { ac_try='test -z "$ac_c_werror_flag"
68805                          || test ! -s conftest.err'
68806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68807   (eval $ac_try) 2>&5
68808   ac_status=$?
68809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68810   (exit $ac_status); }; } &&
68811          { ac_try='test -s conftest$ac_exeext'
68812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68813   (eval $ac_try) 2>&5
68814   ac_status=$?
68815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68816   (exit $ac_status); }; }; then
68817   eval "$as_ac_var=yes"
68818 else
68819   echo "$as_me: failed program was:" >&5
68820 sed 's/^/| /' conftest.$ac_ext >&5
68821
68822 eval "$as_ac_var=no"
68823 fi
68824 rm -f conftest.err conftest.$ac_objext \
68825       conftest$ac_exeext conftest.$ac_ext
68826 fi
68827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68829 if test `eval echo '${'$as_ac_var'}'` = yes; then
68830   cat >>confdefs.h <<_ACEOF
68831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68832 _ACEOF
68833
68834 fi
68835 done
68836
68837     fi
68838   fi
68839
68840
68841
68842
68843
68844
68845   echo "$as_me:$LINENO: checking for powl declaration" >&5
68846 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
68847   if test x${glibcxx_cv_func_powl_use+set} != xset; then
68848     if test "${glibcxx_cv_func_powl_use+set}" = set; then
68849   echo $ECHO_N "(cached) $ECHO_C" >&6
68850 else
68851
68852
68853
68854       ac_ext=cc
68855 ac_cpp='$CXXCPP $CPPFLAGS'
68856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68859
68860       cat >conftest.$ac_ext <<_ACEOF
68861 /* confdefs.h.  */
68862 _ACEOF
68863 cat confdefs.h >>conftest.$ac_ext
68864 cat >>conftest.$ac_ext <<_ACEOF
68865 /* end confdefs.h.  */
68866 #include <math.h>
68867 int
68868 main ()
68869 {
68870  powl(0, 0);
68871   ;
68872   return 0;
68873 }
68874 _ACEOF
68875 rm -f conftest.$ac_objext
68876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68877   (eval $ac_compile) 2>conftest.er1
68878   ac_status=$?
68879   grep -v '^ *+' conftest.er1 >conftest.err
68880   rm -f conftest.er1
68881   cat conftest.err >&5
68882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68883   (exit $ac_status); } &&
68884          { ac_try='test -z "$ac_cxx_werror_flag"
68885                          || test ! -s conftest.err'
68886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68887   (eval $ac_try) 2>&5
68888   ac_status=$?
68889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68890   (exit $ac_status); }; } &&
68891          { ac_try='test -s conftest.$ac_objext'
68892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68893   (eval $ac_try) 2>&5
68894   ac_status=$?
68895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68896   (exit $ac_status); }; }; then
68897   glibcxx_cv_func_powl_use=yes
68898 else
68899   echo "$as_me: failed program was:" >&5
68900 sed 's/^/| /' conftest.$ac_ext >&5
68901
68902 glibcxx_cv_func_powl_use=no
68903 fi
68904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68905       ac_ext=c
68906 ac_cpp='$CPP $CPPFLAGS'
68907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68910
68911
68912 fi
68913
68914   fi
68915   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
68916 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
68917
68918   if test x$glibcxx_cv_func_powl_use = x"yes"; then
68919
68920 for ac_func in powl
68921 do
68922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68923 echo "$as_me:$LINENO: checking for $ac_func" >&5
68924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68925 if eval "test \"\${$as_ac_var+set}\" = set"; then
68926   echo $ECHO_N "(cached) $ECHO_C" >&6
68927 else
68928   if test x$gcc_no_link = xyes; then
68929   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68931    { (exit 1); exit 1; }; }
68932 fi
68933 cat >conftest.$ac_ext <<_ACEOF
68934 /* confdefs.h.  */
68935 _ACEOF
68936 cat confdefs.h >>conftest.$ac_ext
68937 cat >>conftest.$ac_ext <<_ACEOF
68938 /* end confdefs.h.  */
68939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68940    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68941 #define $ac_func innocuous_$ac_func
68942
68943 /* System header to define __stub macros and hopefully few prototypes,
68944     which can conflict with char $ac_func (); below.
68945     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68946     <limits.h> exists even on freestanding compilers.  */
68947
68948 #ifdef __STDC__
68949 # include <limits.h>
68950 #else
68951 # include <assert.h>
68952 #endif
68953
68954 #undef $ac_func
68955
68956 /* Override any gcc2 internal prototype to avoid an error.  */
68957 #ifdef __cplusplus
68958 extern "C"
68959 {
68960 #endif
68961 /* We use char because int might match the return type of a gcc2
68962    builtin and then its argument prototype would still apply.  */
68963 char $ac_func ();
68964 /* The GNU C library defines this for functions which it implements
68965     to always fail with ENOSYS.  Some functions are actually named
68966     something starting with __ and the normal name is an alias.  */
68967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68968 choke me
68969 #else
68970 char (*f) () = $ac_func;
68971 #endif
68972 #ifdef __cplusplus
68973 }
68974 #endif
68975
68976 int
68977 main ()
68978 {
68979 return f != $ac_func;
68980   ;
68981   return 0;
68982 }
68983 _ACEOF
68984 rm -f conftest.$ac_objext conftest$ac_exeext
68985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68986   (eval $ac_link) 2>conftest.er1
68987   ac_status=$?
68988   grep -v '^ *+' conftest.er1 >conftest.err
68989   rm -f conftest.er1
68990   cat conftest.err >&5
68991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68992   (exit $ac_status); } &&
68993          { ac_try='test -z "$ac_c_werror_flag"
68994                          || test ! -s conftest.err'
68995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68996   (eval $ac_try) 2>&5
68997   ac_status=$?
68998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68999   (exit $ac_status); }; } &&
69000          { ac_try='test -s conftest$ac_exeext'
69001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69002   (eval $ac_try) 2>&5
69003   ac_status=$?
69004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69005   (exit $ac_status); }; }; then
69006   eval "$as_ac_var=yes"
69007 else
69008   echo "$as_me: failed program was:" >&5
69009 sed 's/^/| /' conftest.$ac_ext >&5
69010
69011 eval "$as_ac_var=no"
69012 fi
69013 rm -f conftest.err conftest.$ac_objext \
69014       conftest$ac_exeext conftest.$ac_ext
69015 fi
69016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69018 if test `eval echo '${'$as_ac_var'}'` = yes; then
69019   cat >>confdefs.h <<_ACEOF
69020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69021 _ACEOF
69022
69023 fi
69024 done
69025
69026   else
69027
69028   echo "$as_me:$LINENO: checking for _powl declaration" >&5
69029 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
69030   if test x${glibcxx_cv_func__powl_use+set} != xset; then
69031     if test "${glibcxx_cv_func__powl_use+set}" = set; then
69032   echo $ECHO_N "(cached) $ECHO_C" >&6
69033 else
69034
69035
69036
69037       ac_ext=cc
69038 ac_cpp='$CXXCPP $CPPFLAGS'
69039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69042
69043       cat >conftest.$ac_ext <<_ACEOF
69044 /* confdefs.h.  */
69045 _ACEOF
69046 cat confdefs.h >>conftest.$ac_ext
69047 cat >>conftest.$ac_ext <<_ACEOF
69048 /* end confdefs.h.  */
69049 #include <math.h>
69050 int
69051 main ()
69052 {
69053  _powl(0, 0);
69054   ;
69055   return 0;
69056 }
69057 _ACEOF
69058 rm -f conftest.$ac_objext
69059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69060   (eval $ac_compile) 2>conftest.er1
69061   ac_status=$?
69062   grep -v '^ *+' conftest.er1 >conftest.err
69063   rm -f conftest.er1
69064   cat conftest.err >&5
69065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69066   (exit $ac_status); } &&
69067          { ac_try='test -z "$ac_cxx_werror_flag"
69068                          || test ! -s conftest.err'
69069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69070   (eval $ac_try) 2>&5
69071   ac_status=$?
69072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69073   (exit $ac_status); }; } &&
69074          { ac_try='test -s conftest.$ac_objext'
69075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69076   (eval $ac_try) 2>&5
69077   ac_status=$?
69078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69079   (exit $ac_status); }; }; then
69080   glibcxx_cv_func__powl_use=yes
69081 else
69082   echo "$as_me: failed program was:" >&5
69083 sed 's/^/| /' conftest.$ac_ext >&5
69084
69085 glibcxx_cv_func__powl_use=no
69086 fi
69087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69088       ac_ext=c
69089 ac_cpp='$CPP $CPPFLAGS'
69090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69093
69094
69095 fi
69096
69097   fi
69098   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
69099 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
69100
69101     if test x$glibcxx_cv_func__powl_use = x"yes"; then
69102
69103 for ac_func in _powl
69104 do
69105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69106 echo "$as_me:$LINENO: checking for $ac_func" >&5
69107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69108 if eval "test \"\${$as_ac_var+set}\" = set"; then
69109   echo $ECHO_N "(cached) $ECHO_C" >&6
69110 else
69111   if test x$gcc_no_link = xyes; then
69112   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69114    { (exit 1); exit 1; }; }
69115 fi
69116 cat >conftest.$ac_ext <<_ACEOF
69117 /* confdefs.h.  */
69118 _ACEOF
69119 cat confdefs.h >>conftest.$ac_ext
69120 cat >>conftest.$ac_ext <<_ACEOF
69121 /* end confdefs.h.  */
69122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69123    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69124 #define $ac_func innocuous_$ac_func
69125
69126 /* System header to define __stub macros and hopefully few prototypes,
69127     which can conflict with char $ac_func (); below.
69128     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69129     <limits.h> exists even on freestanding compilers.  */
69130
69131 #ifdef __STDC__
69132 # include <limits.h>
69133 #else
69134 # include <assert.h>
69135 #endif
69136
69137 #undef $ac_func
69138
69139 /* Override any gcc2 internal prototype to avoid an error.  */
69140 #ifdef __cplusplus
69141 extern "C"
69142 {
69143 #endif
69144 /* We use char because int might match the return type of a gcc2
69145    builtin and then its argument prototype would still apply.  */
69146 char $ac_func ();
69147 /* The GNU C library defines this for functions which it implements
69148     to always fail with ENOSYS.  Some functions are actually named
69149     something starting with __ and the normal name is an alias.  */
69150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69151 choke me
69152 #else
69153 char (*f) () = $ac_func;
69154 #endif
69155 #ifdef __cplusplus
69156 }
69157 #endif
69158
69159 int
69160 main ()
69161 {
69162 return f != $ac_func;
69163   ;
69164   return 0;
69165 }
69166 _ACEOF
69167 rm -f conftest.$ac_objext conftest$ac_exeext
69168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69169   (eval $ac_link) 2>conftest.er1
69170   ac_status=$?
69171   grep -v '^ *+' conftest.er1 >conftest.err
69172   rm -f conftest.er1
69173   cat conftest.err >&5
69174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69175   (exit $ac_status); } &&
69176          { ac_try='test -z "$ac_c_werror_flag"
69177                          || test ! -s conftest.err'
69178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69179   (eval $ac_try) 2>&5
69180   ac_status=$?
69181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69182   (exit $ac_status); }; } &&
69183          { ac_try='test -s conftest$ac_exeext'
69184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69185   (eval $ac_try) 2>&5
69186   ac_status=$?
69187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69188   (exit $ac_status); }; }; then
69189   eval "$as_ac_var=yes"
69190 else
69191   echo "$as_me: failed program was:" >&5
69192 sed 's/^/| /' conftest.$ac_ext >&5
69193
69194 eval "$as_ac_var=no"
69195 fi
69196 rm -f conftest.err conftest.$ac_objext \
69197       conftest$ac_exeext conftest.$ac_ext
69198 fi
69199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69201 if test `eval echo '${'$as_ac_var'}'` = yes; then
69202   cat >>confdefs.h <<_ACEOF
69203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69204 _ACEOF
69205
69206 fi
69207 done
69208
69209     fi
69210   fi
69211
69212
69213
69214
69215
69216
69217   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
69218 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
69219   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
69220     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
69221   echo $ECHO_N "(cached) $ECHO_C" >&6
69222 else
69223
69224
69225
69226       ac_ext=cc
69227 ac_cpp='$CXXCPP $CPPFLAGS'
69228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69231
69232       cat >conftest.$ac_ext <<_ACEOF
69233 /* confdefs.h.  */
69234 _ACEOF
69235 cat confdefs.h >>conftest.$ac_ext
69236 cat >>conftest.$ac_ext <<_ACEOF
69237 /* end confdefs.h.  */
69238 #include <math.h>
69239                       #ifdef HAVE_IEEEFP_H
69240                       #include <ieeefp.h>
69241                       #endif
69242
69243 int
69244 main ()
69245 {
69246  sqrtl(0);
69247   ;
69248   return 0;
69249 }
69250 _ACEOF
69251 rm -f conftest.$ac_objext
69252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69253   (eval $ac_compile) 2>conftest.er1
69254   ac_status=$?
69255   grep -v '^ *+' conftest.er1 >conftest.err
69256   rm -f conftest.er1
69257   cat conftest.err >&5
69258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69259   (exit $ac_status); } &&
69260          { ac_try='test -z "$ac_cxx_werror_flag"
69261                          || test ! -s conftest.err'
69262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69263   (eval $ac_try) 2>&5
69264   ac_status=$?
69265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69266   (exit $ac_status); }; } &&
69267          { ac_try='test -s conftest.$ac_objext'
69268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69269   (eval $ac_try) 2>&5
69270   ac_status=$?
69271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69272   (exit $ac_status); }; }; then
69273   glibcxx_cv_func_sqrtl_use=yes
69274 else
69275   echo "$as_me: failed program was:" >&5
69276 sed 's/^/| /' conftest.$ac_ext >&5
69277
69278 glibcxx_cv_func_sqrtl_use=no
69279 fi
69280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69281       ac_ext=c
69282 ac_cpp='$CPP $CPPFLAGS'
69283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69286
69287
69288 fi
69289
69290   fi
69291   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
69292 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
69293
69294   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
69295
69296 for ac_func in sqrtl
69297 do
69298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69299 echo "$as_me:$LINENO: checking for $ac_func" >&5
69300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69301 if eval "test \"\${$as_ac_var+set}\" = set"; then
69302   echo $ECHO_N "(cached) $ECHO_C" >&6
69303 else
69304   if test x$gcc_no_link = xyes; then
69305   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69307    { (exit 1); exit 1; }; }
69308 fi
69309 cat >conftest.$ac_ext <<_ACEOF
69310 /* confdefs.h.  */
69311 _ACEOF
69312 cat confdefs.h >>conftest.$ac_ext
69313 cat >>conftest.$ac_ext <<_ACEOF
69314 /* end confdefs.h.  */
69315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69316    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69317 #define $ac_func innocuous_$ac_func
69318
69319 /* System header to define __stub macros and hopefully few prototypes,
69320     which can conflict with char $ac_func (); below.
69321     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69322     <limits.h> exists even on freestanding compilers.  */
69323
69324 #ifdef __STDC__
69325 # include <limits.h>
69326 #else
69327 # include <assert.h>
69328 #endif
69329
69330 #undef $ac_func
69331
69332 /* Override any gcc2 internal prototype to avoid an error.  */
69333 #ifdef __cplusplus
69334 extern "C"
69335 {
69336 #endif
69337 /* We use char because int might match the return type of a gcc2
69338    builtin and then its argument prototype would still apply.  */
69339 char $ac_func ();
69340 /* The GNU C library defines this for functions which it implements
69341     to always fail with ENOSYS.  Some functions are actually named
69342     something starting with __ and the normal name is an alias.  */
69343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69344 choke me
69345 #else
69346 char (*f) () = $ac_func;
69347 #endif
69348 #ifdef __cplusplus
69349 }
69350 #endif
69351
69352 int
69353 main ()
69354 {
69355 return f != $ac_func;
69356   ;
69357   return 0;
69358 }
69359 _ACEOF
69360 rm -f conftest.$ac_objext conftest$ac_exeext
69361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69362   (eval $ac_link) 2>conftest.er1
69363   ac_status=$?
69364   grep -v '^ *+' conftest.er1 >conftest.err
69365   rm -f conftest.er1
69366   cat conftest.err >&5
69367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69368   (exit $ac_status); } &&
69369          { ac_try='test -z "$ac_c_werror_flag"
69370                          || test ! -s conftest.err'
69371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69372   (eval $ac_try) 2>&5
69373   ac_status=$?
69374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69375   (exit $ac_status); }; } &&
69376          { ac_try='test -s conftest$ac_exeext'
69377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69378   (eval $ac_try) 2>&5
69379   ac_status=$?
69380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69381   (exit $ac_status); }; }; then
69382   eval "$as_ac_var=yes"
69383 else
69384   echo "$as_me: failed program was:" >&5
69385 sed 's/^/| /' conftest.$ac_ext >&5
69386
69387 eval "$as_ac_var=no"
69388 fi
69389 rm -f conftest.err conftest.$ac_objext \
69390       conftest$ac_exeext conftest.$ac_ext
69391 fi
69392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69394 if test `eval echo '${'$as_ac_var'}'` = yes; then
69395   cat >>confdefs.h <<_ACEOF
69396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69397 _ACEOF
69398
69399 fi
69400 done
69401
69402   else
69403
69404   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
69405 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
69406   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
69407     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
69408   echo $ECHO_N "(cached) $ECHO_C" >&6
69409 else
69410
69411
69412
69413       ac_ext=cc
69414 ac_cpp='$CXXCPP $CPPFLAGS'
69415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69418
69419       cat >conftest.$ac_ext <<_ACEOF
69420 /* confdefs.h.  */
69421 _ACEOF
69422 cat confdefs.h >>conftest.$ac_ext
69423 cat >>conftest.$ac_ext <<_ACEOF
69424 /* end confdefs.h.  */
69425 #include <math.h>
69426                       #ifdef HAVE_IEEEFP_H
69427                       #include <ieeefp.h>
69428                       #endif
69429
69430 int
69431 main ()
69432 {
69433  _sqrtl(0);
69434   ;
69435   return 0;
69436 }
69437 _ACEOF
69438 rm -f conftest.$ac_objext
69439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69440   (eval $ac_compile) 2>conftest.er1
69441   ac_status=$?
69442   grep -v '^ *+' conftest.er1 >conftest.err
69443   rm -f conftest.er1
69444   cat conftest.err >&5
69445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69446   (exit $ac_status); } &&
69447          { ac_try='test -z "$ac_cxx_werror_flag"
69448                          || test ! -s conftest.err'
69449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69450   (eval $ac_try) 2>&5
69451   ac_status=$?
69452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69453   (exit $ac_status); }; } &&
69454          { ac_try='test -s conftest.$ac_objext'
69455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69456   (eval $ac_try) 2>&5
69457   ac_status=$?
69458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69459   (exit $ac_status); }; }; then
69460   glibcxx_cv_func__sqrtl_use=yes
69461 else
69462   echo "$as_me: failed program was:" >&5
69463 sed 's/^/| /' conftest.$ac_ext >&5
69464
69465 glibcxx_cv_func__sqrtl_use=no
69466 fi
69467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69468       ac_ext=c
69469 ac_cpp='$CPP $CPPFLAGS'
69470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69473
69474
69475 fi
69476
69477   fi
69478   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
69479 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
69480
69481     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
69482
69483 for ac_func in _sqrtl
69484 do
69485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69486 echo "$as_me:$LINENO: checking for $ac_func" >&5
69487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69488 if eval "test \"\${$as_ac_var+set}\" = set"; then
69489   echo $ECHO_N "(cached) $ECHO_C" >&6
69490 else
69491   if test x$gcc_no_link = xyes; then
69492   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69494    { (exit 1); exit 1; }; }
69495 fi
69496 cat >conftest.$ac_ext <<_ACEOF
69497 /* confdefs.h.  */
69498 _ACEOF
69499 cat confdefs.h >>conftest.$ac_ext
69500 cat >>conftest.$ac_ext <<_ACEOF
69501 /* end confdefs.h.  */
69502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69503    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69504 #define $ac_func innocuous_$ac_func
69505
69506 /* System header to define __stub macros and hopefully few prototypes,
69507     which can conflict with char $ac_func (); below.
69508     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69509     <limits.h> exists even on freestanding compilers.  */
69510
69511 #ifdef __STDC__
69512 # include <limits.h>
69513 #else
69514 # include <assert.h>
69515 #endif
69516
69517 #undef $ac_func
69518
69519 /* Override any gcc2 internal prototype to avoid an error.  */
69520 #ifdef __cplusplus
69521 extern "C"
69522 {
69523 #endif
69524 /* We use char because int might match the return type of a gcc2
69525    builtin and then its argument prototype would still apply.  */
69526 char $ac_func ();
69527 /* The GNU C library defines this for functions which it implements
69528     to always fail with ENOSYS.  Some functions are actually named
69529     something starting with __ and the normal name is an alias.  */
69530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69531 choke me
69532 #else
69533 char (*f) () = $ac_func;
69534 #endif
69535 #ifdef __cplusplus
69536 }
69537 #endif
69538
69539 int
69540 main ()
69541 {
69542 return f != $ac_func;
69543   ;
69544   return 0;
69545 }
69546 _ACEOF
69547 rm -f conftest.$ac_objext conftest$ac_exeext
69548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69549   (eval $ac_link) 2>conftest.er1
69550   ac_status=$?
69551   grep -v '^ *+' conftest.er1 >conftest.err
69552   rm -f conftest.er1
69553   cat conftest.err >&5
69554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69555   (exit $ac_status); } &&
69556          { ac_try='test -z "$ac_c_werror_flag"
69557                          || test ! -s conftest.err'
69558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69559   (eval $ac_try) 2>&5
69560   ac_status=$?
69561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69562   (exit $ac_status); }; } &&
69563          { ac_try='test -s conftest$ac_exeext'
69564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69565   (eval $ac_try) 2>&5
69566   ac_status=$?
69567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69568   (exit $ac_status); }; }; then
69569   eval "$as_ac_var=yes"
69570 else
69571   echo "$as_me: failed program was:" >&5
69572 sed 's/^/| /' conftest.$ac_ext >&5
69573
69574 eval "$as_ac_var=no"
69575 fi
69576 rm -f conftest.err conftest.$ac_objext \
69577       conftest$ac_exeext conftest.$ac_ext
69578 fi
69579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69581 if test `eval echo '${'$as_ac_var'}'` = yes; then
69582   cat >>confdefs.h <<_ACEOF
69583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69584 _ACEOF
69585
69586 fi
69587 done
69588
69589     fi
69590   fi
69591
69592
69593
69594
69595
69596
69597   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
69598 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
69599   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69600     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
69601   echo $ECHO_N "(cached) $ECHO_C" >&6
69602 else
69603
69604
69605
69606       ac_ext=cc
69607 ac_cpp='$CXXCPP $CPPFLAGS'
69608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69611
69612       cat >conftest.$ac_ext <<_ACEOF
69613 /* confdefs.h.  */
69614 _ACEOF
69615 cat confdefs.h >>conftest.$ac_ext
69616 cat >>conftest.$ac_ext <<_ACEOF
69617 /* end confdefs.h.  */
69618 #include <math.h>
69619 int
69620 main ()
69621 {
69622  sincosl(0, 0, 0);
69623   ;
69624   return 0;
69625 }
69626 _ACEOF
69627 rm -f conftest.$ac_objext
69628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69629   (eval $ac_compile) 2>conftest.er1
69630   ac_status=$?
69631   grep -v '^ *+' conftest.er1 >conftest.err
69632   rm -f conftest.er1
69633   cat conftest.err >&5
69634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69635   (exit $ac_status); } &&
69636          { ac_try='test -z "$ac_cxx_werror_flag"
69637                          || test ! -s conftest.err'
69638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69639   (eval $ac_try) 2>&5
69640   ac_status=$?
69641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69642   (exit $ac_status); }; } &&
69643          { ac_try='test -s conftest.$ac_objext'
69644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69645   (eval $ac_try) 2>&5
69646   ac_status=$?
69647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69648   (exit $ac_status); }; }; then
69649   glibcxx_cv_func_sincosl_use=yes
69650 else
69651   echo "$as_me: failed program was:" >&5
69652 sed 's/^/| /' conftest.$ac_ext >&5
69653
69654 glibcxx_cv_func_sincosl_use=no
69655 fi
69656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69657       ac_ext=c
69658 ac_cpp='$CPP $CPPFLAGS'
69659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69662
69663
69664 fi
69665
69666   fi
69667   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
69668 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
69669
69670   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69671
69672 for ac_func in sincosl
69673 do
69674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69675 echo "$as_me:$LINENO: checking for $ac_func" >&5
69676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69677 if eval "test \"\${$as_ac_var+set}\" = set"; then
69678   echo $ECHO_N "(cached) $ECHO_C" >&6
69679 else
69680   if test x$gcc_no_link = xyes; then
69681   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69683    { (exit 1); exit 1; }; }
69684 fi
69685 cat >conftest.$ac_ext <<_ACEOF
69686 /* confdefs.h.  */
69687 _ACEOF
69688 cat confdefs.h >>conftest.$ac_ext
69689 cat >>conftest.$ac_ext <<_ACEOF
69690 /* end confdefs.h.  */
69691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69692    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69693 #define $ac_func innocuous_$ac_func
69694
69695 /* System header to define __stub macros and hopefully few prototypes,
69696     which can conflict with char $ac_func (); below.
69697     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69698     <limits.h> exists even on freestanding compilers.  */
69699
69700 #ifdef __STDC__
69701 # include <limits.h>
69702 #else
69703 # include <assert.h>
69704 #endif
69705
69706 #undef $ac_func
69707
69708 /* Override any gcc2 internal prototype to avoid an error.  */
69709 #ifdef __cplusplus
69710 extern "C"
69711 {
69712 #endif
69713 /* We use char because int might match the return type of a gcc2
69714    builtin and then its argument prototype would still apply.  */
69715 char $ac_func ();
69716 /* The GNU C library defines this for functions which it implements
69717     to always fail with ENOSYS.  Some functions are actually named
69718     something starting with __ and the normal name is an alias.  */
69719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69720 choke me
69721 #else
69722 char (*f) () = $ac_func;
69723 #endif
69724 #ifdef __cplusplus
69725 }
69726 #endif
69727
69728 int
69729 main ()
69730 {
69731 return f != $ac_func;
69732   ;
69733   return 0;
69734 }
69735 _ACEOF
69736 rm -f conftest.$ac_objext conftest$ac_exeext
69737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69738   (eval $ac_link) 2>conftest.er1
69739   ac_status=$?
69740   grep -v '^ *+' conftest.er1 >conftest.err
69741   rm -f conftest.er1
69742   cat conftest.err >&5
69743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69744   (exit $ac_status); } &&
69745          { ac_try='test -z "$ac_c_werror_flag"
69746                          || test ! -s conftest.err'
69747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69748   (eval $ac_try) 2>&5
69749   ac_status=$?
69750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69751   (exit $ac_status); }; } &&
69752          { ac_try='test -s conftest$ac_exeext'
69753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69754   (eval $ac_try) 2>&5
69755   ac_status=$?
69756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69757   (exit $ac_status); }; }; then
69758   eval "$as_ac_var=yes"
69759 else
69760   echo "$as_me: failed program was:" >&5
69761 sed 's/^/| /' conftest.$ac_ext >&5
69762
69763 eval "$as_ac_var=no"
69764 fi
69765 rm -f conftest.err conftest.$ac_objext \
69766       conftest$ac_exeext conftest.$ac_ext
69767 fi
69768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69770 if test `eval echo '${'$as_ac_var'}'` = yes; then
69771   cat >>confdefs.h <<_ACEOF
69772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69773 _ACEOF
69774
69775 fi
69776 done
69777
69778   else
69779
69780   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
69781 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
69782   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69783     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
69784   echo $ECHO_N "(cached) $ECHO_C" >&6
69785 else
69786
69787
69788
69789       ac_ext=cc
69790 ac_cpp='$CXXCPP $CPPFLAGS'
69791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69794
69795       cat >conftest.$ac_ext <<_ACEOF
69796 /* confdefs.h.  */
69797 _ACEOF
69798 cat confdefs.h >>conftest.$ac_ext
69799 cat >>conftest.$ac_ext <<_ACEOF
69800 /* end confdefs.h.  */
69801 #include <math.h>
69802 int
69803 main ()
69804 {
69805  _sincosl(0, 0, 0);
69806   ;
69807   return 0;
69808 }
69809 _ACEOF
69810 rm -f conftest.$ac_objext
69811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69812   (eval $ac_compile) 2>conftest.er1
69813   ac_status=$?
69814   grep -v '^ *+' conftest.er1 >conftest.err
69815   rm -f conftest.er1
69816   cat conftest.err >&5
69817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69818   (exit $ac_status); } &&
69819          { ac_try='test -z "$ac_cxx_werror_flag"
69820                          || test ! -s conftest.err'
69821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69822   (eval $ac_try) 2>&5
69823   ac_status=$?
69824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69825   (exit $ac_status); }; } &&
69826          { ac_try='test -s conftest.$ac_objext'
69827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69828   (eval $ac_try) 2>&5
69829   ac_status=$?
69830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69831   (exit $ac_status); }; }; then
69832   glibcxx_cv_func__sincosl_use=yes
69833 else
69834   echo "$as_me: failed program was:" >&5
69835 sed 's/^/| /' conftest.$ac_ext >&5
69836
69837 glibcxx_cv_func__sincosl_use=no
69838 fi
69839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69840       ac_ext=c
69841 ac_cpp='$CPP $CPPFLAGS'
69842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69845
69846
69847 fi
69848
69849   fi
69850   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
69851 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
69852
69853     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69854
69855 for ac_func in _sincosl
69856 do
69857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69858 echo "$as_me:$LINENO: checking for $ac_func" >&5
69859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69860 if eval "test \"\${$as_ac_var+set}\" = set"; then
69861   echo $ECHO_N "(cached) $ECHO_C" >&6
69862 else
69863   if test x$gcc_no_link = xyes; then
69864   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69866    { (exit 1); exit 1; }; }
69867 fi
69868 cat >conftest.$ac_ext <<_ACEOF
69869 /* confdefs.h.  */
69870 _ACEOF
69871 cat confdefs.h >>conftest.$ac_ext
69872 cat >>conftest.$ac_ext <<_ACEOF
69873 /* end confdefs.h.  */
69874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69875    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69876 #define $ac_func innocuous_$ac_func
69877
69878 /* System header to define __stub macros and hopefully few prototypes,
69879     which can conflict with char $ac_func (); below.
69880     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69881     <limits.h> exists even on freestanding compilers.  */
69882
69883 #ifdef __STDC__
69884 # include <limits.h>
69885 #else
69886 # include <assert.h>
69887 #endif
69888
69889 #undef $ac_func
69890
69891 /* Override any gcc2 internal prototype to avoid an error.  */
69892 #ifdef __cplusplus
69893 extern "C"
69894 {
69895 #endif
69896 /* We use char because int might match the return type of a gcc2
69897    builtin and then its argument prototype would still apply.  */
69898 char $ac_func ();
69899 /* The GNU C library defines this for functions which it implements
69900     to always fail with ENOSYS.  Some functions are actually named
69901     something starting with __ and the normal name is an alias.  */
69902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69903 choke me
69904 #else
69905 char (*f) () = $ac_func;
69906 #endif
69907 #ifdef __cplusplus
69908 }
69909 #endif
69910
69911 int
69912 main ()
69913 {
69914 return f != $ac_func;
69915   ;
69916   return 0;
69917 }
69918 _ACEOF
69919 rm -f conftest.$ac_objext conftest$ac_exeext
69920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69921   (eval $ac_link) 2>conftest.er1
69922   ac_status=$?
69923   grep -v '^ *+' conftest.er1 >conftest.err
69924   rm -f conftest.er1
69925   cat conftest.err >&5
69926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69927   (exit $ac_status); } &&
69928          { ac_try='test -z "$ac_c_werror_flag"
69929                          || test ! -s conftest.err'
69930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69931   (eval $ac_try) 2>&5
69932   ac_status=$?
69933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69934   (exit $ac_status); }; } &&
69935          { ac_try='test -s conftest$ac_exeext'
69936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69937   (eval $ac_try) 2>&5
69938   ac_status=$?
69939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69940   (exit $ac_status); }; }; then
69941   eval "$as_ac_var=yes"
69942 else
69943   echo "$as_me: failed program was:" >&5
69944 sed 's/^/| /' conftest.$ac_ext >&5
69945
69946 eval "$as_ac_var=no"
69947 fi
69948 rm -f conftest.err conftest.$ac_objext \
69949       conftest$ac_exeext conftest.$ac_ext
69950 fi
69951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69953 if test `eval echo '${'$as_ac_var'}'` = yes; then
69954   cat >>confdefs.h <<_ACEOF
69955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69956 _ACEOF
69957
69958 fi
69959 done
69960
69961     fi
69962   fi
69963
69964
69965
69966
69967
69968
69969   echo "$as_me:$LINENO: checking for finitel declaration" >&5
69970 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
69971   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69972     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
69973   echo $ECHO_N "(cached) $ECHO_C" >&6
69974 else
69975
69976
69977
69978       ac_ext=cc
69979 ac_cpp='$CXXCPP $CPPFLAGS'
69980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69983
69984       cat >conftest.$ac_ext <<_ACEOF
69985 /* confdefs.h.  */
69986 _ACEOF
69987 cat confdefs.h >>conftest.$ac_ext
69988 cat >>conftest.$ac_ext <<_ACEOF
69989 /* end confdefs.h.  */
69990 #include <math.h>
69991                       #ifdef HAVE_IEEEFP_H
69992                       #include <ieeefp.h>
69993                       #endif
69994
69995 int
69996 main ()
69997 {
69998  finitel(0);
69999   ;
70000   return 0;
70001 }
70002 _ACEOF
70003 rm -f conftest.$ac_objext
70004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70005   (eval $ac_compile) 2>conftest.er1
70006   ac_status=$?
70007   grep -v '^ *+' conftest.er1 >conftest.err
70008   rm -f conftest.er1
70009   cat conftest.err >&5
70010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70011   (exit $ac_status); } &&
70012          { ac_try='test -z "$ac_cxx_werror_flag"
70013                          || test ! -s conftest.err'
70014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70015   (eval $ac_try) 2>&5
70016   ac_status=$?
70017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70018   (exit $ac_status); }; } &&
70019          { ac_try='test -s conftest.$ac_objext'
70020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70021   (eval $ac_try) 2>&5
70022   ac_status=$?
70023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70024   (exit $ac_status); }; }; then
70025   glibcxx_cv_func_finitel_use=yes
70026 else
70027   echo "$as_me: failed program was:" >&5
70028 sed 's/^/| /' conftest.$ac_ext >&5
70029
70030 glibcxx_cv_func_finitel_use=no
70031 fi
70032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70033       ac_ext=c
70034 ac_cpp='$CPP $CPPFLAGS'
70035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70038
70039
70040 fi
70041
70042   fi
70043   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
70044 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
70045
70046   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70047
70048 for ac_func in finitel
70049 do
70050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70051 echo "$as_me:$LINENO: checking for $ac_func" >&5
70052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70053 if eval "test \"\${$as_ac_var+set}\" = set"; then
70054   echo $ECHO_N "(cached) $ECHO_C" >&6
70055 else
70056   if test x$gcc_no_link = xyes; then
70057   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70059    { (exit 1); exit 1; }; }
70060 fi
70061 cat >conftest.$ac_ext <<_ACEOF
70062 /* confdefs.h.  */
70063 _ACEOF
70064 cat confdefs.h >>conftest.$ac_ext
70065 cat >>conftest.$ac_ext <<_ACEOF
70066 /* end confdefs.h.  */
70067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70068    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70069 #define $ac_func innocuous_$ac_func
70070
70071 /* System header to define __stub macros and hopefully few prototypes,
70072     which can conflict with char $ac_func (); below.
70073     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70074     <limits.h> exists even on freestanding compilers.  */
70075
70076 #ifdef __STDC__
70077 # include <limits.h>
70078 #else
70079 # include <assert.h>
70080 #endif
70081
70082 #undef $ac_func
70083
70084 /* Override any gcc2 internal prototype to avoid an error.  */
70085 #ifdef __cplusplus
70086 extern "C"
70087 {
70088 #endif
70089 /* We use char because int might match the return type of a gcc2
70090    builtin and then its argument prototype would still apply.  */
70091 char $ac_func ();
70092 /* The GNU C library defines this for functions which it implements
70093     to always fail with ENOSYS.  Some functions are actually named
70094     something starting with __ and the normal name is an alias.  */
70095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70096 choke me
70097 #else
70098 char (*f) () = $ac_func;
70099 #endif
70100 #ifdef __cplusplus
70101 }
70102 #endif
70103
70104 int
70105 main ()
70106 {
70107 return f != $ac_func;
70108   ;
70109   return 0;
70110 }
70111 _ACEOF
70112 rm -f conftest.$ac_objext conftest$ac_exeext
70113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70114   (eval $ac_link) 2>conftest.er1
70115   ac_status=$?
70116   grep -v '^ *+' conftest.er1 >conftest.err
70117   rm -f conftest.er1
70118   cat conftest.err >&5
70119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70120   (exit $ac_status); } &&
70121          { ac_try='test -z "$ac_c_werror_flag"
70122                          || test ! -s conftest.err'
70123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70124   (eval $ac_try) 2>&5
70125   ac_status=$?
70126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70127   (exit $ac_status); }; } &&
70128          { ac_try='test -s conftest$ac_exeext'
70129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70130   (eval $ac_try) 2>&5
70131   ac_status=$?
70132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70133   (exit $ac_status); }; }; then
70134   eval "$as_ac_var=yes"
70135 else
70136   echo "$as_me: failed program was:" >&5
70137 sed 's/^/| /' conftest.$ac_ext >&5
70138
70139 eval "$as_ac_var=no"
70140 fi
70141 rm -f conftest.err conftest.$ac_objext \
70142       conftest$ac_exeext conftest.$ac_ext
70143 fi
70144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70146 if test `eval echo '${'$as_ac_var'}'` = yes; then
70147   cat >>confdefs.h <<_ACEOF
70148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70149 _ACEOF
70150
70151 fi
70152 done
70153
70154   else
70155
70156   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
70157 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
70158   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70159     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
70160   echo $ECHO_N "(cached) $ECHO_C" >&6
70161 else
70162
70163
70164
70165       ac_ext=cc
70166 ac_cpp='$CXXCPP $CPPFLAGS'
70167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70170
70171       cat >conftest.$ac_ext <<_ACEOF
70172 /* confdefs.h.  */
70173 _ACEOF
70174 cat confdefs.h >>conftest.$ac_ext
70175 cat >>conftest.$ac_ext <<_ACEOF
70176 /* end confdefs.h.  */
70177 #include <math.h>
70178                       #ifdef HAVE_IEEEFP_H
70179                       #include <ieeefp.h>
70180                       #endif
70181
70182 int
70183 main ()
70184 {
70185  _finitel(0);
70186   ;
70187   return 0;
70188 }
70189 _ACEOF
70190 rm -f conftest.$ac_objext
70191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70192   (eval $ac_compile) 2>conftest.er1
70193   ac_status=$?
70194   grep -v '^ *+' conftest.er1 >conftest.err
70195   rm -f conftest.er1
70196   cat conftest.err >&5
70197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70198   (exit $ac_status); } &&
70199          { ac_try='test -z "$ac_cxx_werror_flag"
70200                          || test ! -s conftest.err'
70201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70202   (eval $ac_try) 2>&5
70203   ac_status=$?
70204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70205   (exit $ac_status); }; } &&
70206          { ac_try='test -s conftest.$ac_objext'
70207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70208   (eval $ac_try) 2>&5
70209   ac_status=$?
70210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70211   (exit $ac_status); }; }; then
70212   glibcxx_cv_func__finitel_use=yes
70213 else
70214   echo "$as_me: failed program was:" >&5
70215 sed 's/^/| /' conftest.$ac_ext >&5
70216
70217 glibcxx_cv_func__finitel_use=no
70218 fi
70219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70220       ac_ext=c
70221 ac_cpp='$CPP $CPPFLAGS'
70222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70225
70226
70227 fi
70228
70229   fi
70230   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
70231 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
70232
70233     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70234
70235 for ac_func in _finitel
70236 do
70237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70238 echo "$as_me:$LINENO: checking for $ac_func" >&5
70239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70240 if eval "test \"\${$as_ac_var+set}\" = set"; then
70241   echo $ECHO_N "(cached) $ECHO_C" >&6
70242 else
70243   if test x$gcc_no_link = xyes; then
70244   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70246    { (exit 1); exit 1; }; }
70247 fi
70248 cat >conftest.$ac_ext <<_ACEOF
70249 /* confdefs.h.  */
70250 _ACEOF
70251 cat confdefs.h >>conftest.$ac_ext
70252 cat >>conftest.$ac_ext <<_ACEOF
70253 /* end confdefs.h.  */
70254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70255    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70256 #define $ac_func innocuous_$ac_func
70257
70258 /* System header to define __stub macros and hopefully few prototypes,
70259     which can conflict with char $ac_func (); below.
70260     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70261     <limits.h> exists even on freestanding compilers.  */
70262
70263 #ifdef __STDC__
70264 # include <limits.h>
70265 #else
70266 # include <assert.h>
70267 #endif
70268
70269 #undef $ac_func
70270
70271 /* Override any gcc2 internal prototype to avoid an error.  */
70272 #ifdef __cplusplus
70273 extern "C"
70274 {
70275 #endif
70276 /* We use char because int might match the return type of a gcc2
70277    builtin and then its argument prototype would still apply.  */
70278 char $ac_func ();
70279 /* The GNU C library defines this for functions which it implements
70280     to always fail with ENOSYS.  Some functions are actually named
70281     something starting with __ and the normal name is an alias.  */
70282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70283 choke me
70284 #else
70285 char (*f) () = $ac_func;
70286 #endif
70287 #ifdef __cplusplus
70288 }
70289 #endif
70290
70291 int
70292 main ()
70293 {
70294 return f != $ac_func;
70295   ;
70296   return 0;
70297 }
70298 _ACEOF
70299 rm -f conftest.$ac_objext conftest$ac_exeext
70300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70301   (eval $ac_link) 2>conftest.er1
70302   ac_status=$?
70303   grep -v '^ *+' conftest.er1 >conftest.err
70304   rm -f conftest.er1
70305   cat conftest.err >&5
70306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70307   (exit $ac_status); } &&
70308          { ac_try='test -z "$ac_c_werror_flag"
70309                          || test ! -s conftest.err'
70310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70311   (eval $ac_try) 2>&5
70312   ac_status=$?
70313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70314   (exit $ac_status); }; } &&
70315          { ac_try='test -s conftest$ac_exeext'
70316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70317   (eval $ac_try) 2>&5
70318   ac_status=$?
70319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70320   (exit $ac_status); }; }; then
70321   eval "$as_ac_var=yes"
70322 else
70323   echo "$as_me: failed program was:" >&5
70324 sed 's/^/| /' conftest.$ac_ext >&5
70325
70326 eval "$as_ac_var=no"
70327 fi
70328 rm -f conftest.err conftest.$ac_objext \
70329       conftest$ac_exeext conftest.$ac_ext
70330 fi
70331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70333 if test `eval echo '${'$as_ac_var'}'` = yes; then
70334   cat >>confdefs.h <<_ACEOF
70335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70336 _ACEOF
70337
70338 fi
70339 done
70340
70341     fi
70342   fi
70343
70344
70345
70346
70347
70348   LIBS="$ac_save_LIBS"
70349   CXXFLAGS="$ac_save_CXXFLAGS"
70350
70351
70352
70353   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
70354 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
70355   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
70356     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
70357   echo $ECHO_N "(cached) $ECHO_C" >&6
70358 else
70359
70360
70361
70362       ac_ext=cc
70363 ac_cpp='$CXXCPP $CPPFLAGS'
70364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70367
70368       cat >conftest.$ac_ext <<_ACEOF
70369 /* confdefs.h.  */
70370 _ACEOF
70371 cat confdefs.h >>conftest.$ac_ext
70372 cat >>conftest.$ac_ext <<_ACEOF
70373 /* end confdefs.h.  */
70374 #include <math.h>
70375 int
70376 main ()
70377 {
70378  __builtin_abs(0);
70379   ;
70380   return 0;
70381 }
70382 _ACEOF
70383 rm -f conftest.$ac_objext
70384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70385   (eval $ac_compile) 2>conftest.er1
70386   ac_status=$?
70387   grep -v '^ *+' conftest.er1 >conftest.err
70388   rm -f conftest.er1
70389   cat conftest.err >&5
70390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70391   (exit $ac_status); } &&
70392          { ac_try='test -z "$ac_cxx_werror_flag"
70393                          || test ! -s conftest.err'
70394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70395   (eval $ac_try) 2>&5
70396   ac_status=$?
70397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70398   (exit $ac_status); }; } &&
70399          { ac_try='test -s conftest.$ac_objext'
70400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70401   (eval $ac_try) 2>&5
70402   ac_status=$?
70403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70404   (exit $ac_status); }; }; then
70405   glibcxx_cv_func___builtin_abs_use=yes
70406 else
70407   echo "$as_me: failed program was:" >&5
70408 sed 's/^/| /' conftest.$ac_ext >&5
70409
70410 glibcxx_cv_func___builtin_abs_use=no
70411 fi
70412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70413       ac_ext=c
70414 ac_cpp='$CPP $CPPFLAGS'
70415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70418
70419
70420 fi
70421
70422   fi
70423   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
70424 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
70425   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
70426     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
70427 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
70428     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
70429       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
70430   echo $ECHO_N "(cached) $ECHO_C" >&6
70431 else
70432
70433         if test x$gcc_no_link = xyes; then
70434   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70436    { (exit 1); exit 1; }; }
70437 fi
70438 cat >conftest.$ac_ext <<_ACEOF
70439 /* confdefs.h.  */
70440 _ACEOF
70441 cat confdefs.h >>conftest.$ac_ext
70442 cat >>conftest.$ac_ext <<_ACEOF
70443 /* end confdefs.h.  */
70444 #include <math.h>
70445 int
70446 main ()
70447 {
70448  __builtin_abs(0);
70449   ;
70450   return 0;
70451 }
70452 _ACEOF
70453 rm -f conftest.$ac_objext conftest$ac_exeext
70454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70455   (eval $ac_link) 2>conftest.er1
70456   ac_status=$?
70457   grep -v '^ *+' conftest.er1 >conftest.err
70458   rm -f conftest.er1
70459   cat conftest.err >&5
70460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70461   (exit $ac_status); } &&
70462          { ac_try='test -z "$ac_c_werror_flag"
70463                          || test ! -s conftest.err'
70464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70465   (eval $ac_try) 2>&5
70466   ac_status=$?
70467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70468   (exit $ac_status); }; } &&
70469          { ac_try='test -s conftest$ac_exeext'
70470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70471   (eval $ac_try) 2>&5
70472   ac_status=$?
70473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70474   (exit $ac_status); }; }; then
70475   glibcxx_cv_func___builtin_abs_link=yes
70476 else
70477   echo "$as_me: failed program was:" >&5
70478 sed 's/^/| /' conftest.$ac_ext >&5
70479
70480 glibcxx_cv_func___builtin_abs_link=no
70481 fi
70482 rm -f conftest.err conftest.$ac_objext \
70483       conftest$ac_exeext conftest.$ac_ext
70484
70485 fi
70486
70487     fi
70488     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
70489 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
70490
70491     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
70492
70493 cat >>confdefs.h <<\_ACEOF
70494 #define HAVE___BUILTIN_ABS 1
70495 _ACEOF
70496
70497     fi
70498
70499   fi
70500
70501
70502   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
70503 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
70504   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
70505     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
70506   echo $ECHO_N "(cached) $ECHO_C" >&6
70507 else
70508
70509
70510
70511       ac_ext=cc
70512 ac_cpp='$CXXCPP $CPPFLAGS'
70513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70516
70517       cat >conftest.$ac_ext <<_ACEOF
70518 /* confdefs.h.  */
70519 _ACEOF
70520 cat confdefs.h >>conftest.$ac_ext
70521 cat >>conftest.$ac_ext <<_ACEOF
70522 /* end confdefs.h.  */
70523 #include <math.h>
70524 int
70525 main ()
70526 {
70527  __builtin_fabsf(0);
70528   ;
70529   return 0;
70530 }
70531 _ACEOF
70532 rm -f conftest.$ac_objext
70533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70534   (eval $ac_compile) 2>conftest.er1
70535   ac_status=$?
70536   grep -v '^ *+' conftest.er1 >conftest.err
70537   rm -f conftest.er1
70538   cat conftest.err >&5
70539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70540   (exit $ac_status); } &&
70541          { ac_try='test -z "$ac_cxx_werror_flag"
70542                          || test ! -s conftest.err'
70543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70544   (eval $ac_try) 2>&5
70545   ac_status=$?
70546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70547   (exit $ac_status); }; } &&
70548          { ac_try='test -s conftest.$ac_objext'
70549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70550   (eval $ac_try) 2>&5
70551   ac_status=$?
70552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70553   (exit $ac_status); }; }; then
70554   glibcxx_cv_func___builtin_fabsf_use=yes
70555 else
70556   echo "$as_me: failed program was:" >&5
70557 sed 's/^/| /' conftest.$ac_ext >&5
70558
70559 glibcxx_cv_func___builtin_fabsf_use=no
70560 fi
70561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70562       ac_ext=c
70563 ac_cpp='$CPP $CPPFLAGS'
70564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70567
70568
70569 fi
70570
70571   fi
70572   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
70573 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
70574   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
70575     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
70576 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
70577     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
70578       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
70579   echo $ECHO_N "(cached) $ECHO_C" >&6
70580 else
70581
70582         if test x$gcc_no_link = xyes; then
70583   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70585    { (exit 1); exit 1; }; }
70586 fi
70587 cat >conftest.$ac_ext <<_ACEOF
70588 /* confdefs.h.  */
70589 _ACEOF
70590 cat confdefs.h >>conftest.$ac_ext
70591 cat >>conftest.$ac_ext <<_ACEOF
70592 /* end confdefs.h.  */
70593 #include <math.h>
70594 int
70595 main ()
70596 {
70597  __builtin_fabsf(0);
70598   ;
70599   return 0;
70600 }
70601 _ACEOF
70602 rm -f conftest.$ac_objext conftest$ac_exeext
70603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70604   (eval $ac_link) 2>conftest.er1
70605   ac_status=$?
70606   grep -v '^ *+' conftest.er1 >conftest.err
70607   rm -f conftest.er1
70608   cat conftest.err >&5
70609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70610   (exit $ac_status); } &&
70611          { ac_try='test -z "$ac_c_werror_flag"
70612                          || test ! -s conftest.err'
70613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70614   (eval $ac_try) 2>&5
70615   ac_status=$?
70616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70617   (exit $ac_status); }; } &&
70618          { ac_try='test -s conftest$ac_exeext'
70619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70620   (eval $ac_try) 2>&5
70621   ac_status=$?
70622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70623   (exit $ac_status); }; }; then
70624   glibcxx_cv_func___builtin_fabsf_link=yes
70625 else
70626   echo "$as_me: failed program was:" >&5
70627 sed 's/^/| /' conftest.$ac_ext >&5
70628
70629 glibcxx_cv_func___builtin_fabsf_link=no
70630 fi
70631 rm -f conftest.err conftest.$ac_objext \
70632       conftest$ac_exeext conftest.$ac_ext
70633
70634 fi
70635
70636     fi
70637     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
70638 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
70639
70640     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
70641
70642 cat >>confdefs.h <<\_ACEOF
70643 #define HAVE___BUILTIN_FABSF 1
70644 _ACEOF
70645
70646     fi
70647
70648   fi
70649
70650
70651   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
70652 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
70653   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
70654     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
70655   echo $ECHO_N "(cached) $ECHO_C" >&6
70656 else
70657
70658
70659
70660       ac_ext=cc
70661 ac_cpp='$CXXCPP $CPPFLAGS'
70662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70665
70666       cat >conftest.$ac_ext <<_ACEOF
70667 /* confdefs.h.  */
70668 _ACEOF
70669 cat confdefs.h >>conftest.$ac_ext
70670 cat >>conftest.$ac_ext <<_ACEOF
70671 /* end confdefs.h.  */
70672 #include <math.h>
70673 int
70674 main ()
70675 {
70676  __builtin_fabs(0);
70677   ;
70678   return 0;
70679 }
70680 _ACEOF
70681 rm -f conftest.$ac_objext
70682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70683   (eval $ac_compile) 2>conftest.er1
70684   ac_status=$?
70685   grep -v '^ *+' conftest.er1 >conftest.err
70686   rm -f conftest.er1
70687   cat conftest.err >&5
70688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70689   (exit $ac_status); } &&
70690          { ac_try='test -z "$ac_cxx_werror_flag"
70691                          || test ! -s conftest.err'
70692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70693   (eval $ac_try) 2>&5
70694   ac_status=$?
70695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70696   (exit $ac_status); }; } &&
70697          { ac_try='test -s conftest.$ac_objext'
70698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70699   (eval $ac_try) 2>&5
70700   ac_status=$?
70701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70702   (exit $ac_status); }; }; then
70703   glibcxx_cv_func___builtin_fabs_use=yes
70704 else
70705   echo "$as_me: failed program was:" >&5
70706 sed 's/^/| /' conftest.$ac_ext >&5
70707
70708 glibcxx_cv_func___builtin_fabs_use=no
70709 fi
70710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70711       ac_ext=c
70712 ac_cpp='$CPP $CPPFLAGS'
70713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70716
70717
70718 fi
70719
70720   fi
70721   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
70722 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
70723   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
70724     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
70725 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
70726     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
70727       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
70728   echo $ECHO_N "(cached) $ECHO_C" >&6
70729 else
70730
70731         if test x$gcc_no_link = xyes; then
70732   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70734    { (exit 1); exit 1; }; }
70735 fi
70736 cat >conftest.$ac_ext <<_ACEOF
70737 /* confdefs.h.  */
70738 _ACEOF
70739 cat confdefs.h >>conftest.$ac_ext
70740 cat >>conftest.$ac_ext <<_ACEOF
70741 /* end confdefs.h.  */
70742 #include <math.h>
70743 int
70744 main ()
70745 {
70746  __builtin_fabs(0);
70747   ;
70748   return 0;
70749 }
70750 _ACEOF
70751 rm -f conftest.$ac_objext conftest$ac_exeext
70752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70753   (eval $ac_link) 2>conftest.er1
70754   ac_status=$?
70755   grep -v '^ *+' conftest.er1 >conftest.err
70756   rm -f conftest.er1
70757   cat conftest.err >&5
70758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70759   (exit $ac_status); } &&
70760          { ac_try='test -z "$ac_c_werror_flag"
70761                          || test ! -s conftest.err'
70762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70763   (eval $ac_try) 2>&5
70764   ac_status=$?
70765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70766   (exit $ac_status); }; } &&
70767          { ac_try='test -s conftest$ac_exeext'
70768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70769   (eval $ac_try) 2>&5
70770   ac_status=$?
70771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70772   (exit $ac_status); }; }; then
70773   glibcxx_cv_func___builtin_fabs_link=yes
70774 else
70775   echo "$as_me: failed program was:" >&5
70776 sed 's/^/| /' conftest.$ac_ext >&5
70777
70778 glibcxx_cv_func___builtin_fabs_link=no
70779 fi
70780 rm -f conftest.err conftest.$ac_objext \
70781       conftest$ac_exeext conftest.$ac_ext
70782
70783 fi
70784
70785     fi
70786     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
70787 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
70788
70789     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
70790
70791 cat >>confdefs.h <<\_ACEOF
70792 #define HAVE___BUILTIN_FABS 1
70793 _ACEOF
70794
70795     fi
70796
70797   fi
70798
70799
70800   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
70801 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
70802   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
70803     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
70804   echo $ECHO_N "(cached) $ECHO_C" >&6
70805 else
70806
70807
70808
70809       ac_ext=cc
70810 ac_cpp='$CXXCPP $CPPFLAGS'
70811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70814
70815       cat >conftest.$ac_ext <<_ACEOF
70816 /* confdefs.h.  */
70817 _ACEOF
70818 cat confdefs.h >>conftest.$ac_ext
70819 cat >>conftest.$ac_ext <<_ACEOF
70820 /* end confdefs.h.  */
70821 #include <math.h>
70822 int
70823 main ()
70824 {
70825  __builtin_fabsl(0);
70826   ;
70827   return 0;
70828 }
70829 _ACEOF
70830 rm -f conftest.$ac_objext
70831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70832   (eval $ac_compile) 2>conftest.er1
70833   ac_status=$?
70834   grep -v '^ *+' conftest.er1 >conftest.err
70835   rm -f conftest.er1
70836   cat conftest.err >&5
70837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70838   (exit $ac_status); } &&
70839          { ac_try='test -z "$ac_cxx_werror_flag"
70840                          || test ! -s conftest.err'
70841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70842   (eval $ac_try) 2>&5
70843   ac_status=$?
70844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70845   (exit $ac_status); }; } &&
70846          { ac_try='test -s conftest.$ac_objext'
70847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70848   (eval $ac_try) 2>&5
70849   ac_status=$?
70850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70851   (exit $ac_status); }; }; then
70852   glibcxx_cv_func___builtin_fabsl_use=yes
70853 else
70854   echo "$as_me: failed program was:" >&5
70855 sed 's/^/| /' conftest.$ac_ext >&5
70856
70857 glibcxx_cv_func___builtin_fabsl_use=no
70858 fi
70859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70860       ac_ext=c
70861 ac_cpp='$CPP $CPPFLAGS'
70862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70865
70866
70867 fi
70868
70869   fi
70870   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
70871 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
70872   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
70873     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
70874 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
70875     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
70876       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
70877   echo $ECHO_N "(cached) $ECHO_C" >&6
70878 else
70879
70880         if test x$gcc_no_link = xyes; then
70881   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70883    { (exit 1); exit 1; }; }
70884 fi
70885 cat >conftest.$ac_ext <<_ACEOF
70886 /* confdefs.h.  */
70887 _ACEOF
70888 cat confdefs.h >>conftest.$ac_ext
70889 cat >>conftest.$ac_ext <<_ACEOF
70890 /* end confdefs.h.  */
70891 #include <math.h>
70892 int
70893 main ()
70894 {
70895  __builtin_fabsl(0);
70896   ;
70897   return 0;
70898 }
70899 _ACEOF
70900 rm -f conftest.$ac_objext conftest$ac_exeext
70901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70902   (eval $ac_link) 2>conftest.er1
70903   ac_status=$?
70904   grep -v '^ *+' conftest.er1 >conftest.err
70905   rm -f conftest.er1
70906   cat conftest.err >&5
70907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70908   (exit $ac_status); } &&
70909          { ac_try='test -z "$ac_c_werror_flag"
70910                          || test ! -s conftest.err'
70911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70912   (eval $ac_try) 2>&5
70913   ac_status=$?
70914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70915   (exit $ac_status); }; } &&
70916          { ac_try='test -s conftest$ac_exeext'
70917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70918   (eval $ac_try) 2>&5
70919   ac_status=$?
70920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70921   (exit $ac_status); }; }; then
70922   glibcxx_cv_func___builtin_fabsl_link=yes
70923 else
70924   echo "$as_me: failed program was:" >&5
70925 sed 's/^/| /' conftest.$ac_ext >&5
70926
70927 glibcxx_cv_func___builtin_fabsl_link=no
70928 fi
70929 rm -f conftest.err conftest.$ac_objext \
70930       conftest$ac_exeext conftest.$ac_ext
70931
70932 fi
70933
70934     fi
70935     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
70936 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
70937
70938     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
70939
70940 cat >>confdefs.h <<\_ACEOF
70941 #define HAVE___BUILTIN_FABSL 1
70942 _ACEOF
70943
70944     fi
70945
70946   fi
70947
70948
70949   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
70950 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
70951   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
70952     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
70953   echo $ECHO_N "(cached) $ECHO_C" >&6
70954 else
70955
70956
70957
70958       ac_ext=cc
70959 ac_cpp='$CXXCPP $CPPFLAGS'
70960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70963
70964       cat >conftest.$ac_ext <<_ACEOF
70965 /* confdefs.h.  */
70966 _ACEOF
70967 cat confdefs.h >>conftest.$ac_ext
70968 cat >>conftest.$ac_ext <<_ACEOF
70969 /* end confdefs.h.  */
70970 #include <math.h>
70971 int
70972 main ()
70973 {
70974  __builtin_labs(0);
70975   ;
70976   return 0;
70977 }
70978 _ACEOF
70979 rm -f conftest.$ac_objext
70980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70981   (eval $ac_compile) 2>conftest.er1
70982   ac_status=$?
70983   grep -v '^ *+' conftest.er1 >conftest.err
70984   rm -f conftest.er1
70985   cat conftest.err >&5
70986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70987   (exit $ac_status); } &&
70988          { ac_try='test -z "$ac_cxx_werror_flag"
70989                          || test ! -s conftest.err'
70990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70991   (eval $ac_try) 2>&5
70992   ac_status=$?
70993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70994   (exit $ac_status); }; } &&
70995          { ac_try='test -s conftest.$ac_objext'
70996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70997   (eval $ac_try) 2>&5
70998   ac_status=$?
70999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71000   (exit $ac_status); }; }; then
71001   glibcxx_cv_func___builtin_labs_use=yes
71002 else
71003   echo "$as_me: failed program was:" >&5
71004 sed 's/^/| /' conftest.$ac_ext >&5
71005
71006 glibcxx_cv_func___builtin_labs_use=no
71007 fi
71008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71009       ac_ext=c
71010 ac_cpp='$CPP $CPPFLAGS'
71011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71014
71015
71016 fi
71017
71018   fi
71019   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
71020 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
71021   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
71022     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
71023 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
71024     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
71025       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
71026   echo $ECHO_N "(cached) $ECHO_C" >&6
71027 else
71028
71029         if test x$gcc_no_link = xyes; then
71030   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71032    { (exit 1); exit 1; }; }
71033 fi
71034 cat >conftest.$ac_ext <<_ACEOF
71035 /* confdefs.h.  */
71036 _ACEOF
71037 cat confdefs.h >>conftest.$ac_ext
71038 cat >>conftest.$ac_ext <<_ACEOF
71039 /* end confdefs.h.  */
71040 #include <math.h>
71041 int
71042 main ()
71043 {
71044  __builtin_labs(0);
71045   ;
71046   return 0;
71047 }
71048 _ACEOF
71049 rm -f conftest.$ac_objext conftest$ac_exeext
71050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71051   (eval $ac_link) 2>conftest.er1
71052   ac_status=$?
71053   grep -v '^ *+' conftest.er1 >conftest.err
71054   rm -f conftest.er1
71055   cat conftest.err >&5
71056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71057   (exit $ac_status); } &&
71058          { ac_try='test -z "$ac_c_werror_flag"
71059                          || test ! -s conftest.err'
71060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71061   (eval $ac_try) 2>&5
71062   ac_status=$?
71063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71064   (exit $ac_status); }; } &&
71065          { ac_try='test -s conftest$ac_exeext'
71066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71067   (eval $ac_try) 2>&5
71068   ac_status=$?
71069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71070   (exit $ac_status); }; }; then
71071   glibcxx_cv_func___builtin_labs_link=yes
71072 else
71073   echo "$as_me: failed program was:" >&5
71074 sed 's/^/| /' conftest.$ac_ext >&5
71075
71076 glibcxx_cv_func___builtin_labs_link=no
71077 fi
71078 rm -f conftest.err conftest.$ac_objext \
71079       conftest$ac_exeext conftest.$ac_ext
71080
71081 fi
71082
71083     fi
71084     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
71085 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
71086
71087     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
71088
71089 cat >>confdefs.h <<\_ACEOF
71090 #define HAVE___BUILTIN_LABS 1
71091 _ACEOF
71092
71093     fi
71094
71095   fi
71096
71097
71098
71099   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
71100 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
71101   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
71102     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
71103   echo $ECHO_N "(cached) $ECHO_C" >&6
71104 else
71105
71106
71107
71108       ac_ext=cc
71109 ac_cpp='$CXXCPP $CPPFLAGS'
71110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71113
71114       cat >conftest.$ac_ext <<_ACEOF
71115 /* confdefs.h.  */
71116 _ACEOF
71117 cat confdefs.h >>conftest.$ac_ext
71118 cat >>conftest.$ac_ext <<_ACEOF
71119 /* end confdefs.h.  */
71120 #include <math.h>
71121 int
71122 main ()
71123 {
71124  __builtin_sqrtf(0);
71125   ;
71126   return 0;
71127 }
71128 _ACEOF
71129 rm -f conftest.$ac_objext
71130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71131   (eval $ac_compile) 2>conftest.er1
71132   ac_status=$?
71133   grep -v '^ *+' conftest.er1 >conftest.err
71134   rm -f conftest.er1
71135   cat conftest.err >&5
71136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71137   (exit $ac_status); } &&
71138          { ac_try='test -z "$ac_cxx_werror_flag"
71139                          || test ! -s conftest.err'
71140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71141   (eval $ac_try) 2>&5
71142   ac_status=$?
71143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71144   (exit $ac_status); }; } &&
71145          { ac_try='test -s conftest.$ac_objext'
71146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71147   (eval $ac_try) 2>&5
71148   ac_status=$?
71149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71150   (exit $ac_status); }; }; then
71151   glibcxx_cv_func___builtin_sqrtf_use=yes
71152 else
71153   echo "$as_me: failed program was:" >&5
71154 sed 's/^/| /' conftest.$ac_ext >&5
71155
71156 glibcxx_cv_func___builtin_sqrtf_use=no
71157 fi
71158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71159       ac_ext=c
71160 ac_cpp='$CPP $CPPFLAGS'
71161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71164
71165
71166 fi
71167
71168   fi
71169   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
71170 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
71171   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
71172     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
71173 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
71174     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
71175       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
71176   echo $ECHO_N "(cached) $ECHO_C" >&6
71177 else
71178
71179         if test x$gcc_no_link = xyes; then
71180   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71182    { (exit 1); exit 1; }; }
71183 fi
71184 cat >conftest.$ac_ext <<_ACEOF
71185 /* confdefs.h.  */
71186 _ACEOF
71187 cat confdefs.h >>conftest.$ac_ext
71188 cat >>conftest.$ac_ext <<_ACEOF
71189 /* end confdefs.h.  */
71190 #include <math.h>
71191 int
71192 main ()
71193 {
71194  __builtin_sqrtf(0);
71195   ;
71196   return 0;
71197 }
71198 _ACEOF
71199 rm -f conftest.$ac_objext conftest$ac_exeext
71200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71201   (eval $ac_link) 2>conftest.er1
71202   ac_status=$?
71203   grep -v '^ *+' conftest.er1 >conftest.err
71204   rm -f conftest.er1
71205   cat conftest.err >&5
71206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71207   (exit $ac_status); } &&
71208          { ac_try='test -z "$ac_c_werror_flag"
71209                          || test ! -s conftest.err'
71210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71211   (eval $ac_try) 2>&5
71212   ac_status=$?
71213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71214   (exit $ac_status); }; } &&
71215          { ac_try='test -s conftest$ac_exeext'
71216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71217   (eval $ac_try) 2>&5
71218   ac_status=$?
71219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71220   (exit $ac_status); }; }; then
71221   glibcxx_cv_func___builtin_sqrtf_link=yes
71222 else
71223   echo "$as_me: failed program was:" >&5
71224 sed 's/^/| /' conftest.$ac_ext >&5
71225
71226 glibcxx_cv_func___builtin_sqrtf_link=no
71227 fi
71228 rm -f conftest.err conftest.$ac_objext \
71229       conftest$ac_exeext conftest.$ac_ext
71230
71231 fi
71232
71233     fi
71234     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
71235 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
71236
71237     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
71238
71239 cat >>confdefs.h <<\_ACEOF
71240 #define HAVE___BUILTIN_SQRTF 1
71241 _ACEOF
71242
71243     fi
71244
71245   fi
71246
71247
71248   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
71249 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
71250   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
71251     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
71252   echo $ECHO_N "(cached) $ECHO_C" >&6
71253 else
71254
71255
71256
71257       ac_ext=cc
71258 ac_cpp='$CXXCPP $CPPFLAGS'
71259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71262
71263       cat >conftest.$ac_ext <<_ACEOF
71264 /* confdefs.h.  */
71265 _ACEOF
71266 cat confdefs.h >>conftest.$ac_ext
71267 cat >>conftest.$ac_ext <<_ACEOF
71268 /* end confdefs.h.  */
71269 #include <math.h>
71270 int
71271 main ()
71272 {
71273  __builtin_sqrt(0);
71274   ;
71275   return 0;
71276 }
71277 _ACEOF
71278 rm -f conftest.$ac_objext
71279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71280   (eval $ac_compile) 2>conftest.er1
71281   ac_status=$?
71282   grep -v '^ *+' conftest.er1 >conftest.err
71283   rm -f conftest.er1
71284   cat conftest.err >&5
71285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71286   (exit $ac_status); } &&
71287          { ac_try='test -z "$ac_cxx_werror_flag"
71288                          || test ! -s conftest.err'
71289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71290   (eval $ac_try) 2>&5
71291   ac_status=$?
71292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71293   (exit $ac_status); }; } &&
71294          { ac_try='test -s conftest.$ac_objext'
71295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71296   (eval $ac_try) 2>&5
71297   ac_status=$?
71298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71299   (exit $ac_status); }; }; then
71300   glibcxx_cv_func___builtin_sqrt_use=yes
71301 else
71302   echo "$as_me: failed program was:" >&5
71303 sed 's/^/| /' conftest.$ac_ext >&5
71304
71305 glibcxx_cv_func___builtin_sqrt_use=no
71306 fi
71307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71308       ac_ext=c
71309 ac_cpp='$CPP $CPPFLAGS'
71310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71313
71314
71315 fi
71316
71317   fi
71318   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
71319 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
71320   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
71321     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
71322 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
71323     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
71324       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
71325   echo $ECHO_N "(cached) $ECHO_C" >&6
71326 else
71327
71328         if test x$gcc_no_link = xyes; then
71329   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71331    { (exit 1); exit 1; }; }
71332 fi
71333 cat >conftest.$ac_ext <<_ACEOF
71334 /* confdefs.h.  */
71335 _ACEOF
71336 cat confdefs.h >>conftest.$ac_ext
71337 cat >>conftest.$ac_ext <<_ACEOF
71338 /* end confdefs.h.  */
71339 #include <math.h>
71340 int
71341 main ()
71342 {
71343  __builtin_sqrt(0);
71344   ;
71345   return 0;
71346 }
71347 _ACEOF
71348 rm -f conftest.$ac_objext conftest$ac_exeext
71349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71350   (eval $ac_link) 2>conftest.er1
71351   ac_status=$?
71352   grep -v '^ *+' conftest.er1 >conftest.err
71353   rm -f conftest.er1
71354   cat conftest.err >&5
71355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71356   (exit $ac_status); } &&
71357          { ac_try='test -z "$ac_c_werror_flag"
71358                          || test ! -s conftest.err'
71359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71360   (eval $ac_try) 2>&5
71361   ac_status=$?
71362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71363   (exit $ac_status); }; } &&
71364          { ac_try='test -s conftest$ac_exeext'
71365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71366   (eval $ac_try) 2>&5
71367   ac_status=$?
71368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71369   (exit $ac_status); }; }; then
71370   glibcxx_cv_func___builtin_sqrt_link=yes
71371 else
71372   echo "$as_me: failed program was:" >&5
71373 sed 's/^/| /' conftest.$ac_ext >&5
71374
71375 glibcxx_cv_func___builtin_sqrt_link=no
71376 fi
71377 rm -f conftest.err conftest.$ac_objext \
71378       conftest$ac_exeext conftest.$ac_ext
71379
71380 fi
71381
71382     fi
71383     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
71384 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
71385
71386     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
71387
71388 cat >>confdefs.h <<\_ACEOF
71389 #define HAVE___BUILTIN_SQRT 1
71390 _ACEOF
71391
71392     fi
71393
71394   fi
71395
71396
71397   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
71398 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
71399   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
71400     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
71401   echo $ECHO_N "(cached) $ECHO_C" >&6
71402 else
71403
71404
71405
71406       ac_ext=cc
71407 ac_cpp='$CXXCPP $CPPFLAGS'
71408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71411
71412       cat >conftest.$ac_ext <<_ACEOF
71413 /* confdefs.h.  */
71414 _ACEOF
71415 cat confdefs.h >>conftest.$ac_ext
71416 cat >>conftest.$ac_ext <<_ACEOF
71417 /* end confdefs.h.  */
71418 #include <math.h>
71419 int
71420 main ()
71421 {
71422  __builtin_sqrtl(0);
71423   ;
71424   return 0;
71425 }
71426 _ACEOF
71427 rm -f conftest.$ac_objext
71428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71429   (eval $ac_compile) 2>conftest.er1
71430   ac_status=$?
71431   grep -v '^ *+' conftest.er1 >conftest.err
71432   rm -f conftest.er1
71433   cat conftest.err >&5
71434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71435   (exit $ac_status); } &&
71436          { ac_try='test -z "$ac_cxx_werror_flag"
71437                          || test ! -s conftest.err'
71438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71439   (eval $ac_try) 2>&5
71440   ac_status=$?
71441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71442   (exit $ac_status); }; } &&
71443          { ac_try='test -s conftest.$ac_objext'
71444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71445   (eval $ac_try) 2>&5
71446   ac_status=$?
71447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71448   (exit $ac_status); }; }; then
71449   glibcxx_cv_func___builtin_sqrtl_use=yes
71450 else
71451   echo "$as_me: failed program was:" >&5
71452 sed 's/^/| /' conftest.$ac_ext >&5
71453
71454 glibcxx_cv_func___builtin_sqrtl_use=no
71455 fi
71456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71457       ac_ext=c
71458 ac_cpp='$CPP $CPPFLAGS'
71459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71462
71463
71464 fi
71465
71466   fi
71467   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
71468 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
71469   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
71470     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
71471 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
71472     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
71473       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
71474   echo $ECHO_N "(cached) $ECHO_C" >&6
71475 else
71476
71477         if test x$gcc_no_link = xyes; then
71478   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71480    { (exit 1); exit 1; }; }
71481 fi
71482 cat >conftest.$ac_ext <<_ACEOF
71483 /* confdefs.h.  */
71484 _ACEOF
71485 cat confdefs.h >>conftest.$ac_ext
71486 cat >>conftest.$ac_ext <<_ACEOF
71487 /* end confdefs.h.  */
71488 #include <math.h>
71489 int
71490 main ()
71491 {
71492  __builtin_sqrtl(0);
71493   ;
71494   return 0;
71495 }
71496 _ACEOF
71497 rm -f conftest.$ac_objext conftest$ac_exeext
71498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71499   (eval $ac_link) 2>conftest.er1
71500   ac_status=$?
71501   grep -v '^ *+' conftest.er1 >conftest.err
71502   rm -f conftest.er1
71503   cat conftest.err >&5
71504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71505   (exit $ac_status); } &&
71506          { ac_try='test -z "$ac_c_werror_flag"
71507                          || test ! -s conftest.err'
71508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71509   (eval $ac_try) 2>&5
71510   ac_status=$?
71511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71512   (exit $ac_status); }; } &&
71513          { ac_try='test -s conftest$ac_exeext'
71514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71515   (eval $ac_try) 2>&5
71516   ac_status=$?
71517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71518   (exit $ac_status); }; }; then
71519   glibcxx_cv_func___builtin_sqrtl_link=yes
71520 else
71521   echo "$as_me: failed program was:" >&5
71522 sed 's/^/| /' conftest.$ac_ext >&5
71523
71524 glibcxx_cv_func___builtin_sqrtl_link=no
71525 fi
71526 rm -f conftest.err conftest.$ac_objext \
71527       conftest$ac_exeext conftest.$ac_ext
71528
71529 fi
71530
71531     fi
71532     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
71533 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
71534
71535     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
71536
71537 cat >>confdefs.h <<\_ACEOF
71538 #define HAVE___BUILTIN_SQRTL 1
71539 _ACEOF
71540
71541     fi
71542
71543   fi
71544
71545
71546
71547   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
71548 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
71549   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
71550     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
71551   echo $ECHO_N "(cached) $ECHO_C" >&6
71552 else
71553
71554
71555
71556       ac_ext=cc
71557 ac_cpp='$CXXCPP $CPPFLAGS'
71558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71561
71562       cat >conftest.$ac_ext <<_ACEOF
71563 /* confdefs.h.  */
71564 _ACEOF
71565 cat confdefs.h >>conftest.$ac_ext
71566 cat >>conftest.$ac_ext <<_ACEOF
71567 /* end confdefs.h.  */
71568 #include <math.h>
71569 int
71570 main ()
71571 {
71572  __builtin_sinf(0);
71573   ;
71574   return 0;
71575 }
71576 _ACEOF
71577 rm -f conftest.$ac_objext
71578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71579   (eval $ac_compile) 2>conftest.er1
71580   ac_status=$?
71581   grep -v '^ *+' conftest.er1 >conftest.err
71582   rm -f conftest.er1
71583   cat conftest.err >&5
71584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71585   (exit $ac_status); } &&
71586          { ac_try='test -z "$ac_cxx_werror_flag"
71587                          || test ! -s conftest.err'
71588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71589   (eval $ac_try) 2>&5
71590   ac_status=$?
71591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71592   (exit $ac_status); }; } &&
71593          { ac_try='test -s conftest.$ac_objext'
71594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71595   (eval $ac_try) 2>&5
71596   ac_status=$?
71597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71598   (exit $ac_status); }; }; then
71599   glibcxx_cv_func___builtin_sinf_use=yes
71600 else
71601   echo "$as_me: failed program was:" >&5
71602 sed 's/^/| /' conftest.$ac_ext >&5
71603
71604 glibcxx_cv_func___builtin_sinf_use=no
71605 fi
71606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71607       ac_ext=c
71608 ac_cpp='$CPP $CPPFLAGS'
71609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71612
71613
71614 fi
71615
71616   fi
71617   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
71618 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
71619   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
71620     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
71621 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
71622     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
71623       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
71624   echo $ECHO_N "(cached) $ECHO_C" >&6
71625 else
71626
71627         if test x$gcc_no_link = xyes; then
71628   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71630    { (exit 1); exit 1; }; }
71631 fi
71632 cat >conftest.$ac_ext <<_ACEOF
71633 /* confdefs.h.  */
71634 _ACEOF
71635 cat confdefs.h >>conftest.$ac_ext
71636 cat >>conftest.$ac_ext <<_ACEOF
71637 /* end confdefs.h.  */
71638 #include <math.h>
71639 int
71640 main ()
71641 {
71642  __builtin_sinf(0);
71643   ;
71644   return 0;
71645 }
71646 _ACEOF
71647 rm -f conftest.$ac_objext conftest$ac_exeext
71648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71649   (eval $ac_link) 2>conftest.er1
71650   ac_status=$?
71651   grep -v '^ *+' conftest.er1 >conftest.err
71652   rm -f conftest.er1
71653   cat conftest.err >&5
71654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71655   (exit $ac_status); } &&
71656          { ac_try='test -z "$ac_c_werror_flag"
71657                          || test ! -s conftest.err'
71658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71659   (eval $ac_try) 2>&5
71660   ac_status=$?
71661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71662   (exit $ac_status); }; } &&
71663          { ac_try='test -s conftest$ac_exeext'
71664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71665   (eval $ac_try) 2>&5
71666   ac_status=$?
71667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71668   (exit $ac_status); }; }; then
71669   glibcxx_cv_func___builtin_sinf_link=yes
71670 else
71671   echo "$as_me: failed program was:" >&5
71672 sed 's/^/| /' conftest.$ac_ext >&5
71673
71674 glibcxx_cv_func___builtin_sinf_link=no
71675 fi
71676 rm -f conftest.err conftest.$ac_objext \
71677       conftest$ac_exeext conftest.$ac_ext
71678
71679 fi
71680
71681     fi
71682     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
71683 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
71684
71685     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
71686
71687 cat >>confdefs.h <<\_ACEOF
71688 #define HAVE___BUILTIN_SINF 1
71689 _ACEOF
71690
71691     fi
71692
71693   fi
71694
71695
71696   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
71697 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
71698   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
71699     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
71700   echo $ECHO_N "(cached) $ECHO_C" >&6
71701 else
71702
71703
71704
71705       ac_ext=cc
71706 ac_cpp='$CXXCPP $CPPFLAGS'
71707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71710
71711       cat >conftest.$ac_ext <<_ACEOF
71712 /* confdefs.h.  */
71713 _ACEOF
71714 cat confdefs.h >>conftest.$ac_ext
71715 cat >>conftest.$ac_ext <<_ACEOF
71716 /* end confdefs.h.  */
71717 #include <math.h>
71718 int
71719 main ()
71720 {
71721  __builtin_sin(0);
71722   ;
71723   return 0;
71724 }
71725 _ACEOF
71726 rm -f conftest.$ac_objext
71727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71728   (eval $ac_compile) 2>conftest.er1
71729   ac_status=$?
71730   grep -v '^ *+' conftest.er1 >conftest.err
71731   rm -f conftest.er1
71732   cat conftest.err >&5
71733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71734   (exit $ac_status); } &&
71735          { ac_try='test -z "$ac_cxx_werror_flag"
71736                          || test ! -s conftest.err'
71737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71738   (eval $ac_try) 2>&5
71739   ac_status=$?
71740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71741   (exit $ac_status); }; } &&
71742          { ac_try='test -s conftest.$ac_objext'
71743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71744   (eval $ac_try) 2>&5
71745   ac_status=$?
71746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71747   (exit $ac_status); }; }; then
71748   glibcxx_cv_func___builtin_sin_use=yes
71749 else
71750   echo "$as_me: failed program was:" >&5
71751 sed 's/^/| /' conftest.$ac_ext >&5
71752
71753 glibcxx_cv_func___builtin_sin_use=no
71754 fi
71755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71756       ac_ext=c
71757 ac_cpp='$CPP $CPPFLAGS'
71758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71761
71762
71763 fi
71764
71765   fi
71766   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
71767 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
71768   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
71769     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
71770 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
71771     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
71772       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
71773   echo $ECHO_N "(cached) $ECHO_C" >&6
71774 else
71775
71776         if test x$gcc_no_link = xyes; then
71777   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71779    { (exit 1); exit 1; }; }
71780 fi
71781 cat >conftest.$ac_ext <<_ACEOF
71782 /* confdefs.h.  */
71783 _ACEOF
71784 cat confdefs.h >>conftest.$ac_ext
71785 cat >>conftest.$ac_ext <<_ACEOF
71786 /* end confdefs.h.  */
71787 #include <math.h>
71788 int
71789 main ()
71790 {
71791  __builtin_sin(0);
71792   ;
71793   return 0;
71794 }
71795 _ACEOF
71796 rm -f conftest.$ac_objext conftest$ac_exeext
71797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71798   (eval $ac_link) 2>conftest.er1
71799   ac_status=$?
71800   grep -v '^ *+' conftest.er1 >conftest.err
71801   rm -f conftest.er1
71802   cat conftest.err >&5
71803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71804   (exit $ac_status); } &&
71805          { ac_try='test -z "$ac_c_werror_flag"
71806                          || test ! -s conftest.err'
71807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71808   (eval $ac_try) 2>&5
71809   ac_status=$?
71810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71811   (exit $ac_status); }; } &&
71812          { ac_try='test -s conftest$ac_exeext'
71813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71814   (eval $ac_try) 2>&5
71815   ac_status=$?
71816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71817   (exit $ac_status); }; }; then
71818   glibcxx_cv_func___builtin_sin_link=yes
71819 else
71820   echo "$as_me: failed program was:" >&5
71821 sed 's/^/| /' conftest.$ac_ext >&5
71822
71823 glibcxx_cv_func___builtin_sin_link=no
71824 fi
71825 rm -f conftest.err conftest.$ac_objext \
71826       conftest$ac_exeext conftest.$ac_ext
71827
71828 fi
71829
71830     fi
71831     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
71832 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
71833
71834     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
71835
71836 cat >>confdefs.h <<\_ACEOF
71837 #define HAVE___BUILTIN_SIN 1
71838 _ACEOF
71839
71840     fi
71841
71842   fi
71843
71844
71845   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
71846 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
71847   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
71848     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
71849   echo $ECHO_N "(cached) $ECHO_C" >&6
71850 else
71851
71852
71853
71854       ac_ext=cc
71855 ac_cpp='$CXXCPP $CPPFLAGS'
71856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71859
71860       cat >conftest.$ac_ext <<_ACEOF
71861 /* confdefs.h.  */
71862 _ACEOF
71863 cat confdefs.h >>conftest.$ac_ext
71864 cat >>conftest.$ac_ext <<_ACEOF
71865 /* end confdefs.h.  */
71866 #include <math.h>
71867 int
71868 main ()
71869 {
71870  __builtin_sinl(0);
71871   ;
71872   return 0;
71873 }
71874 _ACEOF
71875 rm -f conftest.$ac_objext
71876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71877   (eval $ac_compile) 2>conftest.er1
71878   ac_status=$?
71879   grep -v '^ *+' conftest.er1 >conftest.err
71880   rm -f conftest.er1
71881   cat conftest.err >&5
71882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71883   (exit $ac_status); } &&
71884          { ac_try='test -z "$ac_cxx_werror_flag"
71885                          || test ! -s conftest.err'
71886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71887   (eval $ac_try) 2>&5
71888   ac_status=$?
71889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71890   (exit $ac_status); }; } &&
71891          { ac_try='test -s conftest.$ac_objext'
71892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71893   (eval $ac_try) 2>&5
71894   ac_status=$?
71895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71896   (exit $ac_status); }; }; then
71897   glibcxx_cv_func___builtin_sinl_use=yes
71898 else
71899   echo "$as_me: failed program was:" >&5
71900 sed 's/^/| /' conftest.$ac_ext >&5
71901
71902 glibcxx_cv_func___builtin_sinl_use=no
71903 fi
71904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71905       ac_ext=c
71906 ac_cpp='$CPP $CPPFLAGS'
71907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71910
71911
71912 fi
71913
71914   fi
71915   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
71916 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
71917   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
71918     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
71919 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
71920     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
71921       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
71922   echo $ECHO_N "(cached) $ECHO_C" >&6
71923 else
71924
71925         if test x$gcc_no_link = xyes; then
71926   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71928    { (exit 1); exit 1; }; }
71929 fi
71930 cat >conftest.$ac_ext <<_ACEOF
71931 /* confdefs.h.  */
71932 _ACEOF
71933 cat confdefs.h >>conftest.$ac_ext
71934 cat >>conftest.$ac_ext <<_ACEOF
71935 /* end confdefs.h.  */
71936 #include <math.h>
71937 int
71938 main ()
71939 {
71940  __builtin_sinl(0);
71941   ;
71942   return 0;
71943 }
71944 _ACEOF
71945 rm -f conftest.$ac_objext conftest$ac_exeext
71946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71947   (eval $ac_link) 2>conftest.er1
71948   ac_status=$?
71949   grep -v '^ *+' conftest.er1 >conftest.err
71950   rm -f conftest.er1
71951   cat conftest.err >&5
71952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71953   (exit $ac_status); } &&
71954          { ac_try='test -z "$ac_c_werror_flag"
71955                          || test ! -s conftest.err'
71956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71957   (eval $ac_try) 2>&5
71958   ac_status=$?
71959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71960   (exit $ac_status); }; } &&
71961          { ac_try='test -s conftest$ac_exeext'
71962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71963   (eval $ac_try) 2>&5
71964   ac_status=$?
71965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71966   (exit $ac_status); }; }; then
71967   glibcxx_cv_func___builtin_sinl_link=yes
71968 else
71969   echo "$as_me: failed program was:" >&5
71970 sed 's/^/| /' conftest.$ac_ext >&5
71971
71972 glibcxx_cv_func___builtin_sinl_link=no
71973 fi
71974 rm -f conftest.err conftest.$ac_objext \
71975       conftest$ac_exeext conftest.$ac_ext
71976
71977 fi
71978
71979     fi
71980     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
71981 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
71982
71983     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
71984
71985 cat >>confdefs.h <<\_ACEOF
71986 #define HAVE___BUILTIN_SINL 1
71987 _ACEOF
71988
71989     fi
71990
71991   fi
71992
71993
71994
71995   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
71996 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
71997   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
71998     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
71999   echo $ECHO_N "(cached) $ECHO_C" >&6
72000 else
72001
72002
72003
72004       ac_ext=cc
72005 ac_cpp='$CXXCPP $CPPFLAGS'
72006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72009
72010       cat >conftest.$ac_ext <<_ACEOF
72011 /* confdefs.h.  */
72012 _ACEOF
72013 cat confdefs.h >>conftest.$ac_ext
72014 cat >>conftest.$ac_ext <<_ACEOF
72015 /* end confdefs.h.  */
72016 #include <math.h>
72017 int
72018 main ()
72019 {
72020  __builtin_cosf(0);
72021   ;
72022   return 0;
72023 }
72024 _ACEOF
72025 rm -f conftest.$ac_objext
72026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72027   (eval $ac_compile) 2>conftest.er1
72028   ac_status=$?
72029   grep -v '^ *+' conftest.er1 >conftest.err
72030   rm -f conftest.er1
72031   cat conftest.err >&5
72032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72033   (exit $ac_status); } &&
72034          { ac_try='test -z "$ac_cxx_werror_flag"
72035                          || test ! -s conftest.err'
72036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72037   (eval $ac_try) 2>&5
72038   ac_status=$?
72039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72040   (exit $ac_status); }; } &&
72041          { ac_try='test -s conftest.$ac_objext'
72042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72043   (eval $ac_try) 2>&5
72044   ac_status=$?
72045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72046   (exit $ac_status); }; }; then
72047   glibcxx_cv_func___builtin_cosf_use=yes
72048 else
72049   echo "$as_me: failed program was:" >&5
72050 sed 's/^/| /' conftest.$ac_ext >&5
72051
72052 glibcxx_cv_func___builtin_cosf_use=no
72053 fi
72054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72055       ac_ext=c
72056 ac_cpp='$CPP $CPPFLAGS'
72057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72060
72061
72062 fi
72063
72064   fi
72065   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
72066 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
72067   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
72068     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
72069 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
72070     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
72071       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
72072   echo $ECHO_N "(cached) $ECHO_C" >&6
72073 else
72074
72075         if test x$gcc_no_link = xyes; then
72076   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72078    { (exit 1); exit 1; }; }
72079 fi
72080 cat >conftest.$ac_ext <<_ACEOF
72081 /* confdefs.h.  */
72082 _ACEOF
72083 cat confdefs.h >>conftest.$ac_ext
72084 cat >>conftest.$ac_ext <<_ACEOF
72085 /* end confdefs.h.  */
72086 #include <math.h>
72087 int
72088 main ()
72089 {
72090  __builtin_cosf(0);
72091   ;
72092   return 0;
72093 }
72094 _ACEOF
72095 rm -f conftest.$ac_objext conftest$ac_exeext
72096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72097   (eval $ac_link) 2>conftest.er1
72098   ac_status=$?
72099   grep -v '^ *+' conftest.er1 >conftest.err
72100   rm -f conftest.er1
72101   cat conftest.err >&5
72102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72103   (exit $ac_status); } &&
72104          { ac_try='test -z "$ac_c_werror_flag"
72105                          || test ! -s conftest.err'
72106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72107   (eval $ac_try) 2>&5
72108   ac_status=$?
72109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72110   (exit $ac_status); }; } &&
72111          { ac_try='test -s conftest$ac_exeext'
72112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72113   (eval $ac_try) 2>&5
72114   ac_status=$?
72115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72116   (exit $ac_status); }; }; then
72117   glibcxx_cv_func___builtin_cosf_link=yes
72118 else
72119   echo "$as_me: failed program was:" >&5
72120 sed 's/^/| /' conftest.$ac_ext >&5
72121
72122 glibcxx_cv_func___builtin_cosf_link=no
72123 fi
72124 rm -f conftest.err conftest.$ac_objext \
72125       conftest$ac_exeext conftest.$ac_ext
72126
72127 fi
72128
72129     fi
72130     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
72131 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
72132
72133     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
72134
72135 cat >>confdefs.h <<\_ACEOF
72136 #define HAVE___BUILTIN_COSF 1
72137 _ACEOF
72138
72139     fi
72140
72141   fi
72142
72143
72144   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
72145 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
72146   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
72147     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
72148   echo $ECHO_N "(cached) $ECHO_C" >&6
72149 else
72150
72151
72152
72153       ac_ext=cc
72154 ac_cpp='$CXXCPP $CPPFLAGS'
72155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72158
72159       cat >conftest.$ac_ext <<_ACEOF
72160 /* confdefs.h.  */
72161 _ACEOF
72162 cat confdefs.h >>conftest.$ac_ext
72163 cat >>conftest.$ac_ext <<_ACEOF
72164 /* end confdefs.h.  */
72165 #include <math.h>
72166 int
72167 main ()
72168 {
72169  __builtin_cos(0);
72170   ;
72171   return 0;
72172 }
72173 _ACEOF
72174 rm -f conftest.$ac_objext
72175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72176   (eval $ac_compile) 2>conftest.er1
72177   ac_status=$?
72178   grep -v '^ *+' conftest.er1 >conftest.err
72179   rm -f conftest.er1
72180   cat conftest.err >&5
72181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72182   (exit $ac_status); } &&
72183          { ac_try='test -z "$ac_cxx_werror_flag"
72184                          || test ! -s conftest.err'
72185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72186   (eval $ac_try) 2>&5
72187   ac_status=$?
72188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72189   (exit $ac_status); }; } &&
72190          { ac_try='test -s conftest.$ac_objext'
72191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72192   (eval $ac_try) 2>&5
72193   ac_status=$?
72194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72195   (exit $ac_status); }; }; then
72196   glibcxx_cv_func___builtin_cos_use=yes
72197 else
72198   echo "$as_me: failed program was:" >&5
72199 sed 's/^/| /' conftest.$ac_ext >&5
72200
72201 glibcxx_cv_func___builtin_cos_use=no
72202 fi
72203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72204       ac_ext=c
72205 ac_cpp='$CPP $CPPFLAGS'
72206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72209
72210
72211 fi
72212
72213   fi
72214   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
72215 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
72216   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
72217     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
72218 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
72219     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
72220       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
72221   echo $ECHO_N "(cached) $ECHO_C" >&6
72222 else
72223
72224         if test x$gcc_no_link = xyes; then
72225   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72227    { (exit 1); exit 1; }; }
72228 fi
72229 cat >conftest.$ac_ext <<_ACEOF
72230 /* confdefs.h.  */
72231 _ACEOF
72232 cat confdefs.h >>conftest.$ac_ext
72233 cat >>conftest.$ac_ext <<_ACEOF
72234 /* end confdefs.h.  */
72235 #include <math.h>
72236 int
72237 main ()
72238 {
72239  __builtin_cos(0);
72240   ;
72241   return 0;
72242 }
72243 _ACEOF
72244 rm -f conftest.$ac_objext conftest$ac_exeext
72245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72246   (eval $ac_link) 2>conftest.er1
72247   ac_status=$?
72248   grep -v '^ *+' conftest.er1 >conftest.err
72249   rm -f conftest.er1
72250   cat conftest.err >&5
72251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72252   (exit $ac_status); } &&
72253          { ac_try='test -z "$ac_c_werror_flag"
72254                          || test ! -s conftest.err'
72255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72256   (eval $ac_try) 2>&5
72257   ac_status=$?
72258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72259   (exit $ac_status); }; } &&
72260          { ac_try='test -s conftest$ac_exeext'
72261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72262   (eval $ac_try) 2>&5
72263   ac_status=$?
72264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72265   (exit $ac_status); }; }; then
72266   glibcxx_cv_func___builtin_cos_link=yes
72267 else
72268   echo "$as_me: failed program was:" >&5
72269 sed 's/^/| /' conftest.$ac_ext >&5
72270
72271 glibcxx_cv_func___builtin_cos_link=no
72272 fi
72273 rm -f conftest.err conftest.$ac_objext \
72274       conftest$ac_exeext conftest.$ac_ext
72275
72276 fi
72277
72278     fi
72279     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
72280 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
72281
72282     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
72283
72284 cat >>confdefs.h <<\_ACEOF
72285 #define HAVE___BUILTIN_COS 1
72286 _ACEOF
72287
72288     fi
72289
72290   fi
72291
72292
72293   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
72294 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
72295   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
72296     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
72297   echo $ECHO_N "(cached) $ECHO_C" >&6
72298 else
72299
72300
72301
72302       ac_ext=cc
72303 ac_cpp='$CXXCPP $CPPFLAGS'
72304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72307
72308       cat >conftest.$ac_ext <<_ACEOF
72309 /* confdefs.h.  */
72310 _ACEOF
72311 cat confdefs.h >>conftest.$ac_ext
72312 cat >>conftest.$ac_ext <<_ACEOF
72313 /* end confdefs.h.  */
72314 #include <math.h>
72315 int
72316 main ()
72317 {
72318  __builtin_cosl(0);
72319   ;
72320   return 0;
72321 }
72322 _ACEOF
72323 rm -f conftest.$ac_objext
72324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72325   (eval $ac_compile) 2>conftest.er1
72326   ac_status=$?
72327   grep -v '^ *+' conftest.er1 >conftest.err
72328   rm -f conftest.er1
72329   cat conftest.err >&5
72330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72331   (exit $ac_status); } &&
72332          { ac_try='test -z "$ac_cxx_werror_flag"
72333                          || test ! -s conftest.err'
72334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72335   (eval $ac_try) 2>&5
72336   ac_status=$?
72337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72338   (exit $ac_status); }; } &&
72339          { ac_try='test -s conftest.$ac_objext'
72340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72341   (eval $ac_try) 2>&5
72342   ac_status=$?
72343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72344   (exit $ac_status); }; }; then
72345   glibcxx_cv_func___builtin_cosl_use=yes
72346 else
72347   echo "$as_me: failed program was:" >&5
72348 sed 's/^/| /' conftest.$ac_ext >&5
72349
72350 glibcxx_cv_func___builtin_cosl_use=no
72351 fi
72352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72353       ac_ext=c
72354 ac_cpp='$CPP $CPPFLAGS'
72355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72358
72359
72360 fi
72361
72362   fi
72363   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
72364 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
72365   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
72366     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
72367 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
72368     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
72369       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
72370   echo $ECHO_N "(cached) $ECHO_C" >&6
72371 else
72372
72373         if test x$gcc_no_link = xyes; then
72374   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72376    { (exit 1); exit 1; }; }
72377 fi
72378 cat >conftest.$ac_ext <<_ACEOF
72379 /* confdefs.h.  */
72380 _ACEOF
72381 cat confdefs.h >>conftest.$ac_ext
72382 cat >>conftest.$ac_ext <<_ACEOF
72383 /* end confdefs.h.  */
72384 #include <math.h>
72385 int
72386 main ()
72387 {
72388  __builtin_cosl(0);
72389   ;
72390   return 0;
72391 }
72392 _ACEOF
72393 rm -f conftest.$ac_objext conftest$ac_exeext
72394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72395   (eval $ac_link) 2>conftest.er1
72396   ac_status=$?
72397   grep -v '^ *+' conftest.er1 >conftest.err
72398   rm -f conftest.er1
72399   cat conftest.err >&5
72400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72401   (exit $ac_status); } &&
72402          { ac_try='test -z "$ac_c_werror_flag"
72403                          || test ! -s conftest.err'
72404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72405   (eval $ac_try) 2>&5
72406   ac_status=$?
72407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72408   (exit $ac_status); }; } &&
72409          { ac_try='test -s conftest$ac_exeext'
72410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72411   (eval $ac_try) 2>&5
72412   ac_status=$?
72413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72414   (exit $ac_status); }; }; then
72415   glibcxx_cv_func___builtin_cosl_link=yes
72416 else
72417   echo "$as_me: failed program was:" >&5
72418 sed 's/^/| /' conftest.$ac_ext >&5
72419
72420 glibcxx_cv_func___builtin_cosl_link=no
72421 fi
72422 rm -f conftest.err conftest.$ac_objext \
72423       conftest$ac_exeext conftest.$ac_ext
72424
72425 fi
72426
72427     fi
72428     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
72429 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
72430
72431     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
72432
72433 cat >>confdefs.h <<\_ACEOF
72434 #define HAVE___BUILTIN_COSL 1
72435 _ACEOF
72436
72437     fi
72438
72439   fi
72440
72441
72442
72443
72444 echo "$as_me:$LINENO: checking for main in -lm" >&5
72445 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
72446 if test "${ac_cv_lib_m_main+set}" = set; then
72447   echo $ECHO_N "(cached) $ECHO_C" >&6
72448 else
72449   ac_check_lib_save_LIBS=$LIBS
72450 LIBS="-lm  $LIBS"
72451 if test x$gcc_no_link = xyes; then
72452   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72454    { (exit 1); exit 1; }; }
72455 fi
72456 cat >conftest.$ac_ext <<_ACEOF
72457 /* confdefs.h.  */
72458 _ACEOF
72459 cat confdefs.h >>conftest.$ac_ext
72460 cat >>conftest.$ac_ext <<_ACEOF
72461 /* end confdefs.h.  */
72462
72463
72464 int
72465 main ()
72466 {
72467 main ();
72468   ;
72469   return 0;
72470 }
72471 _ACEOF
72472 rm -f conftest.$ac_objext conftest$ac_exeext
72473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72474   (eval $ac_link) 2>conftest.er1
72475   ac_status=$?
72476   grep -v '^ *+' conftest.er1 >conftest.err
72477   rm -f conftest.er1
72478   cat conftest.err >&5
72479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72480   (exit $ac_status); } &&
72481          { ac_try='test -z "$ac_c_werror_flag"
72482                          || test ! -s conftest.err'
72483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72484   (eval $ac_try) 2>&5
72485   ac_status=$?
72486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72487   (exit $ac_status); }; } &&
72488          { ac_try='test -s conftest$ac_exeext'
72489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72490   (eval $ac_try) 2>&5
72491   ac_status=$?
72492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72493   (exit $ac_status); }; }; then
72494   ac_cv_lib_m_main=yes
72495 else
72496   echo "$as_me: failed program was:" >&5
72497 sed 's/^/| /' conftest.$ac_ext >&5
72498
72499 ac_cv_lib_m_main=no
72500 fi
72501 rm -f conftest.err conftest.$ac_objext \
72502       conftest$ac_exeext conftest.$ac_ext
72503 LIBS=$ac_check_lib_save_LIBS
72504 fi
72505 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
72506 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
72507 if test $ac_cv_lib_m_main = yes; then
72508   cat >>confdefs.h <<_ACEOF
72509 #define HAVE_LIBM 1
72510 _ACEOF
72511
72512   LIBS="-lm $LIBS"
72513
72514 fi
72515
72516
72517 for ac_func in copysignf
72518 do
72519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72520 echo "$as_me:$LINENO: checking for $ac_func" >&5
72521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72522 if eval "test \"\${$as_ac_var+set}\" = set"; then
72523   echo $ECHO_N "(cached) $ECHO_C" >&6
72524 else
72525   if test x$gcc_no_link = xyes; then
72526   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72528    { (exit 1); exit 1; }; }
72529 fi
72530 cat >conftest.$ac_ext <<_ACEOF
72531 /* confdefs.h.  */
72532 _ACEOF
72533 cat confdefs.h >>conftest.$ac_ext
72534 cat >>conftest.$ac_ext <<_ACEOF
72535 /* end confdefs.h.  */
72536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72537    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72538 #define $ac_func innocuous_$ac_func
72539
72540 /* System header to define __stub macros and hopefully few prototypes,
72541     which can conflict with char $ac_func (); below.
72542     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72543     <limits.h> exists even on freestanding compilers.  */
72544
72545 #ifdef __STDC__
72546 # include <limits.h>
72547 #else
72548 # include <assert.h>
72549 #endif
72550
72551 #undef $ac_func
72552
72553 /* Override any gcc2 internal prototype to avoid an error.  */
72554 #ifdef __cplusplus
72555 extern "C"
72556 {
72557 #endif
72558 /* We use char because int might match the return type of a gcc2
72559    builtin and then its argument prototype would still apply.  */
72560 char $ac_func ();
72561 /* The GNU C library defines this for functions which it implements
72562     to always fail with ENOSYS.  Some functions are actually named
72563     something starting with __ and the normal name is an alias.  */
72564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72565 choke me
72566 #else
72567 char (*f) () = $ac_func;
72568 #endif
72569 #ifdef __cplusplus
72570 }
72571 #endif
72572
72573 int
72574 main ()
72575 {
72576 return f != $ac_func;
72577   ;
72578   return 0;
72579 }
72580 _ACEOF
72581 rm -f conftest.$ac_objext conftest$ac_exeext
72582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72583   (eval $ac_link) 2>conftest.er1
72584   ac_status=$?
72585   grep -v '^ *+' conftest.er1 >conftest.err
72586   rm -f conftest.er1
72587   cat conftest.err >&5
72588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72589   (exit $ac_status); } &&
72590          { ac_try='test -z "$ac_c_werror_flag"
72591                          || test ! -s conftest.err'
72592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72593   (eval $ac_try) 2>&5
72594   ac_status=$?
72595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72596   (exit $ac_status); }; } &&
72597          { ac_try='test -s conftest$ac_exeext'
72598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72599   (eval $ac_try) 2>&5
72600   ac_status=$?
72601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72602   (exit $ac_status); }; }; then
72603   eval "$as_ac_var=yes"
72604 else
72605   echo "$as_me: failed program was:" >&5
72606 sed 's/^/| /' conftest.$ac_ext >&5
72607
72608 eval "$as_ac_var=no"
72609 fi
72610 rm -f conftest.err conftest.$ac_objext \
72611       conftest$ac_exeext conftest.$ac_ext
72612 fi
72613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72615 if test `eval echo '${'$as_ac_var'}'` = yes; then
72616   cat >>confdefs.h <<_ACEOF
72617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72618 _ACEOF
72619
72620 else
72621   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
72622 fi
72623 done
72624
72625
72626
72627 for ac_func in __signbit
72628 do
72629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72630 echo "$as_me:$LINENO: checking for $ac_func" >&5
72631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72632 if eval "test \"\${$as_ac_var+set}\" = set"; then
72633   echo $ECHO_N "(cached) $ECHO_C" >&6
72634 else
72635   if test x$gcc_no_link = xyes; then
72636   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72638    { (exit 1); exit 1; }; }
72639 fi
72640 cat >conftest.$ac_ext <<_ACEOF
72641 /* confdefs.h.  */
72642 _ACEOF
72643 cat confdefs.h >>conftest.$ac_ext
72644 cat >>conftest.$ac_ext <<_ACEOF
72645 /* end confdefs.h.  */
72646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72647    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72648 #define $ac_func innocuous_$ac_func
72649
72650 /* System header to define __stub macros and hopefully few prototypes,
72651     which can conflict with char $ac_func (); below.
72652     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72653     <limits.h> exists even on freestanding compilers.  */
72654
72655 #ifdef __STDC__
72656 # include <limits.h>
72657 #else
72658 # include <assert.h>
72659 #endif
72660
72661 #undef $ac_func
72662
72663 /* Override any gcc2 internal prototype to avoid an error.  */
72664 #ifdef __cplusplus
72665 extern "C"
72666 {
72667 #endif
72668 /* We use char because int might match the return type of a gcc2
72669    builtin and then its argument prototype would still apply.  */
72670 char $ac_func ();
72671 /* The GNU C library defines this for functions which it implements
72672     to always fail with ENOSYS.  Some functions are actually named
72673     something starting with __ and the normal name is an alias.  */
72674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72675 choke me
72676 #else
72677 char (*f) () = $ac_func;
72678 #endif
72679 #ifdef __cplusplus
72680 }
72681 #endif
72682
72683 int
72684 main ()
72685 {
72686 return f != $ac_func;
72687   ;
72688   return 0;
72689 }
72690 _ACEOF
72691 rm -f conftest.$ac_objext conftest$ac_exeext
72692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72693   (eval $ac_link) 2>conftest.er1
72694   ac_status=$?
72695   grep -v '^ *+' conftest.er1 >conftest.err
72696   rm -f conftest.er1
72697   cat conftest.err >&5
72698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72699   (exit $ac_status); } &&
72700          { ac_try='test -z "$ac_c_werror_flag"
72701                          || test ! -s conftest.err'
72702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72703   (eval $ac_try) 2>&5
72704   ac_status=$?
72705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72706   (exit $ac_status); }; } &&
72707          { ac_try='test -s conftest$ac_exeext'
72708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72709   (eval $ac_try) 2>&5
72710   ac_status=$?
72711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72712   (exit $ac_status); }; }; then
72713   eval "$as_ac_var=yes"
72714 else
72715   echo "$as_me: failed program was:" >&5
72716 sed 's/^/| /' conftest.$ac_ext >&5
72717
72718 eval "$as_ac_var=no"
72719 fi
72720 rm -f conftest.err conftest.$ac_objext \
72721       conftest$ac_exeext conftest.$ac_ext
72722 fi
72723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72725 if test `eval echo '${'$as_ac_var'}'` = yes; then
72726   cat >>confdefs.h <<_ACEOF
72727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72728 _ACEOF
72729
72730 else
72731   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72732 fi
72733 done
72734
72735
72736
72737 for ac_func in __signbitf
72738 do
72739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72740 echo "$as_me:$LINENO: checking for $ac_func" >&5
72741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72742 if eval "test \"\${$as_ac_var+set}\" = set"; then
72743   echo $ECHO_N "(cached) $ECHO_C" >&6
72744 else
72745   if test x$gcc_no_link = xyes; then
72746   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72748    { (exit 1); exit 1; }; }
72749 fi
72750 cat >conftest.$ac_ext <<_ACEOF
72751 /* confdefs.h.  */
72752 _ACEOF
72753 cat confdefs.h >>conftest.$ac_ext
72754 cat >>conftest.$ac_ext <<_ACEOF
72755 /* end confdefs.h.  */
72756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72757    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72758 #define $ac_func innocuous_$ac_func
72759
72760 /* System header to define __stub macros and hopefully few prototypes,
72761     which can conflict with char $ac_func (); below.
72762     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72763     <limits.h> exists even on freestanding compilers.  */
72764
72765 #ifdef __STDC__
72766 # include <limits.h>
72767 #else
72768 # include <assert.h>
72769 #endif
72770
72771 #undef $ac_func
72772
72773 /* Override any gcc2 internal prototype to avoid an error.  */
72774 #ifdef __cplusplus
72775 extern "C"
72776 {
72777 #endif
72778 /* We use char because int might match the return type of a gcc2
72779    builtin and then its argument prototype would still apply.  */
72780 char $ac_func ();
72781 /* The GNU C library defines this for functions which it implements
72782     to always fail with ENOSYS.  Some functions are actually named
72783     something starting with __ and the normal name is an alias.  */
72784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72785 choke me
72786 #else
72787 char (*f) () = $ac_func;
72788 #endif
72789 #ifdef __cplusplus
72790 }
72791 #endif
72792
72793 int
72794 main ()
72795 {
72796 return f != $ac_func;
72797   ;
72798   return 0;
72799 }
72800 _ACEOF
72801 rm -f conftest.$ac_objext conftest$ac_exeext
72802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72803   (eval $ac_link) 2>conftest.er1
72804   ac_status=$?
72805   grep -v '^ *+' conftest.er1 >conftest.err
72806   rm -f conftest.er1
72807   cat conftest.err >&5
72808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72809   (exit $ac_status); } &&
72810          { ac_try='test -z "$ac_c_werror_flag"
72811                          || test ! -s conftest.err'
72812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72813   (eval $ac_try) 2>&5
72814   ac_status=$?
72815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72816   (exit $ac_status); }; } &&
72817          { ac_try='test -s conftest$ac_exeext'
72818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72819   (eval $ac_try) 2>&5
72820   ac_status=$?
72821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72822   (exit $ac_status); }; }; then
72823   eval "$as_ac_var=yes"
72824 else
72825   echo "$as_me: failed program was:" >&5
72826 sed 's/^/| /' conftest.$ac_ext >&5
72827
72828 eval "$as_ac_var=no"
72829 fi
72830 rm -f conftest.err conftest.$ac_objext \
72831       conftest$ac_exeext conftest.$ac_ext
72832 fi
72833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72835 if test `eval echo '${'$as_ac_var'}'` = yes; then
72836   cat >>confdefs.h <<_ACEOF
72837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72838 _ACEOF
72839
72840 else
72841   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
72842 fi
72843 done
72844
72845
72846           if test x$ac_cv_func_copysignl = x"yes"; then
72847
72848 for ac_func in __signbitl
72849 do
72850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72851 echo "$as_me:$LINENO: checking for $ac_func" >&5
72852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72853 if eval "test \"\${$as_ac_var+set}\" = set"; then
72854   echo $ECHO_N "(cached) $ECHO_C" >&6
72855 else
72856   if test x$gcc_no_link = xyes; then
72857   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72859    { (exit 1); exit 1; }; }
72860 fi
72861 cat >conftest.$ac_ext <<_ACEOF
72862 /* confdefs.h.  */
72863 _ACEOF
72864 cat confdefs.h >>conftest.$ac_ext
72865 cat >>conftest.$ac_ext <<_ACEOF
72866 /* end confdefs.h.  */
72867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72868    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72869 #define $ac_func innocuous_$ac_func
72870
72871 /* System header to define __stub macros and hopefully few prototypes,
72872     which can conflict with char $ac_func (); below.
72873     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72874     <limits.h> exists even on freestanding compilers.  */
72875
72876 #ifdef __STDC__
72877 # include <limits.h>
72878 #else
72879 # include <assert.h>
72880 #endif
72881
72882 #undef $ac_func
72883
72884 /* Override any gcc2 internal prototype to avoid an error.  */
72885 #ifdef __cplusplus
72886 extern "C"
72887 {
72888 #endif
72889 /* We use char because int might match the return type of a gcc2
72890    builtin and then its argument prototype would still apply.  */
72891 char $ac_func ();
72892 /* The GNU C library defines this for functions which it implements
72893     to always fail with ENOSYS.  Some functions are actually named
72894     something starting with __ and the normal name is an alias.  */
72895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72896 choke me
72897 #else
72898 char (*f) () = $ac_func;
72899 #endif
72900 #ifdef __cplusplus
72901 }
72902 #endif
72903
72904 int
72905 main ()
72906 {
72907 return f != $ac_func;
72908   ;
72909   return 0;
72910 }
72911 _ACEOF
72912 rm -f conftest.$ac_objext conftest$ac_exeext
72913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72914   (eval $ac_link) 2>conftest.er1
72915   ac_status=$?
72916   grep -v '^ *+' conftest.er1 >conftest.err
72917   rm -f conftest.er1
72918   cat conftest.err >&5
72919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72920   (exit $ac_status); } &&
72921          { ac_try='test -z "$ac_c_werror_flag"
72922                          || test ! -s conftest.err'
72923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72924   (eval $ac_try) 2>&5
72925   ac_status=$?
72926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72927   (exit $ac_status); }; } &&
72928          { ac_try='test -s conftest$ac_exeext'
72929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72930   (eval $ac_try) 2>&5
72931   ac_status=$?
72932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72933   (exit $ac_status); }; }; then
72934   eval "$as_ac_var=yes"
72935 else
72936   echo "$as_me: failed program was:" >&5
72937 sed 's/^/| /' conftest.$ac_ext >&5
72938
72939 eval "$as_ac_var=no"
72940 fi
72941 rm -f conftest.err conftest.$ac_objext \
72942       conftest$ac_exeext conftest.$ac_ext
72943 fi
72944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72946 if test `eval echo '${'$as_ac_var'}'` = yes; then
72947   cat >>confdefs.h <<_ACEOF
72948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72949 _ACEOF
72950
72951 else
72952   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
72953 fi
72954 done
72955
72956   fi
72957
72958   # Used in libmath/Makefile.am.
72959   if test -n "$LIBMATHOBJS"; then
72960     need_libmath=yes
72961   fi
72962
72963
72964
72965
72966   enable_iconv=no
72967   # Only continue checking if the ISO C99 headers exist and support is on.
72968   if test x"$enable_wchar_t" = xyes; then
72969
72970     # Use iconv for wchar_t to char conversions. As such, check for
72971     # X/Open Portability Guide, version 2 features (XPG2).
72972     if test "${ac_cv_header_iconv_h+set}" = set; then
72973   echo "$as_me:$LINENO: checking for iconv.h" >&5
72974 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
72975 if test "${ac_cv_header_iconv_h+set}" = set; then
72976   echo $ECHO_N "(cached) $ECHO_C" >&6
72977 fi
72978 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
72979 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
72980 else
72981   # Is the header compilable?
72982 echo "$as_me:$LINENO: checking iconv.h usability" >&5
72983 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
72984 cat >conftest.$ac_ext <<_ACEOF
72985 /* confdefs.h.  */
72986 _ACEOF
72987 cat confdefs.h >>conftest.$ac_ext
72988 cat >>conftest.$ac_ext <<_ACEOF
72989 /* end confdefs.h.  */
72990 $ac_includes_default
72991 #include <iconv.h>
72992 _ACEOF
72993 rm -f conftest.$ac_objext
72994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72995   (eval $ac_compile) 2>conftest.er1
72996   ac_status=$?
72997   grep -v '^ *+' conftest.er1 >conftest.err
72998   rm -f conftest.er1
72999   cat conftest.err >&5
73000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73001   (exit $ac_status); } &&
73002          { ac_try='test -z "$ac_c_werror_flag"
73003                          || test ! -s conftest.err'
73004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73005   (eval $ac_try) 2>&5
73006   ac_status=$?
73007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73008   (exit $ac_status); }; } &&
73009          { ac_try='test -s conftest.$ac_objext'
73010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73011   (eval $ac_try) 2>&5
73012   ac_status=$?
73013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73014   (exit $ac_status); }; }; then
73015   ac_header_compiler=yes
73016 else
73017   echo "$as_me: failed program was:" >&5
73018 sed 's/^/| /' conftest.$ac_ext >&5
73019
73020 ac_header_compiler=no
73021 fi
73022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73023 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73024 echo "${ECHO_T}$ac_header_compiler" >&6
73025
73026 # Is the header present?
73027 echo "$as_me:$LINENO: checking iconv.h presence" >&5
73028 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
73029 cat >conftest.$ac_ext <<_ACEOF
73030 /* confdefs.h.  */
73031 _ACEOF
73032 cat confdefs.h >>conftest.$ac_ext
73033 cat >>conftest.$ac_ext <<_ACEOF
73034 /* end confdefs.h.  */
73035 #include <iconv.h>
73036 _ACEOF
73037 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73038   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73039   ac_status=$?
73040   grep -v '^ *+' conftest.er1 >conftest.err
73041   rm -f conftest.er1
73042   cat conftest.err >&5
73043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73044   (exit $ac_status); } >/dev/null; then
73045   if test -s conftest.err; then
73046     ac_cpp_err=$ac_c_preproc_warn_flag
73047     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73048   else
73049     ac_cpp_err=
73050   fi
73051 else
73052   ac_cpp_err=yes
73053 fi
73054 if test -z "$ac_cpp_err"; then
73055   ac_header_preproc=yes
73056 else
73057   echo "$as_me: failed program was:" >&5
73058 sed 's/^/| /' conftest.$ac_ext >&5
73059
73060   ac_header_preproc=no
73061 fi
73062 rm -f conftest.err conftest.$ac_ext
73063 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73064 echo "${ECHO_T}$ac_header_preproc" >&6
73065
73066 # So?  What about this header?
73067 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73068   yes:no: )
73069     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
73070 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73071     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
73072 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
73073     ac_header_preproc=yes
73074     ;;
73075   no:yes:* )
73076     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
73077 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
73078     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
73079 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
73080     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
73081 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
73082     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
73083 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
73084     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
73085 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
73086     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
73087 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
73088     (
73089       cat <<\_ASBOX
73090 ## ----------------------------------------- ##
73091 ## Report this to the package-unused lists.  ##
73092 ## ----------------------------------------- ##
73093 _ASBOX
73094     ) |
73095       sed "s/^/$as_me: WARNING:     /" >&2
73096     ;;
73097 esac
73098 echo "$as_me:$LINENO: checking for iconv.h" >&5
73099 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73100 if test "${ac_cv_header_iconv_h+set}" = set; then
73101   echo $ECHO_N "(cached) $ECHO_C" >&6
73102 else
73103   ac_cv_header_iconv_h=$ac_header_preproc
73104 fi
73105 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73106 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73107
73108 fi
73109 if test $ac_cv_header_iconv_h = yes; then
73110   ac_has_iconv_h=yes
73111 else
73112   ac_has_iconv_h=no
73113 fi
73114
73115
73116     if test "${ac_cv_header_langinfo_h+set}" = set; then
73117   echo "$as_me:$LINENO: checking for langinfo.h" >&5
73118 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73119 if test "${ac_cv_header_langinfo_h+set}" = set; then
73120   echo $ECHO_N "(cached) $ECHO_C" >&6
73121 fi
73122 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73123 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73124 else
73125   # Is the header compilable?
73126 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
73127 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
73128 cat >conftest.$ac_ext <<_ACEOF
73129 /* confdefs.h.  */
73130 _ACEOF
73131 cat confdefs.h >>conftest.$ac_ext
73132 cat >>conftest.$ac_ext <<_ACEOF
73133 /* end confdefs.h.  */
73134 $ac_includes_default
73135 #include <langinfo.h>
73136 _ACEOF
73137 rm -f conftest.$ac_objext
73138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73139   (eval $ac_compile) 2>conftest.er1
73140   ac_status=$?
73141   grep -v '^ *+' conftest.er1 >conftest.err
73142   rm -f conftest.er1
73143   cat conftest.err >&5
73144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73145   (exit $ac_status); } &&
73146          { ac_try='test -z "$ac_c_werror_flag"
73147                          || test ! -s conftest.err'
73148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73149   (eval $ac_try) 2>&5
73150   ac_status=$?
73151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73152   (exit $ac_status); }; } &&
73153          { ac_try='test -s conftest.$ac_objext'
73154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73155   (eval $ac_try) 2>&5
73156   ac_status=$?
73157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73158   (exit $ac_status); }; }; then
73159   ac_header_compiler=yes
73160 else
73161   echo "$as_me: failed program was:" >&5
73162 sed 's/^/| /' conftest.$ac_ext >&5
73163
73164 ac_header_compiler=no
73165 fi
73166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73167 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73168 echo "${ECHO_T}$ac_header_compiler" >&6
73169
73170 # Is the header present?
73171 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
73172 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
73173 cat >conftest.$ac_ext <<_ACEOF
73174 /* confdefs.h.  */
73175 _ACEOF
73176 cat confdefs.h >>conftest.$ac_ext
73177 cat >>conftest.$ac_ext <<_ACEOF
73178 /* end confdefs.h.  */
73179 #include <langinfo.h>
73180 _ACEOF
73181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73182   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73183   ac_status=$?
73184   grep -v '^ *+' conftest.er1 >conftest.err
73185   rm -f conftest.er1
73186   cat conftest.err >&5
73187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73188   (exit $ac_status); } >/dev/null; then
73189   if test -s conftest.err; then
73190     ac_cpp_err=$ac_c_preproc_warn_flag
73191     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73192   else
73193     ac_cpp_err=
73194   fi
73195 else
73196   ac_cpp_err=yes
73197 fi
73198 if test -z "$ac_cpp_err"; then
73199   ac_header_preproc=yes
73200 else
73201   echo "$as_me: failed program was:" >&5
73202 sed 's/^/| /' conftest.$ac_ext >&5
73203
73204   ac_header_preproc=no
73205 fi
73206 rm -f conftest.err conftest.$ac_ext
73207 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73208 echo "${ECHO_T}$ac_header_preproc" >&6
73209
73210 # So?  What about this header?
73211 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73212   yes:no: )
73213     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
73214 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73215     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
73216 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
73217     ac_header_preproc=yes
73218     ;;
73219   no:yes:* )
73220     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
73221 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
73222     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
73223 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
73224     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
73225 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
73226     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
73227 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
73228     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
73229 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
73230     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
73231 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
73232     (
73233       cat <<\_ASBOX
73234 ## ----------------------------------------- ##
73235 ## Report this to the package-unused lists.  ##
73236 ## ----------------------------------------- ##
73237 _ASBOX
73238     ) |
73239       sed "s/^/$as_me: WARNING:     /" >&2
73240     ;;
73241 esac
73242 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73243 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73244 if test "${ac_cv_header_langinfo_h+set}" = set; then
73245   echo $ECHO_N "(cached) $ECHO_C" >&6
73246 else
73247   ac_cv_header_langinfo_h=$ac_header_preproc
73248 fi
73249 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73250 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73251
73252 fi
73253 if test $ac_cv_header_langinfo_h = yes; then
73254   ac_has_langinfo_h=yes
73255 else
73256   ac_has_langinfo_h=no
73257 fi
73258
73259
73260
73261     # Check for existence of libiconv.a providing XPG2 wchar_t support.
73262     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
73263 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
73264 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
73265   echo $ECHO_N "(cached) $ECHO_C" >&6
73266 else
73267   ac_check_lib_save_LIBS=$LIBS
73268 LIBS="-liconv  $LIBS"
73269 if test x$gcc_no_link = xyes; then
73270   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73272    { (exit 1); exit 1; }; }
73273 fi
73274 cat >conftest.$ac_ext <<_ACEOF
73275 /* confdefs.h.  */
73276 _ACEOF
73277 cat confdefs.h >>conftest.$ac_ext
73278 cat >>conftest.$ac_ext <<_ACEOF
73279 /* end confdefs.h.  */
73280
73281 /* Override any gcc2 internal prototype to avoid an error.  */
73282 #ifdef __cplusplus
73283 extern "C"
73284 #endif
73285 /* We use char because int might match the return type of a gcc2
73286    builtin and then its argument prototype would still apply.  */
73287 char iconv ();
73288 int
73289 main ()
73290 {
73291 iconv ();
73292   ;
73293   return 0;
73294 }
73295 _ACEOF
73296 rm -f conftest.$ac_objext conftest$ac_exeext
73297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73298   (eval $ac_link) 2>conftest.er1
73299   ac_status=$?
73300   grep -v '^ *+' conftest.er1 >conftest.err
73301   rm -f conftest.er1
73302   cat conftest.err >&5
73303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73304   (exit $ac_status); } &&
73305          { ac_try='test -z "$ac_c_werror_flag"
73306                          || test ! -s conftest.err'
73307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73308   (eval $ac_try) 2>&5
73309   ac_status=$?
73310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73311   (exit $ac_status); }; } &&
73312          { ac_try='test -s conftest$ac_exeext'
73313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73314   (eval $ac_try) 2>&5
73315   ac_status=$?
73316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73317   (exit $ac_status); }; }; then
73318   ac_cv_lib_iconv_iconv=yes
73319 else
73320   echo "$as_me: failed program was:" >&5
73321 sed 's/^/| /' conftest.$ac_ext >&5
73322
73323 ac_cv_lib_iconv_iconv=no
73324 fi
73325 rm -f conftest.err conftest.$ac_objext \
73326       conftest$ac_exeext conftest.$ac_ext
73327 LIBS=$ac_check_lib_save_LIBS
73328 fi
73329 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
73330 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
73331 if test $ac_cv_lib_iconv_iconv = yes; then
73332   LIBICONV="-liconv"
73333 fi
73334
73335     ac_save_LIBS="$LIBS"
73336     LIBS="$LIBS $LIBICONV"
73337
73338
73339
73340
73341
73342
73343 for ac_func in iconv_open iconv_close iconv nl_langinfo
73344 do
73345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73346 echo "$as_me:$LINENO: checking for $ac_func" >&5
73347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73348 if eval "test \"\${$as_ac_var+set}\" = set"; then
73349   echo $ECHO_N "(cached) $ECHO_C" >&6
73350 else
73351   if test x$gcc_no_link = xyes; then
73352   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73354    { (exit 1); exit 1; }; }
73355 fi
73356 cat >conftest.$ac_ext <<_ACEOF
73357 /* confdefs.h.  */
73358 _ACEOF
73359 cat confdefs.h >>conftest.$ac_ext
73360 cat >>conftest.$ac_ext <<_ACEOF
73361 /* end confdefs.h.  */
73362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73363    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73364 #define $ac_func innocuous_$ac_func
73365
73366 /* System header to define __stub macros and hopefully few prototypes,
73367     which can conflict with char $ac_func (); below.
73368     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73369     <limits.h> exists even on freestanding compilers.  */
73370
73371 #ifdef __STDC__
73372 # include <limits.h>
73373 #else
73374 # include <assert.h>
73375 #endif
73376
73377 #undef $ac_func
73378
73379 /* Override any gcc2 internal prototype to avoid an error.  */
73380 #ifdef __cplusplus
73381 extern "C"
73382 {
73383 #endif
73384 /* We use char because int might match the return type of a gcc2
73385    builtin and then its argument prototype would still apply.  */
73386 char $ac_func ();
73387 /* The GNU C library defines this for functions which it implements
73388     to always fail with ENOSYS.  Some functions are actually named
73389     something starting with __ and the normal name is an alias.  */
73390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73391 choke me
73392 #else
73393 char (*f) () = $ac_func;
73394 #endif
73395 #ifdef __cplusplus
73396 }
73397 #endif
73398
73399 int
73400 main ()
73401 {
73402 return f != $ac_func;
73403   ;
73404   return 0;
73405 }
73406 _ACEOF
73407 rm -f conftest.$ac_objext conftest$ac_exeext
73408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73409   (eval $ac_link) 2>conftest.er1
73410   ac_status=$?
73411   grep -v '^ *+' conftest.er1 >conftest.err
73412   rm -f conftest.er1
73413   cat conftest.err >&5
73414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73415   (exit $ac_status); } &&
73416          { ac_try='test -z "$ac_c_werror_flag"
73417                          || test ! -s conftest.err'
73418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73419   (eval $ac_try) 2>&5
73420   ac_status=$?
73421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73422   (exit $ac_status); }; } &&
73423          { ac_try='test -s conftest$ac_exeext'
73424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73425   (eval $ac_try) 2>&5
73426   ac_status=$?
73427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73428   (exit $ac_status); }; }; then
73429   eval "$as_ac_var=yes"
73430 else
73431   echo "$as_me: failed program was:" >&5
73432 sed 's/^/| /' conftest.$ac_ext >&5
73433
73434 eval "$as_ac_var=no"
73435 fi
73436 rm -f conftest.err conftest.$ac_objext \
73437       conftest$ac_exeext conftest.$ac_ext
73438 fi
73439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73441 if test `eval echo '${'$as_ac_var'}'` = yes; then
73442   cat >>confdefs.h <<_ACEOF
73443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73444 _ACEOF
73445  ac_XPG2funcs=yes
73446 else
73447   ac_XPG2funcs=no
73448 fi
73449 done
73450
73451
73452     LIBS="$ac_save_LIBS"
73453
73454     if test x"$ac_has_iconv_h" = xyes &&
73455        test x"$ac_has_langinfo_h" = xyes &&
73456        test x"$ac_XPG2funcs" = xyes;
73457     then
73458
73459 cat >>confdefs.h <<\_ACEOF
73460 #define _GLIBCXX_USE_ICONV 1
73461 _ACEOF
73462
73463       enable_iconv=yes
73464     fi
73465   fi
73466   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
73467 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
73468   echo "$as_me:$LINENO: result: $enable_iconv" >&5
73469 echo "${ECHO_T}$enable_iconv" >&6
73470
73471
73472   ac_test_CXXFLAGS="${CXXFLAGS+set}"
73473   ac_save_CXXFLAGS="$CXXFLAGS"
73474   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
73475
73476
73477   echo "$as_me:$LINENO: checking for strtold declaration" >&5
73478 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
73479   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
73480     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
73481   echo $ECHO_N "(cached) $ECHO_C" >&6
73482 else
73483
73484
73485
73486       ac_ext=cc
73487 ac_cpp='$CXXCPP $CPPFLAGS'
73488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73491
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 <stdlib.h>
73499 int
73500 main ()
73501 {
73502  strtold(0, 0);
73503   ;
73504   return 0;
73505 }
73506 _ACEOF
73507 rm -f conftest.$ac_objext
73508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73509   (eval $ac_compile) 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_cxx_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_objext'
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_strtold_use=yes
73530 else
73531   echo "$as_me: failed program was:" >&5
73532 sed 's/^/| /' conftest.$ac_ext >&5
73533
73534 glibcxx_cv_func_strtold_use=no
73535 fi
73536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73537       ac_ext=c
73538 ac_cpp='$CPP $CPPFLAGS'
73539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73542
73543
73544 fi
73545
73546   fi
73547   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
73548 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
73549   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
73550
73551 for ac_func in strtold
73552 do
73553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73554 echo "$as_me:$LINENO: checking for $ac_func" >&5
73555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73556 if eval "test \"\${$as_ac_var+set}\" = set"; then
73557   echo $ECHO_N "(cached) $ECHO_C" >&6
73558 else
73559   if test x$gcc_no_link = xyes; then
73560   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73562    { (exit 1); exit 1; }; }
73563 fi
73564 cat >conftest.$ac_ext <<_ACEOF
73565 /* confdefs.h.  */
73566 _ACEOF
73567 cat confdefs.h >>conftest.$ac_ext
73568 cat >>conftest.$ac_ext <<_ACEOF
73569 /* end confdefs.h.  */
73570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73571    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73572 #define $ac_func innocuous_$ac_func
73573
73574 /* System header to define __stub macros and hopefully few prototypes,
73575     which can conflict with char $ac_func (); below.
73576     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73577     <limits.h> exists even on freestanding compilers.  */
73578
73579 #ifdef __STDC__
73580 # include <limits.h>
73581 #else
73582 # include <assert.h>
73583 #endif
73584
73585 #undef $ac_func
73586
73587 /* Override any gcc2 internal prototype to avoid an error.  */
73588 #ifdef __cplusplus
73589 extern "C"
73590 {
73591 #endif
73592 /* We use char because int might match the return type of a gcc2
73593    builtin and then its argument prototype would still apply.  */
73594 char $ac_func ();
73595 /* The GNU C library defines this for functions which it implements
73596     to always fail with ENOSYS.  Some functions are actually named
73597     something starting with __ and the normal name is an alias.  */
73598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73599 choke me
73600 #else
73601 char (*f) () = $ac_func;
73602 #endif
73603 #ifdef __cplusplus
73604 }
73605 #endif
73606
73607 int
73608 main ()
73609 {
73610 return f != $ac_func;
73611   ;
73612   return 0;
73613 }
73614 _ACEOF
73615 rm -f conftest.$ac_objext conftest$ac_exeext
73616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73617   (eval $ac_link) 2>conftest.er1
73618   ac_status=$?
73619   grep -v '^ *+' conftest.er1 >conftest.err
73620   rm -f conftest.er1
73621   cat conftest.err >&5
73622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73623   (exit $ac_status); } &&
73624          { ac_try='test -z "$ac_c_werror_flag"
73625                          || test ! -s conftest.err'
73626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73627   (eval $ac_try) 2>&5
73628   ac_status=$?
73629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73630   (exit $ac_status); }; } &&
73631          { ac_try='test -s conftest$ac_exeext'
73632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73633   (eval $ac_try) 2>&5
73634   ac_status=$?
73635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73636   (exit $ac_status); }; }; then
73637   eval "$as_ac_var=yes"
73638 else
73639   echo "$as_me: failed program was:" >&5
73640 sed 's/^/| /' conftest.$ac_ext >&5
73641
73642 eval "$as_ac_var=no"
73643 fi
73644 rm -f conftest.err conftest.$ac_objext \
73645       conftest$ac_exeext conftest.$ac_ext
73646 fi
73647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73649 if test `eval echo '${'$as_ac_var'}'` = yes; then
73650   cat >>confdefs.h <<_ACEOF
73651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73652 _ACEOF
73653
73654 fi
73655 done
73656
73657   fi
73658
73659
73660
73661
73662
73663   echo "$as_me:$LINENO: checking for strtof declaration" >&5
73664 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
73665   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
73666     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
73667   echo $ECHO_N "(cached) $ECHO_C" >&6
73668 else
73669
73670
73671
73672       ac_ext=cc
73673 ac_cpp='$CXXCPP $CPPFLAGS'
73674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73677
73678       cat >conftest.$ac_ext <<_ACEOF
73679 /* confdefs.h.  */
73680 _ACEOF
73681 cat confdefs.h >>conftest.$ac_ext
73682 cat >>conftest.$ac_ext <<_ACEOF
73683 /* end confdefs.h.  */
73684 #include <stdlib.h>
73685 int
73686 main ()
73687 {
73688  strtof(0, 0);
73689   ;
73690   return 0;
73691 }
73692 _ACEOF
73693 rm -f conftest.$ac_objext
73694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73695   (eval $ac_compile) 2>conftest.er1
73696   ac_status=$?
73697   grep -v '^ *+' conftest.er1 >conftest.err
73698   rm -f conftest.er1
73699   cat conftest.err >&5
73700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73701   (exit $ac_status); } &&
73702          { ac_try='test -z "$ac_cxx_werror_flag"
73703                          || test ! -s conftest.err'
73704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73705   (eval $ac_try) 2>&5
73706   ac_status=$?
73707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73708   (exit $ac_status); }; } &&
73709          { ac_try='test -s conftest.$ac_objext'
73710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73711   (eval $ac_try) 2>&5
73712   ac_status=$?
73713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73714   (exit $ac_status); }; }; then
73715   glibcxx_cv_func_strtof_use=yes
73716 else
73717   echo "$as_me: failed program was:" >&5
73718 sed 's/^/| /' conftest.$ac_ext >&5
73719
73720 glibcxx_cv_func_strtof_use=no
73721 fi
73722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73723       ac_ext=c
73724 ac_cpp='$CPP $CPPFLAGS'
73725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73728
73729
73730 fi
73731
73732   fi
73733   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
73734 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
73735   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
73736
73737 for ac_func in strtof
73738 do
73739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73740 echo "$as_me:$LINENO: checking for $ac_func" >&5
73741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73742 if eval "test \"\${$as_ac_var+set}\" = set"; then
73743   echo $ECHO_N "(cached) $ECHO_C" >&6
73744 else
73745   if test x$gcc_no_link = xyes; then
73746   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73748    { (exit 1); exit 1; }; }
73749 fi
73750 cat >conftest.$ac_ext <<_ACEOF
73751 /* confdefs.h.  */
73752 _ACEOF
73753 cat confdefs.h >>conftest.$ac_ext
73754 cat >>conftest.$ac_ext <<_ACEOF
73755 /* end confdefs.h.  */
73756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73757    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73758 #define $ac_func innocuous_$ac_func
73759
73760 /* System header to define __stub macros and hopefully few prototypes,
73761     which can conflict with char $ac_func (); below.
73762     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73763     <limits.h> exists even on freestanding compilers.  */
73764
73765 #ifdef __STDC__
73766 # include <limits.h>
73767 #else
73768 # include <assert.h>
73769 #endif
73770
73771 #undef $ac_func
73772
73773 /* Override any gcc2 internal prototype to avoid an error.  */
73774 #ifdef __cplusplus
73775 extern "C"
73776 {
73777 #endif
73778 /* We use char because int might match the return type of a gcc2
73779    builtin and then its argument prototype would still apply.  */
73780 char $ac_func ();
73781 /* The GNU C library defines this for functions which it implements
73782     to always fail with ENOSYS.  Some functions are actually named
73783     something starting with __ and the normal name is an alias.  */
73784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73785 choke me
73786 #else
73787 char (*f) () = $ac_func;
73788 #endif
73789 #ifdef __cplusplus
73790 }
73791 #endif
73792
73793 int
73794 main ()
73795 {
73796 return f != $ac_func;
73797   ;
73798   return 0;
73799 }
73800 _ACEOF
73801 rm -f conftest.$ac_objext conftest$ac_exeext
73802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73803   (eval $ac_link) 2>conftest.er1
73804   ac_status=$?
73805   grep -v '^ *+' conftest.er1 >conftest.err
73806   rm -f conftest.er1
73807   cat conftest.err >&5
73808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73809   (exit $ac_status); } &&
73810          { ac_try='test -z "$ac_c_werror_flag"
73811                          || test ! -s conftest.err'
73812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73813   (eval $ac_try) 2>&5
73814   ac_status=$?
73815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73816   (exit $ac_status); }; } &&
73817          { ac_try='test -s conftest$ac_exeext'
73818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73819   (eval $ac_try) 2>&5
73820   ac_status=$?
73821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73822   (exit $ac_status); }; }; then
73823   eval "$as_ac_var=yes"
73824 else
73825   echo "$as_me: failed program was:" >&5
73826 sed 's/^/| /' conftest.$ac_ext >&5
73827
73828 eval "$as_ac_var=no"
73829 fi
73830 rm -f conftest.err conftest.$ac_objext \
73831       conftest$ac_exeext conftest.$ac_ext
73832 fi
73833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73835 if test `eval echo '${'$as_ac_var'}'` = yes; then
73836   cat >>confdefs.h <<_ACEOF
73837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73838 _ACEOF
73839
73840 fi
73841 done
73842
73843   fi
73844
73845
73846
73847
73848
73849   CXXFLAGS="$ac_save_CXXFLAGS"
73850
73851
73852   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
73853 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
73854   if test "${glibcxx_cv_S_ISREG+set}" = set; then
73855   echo $ECHO_N "(cached) $ECHO_C" >&6
73856 else
73857
73858     if test x$gcc_no_link = xyes; then
73859   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73861    { (exit 1); exit 1; }; }
73862 fi
73863 cat >conftest.$ac_ext <<_ACEOF
73864 /* confdefs.h.  */
73865 _ACEOF
73866 cat confdefs.h >>conftest.$ac_ext
73867 cat >>conftest.$ac_ext <<_ACEOF
73868 /* end confdefs.h.  */
73869 #include <sys/stat.h>
73870 int
73871 main ()
73872 {
73873 struct stat buffer;
73874        fstat(0, &buffer);
73875        S_ISREG(buffer.st_mode);
73876   ;
73877   return 0;
73878 }
73879 _ACEOF
73880 rm -f conftest.$ac_objext conftest$ac_exeext
73881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73882   (eval $ac_link) 2>conftest.er1
73883   ac_status=$?
73884   grep -v '^ *+' conftest.er1 >conftest.err
73885   rm -f conftest.er1
73886   cat conftest.err >&5
73887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73888   (exit $ac_status); } &&
73889          { ac_try='test -z "$ac_c_werror_flag"
73890                          || test ! -s conftest.err'
73891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73892   (eval $ac_try) 2>&5
73893   ac_status=$?
73894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73895   (exit $ac_status); }; } &&
73896          { ac_try='test -s conftest$ac_exeext'
73897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73898   (eval $ac_try) 2>&5
73899   ac_status=$?
73900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73901   (exit $ac_status); }; }; then
73902   glibcxx_cv_S_ISREG=yes
73903 else
73904   echo "$as_me: failed program was:" >&5
73905 sed 's/^/| /' conftest.$ac_ext >&5
73906
73907 glibcxx_cv_S_ISREG=no
73908 fi
73909 rm -f conftest.err conftest.$ac_objext \
73910       conftest$ac_exeext conftest.$ac_ext
73911
73912 fi
73913
73914   if test "${glibcxx_cv_S_IFREG+set}" = set; then
73915   echo $ECHO_N "(cached) $ECHO_C" >&6
73916 else
73917
73918     if test x$gcc_no_link = xyes; then
73919   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73921    { (exit 1); exit 1; }; }
73922 fi
73923 cat >conftest.$ac_ext <<_ACEOF
73924 /* confdefs.h.  */
73925 _ACEOF
73926 cat confdefs.h >>conftest.$ac_ext
73927 cat >>conftest.$ac_ext <<_ACEOF
73928 /* end confdefs.h.  */
73929 #include <sys/stat.h>
73930 int
73931 main ()
73932 {
73933 struct stat buffer;
73934        fstat(0, &buffer);
73935        S_IFREG & buffer.st_mode;
73936   ;
73937   return 0;
73938 }
73939 _ACEOF
73940 rm -f conftest.$ac_objext conftest$ac_exeext
73941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73942   (eval $ac_link) 2>conftest.er1
73943   ac_status=$?
73944   grep -v '^ *+' conftest.er1 >conftest.err
73945   rm -f conftest.er1
73946   cat conftest.err >&5
73947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73948   (exit $ac_status); } &&
73949          { ac_try='test -z "$ac_c_werror_flag"
73950                          || test ! -s conftest.err'
73951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73952   (eval $ac_try) 2>&5
73953   ac_status=$?
73954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73955   (exit $ac_status); }; } &&
73956          { ac_try='test -s conftest$ac_exeext'
73957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73958   (eval $ac_try) 2>&5
73959   ac_status=$?
73960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73961   (exit $ac_status); }; }; then
73962   glibcxx_cv_S_IFREG=yes
73963 else
73964   echo "$as_me: failed program was:" >&5
73965 sed 's/^/| /' conftest.$ac_ext >&5
73966
73967 glibcxx_cv_S_IFREG=no
73968 fi
73969 rm -f conftest.err conftest.$ac_objext \
73970       conftest$ac_exeext conftest.$ac_ext
73971
73972 fi
73973
73974   res=no
73975   if test $glibcxx_cv_S_ISREG = yes; then
73976
73977 cat >>confdefs.h <<\_ACEOF
73978 #define HAVE_S_ISREG 1
73979 _ACEOF
73980
73981     res=S_ISREG
73982   elif test $glibcxx_cv_S_IFREG = yes; then
73983
73984 cat >>confdefs.h <<\_ACEOF
73985 #define HAVE_S_IFREG 1
73986 _ACEOF
73987
73988     res=S_IFREG
73989   fi
73990   echo "$as_me:$LINENO: result: $res" >&5
73991 echo "${ECHO_T}$res" >&6
73992
73993     cat >>confdefs.h <<\_ACEOF
73994 #define HAVE_WRITEV 1
73995 _ACEOF
73996
73997     ;;
73998
73999   *-freebsd*)
74000
74001
74002
74003
74004
74005
74006
74007
74008
74009
74010
74011
74012
74013
74014
74015
74016 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
74017       machine/endian.h machine/param.h sys/machine.h sys/types.h \
74018       fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
74019       sys/time.h unistd.h
74020 do
74021 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
74022 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74023   echo "$as_me:$LINENO: checking for $ac_header" >&5
74024 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74025 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74026   echo $ECHO_N "(cached) $ECHO_C" >&6
74027 fi
74028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74029 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74030 else
74031   # Is the header compilable?
74032 echo "$as_me:$LINENO: checking $ac_header usability" >&5
74033 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
74034 cat >conftest.$ac_ext <<_ACEOF
74035 /* confdefs.h.  */
74036 _ACEOF
74037 cat confdefs.h >>conftest.$ac_ext
74038 cat >>conftest.$ac_ext <<_ACEOF
74039 /* end confdefs.h.  */
74040 $ac_includes_default
74041 #include <$ac_header>
74042 _ACEOF
74043 rm -f conftest.$ac_objext
74044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74045   (eval $ac_compile) 2>conftest.er1
74046   ac_status=$?
74047   grep -v '^ *+' conftest.er1 >conftest.err
74048   rm -f conftest.er1
74049   cat conftest.err >&5
74050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74051   (exit $ac_status); } &&
74052          { ac_try='test -z "$ac_c_werror_flag"
74053                          || test ! -s conftest.err'
74054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74055   (eval $ac_try) 2>&5
74056   ac_status=$?
74057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74058   (exit $ac_status); }; } &&
74059          { ac_try='test -s conftest.$ac_objext'
74060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74061   (eval $ac_try) 2>&5
74062   ac_status=$?
74063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74064   (exit $ac_status); }; }; then
74065   ac_header_compiler=yes
74066 else
74067   echo "$as_me: failed program was:" >&5
74068 sed 's/^/| /' conftest.$ac_ext >&5
74069
74070 ac_header_compiler=no
74071 fi
74072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74073 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74074 echo "${ECHO_T}$ac_header_compiler" >&6
74075
74076 # Is the header present?
74077 echo "$as_me:$LINENO: checking $ac_header presence" >&5
74078 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
74079 cat >conftest.$ac_ext <<_ACEOF
74080 /* confdefs.h.  */
74081 _ACEOF
74082 cat confdefs.h >>conftest.$ac_ext
74083 cat >>conftest.$ac_ext <<_ACEOF
74084 /* end confdefs.h.  */
74085 #include <$ac_header>
74086 _ACEOF
74087 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74088   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74089   ac_status=$?
74090   grep -v '^ *+' conftest.er1 >conftest.err
74091   rm -f conftest.er1
74092   cat conftest.err >&5
74093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74094   (exit $ac_status); } >/dev/null; then
74095   if test -s conftest.err; then
74096     ac_cpp_err=$ac_c_preproc_warn_flag
74097     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74098   else
74099     ac_cpp_err=
74100   fi
74101 else
74102   ac_cpp_err=yes
74103 fi
74104 if test -z "$ac_cpp_err"; then
74105   ac_header_preproc=yes
74106 else
74107   echo "$as_me: failed program was:" >&5
74108 sed 's/^/| /' conftest.$ac_ext >&5
74109
74110   ac_header_preproc=no
74111 fi
74112 rm -f conftest.err conftest.$ac_ext
74113 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74114 echo "${ECHO_T}$ac_header_preproc" >&6
74115
74116 # So?  What about this header?
74117 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74118   yes:no: )
74119     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
74120 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
74121     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
74122 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
74123     ac_header_preproc=yes
74124     ;;
74125   no:yes:* )
74126     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
74127 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
74128     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
74129 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
74130     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
74131 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
74132     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
74133 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
74134     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
74135 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
74136     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
74137 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
74138     (
74139       cat <<\_ASBOX
74140 ## ----------------------------------------- ##
74141 ## Report this to the package-unused lists.  ##
74142 ## ----------------------------------------- ##
74143 _ASBOX
74144     ) |
74145       sed "s/^/$as_me: WARNING:     /" >&2
74146     ;;
74147 esac
74148 echo "$as_me:$LINENO: checking for $ac_header" >&5
74149 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74150 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74151   echo $ECHO_N "(cached) $ECHO_C" >&6
74152 else
74153   eval "$as_ac_Header=\$ac_header_preproc"
74154 fi
74155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74156 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74157
74158 fi
74159 if test `eval echo '${'$as_ac_Header'}'` = yes; then
74160   cat >>confdefs.h <<_ACEOF
74161 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
74162 _ACEOF
74163
74164 fi
74165
74166 done
74167
74168     SECTION_FLAGS='-ffunction-sections -fdata-sections'
74169
74170
74171   # If we're not using GNU ld, then there's no point in even trying these
74172   # tests.  Check for that first.  We should have already tested for gld
74173   # by now (in libtool), but require it now just to be safe...
74174   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
74175   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
74176
74177
74178
74179   # The name set by libtool depends on the version of libtool.  Shame on us
74180   # for depending on an impl detail, but c'est la vie.  Older versions used
74181   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
74182   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
74183   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
74184   # set (hence we're using an older libtool), then set it.
74185   if test x${with_gnu_ld+set} != xset; then
74186     if test x${ac_cv_prog_gnu_ld+set} != xset; then
74187       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
74188       with_gnu_ld=no
74189     else
74190       with_gnu_ld=$ac_cv_prog_gnu_ld
74191     fi
74192   fi
74193
74194   # Start by getting the version number.  I think the libtool test already
74195   # does some of this, but throws away the result.
74196
74197   ldver=`$LD --version 2>/dev/null | head -1 | \
74198          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
74199
74200   glibcxx_gnu_ld_version=`echo $ldver | \
74201          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
74202
74203   # Set --gc-sections.
74204   if test "$with_gnu_ld" = "notbroken"; then
74205     # GNU ld it is!  Joy and bunny rabbits!
74206
74207     # All these tests are for C++; save the language and the compiler flags.
74208     # Need to do this so that g++ won't try to link in libstdc++
74209     ac_test_CFLAGS="${CFLAGS+set}"
74210     ac_save_CFLAGS="$CFLAGS"
74211     CFLAGS='-x c++  -Wl,--gc-sections'
74212
74213     # Check for -Wl,--gc-sections
74214     # XXX This test is broken at the moment, as symbols required for linking
74215     # are now in libsupc++ (not built yet).  In addition, this test has
74216     # cored on solaris in the past.  In addition, --gc-sections doesn't
74217     # really work at the moment (keeps on discarding used sections, first
74218     # .eh_frame and now some of the glibc sections for iconv).
74219     # Bzzzzt.  Thanks for playing, maybe next time.
74220     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
74221 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
74222     if test "$cross_compiling" = yes; then
74223   ac_sectionLDflags=yes
74224 else
74225   cat >conftest.$ac_ext <<_ACEOF
74226 /* confdefs.h.  */
74227 _ACEOF
74228 cat confdefs.h >>conftest.$ac_ext
74229 cat >>conftest.$ac_ext <<_ACEOF
74230 /* end confdefs.h.  */
74231
74232      int main(void)
74233      {
74234        try { throw 1; }
74235        catch (...) { };
74236        return 0;
74237      }
74238
74239 _ACEOF
74240 rm -f conftest$ac_exeext
74241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74242   (eval $ac_link) 2>&5
74243   ac_status=$?
74244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74245   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
74246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74247   (eval $ac_try) 2>&5
74248   ac_status=$?
74249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74250   (exit $ac_status); }; }; then
74251   ac_sectionLDflags=yes
74252 else
74253   echo "$as_me: program exited with status $ac_status" >&5
74254 echo "$as_me: failed program was:" >&5
74255 sed 's/^/| /' conftest.$ac_ext >&5
74256
74257 ( exit $ac_status )
74258 ac_sectionLDflags=no
74259 fi
74260 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
74261 fi
74262     if test "$ac_test_CFLAGS" = set; then
74263       CFLAGS="$ac_save_CFLAGS"
74264     else
74265       # this is the suspicious part
74266       CFLAGS=''
74267     fi
74268     if test "$ac_sectionLDflags" = "yes"; then
74269       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
74270     fi
74271     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
74272 echo "${ECHO_T}$ac_sectionLDflags" >&6
74273   fi
74274
74275   # Set linker optimization flags.
74276   if test x"$with_gnu_ld" = x"yes"; then
74277     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
74278   fi
74279
74280
74281
74282
74283
74284
74285 echo "$as_me:$LINENO: checking for main in -lm" >&5
74286 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
74287 if test "${ac_cv_lib_m_main+set}" = set; then
74288   echo $ECHO_N "(cached) $ECHO_C" >&6
74289 else
74290   ac_check_lib_save_LIBS=$LIBS
74291 LIBS="-lm  $LIBS"
74292 if test x$gcc_no_link = xyes; then
74293   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74295    { (exit 1); exit 1; }; }
74296 fi
74297 cat >conftest.$ac_ext <<_ACEOF
74298 /* confdefs.h.  */
74299 _ACEOF
74300 cat confdefs.h >>conftest.$ac_ext
74301 cat >>conftest.$ac_ext <<_ACEOF
74302 /* end confdefs.h.  */
74303
74304
74305 int
74306 main ()
74307 {
74308 main ();
74309   ;
74310   return 0;
74311 }
74312 _ACEOF
74313 rm -f conftest.$ac_objext conftest$ac_exeext
74314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74315   (eval $ac_link) 2>conftest.er1
74316   ac_status=$?
74317   grep -v '^ *+' conftest.er1 >conftest.err
74318   rm -f conftest.er1
74319   cat conftest.err >&5
74320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74321   (exit $ac_status); } &&
74322          { ac_try='test -z "$ac_c_werror_flag"
74323                          || test ! -s conftest.err'
74324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74325   (eval $ac_try) 2>&5
74326   ac_status=$?
74327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74328   (exit $ac_status); }; } &&
74329          { ac_try='test -s conftest$ac_exeext'
74330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74331   (eval $ac_try) 2>&5
74332   ac_status=$?
74333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74334   (exit $ac_status); }; }; then
74335   ac_cv_lib_m_main=yes
74336 else
74337   echo "$as_me: failed program was:" >&5
74338 sed 's/^/| /' conftest.$ac_ext >&5
74339
74340 ac_cv_lib_m_main=no
74341 fi
74342 rm -f conftest.err conftest.$ac_objext \
74343       conftest$ac_exeext conftest.$ac_ext
74344 LIBS=$ac_check_lib_save_LIBS
74345 fi
74346 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
74347 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
74348 if test $ac_cv_lib_m_main = yes; then
74349   cat >>confdefs.h <<_ACEOF
74350 #define HAVE_LIBM 1
74351 _ACEOF
74352
74353   LIBS="-lm $LIBS"
74354
74355 fi
74356
74357
74358 for ac_func in copysignf
74359 do
74360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74361 echo "$as_me:$LINENO: checking for $ac_func" >&5
74362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74363 if eval "test \"\${$as_ac_var+set}\" = set"; then
74364   echo $ECHO_N "(cached) $ECHO_C" >&6
74365 else
74366   if test x$gcc_no_link = xyes; then
74367   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74369    { (exit 1); exit 1; }; }
74370 fi
74371 cat >conftest.$ac_ext <<_ACEOF
74372 /* confdefs.h.  */
74373 _ACEOF
74374 cat confdefs.h >>conftest.$ac_ext
74375 cat >>conftest.$ac_ext <<_ACEOF
74376 /* end confdefs.h.  */
74377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74378    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74379 #define $ac_func innocuous_$ac_func
74380
74381 /* System header to define __stub macros and hopefully few prototypes,
74382     which can conflict with char $ac_func (); below.
74383     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74384     <limits.h> exists even on freestanding compilers.  */
74385
74386 #ifdef __STDC__
74387 # include <limits.h>
74388 #else
74389 # include <assert.h>
74390 #endif
74391
74392 #undef $ac_func
74393
74394 /* Override any gcc2 internal prototype to avoid an error.  */
74395 #ifdef __cplusplus
74396 extern "C"
74397 {
74398 #endif
74399 /* We use char because int might match the return type of a gcc2
74400    builtin and then its argument prototype would still apply.  */
74401 char $ac_func ();
74402 /* The GNU C library defines this for functions which it implements
74403     to always fail with ENOSYS.  Some functions are actually named
74404     something starting with __ and the normal name is an alias.  */
74405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74406 choke me
74407 #else
74408 char (*f) () = $ac_func;
74409 #endif
74410 #ifdef __cplusplus
74411 }
74412 #endif
74413
74414 int
74415 main ()
74416 {
74417 return f != $ac_func;
74418   ;
74419   return 0;
74420 }
74421 _ACEOF
74422 rm -f conftest.$ac_objext conftest$ac_exeext
74423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74424   (eval $ac_link) 2>conftest.er1
74425   ac_status=$?
74426   grep -v '^ *+' conftest.er1 >conftest.err
74427   rm -f conftest.er1
74428   cat conftest.err >&5
74429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74430   (exit $ac_status); } &&
74431          { ac_try='test -z "$ac_c_werror_flag"
74432                          || test ! -s conftest.err'
74433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74434   (eval $ac_try) 2>&5
74435   ac_status=$?
74436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74437   (exit $ac_status); }; } &&
74438          { ac_try='test -s conftest$ac_exeext'
74439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74440   (eval $ac_try) 2>&5
74441   ac_status=$?
74442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74443   (exit $ac_status); }; }; then
74444   eval "$as_ac_var=yes"
74445 else
74446   echo "$as_me: failed program was:" >&5
74447 sed 's/^/| /' conftest.$ac_ext >&5
74448
74449 eval "$as_ac_var=no"
74450 fi
74451 rm -f conftest.err conftest.$ac_objext \
74452       conftest$ac_exeext conftest.$ac_ext
74453 fi
74454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74456 if test `eval echo '${'$as_ac_var'}'` = yes; then
74457   cat >>confdefs.h <<_ACEOF
74458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74459 _ACEOF
74460
74461 else
74462   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
74463 fi
74464 done
74465
74466
74467
74468 for ac_func in __signbit
74469 do
74470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74471 echo "$as_me:$LINENO: checking for $ac_func" >&5
74472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74473 if eval "test \"\${$as_ac_var+set}\" = set"; then
74474   echo $ECHO_N "(cached) $ECHO_C" >&6
74475 else
74476   if test x$gcc_no_link = xyes; then
74477   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74479    { (exit 1); exit 1; }; }
74480 fi
74481 cat >conftest.$ac_ext <<_ACEOF
74482 /* confdefs.h.  */
74483 _ACEOF
74484 cat confdefs.h >>conftest.$ac_ext
74485 cat >>conftest.$ac_ext <<_ACEOF
74486 /* end confdefs.h.  */
74487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74488    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74489 #define $ac_func innocuous_$ac_func
74490
74491 /* System header to define __stub macros and hopefully few prototypes,
74492     which can conflict with char $ac_func (); below.
74493     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74494     <limits.h> exists even on freestanding compilers.  */
74495
74496 #ifdef __STDC__
74497 # include <limits.h>
74498 #else
74499 # include <assert.h>
74500 #endif
74501
74502 #undef $ac_func
74503
74504 /* Override any gcc2 internal prototype to avoid an error.  */
74505 #ifdef __cplusplus
74506 extern "C"
74507 {
74508 #endif
74509 /* We use char because int might match the return type of a gcc2
74510    builtin and then its argument prototype would still apply.  */
74511 char $ac_func ();
74512 /* The GNU C library defines this for functions which it implements
74513     to always fail with ENOSYS.  Some functions are actually named
74514     something starting with __ and the normal name is an alias.  */
74515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74516 choke me
74517 #else
74518 char (*f) () = $ac_func;
74519 #endif
74520 #ifdef __cplusplus
74521 }
74522 #endif
74523
74524 int
74525 main ()
74526 {
74527 return f != $ac_func;
74528   ;
74529   return 0;
74530 }
74531 _ACEOF
74532 rm -f conftest.$ac_objext conftest$ac_exeext
74533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74534   (eval $ac_link) 2>conftest.er1
74535   ac_status=$?
74536   grep -v '^ *+' conftest.er1 >conftest.err
74537   rm -f conftest.er1
74538   cat conftest.err >&5
74539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74540   (exit $ac_status); } &&
74541          { ac_try='test -z "$ac_c_werror_flag"
74542                          || test ! -s conftest.err'
74543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74544   (eval $ac_try) 2>&5
74545   ac_status=$?
74546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74547   (exit $ac_status); }; } &&
74548          { ac_try='test -s conftest$ac_exeext'
74549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74550   (eval $ac_try) 2>&5
74551   ac_status=$?
74552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74553   (exit $ac_status); }; }; then
74554   eval "$as_ac_var=yes"
74555 else
74556   echo "$as_me: failed program was:" >&5
74557 sed 's/^/| /' conftest.$ac_ext >&5
74558
74559 eval "$as_ac_var=no"
74560 fi
74561 rm -f conftest.err conftest.$ac_objext \
74562       conftest$ac_exeext conftest.$ac_ext
74563 fi
74564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74566 if test `eval echo '${'$as_ac_var'}'` = yes; then
74567   cat >>confdefs.h <<_ACEOF
74568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74569 _ACEOF
74570
74571 else
74572   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74573 fi
74574 done
74575
74576
74577
74578 for ac_func in __signbitf
74579 do
74580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74581 echo "$as_me:$LINENO: checking for $ac_func" >&5
74582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74583 if eval "test \"\${$as_ac_var+set}\" = set"; then
74584   echo $ECHO_N "(cached) $ECHO_C" >&6
74585 else
74586   if test x$gcc_no_link = xyes; then
74587   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74589    { (exit 1); exit 1; }; }
74590 fi
74591 cat >conftest.$ac_ext <<_ACEOF
74592 /* confdefs.h.  */
74593 _ACEOF
74594 cat confdefs.h >>conftest.$ac_ext
74595 cat >>conftest.$ac_ext <<_ACEOF
74596 /* end confdefs.h.  */
74597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74598    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74599 #define $ac_func innocuous_$ac_func
74600
74601 /* System header to define __stub macros and hopefully few prototypes,
74602     which can conflict with char $ac_func (); below.
74603     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74604     <limits.h> exists even on freestanding compilers.  */
74605
74606 #ifdef __STDC__
74607 # include <limits.h>
74608 #else
74609 # include <assert.h>
74610 #endif
74611
74612 #undef $ac_func
74613
74614 /* Override any gcc2 internal prototype to avoid an error.  */
74615 #ifdef __cplusplus
74616 extern "C"
74617 {
74618 #endif
74619 /* We use char because int might match the return type of a gcc2
74620    builtin and then its argument prototype would still apply.  */
74621 char $ac_func ();
74622 /* The GNU C library defines this for functions which it implements
74623     to always fail with ENOSYS.  Some functions are actually named
74624     something starting with __ and the normal name is an alias.  */
74625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74626 choke me
74627 #else
74628 char (*f) () = $ac_func;
74629 #endif
74630 #ifdef __cplusplus
74631 }
74632 #endif
74633
74634 int
74635 main ()
74636 {
74637 return f != $ac_func;
74638   ;
74639   return 0;
74640 }
74641 _ACEOF
74642 rm -f conftest.$ac_objext conftest$ac_exeext
74643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74644   (eval $ac_link) 2>conftest.er1
74645   ac_status=$?
74646   grep -v '^ *+' conftest.er1 >conftest.err
74647   rm -f conftest.er1
74648   cat conftest.err >&5
74649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74650   (exit $ac_status); } &&
74651          { ac_try='test -z "$ac_c_werror_flag"
74652                          || test ! -s conftest.err'
74653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74654   (eval $ac_try) 2>&5
74655   ac_status=$?
74656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74657   (exit $ac_status); }; } &&
74658          { ac_try='test -s conftest$ac_exeext'
74659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74660   (eval $ac_try) 2>&5
74661   ac_status=$?
74662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74663   (exit $ac_status); }; }; then
74664   eval "$as_ac_var=yes"
74665 else
74666   echo "$as_me: failed program was:" >&5
74667 sed 's/^/| /' conftest.$ac_ext >&5
74668
74669 eval "$as_ac_var=no"
74670 fi
74671 rm -f conftest.err conftest.$ac_objext \
74672       conftest$ac_exeext conftest.$ac_ext
74673 fi
74674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74676 if test `eval echo '${'$as_ac_var'}'` = yes; then
74677   cat >>confdefs.h <<_ACEOF
74678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74679 _ACEOF
74680
74681 else
74682   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74683 fi
74684 done
74685
74686
74687           if test x$ac_cv_func_copysignl = x"yes"; then
74688
74689 for ac_func in __signbitl
74690 do
74691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74692 echo "$as_me:$LINENO: checking for $ac_func" >&5
74693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74694 if eval "test \"\${$as_ac_var+set}\" = set"; then
74695   echo $ECHO_N "(cached) $ECHO_C" >&6
74696 else
74697   if test x$gcc_no_link = xyes; then
74698   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74700    { (exit 1); exit 1; }; }
74701 fi
74702 cat >conftest.$ac_ext <<_ACEOF
74703 /* confdefs.h.  */
74704 _ACEOF
74705 cat confdefs.h >>conftest.$ac_ext
74706 cat >>conftest.$ac_ext <<_ACEOF
74707 /* end confdefs.h.  */
74708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74709    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74710 #define $ac_func innocuous_$ac_func
74711
74712 /* System header to define __stub macros and hopefully few prototypes,
74713     which can conflict with char $ac_func (); below.
74714     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74715     <limits.h> exists even on freestanding compilers.  */
74716
74717 #ifdef __STDC__
74718 # include <limits.h>
74719 #else
74720 # include <assert.h>
74721 #endif
74722
74723 #undef $ac_func
74724
74725 /* Override any gcc2 internal prototype to avoid an error.  */
74726 #ifdef __cplusplus
74727 extern "C"
74728 {
74729 #endif
74730 /* We use char because int might match the return type of a gcc2
74731    builtin and then its argument prototype would still apply.  */
74732 char $ac_func ();
74733 /* The GNU C library defines this for functions which it implements
74734     to always fail with ENOSYS.  Some functions are actually named
74735     something starting with __ and the normal name is an alias.  */
74736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74737 choke me
74738 #else
74739 char (*f) () = $ac_func;
74740 #endif
74741 #ifdef __cplusplus
74742 }
74743 #endif
74744
74745 int
74746 main ()
74747 {
74748 return f != $ac_func;
74749   ;
74750   return 0;
74751 }
74752 _ACEOF
74753 rm -f conftest.$ac_objext conftest$ac_exeext
74754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74755   (eval $ac_link) 2>conftest.er1
74756   ac_status=$?
74757   grep -v '^ *+' conftest.er1 >conftest.err
74758   rm -f conftest.er1
74759   cat conftest.err >&5
74760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74761   (exit $ac_status); } &&
74762          { ac_try='test -z "$ac_c_werror_flag"
74763                          || test ! -s conftest.err'
74764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74765   (eval $ac_try) 2>&5
74766   ac_status=$?
74767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74768   (exit $ac_status); }; } &&
74769          { ac_try='test -s conftest$ac_exeext'
74770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74771   (eval $ac_try) 2>&5
74772   ac_status=$?
74773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74774   (exit $ac_status); }; }; then
74775   eval "$as_ac_var=yes"
74776 else
74777   echo "$as_me: failed program was:" >&5
74778 sed 's/^/| /' conftest.$ac_ext >&5
74779
74780 eval "$as_ac_var=no"
74781 fi
74782 rm -f conftest.err conftest.$ac_objext \
74783       conftest$ac_exeext conftest.$ac_ext
74784 fi
74785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74787 if test `eval echo '${'$as_ac_var'}'` = yes; then
74788   cat >>confdefs.h <<_ACEOF
74789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74790 _ACEOF
74791
74792 else
74793   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
74794 fi
74795 done
74796
74797   fi
74798
74799   # Used in libmath/Makefile.am.
74800   if test -n "$LIBMATHOBJS"; then
74801     need_libmath=yes
74802   fi
74803
74804
74805
74806
74807   enable_iconv=no
74808   # Only continue checking if the ISO C99 headers exist and support is on.
74809   if test x"$enable_wchar_t" = xyes; then
74810
74811     # Use iconv for wchar_t to char conversions. As such, check for
74812     # X/Open Portability Guide, version 2 features (XPG2).
74813     if test "${ac_cv_header_iconv_h+set}" = set; then
74814   echo "$as_me:$LINENO: checking for iconv.h" >&5
74815 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74816 if test "${ac_cv_header_iconv_h+set}" = set; then
74817   echo $ECHO_N "(cached) $ECHO_C" >&6
74818 fi
74819 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74820 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74821 else
74822   # Is the header compilable?
74823 echo "$as_me:$LINENO: checking iconv.h usability" >&5
74824 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
74825 cat >conftest.$ac_ext <<_ACEOF
74826 /* confdefs.h.  */
74827 _ACEOF
74828 cat confdefs.h >>conftest.$ac_ext
74829 cat >>conftest.$ac_ext <<_ACEOF
74830 /* end confdefs.h.  */
74831 $ac_includes_default
74832 #include <iconv.h>
74833 _ACEOF
74834 rm -f conftest.$ac_objext
74835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74836   (eval $ac_compile) 2>conftest.er1
74837   ac_status=$?
74838   grep -v '^ *+' conftest.er1 >conftest.err
74839   rm -f conftest.er1
74840   cat conftest.err >&5
74841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74842   (exit $ac_status); } &&
74843          { ac_try='test -z "$ac_c_werror_flag"
74844                          || test ! -s conftest.err'
74845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74846   (eval $ac_try) 2>&5
74847   ac_status=$?
74848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74849   (exit $ac_status); }; } &&
74850          { ac_try='test -s conftest.$ac_objext'
74851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74852   (eval $ac_try) 2>&5
74853   ac_status=$?
74854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74855   (exit $ac_status); }; }; then
74856   ac_header_compiler=yes
74857 else
74858   echo "$as_me: failed program was:" >&5
74859 sed 's/^/| /' conftest.$ac_ext >&5
74860
74861 ac_header_compiler=no
74862 fi
74863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74864 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74865 echo "${ECHO_T}$ac_header_compiler" >&6
74866
74867 # Is the header present?
74868 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74869 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74870 cat >conftest.$ac_ext <<_ACEOF
74871 /* confdefs.h.  */
74872 _ACEOF
74873 cat confdefs.h >>conftest.$ac_ext
74874 cat >>conftest.$ac_ext <<_ACEOF
74875 /* end confdefs.h.  */
74876 #include <iconv.h>
74877 _ACEOF
74878 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74879   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74880   ac_status=$?
74881   grep -v '^ *+' conftest.er1 >conftest.err
74882   rm -f conftest.er1
74883   cat conftest.err >&5
74884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74885   (exit $ac_status); } >/dev/null; then
74886   if test -s conftest.err; then
74887     ac_cpp_err=$ac_c_preproc_warn_flag
74888     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74889   else
74890     ac_cpp_err=
74891   fi
74892 else
74893   ac_cpp_err=yes
74894 fi
74895 if test -z "$ac_cpp_err"; then
74896   ac_header_preproc=yes
74897 else
74898   echo "$as_me: failed program was:" >&5
74899 sed 's/^/| /' conftest.$ac_ext >&5
74900
74901   ac_header_preproc=no
74902 fi
74903 rm -f conftest.err conftest.$ac_ext
74904 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74905 echo "${ECHO_T}$ac_header_preproc" >&6
74906
74907 # So?  What about this header?
74908 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74909   yes:no: )
74910     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74911 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74912     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74913 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74914     ac_header_preproc=yes
74915     ;;
74916   no:yes:* )
74917     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74918 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74919     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
74920 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
74921     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74922 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74923     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
74924 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
74925     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74926 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74927     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74928 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74929     (
74930       cat <<\_ASBOX
74931 ## ----------------------------------------- ##
74932 ## Report this to the package-unused lists.  ##
74933 ## ----------------------------------------- ##
74934 _ASBOX
74935     ) |
74936       sed "s/^/$as_me: WARNING:     /" >&2
74937     ;;
74938 esac
74939 echo "$as_me:$LINENO: checking for iconv.h" >&5
74940 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74941 if test "${ac_cv_header_iconv_h+set}" = set; then
74942   echo $ECHO_N "(cached) $ECHO_C" >&6
74943 else
74944   ac_cv_header_iconv_h=$ac_header_preproc
74945 fi
74946 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74947 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74948
74949 fi
74950 if test $ac_cv_header_iconv_h = yes; then
74951   ac_has_iconv_h=yes
74952 else
74953   ac_has_iconv_h=no
74954 fi
74955
74956
74957     if test "${ac_cv_header_langinfo_h+set}" = set; then
74958   echo "$as_me:$LINENO: checking for langinfo.h" >&5
74959 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74960 if test "${ac_cv_header_langinfo_h+set}" = set; then
74961   echo $ECHO_N "(cached) $ECHO_C" >&6
74962 fi
74963 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74964 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74965 else
74966   # Is the header compilable?
74967 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74968 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74969 cat >conftest.$ac_ext <<_ACEOF
74970 /* confdefs.h.  */
74971 _ACEOF
74972 cat confdefs.h >>conftest.$ac_ext
74973 cat >>conftest.$ac_ext <<_ACEOF
74974 /* end confdefs.h.  */
74975 $ac_includes_default
74976 #include <langinfo.h>
74977 _ACEOF
74978 rm -f conftest.$ac_objext
74979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74980   (eval $ac_compile) 2>conftest.er1
74981   ac_status=$?
74982   grep -v '^ *+' conftest.er1 >conftest.err
74983   rm -f conftest.er1
74984   cat conftest.err >&5
74985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74986   (exit $ac_status); } &&
74987          { ac_try='test -z "$ac_c_werror_flag"
74988                          || test ! -s conftest.err'
74989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74990   (eval $ac_try) 2>&5
74991   ac_status=$?
74992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74993   (exit $ac_status); }; } &&
74994          { ac_try='test -s conftest.$ac_objext'
74995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74996   (eval $ac_try) 2>&5
74997   ac_status=$?
74998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74999   (exit $ac_status); }; }; then
75000   ac_header_compiler=yes
75001 else
75002   echo "$as_me: failed program was:" >&5
75003 sed 's/^/| /' conftest.$ac_ext >&5
75004
75005 ac_header_compiler=no
75006 fi
75007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75008 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75009 echo "${ECHO_T}$ac_header_compiler" >&6
75010
75011 # Is the header present?
75012 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
75013 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
75014 cat >conftest.$ac_ext <<_ACEOF
75015 /* confdefs.h.  */
75016 _ACEOF
75017 cat confdefs.h >>conftest.$ac_ext
75018 cat >>conftest.$ac_ext <<_ACEOF
75019 /* end confdefs.h.  */
75020 #include <langinfo.h>
75021 _ACEOF
75022 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75023   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75024   ac_status=$?
75025   grep -v '^ *+' conftest.er1 >conftest.err
75026   rm -f conftest.er1
75027   cat conftest.err >&5
75028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75029   (exit $ac_status); } >/dev/null; then
75030   if test -s conftest.err; then
75031     ac_cpp_err=$ac_c_preproc_warn_flag
75032     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75033   else
75034     ac_cpp_err=
75035   fi
75036 else
75037   ac_cpp_err=yes
75038 fi
75039 if test -z "$ac_cpp_err"; then
75040   ac_header_preproc=yes
75041 else
75042   echo "$as_me: failed program was:" >&5
75043 sed 's/^/| /' conftest.$ac_ext >&5
75044
75045   ac_header_preproc=no
75046 fi
75047 rm -f conftest.err conftest.$ac_ext
75048 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75049 echo "${ECHO_T}$ac_header_preproc" >&6
75050
75051 # So?  What about this header?
75052 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75053   yes:no: )
75054     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
75055 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75056     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
75057 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
75058     ac_header_preproc=yes
75059     ;;
75060   no:yes:* )
75061     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
75062 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
75063     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
75064 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
75065     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
75066 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
75067     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
75068 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
75069     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
75070 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
75071     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
75072 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
75073     (
75074       cat <<\_ASBOX
75075 ## ----------------------------------------- ##
75076 ## Report this to the package-unused lists.  ##
75077 ## ----------------------------------------- ##
75078 _ASBOX
75079     ) |
75080       sed "s/^/$as_me: WARNING:     /" >&2
75081     ;;
75082 esac
75083 echo "$as_me:$LINENO: checking for langinfo.h" >&5
75084 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
75085 if test "${ac_cv_header_langinfo_h+set}" = set; then
75086   echo $ECHO_N "(cached) $ECHO_C" >&6
75087 else
75088   ac_cv_header_langinfo_h=$ac_header_preproc
75089 fi
75090 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
75091 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
75092
75093 fi
75094 if test $ac_cv_header_langinfo_h = yes; then
75095   ac_has_langinfo_h=yes
75096 else
75097   ac_has_langinfo_h=no
75098 fi
75099
75100
75101
75102     # Check for existence of libiconv.a providing XPG2 wchar_t support.
75103     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
75104 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
75105 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
75106   echo $ECHO_N "(cached) $ECHO_C" >&6
75107 else
75108   ac_check_lib_save_LIBS=$LIBS
75109 LIBS="-liconv  $LIBS"
75110 if test x$gcc_no_link = xyes; then
75111   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75113    { (exit 1); exit 1; }; }
75114 fi
75115 cat >conftest.$ac_ext <<_ACEOF
75116 /* confdefs.h.  */
75117 _ACEOF
75118 cat confdefs.h >>conftest.$ac_ext
75119 cat >>conftest.$ac_ext <<_ACEOF
75120 /* end confdefs.h.  */
75121
75122 /* Override any gcc2 internal prototype to avoid an error.  */
75123 #ifdef __cplusplus
75124 extern "C"
75125 #endif
75126 /* We use char because int might match the return type of a gcc2
75127    builtin and then its argument prototype would still apply.  */
75128 char iconv ();
75129 int
75130 main ()
75131 {
75132 iconv ();
75133   ;
75134   return 0;
75135 }
75136 _ACEOF
75137 rm -f conftest.$ac_objext conftest$ac_exeext
75138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75139   (eval $ac_link) 2>conftest.er1
75140   ac_status=$?
75141   grep -v '^ *+' conftest.er1 >conftest.err
75142   rm -f conftest.er1
75143   cat conftest.err >&5
75144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75145   (exit $ac_status); } &&
75146          { ac_try='test -z "$ac_c_werror_flag"
75147                          || test ! -s conftest.err'
75148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75149   (eval $ac_try) 2>&5
75150   ac_status=$?
75151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75152   (exit $ac_status); }; } &&
75153          { ac_try='test -s conftest$ac_exeext'
75154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75155   (eval $ac_try) 2>&5
75156   ac_status=$?
75157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75158   (exit $ac_status); }; }; then
75159   ac_cv_lib_iconv_iconv=yes
75160 else
75161   echo "$as_me: failed program was:" >&5
75162 sed 's/^/| /' conftest.$ac_ext >&5
75163
75164 ac_cv_lib_iconv_iconv=no
75165 fi
75166 rm -f conftest.err conftest.$ac_objext \
75167       conftest$ac_exeext conftest.$ac_ext
75168 LIBS=$ac_check_lib_save_LIBS
75169 fi
75170 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
75171 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
75172 if test $ac_cv_lib_iconv_iconv = yes; then
75173   LIBICONV="-liconv"
75174 fi
75175
75176     ac_save_LIBS="$LIBS"
75177     LIBS="$LIBS $LIBICONV"
75178
75179
75180
75181
75182
75183
75184 for ac_func in iconv_open iconv_close iconv nl_langinfo
75185 do
75186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75187 echo "$as_me:$LINENO: checking for $ac_func" >&5
75188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75189 if eval "test \"\${$as_ac_var+set}\" = set"; then
75190   echo $ECHO_N "(cached) $ECHO_C" >&6
75191 else
75192   if test x$gcc_no_link = xyes; then
75193   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75195    { (exit 1); exit 1; }; }
75196 fi
75197 cat >conftest.$ac_ext <<_ACEOF
75198 /* confdefs.h.  */
75199 _ACEOF
75200 cat confdefs.h >>conftest.$ac_ext
75201 cat >>conftest.$ac_ext <<_ACEOF
75202 /* end confdefs.h.  */
75203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75204    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75205 #define $ac_func innocuous_$ac_func
75206
75207 /* System header to define __stub macros and hopefully few prototypes,
75208     which can conflict with char $ac_func (); below.
75209     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75210     <limits.h> exists even on freestanding compilers.  */
75211
75212 #ifdef __STDC__
75213 # include <limits.h>
75214 #else
75215 # include <assert.h>
75216 #endif
75217
75218 #undef $ac_func
75219
75220 /* Override any gcc2 internal prototype to avoid an error.  */
75221 #ifdef __cplusplus
75222 extern "C"
75223 {
75224 #endif
75225 /* We use char because int might match the return type of a gcc2
75226    builtin and then its argument prototype would still apply.  */
75227 char $ac_func ();
75228 /* The GNU C library defines this for functions which it implements
75229     to always fail with ENOSYS.  Some functions are actually named
75230     something starting with __ and the normal name is an alias.  */
75231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75232 choke me
75233 #else
75234 char (*f) () = $ac_func;
75235 #endif
75236 #ifdef __cplusplus
75237 }
75238 #endif
75239
75240 int
75241 main ()
75242 {
75243 return f != $ac_func;
75244   ;
75245   return 0;
75246 }
75247 _ACEOF
75248 rm -f conftest.$ac_objext conftest$ac_exeext
75249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75250   (eval $ac_link) 2>conftest.er1
75251   ac_status=$?
75252   grep -v '^ *+' conftest.er1 >conftest.err
75253   rm -f conftest.er1
75254   cat conftest.err >&5
75255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75256   (exit $ac_status); } &&
75257          { ac_try='test -z "$ac_c_werror_flag"
75258                          || test ! -s conftest.err'
75259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75260   (eval $ac_try) 2>&5
75261   ac_status=$?
75262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75263   (exit $ac_status); }; } &&
75264          { ac_try='test -s conftest$ac_exeext'
75265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75266   (eval $ac_try) 2>&5
75267   ac_status=$?
75268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75269   (exit $ac_status); }; }; then
75270   eval "$as_ac_var=yes"
75271 else
75272   echo "$as_me: failed program was:" >&5
75273 sed 's/^/| /' conftest.$ac_ext >&5
75274
75275 eval "$as_ac_var=no"
75276 fi
75277 rm -f conftest.err conftest.$ac_objext \
75278       conftest$ac_exeext conftest.$ac_ext
75279 fi
75280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75282 if test `eval echo '${'$as_ac_var'}'` = yes; then
75283   cat >>confdefs.h <<_ACEOF
75284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75285 _ACEOF
75286  ac_XPG2funcs=yes
75287 else
75288   ac_XPG2funcs=no
75289 fi
75290 done
75291
75292
75293     LIBS="$ac_save_LIBS"
75294
75295     if test x"$ac_has_iconv_h" = xyes &&
75296        test x"$ac_has_langinfo_h" = xyes &&
75297        test x"$ac_XPG2funcs" = xyes;
75298     then
75299
75300 cat >>confdefs.h <<\_ACEOF
75301 #define _GLIBCXX_USE_ICONV 1
75302 _ACEOF
75303
75304       enable_iconv=yes
75305     fi
75306   fi
75307   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
75308 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
75309   echo "$as_me:$LINENO: result: $enable_iconv" >&5
75310 echo "${ECHO_T}$enable_iconv" >&6
75311
75312     cat >>confdefs.h <<\_ACEOF
75313 #define HAVE_LC_MESSAGES 1
75314 _ACEOF
75315
75316     cat >>confdefs.h <<\_ACEOF
75317 #define HAVE_GETPAGESIZE 1
75318 _ACEOF
75319
75320     cat >>confdefs.h <<\_ACEOF
75321 #define HAVE_SETENV 1
75322 _ACEOF
75323
75324     cat >>confdefs.h <<\_ACEOF
75325 #define HAVE_SIGSETJMP 1
75326 _ACEOF
75327
75328     cat >>confdefs.h <<\_ACEOF
75329 #define HAVE_COPYSIGN 1
75330 _ACEOF
75331
75332     cat >>confdefs.h <<\_ACEOF
75333 #define HAVE_COPYSIGNF 1
75334 _ACEOF
75335
75336     cat >>confdefs.h <<\_ACEOF
75337 #define HAVE_FINITEF 1
75338 _ACEOF
75339
75340     cat >>confdefs.h <<\_ACEOF
75341 #define HAVE_FINITE 1
75342 _ACEOF
75343
75344     cat >>confdefs.h <<\_ACEOF
75345 #define HAVE_FREXPF 1
75346 _ACEOF
75347
75348     cat >>confdefs.h <<\_ACEOF
75349 #define HAVE_HYPOT 1
75350 _ACEOF
75351
75352     cat >>confdefs.h <<\_ACEOF
75353 #define HAVE_HYPOTF 1
75354 _ACEOF
75355
75356     cat >>confdefs.h <<\_ACEOF
75357 #define HAVE_ISINF 1
75358 _ACEOF
75359
75360     cat >>confdefs.h <<\_ACEOF
75361 #define HAVE_ISNAN 1
75362 _ACEOF
75363
75364     cat >>confdefs.h <<\_ACEOF
75365 #define HAVE_ISNANF 1
75366 _ACEOF
75367
75368
75369     cat >>confdefs.h <<\_ACEOF
75370 #define HAVE_MMAP 1
75371 _ACEOF
75372
75373     cat >>confdefs.h <<\_ACEOF
75374 #define HAVE_ACOSF 1
75375 _ACEOF
75376
75377     cat >>confdefs.h <<\_ACEOF
75378 #define HAVE_ASINF 1
75379 _ACEOF
75380
75381     cat >>confdefs.h <<\_ACEOF
75382 #define HAVE_ATAN2F 1
75383 _ACEOF
75384
75385     cat >>confdefs.h <<\_ACEOF
75386 #define HAVE_ATANF 1
75387 _ACEOF
75388
75389     cat >>confdefs.h <<\_ACEOF
75390 #define HAVE_CEILF 1
75391 _ACEOF
75392
75393     cat >>confdefs.h <<\_ACEOF
75394 #define HAVE_COPYSIGN 1
75395 _ACEOF
75396
75397     cat >>confdefs.h <<\_ACEOF
75398 #define HAVE_COPYSIGNF 1
75399 _ACEOF
75400
75401     cat >>confdefs.h <<\_ACEOF
75402 #define HAVE_COSF 1
75403 _ACEOF
75404
75405     cat >>confdefs.h <<\_ACEOF
75406 #define HAVE_COSHF 1
75407 _ACEOF
75408
75409     cat >>confdefs.h <<\_ACEOF
75410 #define HAVE_EXPF 1
75411 _ACEOF
75412
75413     cat >>confdefs.h <<\_ACEOF
75414 #define HAVE_FABSF 1
75415 _ACEOF
75416
75417     cat >>confdefs.h <<\_ACEOF
75418 #define HAVE_FLOORF 1
75419 _ACEOF
75420
75421     cat >>confdefs.h <<\_ACEOF
75422 #define HAVE_FMODF 1
75423 _ACEOF
75424
75425     cat >>confdefs.h <<\_ACEOF
75426 #define HAVE_FREXPF 1
75427 _ACEOF
75428
75429     cat >>confdefs.h <<\_ACEOF
75430 #define HAVE_LDEXPF 1
75431 _ACEOF
75432
75433     cat >>confdefs.h <<\_ACEOF
75434 #define HAVE_LOG10F 1
75435 _ACEOF
75436
75437     cat >>confdefs.h <<\_ACEOF
75438 #define HAVE_LOGF 1
75439 _ACEOF
75440
75441     cat >>confdefs.h <<\_ACEOF
75442 #define HAVE_MODFF 1
75443 _ACEOF
75444
75445     cat >>confdefs.h <<\_ACEOF
75446 #define HAVE_POWF 1
75447 _ACEOF
75448
75449     cat >>confdefs.h <<\_ACEOF
75450 #define HAVE_SINF 1
75451 _ACEOF
75452
75453     cat >>confdefs.h <<\_ACEOF
75454 #define HAVE_SINHF 1
75455 _ACEOF
75456
75457     cat >>confdefs.h <<\_ACEOF
75458 #define HAVE_SQRTF 1
75459 _ACEOF
75460
75461     cat >>confdefs.h <<\_ACEOF
75462 #define HAVE_TANF 1
75463 _ACEOF
75464
75465     cat >>confdefs.h <<\_ACEOF
75466 #define HAVE_TANHF 1
75467 _ACEOF
75468
75469     if test x"long_double_math_on_this_cpu" = x"yes"; then
75470       cat >>confdefs.h <<\_ACEOF
75471 #define HAVE_FINITEL 1
75472 _ACEOF
75473
75474       cat >>confdefs.h <<\_ACEOF
75475 #define HAVE_ISINFL 1
75476 _ACEOF
75477
75478       cat >>confdefs.h <<\_ACEOF
75479 #define HAVE_ISNANL 1
75480 _ACEOF
75481
75482     fi
75483     ;;
75484   *-hpux*)
75485
75486
75487
75488
75489
75490
75491
75492
75493
75494
75495
75496
75497 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75498       machine/endian.h machine/param.h sys/machine.h sys/types.h \
75499       fp.h locale.h float.h inttypes.h
75500 do
75501 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75502 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75503   echo "$as_me:$LINENO: checking for $ac_header" >&5
75504 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75506   echo $ECHO_N "(cached) $ECHO_C" >&6
75507 fi
75508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75509 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75510 else
75511   # Is the header compilable?
75512 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75513 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75514 cat >conftest.$ac_ext <<_ACEOF
75515 /* confdefs.h.  */
75516 _ACEOF
75517 cat confdefs.h >>conftest.$ac_ext
75518 cat >>conftest.$ac_ext <<_ACEOF
75519 /* end confdefs.h.  */
75520 $ac_includes_default
75521 #include <$ac_header>
75522 _ACEOF
75523 rm -f conftest.$ac_objext
75524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75525   (eval $ac_compile) 2>conftest.er1
75526   ac_status=$?
75527   grep -v '^ *+' conftest.er1 >conftest.err
75528   rm -f conftest.er1
75529   cat conftest.err >&5
75530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75531   (exit $ac_status); } &&
75532          { ac_try='test -z "$ac_c_werror_flag"
75533                          || test ! -s conftest.err'
75534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75535   (eval $ac_try) 2>&5
75536   ac_status=$?
75537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75538   (exit $ac_status); }; } &&
75539          { ac_try='test -s conftest.$ac_objext'
75540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75541   (eval $ac_try) 2>&5
75542   ac_status=$?
75543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75544   (exit $ac_status); }; }; then
75545   ac_header_compiler=yes
75546 else
75547   echo "$as_me: failed program was:" >&5
75548 sed 's/^/| /' conftest.$ac_ext >&5
75549
75550 ac_header_compiler=no
75551 fi
75552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75553 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75554 echo "${ECHO_T}$ac_header_compiler" >&6
75555
75556 # Is the header present?
75557 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75558 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75559 cat >conftest.$ac_ext <<_ACEOF
75560 /* confdefs.h.  */
75561 _ACEOF
75562 cat confdefs.h >>conftest.$ac_ext
75563 cat >>conftest.$ac_ext <<_ACEOF
75564 /* end confdefs.h.  */
75565 #include <$ac_header>
75566 _ACEOF
75567 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75568   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75569   ac_status=$?
75570   grep -v '^ *+' conftest.er1 >conftest.err
75571   rm -f conftest.er1
75572   cat conftest.err >&5
75573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75574   (exit $ac_status); } >/dev/null; then
75575   if test -s conftest.err; then
75576     ac_cpp_err=$ac_c_preproc_warn_flag
75577     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75578   else
75579     ac_cpp_err=
75580   fi
75581 else
75582   ac_cpp_err=yes
75583 fi
75584 if test -z "$ac_cpp_err"; then
75585   ac_header_preproc=yes
75586 else
75587   echo "$as_me: failed program was:" >&5
75588 sed 's/^/| /' conftest.$ac_ext >&5
75589
75590   ac_header_preproc=no
75591 fi
75592 rm -f conftest.err conftest.$ac_ext
75593 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75594 echo "${ECHO_T}$ac_header_preproc" >&6
75595
75596 # So?  What about this header?
75597 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75598   yes:no: )
75599     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75600 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75601     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75602 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75603     ac_header_preproc=yes
75604     ;;
75605   no:yes:* )
75606     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75607 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75608     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
75609 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
75610     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75611 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75612     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
75613 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
75614     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75615 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75616     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75617 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75618     (
75619       cat <<\_ASBOX
75620 ## ----------------------------------------- ##
75621 ## Report this to the package-unused lists.  ##
75622 ## ----------------------------------------- ##
75623 _ASBOX
75624     ) |
75625       sed "s/^/$as_me: WARNING:     /" >&2
75626     ;;
75627 esac
75628 echo "$as_me:$LINENO: checking for $ac_header" >&5
75629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75631   echo $ECHO_N "(cached) $ECHO_C" >&6
75632 else
75633   eval "$as_ac_Header=\$ac_header_preproc"
75634 fi
75635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75636 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75637
75638 fi
75639 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75640   cat >>confdefs.h <<_ACEOF
75641 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75642 _ACEOF
75643
75644 fi
75645
75646 done
75647
75648     SECTION_FLAGS='-ffunction-sections -fdata-sections'
75649
75650
75651   # If we're not using GNU ld, then there's no point in even trying these
75652   # tests.  Check for that first.  We should have already tested for gld
75653   # by now (in libtool), but require it now just to be safe...
75654   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75655   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75656
75657
75658
75659   # The name set by libtool depends on the version of libtool.  Shame on us
75660   # for depending on an impl detail, but c'est la vie.  Older versions used
75661   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75662   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75663   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
75664   # set (hence we're using an older libtool), then set it.
75665   if test x${with_gnu_ld+set} != xset; then
75666     if test x${ac_cv_prog_gnu_ld+set} != xset; then
75667       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
75668       with_gnu_ld=no
75669     else
75670       with_gnu_ld=$ac_cv_prog_gnu_ld
75671     fi
75672   fi
75673
75674   # Start by getting the version number.  I think the libtool test already
75675   # does some of this, but throws away the result.
75676
75677   ldver=`$LD --version 2>/dev/null | head -1 | \
75678          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75679
75680   glibcxx_gnu_ld_version=`echo $ldver | \
75681          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75682
75683   # Set --gc-sections.
75684   if test "$with_gnu_ld" = "notbroken"; then
75685     # GNU ld it is!  Joy and bunny rabbits!
75686
75687     # All these tests are for C++; save the language and the compiler flags.
75688     # Need to do this so that g++ won't try to link in libstdc++
75689     ac_test_CFLAGS="${CFLAGS+set}"
75690     ac_save_CFLAGS="$CFLAGS"
75691     CFLAGS='-x c++  -Wl,--gc-sections'
75692
75693     # Check for -Wl,--gc-sections
75694     # XXX This test is broken at the moment, as symbols required for linking
75695     # are now in libsupc++ (not built yet).  In addition, this test has
75696     # cored on solaris in the past.  In addition, --gc-sections doesn't
75697     # really work at the moment (keeps on discarding used sections, first
75698     # .eh_frame and now some of the glibc sections for iconv).
75699     # Bzzzzt.  Thanks for playing, maybe next time.
75700     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75701 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75702     if test "$cross_compiling" = yes; then
75703   ac_sectionLDflags=yes
75704 else
75705   cat >conftest.$ac_ext <<_ACEOF
75706 /* confdefs.h.  */
75707 _ACEOF
75708 cat confdefs.h >>conftest.$ac_ext
75709 cat >>conftest.$ac_ext <<_ACEOF
75710 /* end confdefs.h.  */
75711
75712      int main(void)
75713      {
75714        try { throw 1; }
75715        catch (...) { };
75716        return 0;
75717      }
75718
75719 _ACEOF
75720 rm -f conftest$ac_exeext
75721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75722   (eval $ac_link) 2>&5
75723   ac_status=$?
75724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75725   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
75726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75727   (eval $ac_try) 2>&5
75728   ac_status=$?
75729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75730   (exit $ac_status); }; }; then
75731   ac_sectionLDflags=yes
75732 else
75733   echo "$as_me: program exited with status $ac_status" >&5
75734 echo "$as_me: failed program was:" >&5
75735 sed 's/^/| /' conftest.$ac_ext >&5
75736
75737 ( exit $ac_status )
75738 ac_sectionLDflags=no
75739 fi
75740 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
75741 fi
75742     if test "$ac_test_CFLAGS" = set; then
75743       CFLAGS="$ac_save_CFLAGS"
75744     else
75745       # this is the suspicious part
75746       CFLAGS=''
75747     fi
75748     if test "$ac_sectionLDflags" = "yes"; then
75749       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75750     fi
75751     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
75752 echo "${ECHO_T}$ac_sectionLDflags" >&6
75753   fi
75754
75755   # Set linker optimization flags.
75756   if test x"$with_gnu_ld" = x"yes"; then
75757     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75758   fi
75759
75760
75761
75762
75763
75764
75765 echo "$as_me:$LINENO: checking for main in -lm" >&5
75766 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75767 if test "${ac_cv_lib_m_main+set}" = set; then
75768   echo $ECHO_N "(cached) $ECHO_C" >&6
75769 else
75770   ac_check_lib_save_LIBS=$LIBS
75771 LIBS="-lm  $LIBS"
75772 if test x$gcc_no_link = xyes; then
75773   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75775    { (exit 1); exit 1; }; }
75776 fi
75777 cat >conftest.$ac_ext <<_ACEOF
75778 /* confdefs.h.  */
75779 _ACEOF
75780 cat confdefs.h >>conftest.$ac_ext
75781 cat >>conftest.$ac_ext <<_ACEOF
75782 /* end confdefs.h.  */
75783
75784
75785 int
75786 main ()
75787 {
75788 main ();
75789   ;
75790   return 0;
75791 }
75792 _ACEOF
75793 rm -f conftest.$ac_objext conftest$ac_exeext
75794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75795   (eval $ac_link) 2>conftest.er1
75796   ac_status=$?
75797   grep -v '^ *+' conftest.er1 >conftest.err
75798   rm -f conftest.er1
75799   cat conftest.err >&5
75800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75801   (exit $ac_status); } &&
75802          { ac_try='test -z "$ac_c_werror_flag"
75803                          || test ! -s conftest.err'
75804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75805   (eval $ac_try) 2>&5
75806   ac_status=$?
75807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75808   (exit $ac_status); }; } &&
75809          { ac_try='test -s conftest$ac_exeext'
75810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75811   (eval $ac_try) 2>&5
75812   ac_status=$?
75813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75814   (exit $ac_status); }; }; then
75815   ac_cv_lib_m_main=yes
75816 else
75817   echo "$as_me: failed program was:" >&5
75818 sed 's/^/| /' conftest.$ac_ext >&5
75819
75820 ac_cv_lib_m_main=no
75821 fi
75822 rm -f conftest.err conftest.$ac_objext \
75823       conftest$ac_exeext conftest.$ac_ext
75824 LIBS=$ac_check_lib_save_LIBS
75825 fi
75826 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75827 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75828 if test $ac_cv_lib_m_main = yes; then
75829   cat >>confdefs.h <<_ACEOF
75830 #define HAVE_LIBM 1
75831 _ACEOF
75832
75833   LIBS="-lm $LIBS"
75834
75835 fi
75836
75837
75838 for ac_func in copysignf
75839 do
75840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75841 echo "$as_me:$LINENO: checking for $ac_func" >&5
75842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75843 if eval "test \"\${$as_ac_var+set}\" = set"; then
75844   echo $ECHO_N "(cached) $ECHO_C" >&6
75845 else
75846   if test x$gcc_no_link = xyes; then
75847   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75849    { (exit 1); exit 1; }; }
75850 fi
75851 cat >conftest.$ac_ext <<_ACEOF
75852 /* confdefs.h.  */
75853 _ACEOF
75854 cat confdefs.h >>conftest.$ac_ext
75855 cat >>conftest.$ac_ext <<_ACEOF
75856 /* end confdefs.h.  */
75857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75858    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75859 #define $ac_func innocuous_$ac_func
75860
75861 /* System header to define __stub macros and hopefully few prototypes,
75862     which can conflict with char $ac_func (); below.
75863     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75864     <limits.h> exists even on freestanding compilers.  */
75865
75866 #ifdef __STDC__
75867 # include <limits.h>
75868 #else
75869 # include <assert.h>
75870 #endif
75871
75872 #undef $ac_func
75873
75874 /* Override any gcc2 internal prototype to avoid an error.  */
75875 #ifdef __cplusplus
75876 extern "C"
75877 {
75878 #endif
75879 /* We use char because int might match the return type of a gcc2
75880    builtin and then its argument prototype would still apply.  */
75881 char $ac_func ();
75882 /* The GNU C library defines this for functions which it implements
75883     to always fail with ENOSYS.  Some functions are actually named
75884     something starting with __ and the normal name is an alias.  */
75885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75886 choke me
75887 #else
75888 char (*f) () = $ac_func;
75889 #endif
75890 #ifdef __cplusplus
75891 }
75892 #endif
75893
75894 int
75895 main ()
75896 {
75897 return f != $ac_func;
75898   ;
75899   return 0;
75900 }
75901 _ACEOF
75902 rm -f conftest.$ac_objext conftest$ac_exeext
75903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75904   (eval $ac_link) 2>conftest.er1
75905   ac_status=$?
75906   grep -v '^ *+' conftest.er1 >conftest.err
75907   rm -f conftest.er1
75908   cat conftest.err >&5
75909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75910   (exit $ac_status); } &&
75911          { ac_try='test -z "$ac_c_werror_flag"
75912                          || test ! -s conftest.err'
75913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75914   (eval $ac_try) 2>&5
75915   ac_status=$?
75916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75917   (exit $ac_status); }; } &&
75918          { ac_try='test -s conftest$ac_exeext'
75919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75920   (eval $ac_try) 2>&5
75921   ac_status=$?
75922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75923   (exit $ac_status); }; }; then
75924   eval "$as_ac_var=yes"
75925 else
75926   echo "$as_me: failed program was:" >&5
75927 sed 's/^/| /' conftest.$ac_ext >&5
75928
75929 eval "$as_ac_var=no"
75930 fi
75931 rm -f conftest.err conftest.$ac_objext \
75932       conftest$ac_exeext conftest.$ac_ext
75933 fi
75934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75936 if test `eval echo '${'$as_ac_var'}'` = yes; then
75937   cat >>confdefs.h <<_ACEOF
75938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75939 _ACEOF
75940
75941 else
75942   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75943 fi
75944 done
75945
75946
75947
75948 for ac_func in __signbit
75949 do
75950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75951 echo "$as_me:$LINENO: checking for $ac_func" >&5
75952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75953 if eval "test \"\${$as_ac_var+set}\" = set"; then
75954   echo $ECHO_N "(cached) $ECHO_C" >&6
75955 else
75956   if test x$gcc_no_link = xyes; then
75957   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75959    { (exit 1); exit 1; }; }
75960 fi
75961 cat >conftest.$ac_ext <<_ACEOF
75962 /* confdefs.h.  */
75963 _ACEOF
75964 cat confdefs.h >>conftest.$ac_ext
75965 cat >>conftest.$ac_ext <<_ACEOF
75966 /* end confdefs.h.  */
75967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75968    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75969 #define $ac_func innocuous_$ac_func
75970
75971 /* System header to define __stub macros and hopefully few prototypes,
75972     which can conflict with char $ac_func (); below.
75973     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75974     <limits.h> exists even on freestanding compilers.  */
75975
75976 #ifdef __STDC__
75977 # include <limits.h>
75978 #else
75979 # include <assert.h>
75980 #endif
75981
75982 #undef $ac_func
75983
75984 /* Override any gcc2 internal prototype to avoid an error.  */
75985 #ifdef __cplusplus
75986 extern "C"
75987 {
75988 #endif
75989 /* We use char because int might match the return type of a gcc2
75990    builtin and then its argument prototype would still apply.  */
75991 char $ac_func ();
75992 /* The GNU C library defines this for functions which it implements
75993     to always fail with ENOSYS.  Some functions are actually named
75994     something starting with __ and the normal name is an alias.  */
75995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75996 choke me
75997 #else
75998 char (*f) () = $ac_func;
75999 #endif
76000 #ifdef __cplusplus
76001 }
76002 #endif
76003
76004 int
76005 main ()
76006 {
76007 return f != $ac_func;
76008   ;
76009   return 0;
76010 }
76011 _ACEOF
76012 rm -f conftest.$ac_objext conftest$ac_exeext
76013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76014   (eval $ac_link) 2>conftest.er1
76015   ac_status=$?
76016   grep -v '^ *+' conftest.er1 >conftest.err
76017   rm -f conftest.er1
76018   cat conftest.err >&5
76019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76020   (exit $ac_status); } &&
76021          { ac_try='test -z "$ac_c_werror_flag"
76022                          || test ! -s conftest.err'
76023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76024   (eval $ac_try) 2>&5
76025   ac_status=$?
76026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76027   (exit $ac_status); }; } &&
76028          { ac_try='test -s conftest$ac_exeext'
76029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76030   (eval $ac_try) 2>&5
76031   ac_status=$?
76032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76033   (exit $ac_status); }; }; then
76034   eval "$as_ac_var=yes"
76035 else
76036   echo "$as_me: failed program was:" >&5
76037 sed 's/^/| /' conftest.$ac_ext >&5
76038
76039 eval "$as_ac_var=no"
76040 fi
76041 rm -f conftest.err conftest.$ac_objext \
76042       conftest$ac_exeext conftest.$ac_ext
76043 fi
76044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76046 if test `eval echo '${'$as_ac_var'}'` = yes; then
76047   cat >>confdefs.h <<_ACEOF
76048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76049 _ACEOF
76050
76051 else
76052   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
76053 fi
76054 done
76055
76056
76057
76058 for ac_func in __signbitf
76059 do
76060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76061 echo "$as_me:$LINENO: checking for $ac_func" >&5
76062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76063 if eval "test \"\${$as_ac_var+set}\" = set"; then
76064   echo $ECHO_N "(cached) $ECHO_C" >&6
76065 else
76066   if test x$gcc_no_link = xyes; then
76067   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76069    { (exit 1); exit 1; }; }
76070 fi
76071 cat >conftest.$ac_ext <<_ACEOF
76072 /* confdefs.h.  */
76073 _ACEOF
76074 cat confdefs.h >>conftest.$ac_ext
76075 cat >>conftest.$ac_ext <<_ACEOF
76076 /* end confdefs.h.  */
76077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76078    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76079 #define $ac_func innocuous_$ac_func
76080
76081 /* System header to define __stub macros and hopefully few prototypes,
76082     which can conflict with char $ac_func (); below.
76083     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76084     <limits.h> exists even on freestanding compilers.  */
76085
76086 #ifdef __STDC__
76087 # include <limits.h>
76088 #else
76089 # include <assert.h>
76090 #endif
76091
76092 #undef $ac_func
76093
76094 /* Override any gcc2 internal prototype to avoid an error.  */
76095 #ifdef __cplusplus
76096 extern "C"
76097 {
76098 #endif
76099 /* We use char because int might match the return type of a gcc2
76100    builtin and then its argument prototype would still apply.  */
76101 char $ac_func ();
76102 /* The GNU C library defines this for functions which it implements
76103     to always fail with ENOSYS.  Some functions are actually named
76104     something starting with __ and the normal name is an alias.  */
76105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76106 choke me
76107 #else
76108 char (*f) () = $ac_func;
76109 #endif
76110 #ifdef __cplusplus
76111 }
76112 #endif
76113
76114 int
76115 main ()
76116 {
76117 return f != $ac_func;
76118   ;
76119   return 0;
76120 }
76121 _ACEOF
76122 rm -f conftest.$ac_objext conftest$ac_exeext
76123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76124   (eval $ac_link) 2>conftest.er1
76125   ac_status=$?
76126   grep -v '^ *+' conftest.er1 >conftest.err
76127   rm -f conftest.er1
76128   cat conftest.err >&5
76129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76130   (exit $ac_status); } &&
76131          { ac_try='test -z "$ac_c_werror_flag"
76132                          || test ! -s conftest.err'
76133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76134   (eval $ac_try) 2>&5
76135   ac_status=$?
76136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76137   (exit $ac_status); }; } &&
76138          { ac_try='test -s conftest$ac_exeext'
76139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76140   (eval $ac_try) 2>&5
76141   ac_status=$?
76142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76143   (exit $ac_status); }; }; then
76144   eval "$as_ac_var=yes"
76145 else
76146   echo "$as_me: failed program was:" >&5
76147 sed 's/^/| /' conftest.$ac_ext >&5
76148
76149 eval "$as_ac_var=no"
76150 fi
76151 rm -f conftest.err conftest.$ac_objext \
76152       conftest$ac_exeext conftest.$ac_ext
76153 fi
76154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76156 if test `eval echo '${'$as_ac_var'}'` = yes; then
76157   cat >>confdefs.h <<_ACEOF
76158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76159 _ACEOF
76160
76161 else
76162   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
76163 fi
76164 done
76165
76166
76167           if test x$ac_cv_func_copysignl = x"yes"; then
76168
76169 for ac_func in __signbitl
76170 do
76171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76172 echo "$as_me:$LINENO: checking for $ac_func" >&5
76173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76174 if eval "test \"\${$as_ac_var+set}\" = set"; then
76175   echo $ECHO_N "(cached) $ECHO_C" >&6
76176 else
76177   if test x$gcc_no_link = xyes; then
76178   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76180    { (exit 1); exit 1; }; }
76181 fi
76182 cat >conftest.$ac_ext <<_ACEOF
76183 /* confdefs.h.  */
76184 _ACEOF
76185 cat confdefs.h >>conftest.$ac_ext
76186 cat >>conftest.$ac_ext <<_ACEOF
76187 /* end confdefs.h.  */
76188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76189    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76190 #define $ac_func innocuous_$ac_func
76191
76192 /* System header to define __stub macros and hopefully few prototypes,
76193     which can conflict with char $ac_func (); below.
76194     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76195     <limits.h> exists even on freestanding compilers.  */
76196
76197 #ifdef __STDC__
76198 # include <limits.h>
76199 #else
76200 # include <assert.h>
76201 #endif
76202
76203 #undef $ac_func
76204
76205 /* Override any gcc2 internal prototype to avoid an error.  */
76206 #ifdef __cplusplus
76207 extern "C"
76208 {
76209 #endif
76210 /* We use char because int might match the return type of a gcc2
76211    builtin and then its argument prototype would still apply.  */
76212 char $ac_func ();
76213 /* The GNU C library defines this for functions which it implements
76214     to always fail with ENOSYS.  Some functions are actually named
76215     something starting with __ and the normal name is an alias.  */
76216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76217 choke me
76218 #else
76219 char (*f) () = $ac_func;
76220 #endif
76221 #ifdef __cplusplus
76222 }
76223 #endif
76224
76225 int
76226 main ()
76227 {
76228 return f != $ac_func;
76229   ;
76230   return 0;
76231 }
76232 _ACEOF
76233 rm -f conftest.$ac_objext conftest$ac_exeext
76234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76235   (eval $ac_link) 2>conftest.er1
76236   ac_status=$?
76237   grep -v '^ *+' conftest.er1 >conftest.err
76238   rm -f conftest.er1
76239   cat conftest.err >&5
76240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76241   (exit $ac_status); } &&
76242          { ac_try='test -z "$ac_c_werror_flag"
76243                          || test ! -s conftest.err'
76244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76245   (eval $ac_try) 2>&5
76246   ac_status=$?
76247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76248   (exit $ac_status); }; } &&
76249          { ac_try='test -s conftest$ac_exeext'
76250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76251   (eval $ac_try) 2>&5
76252   ac_status=$?
76253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76254   (exit $ac_status); }; }; then
76255   eval "$as_ac_var=yes"
76256 else
76257   echo "$as_me: failed program was:" >&5
76258 sed 's/^/| /' conftest.$ac_ext >&5
76259
76260 eval "$as_ac_var=no"
76261 fi
76262 rm -f conftest.err conftest.$ac_objext \
76263       conftest$ac_exeext conftest.$ac_ext
76264 fi
76265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76267 if test `eval echo '${'$as_ac_var'}'` = yes; then
76268   cat >>confdefs.h <<_ACEOF
76269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76270 _ACEOF
76271
76272 else
76273   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
76274 fi
76275 done
76276
76277   fi
76278
76279   # Used in libmath/Makefile.am.
76280   if test -n "$LIBMATHOBJS"; then
76281     need_libmath=yes
76282   fi
76283
76284
76285
76286
76287   enable_iconv=no
76288   # Only continue checking if the ISO C99 headers exist and support is on.
76289   if test x"$enable_wchar_t" = xyes; then
76290
76291     # Use iconv for wchar_t to char conversions. As such, check for
76292     # X/Open Portability Guide, version 2 features (XPG2).
76293     if test "${ac_cv_header_iconv_h+set}" = set; then
76294   echo "$as_me:$LINENO: checking for iconv.h" >&5
76295 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76296 if test "${ac_cv_header_iconv_h+set}" = set; then
76297   echo $ECHO_N "(cached) $ECHO_C" >&6
76298 fi
76299 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76300 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76301 else
76302   # Is the header compilable?
76303 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76304 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76305 cat >conftest.$ac_ext <<_ACEOF
76306 /* confdefs.h.  */
76307 _ACEOF
76308 cat confdefs.h >>conftest.$ac_ext
76309 cat >>conftest.$ac_ext <<_ACEOF
76310 /* end confdefs.h.  */
76311 $ac_includes_default
76312 #include <iconv.h>
76313 _ACEOF
76314 rm -f conftest.$ac_objext
76315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76316   (eval $ac_compile) 2>conftest.er1
76317   ac_status=$?
76318   grep -v '^ *+' conftest.er1 >conftest.err
76319   rm -f conftest.er1
76320   cat conftest.err >&5
76321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76322   (exit $ac_status); } &&
76323          { ac_try='test -z "$ac_c_werror_flag"
76324                          || test ! -s conftest.err'
76325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76326   (eval $ac_try) 2>&5
76327   ac_status=$?
76328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76329   (exit $ac_status); }; } &&
76330          { ac_try='test -s conftest.$ac_objext'
76331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76332   (eval $ac_try) 2>&5
76333   ac_status=$?
76334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76335   (exit $ac_status); }; }; then
76336   ac_header_compiler=yes
76337 else
76338   echo "$as_me: failed program was:" >&5
76339 sed 's/^/| /' conftest.$ac_ext >&5
76340
76341 ac_header_compiler=no
76342 fi
76343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76344 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76345 echo "${ECHO_T}$ac_header_compiler" >&6
76346
76347 # Is the header present?
76348 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76349 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76350 cat >conftest.$ac_ext <<_ACEOF
76351 /* confdefs.h.  */
76352 _ACEOF
76353 cat confdefs.h >>conftest.$ac_ext
76354 cat >>conftest.$ac_ext <<_ACEOF
76355 /* end confdefs.h.  */
76356 #include <iconv.h>
76357 _ACEOF
76358 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76359   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76360   ac_status=$?
76361   grep -v '^ *+' conftest.er1 >conftest.err
76362   rm -f conftest.er1
76363   cat conftest.err >&5
76364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76365   (exit $ac_status); } >/dev/null; then
76366   if test -s conftest.err; then
76367     ac_cpp_err=$ac_c_preproc_warn_flag
76368     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76369   else
76370     ac_cpp_err=
76371   fi
76372 else
76373   ac_cpp_err=yes
76374 fi
76375 if test -z "$ac_cpp_err"; then
76376   ac_header_preproc=yes
76377 else
76378   echo "$as_me: failed program was:" >&5
76379 sed 's/^/| /' conftest.$ac_ext >&5
76380
76381   ac_header_preproc=no
76382 fi
76383 rm -f conftest.err conftest.$ac_ext
76384 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76385 echo "${ECHO_T}$ac_header_preproc" >&6
76386
76387 # So?  What about this header?
76388 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76389   yes:no: )
76390     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76391 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76392     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76393 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76394     ac_header_preproc=yes
76395     ;;
76396   no:yes:* )
76397     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76398 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76399     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
76400 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
76401     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76402 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76403     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
76404 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
76405     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76406 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76407     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76408 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76409     (
76410       cat <<\_ASBOX
76411 ## ----------------------------------------- ##
76412 ## Report this to the package-unused lists.  ##
76413 ## ----------------------------------------- ##
76414 _ASBOX
76415     ) |
76416       sed "s/^/$as_me: WARNING:     /" >&2
76417     ;;
76418 esac
76419 echo "$as_me:$LINENO: checking for iconv.h" >&5
76420 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76421 if test "${ac_cv_header_iconv_h+set}" = set; then
76422   echo $ECHO_N "(cached) $ECHO_C" >&6
76423 else
76424   ac_cv_header_iconv_h=$ac_header_preproc
76425 fi
76426 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76427 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76428
76429 fi
76430 if test $ac_cv_header_iconv_h = yes; then
76431   ac_has_iconv_h=yes
76432 else
76433   ac_has_iconv_h=no
76434 fi
76435
76436
76437     if test "${ac_cv_header_langinfo_h+set}" = set; then
76438   echo "$as_me:$LINENO: checking for langinfo.h" >&5
76439 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76440 if test "${ac_cv_header_langinfo_h+set}" = set; then
76441   echo $ECHO_N "(cached) $ECHO_C" >&6
76442 fi
76443 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76444 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76445 else
76446   # Is the header compilable?
76447 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76448 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76449 cat >conftest.$ac_ext <<_ACEOF
76450 /* confdefs.h.  */
76451 _ACEOF
76452 cat confdefs.h >>conftest.$ac_ext
76453 cat >>conftest.$ac_ext <<_ACEOF
76454 /* end confdefs.h.  */
76455 $ac_includes_default
76456 #include <langinfo.h>
76457 _ACEOF
76458 rm -f conftest.$ac_objext
76459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76460   (eval $ac_compile) 2>conftest.er1
76461   ac_status=$?
76462   grep -v '^ *+' conftest.er1 >conftest.err
76463   rm -f conftest.er1
76464   cat conftest.err >&5
76465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76466   (exit $ac_status); } &&
76467          { ac_try='test -z "$ac_c_werror_flag"
76468                          || test ! -s conftest.err'
76469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76470   (eval $ac_try) 2>&5
76471   ac_status=$?
76472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76473   (exit $ac_status); }; } &&
76474          { ac_try='test -s conftest.$ac_objext'
76475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76476   (eval $ac_try) 2>&5
76477   ac_status=$?
76478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76479   (exit $ac_status); }; }; then
76480   ac_header_compiler=yes
76481 else
76482   echo "$as_me: failed program was:" >&5
76483 sed 's/^/| /' conftest.$ac_ext >&5
76484
76485 ac_header_compiler=no
76486 fi
76487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76488 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76489 echo "${ECHO_T}$ac_header_compiler" >&6
76490
76491 # Is the header present?
76492 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76493 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76494 cat >conftest.$ac_ext <<_ACEOF
76495 /* confdefs.h.  */
76496 _ACEOF
76497 cat confdefs.h >>conftest.$ac_ext
76498 cat >>conftest.$ac_ext <<_ACEOF
76499 /* end confdefs.h.  */
76500 #include <langinfo.h>
76501 _ACEOF
76502 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76503   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76504   ac_status=$?
76505   grep -v '^ *+' conftest.er1 >conftest.err
76506   rm -f conftest.er1
76507   cat conftest.err >&5
76508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76509   (exit $ac_status); } >/dev/null; then
76510   if test -s conftest.err; then
76511     ac_cpp_err=$ac_c_preproc_warn_flag
76512     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76513   else
76514     ac_cpp_err=
76515   fi
76516 else
76517   ac_cpp_err=yes
76518 fi
76519 if test -z "$ac_cpp_err"; then
76520   ac_header_preproc=yes
76521 else
76522   echo "$as_me: failed program was:" >&5
76523 sed 's/^/| /' conftest.$ac_ext >&5
76524
76525   ac_header_preproc=no
76526 fi
76527 rm -f conftest.err conftest.$ac_ext
76528 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76529 echo "${ECHO_T}$ac_header_preproc" >&6
76530
76531 # So?  What about this header?
76532 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76533   yes:no: )
76534     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76535 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76536     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76537 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76538     ac_header_preproc=yes
76539     ;;
76540   no:yes:* )
76541     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76542 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76543     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
76544 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
76545     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76546 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76547     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
76548 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
76549     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76550 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76551     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76552 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76553     (
76554       cat <<\_ASBOX
76555 ## ----------------------------------------- ##
76556 ## Report this to the package-unused lists.  ##
76557 ## ----------------------------------------- ##
76558 _ASBOX
76559     ) |
76560       sed "s/^/$as_me: WARNING:     /" >&2
76561     ;;
76562 esac
76563 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76564 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76565 if test "${ac_cv_header_langinfo_h+set}" = set; then
76566   echo $ECHO_N "(cached) $ECHO_C" >&6
76567 else
76568   ac_cv_header_langinfo_h=$ac_header_preproc
76569 fi
76570 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76571 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76572
76573 fi
76574 if test $ac_cv_header_langinfo_h = yes; then
76575   ac_has_langinfo_h=yes
76576 else
76577   ac_has_langinfo_h=no
76578 fi
76579
76580
76581
76582     # Check for existence of libiconv.a providing XPG2 wchar_t support.
76583     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76584 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76585 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76586   echo $ECHO_N "(cached) $ECHO_C" >&6
76587 else
76588   ac_check_lib_save_LIBS=$LIBS
76589 LIBS="-liconv  $LIBS"
76590 if test x$gcc_no_link = xyes; then
76591   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76593    { (exit 1); exit 1; }; }
76594 fi
76595 cat >conftest.$ac_ext <<_ACEOF
76596 /* confdefs.h.  */
76597 _ACEOF
76598 cat confdefs.h >>conftest.$ac_ext
76599 cat >>conftest.$ac_ext <<_ACEOF
76600 /* end confdefs.h.  */
76601
76602 /* Override any gcc2 internal prototype to avoid an error.  */
76603 #ifdef __cplusplus
76604 extern "C"
76605 #endif
76606 /* We use char because int might match the return type of a gcc2
76607    builtin and then its argument prototype would still apply.  */
76608 char iconv ();
76609 int
76610 main ()
76611 {
76612 iconv ();
76613   ;
76614   return 0;
76615 }
76616 _ACEOF
76617 rm -f conftest.$ac_objext conftest$ac_exeext
76618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76619   (eval $ac_link) 2>conftest.er1
76620   ac_status=$?
76621   grep -v '^ *+' conftest.er1 >conftest.err
76622   rm -f conftest.er1
76623   cat conftest.err >&5
76624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76625   (exit $ac_status); } &&
76626          { ac_try='test -z "$ac_c_werror_flag"
76627                          || test ! -s conftest.err'
76628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76629   (eval $ac_try) 2>&5
76630   ac_status=$?
76631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76632   (exit $ac_status); }; } &&
76633          { ac_try='test -s conftest$ac_exeext'
76634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76635   (eval $ac_try) 2>&5
76636   ac_status=$?
76637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76638   (exit $ac_status); }; }; then
76639   ac_cv_lib_iconv_iconv=yes
76640 else
76641   echo "$as_me: failed program was:" >&5
76642 sed 's/^/| /' conftest.$ac_ext >&5
76643
76644 ac_cv_lib_iconv_iconv=no
76645 fi
76646 rm -f conftest.err conftest.$ac_objext \
76647       conftest$ac_exeext conftest.$ac_ext
76648 LIBS=$ac_check_lib_save_LIBS
76649 fi
76650 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76651 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76652 if test $ac_cv_lib_iconv_iconv = yes; then
76653   LIBICONV="-liconv"
76654 fi
76655
76656     ac_save_LIBS="$LIBS"
76657     LIBS="$LIBS $LIBICONV"
76658
76659
76660
76661
76662
76663
76664 for ac_func in iconv_open iconv_close iconv nl_langinfo
76665 do
76666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76667 echo "$as_me:$LINENO: checking for $ac_func" >&5
76668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76669 if eval "test \"\${$as_ac_var+set}\" = set"; then
76670   echo $ECHO_N "(cached) $ECHO_C" >&6
76671 else
76672   if test x$gcc_no_link = xyes; then
76673   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76675    { (exit 1); exit 1; }; }
76676 fi
76677 cat >conftest.$ac_ext <<_ACEOF
76678 /* confdefs.h.  */
76679 _ACEOF
76680 cat confdefs.h >>conftest.$ac_ext
76681 cat >>conftest.$ac_ext <<_ACEOF
76682 /* end confdefs.h.  */
76683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76684    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76685 #define $ac_func innocuous_$ac_func
76686
76687 /* System header to define __stub macros and hopefully few prototypes,
76688     which can conflict with char $ac_func (); below.
76689     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76690     <limits.h> exists even on freestanding compilers.  */
76691
76692 #ifdef __STDC__
76693 # include <limits.h>
76694 #else
76695 # include <assert.h>
76696 #endif
76697
76698 #undef $ac_func
76699
76700 /* Override any gcc2 internal prototype to avoid an error.  */
76701 #ifdef __cplusplus
76702 extern "C"
76703 {
76704 #endif
76705 /* We use char because int might match the return type of a gcc2
76706    builtin and then its argument prototype would still apply.  */
76707 char $ac_func ();
76708 /* The GNU C library defines this for functions which it implements
76709     to always fail with ENOSYS.  Some functions are actually named
76710     something starting with __ and the normal name is an alias.  */
76711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76712 choke me
76713 #else
76714 char (*f) () = $ac_func;
76715 #endif
76716 #ifdef __cplusplus
76717 }
76718 #endif
76719
76720 int
76721 main ()
76722 {
76723 return f != $ac_func;
76724   ;
76725   return 0;
76726 }
76727 _ACEOF
76728 rm -f conftest.$ac_objext conftest$ac_exeext
76729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76730   (eval $ac_link) 2>conftest.er1
76731   ac_status=$?
76732   grep -v '^ *+' conftest.er1 >conftest.err
76733   rm -f conftest.er1
76734   cat conftest.err >&5
76735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76736   (exit $ac_status); } &&
76737          { ac_try='test -z "$ac_c_werror_flag"
76738                          || test ! -s conftest.err'
76739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76740   (eval $ac_try) 2>&5
76741   ac_status=$?
76742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76743   (exit $ac_status); }; } &&
76744          { ac_try='test -s conftest$ac_exeext'
76745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76746   (eval $ac_try) 2>&5
76747   ac_status=$?
76748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76749   (exit $ac_status); }; }; then
76750   eval "$as_ac_var=yes"
76751 else
76752   echo "$as_me: failed program was:" >&5
76753 sed 's/^/| /' conftest.$ac_ext >&5
76754
76755 eval "$as_ac_var=no"
76756 fi
76757 rm -f conftest.err conftest.$ac_objext \
76758       conftest$ac_exeext conftest.$ac_ext
76759 fi
76760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76762 if test `eval echo '${'$as_ac_var'}'` = yes; then
76763   cat >>confdefs.h <<_ACEOF
76764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76765 _ACEOF
76766  ac_XPG2funcs=yes
76767 else
76768   ac_XPG2funcs=no
76769 fi
76770 done
76771
76772
76773     LIBS="$ac_save_LIBS"
76774
76775     if test x"$ac_has_iconv_h" = xyes &&
76776        test x"$ac_has_langinfo_h" = xyes &&
76777        test x"$ac_XPG2funcs" = xyes;
76778     then
76779
76780 cat >>confdefs.h <<\_ACEOF
76781 #define _GLIBCXX_USE_ICONV 1
76782 _ACEOF
76783
76784       enable_iconv=yes
76785     fi
76786   fi
76787   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
76788 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
76789   echo "$as_me:$LINENO: result: $enable_iconv" >&5
76790 echo "${ECHO_T}$enable_iconv" >&6
76791
76792     cat >>confdefs.h <<\_ACEOF
76793 #define HAVE_COPYSIGN 1
76794 _ACEOF
76795
76796     cat >>confdefs.h <<\_ACEOF
76797 #define HAVE_COPYSIGNF 1
76798 _ACEOF
76799
76800     cat >>confdefs.h <<\_ACEOF
76801 #define HAVE_FREXPF 1
76802 _ACEOF
76803
76804     cat >>confdefs.h <<\_ACEOF
76805 #define HAVE_HYPOT 1
76806 _ACEOF
76807
76808     case "$target" in
76809       *-hpux10*)
76810         cat >>confdefs.h <<\_ACEOF
76811 #define HAVE_FINITE 1
76812 _ACEOF
76813
76814         cat >>confdefs.h <<\_ACEOF
76815 #define HAVE_FINITEF 1
76816 _ACEOF
76817
76818         cat >>confdefs.h <<\_ACEOF
76819 #define HAVE_ISINF 1
76820 _ACEOF
76821
76822         cat >>confdefs.h <<\_ACEOF
76823 #define HAVE_ISINFF 1
76824 _ACEOF
76825
76826         cat >>confdefs.h <<\_ACEOF
76827 #define HAVE_ISNAN 1
76828 _ACEOF
76829
76830         cat >>confdefs.h <<\_ACEOF
76831 #define HAVE_ISNANF 1
76832 _ACEOF
76833
76834         ;;
76835     esac
76836     ;;
76837   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
76838
76839
76840
76841
76842
76843
76844
76845
76846
76847
76848
76849
76850
76851
76852
76853 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
76854       machine/endian.h machine/param.h sys/machine.h sys/types.h \
76855       fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
76856 do
76857 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76859   echo "$as_me:$LINENO: checking for $ac_header" >&5
76860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76862   echo $ECHO_N "(cached) $ECHO_C" >&6
76863 fi
76864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76866 else
76867   # Is the header compilable?
76868 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76869 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76870 cat >conftest.$ac_ext <<_ACEOF
76871 /* confdefs.h.  */
76872 _ACEOF
76873 cat confdefs.h >>conftest.$ac_ext
76874 cat >>conftest.$ac_ext <<_ACEOF
76875 /* end confdefs.h.  */
76876 $ac_includes_default
76877 #include <$ac_header>
76878 _ACEOF
76879 rm -f conftest.$ac_objext
76880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76881   (eval $ac_compile) 2>conftest.er1
76882   ac_status=$?
76883   grep -v '^ *+' conftest.er1 >conftest.err
76884   rm -f conftest.er1
76885   cat conftest.err >&5
76886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76887   (exit $ac_status); } &&
76888          { ac_try='test -z "$ac_c_werror_flag"
76889                          || test ! -s conftest.err'
76890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76891   (eval $ac_try) 2>&5
76892   ac_status=$?
76893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76894   (exit $ac_status); }; } &&
76895          { ac_try='test -s conftest.$ac_objext'
76896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76897   (eval $ac_try) 2>&5
76898   ac_status=$?
76899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76900   (exit $ac_status); }; }; then
76901   ac_header_compiler=yes
76902 else
76903   echo "$as_me: failed program was:" >&5
76904 sed 's/^/| /' conftest.$ac_ext >&5
76905
76906 ac_header_compiler=no
76907 fi
76908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76909 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76910 echo "${ECHO_T}$ac_header_compiler" >&6
76911
76912 # Is the header present?
76913 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76914 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76915 cat >conftest.$ac_ext <<_ACEOF
76916 /* confdefs.h.  */
76917 _ACEOF
76918 cat confdefs.h >>conftest.$ac_ext
76919 cat >>conftest.$ac_ext <<_ACEOF
76920 /* end confdefs.h.  */
76921 #include <$ac_header>
76922 _ACEOF
76923 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76924   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76925   ac_status=$?
76926   grep -v '^ *+' conftest.er1 >conftest.err
76927   rm -f conftest.er1
76928   cat conftest.err >&5
76929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76930   (exit $ac_status); } >/dev/null; then
76931   if test -s conftest.err; then
76932     ac_cpp_err=$ac_c_preproc_warn_flag
76933     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76934   else
76935     ac_cpp_err=
76936   fi
76937 else
76938   ac_cpp_err=yes
76939 fi
76940 if test -z "$ac_cpp_err"; then
76941   ac_header_preproc=yes
76942 else
76943   echo "$as_me: failed program was:" >&5
76944 sed 's/^/| /' conftest.$ac_ext >&5
76945
76946   ac_header_preproc=no
76947 fi
76948 rm -f conftest.err conftest.$ac_ext
76949 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76950 echo "${ECHO_T}$ac_header_preproc" >&6
76951
76952 # So?  What about this header?
76953 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76954   yes:no: )
76955     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76956 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76957     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76958 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76959     ac_header_preproc=yes
76960     ;;
76961   no:yes:* )
76962     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76963 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76964     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
76965 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
76966     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76967 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76968     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
76969 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
76970     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76971 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76972     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76973 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76974     (
76975       cat <<\_ASBOX
76976 ## ----------------------------------------- ##
76977 ## Report this to the package-unused lists.  ##
76978 ## ----------------------------------------- ##
76979 _ASBOX
76980     ) |
76981       sed "s/^/$as_me: WARNING:     /" >&2
76982     ;;
76983 esac
76984 echo "$as_me:$LINENO: checking for $ac_header" >&5
76985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76987   echo $ECHO_N "(cached) $ECHO_C" >&6
76988 else
76989   eval "$as_ac_Header=\$ac_header_preproc"
76990 fi
76991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76992 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76993
76994 fi
76995 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76996   cat >>confdefs.h <<_ACEOF
76997 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76998 _ACEOF
76999
77000 fi
77001
77002 done
77003
77004     SECTION_FLAGS='-ffunction-sections -fdata-sections'
77005
77006
77007   # If we're not using GNU ld, then there's no point in even trying these
77008   # tests.  Check for that first.  We should have already tested for gld
77009   # by now (in libtool), but require it now just to be safe...
77010   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77011   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77012
77013
77014
77015   # The name set by libtool depends on the version of libtool.  Shame on us
77016   # for depending on an impl detail, but c'est la vie.  Older versions used
77017   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77018   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77019   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
77020   # set (hence we're using an older libtool), then set it.
77021   if test x${with_gnu_ld+set} != xset; then
77022     if test x${ac_cv_prog_gnu_ld+set} != xset; then
77023       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
77024       with_gnu_ld=no
77025     else
77026       with_gnu_ld=$ac_cv_prog_gnu_ld
77027     fi
77028   fi
77029
77030   # Start by getting the version number.  I think the libtool test already
77031   # does some of this, but throws away the result.
77032
77033   ldver=`$LD --version 2>/dev/null | head -1 | \
77034          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
77035
77036   glibcxx_gnu_ld_version=`echo $ldver | \
77037          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77038
77039   # Set --gc-sections.
77040   if test "$with_gnu_ld" = "notbroken"; then
77041     # GNU ld it is!  Joy and bunny rabbits!
77042
77043     # All these tests are for C++; save the language and the compiler flags.
77044     # Need to do this so that g++ won't try to link in libstdc++
77045     ac_test_CFLAGS="${CFLAGS+set}"
77046     ac_save_CFLAGS="$CFLAGS"
77047     CFLAGS='-x c++  -Wl,--gc-sections'
77048
77049     # Check for -Wl,--gc-sections
77050     # XXX This test is broken at the moment, as symbols required for linking
77051     # are now in libsupc++ (not built yet).  In addition, this test has
77052     # cored on solaris in the past.  In addition, --gc-sections doesn't
77053     # really work at the moment (keeps on discarding used sections, first
77054     # .eh_frame and now some of the glibc sections for iconv).
77055     # Bzzzzt.  Thanks for playing, maybe next time.
77056     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77057 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77058     if test "$cross_compiling" = yes; then
77059   ac_sectionLDflags=yes
77060 else
77061   cat >conftest.$ac_ext <<_ACEOF
77062 /* confdefs.h.  */
77063 _ACEOF
77064 cat confdefs.h >>conftest.$ac_ext
77065 cat >>conftest.$ac_ext <<_ACEOF
77066 /* end confdefs.h.  */
77067
77068      int main(void)
77069      {
77070        try { throw 1; }
77071        catch (...) { };
77072        return 0;
77073      }
77074
77075 _ACEOF
77076 rm -f conftest$ac_exeext
77077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77078   (eval $ac_link) 2>&5
77079   ac_status=$?
77080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77081   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77083   (eval $ac_try) 2>&5
77084   ac_status=$?
77085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77086   (exit $ac_status); }; }; then
77087   ac_sectionLDflags=yes
77088 else
77089   echo "$as_me: program exited with status $ac_status" >&5
77090 echo "$as_me: failed program was:" >&5
77091 sed 's/^/| /' conftest.$ac_ext >&5
77092
77093 ( exit $ac_status )
77094 ac_sectionLDflags=no
77095 fi
77096 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77097 fi
77098     if test "$ac_test_CFLAGS" = set; then
77099       CFLAGS="$ac_save_CFLAGS"
77100     else
77101       # this is the suspicious part
77102       CFLAGS=''
77103     fi
77104     if test "$ac_sectionLDflags" = "yes"; then
77105       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77106     fi
77107     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
77108 echo "${ECHO_T}$ac_sectionLDflags" >&6
77109   fi
77110
77111   # Set linker optimization flags.
77112   if test x"$with_gnu_ld" = x"yes"; then
77113     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77114   fi
77115
77116
77117
77118
77119
77120
77121 echo "$as_me:$LINENO: checking for main in -lm" >&5
77122 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77123 if test "${ac_cv_lib_m_main+set}" = set; then
77124   echo $ECHO_N "(cached) $ECHO_C" >&6
77125 else
77126   ac_check_lib_save_LIBS=$LIBS
77127 LIBS="-lm  $LIBS"
77128 if test x$gcc_no_link = xyes; then
77129   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77131    { (exit 1); exit 1; }; }
77132 fi
77133 cat >conftest.$ac_ext <<_ACEOF
77134 /* confdefs.h.  */
77135 _ACEOF
77136 cat confdefs.h >>conftest.$ac_ext
77137 cat >>conftest.$ac_ext <<_ACEOF
77138 /* end confdefs.h.  */
77139
77140
77141 int
77142 main ()
77143 {
77144 main ();
77145   ;
77146   return 0;
77147 }
77148 _ACEOF
77149 rm -f conftest.$ac_objext conftest$ac_exeext
77150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77151   (eval $ac_link) 2>conftest.er1
77152   ac_status=$?
77153   grep -v '^ *+' conftest.er1 >conftest.err
77154   rm -f conftest.er1
77155   cat conftest.err >&5
77156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77157   (exit $ac_status); } &&
77158          { ac_try='test -z "$ac_c_werror_flag"
77159                          || test ! -s conftest.err'
77160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77161   (eval $ac_try) 2>&5
77162   ac_status=$?
77163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77164   (exit $ac_status); }; } &&
77165          { ac_try='test -s conftest$ac_exeext'
77166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77167   (eval $ac_try) 2>&5
77168   ac_status=$?
77169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77170   (exit $ac_status); }; }; then
77171   ac_cv_lib_m_main=yes
77172 else
77173   echo "$as_me: failed program was:" >&5
77174 sed 's/^/| /' conftest.$ac_ext >&5
77175
77176 ac_cv_lib_m_main=no
77177 fi
77178 rm -f conftest.err conftest.$ac_objext \
77179       conftest$ac_exeext conftest.$ac_ext
77180 LIBS=$ac_check_lib_save_LIBS
77181 fi
77182 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77183 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77184 if test $ac_cv_lib_m_main = yes; then
77185   cat >>confdefs.h <<_ACEOF
77186 #define HAVE_LIBM 1
77187 _ACEOF
77188
77189   LIBS="-lm $LIBS"
77190
77191 fi
77192
77193
77194 for ac_func in copysignf
77195 do
77196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77197 echo "$as_me:$LINENO: checking for $ac_func" >&5
77198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77199 if eval "test \"\${$as_ac_var+set}\" = set"; then
77200   echo $ECHO_N "(cached) $ECHO_C" >&6
77201 else
77202   if test x$gcc_no_link = xyes; then
77203   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77205    { (exit 1); exit 1; }; }
77206 fi
77207 cat >conftest.$ac_ext <<_ACEOF
77208 /* confdefs.h.  */
77209 _ACEOF
77210 cat confdefs.h >>conftest.$ac_ext
77211 cat >>conftest.$ac_ext <<_ACEOF
77212 /* end confdefs.h.  */
77213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77214    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77215 #define $ac_func innocuous_$ac_func
77216
77217 /* System header to define __stub macros and hopefully few prototypes,
77218     which can conflict with char $ac_func (); below.
77219     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77220     <limits.h> exists even on freestanding compilers.  */
77221
77222 #ifdef __STDC__
77223 # include <limits.h>
77224 #else
77225 # include <assert.h>
77226 #endif
77227
77228 #undef $ac_func
77229
77230 /* Override any gcc2 internal prototype to avoid an error.  */
77231 #ifdef __cplusplus
77232 extern "C"
77233 {
77234 #endif
77235 /* We use char because int might match the return type of a gcc2
77236    builtin and then its argument prototype would still apply.  */
77237 char $ac_func ();
77238 /* The GNU C library defines this for functions which it implements
77239     to always fail with ENOSYS.  Some functions are actually named
77240     something starting with __ and the normal name is an alias.  */
77241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77242 choke me
77243 #else
77244 char (*f) () = $ac_func;
77245 #endif
77246 #ifdef __cplusplus
77247 }
77248 #endif
77249
77250 int
77251 main ()
77252 {
77253 return f != $ac_func;
77254   ;
77255   return 0;
77256 }
77257 _ACEOF
77258 rm -f conftest.$ac_objext conftest$ac_exeext
77259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77260   (eval $ac_link) 2>conftest.er1
77261   ac_status=$?
77262   grep -v '^ *+' conftest.er1 >conftest.err
77263   rm -f conftest.er1
77264   cat conftest.err >&5
77265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77266   (exit $ac_status); } &&
77267          { ac_try='test -z "$ac_c_werror_flag"
77268                          || test ! -s conftest.err'
77269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77270   (eval $ac_try) 2>&5
77271   ac_status=$?
77272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77273   (exit $ac_status); }; } &&
77274          { ac_try='test -s conftest$ac_exeext'
77275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77276   (eval $ac_try) 2>&5
77277   ac_status=$?
77278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77279   (exit $ac_status); }; }; then
77280   eval "$as_ac_var=yes"
77281 else
77282   echo "$as_me: failed program was:" >&5
77283 sed 's/^/| /' conftest.$ac_ext >&5
77284
77285 eval "$as_ac_var=no"
77286 fi
77287 rm -f conftest.err conftest.$ac_objext \
77288       conftest$ac_exeext conftest.$ac_ext
77289 fi
77290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77292 if test `eval echo '${'$as_ac_var'}'` = yes; then
77293   cat >>confdefs.h <<_ACEOF
77294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77295 _ACEOF
77296
77297 else
77298   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77299 fi
77300 done
77301
77302
77303
77304 for ac_func in __signbit
77305 do
77306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77307 echo "$as_me:$LINENO: checking for $ac_func" >&5
77308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77309 if eval "test \"\${$as_ac_var+set}\" = set"; then
77310   echo $ECHO_N "(cached) $ECHO_C" >&6
77311 else
77312   if test x$gcc_no_link = xyes; then
77313   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77315    { (exit 1); exit 1; }; }
77316 fi
77317 cat >conftest.$ac_ext <<_ACEOF
77318 /* confdefs.h.  */
77319 _ACEOF
77320 cat confdefs.h >>conftest.$ac_ext
77321 cat >>conftest.$ac_ext <<_ACEOF
77322 /* end confdefs.h.  */
77323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77324    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77325 #define $ac_func innocuous_$ac_func
77326
77327 /* System header to define __stub macros and hopefully few prototypes,
77328     which can conflict with char $ac_func (); below.
77329     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77330     <limits.h> exists even on freestanding compilers.  */
77331
77332 #ifdef __STDC__
77333 # include <limits.h>
77334 #else
77335 # include <assert.h>
77336 #endif
77337
77338 #undef $ac_func
77339
77340 /* Override any gcc2 internal prototype to avoid an error.  */
77341 #ifdef __cplusplus
77342 extern "C"
77343 {
77344 #endif
77345 /* We use char because int might match the return type of a gcc2
77346    builtin and then its argument prototype would still apply.  */
77347 char $ac_func ();
77348 /* The GNU C library defines this for functions which it implements
77349     to always fail with ENOSYS.  Some functions are actually named
77350     something starting with __ and the normal name is an alias.  */
77351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77352 choke me
77353 #else
77354 char (*f) () = $ac_func;
77355 #endif
77356 #ifdef __cplusplus
77357 }
77358 #endif
77359
77360 int
77361 main ()
77362 {
77363 return f != $ac_func;
77364   ;
77365   return 0;
77366 }
77367 _ACEOF
77368 rm -f conftest.$ac_objext conftest$ac_exeext
77369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77370   (eval $ac_link) 2>conftest.er1
77371   ac_status=$?
77372   grep -v '^ *+' conftest.er1 >conftest.err
77373   rm -f conftest.er1
77374   cat conftest.err >&5
77375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77376   (exit $ac_status); } &&
77377          { ac_try='test -z "$ac_c_werror_flag"
77378                          || test ! -s conftest.err'
77379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77380   (eval $ac_try) 2>&5
77381   ac_status=$?
77382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77383   (exit $ac_status); }; } &&
77384          { ac_try='test -s conftest$ac_exeext'
77385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77386   (eval $ac_try) 2>&5
77387   ac_status=$?
77388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77389   (exit $ac_status); }; }; then
77390   eval "$as_ac_var=yes"
77391 else
77392   echo "$as_me: failed program was:" >&5
77393 sed 's/^/| /' conftest.$ac_ext >&5
77394
77395 eval "$as_ac_var=no"
77396 fi
77397 rm -f conftest.err conftest.$ac_objext \
77398       conftest$ac_exeext conftest.$ac_ext
77399 fi
77400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77402 if test `eval echo '${'$as_ac_var'}'` = yes; then
77403   cat >>confdefs.h <<_ACEOF
77404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77405 _ACEOF
77406
77407 else
77408   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77409 fi
77410 done
77411
77412
77413
77414 for ac_func in __signbitf
77415 do
77416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77417 echo "$as_me:$LINENO: checking for $ac_func" >&5
77418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77419 if eval "test \"\${$as_ac_var+set}\" = set"; then
77420   echo $ECHO_N "(cached) $ECHO_C" >&6
77421 else
77422   if test x$gcc_no_link = xyes; then
77423   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77425    { (exit 1); exit 1; }; }
77426 fi
77427 cat >conftest.$ac_ext <<_ACEOF
77428 /* confdefs.h.  */
77429 _ACEOF
77430 cat confdefs.h >>conftest.$ac_ext
77431 cat >>conftest.$ac_ext <<_ACEOF
77432 /* end confdefs.h.  */
77433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77434    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77435 #define $ac_func innocuous_$ac_func
77436
77437 /* System header to define __stub macros and hopefully few prototypes,
77438     which can conflict with char $ac_func (); below.
77439     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77440     <limits.h> exists even on freestanding compilers.  */
77441
77442 #ifdef __STDC__
77443 # include <limits.h>
77444 #else
77445 # include <assert.h>
77446 #endif
77447
77448 #undef $ac_func
77449
77450 /* Override any gcc2 internal prototype to avoid an error.  */
77451 #ifdef __cplusplus
77452 extern "C"
77453 {
77454 #endif
77455 /* We use char because int might match the return type of a gcc2
77456    builtin and then its argument prototype would still apply.  */
77457 char $ac_func ();
77458 /* The GNU C library defines this for functions which it implements
77459     to always fail with ENOSYS.  Some functions are actually named
77460     something starting with __ and the normal name is an alias.  */
77461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77462 choke me
77463 #else
77464 char (*f) () = $ac_func;
77465 #endif
77466 #ifdef __cplusplus
77467 }
77468 #endif
77469
77470 int
77471 main ()
77472 {
77473 return f != $ac_func;
77474   ;
77475   return 0;
77476 }
77477 _ACEOF
77478 rm -f conftest.$ac_objext conftest$ac_exeext
77479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77480   (eval $ac_link) 2>conftest.er1
77481   ac_status=$?
77482   grep -v '^ *+' conftest.er1 >conftest.err
77483   rm -f conftest.er1
77484   cat conftest.err >&5
77485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77486   (exit $ac_status); } &&
77487          { ac_try='test -z "$ac_c_werror_flag"
77488                          || test ! -s conftest.err'
77489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77490   (eval $ac_try) 2>&5
77491   ac_status=$?
77492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77493   (exit $ac_status); }; } &&
77494          { ac_try='test -s conftest$ac_exeext'
77495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77496   (eval $ac_try) 2>&5
77497   ac_status=$?
77498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77499   (exit $ac_status); }; }; then
77500   eval "$as_ac_var=yes"
77501 else
77502   echo "$as_me: failed program was:" >&5
77503 sed 's/^/| /' conftest.$ac_ext >&5
77504
77505 eval "$as_ac_var=no"
77506 fi
77507 rm -f conftest.err conftest.$ac_objext \
77508       conftest$ac_exeext conftest.$ac_ext
77509 fi
77510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77512 if test `eval echo '${'$as_ac_var'}'` = yes; then
77513   cat >>confdefs.h <<_ACEOF
77514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77515 _ACEOF
77516
77517 else
77518   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
77519 fi
77520 done
77521
77522
77523           if test x$ac_cv_func_copysignl = x"yes"; then
77524
77525 for ac_func in __signbitl
77526 do
77527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77528 echo "$as_me:$LINENO: checking for $ac_func" >&5
77529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77530 if eval "test \"\${$as_ac_var+set}\" = set"; then
77531   echo $ECHO_N "(cached) $ECHO_C" >&6
77532 else
77533   if test x$gcc_no_link = xyes; then
77534   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77536    { (exit 1); exit 1; }; }
77537 fi
77538 cat >conftest.$ac_ext <<_ACEOF
77539 /* confdefs.h.  */
77540 _ACEOF
77541 cat confdefs.h >>conftest.$ac_ext
77542 cat >>conftest.$ac_ext <<_ACEOF
77543 /* end confdefs.h.  */
77544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77545    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77546 #define $ac_func innocuous_$ac_func
77547
77548 /* System header to define __stub macros and hopefully few prototypes,
77549     which can conflict with char $ac_func (); below.
77550     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77551     <limits.h> exists even on freestanding compilers.  */
77552
77553 #ifdef __STDC__
77554 # include <limits.h>
77555 #else
77556 # include <assert.h>
77557 #endif
77558
77559 #undef $ac_func
77560
77561 /* Override any gcc2 internal prototype to avoid an error.  */
77562 #ifdef __cplusplus
77563 extern "C"
77564 {
77565 #endif
77566 /* We use char because int might match the return type of a gcc2
77567    builtin and then its argument prototype would still apply.  */
77568 char $ac_func ();
77569 /* The GNU C library defines this for functions which it implements
77570     to always fail with ENOSYS.  Some functions are actually named
77571     something starting with __ and the normal name is an alias.  */
77572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77573 choke me
77574 #else
77575 char (*f) () = $ac_func;
77576 #endif
77577 #ifdef __cplusplus
77578 }
77579 #endif
77580
77581 int
77582 main ()
77583 {
77584 return f != $ac_func;
77585   ;
77586   return 0;
77587 }
77588 _ACEOF
77589 rm -f conftest.$ac_objext conftest$ac_exeext
77590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77591   (eval $ac_link) 2>conftest.er1
77592   ac_status=$?
77593   grep -v '^ *+' conftest.er1 >conftest.err
77594   rm -f conftest.er1
77595   cat conftest.err >&5
77596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77597   (exit $ac_status); } &&
77598          { ac_try='test -z "$ac_c_werror_flag"
77599                          || test ! -s conftest.err'
77600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77601   (eval $ac_try) 2>&5
77602   ac_status=$?
77603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77604   (exit $ac_status); }; } &&
77605          { ac_try='test -s conftest$ac_exeext'
77606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77607   (eval $ac_try) 2>&5
77608   ac_status=$?
77609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77610   (exit $ac_status); }; }; then
77611   eval "$as_ac_var=yes"
77612 else
77613   echo "$as_me: failed program was:" >&5
77614 sed 's/^/| /' conftest.$ac_ext >&5
77615
77616 eval "$as_ac_var=no"
77617 fi
77618 rm -f conftest.err conftest.$ac_objext \
77619       conftest$ac_exeext conftest.$ac_ext
77620 fi
77621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77623 if test `eval echo '${'$as_ac_var'}'` = yes; then
77624   cat >>confdefs.h <<_ACEOF
77625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77626 _ACEOF
77627
77628 else
77629   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
77630 fi
77631 done
77632
77633   fi
77634
77635   # Used in libmath/Makefile.am.
77636   if test -n "$LIBMATHOBJS"; then
77637     need_libmath=yes
77638   fi
77639
77640
77641
77642
77643   enable_iconv=no
77644   # Only continue checking if the ISO C99 headers exist and support is on.
77645   if test x"$enable_wchar_t" = xyes; then
77646
77647     # Use iconv for wchar_t to char conversions. As such, check for
77648     # X/Open Portability Guide, version 2 features (XPG2).
77649     if test "${ac_cv_header_iconv_h+set}" = set; then
77650   echo "$as_me:$LINENO: checking for iconv.h" >&5
77651 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77652 if test "${ac_cv_header_iconv_h+set}" = set; then
77653   echo $ECHO_N "(cached) $ECHO_C" >&6
77654 fi
77655 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77656 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77657 else
77658   # Is the header compilable?
77659 echo "$as_me:$LINENO: checking iconv.h usability" >&5
77660 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
77661 cat >conftest.$ac_ext <<_ACEOF
77662 /* confdefs.h.  */
77663 _ACEOF
77664 cat confdefs.h >>conftest.$ac_ext
77665 cat >>conftest.$ac_ext <<_ACEOF
77666 /* end confdefs.h.  */
77667 $ac_includes_default
77668 #include <iconv.h>
77669 _ACEOF
77670 rm -f conftest.$ac_objext
77671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77672   (eval $ac_compile) 2>conftest.er1
77673   ac_status=$?
77674   grep -v '^ *+' conftest.er1 >conftest.err
77675   rm -f conftest.er1
77676   cat conftest.err >&5
77677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77678   (exit $ac_status); } &&
77679          { ac_try='test -z "$ac_c_werror_flag"
77680                          || test ! -s conftest.err'
77681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77682   (eval $ac_try) 2>&5
77683   ac_status=$?
77684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77685   (exit $ac_status); }; } &&
77686          { ac_try='test -s conftest.$ac_objext'
77687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77688   (eval $ac_try) 2>&5
77689   ac_status=$?
77690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77691   (exit $ac_status); }; }; then
77692   ac_header_compiler=yes
77693 else
77694   echo "$as_me: failed program was:" >&5
77695 sed 's/^/| /' conftest.$ac_ext >&5
77696
77697 ac_header_compiler=no
77698 fi
77699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77700 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77701 echo "${ECHO_T}$ac_header_compiler" >&6
77702
77703 # Is the header present?
77704 echo "$as_me:$LINENO: checking iconv.h presence" >&5
77705 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
77706 cat >conftest.$ac_ext <<_ACEOF
77707 /* confdefs.h.  */
77708 _ACEOF
77709 cat confdefs.h >>conftest.$ac_ext
77710 cat >>conftest.$ac_ext <<_ACEOF
77711 /* end confdefs.h.  */
77712 #include <iconv.h>
77713 _ACEOF
77714 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77715   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77716   ac_status=$?
77717   grep -v '^ *+' conftest.er1 >conftest.err
77718   rm -f conftest.er1
77719   cat conftest.err >&5
77720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77721   (exit $ac_status); } >/dev/null; then
77722   if test -s conftest.err; then
77723     ac_cpp_err=$ac_c_preproc_warn_flag
77724     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77725   else
77726     ac_cpp_err=
77727   fi
77728 else
77729   ac_cpp_err=yes
77730 fi
77731 if test -z "$ac_cpp_err"; then
77732   ac_header_preproc=yes
77733 else
77734   echo "$as_me: failed program was:" >&5
77735 sed 's/^/| /' conftest.$ac_ext >&5
77736
77737   ac_header_preproc=no
77738 fi
77739 rm -f conftest.err conftest.$ac_ext
77740 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77741 echo "${ECHO_T}$ac_header_preproc" >&6
77742
77743 # So?  What about this header?
77744 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77745   yes:no: )
77746     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
77747 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77748     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
77749 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
77750     ac_header_preproc=yes
77751     ;;
77752   no:yes:* )
77753     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
77754 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
77755     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
77756 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
77757     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
77758 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
77759     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
77760 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
77761     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
77762 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
77763     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
77764 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
77765     (
77766       cat <<\_ASBOX
77767 ## ----------------------------------------- ##
77768 ## Report this to the package-unused lists.  ##
77769 ## ----------------------------------------- ##
77770 _ASBOX
77771     ) |
77772       sed "s/^/$as_me: WARNING:     /" >&2
77773     ;;
77774 esac
77775 echo "$as_me:$LINENO: checking for iconv.h" >&5
77776 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77777 if test "${ac_cv_header_iconv_h+set}" = set; then
77778   echo $ECHO_N "(cached) $ECHO_C" >&6
77779 else
77780   ac_cv_header_iconv_h=$ac_header_preproc
77781 fi
77782 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77783 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77784
77785 fi
77786 if test $ac_cv_header_iconv_h = yes; then
77787   ac_has_iconv_h=yes
77788 else
77789   ac_has_iconv_h=no
77790 fi
77791
77792
77793     if test "${ac_cv_header_langinfo_h+set}" = set; then
77794   echo "$as_me:$LINENO: checking for langinfo.h" >&5
77795 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77796 if test "${ac_cv_header_langinfo_h+set}" = set; then
77797   echo $ECHO_N "(cached) $ECHO_C" >&6
77798 fi
77799 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77800 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77801 else
77802   # Is the header compilable?
77803 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
77804 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
77805 cat >conftest.$ac_ext <<_ACEOF
77806 /* confdefs.h.  */
77807 _ACEOF
77808 cat confdefs.h >>conftest.$ac_ext
77809 cat >>conftest.$ac_ext <<_ACEOF
77810 /* end confdefs.h.  */
77811 $ac_includes_default
77812 #include <langinfo.h>
77813 _ACEOF
77814 rm -f conftest.$ac_objext
77815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77816   (eval $ac_compile) 2>conftest.er1
77817   ac_status=$?
77818   grep -v '^ *+' conftest.er1 >conftest.err
77819   rm -f conftest.er1
77820   cat conftest.err >&5
77821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77822   (exit $ac_status); } &&
77823          { ac_try='test -z "$ac_c_werror_flag"
77824                          || test ! -s conftest.err'
77825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77826   (eval $ac_try) 2>&5
77827   ac_status=$?
77828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77829   (exit $ac_status); }; } &&
77830          { ac_try='test -s conftest.$ac_objext'
77831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77832   (eval $ac_try) 2>&5
77833   ac_status=$?
77834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77835   (exit $ac_status); }; }; then
77836   ac_header_compiler=yes
77837 else
77838   echo "$as_me: failed program was:" >&5
77839 sed 's/^/| /' conftest.$ac_ext >&5
77840
77841 ac_header_compiler=no
77842 fi
77843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77844 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77845 echo "${ECHO_T}$ac_header_compiler" >&6
77846
77847 # Is the header present?
77848 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
77849 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
77850 cat >conftest.$ac_ext <<_ACEOF
77851 /* confdefs.h.  */
77852 _ACEOF
77853 cat confdefs.h >>conftest.$ac_ext
77854 cat >>conftest.$ac_ext <<_ACEOF
77855 /* end confdefs.h.  */
77856 #include <langinfo.h>
77857 _ACEOF
77858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77859   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77860   ac_status=$?
77861   grep -v '^ *+' conftest.er1 >conftest.err
77862   rm -f conftest.er1
77863   cat conftest.err >&5
77864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77865   (exit $ac_status); } >/dev/null; then
77866   if test -s conftest.err; then
77867     ac_cpp_err=$ac_c_preproc_warn_flag
77868     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77869   else
77870     ac_cpp_err=
77871   fi
77872 else
77873   ac_cpp_err=yes
77874 fi
77875 if test -z "$ac_cpp_err"; then
77876   ac_header_preproc=yes
77877 else
77878   echo "$as_me: failed program was:" >&5
77879 sed 's/^/| /' conftest.$ac_ext >&5
77880
77881   ac_header_preproc=no
77882 fi
77883 rm -f conftest.err conftest.$ac_ext
77884 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77885 echo "${ECHO_T}$ac_header_preproc" >&6
77886
77887 # So?  What about this header?
77888 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77889   yes:no: )
77890     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
77891 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77892     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
77893 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
77894     ac_header_preproc=yes
77895     ;;
77896   no:yes:* )
77897     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
77898 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
77899     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
77900 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
77901     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
77902 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
77903     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
77904 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
77905     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
77906 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
77907     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
77908 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
77909     (
77910       cat <<\_ASBOX
77911 ## ----------------------------------------- ##
77912 ## Report this to the package-unused lists.  ##
77913 ## ----------------------------------------- ##
77914 _ASBOX
77915     ) |
77916       sed "s/^/$as_me: WARNING:     /" >&2
77917     ;;
77918 esac
77919 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77920 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77921 if test "${ac_cv_header_langinfo_h+set}" = set; then
77922   echo $ECHO_N "(cached) $ECHO_C" >&6
77923 else
77924   ac_cv_header_langinfo_h=$ac_header_preproc
77925 fi
77926 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77927 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77928
77929 fi
77930 if test $ac_cv_header_langinfo_h = yes; then
77931   ac_has_langinfo_h=yes
77932 else
77933   ac_has_langinfo_h=no
77934 fi
77935
77936
77937
77938     # Check for existence of libiconv.a providing XPG2 wchar_t support.
77939     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
77940 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
77941 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
77942   echo $ECHO_N "(cached) $ECHO_C" >&6
77943 else
77944   ac_check_lib_save_LIBS=$LIBS
77945 LIBS="-liconv  $LIBS"
77946 if test x$gcc_no_link = xyes; then
77947   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77949    { (exit 1); exit 1; }; }
77950 fi
77951 cat >conftest.$ac_ext <<_ACEOF
77952 /* confdefs.h.  */
77953 _ACEOF
77954 cat confdefs.h >>conftest.$ac_ext
77955 cat >>conftest.$ac_ext <<_ACEOF
77956 /* end confdefs.h.  */
77957
77958 /* Override any gcc2 internal prototype to avoid an error.  */
77959 #ifdef __cplusplus
77960 extern "C"
77961 #endif
77962 /* We use char because int might match the return type of a gcc2
77963    builtin and then its argument prototype would still apply.  */
77964 char iconv ();
77965 int
77966 main ()
77967 {
77968 iconv ();
77969   ;
77970   return 0;
77971 }
77972 _ACEOF
77973 rm -f conftest.$ac_objext conftest$ac_exeext
77974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77975   (eval $ac_link) 2>conftest.er1
77976   ac_status=$?
77977   grep -v '^ *+' conftest.er1 >conftest.err
77978   rm -f conftest.er1
77979   cat conftest.err >&5
77980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77981   (exit $ac_status); } &&
77982          { ac_try='test -z "$ac_c_werror_flag"
77983                          || test ! -s conftest.err'
77984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77985   (eval $ac_try) 2>&5
77986   ac_status=$?
77987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77988   (exit $ac_status); }; } &&
77989          { ac_try='test -s conftest$ac_exeext'
77990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77991   (eval $ac_try) 2>&5
77992   ac_status=$?
77993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77994   (exit $ac_status); }; }; then
77995   ac_cv_lib_iconv_iconv=yes
77996 else
77997   echo "$as_me: failed program was:" >&5
77998 sed 's/^/| /' conftest.$ac_ext >&5
77999
78000 ac_cv_lib_iconv_iconv=no
78001 fi
78002 rm -f conftest.err conftest.$ac_objext \
78003       conftest$ac_exeext conftest.$ac_ext
78004 LIBS=$ac_check_lib_save_LIBS
78005 fi
78006 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
78007 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
78008 if test $ac_cv_lib_iconv_iconv = yes; then
78009   LIBICONV="-liconv"
78010 fi
78011
78012     ac_save_LIBS="$LIBS"
78013     LIBS="$LIBS $LIBICONV"
78014
78015
78016
78017
78018
78019
78020 for ac_func in iconv_open iconv_close iconv nl_langinfo
78021 do
78022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78023 echo "$as_me:$LINENO: checking for $ac_func" >&5
78024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78025 if eval "test \"\${$as_ac_var+set}\" = set"; then
78026   echo $ECHO_N "(cached) $ECHO_C" >&6
78027 else
78028   if test x$gcc_no_link = xyes; then
78029   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78031    { (exit 1); exit 1; }; }
78032 fi
78033 cat >conftest.$ac_ext <<_ACEOF
78034 /* confdefs.h.  */
78035 _ACEOF
78036 cat confdefs.h >>conftest.$ac_ext
78037 cat >>conftest.$ac_ext <<_ACEOF
78038 /* end confdefs.h.  */
78039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78040    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78041 #define $ac_func innocuous_$ac_func
78042
78043 /* System header to define __stub macros and hopefully few prototypes,
78044     which can conflict with char $ac_func (); below.
78045     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78046     <limits.h> exists even on freestanding compilers.  */
78047
78048 #ifdef __STDC__
78049 # include <limits.h>
78050 #else
78051 # include <assert.h>
78052 #endif
78053
78054 #undef $ac_func
78055
78056 /* Override any gcc2 internal prototype to avoid an error.  */
78057 #ifdef __cplusplus
78058 extern "C"
78059 {
78060 #endif
78061 /* We use char because int might match the return type of a gcc2
78062    builtin and then its argument prototype would still apply.  */
78063 char $ac_func ();
78064 /* The GNU C library defines this for functions which it implements
78065     to always fail with ENOSYS.  Some functions are actually named
78066     something starting with __ and the normal name is an alias.  */
78067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78068 choke me
78069 #else
78070 char (*f) () = $ac_func;
78071 #endif
78072 #ifdef __cplusplus
78073 }
78074 #endif
78075
78076 int
78077 main ()
78078 {
78079 return f != $ac_func;
78080   ;
78081   return 0;
78082 }
78083 _ACEOF
78084 rm -f conftest.$ac_objext conftest$ac_exeext
78085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78086   (eval $ac_link) 2>conftest.er1
78087   ac_status=$?
78088   grep -v '^ *+' conftest.er1 >conftest.err
78089   rm -f conftest.er1
78090   cat conftest.err >&5
78091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78092   (exit $ac_status); } &&
78093          { ac_try='test -z "$ac_c_werror_flag"
78094                          || test ! -s conftest.err'
78095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78096   (eval $ac_try) 2>&5
78097   ac_status=$?
78098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78099   (exit $ac_status); }; } &&
78100          { ac_try='test -s conftest$ac_exeext'
78101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78102   (eval $ac_try) 2>&5
78103   ac_status=$?
78104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78105   (exit $ac_status); }; }; then
78106   eval "$as_ac_var=yes"
78107 else
78108   echo "$as_me: failed program was:" >&5
78109 sed 's/^/| /' conftest.$ac_ext >&5
78110
78111 eval "$as_ac_var=no"
78112 fi
78113 rm -f conftest.err conftest.$ac_objext \
78114       conftest$ac_exeext conftest.$ac_ext
78115 fi
78116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78118 if test `eval echo '${'$as_ac_var'}'` = yes; then
78119   cat >>confdefs.h <<_ACEOF
78120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78121 _ACEOF
78122  ac_XPG2funcs=yes
78123 else
78124   ac_XPG2funcs=no
78125 fi
78126 done
78127
78128
78129     LIBS="$ac_save_LIBS"
78130
78131     if test x"$ac_has_iconv_h" = xyes &&
78132        test x"$ac_has_langinfo_h" = xyes &&
78133        test x"$ac_XPG2funcs" = xyes;
78134     then
78135
78136 cat >>confdefs.h <<\_ACEOF
78137 #define _GLIBCXX_USE_ICONV 1
78138 _ACEOF
78139
78140       enable_iconv=yes
78141     fi
78142   fi
78143   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
78144 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
78145   echo "$as_me:$LINENO: result: $enable_iconv" >&5
78146 echo "${ECHO_T}$enable_iconv" >&6
78147
78148
78149     # For LFS.
78150     cat >>confdefs.h <<\_ACEOF
78151 #define HAVE_INT64_T 1
78152 _ACEOF
78153
78154     case "$target" in
78155       *-uclinux*)
78156         # Don't enable LFS with uClibc
78157         ;;
78158       *)
78159         cat >>confdefs.h <<\_ACEOF
78160 #define _GLIBCXX_USE_LFS 1
78161 _ACEOF
78162
78163     esac
78164
78165     # For showmanyc_helper().
78166
78167
78168 for ac_header in sys/ioctl.h sys/filio.h
78169 do
78170 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78171 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78172   echo "$as_me:$LINENO: checking for $ac_header" >&5
78173 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78174 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78175   echo $ECHO_N "(cached) $ECHO_C" >&6
78176 fi
78177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78178 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78179 else
78180   # Is the header compilable?
78181 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78182 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78183 cat >conftest.$ac_ext <<_ACEOF
78184 /* confdefs.h.  */
78185 _ACEOF
78186 cat confdefs.h >>conftest.$ac_ext
78187 cat >>conftest.$ac_ext <<_ACEOF
78188 /* end confdefs.h.  */
78189 $ac_includes_default
78190 #include <$ac_header>
78191 _ACEOF
78192 rm -f conftest.$ac_objext
78193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78194   (eval $ac_compile) 2>conftest.er1
78195   ac_status=$?
78196   grep -v '^ *+' conftest.er1 >conftest.err
78197   rm -f conftest.er1
78198   cat conftest.err >&5
78199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78200   (exit $ac_status); } &&
78201          { ac_try='test -z "$ac_c_werror_flag"
78202                          || test ! -s conftest.err'
78203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78204   (eval $ac_try) 2>&5
78205   ac_status=$?
78206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78207   (exit $ac_status); }; } &&
78208          { ac_try='test -s conftest.$ac_objext'
78209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78210   (eval $ac_try) 2>&5
78211   ac_status=$?
78212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78213   (exit $ac_status); }; }; then
78214   ac_header_compiler=yes
78215 else
78216   echo "$as_me: failed program was:" >&5
78217 sed 's/^/| /' conftest.$ac_ext >&5
78218
78219 ac_header_compiler=no
78220 fi
78221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78222 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78223 echo "${ECHO_T}$ac_header_compiler" >&6
78224
78225 # Is the header present?
78226 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78227 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78228 cat >conftest.$ac_ext <<_ACEOF
78229 /* confdefs.h.  */
78230 _ACEOF
78231 cat confdefs.h >>conftest.$ac_ext
78232 cat >>conftest.$ac_ext <<_ACEOF
78233 /* end confdefs.h.  */
78234 #include <$ac_header>
78235 _ACEOF
78236 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78237   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78238   ac_status=$?
78239   grep -v '^ *+' conftest.er1 >conftest.err
78240   rm -f conftest.er1
78241   cat conftest.err >&5
78242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78243   (exit $ac_status); } >/dev/null; then
78244   if test -s conftest.err; then
78245     ac_cpp_err=$ac_c_preproc_warn_flag
78246     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78247   else
78248     ac_cpp_err=
78249   fi
78250 else
78251   ac_cpp_err=yes
78252 fi
78253 if test -z "$ac_cpp_err"; then
78254   ac_header_preproc=yes
78255 else
78256   echo "$as_me: failed program was:" >&5
78257 sed 's/^/| /' conftest.$ac_ext >&5
78258
78259   ac_header_preproc=no
78260 fi
78261 rm -f conftest.err conftest.$ac_ext
78262 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78263 echo "${ECHO_T}$ac_header_preproc" >&6
78264
78265 # So?  What about this header?
78266 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78267   yes:no: )
78268     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78269 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78270     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78271 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78272     ac_header_preproc=yes
78273     ;;
78274   no:yes:* )
78275     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78276 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78277     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
78278 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
78279     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78280 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78281     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
78282 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
78283     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78284 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78285     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78286 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78287     (
78288       cat <<\_ASBOX
78289 ## ----------------------------------------- ##
78290 ## Report this to the package-unused lists.  ##
78291 ## ----------------------------------------- ##
78292 _ASBOX
78293     ) |
78294       sed "s/^/$as_me: WARNING:     /" >&2
78295     ;;
78296 esac
78297 echo "$as_me:$LINENO: checking for $ac_header" >&5
78298 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78300   echo $ECHO_N "(cached) $ECHO_C" >&6
78301 else
78302   eval "$as_ac_Header=\$ac_header_preproc"
78303 fi
78304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78305 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78306
78307 fi
78308 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78309   cat >>confdefs.h <<_ACEOF
78310 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78311 _ACEOF
78312
78313 fi
78314
78315 done
78316
78317
78318   echo "$as_me:$LINENO: checking for poll" >&5
78319 echo $ECHO_N "checking for poll... $ECHO_C" >&6
78320   if test "${glibcxx_cv_POLL+set}" = set; then
78321   echo $ECHO_N "(cached) $ECHO_C" >&6
78322 else
78323
78324     if test x$gcc_no_link = xyes; then
78325   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78327    { (exit 1); exit 1; }; }
78328 fi
78329 cat >conftest.$ac_ext <<_ACEOF
78330 /* confdefs.h.  */
78331 _ACEOF
78332 cat confdefs.h >>conftest.$ac_ext
78333 cat >>conftest.$ac_ext <<_ACEOF
78334 /* end confdefs.h.  */
78335 #include <poll.h>
78336 int
78337 main ()
78338 {
78339 struct pollfd pfd[1];
78340        pfd[0].events = POLLIN;
78341        poll(pfd, 1, 0);
78342   ;
78343   return 0;
78344 }
78345 _ACEOF
78346 rm -f conftest.$ac_objext conftest$ac_exeext
78347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78348   (eval $ac_link) 2>conftest.er1
78349   ac_status=$?
78350   grep -v '^ *+' conftest.er1 >conftest.err
78351   rm -f conftest.er1
78352   cat conftest.err >&5
78353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78354   (exit $ac_status); } &&
78355          { ac_try='test -z "$ac_c_werror_flag"
78356                          || test ! -s conftest.err'
78357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78358   (eval $ac_try) 2>&5
78359   ac_status=$?
78360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78361   (exit $ac_status); }; } &&
78362          { ac_try='test -s conftest$ac_exeext'
78363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78364   (eval $ac_try) 2>&5
78365   ac_status=$?
78366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78367   (exit $ac_status); }; }; then
78368   glibcxx_cv_POLL=yes
78369 else
78370   echo "$as_me: failed program was:" >&5
78371 sed 's/^/| /' conftest.$ac_ext >&5
78372
78373 glibcxx_cv_POLL=no
78374 fi
78375 rm -f conftest.err conftest.$ac_objext \
78376       conftest$ac_exeext conftest.$ac_ext
78377
78378 fi
78379
78380   if test $glibcxx_cv_POLL = yes; then
78381
78382 cat >>confdefs.h <<\_ACEOF
78383 #define HAVE_POLL 1
78384 _ACEOF
78385
78386   fi
78387   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
78388 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
78389
78390
78391   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
78392 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
78393   if test "${glibcxx_cv_S_ISREG+set}" = set; then
78394   echo $ECHO_N "(cached) $ECHO_C" >&6
78395 else
78396
78397     if test x$gcc_no_link = xyes; then
78398   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78400    { (exit 1); exit 1; }; }
78401 fi
78402 cat >conftest.$ac_ext <<_ACEOF
78403 /* confdefs.h.  */
78404 _ACEOF
78405 cat confdefs.h >>conftest.$ac_ext
78406 cat >>conftest.$ac_ext <<_ACEOF
78407 /* end confdefs.h.  */
78408 #include <sys/stat.h>
78409 int
78410 main ()
78411 {
78412 struct stat buffer;
78413        fstat(0, &buffer);
78414        S_ISREG(buffer.st_mode);
78415   ;
78416   return 0;
78417 }
78418 _ACEOF
78419 rm -f conftest.$ac_objext conftest$ac_exeext
78420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78421   (eval $ac_link) 2>conftest.er1
78422   ac_status=$?
78423   grep -v '^ *+' conftest.er1 >conftest.err
78424   rm -f conftest.er1
78425   cat conftest.err >&5
78426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78427   (exit $ac_status); } &&
78428          { ac_try='test -z "$ac_c_werror_flag"
78429                          || test ! -s conftest.err'
78430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78431   (eval $ac_try) 2>&5
78432   ac_status=$?
78433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78434   (exit $ac_status); }; } &&
78435          { ac_try='test -s conftest$ac_exeext'
78436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78437   (eval $ac_try) 2>&5
78438   ac_status=$?
78439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78440   (exit $ac_status); }; }; then
78441   glibcxx_cv_S_ISREG=yes
78442 else
78443   echo "$as_me: failed program was:" >&5
78444 sed 's/^/| /' conftest.$ac_ext >&5
78445
78446 glibcxx_cv_S_ISREG=no
78447 fi
78448 rm -f conftest.err conftest.$ac_objext \
78449       conftest$ac_exeext conftest.$ac_ext
78450
78451 fi
78452
78453   if test "${glibcxx_cv_S_IFREG+set}" = set; then
78454   echo $ECHO_N "(cached) $ECHO_C" >&6
78455 else
78456
78457     if test x$gcc_no_link = xyes; then
78458   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78460    { (exit 1); exit 1; }; }
78461 fi
78462 cat >conftest.$ac_ext <<_ACEOF
78463 /* confdefs.h.  */
78464 _ACEOF
78465 cat confdefs.h >>conftest.$ac_ext
78466 cat >>conftest.$ac_ext <<_ACEOF
78467 /* end confdefs.h.  */
78468 #include <sys/stat.h>
78469 int
78470 main ()
78471 {
78472 struct stat buffer;
78473        fstat(0, &buffer);
78474        S_IFREG & buffer.st_mode;
78475   ;
78476   return 0;
78477 }
78478 _ACEOF
78479 rm -f conftest.$ac_objext conftest$ac_exeext
78480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78481   (eval $ac_link) 2>conftest.er1
78482   ac_status=$?
78483   grep -v '^ *+' conftest.er1 >conftest.err
78484   rm -f conftest.er1
78485   cat conftest.err >&5
78486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78487   (exit $ac_status); } &&
78488          { ac_try='test -z "$ac_c_werror_flag"
78489                          || test ! -s conftest.err'
78490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78491   (eval $ac_try) 2>&5
78492   ac_status=$?
78493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78494   (exit $ac_status); }; } &&
78495          { ac_try='test -s conftest$ac_exeext'
78496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78497   (eval $ac_try) 2>&5
78498   ac_status=$?
78499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78500   (exit $ac_status); }; }; then
78501   glibcxx_cv_S_IFREG=yes
78502 else
78503   echo "$as_me: failed program was:" >&5
78504 sed 's/^/| /' conftest.$ac_ext >&5
78505
78506 glibcxx_cv_S_IFREG=no
78507 fi
78508 rm -f conftest.err conftest.$ac_objext \
78509       conftest$ac_exeext conftest.$ac_ext
78510
78511 fi
78512
78513   res=no
78514   if test $glibcxx_cv_S_ISREG = yes; then
78515
78516 cat >>confdefs.h <<\_ACEOF
78517 #define HAVE_S_ISREG 1
78518 _ACEOF
78519
78520     res=S_ISREG
78521   elif test $glibcxx_cv_S_IFREG = yes; then
78522
78523 cat >>confdefs.h <<\_ACEOF
78524 #define HAVE_S_IFREG 1
78525 _ACEOF
78526
78527     res=S_IFREG
78528   fi
78529   echo "$as_me:$LINENO: result: $res" >&5
78530 echo "${ECHO_T}$res" >&6
78531
78532
78533     # For xsputn_2().
78534
78535 for ac_header in sys/uio.h
78536 do
78537 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78538 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78539   echo "$as_me:$LINENO: checking for $ac_header" >&5
78540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78541 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78542   echo $ECHO_N "(cached) $ECHO_C" >&6
78543 fi
78544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78545 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78546 else
78547   # Is the header compilable?
78548 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78549 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78550 cat >conftest.$ac_ext <<_ACEOF
78551 /* confdefs.h.  */
78552 _ACEOF
78553 cat confdefs.h >>conftest.$ac_ext
78554 cat >>conftest.$ac_ext <<_ACEOF
78555 /* end confdefs.h.  */
78556 $ac_includes_default
78557 #include <$ac_header>
78558 _ACEOF
78559 rm -f conftest.$ac_objext
78560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78561   (eval $ac_compile) 2>conftest.er1
78562   ac_status=$?
78563   grep -v '^ *+' conftest.er1 >conftest.err
78564   rm -f conftest.er1
78565   cat conftest.err >&5
78566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78567   (exit $ac_status); } &&
78568          { ac_try='test -z "$ac_c_werror_flag"
78569                          || test ! -s conftest.err'
78570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78571   (eval $ac_try) 2>&5
78572   ac_status=$?
78573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78574   (exit $ac_status); }; } &&
78575          { ac_try='test -s conftest.$ac_objext'
78576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78577   (eval $ac_try) 2>&5
78578   ac_status=$?
78579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78580   (exit $ac_status); }; }; then
78581   ac_header_compiler=yes
78582 else
78583   echo "$as_me: failed program was:" >&5
78584 sed 's/^/| /' conftest.$ac_ext >&5
78585
78586 ac_header_compiler=no
78587 fi
78588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78589 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78590 echo "${ECHO_T}$ac_header_compiler" >&6
78591
78592 # Is the header present?
78593 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78594 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78595 cat >conftest.$ac_ext <<_ACEOF
78596 /* confdefs.h.  */
78597 _ACEOF
78598 cat confdefs.h >>conftest.$ac_ext
78599 cat >>conftest.$ac_ext <<_ACEOF
78600 /* end confdefs.h.  */
78601 #include <$ac_header>
78602 _ACEOF
78603 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78604   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78605   ac_status=$?
78606   grep -v '^ *+' conftest.er1 >conftest.err
78607   rm -f conftest.er1
78608   cat conftest.err >&5
78609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78610   (exit $ac_status); } >/dev/null; then
78611   if test -s conftest.err; then
78612     ac_cpp_err=$ac_c_preproc_warn_flag
78613     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78614   else
78615     ac_cpp_err=
78616   fi
78617 else
78618   ac_cpp_err=yes
78619 fi
78620 if test -z "$ac_cpp_err"; then
78621   ac_header_preproc=yes
78622 else
78623   echo "$as_me: failed program was:" >&5
78624 sed 's/^/| /' conftest.$ac_ext >&5
78625
78626   ac_header_preproc=no
78627 fi
78628 rm -f conftest.err conftest.$ac_ext
78629 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78630 echo "${ECHO_T}$ac_header_preproc" >&6
78631
78632 # So?  What about this header?
78633 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78634   yes:no: )
78635     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78636 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78637     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78638 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78639     ac_header_preproc=yes
78640     ;;
78641   no:yes:* )
78642     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78643 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78644     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
78645 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
78646     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78647 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78648     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
78649 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
78650     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78651 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78652     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78653 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78654     (
78655       cat <<\_ASBOX
78656 ## ----------------------------------------- ##
78657 ## Report this to the package-unused lists.  ##
78658 ## ----------------------------------------- ##
78659 _ASBOX
78660     ) |
78661       sed "s/^/$as_me: WARNING:     /" >&2
78662     ;;
78663 esac
78664 echo "$as_me:$LINENO: checking for $ac_header" >&5
78665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78667   echo $ECHO_N "(cached) $ECHO_C" >&6
78668 else
78669   eval "$as_ac_Header=\$ac_header_preproc"
78670 fi
78671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78672 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78673
78674 fi
78675 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78676   cat >>confdefs.h <<_ACEOF
78677 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78678 _ACEOF
78679
78680 fi
78681
78682 done
78683
78684
78685   echo "$as_me:$LINENO: checking for writev" >&5
78686 echo $ECHO_N "checking for writev... $ECHO_C" >&6
78687   if test "${glibcxx_cv_WRITEV+set}" = set; then
78688   echo $ECHO_N "(cached) $ECHO_C" >&6
78689 else
78690
78691     if test x$gcc_no_link = xyes; then
78692   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78694    { (exit 1); exit 1; }; }
78695 fi
78696 cat >conftest.$ac_ext <<_ACEOF
78697 /* confdefs.h.  */
78698 _ACEOF
78699 cat confdefs.h >>conftest.$ac_ext
78700 cat >>conftest.$ac_ext <<_ACEOF
78701 /* end confdefs.h.  */
78702 #include <sys/uio.h>
78703 int
78704 main ()
78705 {
78706 struct iovec iov[2];
78707        writev(0, iov, 0);
78708   ;
78709   return 0;
78710 }
78711 _ACEOF
78712 rm -f conftest.$ac_objext conftest$ac_exeext
78713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78714   (eval $ac_link) 2>conftest.er1
78715   ac_status=$?
78716   grep -v '^ *+' conftest.er1 >conftest.err
78717   rm -f conftest.er1
78718   cat conftest.err >&5
78719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78720   (exit $ac_status); } &&
78721          { ac_try='test -z "$ac_c_werror_flag"
78722                          || test ! -s conftest.err'
78723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78724   (eval $ac_try) 2>&5
78725   ac_status=$?
78726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78727   (exit $ac_status); }; } &&
78728          { ac_try='test -s conftest$ac_exeext'
78729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78730   (eval $ac_try) 2>&5
78731   ac_status=$?
78732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78733   (exit $ac_status); }; }; then
78734   glibcxx_cv_WRITEV=yes
78735 else
78736   echo "$as_me: failed program was:" >&5
78737 sed 's/^/| /' conftest.$ac_ext >&5
78738
78739 glibcxx_cv_WRITEV=no
78740 fi
78741 rm -f conftest.err conftest.$ac_objext \
78742       conftest$ac_exeext conftest.$ac_ext
78743
78744 fi
78745
78746   if test $glibcxx_cv_WRITEV = yes; then
78747
78748 cat >>confdefs.h <<\_ACEOF
78749 #define HAVE_WRITEV 1
78750 _ACEOF
78751
78752   fi
78753   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
78754 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
78755
78756
78757     cat >>confdefs.h <<\_ACEOF
78758 #define HAVE_ACOSF 1
78759 _ACEOF
78760
78761     cat >>confdefs.h <<\_ACEOF
78762 #define HAVE_ASINF 1
78763 _ACEOF
78764
78765     cat >>confdefs.h <<\_ACEOF
78766 #define HAVE_ATANF 1
78767 _ACEOF
78768
78769     cat >>confdefs.h <<\_ACEOF
78770 #define HAVE_ATAN2F 1
78771 _ACEOF
78772
78773     cat >>confdefs.h <<\_ACEOF
78774 #define HAVE_CEILF 1
78775 _ACEOF
78776
78777     cat >>confdefs.h <<\_ACEOF
78778 #define HAVE_COPYSIGN 1
78779 _ACEOF
78780
78781     cat >>confdefs.h <<\_ACEOF
78782 #define HAVE_COPYSIGNF 1
78783 _ACEOF
78784
78785     cat >>confdefs.h <<\_ACEOF
78786 #define HAVE_COSF 1
78787 _ACEOF
78788
78789     cat >>confdefs.h <<\_ACEOF
78790 #define HAVE_COSHF 1
78791 _ACEOF
78792
78793     cat >>confdefs.h <<\_ACEOF
78794 #define HAVE_EXPF 1
78795 _ACEOF
78796
78797     cat >>confdefs.h <<\_ACEOF
78798 #define HAVE_FABSF 1
78799 _ACEOF
78800
78801     cat >>confdefs.h <<\_ACEOF
78802 #define HAVE_FINITE 1
78803 _ACEOF
78804
78805     cat >>confdefs.h <<\_ACEOF
78806 #define HAVE_FINITEF 1
78807 _ACEOF
78808
78809     cat >>confdefs.h <<\_ACEOF
78810 #define HAVE_FLOORF 1
78811 _ACEOF
78812
78813     cat >>confdefs.h <<\_ACEOF
78814 #define HAVE_FMODF 1
78815 _ACEOF
78816
78817     cat >>confdefs.h <<\_ACEOF
78818 #define HAVE_FREXPF 1
78819 _ACEOF
78820
78821     cat >>confdefs.h <<\_ACEOF
78822 #define HAVE_HYPOT 1
78823 _ACEOF
78824
78825     cat >>confdefs.h <<\_ACEOF
78826 #define HAVE_HYPOTF 1
78827 _ACEOF
78828
78829     cat >>confdefs.h <<\_ACEOF
78830 #define HAVE_ISINF 1
78831 _ACEOF
78832
78833     cat >>confdefs.h <<\_ACEOF
78834 #define HAVE_ISINFF 1
78835 _ACEOF
78836
78837     cat >>confdefs.h <<\_ACEOF
78838 #define HAVE_ISNAN 1
78839 _ACEOF
78840
78841     cat >>confdefs.h <<\_ACEOF
78842 #define HAVE_ISNANF 1
78843 _ACEOF
78844
78845     cat >>confdefs.h <<\_ACEOF
78846 #define HAVE_LOGF 1
78847 _ACEOF
78848
78849     cat >>confdefs.h <<\_ACEOF
78850 #define HAVE_LOG10F 1
78851 _ACEOF
78852
78853     cat >>confdefs.h <<\_ACEOF
78854 #define HAVE_MODFF 1
78855 _ACEOF
78856
78857     cat >>confdefs.h <<\_ACEOF
78858 #define HAVE_SINF 1
78859 _ACEOF
78860
78861     cat >>confdefs.h <<\_ACEOF
78862 #define HAVE_SINHF 1
78863 _ACEOF
78864
78865     cat >>confdefs.h <<\_ACEOF
78866 #define HAVE_SINCOS 1
78867 _ACEOF
78868
78869     cat >>confdefs.h <<\_ACEOF
78870 #define HAVE_SINCOSF 1
78871 _ACEOF
78872
78873     cat >>confdefs.h <<\_ACEOF
78874 #define HAVE_SQRTF 1
78875 _ACEOF
78876
78877     cat >>confdefs.h <<\_ACEOF
78878 #define HAVE_TANF 1
78879 _ACEOF
78880
78881     cat >>confdefs.h <<\_ACEOF
78882 #define HAVE_TANHF 1
78883 _ACEOF
78884
78885     if test x"long_double_math_on_this_cpu" = x"yes"; then
78886       cat >>confdefs.h <<\_ACEOF
78887 #define HAVE_ACOSL 1
78888 _ACEOF
78889
78890       cat >>confdefs.h <<\_ACEOF
78891 #define HAVE_ASINL 1
78892 _ACEOF
78893
78894       cat >>confdefs.h <<\_ACEOF
78895 #define HAVE_ATANL 1
78896 _ACEOF
78897
78898       cat >>confdefs.h <<\_ACEOF
78899 #define HAVE_ATAN2L 1
78900 _ACEOF
78901
78902       cat >>confdefs.h <<\_ACEOF
78903 #define HAVE_CEILL 1
78904 _ACEOF
78905
78906       cat >>confdefs.h <<\_ACEOF
78907 #define HAVE_COPYSIGNL 1
78908 _ACEOF
78909
78910       cat >>confdefs.h <<\_ACEOF
78911 #define HAVE_COSL 1
78912 _ACEOF
78913
78914       cat >>confdefs.h <<\_ACEOF
78915 #define HAVE_COSHL 1
78916 _ACEOF
78917
78918       cat >>confdefs.h <<\_ACEOF
78919 #define HAVE_EXPL 1
78920 _ACEOF
78921
78922       cat >>confdefs.h <<\_ACEOF
78923 #define HAVE_FABSL 1
78924 _ACEOF
78925
78926       cat >>confdefs.h <<\_ACEOF
78927 #define HAVE_FINITEL 1
78928 _ACEOF
78929
78930       cat >>confdefs.h <<\_ACEOF
78931 #define HAVE_FLOORL 1
78932 _ACEOF
78933
78934       cat >>confdefs.h <<\_ACEOF
78935 #define HAVE_FMODL 1
78936 _ACEOF
78937
78938       cat >>confdefs.h <<\_ACEOF
78939 #define HAVE_FREXPL 1
78940 _ACEOF
78941
78942       cat >>confdefs.h <<\_ACEOF
78943 #define HAVE_HYPOTL 1
78944 _ACEOF
78945
78946       cat >>confdefs.h <<\_ACEOF
78947 #define HAVE_ISINFL 1
78948 _ACEOF
78949
78950       cat >>confdefs.h <<\_ACEOF
78951 #define HAVE_ISNANL 1
78952 _ACEOF
78953
78954       cat >>confdefs.h <<\_ACEOF
78955 #define HAVE_LOGL 1
78956 _ACEOF
78957
78958       cat >>confdefs.h <<\_ACEOF
78959 #define HAVE_LOG10L 1
78960 _ACEOF
78961
78962       cat >>confdefs.h <<\_ACEOF
78963 #define HAVE_MODFL 1
78964 _ACEOF
78965
78966       cat >>confdefs.h <<\_ACEOF
78967 #define HAVE_POWL 1
78968 _ACEOF
78969
78970       cat >>confdefs.h <<\_ACEOF
78971 #define HAVE_SINL 1
78972 _ACEOF
78973
78974       cat >>confdefs.h <<\_ACEOF
78975 #define HAVE_SINHL 1
78976 _ACEOF
78977
78978       cat >>confdefs.h <<\_ACEOF
78979 #define HAVE_SINCOSL 1
78980 _ACEOF
78981
78982       cat >>confdefs.h <<\_ACEOF
78983 #define HAVE_SQRTL 1
78984 _ACEOF
78985
78986       cat >>confdefs.h <<\_ACEOF
78987 #define HAVE_TANL 1
78988 _ACEOF
78989
78990       cat >>confdefs.h <<\_ACEOF
78991 #define HAVE_TANHL 1
78992 _ACEOF
78993
78994     fi
78995     ;;
78996   *-mingw32*)
78997
78998
78999
79000 for ac_header in sys/types.h locale.h float.h
79001 do
79002 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79004   echo "$as_me:$LINENO: checking for $ac_header" >&5
79005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79006 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79007   echo $ECHO_N "(cached) $ECHO_C" >&6
79008 fi
79009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79010 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79011 else
79012   # Is the header compilable?
79013 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79014 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79015 cat >conftest.$ac_ext <<_ACEOF
79016 /* confdefs.h.  */
79017 _ACEOF
79018 cat confdefs.h >>conftest.$ac_ext
79019 cat >>conftest.$ac_ext <<_ACEOF
79020 /* end confdefs.h.  */
79021 $ac_includes_default
79022 #include <$ac_header>
79023 _ACEOF
79024 rm -f conftest.$ac_objext
79025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79026   (eval $ac_compile) 2>conftest.er1
79027   ac_status=$?
79028   grep -v '^ *+' conftest.er1 >conftest.err
79029   rm -f conftest.er1
79030   cat conftest.err >&5
79031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79032   (exit $ac_status); } &&
79033          { ac_try='test -z "$ac_c_werror_flag"
79034                          || test ! -s conftest.err'
79035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79036   (eval $ac_try) 2>&5
79037   ac_status=$?
79038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79039   (exit $ac_status); }; } &&
79040          { ac_try='test -s conftest.$ac_objext'
79041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79042   (eval $ac_try) 2>&5
79043   ac_status=$?
79044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79045   (exit $ac_status); }; }; then
79046   ac_header_compiler=yes
79047 else
79048   echo "$as_me: failed program was:" >&5
79049 sed 's/^/| /' conftest.$ac_ext >&5
79050
79051 ac_header_compiler=no
79052 fi
79053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79054 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79055 echo "${ECHO_T}$ac_header_compiler" >&6
79056
79057 # Is the header present?
79058 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79059 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79060 cat >conftest.$ac_ext <<_ACEOF
79061 /* confdefs.h.  */
79062 _ACEOF
79063 cat confdefs.h >>conftest.$ac_ext
79064 cat >>conftest.$ac_ext <<_ACEOF
79065 /* end confdefs.h.  */
79066 #include <$ac_header>
79067 _ACEOF
79068 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79069   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79070   ac_status=$?
79071   grep -v '^ *+' conftest.er1 >conftest.err
79072   rm -f conftest.er1
79073   cat conftest.err >&5
79074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79075   (exit $ac_status); } >/dev/null; then
79076   if test -s conftest.err; then
79077     ac_cpp_err=$ac_c_preproc_warn_flag
79078     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79079   else
79080     ac_cpp_err=
79081   fi
79082 else
79083   ac_cpp_err=yes
79084 fi
79085 if test -z "$ac_cpp_err"; then
79086   ac_header_preproc=yes
79087 else
79088   echo "$as_me: failed program was:" >&5
79089 sed 's/^/| /' conftest.$ac_ext >&5
79090
79091   ac_header_preproc=no
79092 fi
79093 rm -f conftest.err conftest.$ac_ext
79094 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79095 echo "${ECHO_T}$ac_header_preproc" >&6
79096
79097 # So?  What about this header?
79098 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79099   yes:no: )
79100     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79101 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79102     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79103 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79104     ac_header_preproc=yes
79105     ;;
79106   no:yes:* )
79107     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79108 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79109     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
79110 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
79111     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79112 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79113     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
79114 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
79115     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79116 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79117     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79118 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79119     (
79120       cat <<\_ASBOX
79121 ## ----------------------------------------- ##
79122 ## Report this to the package-unused lists.  ##
79123 ## ----------------------------------------- ##
79124 _ASBOX
79125     ) |
79126       sed "s/^/$as_me: WARNING:     /" >&2
79127     ;;
79128 esac
79129 echo "$as_me:$LINENO: checking for $ac_header" >&5
79130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79132   echo $ECHO_N "(cached) $ECHO_C" >&6
79133 else
79134   eval "$as_ac_Header=\$ac_header_preproc"
79135 fi
79136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79137 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79138
79139 fi
79140 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79141   cat >>confdefs.h <<_ACEOF
79142 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79143 _ACEOF
79144
79145 fi
79146
79147 done
79148
79149
79150   # If we're not using GNU ld, then there's no point in even trying these
79151   # tests.  Check for that first.  We should have already tested for gld
79152   # by now (in libtool), but require it now just to be safe...
79153   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79154   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79155
79156
79157
79158   # The name set by libtool depends on the version of libtool.  Shame on us
79159   # for depending on an impl detail, but c'est la vie.  Older versions used
79160   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79161   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79162   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
79163   # set (hence we're using an older libtool), then set it.
79164   if test x${with_gnu_ld+set} != xset; then
79165     if test x${ac_cv_prog_gnu_ld+set} != xset; then
79166       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
79167       with_gnu_ld=no
79168     else
79169       with_gnu_ld=$ac_cv_prog_gnu_ld
79170     fi
79171   fi
79172
79173   # Start by getting the version number.  I think the libtool test already
79174   # does some of this, but throws away the result.
79175
79176   ldver=`$LD --version 2>/dev/null | head -1 | \
79177          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
79178
79179   glibcxx_gnu_ld_version=`echo $ldver | \
79180          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79181
79182   # Set --gc-sections.
79183   if test "$with_gnu_ld" = "notbroken"; then
79184     # GNU ld it is!  Joy and bunny rabbits!
79185
79186     # All these tests are for C++; save the language and the compiler flags.
79187     # Need to do this so that g++ won't try to link in libstdc++
79188     ac_test_CFLAGS="${CFLAGS+set}"
79189     ac_save_CFLAGS="$CFLAGS"
79190     CFLAGS='-x c++  -Wl,--gc-sections'
79191
79192     # Check for -Wl,--gc-sections
79193     # XXX This test is broken at the moment, as symbols required for linking
79194     # are now in libsupc++ (not built yet).  In addition, this test has
79195     # cored on solaris in the past.  In addition, --gc-sections doesn't
79196     # really work at the moment (keeps on discarding used sections, first
79197     # .eh_frame and now some of the glibc sections for iconv).
79198     # Bzzzzt.  Thanks for playing, maybe next time.
79199     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79200 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79201     if test "$cross_compiling" = yes; then
79202   ac_sectionLDflags=yes
79203 else
79204   cat >conftest.$ac_ext <<_ACEOF
79205 /* confdefs.h.  */
79206 _ACEOF
79207 cat confdefs.h >>conftest.$ac_ext
79208 cat >>conftest.$ac_ext <<_ACEOF
79209 /* end confdefs.h.  */
79210
79211      int main(void)
79212      {
79213        try { throw 1; }
79214        catch (...) { };
79215        return 0;
79216      }
79217
79218 _ACEOF
79219 rm -f conftest$ac_exeext
79220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79221   (eval $ac_link) 2>&5
79222   ac_status=$?
79223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79224   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
79225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79226   (eval $ac_try) 2>&5
79227   ac_status=$?
79228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79229   (exit $ac_status); }; }; then
79230   ac_sectionLDflags=yes
79231 else
79232   echo "$as_me: program exited with status $ac_status" >&5
79233 echo "$as_me: failed program was:" >&5
79234 sed 's/^/| /' conftest.$ac_ext >&5
79235
79236 ( exit $ac_status )
79237 ac_sectionLDflags=no
79238 fi
79239 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
79240 fi
79241     if test "$ac_test_CFLAGS" = set; then
79242       CFLAGS="$ac_save_CFLAGS"
79243     else
79244       # this is the suspicious part
79245       CFLAGS=''
79246     fi
79247     if test "$ac_sectionLDflags" = "yes"; then
79248       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79249     fi
79250     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
79251 echo "${ECHO_T}$ac_sectionLDflags" >&6
79252   fi
79253
79254   # Set linker optimization flags.
79255   if test x"$with_gnu_ld" = x"yes"; then
79256     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79257   fi
79258
79259
79260
79261
79262
79263
79264 echo "$as_me:$LINENO: checking for main in -lm" >&5
79265 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79266 if test "${ac_cv_lib_m_main+set}" = set; then
79267   echo $ECHO_N "(cached) $ECHO_C" >&6
79268 else
79269   ac_check_lib_save_LIBS=$LIBS
79270 LIBS="-lm  $LIBS"
79271 if test x$gcc_no_link = xyes; then
79272   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79274    { (exit 1); exit 1; }; }
79275 fi
79276 cat >conftest.$ac_ext <<_ACEOF
79277 /* confdefs.h.  */
79278 _ACEOF
79279 cat confdefs.h >>conftest.$ac_ext
79280 cat >>conftest.$ac_ext <<_ACEOF
79281 /* end confdefs.h.  */
79282
79283
79284 int
79285 main ()
79286 {
79287 main ();
79288   ;
79289   return 0;
79290 }
79291 _ACEOF
79292 rm -f conftest.$ac_objext conftest$ac_exeext
79293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79294   (eval $ac_link) 2>conftest.er1
79295   ac_status=$?
79296   grep -v '^ *+' conftest.er1 >conftest.err
79297   rm -f conftest.er1
79298   cat conftest.err >&5
79299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79300   (exit $ac_status); } &&
79301          { ac_try='test -z "$ac_c_werror_flag"
79302                          || test ! -s conftest.err'
79303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79304   (eval $ac_try) 2>&5
79305   ac_status=$?
79306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79307   (exit $ac_status); }; } &&
79308          { ac_try='test -s conftest$ac_exeext'
79309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79310   (eval $ac_try) 2>&5
79311   ac_status=$?
79312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79313   (exit $ac_status); }; }; then
79314   ac_cv_lib_m_main=yes
79315 else
79316   echo "$as_me: failed program was:" >&5
79317 sed 's/^/| /' conftest.$ac_ext >&5
79318
79319 ac_cv_lib_m_main=no
79320 fi
79321 rm -f conftest.err conftest.$ac_objext \
79322       conftest$ac_exeext conftest.$ac_ext
79323 LIBS=$ac_check_lib_save_LIBS
79324 fi
79325 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79326 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
79327 if test $ac_cv_lib_m_main = yes; then
79328   cat >>confdefs.h <<_ACEOF
79329 #define HAVE_LIBM 1
79330 _ACEOF
79331
79332   LIBS="-lm $LIBS"
79333
79334 fi
79335
79336
79337 for ac_func in copysignf
79338 do
79339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79340 echo "$as_me:$LINENO: checking for $ac_func" >&5
79341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79342 if eval "test \"\${$as_ac_var+set}\" = set"; then
79343   echo $ECHO_N "(cached) $ECHO_C" >&6
79344 else
79345   if test x$gcc_no_link = xyes; then
79346   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79348    { (exit 1); exit 1; }; }
79349 fi
79350 cat >conftest.$ac_ext <<_ACEOF
79351 /* confdefs.h.  */
79352 _ACEOF
79353 cat confdefs.h >>conftest.$ac_ext
79354 cat >>conftest.$ac_ext <<_ACEOF
79355 /* end confdefs.h.  */
79356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79357    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79358 #define $ac_func innocuous_$ac_func
79359
79360 /* System header to define __stub macros and hopefully few prototypes,
79361     which can conflict with char $ac_func (); below.
79362     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79363     <limits.h> exists even on freestanding compilers.  */
79364
79365 #ifdef __STDC__
79366 # include <limits.h>
79367 #else
79368 # include <assert.h>
79369 #endif
79370
79371 #undef $ac_func
79372
79373 /* Override any gcc2 internal prototype to avoid an error.  */
79374 #ifdef __cplusplus
79375 extern "C"
79376 {
79377 #endif
79378 /* We use char because int might match the return type of a gcc2
79379    builtin and then its argument prototype would still apply.  */
79380 char $ac_func ();
79381 /* The GNU C library defines this for functions which it implements
79382     to always fail with ENOSYS.  Some functions are actually named
79383     something starting with __ and the normal name is an alias.  */
79384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79385 choke me
79386 #else
79387 char (*f) () = $ac_func;
79388 #endif
79389 #ifdef __cplusplus
79390 }
79391 #endif
79392
79393 int
79394 main ()
79395 {
79396 return f != $ac_func;
79397   ;
79398   return 0;
79399 }
79400 _ACEOF
79401 rm -f conftest.$ac_objext conftest$ac_exeext
79402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79403   (eval $ac_link) 2>conftest.er1
79404   ac_status=$?
79405   grep -v '^ *+' conftest.er1 >conftest.err
79406   rm -f conftest.er1
79407   cat conftest.err >&5
79408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79409   (exit $ac_status); } &&
79410          { ac_try='test -z "$ac_c_werror_flag"
79411                          || test ! -s conftest.err'
79412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79413   (eval $ac_try) 2>&5
79414   ac_status=$?
79415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79416   (exit $ac_status); }; } &&
79417          { ac_try='test -s conftest$ac_exeext'
79418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79419   (eval $ac_try) 2>&5
79420   ac_status=$?
79421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79422   (exit $ac_status); }; }; then
79423   eval "$as_ac_var=yes"
79424 else
79425   echo "$as_me: failed program was:" >&5
79426 sed 's/^/| /' conftest.$ac_ext >&5
79427
79428 eval "$as_ac_var=no"
79429 fi
79430 rm -f conftest.err conftest.$ac_objext \
79431       conftest$ac_exeext conftest.$ac_ext
79432 fi
79433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79435 if test `eval echo '${'$as_ac_var'}'` = yes; then
79436   cat >>confdefs.h <<_ACEOF
79437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79438 _ACEOF
79439
79440 else
79441   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
79442 fi
79443 done
79444
79445
79446
79447 for ac_func in __signbit
79448 do
79449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79450 echo "$as_me:$LINENO: checking for $ac_func" >&5
79451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79452 if eval "test \"\${$as_ac_var+set}\" = set"; then
79453   echo $ECHO_N "(cached) $ECHO_C" >&6
79454 else
79455   if test x$gcc_no_link = xyes; then
79456   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79458    { (exit 1); exit 1; }; }
79459 fi
79460 cat >conftest.$ac_ext <<_ACEOF
79461 /* confdefs.h.  */
79462 _ACEOF
79463 cat confdefs.h >>conftest.$ac_ext
79464 cat >>conftest.$ac_ext <<_ACEOF
79465 /* end confdefs.h.  */
79466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79467    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79468 #define $ac_func innocuous_$ac_func
79469
79470 /* System header to define __stub macros and hopefully few prototypes,
79471     which can conflict with char $ac_func (); below.
79472     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79473     <limits.h> exists even on freestanding compilers.  */
79474
79475 #ifdef __STDC__
79476 # include <limits.h>
79477 #else
79478 # include <assert.h>
79479 #endif
79480
79481 #undef $ac_func
79482
79483 /* Override any gcc2 internal prototype to avoid an error.  */
79484 #ifdef __cplusplus
79485 extern "C"
79486 {
79487 #endif
79488 /* We use char because int might match the return type of a gcc2
79489    builtin and then its argument prototype would still apply.  */
79490 char $ac_func ();
79491 /* The GNU C library defines this for functions which it implements
79492     to always fail with ENOSYS.  Some functions are actually named
79493     something starting with __ and the normal name is an alias.  */
79494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79495 choke me
79496 #else
79497 char (*f) () = $ac_func;
79498 #endif
79499 #ifdef __cplusplus
79500 }
79501 #endif
79502
79503 int
79504 main ()
79505 {
79506 return f != $ac_func;
79507   ;
79508   return 0;
79509 }
79510 _ACEOF
79511 rm -f conftest.$ac_objext conftest$ac_exeext
79512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79513   (eval $ac_link) 2>conftest.er1
79514   ac_status=$?
79515   grep -v '^ *+' conftest.er1 >conftest.err
79516   rm -f conftest.er1
79517   cat conftest.err >&5
79518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79519   (exit $ac_status); } &&
79520          { ac_try='test -z "$ac_c_werror_flag"
79521                          || test ! -s conftest.err'
79522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79523   (eval $ac_try) 2>&5
79524   ac_status=$?
79525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79526   (exit $ac_status); }; } &&
79527          { ac_try='test -s conftest$ac_exeext'
79528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79529   (eval $ac_try) 2>&5
79530   ac_status=$?
79531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79532   (exit $ac_status); }; }; then
79533   eval "$as_ac_var=yes"
79534 else
79535   echo "$as_me: failed program was:" >&5
79536 sed 's/^/| /' conftest.$ac_ext >&5
79537
79538 eval "$as_ac_var=no"
79539 fi
79540 rm -f conftest.err conftest.$ac_objext \
79541       conftest$ac_exeext conftest.$ac_ext
79542 fi
79543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79545 if test `eval echo '${'$as_ac_var'}'` = yes; then
79546   cat >>confdefs.h <<_ACEOF
79547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79548 _ACEOF
79549
79550 else
79551   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
79552 fi
79553 done
79554
79555
79556
79557 for ac_func in __signbitf
79558 do
79559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79560 echo "$as_me:$LINENO: checking for $ac_func" >&5
79561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79562 if eval "test \"\${$as_ac_var+set}\" = set"; then
79563   echo $ECHO_N "(cached) $ECHO_C" >&6
79564 else
79565   if test x$gcc_no_link = xyes; then
79566   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79568    { (exit 1); exit 1; }; }
79569 fi
79570 cat >conftest.$ac_ext <<_ACEOF
79571 /* confdefs.h.  */
79572 _ACEOF
79573 cat confdefs.h >>conftest.$ac_ext
79574 cat >>conftest.$ac_ext <<_ACEOF
79575 /* end confdefs.h.  */
79576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79577    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79578 #define $ac_func innocuous_$ac_func
79579
79580 /* System header to define __stub macros and hopefully few prototypes,
79581     which can conflict with char $ac_func (); below.
79582     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79583     <limits.h> exists even on freestanding compilers.  */
79584
79585 #ifdef __STDC__
79586 # include <limits.h>
79587 #else
79588 # include <assert.h>
79589 #endif
79590
79591 #undef $ac_func
79592
79593 /* Override any gcc2 internal prototype to avoid an error.  */
79594 #ifdef __cplusplus
79595 extern "C"
79596 {
79597 #endif
79598 /* We use char because int might match the return type of a gcc2
79599    builtin and then its argument prototype would still apply.  */
79600 char $ac_func ();
79601 /* The GNU C library defines this for functions which it implements
79602     to always fail with ENOSYS.  Some functions are actually named
79603     something starting with __ and the normal name is an alias.  */
79604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79605 choke me
79606 #else
79607 char (*f) () = $ac_func;
79608 #endif
79609 #ifdef __cplusplus
79610 }
79611 #endif
79612
79613 int
79614 main ()
79615 {
79616 return f != $ac_func;
79617   ;
79618   return 0;
79619 }
79620 _ACEOF
79621 rm -f conftest.$ac_objext conftest$ac_exeext
79622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79623   (eval $ac_link) 2>conftest.er1
79624   ac_status=$?
79625   grep -v '^ *+' conftest.er1 >conftest.err
79626   rm -f conftest.er1
79627   cat conftest.err >&5
79628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79629   (exit $ac_status); } &&
79630          { ac_try='test -z "$ac_c_werror_flag"
79631                          || test ! -s conftest.err'
79632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79633   (eval $ac_try) 2>&5
79634   ac_status=$?
79635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79636   (exit $ac_status); }; } &&
79637          { ac_try='test -s conftest$ac_exeext'
79638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79639   (eval $ac_try) 2>&5
79640   ac_status=$?
79641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79642   (exit $ac_status); }; }; then
79643   eval "$as_ac_var=yes"
79644 else
79645   echo "$as_me: failed program was:" >&5
79646 sed 's/^/| /' conftest.$ac_ext >&5
79647
79648 eval "$as_ac_var=no"
79649 fi
79650 rm -f conftest.err conftest.$ac_objext \
79651       conftest$ac_exeext conftest.$ac_ext
79652 fi
79653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79655 if test `eval echo '${'$as_ac_var'}'` = yes; then
79656   cat >>confdefs.h <<_ACEOF
79657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79658 _ACEOF
79659
79660 else
79661   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
79662 fi
79663 done
79664
79665
79666           if test x$ac_cv_func_copysignl = x"yes"; then
79667
79668 for ac_func in __signbitl
79669 do
79670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79671 echo "$as_me:$LINENO: checking for $ac_func" >&5
79672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79673 if eval "test \"\${$as_ac_var+set}\" = set"; then
79674   echo $ECHO_N "(cached) $ECHO_C" >&6
79675 else
79676   if test x$gcc_no_link = xyes; then
79677   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79679    { (exit 1); exit 1; }; }
79680 fi
79681 cat >conftest.$ac_ext <<_ACEOF
79682 /* confdefs.h.  */
79683 _ACEOF
79684 cat confdefs.h >>conftest.$ac_ext
79685 cat >>conftest.$ac_ext <<_ACEOF
79686 /* end confdefs.h.  */
79687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79688    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79689 #define $ac_func innocuous_$ac_func
79690
79691 /* System header to define __stub macros and hopefully few prototypes,
79692     which can conflict with char $ac_func (); below.
79693     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79694     <limits.h> exists even on freestanding compilers.  */
79695
79696 #ifdef __STDC__
79697 # include <limits.h>
79698 #else
79699 # include <assert.h>
79700 #endif
79701
79702 #undef $ac_func
79703
79704 /* Override any gcc2 internal prototype to avoid an error.  */
79705 #ifdef __cplusplus
79706 extern "C"
79707 {
79708 #endif
79709 /* We use char because int might match the return type of a gcc2
79710    builtin and then its argument prototype would still apply.  */
79711 char $ac_func ();
79712 /* The GNU C library defines this for functions which it implements
79713     to always fail with ENOSYS.  Some functions are actually named
79714     something starting with __ and the normal name is an alias.  */
79715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79716 choke me
79717 #else
79718 char (*f) () = $ac_func;
79719 #endif
79720 #ifdef __cplusplus
79721 }
79722 #endif
79723
79724 int
79725 main ()
79726 {
79727 return f != $ac_func;
79728   ;
79729   return 0;
79730 }
79731 _ACEOF
79732 rm -f conftest.$ac_objext conftest$ac_exeext
79733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79734   (eval $ac_link) 2>conftest.er1
79735   ac_status=$?
79736   grep -v '^ *+' conftest.er1 >conftest.err
79737   rm -f conftest.er1
79738   cat conftest.err >&5
79739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79740   (exit $ac_status); } &&
79741          { ac_try='test -z "$ac_c_werror_flag"
79742                          || test ! -s conftest.err'
79743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79744   (eval $ac_try) 2>&5
79745   ac_status=$?
79746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79747   (exit $ac_status); }; } &&
79748          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
79754   eval "$as_ac_var=yes"
79755 else
79756   echo "$as_me: failed program was:" >&5
79757 sed 's/^/| /' conftest.$ac_ext >&5
79758
79759 eval "$as_ac_var=no"
79760 fi
79761 rm -f conftest.err conftest.$ac_objext \
79762       conftest$ac_exeext conftest.$ac_ext
79763 fi
79764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79766 if test `eval echo '${'$as_ac_var'}'` = yes; then
79767   cat >>confdefs.h <<_ACEOF
79768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79769 _ACEOF
79770
79771 else
79772   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
79773 fi
79774 done
79775
79776   fi
79777
79778   # Used in libmath/Makefile.am.
79779   if test -n "$LIBMATHOBJS"; then
79780     need_libmath=yes
79781   fi
79782
79783
79784
79785
79786   enable_iconv=no
79787   # Only continue checking if the ISO C99 headers exist and support is on.
79788   if test x"$enable_wchar_t" = xyes; then
79789
79790     # Use iconv for wchar_t to char conversions. As such, check for
79791     # X/Open Portability Guide, version 2 features (XPG2).
79792     if test "${ac_cv_header_iconv_h+set}" = set; then
79793   echo "$as_me:$LINENO: checking for iconv.h" >&5
79794 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79795 if test "${ac_cv_header_iconv_h+set}" = set; then
79796   echo $ECHO_N "(cached) $ECHO_C" >&6
79797 fi
79798 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79799 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79800 else
79801   # Is the header compilable?
79802 echo "$as_me:$LINENO: checking iconv.h usability" >&5
79803 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
79804 cat >conftest.$ac_ext <<_ACEOF
79805 /* confdefs.h.  */
79806 _ACEOF
79807 cat confdefs.h >>conftest.$ac_ext
79808 cat >>conftest.$ac_ext <<_ACEOF
79809 /* end confdefs.h.  */
79810 $ac_includes_default
79811 #include <iconv.h>
79812 _ACEOF
79813 rm -f conftest.$ac_objext
79814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79815   (eval $ac_compile) 2>conftest.er1
79816   ac_status=$?
79817   grep -v '^ *+' conftest.er1 >conftest.err
79818   rm -f conftest.er1
79819   cat conftest.err >&5
79820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79821   (exit $ac_status); } &&
79822          { ac_try='test -z "$ac_c_werror_flag"
79823                          || test ! -s conftest.err'
79824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79825   (eval $ac_try) 2>&5
79826   ac_status=$?
79827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79828   (exit $ac_status); }; } &&
79829          { ac_try='test -s conftest.$ac_objext'
79830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79831   (eval $ac_try) 2>&5
79832   ac_status=$?
79833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79834   (exit $ac_status); }; }; then
79835   ac_header_compiler=yes
79836 else
79837   echo "$as_me: failed program was:" >&5
79838 sed 's/^/| /' conftest.$ac_ext >&5
79839
79840 ac_header_compiler=no
79841 fi
79842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79843 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79844 echo "${ECHO_T}$ac_header_compiler" >&6
79845
79846 # Is the header present?
79847 echo "$as_me:$LINENO: checking iconv.h presence" >&5
79848 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
79849 cat >conftest.$ac_ext <<_ACEOF
79850 /* confdefs.h.  */
79851 _ACEOF
79852 cat confdefs.h >>conftest.$ac_ext
79853 cat >>conftest.$ac_ext <<_ACEOF
79854 /* end confdefs.h.  */
79855 #include <iconv.h>
79856 _ACEOF
79857 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79858   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79859   ac_status=$?
79860   grep -v '^ *+' conftest.er1 >conftest.err
79861   rm -f conftest.er1
79862   cat conftest.err >&5
79863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79864   (exit $ac_status); } >/dev/null; then
79865   if test -s conftest.err; then
79866     ac_cpp_err=$ac_c_preproc_warn_flag
79867     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79868   else
79869     ac_cpp_err=
79870   fi
79871 else
79872   ac_cpp_err=yes
79873 fi
79874 if test -z "$ac_cpp_err"; then
79875   ac_header_preproc=yes
79876 else
79877   echo "$as_me: failed program was:" >&5
79878 sed 's/^/| /' conftest.$ac_ext >&5
79879
79880   ac_header_preproc=no
79881 fi
79882 rm -f conftest.err conftest.$ac_ext
79883 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79884 echo "${ECHO_T}$ac_header_preproc" >&6
79885
79886 # So?  What about this header?
79887 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79888   yes:no: )
79889     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
79890 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79891     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
79892 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
79893     ac_header_preproc=yes
79894     ;;
79895   no:yes:* )
79896     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
79897 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
79898     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
79899 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
79900     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
79901 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
79902     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
79903 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
79904     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
79905 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
79906     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
79907 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
79908     (
79909       cat <<\_ASBOX
79910 ## ----------------------------------------- ##
79911 ## Report this to the package-unused lists.  ##
79912 ## ----------------------------------------- ##
79913 _ASBOX
79914     ) |
79915       sed "s/^/$as_me: WARNING:     /" >&2
79916     ;;
79917 esac
79918 echo "$as_me:$LINENO: checking for iconv.h" >&5
79919 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79920 if test "${ac_cv_header_iconv_h+set}" = set; then
79921   echo $ECHO_N "(cached) $ECHO_C" >&6
79922 else
79923   ac_cv_header_iconv_h=$ac_header_preproc
79924 fi
79925 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79926 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79927
79928 fi
79929 if test $ac_cv_header_iconv_h = yes; then
79930   ac_has_iconv_h=yes
79931 else
79932   ac_has_iconv_h=no
79933 fi
79934
79935
79936     if test "${ac_cv_header_langinfo_h+set}" = set; then
79937   echo "$as_me:$LINENO: checking for langinfo.h" >&5
79938 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79939 if test "${ac_cv_header_langinfo_h+set}" = set; then
79940   echo $ECHO_N "(cached) $ECHO_C" >&6
79941 fi
79942 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79943 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79944 else
79945   # Is the header compilable?
79946 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
79947 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
79948 cat >conftest.$ac_ext <<_ACEOF
79949 /* confdefs.h.  */
79950 _ACEOF
79951 cat confdefs.h >>conftest.$ac_ext
79952 cat >>conftest.$ac_ext <<_ACEOF
79953 /* end confdefs.h.  */
79954 $ac_includes_default
79955 #include <langinfo.h>
79956 _ACEOF
79957 rm -f conftest.$ac_objext
79958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79959   (eval $ac_compile) 2>conftest.er1
79960   ac_status=$?
79961   grep -v '^ *+' conftest.er1 >conftest.err
79962   rm -f conftest.er1
79963   cat conftest.err >&5
79964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79965   (exit $ac_status); } &&
79966          { ac_try='test -z "$ac_c_werror_flag"
79967                          || test ! -s conftest.err'
79968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79969   (eval $ac_try) 2>&5
79970   ac_status=$?
79971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79972   (exit $ac_status); }; } &&
79973          { ac_try='test -s conftest.$ac_objext'
79974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79975   (eval $ac_try) 2>&5
79976   ac_status=$?
79977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79978   (exit $ac_status); }; }; then
79979   ac_header_compiler=yes
79980 else
79981   echo "$as_me: failed program was:" >&5
79982 sed 's/^/| /' conftest.$ac_ext >&5
79983
79984 ac_header_compiler=no
79985 fi
79986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79987 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79988 echo "${ECHO_T}$ac_header_compiler" >&6
79989
79990 # Is the header present?
79991 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
79992 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
79993 cat >conftest.$ac_ext <<_ACEOF
79994 /* confdefs.h.  */
79995 _ACEOF
79996 cat confdefs.h >>conftest.$ac_ext
79997 cat >>conftest.$ac_ext <<_ACEOF
79998 /* end confdefs.h.  */
79999 #include <langinfo.h>
80000 _ACEOF
80001 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80002   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80003   ac_status=$?
80004   grep -v '^ *+' conftest.er1 >conftest.err
80005   rm -f conftest.er1
80006   cat conftest.err >&5
80007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80008   (exit $ac_status); } >/dev/null; then
80009   if test -s conftest.err; then
80010     ac_cpp_err=$ac_c_preproc_warn_flag
80011     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80012   else
80013     ac_cpp_err=
80014   fi
80015 else
80016   ac_cpp_err=yes
80017 fi
80018 if test -z "$ac_cpp_err"; then
80019   ac_header_preproc=yes
80020 else
80021   echo "$as_me: failed program was:" >&5
80022 sed 's/^/| /' conftest.$ac_ext >&5
80023
80024   ac_header_preproc=no
80025 fi
80026 rm -f conftest.err conftest.$ac_ext
80027 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80028 echo "${ECHO_T}$ac_header_preproc" >&6
80029
80030 # So?  What about this header?
80031 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80032   yes:no: )
80033     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
80034 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
80035     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
80036 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
80037     ac_header_preproc=yes
80038     ;;
80039   no:yes:* )
80040     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
80041 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
80042     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
80043 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
80044     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
80045 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
80046     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
80047 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
80048     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
80049 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
80050     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
80051 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
80052     (
80053       cat <<\_ASBOX
80054 ## ----------------------------------------- ##
80055 ## Report this to the package-unused lists.  ##
80056 ## ----------------------------------------- ##
80057 _ASBOX
80058     ) |
80059       sed "s/^/$as_me: WARNING:     /" >&2
80060     ;;
80061 esac
80062 echo "$as_me:$LINENO: checking for langinfo.h" >&5
80063 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
80064 if test "${ac_cv_header_langinfo_h+set}" = set; then
80065   echo $ECHO_N "(cached) $ECHO_C" >&6
80066 else
80067   ac_cv_header_langinfo_h=$ac_header_preproc
80068 fi
80069 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
80070 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
80071
80072 fi
80073 if test $ac_cv_header_langinfo_h = yes; then
80074   ac_has_langinfo_h=yes
80075 else
80076   ac_has_langinfo_h=no
80077 fi
80078
80079
80080
80081     # Check for existence of libiconv.a providing XPG2 wchar_t support.
80082     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
80083 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
80084 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
80085   echo $ECHO_N "(cached) $ECHO_C" >&6
80086 else
80087   ac_check_lib_save_LIBS=$LIBS
80088 LIBS="-liconv  $LIBS"
80089 if test x$gcc_no_link = xyes; then
80090   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80092    { (exit 1); exit 1; }; }
80093 fi
80094 cat >conftest.$ac_ext <<_ACEOF
80095 /* confdefs.h.  */
80096 _ACEOF
80097 cat confdefs.h >>conftest.$ac_ext
80098 cat >>conftest.$ac_ext <<_ACEOF
80099 /* end confdefs.h.  */
80100
80101 /* Override any gcc2 internal prototype to avoid an error.  */
80102 #ifdef __cplusplus
80103 extern "C"
80104 #endif
80105 /* We use char because int might match the return type of a gcc2
80106    builtin and then its argument prototype would still apply.  */
80107 char iconv ();
80108 int
80109 main ()
80110 {
80111 iconv ();
80112   ;
80113   return 0;
80114 }
80115 _ACEOF
80116 rm -f conftest.$ac_objext conftest$ac_exeext
80117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80118   (eval $ac_link) 2>conftest.er1
80119   ac_status=$?
80120   grep -v '^ *+' conftest.er1 >conftest.err
80121   rm -f conftest.er1
80122   cat conftest.err >&5
80123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80124   (exit $ac_status); } &&
80125          { ac_try='test -z "$ac_c_werror_flag"
80126                          || test ! -s conftest.err'
80127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80128   (eval $ac_try) 2>&5
80129   ac_status=$?
80130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80131   (exit $ac_status); }; } &&
80132          { ac_try='test -s conftest$ac_exeext'
80133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80134   (eval $ac_try) 2>&5
80135   ac_status=$?
80136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80137   (exit $ac_status); }; }; then
80138   ac_cv_lib_iconv_iconv=yes
80139 else
80140   echo "$as_me: failed program was:" >&5
80141 sed 's/^/| /' conftest.$ac_ext >&5
80142
80143 ac_cv_lib_iconv_iconv=no
80144 fi
80145 rm -f conftest.err conftest.$ac_objext \
80146       conftest$ac_exeext conftest.$ac_ext
80147 LIBS=$ac_check_lib_save_LIBS
80148 fi
80149 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
80150 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
80151 if test $ac_cv_lib_iconv_iconv = yes; then
80152   LIBICONV="-liconv"
80153 fi
80154
80155     ac_save_LIBS="$LIBS"
80156     LIBS="$LIBS $LIBICONV"
80157
80158
80159
80160
80161
80162
80163 for ac_func in iconv_open iconv_close iconv nl_langinfo
80164 do
80165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80166 echo "$as_me:$LINENO: checking for $ac_func" >&5
80167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80168 if eval "test \"\${$as_ac_var+set}\" = set"; then
80169   echo $ECHO_N "(cached) $ECHO_C" >&6
80170 else
80171   if test x$gcc_no_link = xyes; then
80172   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80174    { (exit 1); exit 1; }; }
80175 fi
80176 cat >conftest.$ac_ext <<_ACEOF
80177 /* confdefs.h.  */
80178 _ACEOF
80179 cat confdefs.h >>conftest.$ac_ext
80180 cat >>conftest.$ac_ext <<_ACEOF
80181 /* end confdefs.h.  */
80182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80183    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80184 #define $ac_func innocuous_$ac_func
80185
80186 /* System header to define __stub macros and hopefully few prototypes,
80187     which can conflict with char $ac_func (); below.
80188     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80189     <limits.h> exists even on freestanding compilers.  */
80190
80191 #ifdef __STDC__
80192 # include <limits.h>
80193 #else
80194 # include <assert.h>
80195 #endif
80196
80197 #undef $ac_func
80198
80199 /* Override any gcc2 internal prototype to avoid an error.  */
80200 #ifdef __cplusplus
80201 extern "C"
80202 {
80203 #endif
80204 /* We use char because int might match the return type of a gcc2
80205    builtin and then its argument prototype would still apply.  */
80206 char $ac_func ();
80207 /* The GNU C library defines this for functions which it implements
80208     to always fail with ENOSYS.  Some functions are actually named
80209     something starting with __ and the normal name is an alias.  */
80210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80211 choke me
80212 #else
80213 char (*f) () = $ac_func;
80214 #endif
80215 #ifdef __cplusplus
80216 }
80217 #endif
80218
80219 int
80220 main ()
80221 {
80222 return f != $ac_func;
80223   ;
80224   return 0;
80225 }
80226 _ACEOF
80227 rm -f conftest.$ac_objext conftest$ac_exeext
80228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80229   (eval $ac_link) 2>conftest.er1
80230   ac_status=$?
80231   grep -v '^ *+' conftest.er1 >conftest.err
80232   rm -f conftest.er1
80233   cat conftest.err >&5
80234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80235   (exit $ac_status); } &&
80236          { ac_try='test -z "$ac_c_werror_flag"
80237                          || test ! -s conftest.err'
80238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80239   (eval $ac_try) 2>&5
80240   ac_status=$?
80241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80242   (exit $ac_status); }; } &&
80243          { ac_try='test -s conftest$ac_exeext'
80244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80245   (eval $ac_try) 2>&5
80246   ac_status=$?
80247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80248   (exit $ac_status); }; }; then
80249   eval "$as_ac_var=yes"
80250 else
80251   echo "$as_me: failed program was:" >&5
80252 sed 's/^/| /' conftest.$ac_ext >&5
80253
80254 eval "$as_ac_var=no"
80255 fi
80256 rm -f conftest.err conftest.$ac_objext \
80257       conftest$ac_exeext conftest.$ac_ext
80258 fi
80259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80261 if test `eval echo '${'$as_ac_var'}'` = yes; then
80262   cat >>confdefs.h <<_ACEOF
80263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80264 _ACEOF
80265  ac_XPG2funcs=yes
80266 else
80267   ac_XPG2funcs=no
80268 fi
80269 done
80270
80271
80272     LIBS="$ac_save_LIBS"
80273
80274     if test x"$ac_has_iconv_h" = xyes &&
80275        test x"$ac_has_langinfo_h" = xyes &&
80276        test x"$ac_XPG2funcs" = xyes;
80277     then
80278
80279 cat >>confdefs.h <<\_ACEOF
80280 #define _GLIBCXX_USE_ICONV 1
80281 _ACEOF
80282
80283       enable_iconv=yes
80284     fi
80285   fi
80286   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
80287 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
80288   echo "$as_me:$LINENO: result: $enable_iconv" >&5
80289 echo "${ECHO_T}$enable_iconv" >&6
80290
80291     ;;
80292   *-netbsd*)
80293
80294
80295
80296
80297
80298
80299
80300
80301
80302
80303
80304
80305 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
80306       machine/endian.h machine/param.h sys/machine.h sys/types.h \
80307       fp.h locale.h float.h inttypes.h
80308 do
80309 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80311   echo "$as_me:$LINENO: checking for $ac_header" >&5
80312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80314   echo $ECHO_N "(cached) $ECHO_C" >&6
80315 fi
80316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80318 else
80319   # Is the header compilable?
80320 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80321 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80322 cat >conftest.$ac_ext <<_ACEOF
80323 /* confdefs.h.  */
80324 _ACEOF
80325 cat confdefs.h >>conftest.$ac_ext
80326 cat >>conftest.$ac_ext <<_ACEOF
80327 /* end confdefs.h.  */
80328 $ac_includes_default
80329 #include <$ac_header>
80330 _ACEOF
80331 rm -f conftest.$ac_objext
80332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80333   (eval $ac_compile) 2>conftest.er1
80334   ac_status=$?
80335   grep -v '^ *+' conftest.er1 >conftest.err
80336   rm -f conftest.er1
80337   cat conftest.err >&5
80338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80339   (exit $ac_status); } &&
80340          { ac_try='test -z "$ac_c_werror_flag"
80341                          || test ! -s conftest.err'
80342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80343   (eval $ac_try) 2>&5
80344   ac_status=$?
80345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80346   (exit $ac_status); }; } &&
80347          { ac_try='test -s conftest.$ac_objext'
80348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80349   (eval $ac_try) 2>&5
80350   ac_status=$?
80351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80352   (exit $ac_status); }; }; then
80353   ac_header_compiler=yes
80354 else
80355   echo "$as_me: failed program was:" >&5
80356 sed 's/^/| /' conftest.$ac_ext >&5
80357
80358 ac_header_compiler=no
80359 fi
80360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80361 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80362 echo "${ECHO_T}$ac_header_compiler" >&6
80363
80364 # Is the header present?
80365 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80366 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80367 cat >conftest.$ac_ext <<_ACEOF
80368 /* confdefs.h.  */
80369 _ACEOF
80370 cat confdefs.h >>conftest.$ac_ext
80371 cat >>conftest.$ac_ext <<_ACEOF
80372 /* end confdefs.h.  */
80373 #include <$ac_header>
80374 _ACEOF
80375 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80376   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80377   ac_status=$?
80378   grep -v '^ *+' conftest.er1 >conftest.err
80379   rm -f conftest.er1
80380   cat conftest.err >&5
80381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80382   (exit $ac_status); } >/dev/null; then
80383   if test -s conftest.err; then
80384     ac_cpp_err=$ac_c_preproc_warn_flag
80385     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80386   else
80387     ac_cpp_err=
80388   fi
80389 else
80390   ac_cpp_err=yes
80391 fi
80392 if test -z "$ac_cpp_err"; then
80393   ac_header_preproc=yes
80394 else
80395   echo "$as_me: failed program was:" >&5
80396 sed 's/^/| /' conftest.$ac_ext >&5
80397
80398   ac_header_preproc=no
80399 fi
80400 rm -f conftest.err conftest.$ac_ext
80401 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80402 echo "${ECHO_T}$ac_header_preproc" >&6
80403
80404 # So?  What about this header?
80405 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80406   yes:no: )
80407     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80408 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80409     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80410 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80411     ac_header_preproc=yes
80412     ;;
80413   no:yes:* )
80414     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80415 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80416     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
80417 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
80418     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80419 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80420     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
80421 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
80422     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80423 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80424     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80425 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80426     (
80427       cat <<\_ASBOX
80428 ## ----------------------------------------- ##
80429 ## Report this to the package-unused lists.  ##
80430 ## ----------------------------------------- ##
80431 _ASBOX
80432     ) |
80433       sed "s/^/$as_me: WARNING:     /" >&2
80434     ;;
80435 esac
80436 echo "$as_me:$LINENO: checking for $ac_header" >&5
80437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80439   echo $ECHO_N "(cached) $ECHO_C" >&6
80440 else
80441   eval "$as_ac_Header=\$ac_header_preproc"
80442 fi
80443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80444 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80445
80446 fi
80447 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80448   cat >>confdefs.h <<_ACEOF
80449 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80450 _ACEOF
80451
80452 fi
80453
80454 done
80455
80456     SECTION_FLAGS='-ffunction-sections -fdata-sections'
80457
80458
80459   # If we're not using GNU ld, then there's no point in even trying these
80460   # tests.  Check for that first.  We should have already tested for gld
80461   # by now (in libtool), but require it now just to be safe...
80462   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
80463   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
80464
80465
80466
80467   # The name set by libtool depends on the version of libtool.  Shame on us
80468   # for depending on an impl detail, but c'est la vie.  Older versions used
80469   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
80470   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
80471   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
80472   # set (hence we're using an older libtool), then set it.
80473   if test x${with_gnu_ld+set} != xset; then
80474     if test x${ac_cv_prog_gnu_ld+set} != xset; then
80475       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
80476       with_gnu_ld=no
80477     else
80478       with_gnu_ld=$ac_cv_prog_gnu_ld
80479     fi
80480   fi
80481
80482   # Start by getting the version number.  I think the libtool test already
80483   # does some of this, but throws away the result.
80484
80485   ldver=`$LD --version 2>/dev/null | head -1 | \
80486          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
80487
80488   glibcxx_gnu_ld_version=`echo $ldver | \
80489          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
80490
80491   # Set --gc-sections.
80492   if test "$with_gnu_ld" = "notbroken"; then
80493     # GNU ld it is!  Joy and bunny rabbits!
80494
80495     # All these tests are for C++; save the language and the compiler flags.
80496     # Need to do this so that g++ won't try to link in libstdc++
80497     ac_test_CFLAGS="${CFLAGS+set}"
80498     ac_save_CFLAGS="$CFLAGS"
80499     CFLAGS='-x c++  -Wl,--gc-sections'
80500
80501     # Check for -Wl,--gc-sections
80502     # XXX This test is broken at the moment, as symbols required for linking
80503     # are now in libsupc++ (not built yet).  In addition, this test has
80504     # cored on solaris in the past.  In addition, --gc-sections doesn't
80505     # really work at the moment (keeps on discarding used sections, first
80506     # .eh_frame and now some of the glibc sections for iconv).
80507     # Bzzzzt.  Thanks for playing, maybe next time.
80508     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
80509 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
80510     if test "$cross_compiling" = yes; then
80511   ac_sectionLDflags=yes
80512 else
80513   cat >conftest.$ac_ext <<_ACEOF
80514 /* confdefs.h.  */
80515 _ACEOF
80516 cat confdefs.h >>conftest.$ac_ext
80517 cat >>conftest.$ac_ext <<_ACEOF
80518 /* end confdefs.h.  */
80519
80520      int main(void)
80521      {
80522        try { throw 1; }
80523        catch (...) { };
80524        return 0;
80525      }
80526
80527 _ACEOF
80528 rm -f conftest$ac_exeext
80529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80530   (eval $ac_link) 2>&5
80531   ac_status=$?
80532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80533   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
80534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80535   (eval $ac_try) 2>&5
80536   ac_status=$?
80537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80538   (exit $ac_status); }; }; then
80539   ac_sectionLDflags=yes
80540 else
80541   echo "$as_me: program exited with status $ac_status" >&5
80542 echo "$as_me: failed program was:" >&5
80543 sed 's/^/| /' conftest.$ac_ext >&5
80544
80545 ( exit $ac_status )
80546 ac_sectionLDflags=no
80547 fi
80548 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
80549 fi
80550     if test "$ac_test_CFLAGS" = set; then
80551       CFLAGS="$ac_save_CFLAGS"
80552     else
80553       # this is the suspicious part
80554       CFLAGS=''
80555     fi
80556     if test "$ac_sectionLDflags" = "yes"; then
80557       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
80558     fi
80559     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
80560 echo "${ECHO_T}$ac_sectionLDflags" >&6
80561   fi
80562
80563   # Set linker optimization flags.
80564   if test x"$with_gnu_ld" = x"yes"; then
80565     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
80566   fi
80567
80568
80569
80570
80571
80572
80573 echo "$as_me:$LINENO: checking for main in -lm" >&5
80574 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
80575 if test "${ac_cv_lib_m_main+set}" = set; then
80576   echo $ECHO_N "(cached) $ECHO_C" >&6
80577 else
80578   ac_check_lib_save_LIBS=$LIBS
80579 LIBS="-lm  $LIBS"
80580 if test x$gcc_no_link = xyes; then
80581   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80583    { (exit 1); exit 1; }; }
80584 fi
80585 cat >conftest.$ac_ext <<_ACEOF
80586 /* confdefs.h.  */
80587 _ACEOF
80588 cat confdefs.h >>conftest.$ac_ext
80589 cat >>conftest.$ac_ext <<_ACEOF
80590 /* end confdefs.h.  */
80591
80592
80593 int
80594 main ()
80595 {
80596 main ();
80597   ;
80598   return 0;
80599 }
80600 _ACEOF
80601 rm -f conftest.$ac_objext conftest$ac_exeext
80602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80603   (eval $ac_link) 2>conftest.er1
80604   ac_status=$?
80605   grep -v '^ *+' conftest.er1 >conftest.err
80606   rm -f conftest.er1
80607   cat conftest.err >&5
80608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80609   (exit $ac_status); } &&
80610          { ac_try='test -z "$ac_c_werror_flag"
80611                          || test ! -s conftest.err'
80612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80613   (eval $ac_try) 2>&5
80614   ac_status=$?
80615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80616   (exit $ac_status); }; } &&
80617          { ac_try='test -s conftest$ac_exeext'
80618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80619   (eval $ac_try) 2>&5
80620   ac_status=$?
80621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80622   (exit $ac_status); }; }; then
80623   ac_cv_lib_m_main=yes
80624 else
80625   echo "$as_me: failed program was:" >&5
80626 sed 's/^/| /' conftest.$ac_ext >&5
80627
80628 ac_cv_lib_m_main=no
80629 fi
80630 rm -f conftest.err conftest.$ac_objext \
80631       conftest$ac_exeext conftest.$ac_ext
80632 LIBS=$ac_check_lib_save_LIBS
80633 fi
80634 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
80635 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
80636 if test $ac_cv_lib_m_main = yes; then
80637   cat >>confdefs.h <<_ACEOF
80638 #define HAVE_LIBM 1
80639 _ACEOF
80640
80641   LIBS="-lm $LIBS"
80642
80643 fi
80644
80645
80646 for ac_func in copysignf
80647 do
80648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80649 echo "$as_me:$LINENO: checking for $ac_func" >&5
80650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80651 if eval "test \"\${$as_ac_var+set}\" = set"; then
80652   echo $ECHO_N "(cached) $ECHO_C" >&6
80653 else
80654   if test x$gcc_no_link = xyes; then
80655   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80657    { (exit 1); exit 1; }; }
80658 fi
80659 cat >conftest.$ac_ext <<_ACEOF
80660 /* confdefs.h.  */
80661 _ACEOF
80662 cat confdefs.h >>conftest.$ac_ext
80663 cat >>conftest.$ac_ext <<_ACEOF
80664 /* end confdefs.h.  */
80665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80666    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80667 #define $ac_func innocuous_$ac_func
80668
80669 /* System header to define __stub macros and hopefully few prototypes,
80670     which can conflict with char $ac_func (); below.
80671     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80672     <limits.h> exists even on freestanding compilers.  */
80673
80674 #ifdef __STDC__
80675 # include <limits.h>
80676 #else
80677 # include <assert.h>
80678 #endif
80679
80680 #undef $ac_func
80681
80682 /* Override any gcc2 internal prototype to avoid an error.  */
80683 #ifdef __cplusplus
80684 extern "C"
80685 {
80686 #endif
80687 /* We use char because int might match the return type of a gcc2
80688    builtin and then its argument prototype would still apply.  */
80689 char $ac_func ();
80690 /* The GNU C library defines this for functions which it implements
80691     to always fail with ENOSYS.  Some functions are actually named
80692     something starting with __ and the normal name is an alias.  */
80693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80694 choke me
80695 #else
80696 char (*f) () = $ac_func;
80697 #endif
80698 #ifdef __cplusplus
80699 }
80700 #endif
80701
80702 int
80703 main ()
80704 {
80705 return f != $ac_func;
80706   ;
80707   return 0;
80708 }
80709 _ACEOF
80710 rm -f conftest.$ac_objext conftest$ac_exeext
80711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80712   (eval $ac_link) 2>conftest.er1
80713   ac_status=$?
80714   grep -v '^ *+' conftest.er1 >conftest.err
80715   rm -f conftest.er1
80716   cat conftest.err >&5
80717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80718   (exit $ac_status); } &&
80719          { ac_try='test -z "$ac_c_werror_flag"
80720                          || test ! -s conftest.err'
80721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80722   (eval $ac_try) 2>&5
80723   ac_status=$?
80724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80725   (exit $ac_status); }; } &&
80726          { ac_try='test -s conftest$ac_exeext'
80727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80728   (eval $ac_try) 2>&5
80729   ac_status=$?
80730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80731   (exit $ac_status); }; }; then
80732   eval "$as_ac_var=yes"
80733 else
80734   echo "$as_me: failed program was:" >&5
80735 sed 's/^/| /' conftest.$ac_ext >&5
80736
80737 eval "$as_ac_var=no"
80738 fi
80739 rm -f conftest.err conftest.$ac_objext \
80740       conftest$ac_exeext conftest.$ac_ext
80741 fi
80742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80744 if test `eval echo '${'$as_ac_var'}'` = yes; then
80745   cat >>confdefs.h <<_ACEOF
80746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80747 _ACEOF
80748
80749 else
80750   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80751 fi
80752 done
80753
80754
80755
80756 for ac_func in __signbit
80757 do
80758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80759 echo "$as_me:$LINENO: checking for $ac_func" >&5
80760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80761 if eval "test \"\${$as_ac_var+set}\" = set"; then
80762   echo $ECHO_N "(cached) $ECHO_C" >&6
80763 else
80764   if test x$gcc_no_link = xyes; then
80765   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80767    { (exit 1); exit 1; }; }
80768 fi
80769 cat >conftest.$ac_ext <<_ACEOF
80770 /* confdefs.h.  */
80771 _ACEOF
80772 cat confdefs.h >>conftest.$ac_ext
80773 cat >>conftest.$ac_ext <<_ACEOF
80774 /* end confdefs.h.  */
80775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80776    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80777 #define $ac_func innocuous_$ac_func
80778
80779 /* System header to define __stub macros and hopefully few prototypes,
80780     which can conflict with char $ac_func (); below.
80781     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80782     <limits.h> exists even on freestanding compilers.  */
80783
80784 #ifdef __STDC__
80785 # include <limits.h>
80786 #else
80787 # include <assert.h>
80788 #endif
80789
80790 #undef $ac_func
80791
80792 /* Override any gcc2 internal prototype to avoid an error.  */
80793 #ifdef __cplusplus
80794 extern "C"
80795 {
80796 #endif
80797 /* We use char because int might match the return type of a gcc2
80798    builtin and then its argument prototype would still apply.  */
80799 char $ac_func ();
80800 /* The GNU C library defines this for functions which it implements
80801     to always fail with ENOSYS.  Some functions are actually named
80802     something starting with __ and the normal name is an alias.  */
80803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80804 choke me
80805 #else
80806 char (*f) () = $ac_func;
80807 #endif
80808 #ifdef __cplusplus
80809 }
80810 #endif
80811
80812 int
80813 main ()
80814 {
80815 return f != $ac_func;
80816   ;
80817   return 0;
80818 }
80819 _ACEOF
80820 rm -f conftest.$ac_objext conftest$ac_exeext
80821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80822   (eval $ac_link) 2>conftest.er1
80823   ac_status=$?
80824   grep -v '^ *+' conftest.er1 >conftest.err
80825   rm -f conftest.er1
80826   cat conftest.err >&5
80827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80828   (exit $ac_status); } &&
80829          { ac_try='test -z "$ac_c_werror_flag"
80830                          || test ! -s conftest.err'
80831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80832   (eval $ac_try) 2>&5
80833   ac_status=$?
80834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80835   (exit $ac_status); }; } &&
80836          { ac_try='test -s conftest$ac_exeext'
80837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80838   (eval $ac_try) 2>&5
80839   ac_status=$?
80840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80841   (exit $ac_status); }; }; then
80842   eval "$as_ac_var=yes"
80843 else
80844   echo "$as_me: failed program was:" >&5
80845 sed 's/^/| /' conftest.$ac_ext >&5
80846
80847 eval "$as_ac_var=no"
80848 fi
80849 rm -f conftest.err conftest.$ac_objext \
80850       conftest$ac_exeext conftest.$ac_ext
80851 fi
80852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80854 if test `eval echo '${'$as_ac_var'}'` = yes; then
80855   cat >>confdefs.h <<_ACEOF
80856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80857 _ACEOF
80858
80859 else
80860   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80861 fi
80862 done
80863
80864
80865
80866 for ac_func in __signbitf
80867 do
80868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80869 echo "$as_me:$LINENO: checking for $ac_func" >&5
80870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80871 if eval "test \"\${$as_ac_var+set}\" = set"; then
80872   echo $ECHO_N "(cached) $ECHO_C" >&6
80873 else
80874   if test x$gcc_no_link = xyes; then
80875   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80877    { (exit 1); exit 1; }; }
80878 fi
80879 cat >conftest.$ac_ext <<_ACEOF
80880 /* confdefs.h.  */
80881 _ACEOF
80882 cat confdefs.h >>conftest.$ac_ext
80883 cat >>conftest.$ac_ext <<_ACEOF
80884 /* end confdefs.h.  */
80885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80886    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80887 #define $ac_func innocuous_$ac_func
80888
80889 /* System header to define __stub macros and hopefully few prototypes,
80890     which can conflict with char $ac_func (); below.
80891     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80892     <limits.h> exists even on freestanding compilers.  */
80893
80894 #ifdef __STDC__
80895 # include <limits.h>
80896 #else
80897 # include <assert.h>
80898 #endif
80899
80900 #undef $ac_func
80901
80902 /* Override any gcc2 internal prototype to avoid an error.  */
80903 #ifdef __cplusplus
80904 extern "C"
80905 {
80906 #endif
80907 /* We use char because int might match the return type of a gcc2
80908    builtin and then its argument prototype would still apply.  */
80909 char $ac_func ();
80910 /* The GNU C library defines this for functions which it implements
80911     to always fail with ENOSYS.  Some functions are actually named
80912     something starting with __ and the normal name is an alias.  */
80913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80914 choke me
80915 #else
80916 char (*f) () = $ac_func;
80917 #endif
80918 #ifdef __cplusplus
80919 }
80920 #endif
80921
80922 int
80923 main ()
80924 {
80925 return f != $ac_func;
80926   ;
80927   return 0;
80928 }
80929 _ACEOF
80930 rm -f conftest.$ac_objext conftest$ac_exeext
80931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80932   (eval $ac_link) 2>conftest.er1
80933   ac_status=$?
80934   grep -v '^ *+' conftest.er1 >conftest.err
80935   rm -f conftest.er1
80936   cat conftest.err >&5
80937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80938   (exit $ac_status); } &&
80939          { ac_try='test -z "$ac_c_werror_flag"
80940                          || test ! -s conftest.err'
80941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80942   (eval $ac_try) 2>&5
80943   ac_status=$?
80944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80945   (exit $ac_status); }; } &&
80946          { ac_try='test -s conftest$ac_exeext'
80947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80948   (eval $ac_try) 2>&5
80949   ac_status=$?
80950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80951   (exit $ac_status); }; }; then
80952   eval "$as_ac_var=yes"
80953 else
80954   echo "$as_me: failed program was:" >&5
80955 sed 's/^/| /' conftest.$ac_ext >&5
80956
80957 eval "$as_ac_var=no"
80958 fi
80959 rm -f conftest.err conftest.$ac_objext \
80960       conftest$ac_exeext conftest.$ac_ext
80961 fi
80962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80964 if test `eval echo '${'$as_ac_var'}'` = yes; then
80965   cat >>confdefs.h <<_ACEOF
80966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80967 _ACEOF
80968
80969 else
80970   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80971 fi
80972 done
80973
80974
80975           if test x$ac_cv_func_copysignl = x"yes"; then
80976
80977 for ac_func in __signbitl
80978 do
80979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80980 echo "$as_me:$LINENO: checking for $ac_func" >&5
80981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80982 if eval "test \"\${$as_ac_var+set}\" = set"; then
80983   echo $ECHO_N "(cached) $ECHO_C" >&6
80984 else
80985   if test x$gcc_no_link = xyes; then
80986   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80988    { (exit 1); exit 1; }; }
80989 fi
80990 cat >conftest.$ac_ext <<_ACEOF
80991 /* confdefs.h.  */
80992 _ACEOF
80993 cat confdefs.h >>conftest.$ac_ext
80994 cat >>conftest.$ac_ext <<_ACEOF
80995 /* end confdefs.h.  */
80996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80997    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80998 #define $ac_func innocuous_$ac_func
80999
81000 /* System header to define __stub macros and hopefully few prototypes,
81001     which can conflict with char $ac_func (); below.
81002     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81003     <limits.h> exists even on freestanding compilers.  */
81004
81005 #ifdef __STDC__
81006 # include <limits.h>
81007 #else
81008 # include <assert.h>
81009 #endif
81010
81011 #undef $ac_func
81012
81013 /* Override any gcc2 internal prototype to avoid an error.  */
81014 #ifdef __cplusplus
81015 extern "C"
81016 {
81017 #endif
81018 /* We use char because int might match the return type of a gcc2
81019    builtin and then its argument prototype would still apply.  */
81020 char $ac_func ();
81021 /* The GNU C library defines this for functions which it implements
81022     to always fail with ENOSYS.  Some functions are actually named
81023     something starting with __ and the normal name is an alias.  */
81024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81025 choke me
81026 #else
81027 char (*f) () = $ac_func;
81028 #endif
81029 #ifdef __cplusplus
81030 }
81031 #endif
81032
81033 int
81034 main ()
81035 {
81036 return f != $ac_func;
81037   ;
81038   return 0;
81039 }
81040 _ACEOF
81041 rm -f conftest.$ac_objext conftest$ac_exeext
81042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81043   (eval $ac_link) 2>conftest.er1
81044   ac_status=$?
81045   grep -v '^ *+' conftest.er1 >conftest.err
81046   rm -f conftest.er1
81047   cat conftest.err >&5
81048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81049   (exit $ac_status); } &&
81050          { ac_try='test -z "$ac_c_werror_flag"
81051                          || test ! -s conftest.err'
81052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81053   (eval $ac_try) 2>&5
81054   ac_status=$?
81055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81056   (exit $ac_status); }; } &&
81057          { ac_try='test -s conftest$ac_exeext'
81058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81059   (eval $ac_try) 2>&5
81060   ac_status=$?
81061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81062   (exit $ac_status); }; }; then
81063   eval "$as_ac_var=yes"
81064 else
81065   echo "$as_me: failed program was:" >&5
81066 sed 's/^/| /' conftest.$ac_ext >&5
81067
81068 eval "$as_ac_var=no"
81069 fi
81070 rm -f conftest.err conftest.$ac_objext \
81071       conftest$ac_exeext conftest.$ac_ext
81072 fi
81073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81075 if test `eval echo '${'$as_ac_var'}'` = yes; then
81076   cat >>confdefs.h <<_ACEOF
81077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81078 _ACEOF
81079
81080 else
81081   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
81082 fi
81083 done
81084
81085   fi
81086
81087   # Used in libmath/Makefile.am.
81088   if test -n "$LIBMATHOBJS"; then
81089     need_libmath=yes
81090   fi
81091
81092
81093
81094
81095   enable_iconv=no
81096   # Only continue checking if the ISO C99 headers exist and support is on.
81097   if test x"$enable_wchar_t" = xyes; then
81098
81099     # Use iconv for wchar_t to char conversions. As such, check for
81100     # X/Open Portability Guide, version 2 features (XPG2).
81101     if test "${ac_cv_header_iconv_h+set}" = set; then
81102   echo "$as_me:$LINENO: checking for iconv.h" >&5
81103 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81104 if test "${ac_cv_header_iconv_h+set}" = set; then
81105   echo $ECHO_N "(cached) $ECHO_C" >&6
81106 fi
81107 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81108 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81109 else
81110   # Is the header compilable?
81111 echo "$as_me:$LINENO: checking iconv.h usability" >&5
81112 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
81113 cat >conftest.$ac_ext <<_ACEOF
81114 /* confdefs.h.  */
81115 _ACEOF
81116 cat confdefs.h >>conftest.$ac_ext
81117 cat >>conftest.$ac_ext <<_ACEOF
81118 /* end confdefs.h.  */
81119 $ac_includes_default
81120 #include <iconv.h>
81121 _ACEOF
81122 rm -f conftest.$ac_objext
81123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81124   (eval $ac_compile) 2>conftest.er1
81125   ac_status=$?
81126   grep -v '^ *+' conftest.er1 >conftest.err
81127   rm -f conftest.er1
81128   cat conftest.err >&5
81129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81130   (exit $ac_status); } &&
81131          { ac_try='test -z "$ac_c_werror_flag"
81132                          || test ! -s conftest.err'
81133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81134   (eval $ac_try) 2>&5
81135   ac_status=$?
81136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81137   (exit $ac_status); }; } &&
81138          { ac_try='test -s conftest.$ac_objext'
81139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81140   (eval $ac_try) 2>&5
81141   ac_status=$?
81142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81143   (exit $ac_status); }; }; then
81144   ac_header_compiler=yes
81145 else
81146   echo "$as_me: failed program was:" >&5
81147 sed 's/^/| /' conftest.$ac_ext >&5
81148
81149 ac_header_compiler=no
81150 fi
81151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81152 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81153 echo "${ECHO_T}$ac_header_compiler" >&6
81154
81155 # Is the header present?
81156 echo "$as_me:$LINENO: checking iconv.h presence" >&5
81157 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
81158 cat >conftest.$ac_ext <<_ACEOF
81159 /* confdefs.h.  */
81160 _ACEOF
81161 cat confdefs.h >>conftest.$ac_ext
81162 cat >>conftest.$ac_ext <<_ACEOF
81163 /* end confdefs.h.  */
81164 #include <iconv.h>
81165 _ACEOF
81166 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81167   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81168   ac_status=$?
81169   grep -v '^ *+' conftest.er1 >conftest.err
81170   rm -f conftest.er1
81171   cat conftest.err >&5
81172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81173   (exit $ac_status); } >/dev/null; then
81174   if test -s conftest.err; then
81175     ac_cpp_err=$ac_c_preproc_warn_flag
81176     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81177   else
81178     ac_cpp_err=
81179   fi
81180 else
81181   ac_cpp_err=yes
81182 fi
81183 if test -z "$ac_cpp_err"; then
81184   ac_header_preproc=yes
81185 else
81186   echo "$as_me: failed program was:" >&5
81187 sed 's/^/| /' conftest.$ac_ext >&5
81188
81189   ac_header_preproc=no
81190 fi
81191 rm -f conftest.err conftest.$ac_ext
81192 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81193 echo "${ECHO_T}$ac_header_preproc" >&6
81194
81195 # So?  What about this header?
81196 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81197   yes:no: )
81198     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
81199 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81200     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
81201 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
81202     ac_header_preproc=yes
81203     ;;
81204   no:yes:* )
81205     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
81206 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
81207     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
81208 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
81209     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
81210 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
81211     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
81212 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
81213     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81214 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81215     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
81216 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
81217     (
81218       cat <<\_ASBOX
81219 ## ----------------------------------------- ##
81220 ## Report this to the package-unused lists.  ##
81221 ## ----------------------------------------- ##
81222 _ASBOX
81223     ) |
81224       sed "s/^/$as_me: WARNING:     /" >&2
81225     ;;
81226 esac
81227 echo "$as_me:$LINENO: checking for iconv.h" >&5
81228 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81229 if test "${ac_cv_header_iconv_h+set}" = set; then
81230   echo $ECHO_N "(cached) $ECHO_C" >&6
81231 else
81232   ac_cv_header_iconv_h=$ac_header_preproc
81233 fi
81234 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81235 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81236
81237 fi
81238 if test $ac_cv_header_iconv_h = yes; then
81239   ac_has_iconv_h=yes
81240 else
81241   ac_has_iconv_h=no
81242 fi
81243
81244
81245     if test "${ac_cv_header_langinfo_h+set}" = set; then
81246   echo "$as_me:$LINENO: checking for langinfo.h" >&5
81247 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81248 if test "${ac_cv_header_langinfo_h+set}" = set; then
81249   echo $ECHO_N "(cached) $ECHO_C" >&6
81250 fi
81251 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81252 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81253 else
81254   # Is the header compilable?
81255 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
81256 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
81257 cat >conftest.$ac_ext <<_ACEOF
81258 /* confdefs.h.  */
81259 _ACEOF
81260 cat confdefs.h >>conftest.$ac_ext
81261 cat >>conftest.$ac_ext <<_ACEOF
81262 /* end confdefs.h.  */
81263 $ac_includes_default
81264 #include <langinfo.h>
81265 _ACEOF
81266 rm -f conftest.$ac_objext
81267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81268   (eval $ac_compile) 2>conftest.er1
81269   ac_status=$?
81270   grep -v '^ *+' conftest.er1 >conftest.err
81271   rm -f conftest.er1
81272   cat conftest.err >&5
81273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81274   (exit $ac_status); } &&
81275          { ac_try='test -z "$ac_c_werror_flag"
81276                          || test ! -s conftest.err'
81277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81278   (eval $ac_try) 2>&5
81279   ac_status=$?
81280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81281   (exit $ac_status); }; } &&
81282          { ac_try='test -s conftest.$ac_objext'
81283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81284   (eval $ac_try) 2>&5
81285   ac_status=$?
81286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81287   (exit $ac_status); }; }; then
81288   ac_header_compiler=yes
81289 else
81290   echo "$as_me: failed program was:" >&5
81291 sed 's/^/| /' conftest.$ac_ext >&5
81292
81293 ac_header_compiler=no
81294 fi
81295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81296 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81297 echo "${ECHO_T}$ac_header_compiler" >&6
81298
81299 # Is the header present?
81300 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
81301 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
81302 cat >conftest.$ac_ext <<_ACEOF
81303 /* confdefs.h.  */
81304 _ACEOF
81305 cat confdefs.h >>conftest.$ac_ext
81306 cat >>conftest.$ac_ext <<_ACEOF
81307 /* end confdefs.h.  */
81308 #include <langinfo.h>
81309 _ACEOF
81310 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81311   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81312   ac_status=$?
81313   grep -v '^ *+' conftest.er1 >conftest.err
81314   rm -f conftest.er1
81315   cat conftest.err >&5
81316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81317   (exit $ac_status); } >/dev/null; then
81318   if test -s conftest.err; then
81319     ac_cpp_err=$ac_c_preproc_warn_flag
81320     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81321   else
81322     ac_cpp_err=
81323   fi
81324 else
81325   ac_cpp_err=yes
81326 fi
81327 if test -z "$ac_cpp_err"; then
81328   ac_header_preproc=yes
81329 else
81330   echo "$as_me: failed program was:" >&5
81331 sed 's/^/| /' conftest.$ac_ext >&5
81332
81333   ac_header_preproc=no
81334 fi
81335 rm -f conftest.err conftest.$ac_ext
81336 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81337 echo "${ECHO_T}$ac_header_preproc" >&6
81338
81339 # So?  What about this header?
81340 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81341   yes:no: )
81342     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81343 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81344     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
81345 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
81346     ac_header_preproc=yes
81347     ;;
81348   no:yes:* )
81349     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81350 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81351     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
81352 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
81353     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
81354 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
81355     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
81356 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
81357     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81358 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81359     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
81360 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
81361     (
81362       cat <<\_ASBOX
81363 ## ----------------------------------------- ##
81364 ## Report this to the package-unused lists.  ##
81365 ## ----------------------------------------- ##
81366 _ASBOX
81367     ) |
81368       sed "s/^/$as_me: WARNING:     /" >&2
81369     ;;
81370 esac
81371 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81372 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81373 if test "${ac_cv_header_langinfo_h+set}" = set; then
81374   echo $ECHO_N "(cached) $ECHO_C" >&6
81375 else
81376   ac_cv_header_langinfo_h=$ac_header_preproc
81377 fi
81378 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81379 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81380
81381 fi
81382 if test $ac_cv_header_langinfo_h = yes; then
81383   ac_has_langinfo_h=yes
81384 else
81385   ac_has_langinfo_h=no
81386 fi
81387
81388
81389
81390     # Check for existence of libiconv.a providing XPG2 wchar_t support.
81391     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81392 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81393 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81394   echo $ECHO_N "(cached) $ECHO_C" >&6
81395 else
81396   ac_check_lib_save_LIBS=$LIBS
81397 LIBS="-liconv  $LIBS"
81398 if test x$gcc_no_link = xyes; then
81399   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81401    { (exit 1); exit 1; }; }
81402 fi
81403 cat >conftest.$ac_ext <<_ACEOF
81404 /* confdefs.h.  */
81405 _ACEOF
81406 cat confdefs.h >>conftest.$ac_ext
81407 cat >>conftest.$ac_ext <<_ACEOF
81408 /* end confdefs.h.  */
81409
81410 /* Override any gcc2 internal prototype to avoid an error.  */
81411 #ifdef __cplusplus
81412 extern "C"
81413 #endif
81414 /* We use char because int might match the return type of a gcc2
81415    builtin and then its argument prototype would still apply.  */
81416 char iconv ();
81417 int
81418 main ()
81419 {
81420 iconv ();
81421   ;
81422   return 0;
81423 }
81424 _ACEOF
81425 rm -f conftest.$ac_objext conftest$ac_exeext
81426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81427   (eval $ac_link) 2>conftest.er1
81428   ac_status=$?
81429   grep -v '^ *+' conftest.er1 >conftest.err
81430   rm -f conftest.er1
81431   cat conftest.err >&5
81432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81433   (exit $ac_status); } &&
81434          { ac_try='test -z "$ac_c_werror_flag"
81435                          || test ! -s conftest.err'
81436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81437   (eval $ac_try) 2>&5
81438   ac_status=$?
81439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81440   (exit $ac_status); }; } &&
81441          { ac_try='test -s conftest$ac_exeext'
81442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81443   (eval $ac_try) 2>&5
81444   ac_status=$?
81445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81446   (exit $ac_status); }; }; then
81447   ac_cv_lib_iconv_iconv=yes
81448 else
81449   echo "$as_me: failed program was:" >&5
81450 sed 's/^/| /' conftest.$ac_ext >&5
81451
81452 ac_cv_lib_iconv_iconv=no
81453 fi
81454 rm -f conftest.err conftest.$ac_objext \
81455       conftest$ac_exeext conftest.$ac_ext
81456 LIBS=$ac_check_lib_save_LIBS
81457 fi
81458 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81459 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81460 if test $ac_cv_lib_iconv_iconv = yes; then
81461   LIBICONV="-liconv"
81462 fi
81463
81464     ac_save_LIBS="$LIBS"
81465     LIBS="$LIBS $LIBICONV"
81466
81467
81468
81469
81470
81471
81472 for ac_func in iconv_open iconv_close iconv nl_langinfo
81473 do
81474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81475 echo "$as_me:$LINENO: checking for $ac_func" >&5
81476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81477 if eval "test \"\${$as_ac_var+set}\" = set"; then
81478   echo $ECHO_N "(cached) $ECHO_C" >&6
81479 else
81480   if test x$gcc_no_link = xyes; then
81481   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81483    { (exit 1); exit 1; }; }
81484 fi
81485 cat >conftest.$ac_ext <<_ACEOF
81486 /* confdefs.h.  */
81487 _ACEOF
81488 cat confdefs.h >>conftest.$ac_ext
81489 cat >>conftest.$ac_ext <<_ACEOF
81490 /* end confdefs.h.  */
81491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81492    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81493 #define $ac_func innocuous_$ac_func
81494
81495 /* System header to define __stub macros and hopefully few prototypes,
81496     which can conflict with char $ac_func (); below.
81497     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81498     <limits.h> exists even on freestanding compilers.  */
81499
81500 #ifdef __STDC__
81501 # include <limits.h>
81502 #else
81503 # include <assert.h>
81504 #endif
81505
81506 #undef $ac_func
81507
81508 /* Override any gcc2 internal prototype to avoid an error.  */
81509 #ifdef __cplusplus
81510 extern "C"
81511 {
81512 #endif
81513 /* We use char because int might match the return type of a gcc2
81514    builtin and then its argument prototype would still apply.  */
81515 char $ac_func ();
81516 /* The GNU C library defines this for functions which it implements
81517     to always fail with ENOSYS.  Some functions are actually named
81518     something starting with __ and the normal name is an alias.  */
81519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81520 choke me
81521 #else
81522 char (*f) () = $ac_func;
81523 #endif
81524 #ifdef __cplusplus
81525 }
81526 #endif
81527
81528 int
81529 main ()
81530 {
81531 return f != $ac_func;
81532   ;
81533   return 0;
81534 }
81535 _ACEOF
81536 rm -f conftest.$ac_objext conftest$ac_exeext
81537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81538   (eval $ac_link) 2>conftest.er1
81539   ac_status=$?
81540   grep -v '^ *+' conftest.er1 >conftest.err
81541   rm -f conftest.er1
81542   cat conftest.err >&5
81543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81544   (exit $ac_status); } &&
81545          { ac_try='test -z "$ac_c_werror_flag"
81546                          || test ! -s conftest.err'
81547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81548   (eval $ac_try) 2>&5
81549   ac_status=$?
81550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81551   (exit $ac_status); }; } &&
81552          { ac_try='test -s conftest$ac_exeext'
81553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81554   (eval $ac_try) 2>&5
81555   ac_status=$?
81556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81557   (exit $ac_status); }; }; then
81558   eval "$as_ac_var=yes"
81559 else
81560   echo "$as_me: failed program was:" >&5
81561 sed 's/^/| /' conftest.$ac_ext >&5
81562
81563 eval "$as_ac_var=no"
81564 fi
81565 rm -f conftest.err conftest.$ac_objext \
81566       conftest$ac_exeext conftest.$ac_ext
81567 fi
81568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81570 if test `eval echo '${'$as_ac_var'}'` = yes; then
81571   cat >>confdefs.h <<_ACEOF
81572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81573 _ACEOF
81574  ac_XPG2funcs=yes
81575 else
81576   ac_XPG2funcs=no
81577 fi
81578 done
81579
81580
81581     LIBS="$ac_save_LIBS"
81582
81583     if test x"$ac_has_iconv_h" = xyes &&
81584        test x"$ac_has_langinfo_h" = xyes &&
81585        test x"$ac_XPG2funcs" = xyes;
81586     then
81587
81588 cat >>confdefs.h <<\_ACEOF
81589 #define _GLIBCXX_USE_ICONV 1
81590 _ACEOF
81591
81592       enable_iconv=yes
81593     fi
81594   fi
81595   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
81596 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
81597   echo "$as_me:$LINENO: result: $enable_iconv" >&5
81598 echo "${ECHO_T}$enable_iconv" >&6
81599
81600     cat >>confdefs.h <<\_ACEOF
81601 #define HAVE_COPYSIGN 1
81602 _ACEOF
81603
81604     cat >>confdefs.h <<\_ACEOF
81605 #define HAVE_COPYSIGNF 1
81606 _ACEOF
81607
81608     cat >>confdefs.h <<\_ACEOF
81609 #define HAVE_FINITEF 1
81610 _ACEOF
81611
81612     cat >>confdefs.h <<\_ACEOF
81613 #define HAVE_FINITE 1
81614 _ACEOF
81615
81616     cat >>confdefs.h <<\_ACEOF
81617 #define HAVE_FREXPF 1
81618 _ACEOF
81619
81620     cat >>confdefs.h <<\_ACEOF
81621 #define HAVE_HYPOTF 1
81622 _ACEOF
81623
81624     cat >>confdefs.h <<\_ACEOF
81625 #define HAVE_ISINF 1
81626 _ACEOF
81627
81628     cat >>confdefs.h <<\_ACEOF
81629 #define HAVE_ISINFF 1
81630 _ACEOF
81631
81632     cat >>confdefs.h <<\_ACEOF
81633 #define HAVE_ISNAN 1
81634 _ACEOF
81635
81636     cat >>confdefs.h <<\_ACEOF
81637 #define HAVE_ISNANF 1
81638 _ACEOF
81639
81640     if test x"long_double_math_on_this_cpu" = x"yes"; then
81641       cat >>confdefs.h <<\_ACEOF
81642 #define HAVE_FINITEL 1
81643 _ACEOF
81644
81645       cat >>confdefs.h <<\_ACEOF
81646 #define HAVE_ISINFL 1
81647 _ACEOF
81648
81649       cat >>confdefs.h <<\_ACEOF
81650 #define HAVE_ISNANL 1
81651 _ACEOF
81652
81653     fi
81654     ;;
81655   *-netware)
81656
81657
81658
81659
81660
81661
81662
81663
81664 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
81665       sys/types.h locale.h float.h inttypes.h
81666 do
81667 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81669   echo "$as_me:$LINENO: checking for $ac_header" >&5
81670 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81671 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81672   echo $ECHO_N "(cached) $ECHO_C" >&6
81673 fi
81674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81675 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81676 else
81677   # Is the header compilable?
81678 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81679 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81680 cat >conftest.$ac_ext <<_ACEOF
81681 /* confdefs.h.  */
81682 _ACEOF
81683 cat confdefs.h >>conftest.$ac_ext
81684 cat >>conftest.$ac_ext <<_ACEOF
81685 /* end confdefs.h.  */
81686 $ac_includes_default
81687 #include <$ac_header>
81688 _ACEOF
81689 rm -f conftest.$ac_objext
81690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81691   (eval $ac_compile) 2>conftest.er1
81692   ac_status=$?
81693   grep -v '^ *+' conftest.er1 >conftest.err
81694   rm -f conftest.er1
81695   cat conftest.err >&5
81696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81697   (exit $ac_status); } &&
81698          { ac_try='test -z "$ac_c_werror_flag"
81699                          || test ! -s conftest.err'
81700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81701   (eval $ac_try) 2>&5
81702   ac_status=$?
81703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81704   (exit $ac_status); }; } &&
81705          { ac_try='test -s conftest.$ac_objext'
81706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81707   (eval $ac_try) 2>&5
81708   ac_status=$?
81709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81710   (exit $ac_status); }; }; then
81711   ac_header_compiler=yes
81712 else
81713   echo "$as_me: failed program was:" >&5
81714 sed 's/^/| /' conftest.$ac_ext >&5
81715
81716 ac_header_compiler=no
81717 fi
81718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81719 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81720 echo "${ECHO_T}$ac_header_compiler" >&6
81721
81722 # Is the header present?
81723 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81724 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81725 cat >conftest.$ac_ext <<_ACEOF
81726 /* confdefs.h.  */
81727 _ACEOF
81728 cat confdefs.h >>conftest.$ac_ext
81729 cat >>conftest.$ac_ext <<_ACEOF
81730 /* end confdefs.h.  */
81731 #include <$ac_header>
81732 _ACEOF
81733 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81734   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81735   ac_status=$?
81736   grep -v '^ *+' conftest.er1 >conftest.err
81737   rm -f conftest.er1
81738   cat conftest.err >&5
81739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81740   (exit $ac_status); } >/dev/null; then
81741   if test -s conftest.err; then
81742     ac_cpp_err=$ac_c_preproc_warn_flag
81743     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81744   else
81745     ac_cpp_err=
81746   fi
81747 else
81748   ac_cpp_err=yes
81749 fi
81750 if test -z "$ac_cpp_err"; then
81751   ac_header_preproc=yes
81752 else
81753   echo "$as_me: failed program was:" >&5
81754 sed 's/^/| /' conftest.$ac_ext >&5
81755
81756   ac_header_preproc=no
81757 fi
81758 rm -f conftest.err conftest.$ac_ext
81759 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81760 echo "${ECHO_T}$ac_header_preproc" >&6
81761
81762 # So?  What about this header?
81763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81764   yes:no: )
81765     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81766 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81767     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81768 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81769     ac_header_preproc=yes
81770     ;;
81771   no:yes:* )
81772     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81773 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81774     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
81775 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
81776     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81777 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81778     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
81779 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
81780     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81781 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81782     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81783 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81784     (
81785       cat <<\_ASBOX
81786 ## ----------------------------------------- ##
81787 ## Report this to the package-unused lists.  ##
81788 ## ----------------------------------------- ##
81789 _ASBOX
81790     ) |
81791       sed "s/^/$as_me: WARNING:     /" >&2
81792     ;;
81793 esac
81794 echo "$as_me:$LINENO: checking for $ac_header" >&5
81795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81797   echo $ECHO_N "(cached) $ECHO_C" >&6
81798 else
81799   eval "$as_ac_Header=\$ac_header_preproc"
81800 fi
81801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81802 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81803
81804 fi
81805 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81806   cat >>confdefs.h <<_ACEOF
81807 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81808 _ACEOF
81809
81810 fi
81811
81812 done
81813
81814     SECTION_FLAGS='-ffunction-sections -fdata-sections'
81815
81816
81817   # If we're not using GNU ld, then there's no point in even trying these
81818   # tests.  Check for that first.  We should have already tested for gld
81819   # by now (in libtool), but require it now just to be safe...
81820   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
81821   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
81822
81823
81824
81825   # The name set by libtool depends on the version of libtool.  Shame on us
81826   # for depending on an impl detail, but c'est la vie.  Older versions used
81827   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
81828   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
81829   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
81830   # set (hence we're using an older libtool), then set it.
81831   if test x${with_gnu_ld+set} != xset; then
81832     if test x${ac_cv_prog_gnu_ld+set} != xset; then
81833       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
81834       with_gnu_ld=no
81835     else
81836       with_gnu_ld=$ac_cv_prog_gnu_ld
81837     fi
81838   fi
81839
81840   # Start by getting the version number.  I think the libtool test already
81841   # does some of this, but throws away the result.
81842
81843   ldver=`$LD --version 2>/dev/null | head -1 | \
81844          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
81845
81846   glibcxx_gnu_ld_version=`echo $ldver | \
81847          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
81848
81849   # Set --gc-sections.
81850   if test "$with_gnu_ld" = "notbroken"; then
81851     # GNU ld it is!  Joy and bunny rabbits!
81852
81853     # All these tests are for C++; save the language and the compiler flags.
81854     # Need to do this so that g++ won't try to link in libstdc++
81855     ac_test_CFLAGS="${CFLAGS+set}"
81856     ac_save_CFLAGS="$CFLAGS"
81857     CFLAGS='-x c++  -Wl,--gc-sections'
81858
81859     # Check for -Wl,--gc-sections
81860     # XXX This test is broken at the moment, as symbols required for linking
81861     # are now in libsupc++ (not built yet).  In addition, this test has
81862     # cored on solaris in the past.  In addition, --gc-sections doesn't
81863     # really work at the moment (keeps on discarding used sections, first
81864     # .eh_frame and now some of the glibc sections for iconv).
81865     # Bzzzzt.  Thanks for playing, maybe next time.
81866     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
81867 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
81868     if test "$cross_compiling" = yes; then
81869   ac_sectionLDflags=yes
81870 else
81871   cat >conftest.$ac_ext <<_ACEOF
81872 /* confdefs.h.  */
81873 _ACEOF
81874 cat confdefs.h >>conftest.$ac_ext
81875 cat >>conftest.$ac_ext <<_ACEOF
81876 /* end confdefs.h.  */
81877
81878      int main(void)
81879      {
81880        try { throw 1; }
81881        catch (...) { };
81882        return 0;
81883      }
81884
81885 _ACEOF
81886 rm -f conftest$ac_exeext
81887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81888   (eval $ac_link) 2>&5
81889   ac_status=$?
81890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81891   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
81892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81893   (eval $ac_try) 2>&5
81894   ac_status=$?
81895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81896   (exit $ac_status); }; }; then
81897   ac_sectionLDflags=yes
81898 else
81899   echo "$as_me: program exited with status $ac_status" >&5
81900 echo "$as_me: failed program was:" >&5
81901 sed 's/^/| /' conftest.$ac_ext >&5
81902
81903 ( exit $ac_status )
81904 ac_sectionLDflags=no
81905 fi
81906 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
81907 fi
81908     if test "$ac_test_CFLAGS" = set; then
81909       CFLAGS="$ac_save_CFLAGS"
81910     else
81911       # this is the suspicious part
81912       CFLAGS=''
81913     fi
81914     if test "$ac_sectionLDflags" = "yes"; then
81915       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
81916     fi
81917     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
81918 echo "${ECHO_T}$ac_sectionLDflags" >&6
81919   fi
81920
81921   # Set linker optimization flags.
81922   if test x"$with_gnu_ld" = x"yes"; then
81923     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
81924   fi
81925
81926
81927
81928
81929
81930
81931 echo "$as_me:$LINENO: checking for main in -lm" >&5
81932 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
81933 if test "${ac_cv_lib_m_main+set}" = set; then
81934   echo $ECHO_N "(cached) $ECHO_C" >&6
81935 else
81936   ac_check_lib_save_LIBS=$LIBS
81937 LIBS="-lm  $LIBS"
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
81950
81951 int
81952 main ()
81953 {
81954 main ();
81955   ;
81956   return 0;
81957 }
81958 _ACEOF
81959 rm -f conftest.$ac_objext conftest$ac_exeext
81960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81961   (eval $ac_link) 2>conftest.er1
81962   ac_status=$?
81963   grep -v '^ *+' conftest.er1 >conftest.err
81964   rm -f conftest.er1
81965   cat conftest.err >&5
81966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81967   (exit $ac_status); } &&
81968          { ac_try='test -z "$ac_c_werror_flag"
81969                          || test ! -s conftest.err'
81970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81971   (eval $ac_try) 2>&5
81972   ac_status=$?
81973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81974   (exit $ac_status); }; } &&
81975          { ac_try='test -s conftest$ac_exeext'
81976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81977   (eval $ac_try) 2>&5
81978   ac_status=$?
81979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81980   (exit $ac_status); }; }; then
81981   ac_cv_lib_m_main=yes
81982 else
81983   echo "$as_me: failed program was:" >&5
81984 sed 's/^/| /' conftest.$ac_ext >&5
81985
81986 ac_cv_lib_m_main=no
81987 fi
81988 rm -f conftest.err conftest.$ac_objext \
81989       conftest$ac_exeext conftest.$ac_ext
81990 LIBS=$ac_check_lib_save_LIBS
81991 fi
81992 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
81993 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
81994 if test $ac_cv_lib_m_main = yes; then
81995   cat >>confdefs.h <<_ACEOF
81996 #define HAVE_LIBM 1
81997 _ACEOF
81998
81999   LIBS="-lm $LIBS"
82000
82001 fi
82002
82003
82004 for ac_func in copysignf
82005 do
82006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82007 echo "$as_me:$LINENO: checking for $ac_func" >&5
82008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82009 if eval "test \"\${$as_ac_var+set}\" = set"; then
82010   echo $ECHO_N "(cached) $ECHO_C" >&6
82011 else
82012   if test x$gcc_no_link = xyes; then
82013   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82015    { (exit 1); exit 1; }; }
82016 fi
82017 cat >conftest.$ac_ext <<_ACEOF
82018 /* confdefs.h.  */
82019 _ACEOF
82020 cat confdefs.h >>conftest.$ac_ext
82021 cat >>conftest.$ac_ext <<_ACEOF
82022 /* end confdefs.h.  */
82023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82024    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82025 #define $ac_func innocuous_$ac_func
82026
82027 /* System header to define __stub macros and hopefully few prototypes,
82028     which can conflict with char $ac_func (); below.
82029     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82030     <limits.h> exists even on freestanding compilers.  */
82031
82032 #ifdef __STDC__
82033 # include <limits.h>
82034 #else
82035 # include <assert.h>
82036 #endif
82037
82038 #undef $ac_func
82039
82040 /* Override any gcc2 internal prototype to avoid an error.  */
82041 #ifdef __cplusplus
82042 extern "C"
82043 {
82044 #endif
82045 /* We use char because int might match the return type of a gcc2
82046    builtin and then its argument prototype would still apply.  */
82047 char $ac_func ();
82048 /* The GNU C library defines this for functions which it implements
82049     to always fail with ENOSYS.  Some functions are actually named
82050     something starting with __ and the normal name is an alias.  */
82051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82052 choke me
82053 #else
82054 char (*f) () = $ac_func;
82055 #endif
82056 #ifdef __cplusplus
82057 }
82058 #endif
82059
82060 int
82061 main ()
82062 {
82063 return f != $ac_func;
82064   ;
82065   return 0;
82066 }
82067 _ACEOF
82068 rm -f conftest.$ac_objext conftest$ac_exeext
82069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82070   (eval $ac_link) 2>conftest.er1
82071   ac_status=$?
82072   grep -v '^ *+' conftest.er1 >conftest.err
82073   rm -f conftest.er1
82074   cat conftest.err >&5
82075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82076   (exit $ac_status); } &&
82077          { ac_try='test -z "$ac_c_werror_flag"
82078                          || test ! -s conftest.err'
82079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82080   (eval $ac_try) 2>&5
82081   ac_status=$?
82082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82083   (exit $ac_status); }; } &&
82084          { ac_try='test -s conftest$ac_exeext'
82085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82086   (eval $ac_try) 2>&5
82087   ac_status=$?
82088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82089   (exit $ac_status); }; }; then
82090   eval "$as_ac_var=yes"
82091 else
82092   echo "$as_me: failed program was:" >&5
82093 sed 's/^/| /' conftest.$ac_ext >&5
82094
82095 eval "$as_ac_var=no"
82096 fi
82097 rm -f conftest.err conftest.$ac_objext \
82098       conftest$ac_exeext conftest.$ac_ext
82099 fi
82100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82102 if test `eval echo '${'$as_ac_var'}'` = yes; then
82103   cat >>confdefs.h <<_ACEOF
82104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82105 _ACEOF
82106
82107 else
82108   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
82109 fi
82110 done
82111
82112
82113
82114 for ac_func in __signbit
82115 do
82116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82117 echo "$as_me:$LINENO: checking for $ac_func" >&5
82118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82119 if eval "test \"\${$as_ac_var+set}\" = set"; then
82120   echo $ECHO_N "(cached) $ECHO_C" >&6
82121 else
82122   if test x$gcc_no_link = xyes; then
82123   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82125    { (exit 1); exit 1; }; }
82126 fi
82127 cat >conftest.$ac_ext <<_ACEOF
82128 /* confdefs.h.  */
82129 _ACEOF
82130 cat confdefs.h >>conftest.$ac_ext
82131 cat >>conftest.$ac_ext <<_ACEOF
82132 /* end confdefs.h.  */
82133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82134    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82135 #define $ac_func innocuous_$ac_func
82136
82137 /* System header to define __stub macros and hopefully few prototypes,
82138     which can conflict with char $ac_func (); below.
82139     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82140     <limits.h> exists even on freestanding compilers.  */
82141
82142 #ifdef __STDC__
82143 # include <limits.h>
82144 #else
82145 # include <assert.h>
82146 #endif
82147
82148 #undef $ac_func
82149
82150 /* Override any gcc2 internal prototype to avoid an error.  */
82151 #ifdef __cplusplus
82152 extern "C"
82153 {
82154 #endif
82155 /* We use char because int might match the return type of a gcc2
82156    builtin and then its argument prototype would still apply.  */
82157 char $ac_func ();
82158 /* The GNU C library defines this for functions which it implements
82159     to always fail with ENOSYS.  Some functions are actually named
82160     something starting with __ and the normal name is an alias.  */
82161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82162 choke me
82163 #else
82164 char (*f) () = $ac_func;
82165 #endif
82166 #ifdef __cplusplus
82167 }
82168 #endif
82169
82170 int
82171 main ()
82172 {
82173 return f != $ac_func;
82174   ;
82175   return 0;
82176 }
82177 _ACEOF
82178 rm -f conftest.$ac_objext conftest$ac_exeext
82179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82180   (eval $ac_link) 2>conftest.er1
82181   ac_status=$?
82182   grep -v '^ *+' conftest.er1 >conftest.err
82183   rm -f conftest.er1
82184   cat conftest.err >&5
82185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82186   (exit $ac_status); } &&
82187          { ac_try='test -z "$ac_c_werror_flag"
82188                          || test ! -s conftest.err'
82189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82190   (eval $ac_try) 2>&5
82191   ac_status=$?
82192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82193   (exit $ac_status); }; } &&
82194          { ac_try='test -s conftest$ac_exeext'
82195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82196   (eval $ac_try) 2>&5
82197   ac_status=$?
82198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82199   (exit $ac_status); }; }; then
82200   eval "$as_ac_var=yes"
82201 else
82202   echo "$as_me: failed program was:" >&5
82203 sed 's/^/| /' conftest.$ac_ext >&5
82204
82205 eval "$as_ac_var=no"
82206 fi
82207 rm -f conftest.err conftest.$ac_objext \
82208       conftest$ac_exeext conftest.$ac_ext
82209 fi
82210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82212 if test `eval echo '${'$as_ac_var'}'` = yes; then
82213   cat >>confdefs.h <<_ACEOF
82214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82215 _ACEOF
82216
82217 else
82218   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
82219 fi
82220 done
82221
82222
82223
82224 for ac_func in __signbitf
82225 do
82226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82227 echo "$as_me:$LINENO: checking for $ac_func" >&5
82228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82229 if eval "test \"\${$as_ac_var+set}\" = set"; then
82230   echo $ECHO_N "(cached) $ECHO_C" >&6
82231 else
82232   if test x$gcc_no_link = xyes; then
82233   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82235    { (exit 1); exit 1; }; }
82236 fi
82237 cat >conftest.$ac_ext <<_ACEOF
82238 /* confdefs.h.  */
82239 _ACEOF
82240 cat confdefs.h >>conftest.$ac_ext
82241 cat >>conftest.$ac_ext <<_ACEOF
82242 /* end confdefs.h.  */
82243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82244    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82245 #define $ac_func innocuous_$ac_func
82246
82247 /* System header to define __stub macros and hopefully few prototypes,
82248     which can conflict with char $ac_func (); below.
82249     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82250     <limits.h> exists even on freestanding compilers.  */
82251
82252 #ifdef __STDC__
82253 # include <limits.h>
82254 #else
82255 # include <assert.h>
82256 #endif
82257
82258 #undef $ac_func
82259
82260 /* Override any gcc2 internal prototype to avoid an error.  */
82261 #ifdef __cplusplus
82262 extern "C"
82263 {
82264 #endif
82265 /* We use char because int might match the return type of a gcc2
82266    builtin and then its argument prototype would still apply.  */
82267 char $ac_func ();
82268 /* The GNU C library defines this for functions which it implements
82269     to always fail with ENOSYS.  Some functions are actually named
82270     something starting with __ and the normal name is an alias.  */
82271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82272 choke me
82273 #else
82274 char (*f) () = $ac_func;
82275 #endif
82276 #ifdef __cplusplus
82277 }
82278 #endif
82279
82280 int
82281 main ()
82282 {
82283 return f != $ac_func;
82284   ;
82285   return 0;
82286 }
82287 _ACEOF
82288 rm -f conftest.$ac_objext conftest$ac_exeext
82289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82290   (eval $ac_link) 2>conftest.er1
82291   ac_status=$?
82292   grep -v '^ *+' conftest.er1 >conftest.err
82293   rm -f conftest.er1
82294   cat conftest.err >&5
82295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82296   (exit $ac_status); } &&
82297          { ac_try='test -z "$ac_c_werror_flag"
82298                          || test ! -s conftest.err'
82299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82300   (eval $ac_try) 2>&5
82301   ac_status=$?
82302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82303   (exit $ac_status); }; } &&
82304          { ac_try='test -s conftest$ac_exeext'
82305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82306   (eval $ac_try) 2>&5
82307   ac_status=$?
82308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82309   (exit $ac_status); }; }; then
82310   eval "$as_ac_var=yes"
82311 else
82312   echo "$as_me: failed program was:" >&5
82313 sed 's/^/| /' conftest.$ac_ext >&5
82314
82315 eval "$as_ac_var=no"
82316 fi
82317 rm -f conftest.err conftest.$ac_objext \
82318       conftest$ac_exeext conftest.$ac_ext
82319 fi
82320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82322 if test `eval echo '${'$as_ac_var'}'` = yes; then
82323   cat >>confdefs.h <<_ACEOF
82324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82325 _ACEOF
82326
82327 else
82328   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
82329 fi
82330 done
82331
82332
82333           if test x$ac_cv_func_copysignl = x"yes"; then
82334
82335 for ac_func in __signbitl
82336 do
82337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82338 echo "$as_me:$LINENO: checking for $ac_func" >&5
82339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82340 if eval "test \"\${$as_ac_var+set}\" = set"; then
82341   echo $ECHO_N "(cached) $ECHO_C" >&6
82342 else
82343   if test x$gcc_no_link = xyes; then
82344   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82346    { (exit 1); exit 1; }; }
82347 fi
82348 cat >conftest.$ac_ext <<_ACEOF
82349 /* confdefs.h.  */
82350 _ACEOF
82351 cat confdefs.h >>conftest.$ac_ext
82352 cat >>conftest.$ac_ext <<_ACEOF
82353 /* end confdefs.h.  */
82354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82355    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82356 #define $ac_func innocuous_$ac_func
82357
82358 /* System header to define __stub macros and hopefully few prototypes,
82359     which can conflict with char $ac_func (); below.
82360     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82361     <limits.h> exists even on freestanding compilers.  */
82362
82363 #ifdef __STDC__
82364 # include <limits.h>
82365 #else
82366 # include <assert.h>
82367 #endif
82368
82369 #undef $ac_func
82370
82371 /* Override any gcc2 internal prototype to avoid an error.  */
82372 #ifdef __cplusplus
82373 extern "C"
82374 {
82375 #endif
82376 /* We use char because int might match the return type of a gcc2
82377    builtin and then its argument prototype would still apply.  */
82378 char $ac_func ();
82379 /* The GNU C library defines this for functions which it implements
82380     to always fail with ENOSYS.  Some functions are actually named
82381     something starting with __ and the normal name is an alias.  */
82382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82383 choke me
82384 #else
82385 char (*f) () = $ac_func;
82386 #endif
82387 #ifdef __cplusplus
82388 }
82389 #endif
82390
82391 int
82392 main ()
82393 {
82394 return f != $ac_func;
82395   ;
82396   return 0;
82397 }
82398 _ACEOF
82399 rm -f conftest.$ac_objext conftest$ac_exeext
82400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82401   (eval $ac_link) 2>conftest.er1
82402   ac_status=$?
82403   grep -v '^ *+' conftest.er1 >conftest.err
82404   rm -f conftest.er1
82405   cat conftest.err >&5
82406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82407   (exit $ac_status); } &&
82408          { ac_try='test -z "$ac_c_werror_flag"
82409                          || test ! -s conftest.err'
82410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82411   (eval $ac_try) 2>&5
82412   ac_status=$?
82413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82414   (exit $ac_status); }; } &&
82415          { ac_try='test -s conftest$ac_exeext'
82416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82417   (eval $ac_try) 2>&5
82418   ac_status=$?
82419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82420   (exit $ac_status); }; }; then
82421   eval "$as_ac_var=yes"
82422 else
82423   echo "$as_me: failed program was:" >&5
82424 sed 's/^/| /' conftest.$ac_ext >&5
82425
82426 eval "$as_ac_var=no"
82427 fi
82428 rm -f conftest.err conftest.$ac_objext \
82429       conftest$ac_exeext conftest.$ac_ext
82430 fi
82431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82433 if test `eval echo '${'$as_ac_var'}'` = yes; then
82434   cat >>confdefs.h <<_ACEOF
82435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82436 _ACEOF
82437
82438 else
82439   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
82440 fi
82441 done
82442
82443   fi
82444
82445   # Used in libmath/Makefile.am.
82446   if test -n "$LIBMATHOBJS"; then
82447     need_libmath=yes
82448   fi
82449
82450
82451
82452
82453   enable_iconv=no
82454   # Only continue checking if the ISO C99 headers exist and support is on.
82455   if test x"$enable_wchar_t" = xyes; then
82456
82457     # Use iconv for wchar_t to char conversions. As such, check for
82458     # X/Open Portability Guide, version 2 features (XPG2).
82459     if test "${ac_cv_header_iconv_h+set}" = set; then
82460   echo "$as_me:$LINENO: checking for iconv.h" >&5
82461 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82462 if test "${ac_cv_header_iconv_h+set}" = set; then
82463   echo $ECHO_N "(cached) $ECHO_C" >&6
82464 fi
82465 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82466 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82467 else
82468   # Is the header compilable?
82469 echo "$as_me:$LINENO: checking iconv.h usability" >&5
82470 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
82471 cat >conftest.$ac_ext <<_ACEOF
82472 /* confdefs.h.  */
82473 _ACEOF
82474 cat confdefs.h >>conftest.$ac_ext
82475 cat >>conftest.$ac_ext <<_ACEOF
82476 /* end confdefs.h.  */
82477 $ac_includes_default
82478 #include <iconv.h>
82479 _ACEOF
82480 rm -f conftest.$ac_objext
82481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82482   (eval $ac_compile) 2>conftest.er1
82483   ac_status=$?
82484   grep -v '^ *+' conftest.er1 >conftest.err
82485   rm -f conftest.er1
82486   cat conftest.err >&5
82487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82488   (exit $ac_status); } &&
82489          { ac_try='test -z "$ac_c_werror_flag"
82490                          || test ! -s conftest.err'
82491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82492   (eval $ac_try) 2>&5
82493   ac_status=$?
82494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82495   (exit $ac_status); }; } &&
82496          { ac_try='test -s conftest.$ac_objext'
82497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82498   (eval $ac_try) 2>&5
82499   ac_status=$?
82500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82501   (exit $ac_status); }; }; then
82502   ac_header_compiler=yes
82503 else
82504   echo "$as_me: failed program was:" >&5
82505 sed 's/^/| /' conftest.$ac_ext >&5
82506
82507 ac_header_compiler=no
82508 fi
82509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82510 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82511 echo "${ECHO_T}$ac_header_compiler" >&6
82512
82513 # Is the header present?
82514 echo "$as_me:$LINENO: checking iconv.h presence" >&5
82515 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
82516 cat >conftest.$ac_ext <<_ACEOF
82517 /* confdefs.h.  */
82518 _ACEOF
82519 cat confdefs.h >>conftest.$ac_ext
82520 cat >>conftest.$ac_ext <<_ACEOF
82521 /* end confdefs.h.  */
82522 #include <iconv.h>
82523 _ACEOF
82524 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82525   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82526   ac_status=$?
82527   grep -v '^ *+' conftest.er1 >conftest.err
82528   rm -f conftest.er1
82529   cat conftest.err >&5
82530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82531   (exit $ac_status); } >/dev/null; then
82532   if test -s conftest.err; then
82533     ac_cpp_err=$ac_c_preproc_warn_flag
82534     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82535   else
82536     ac_cpp_err=
82537   fi
82538 else
82539   ac_cpp_err=yes
82540 fi
82541 if test -z "$ac_cpp_err"; then
82542   ac_header_preproc=yes
82543 else
82544   echo "$as_me: failed program was:" >&5
82545 sed 's/^/| /' conftest.$ac_ext >&5
82546
82547   ac_header_preproc=no
82548 fi
82549 rm -f conftest.err conftest.$ac_ext
82550 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82551 echo "${ECHO_T}$ac_header_preproc" >&6
82552
82553 # So?  What about this header?
82554 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82555   yes:no: )
82556     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
82557 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82558     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
82559 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
82560     ac_header_preproc=yes
82561     ;;
82562   no:yes:* )
82563     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
82564 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
82565     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
82566 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
82567     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
82568 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
82569     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
82570 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
82571     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
82572 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
82573     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
82574 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
82575     (
82576       cat <<\_ASBOX
82577 ## ----------------------------------------- ##
82578 ## Report this to the package-unused lists.  ##
82579 ## ----------------------------------------- ##
82580 _ASBOX
82581     ) |
82582       sed "s/^/$as_me: WARNING:     /" >&2
82583     ;;
82584 esac
82585 echo "$as_me:$LINENO: checking for iconv.h" >&5
82586 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82587 if test "${ac_cv_header_iconv_h+set}" = set; then
82588   echo $ECHO_N "(cached) $ECHO_C" >&6
82589 else
82590   ac_cv_header_iconv_h=$ac_header_preproc
82591 fi
82592 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82593 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82594
82595 fi
82596 if test $ac_cv_header_iconv_h = yes; then
82597   ac_has_iconv_h=yes
82598 else
82599   ac_has_iconv_h=no
82600 fi
82601
82602
82603     if test "${ac_cv_header_langinfo_h+set}" = set; then
82604   echo "$as_me:$LINENO: checking for langinfo.h" >&5
82605 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82606 if test "${ac_cv_header_langinfo_h+set}" = set; then
82607   echo $ECHO_N "(cached) $ECHO_C" >&6
82608 fi
82609 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82610 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82611 else
82612   # Is the header compilable?
82613 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
82614 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
82615 cat >conftest.$ac_ext <<_ACEOF
82616 /* confdefs.h.  */
82617 _ACEOF
82618 cat confdefs.h >>conftest.$ac_ext
82619 cat >>conftest.$ac_ext <<_ACEOF
82620 /* end confdefs.h.  */
82621 $ac_includes_default
82622 #include <langinfo.h>
82623 _ACEOF
82624 rm -f conftest.$ac_objext
82625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82626   (eval $ac_compile) 2>conftest.er1
82627   ac_status=$?
82628   grep -v '^ *+' conftest.er1 >conftest.err
82629   rm -f conftest.er1
82630   cat conftest.err >&5
82631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82632   (exit $ac_status); } &&
82633          { ac_try='test -z "$ac_c_werror_flag"
82634                          || test ! -s conftest.err'
82635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82636   (eval $ac_try) 2>&5
82637   ac_status=$?
82638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82639   (exit $ac_status); }; } &&
82640          { ac_try='test -s conftest.$ac_objext'
82641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82642   (eval $ac_try) 2>&5
82643   ac_status=$?
82644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82645   (exit $ac_status); }; }; then
82646   ac_header_compiler=yes
82647 else
82648   echo "$as_me: failed program was:" >&5
82649 sed 's/^/| /' conftest.$ac_ext >&5
82650
82651 ac_header_compiler=no
82652 fi
82653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82654 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82655 echo "${ECHO_T}$ac_header_compiler" >&6
82656
82657 # Is the header present?
82658 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
82659 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
82660 cat >conftest.$ac_ext <<_ACEOF
82661 /* confdefs.h.  */
82662 _ACEOF
82663 cat confdefs.h >>conftest.$ac_ext
82664 cat >>conftest.$ac_ext <<_ACEOF
82665 /* end confdefs.h.  */
82666 #include <langinfo.h>
82667 _ACEOF
82668 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82669   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82670   ac_status=$?
82671   grep -v '^ *+' conftest.er1 >conftest.err
82672   rm -f conftest.er1
82673   cat conftest.err >&5
82674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82675   (exit $ac_status); } >/dev/null; then
82676   if test -s conftest.err; then
82677     ac_cpp_err=$ac_c_preproc_warn_flag
82678     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82679   else
82680     ac_cpp_err=
82681   fi
82682 else
82683   ac_cpp_err=yes
82684 fi
82685 if test -z "$ac_cpp_err"; then
82686   ac_header_preproc=yes
82687 else
82688   echo "$as_me: failed program was:" >&5
82689 sed 's/^/| /' conftest.$ac_ext >&5
82690
82691   ac_header_preproc=no
82692 fi
82693 rm -f conftest.err conftest.$ac_ext
82694 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82695 echo "${ECHO_T}$ac_header_preproc" >&6
82696
82697 # So?  What about this header?
82698 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82699   yes:no: )
82700     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
82701 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82702     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
82703 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
82704     ac_header_preproc=yes
82705     ;;
82706   no:yes:* )
82707     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
82708 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
82709     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
82710 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
82711     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
82712 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
82713     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
82714 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
82715     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
82716 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
82717     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
82718 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
82719     (
82720       cat <<\_ASBOX
82721 ## ----------------------------------------- ##
82722 ## Report this to the package-unused lists.  ##
82723 ## ----------------------------------------- ##
82724 _ASBOX
82725     ) |
82726       sed "s/^/$as_me: WARNING:     /" >&2
82727     ;;
82728 esac
82729 echo "$as_me:$LINENO: checking for langinfo.h" >&5
82730 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82731 if test "${ac_cv_header_langinfo_h+set}" = set; then
82732   echo $ECHO_N "(cached) $ECHO_C" >&6
82733 else
82734   ac_cv_header_langinfo_h=$ac_header_preproc
82735 fi
82736 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82737 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82738
82739 fi
82740 if test $ac_cv_header_langinfo_h = yes; then
82741   ac_has_langinfo_h=yes
82742 else
82743   ac_has_langinfo_h=no
82744 fi
82745
82746
82747
82748     # Check for existence of libiconv.a providing XPG2 wchar_t support.
82749     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
82750 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
82751 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
82752   echo $ECHO_N "(cached) $ECHO_C" >&6
82753 else
82754   ac_check_lib_save_LIBS=$LIBS
82755 LIBS="-liconv  $LIBS"
82756 if test x$gcc_no_link = xyes; then
82757   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82759    { (exit 1); exit 1; }; }
82760 fi
82761 cat >conftest.$ac_ext <<_ACEOF
82762 /* confdefs.h.  */
82763 _ACEOF
82764 cat confdefs.h >>conftest.$ac_ext
82765 cat >>conftest.$ac_ext <<_ACEOF
82766 /* end confdefs.h.  */
82767
82768 /* Override any gcc2 internal prototype to avoid an error.  */
82769 #ifdef __cplusplus
82770 extern "C"
82771 #endif
82772 /* We use char because int might match the return type of a gcc2
82773    builtin and then its argument prototype would still apply.  */
82774 char iconv ();
82775 int
82776 main ()
82777 {
82778 iconv ();
82779   ;
82780   return 0;
82781 }
82782 _ACEOF
82783 rm -f conftest.$ac_objext conftest$ac_exeext
82784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82785   (eval $ac_link) 2>conftest.er1
82786   ac_status=$?
82787   grep -v '^ *+' conftest.er1 >conftest.err
82788   rm -f conftest.er1
82789   cat conftest.err >&5
82790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82791   (exit $ac_status); } &&
82792          { ac_try='test -z "$ac_c_werror_flag"
82793                          || test ! -s conftest.err'
82794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82795   (eval $ac_try) 2>&5
82796   ac_status=$?
82797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82798   (exit $ac_status); }; } &&
82799          { ac_try='test -s conftest$ac_exeext'
82800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82801   (eval $ac_try) 2>&5
82802   ac_status=$?
82803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82804   (exit $ac_status); }; }; then
82805   ac_cv_lib_iconv_iconv=yes
82806 else
82807   echo "$as_me: failed program was:" >&5
82808 sed 's/^/| /' conftest.$ac_ext >&5
82809
82810 ac_cv_lib_iconv_iconv=no
82811 fi
82812 rm -f conftest.err conftest.$ac_objext \
82813       conftest$ac_exeext conftest.$ac_ext
82814 LIBS=$ac_check_lib_save_LIBS
82815 fi
82816 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
82817 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
82818 if test $ac_cv_lib_iconv_iconv = yes; then
82819   LIBICONV="-liconv"
82820 fi
82821
82822     ac_save_LIBS="$LIBS"
82823     LIBS="$LIBS $LIBICONV"
82824
82825
82826
82827
82828
82829
82830 for ac_func in iconv_open iconv_close iconv nl_langinfo
82831 do
82832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82833 echo "$as_me:$LINENO: checking for $ac_func" >&5
82834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82835 if eval "test \"\${$as_ac_var+set}\" = set"; then
82836   echo $ECHO_N "(cached) $ECHO_C" >&6
82837 else
82838   if test x$gcc_no_link = xyes; then
82839   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82841    { (exit 1); exit 1; }; }
82842 fi
82843 cat >conftest.$ac_ext <<_ACEOF
82844 /* confdefs.h.  */
82845 _ACEOF
82846 cat confdefs.h >>conftest.$ac_ext
82847 cat >>conftest.$ac_ext <<_ACEOF
82848 /* end confdefs.h.  */
82849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82850    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82851 #define $ac_func innocuous_$ac_func
82852
82853 /* System header to define __stub macros and hopefully few prototypes,
82854     which can conflict with char $ac_func (); below.
82855     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82856     <limits.h> exists even on freestanding compilers.  */
82857
82858 #ifdef __STDC__
82859 # include <limits.h>
82860 #else
82861 # include <assert.h>
82862 #endif
82863
82864 #undef $ac_func
82865
82866 /* Override any gcc2 internal prototype to avoid an error.  */
82867 #ifdef __cplusplus
82868 extern "C"
82869 {
82870 #endif
82871 /* We use char because int might match the return type of a gcc2
82872    builtin and then its argument prototype would still apply.  */
82873 char $ac_func ();
82874 /* The GNU C library defines this for functions which it implements
82875     to always fail with ENOSYS.  Some functions are actually named
82876     something starting with __ and the normal name is an alias.  */
82877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82878 choke me
82879 #else
82880 char (*f) () = $ac_func;
82881 #endif
82882 #ifdef __cplusplus
82883 }
82884 #endif
82885
82886 int
82887 main ()
82888 {
82889 return f != $ac_func;
82890   ;
82891   return 0;
82892 }
82893 _ACEOF
82894 rm -f conftest.$ac_objext conftest$ac_exeext
82895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82896   (eval $ac_link) 2>conftest.er1
82897   ac_status=$?
82898   grep -v '^ *+' conftest.er1 >conftest.err
82899   rm -f conftest.er1
82900   cat conftest.err >&5
82901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82902   (exit $ac_status); } &&
82903          { ac_try='test -z "$ac_c_werror_flag"
82904                          || test ! -s conftest.err'
82905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82906   (eval $ac_try) 2>&5
82907   ac_status=$?
82908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82909   (exit $ac_status); }; } &&
82910          { ac_try='test -s conftest$ac_exeext'
82911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82912   (eval $ac_try) 2>&5
82913   ac_status=$?
82914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82915   (exit $ac_status); }; }; then
82916   eval "$as_ac_var=yes"
82917 else
82918   echo "$as_me: failed program was:" >&5
82919 sed 's/^/| /' conftest.$ac_ext >&5
82920
82921 eval "$as_ac_var=no"
82922 fi
82923 rm -f conftest.err conftest.$ac_objext \
82924       conftest$ac_exeext conftest.$ac_ext
82925 fi
82926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82928 if test `eval echo '${'$as_ac_var'}'` = yes; then
82929   cat >>confdefs.h <<_ACEOF
82930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82931 _ACEOF
82932  ac_XPG2funcs=yes
82933 else
82934   ac_XPG2funcs=no
82935 fi
82936 done
82937
82938
82939     LIBS="$ac_save_LIBS"
82940
82941     if test x"$ac_has_iconv_h" = xyes &&
82942        test x"$ac_has_langinfo_h" = xyes &&
82943        test x"$ac_XPG2funcs" = xyes;
82944     then
82945
82946 cat >>confdefs.h <<\_ACEOF
82947 #define _GLIBCXX_USE_ICONV 1
82948 _ACEOF
82949
82950       enable_iconv=yes
82951     fi
82952   fi
82953   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
82954 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
82955   echo "$as_me:$LINENO: result: $enable_iconv" >&5
82956 echo "${ECHO_T}$enable_iconv" >&6
82957
82958
82959     # For showmanyc_helper().
82960
82961
82962 for ac_header in sys/ioctl.h sys/filio.h
82963 do
82964 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82966   echo "$as_me:$LINENO: checking for $ac_header" >&5
82967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82969   echo $ECHO_N "(cached) $ECHO_C" >&6
82970 fi
82971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82972 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82973 else
82974   # Is the header compilable?
82975 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82976 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82977 cat >conftest.$ac_ext <<_ACEOF
82978 /* confdefs.h.  */
82979 _ACEOF
82980 cat confdefs.h >>conftest.$ac_ext
82981 cat >>conftest.$ac_ext <<_ACEOF
82982 /* end confdefs.h.  */
82983 $ac_includes_default
82984 #include <$ac_header>
82985 _ACEOF
82986 rm -f conftest.$ac_objext
82987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82988   (eval $ac_compile) 2>conftest.er1
82989   ac_status=$?
82990   grep -v '^ *+' conftest.er1 >conftest.err
82991   rm -f conftest.er1
82992   cat conftest.err >&5
82993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82994   (exit $ac_status); } &&
82995          { ac_try='test -z "$ac_c_werror_flag"
82996                          || test ! -s conftest.err'
82997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82998   (eval $ac_try) 2>&5
82999   ac_status=$?
83000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83001   (exit $ac_status); }; } &&
83002          { ac_try='test -s conftest.$ac_objext'
83003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83004   (eval $ac_try) 2>&5
83005   ac_status=$?
83006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83007   (exit $ac_status); }; }; then
83008   ac_header_compiler=yes
83009 else
83010   echo "$as_me: failed program was:" >&5
83011 sed 's/^/| /' conftest.$ac_ext >&5
83012
83013 ac_header_compiler=no
83014 fi
83015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83016 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83017 echo "${ECHO_T}$ac_header_compiler" >&6
83018
83019 # Is the header present?
83020 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83021 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83022 cat >conftest.$ac_ext <<_ACEOF
83023 /* confdefs.h.  */
83024 _ACEOF
83025 cat confdefs.h >>conftest.$ac_ext
83026 cat >>conftest.$ac_ext <<_ACEOF
83027 /* end confdefs.h.  */
83028 #include <$ac_header>
83029 _ACEOF
83030 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83031   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83032   ac_status=$?
83033   grep -v '^ *+' conftest.er1 >conftest.err
83034   rm -f conftest.er1
83035   cat conftest.err >&5
83036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83037   (exit $ac_status); } >/dev/null; then
83038   if test -s conftest.err; then
83039     ac_cpp_err=$ac_c_preproc_warn_flag
83040     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83041   else
83042     ac_cpp_err=
83043   fi
83044 else
83045   ac_cpp_err=yes
83046 fi
83047 if test -z "$ac_cpp_err"; then
83048   ac_header_preproc=yes
83049 else
83050   echo "$as_me: failed program was:" >&5
83051 sed 's/^/| /' conftest.$ac_ext >&5
83052
83053   ac_header_preproc=no
83054 fi
83055 rm -f conftest.err conftest.$ac_ext
83056 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83057 echo "${ECHO_T}$ac_header_preproc" >&6
83058
83059 # So?  What about this header?
83060 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83061   yes:no: )
83062     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83063 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83064     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83065 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83066     ac_header_preproc=yes
83067     ;;
83068   no:yes:* )
83069     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83070 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83071     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
83072 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
83073     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83074 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83075     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
83076 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
83077     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83078 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83079     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83080 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83081     (
83082       cat <<\_ASBOX
83083 ## ----------------------------------------- ##
83084 ## Report this to the package-unused lists.  ##
83085 ## ----------------------------------------- ##
83086 _ASBOX
83087     ) |
83088       sed "s/^/$as_me: WARNING:     /" >&2
83089     ;;
83090 esac
83091 echo "$as_me:$LINENO: checking for $ac_header" >&5
83092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83094   echo $ECHO_N "(cached) $ECHO_C" >&6
83095 else
83096   eval "$as_ac_Header=\$ac_header_preproc"
83097 fi
83098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83100
83101 fi
83102 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83103   cat >>confdefs.h <<_ACEOF
83104 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83105 _ACEOF
83106
83107 fi
83108
83109 done
83110
83111
83112   echo "$as_me:$LINENO: checking for poll" >&5
83113 echo $ECHO_N "checking for poll... $ECHO_C" >&6
83114   if test "${glibcxx_cv_POLL+set}" = set; then
83115   echo $ECHO_N "(cached) $ECHO_C" >&6
83116 else
83117
83118     if test x$gcc_no_link = xyes; then
83119   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83121    { (exit 1); exit 1; }; }
83122 fi
83123 cat >conftest.$ac_ext <<_ACEOF
83124 /* confdefs.h.  */
83125 _ACEOF
83126 cat confdefs.h >>conftest.$ac_ext
83127 cat >>conftest.$ac_ext <<_ACEOF
83128 /* end confdefs.h.  */
83129 #include <poll.h>
83130 int
83131 main ()
83132 {
83133 struct pollfd pfd[1];
83134        pfd[0].events = POLLIN;
83135        poll(pfd, 1, 0);
83136   ;
83137   return 0;
83138 }
83139 _ACEOF
83140 rm -f conftest.$ac_objext conftest$ac_exeext
83141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83142   (eval $ac_link) 2>conftest.er1
83143   ac_status=$?
83144   grep -v '^ *+' conftest.er1 >conftest.err
83145   rm -f conftest.er1
83146   cat conftest.err >&5
83147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83148   (exit $ac_status); } &&
83149          { ac_try='test -z "$ac_c_werror_flag"
83150                          || test ! -s conftest.err'
83151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83152   (eval $ac_try) 2>&5
83153   ac_status=$?
83154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83155   (exit $ac_status); }; } &&
83156          { ac_try='test -s conftest$ac_exeext'
83157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83158   (eval $ac_try) 2>&5
83159   ac_status=$?
83160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83161   (exit $ac_status); }; }; then
83162   glibcxx_cv_POLL=yes
83163 else
83164   echo "$as_me: failed program was:" >&5
83165 sed 's/^/| /' conftest.$ac_ext >&5
83166
83167 glibcxx_cv_POLL=no
83168 fi
83169 rm -f conftest.err conftest.$ac_objext \
83170       conftest$ac_exeext conftest.$ac_ext
83171
83172 fi
83173
83174   if test $glibcxx_cv_POLL = yes; then
83175
83176 cat >>confdefs.h <<\_ACEOF
83177 #define HAVE_POLL 1
83178 _ACEOF
83179
83180   fi
83181   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
83182 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
83183
83184
83185   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
83186 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
83187   if test "${glibcxx_cv_S_ISREG+set}" = set; then
83188   echo $ECHO_N "(cached) $ECHO_C" >&6
83189 else
83190
83191     if test x$gcc_no_link = xyes; then
83192   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83194    { (exit 1); exit 1; }; }
83195 fi
83196 cat >conftest.$ac_ext <<_ACEOF
83197 /* confdefs.h.  */
83198 _ACEOF
83199 cat confdefs.h >>conftest.$ac_ext
83200 cat >>conftest.$ac_ext <<_ACEOF
83201 /* end confdefs.h.  */
83202 #include <sys/stat.h>
83203 int
83204 main ()
83205 {
83206 struct stat buffer;
83207        fstat(0, &buffer);
83208        S_ISREG(buffer.st_mode);
83209   ;
83210   return 0;
83211 }
83212 _ACEOF
83213 rm -f conftest.$ac_objext conftest$ac_exeext
83214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83215   (eval $ac_link) 2>conftest.er1
83216   ac_status=$?
83217   grep -v '^ *+' conftest.er1 >conftest.err
83218   rm -f conftest.er1
83219   cat conftest.err >&5
83220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83221   (exit $ac_status); } &&
83222          { ac_try='test -z "$ac_c_werror_flag"
83223                          || test ! -s conftest.err'
83224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83225   (eval $ac_try) 2>&5
83226   ac_status=$?
83227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83228   (exit $ac_status); }; } &&
83229          { ac_try='test -s conftest$ac_exeext'
83230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83231   (eval $ac_try) 2>&5
83232   ac_status=$?
83233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83234   (exit $ac_status); }; }; then
83235   glibcxx_cv_S_ISREG=yes
83236 else
83237   echo "$as_me: failed program was:" >&5
83238 sed 's/^/| /' conftest.$ac_ext >&5
83239
83240 glibcxx_cv_S_ISREG=no
83241 fi
83242 rm -f conftest.err conftest.$ac_objext \
83243       conftest$ac_exeext conftest.$ac_ext
83244
83245 fi
83246
83247   if test "${glibcxx_cv_S_IFREG+set}" = set; then
83248   echo $ECHO_N "(cached) $ECHO_C" >&6
83249 else
83250
83251     if test x$gcc_no_link = xyes; then
83252   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83254    { (exit 1); exit 1; }; }
83255 fi
83256 cat >conftest.$ac_ext <<_ACEOF
83257 /* confdefs.h.  */
83258 _ACEOF
83259 cat confdefs.h >>conftest.$ac_ext
83260 cat >>conftest.$ac_ext <<_ACEOF
83261 /* end confdefs.h.  */
83262 #include <sys/stat.h>
83263 int
83264 main ()
83265 {
83266 struct stat buffer;
83267        fstat(0, &buffer);
83268        S_IFREG & buffer.st_mode;
83269   ;
83270   return 0;
83271 }
83272 _ACEOF
83273 rm -f conftest.$ac_objext conftest$ac_exeext
83274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83275   (eval $ac_link) 2>conftest.er1
83276   ac_status=$?
83277   grep -v '^ *+' conftest.er1 >conftest.err
83278   rm -f conftest.er1
83279   cat conftest.err >&5
83280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83281   (exit $ac_status); } &&
83282          { ac_try='test -z "$ac_c_werror_flag"
83283                          || test ! -s conftest.err'
83284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83285   (eval $ac_try) 2>&5
83286   ac_status=$?
83287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83288   (exit $ac_status); }; } &&
83289          { ac_try='test -s conftest$ac_exeext'
83290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83291   (eval $ac_try) 2>&5
83292   ac_status=$?
83293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83294   (exit $ac_status); }; }; then
83295   glibcxx_cv_S_IFREG=yes
83296 else
83297   echo "$as_me: failed program was:" >&5
83298 sed 's/^/| /' conftest.$ac_ext >&5
83299
83300 glibcxx_cv_S_IFREG=no
83301 fi
83302 rm -f conftest.err conftest.$ac_objext \
83303       conftest$ac_exeext conftest.$ac_ext
83304
83305 fi
83306
83307   res=no
83308   if test $glibcxx_cv_S_ISREG = yes; then
83309
83310 cat >>confdefs.h <<\_ACEOF
83311 #define HAVE_S_ISREG 1
83312 _ACEOF
83313
83314     res=S_ISREG
83315   elif test $glibcxx_cv_S_IFREG = yes; then
83316
83317 cat >>confdefs.h <<\_ACEOF
83318 #define HAVE_S_IFREG 1
83319 _ACEOF
83320
83321     res=S_IFREG
83322   fi
83323   echo "$as_me:$LINENO: result: $res" >&5
83324 echo "${ECHO_T}$res" >&6
83325
83326
83327     # For xsputn_2().
83328
83329 for ac_header in sys/uio.h
83330 do
83331 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83333   echo "$as_me:$LINENO: checking for $ac_header" >&5
83334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83336   echo $ECHO_N "(cached) $ECHO_C" >&6
83337 fi
83338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83340 else
83341   # Is the header compilable?
83342 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83343 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83344 cat >conftest.$ac_ext <<_ACEOF
83345 /* confdefs.h.  */
83346 _ACEOF
83347 cat confdefs.h >>conftest.$ac_ext
83348 cat >>conftest.$ac_ext <<_ACEOF
83349 /* end confdefs.h.  */
83350 $ac_includes_default
83351 #include <$ac_header>
83352 _ACEOF
83353 rm -f conftest.$ac_objext
83354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83355   (eval $ac_compile) 2>conftest.er1
83356   ac_status=$?
83357   grep -v '^ *+' conftest.er1 >conftest.err
83358   rm -f conftest.er1
83359   cat conftest.err >&5
83360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83361   (exit $ac_status); } &&
83362          { ac_try='test -z "$ac_c_werror_flag"
83363                          || test ! -s conftest.err'
83364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83365   (eval $ac_try) 2>&5
83366   ac_status=$?
83367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83368   (exit $ac_status); }; } &&
83369          { ac_try='test -s conftest.$ac_objext'
83370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83371   (eval $ac_try) 2>&5
83372   ac_status=$?
83373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83374   (exit $ac_status); }; }; then
83375   ac_header_compiler=yes
83376 else
83377   echo "$as_me: failed program was:" >&5
83378 sed 's/^/| /' conftest.$ac_ext >&5
83379
83380 ac_header_compiler=no
83381 fi
83382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83383 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83384 echo "${ECHO_T}$ac_header_compiler" >&6
83385
83386 # Is the header present?
83387 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83388 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83389 cat >conftest.$ac_ext <<_ACEOF
83390 /* confdefs.h.  */
83391 _ACEOF
83392 cat confdefs.h >>conftest.$ac_ext
83393 cat >>conftest.$ac_ext <<_ACEOF
83394 /* end confdefs.h.  */
83395 #include <$ac_header>
83396 _ACEOF
83397 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83398   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83399   ac_status=$?
83400   grep -v '^ *+' conftest.er1 >conftest.err
83401   rm -f conftest.er1
83402   cat conftest.err >&5
83403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83404   (exit $ac_status); } >/dev/null; then
83405   if test -s conftest.err; then
83406     ac_cpp_err=$ac_c_preproc_warn_flag
83407     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83408   else
83409     ac_cpp_err=
83410   fi
83411 else
83412   ac_cpp_err=yes
83413 fi
83414 if test -z "$ac_cpp_err"; then
83415   ac_header_preproc=yes
83416 else
83417   echo "$as_me: failed program was:" >&5
83418 sed 's/^/| /' conftest.$ac_ext >&5
83419
83420   ac_header_preproc=no
83421 fi
83422 rm -f conftest.err conftest.$ac_ext
83423 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83424 echo "${ECHO_T}$ac_header_preproc" >&6
83425
83426 # So?  What about this header?
83427 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83428   yes:no: )
83429     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83430 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83431     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83432 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83433     ac_header_preproc=yes
83434     ;;
83435   no:yes:* )
83436     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83437 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83438     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
83439 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
83440     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83441 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83442     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
83443 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
83444     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83445 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83446     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83447 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83448     (
83449       cat <<\_ASBOX
83450 ## ----------------------------------------- ##
83451 ## Report this to the package-unused lists.  ##
83452 ## ----------------------------------------- ##
83453 _ASBOX
83454     ) |
83455       sed "s/^/$as_me: WARNING:     /" >&2
83456     ;;
83457 esac
83458 echo "$as_me:$LINENO: checking for $ac_header" >&5
83459 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83461   echo $ECHO_N "(cached) $ECHO_C" >&6
83462 else
83463   eval "$as_ac_Header=\$ac_header_preproc"
83464 fi
83465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83466 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83467
83468 fi
83469 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83470   cat >>confdefs.h <<_ACEOF
83471 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83472 _ACEOF
83473
83474 fi
83475
83476 done
83477
83478
83479   echo "$as_me:$LINENO: checking for writev" >&5
83480 echo $ECHO_N "checking for writev... $ECHO_C" >&6
83481   if test "${glibcxx_cv_WRITEV+set}" = set; then
83482   echo $ECHO_N "(cached) $ECHO_C" >&6
83483 else
83484
83485     if test x$gcc_no_link = xyes; then
83486   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83488    { (exit 1); exit 1; }; }
83489 fi
83490 cat >conftest.$ac_ext <<_ACEOF
83491 /* confdefs.h.  */
83492 _ACEOF
83493 cat confdefs.h >>conftest.$ac_ext
83494 cat >>conftest.$ac_ext <<_ACEOF
83495 /* end confdefs.h.  */
83496 #include <sys/uio.h>
83497 int
83498 main ()
83499 {
83500 struct iovec iov[2];
83501        writev(0, iov, 0);
83502   ;
83503   return 0;
83504 }
83505 _ACEOF
83506 rm -f conftest.$ac_objext conftest$ac_exeext
83507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83508   (eval $ac_link) 2>conftest.er1
83509   ac_status=$?
83510   grep -v '^ *+' conftest.er1 >conftest.err
83511   rm -f conftest.er1
83512   cat conftest.err >&5
83513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83514   (exit $ac_status); } &&
83515          { ac_try='test -z "$ac_c_werror_flag"
83516                          || test ! -s conftest.err'
83517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83518   (eval $ac_try) 2>&5
83519   ac_status=$?
83520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83521   (exit $ac_status); }; } &&
83522          { ac_try='test -s conftest$ac_exeext'
83523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83524   (eval $ac_try) 2>&5
83525   ac_status=$?
83526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83527   (exit $ac_status); }; }; then
83528   glibcxx_cv_WRITEV=yes
83529 else
83530   echo "$as_me: failed program was:" >&5
83531 sed 's/^/| /' conftest.$ac_ext >&5
83532
83533 glibcxx_cv_WRITEV=no
83534 fi
83535 rm -f conftest.err conftest.$ac_objext \
83536       conftest$ac_exeext conftest.$ac_ext
83537
83538 fi
83539
83540   if test $glibcxx_cv_WRITEV = yes; then
83541
83542 cat >>confdefs.h <<\_ACEOF
83543 #define HAVE_WRITEV 1
83544 _ACEOF
83545
83546   fi
83547   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
83548 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
83549
83550     ;;
83551   *-qnx6.1* | *-qnx6.2*)
83552     SECTION_FLAGS='-ffunction-sections -fdata-sections'
83553
83554
83555   # If we're not using GNU ld, then there's no point in even trying these
83556   # tests.  Check for that first.  We should have already tested for gld
83557   # by now (in libtool), but require it now just to be safe...
83558   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
83559   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
83560
83561
83562
83563   # The name set by libtool depends on the version of libtool.  Shame on us
83564   # for depending on an impl detail, but c'est la vie.  Older versions used
83565   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
83566   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
83567   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
83568   # set (hence we're using an older libtool), then set it.
83569   if test x${with_gnu_ld+set} != xset; then
83570     if test x${ac_cv_prog_gnu_ld+set} != xset; then
83571       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
83572       with_gnu_ld=no
83573     else
83574       with_gnu_ld=$ac_cv_prog_gnu_ld
83575     fi
83576   fi
83577
83578   # Start by getting the version number.  I think the libtool test already
83579   # does some of this, but throws away the result.
83580
83581   ldver=`$LD --version 2>/dev/null | head -1 | \
83582          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
83583
83584   glibcxx_gnu_ld_version=`echo $ldver | \
83585          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
83586
83587   # Set --gc-sections.
83588   if test "$with_gnu_ld" = "notbroken"; then
83589     # GNU ld it is!  Joy and bunny rabbits!
83590
83591     # All these tests are for C++; save the language and the compiler flags.
83592     # Need to do this so that g++ won't try to link in libstdc++
83593     ac_test_CFLAGS="${CFLAGS+set}"
83594     ac_save_CFLAGS="$CFLAGS"
83595     CFLAGS='-x c++  -Wl,--gc-sections'
83596
83597     # Check for -Wl,--gc-sections
83598     # XXX This test is broken at the moment, as symbols required for linking
83599     # are now in libsupc++ (not built yet).  In addition, this test has
83600     # cored on solaris in the past.  In addition, --gc-sections doesn't
83601     # really work at the moment (keeps on discarding used sections, first
83602     # .eh_frame and now some of the glibc sections for iconv).
83603     # Bzzzzt.  Thanks for playing, maybe next time.
83604     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
83605 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
83606     if test "$cross_compiling" = yes; then
83607   ac_sectionLDflags=yes
83608 else
83609   cat >conftest.$ac_ext <<_ACEOF
83610 /* confdefs.h.  */
83611 _ACEOF
83612 cat confdefs.h >>conftest.$ac_ext
83613 cat >>conftest.$ac_ext <<_ACEOF
83614 /* end confdefs.h.  */
83615
83616      int main(void)
83617      {
83618        try { throw 1; }
83619        catch (...) { };
83620        return 0;
83621      }
83622
83623 _ACEOF
83624 rm -f conftest$ac_exeext
83625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83626   (eval $ac_link) 2>&5
83627   ac_status=$?
83628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83629   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
83630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83631   (eval $ac_try) 2>&5
83632   ac_status=$?
83633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83634   (exit $ac_status); }; }; then
83635   ac_sectionLDflags=yes
83636 else
83637   echo "$as_me: program exited with status $ac_status" >&5
83638 echo "$as_me: failed program was:" >&5
83639 sed 's/^/| /' conftest.$ac_ext >&5
83640
83641 ( exit $ac_status )
83642 ac_sectionLDflags=no
83643 fi
83644 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
83645 fi
83646     if test "$ac_test_CFLAGS" = set; then
83647       CFLAGS="$ac_save_CFLAGS"
83648     else
83649       # this is the suspicious part
83650       CFLAGS=''
83651     fi
83652     if test "$ac_sectionLDflags" = "yes"; then
83653       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
83654     fi
83655     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
83656 echo "${ECHO_T}$ac_sectionLDflags" >&6
83657   fi
83658
83659   # Set linker optimization flags.
83660   if test x"$with_gnu_ld" = x"yes"; then
83661     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
83662   fi
83663
83664
83665
83666
83667
83668
83669 echo "$as_me:$LINENO: checking for main in -lm" >&5
83670 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
83671 if test "${ac_cv_lib_m_main+set}" = set; then
83672   echo $ECHO_N "(cached) $ECHO_C" >&6
83673 else
83674   ac_check_lib_save_LIBS=$LIBS
83675 LIBS="-lm  $LIBS"
83676 if test x$gcc_no_link = xyes; then
83677   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83679    { (exit 1); exit 1; }; }
83680 fi
83681 cat >conftest.$ac_ext <<_ACEOF
83682 /* confdefs.h.  */
83683 _ACEOF
83684 cat confdefs.h >>conftest.$ac_ext
83685 cat >>conftest.$ac_ext <<_ACEOF
83686 /* end confdefs.h.  */
83687
83688
83689 int
83690 main ()
83691 {
83692 main ();
83693   ;
83694   return 0;
83695 }
83696 _ACEOF
83697 rm -f conftest.$ac_objext conftest$ac_exeext
83698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83699   (eval $ac_link) 2>conftest.er1
83700   ac_status=$?
83701   grep -v '^ *+' conftest.er1 >conftest.err
83702   rm -f conftest.er1
83703   cat conftest.err >&5
83704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83705   (exit $ac_status); } &&
83706          { ac_try='test -z "$ac_c_werror_flag"
83707                          || test ! -s conftest.err'
83708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83709   (eval $ac_try) 2>&5
83710   ac_status=$?
83711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83712   (exit $ac_status); }; } &&
83713          { ac_try='test -s conftest$ac_exeext'
83714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83715   (eval $ac_try) 2>&5
83716   ac_status=$?
83717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83718   (exit $ac_status); }; }; then
83719   ac_cv_lib_m_main=yes
83720 else
83721   echo "$as_me: failed program was:" >&5
83722 sed 's/^/| /' conftest.$ac_ext >&5
83723
83724 ac_cv_lib_m_main=no
83725 fi
83726 rm -f conftest.err conftest.$ac_objext \
83727       conftest$ac_exeext conftest.$ac_ext
83728 LIBS=$ac_check_lib_save_LIBS
83729 fi
83730 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83731 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83732 if test $ac_cv_lib_m_main = yes; then
83733   cat >>confdefs.h <<_ACEOF
83734 #define HAVE_LIBM 1
83735 _ACEOF
83736
83737   LIBS="-lm $LIBS"
83738
83739 fi
83740
83741
83742 for ac_func in copysignf
83743 do
83744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83745 echo "$as_me:$LINENO: checking for $ac_func" >&5
83746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83747 if eval "test \"\${$as_ac_var+set}\" = set"; then
83748   echo $ECHO_N "(cached) $ECHO_C" >&6
83749 else
83750   if test x$gcc_no_link = xyes; then
83751   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83753    { (exit 1); exit 1; }; }
83754 fi
83755 cat >conftest.$ac_ext <<_ACEOF
83756 /* confdefs.h.  */
83757 _ACEOF
83758 cat confdefs.h >>conftest.$ac_ext
83759 cat >>conftest.$ac_ext <<_ACEOF
83760 /* end confdefs.h.  */
83761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83762    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83763 #define $ac_func innocuous_$ac_func
83764
83765 /* System header to define __stub macros and hopefully few prototypes,
83766     which can conflict with char $ac_func (); below.
83767     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83768     <limits.h> exists even on freestanding compilers.  */
83769
83770 #ifdef __STDC__
83771 # include <limits.h>
83772 #else
83773 # include <assert.h>
83774 #endif
83775
83776 #undef $ac_func
83777
83778 /* Override any gcc2 internal prototype to avoid an error.  */
83779 #ifdef __cplusplus
83780 extern "C"
83781 {
83782 #endif
83783 /* We use char because int might match the return type of a gcc2
83784    builtin and then its argument prototype would still apply.  */
83785 char $ac_func ();
83786 /* The GNU C library defines this for functions which it implements
83787     to always fail with ENOSYS.  Some functions are actually named
83788     something starting with __ and the normal name is an alias.  */
83789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83790 choke me
83791 #else
83792 char (*f) () = $ac_func;
83793 #endif
83794 #ifdef __cplusplus
83795 }
83796 #endif
83797
83798 int
83799 main ()
83800 {
83801 return f != $ac_func;
83802   ;
83803   return 0;
83804 }
83805 _ACEOF
83806 rm -f conftest.$ac_objext conftest$ac_exeext
83807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83808   (eval $ac_link) 2>conftest.er1
83809   ac_status=$?
83810   grep -v '^ *+' conftest.er1 >conftest.err
83811   rm -f conftest.er1
83812   cat conftest.err >&5
83813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83814   (exit $ac_status); } &&
83815          { ac_try='test -z "$ac_c_werror_flag"
83816                          || test ! -s conftest.err'
83817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83818   (eval $ac_try) 2>&5
83819   ac_status=$?
83820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83821   (exit $ac_status); }; } &&
83822          { ac_try='test -s conftest$ac_exeext'
83823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83824   (eval $ac_try) 2>&5
83825   ac_status=$?
83826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83827   (exit $ac_status); }; }; then
83828   eval "$as_ac_var=yes"
83829 else
83830   echo "$as_me: failed program was:" >&5
83831 sed 's/^/| /' conftest.$ac_ext >&5
83832
83833 eval "$as_ac_var=no"
83834 fi
83835 rm -f conftest.err conftest.$ac_objext \
83836       conftest$ac_exeext conftest.$ac_ext
83837 fi
83838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83840 if test `eval echo '${'$as_ac_var'}'` = yes; then
83841   cat >>confdefs.h <<_ACEOF
83842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83843 _ACEOF
83844
83845 else
83846   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83847 fi
83848 done
83849
83850
83851
83852 for ac_func in __signbit
83853 do
83854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83855 echo "$as_me:$LINENO: checking for $ac_func" >&5
83856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83857 if eval "test \"\${$as_ac_var+set}\" = set"; then
83858   echo $ECHO_N "(cached) $ECHO_C" >&6
83859 else
83860   if test x$gcc_no_link = xyes; then
83861   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83863    { (exit 1); exit 1; }; }
83864 fi
83865 cat >conftest.$ac_ext <<_ACEOF
83866 /* confdefs.h.  */
83867 _ACEOF
83868 cat confdefs.h >>conftest.$ac_ext
83869 cat >>conftest.$ac_ext <<_ACEOF
83870 /* end confdefs.h.  */
83871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83872    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83873 #define $ac_func innocuous_$ac_func
83874
83875 /* System header to define __stub macros and hopefully few prototypes,
83876     which can conflict with char $ac_func (); below.
83877     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83878     <limits.h> exists even on freestanding compilers.  */
83879
83880 #ifdef __STDC__
83881 # include <limits.h>
83882 #else
83883 # include <assert.h>
83884 #endif
83885
83886 #undef $ac_func
83887
83888 /* Override any gcc2 internal prototype to avoid an error.  */
83889 #ifdef __cplusplus
83890 extern "C"
83891 {
83892 #endif
83893 /* We use char because int might match the return type of a gcc2
83894    builtin and then its argument prototype would still apply.  */
83895 char $ac_func ();
83896 /* The GNU C library defines this for functions which it implements
83897     to always fail with ENOSYS.  Some functions are actually named
83898     something starting with __ and the normal name is an alias.  */
83899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83900 choke me
83901 #else
83902 char (*f) () = $ac_func;
83903 #endif
83904 #ifdef __cplusplus
83905 }
83906 #endif
83907
83908 int
83909 main ()
83910 {
83911 return f != $ac_func;
83912   ;
83913   return 0;
83914 }
83915 _ACEOF
83916 rm -f conftest.$ac_objext conftest$ac_exeext
83917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83918   (eval $ac_link) 2>conftest.er1
83919   ac_status=$?
83920   grep -v '^ *+' conftest.er1 >conftest.err
83921   rm -f conftest.er1
83922   cat conftest.err >&5
83923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83924   (exit $ac_status); } &&
83925          { ac_try='test -z "$ac_c_werror_flag"
83926                          || test ! -s conftest.err'
83927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83928   (eval $ac_try) 2>&5
83929   ac_status=$?
83930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83931   (exit $ac_status); }; } &&
83932          { ac_try='test -s conftest$ac_exeext'
83933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83934   (eval $ac_try) 2>&5
83935   ac_status=$?
83936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83937   (exit $ac_status); }; }; then
83938   eval "$as_ac_var=yes"
83939 else
83940   echo "$as_me: failed program was:" >&5
83941 sed 's/^/| /' conftest.$ac_ext >&5
83942
83943 eval "$as_ac_var=no"
83944 fi
83945 rm -f conftest.err conftest.$ac_objext \
83946       conftest$ac_exeext conftest.$ac_ext
83947 fi
83948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83950 if test `eval echo '${'$as_ac_var'}'` = yes; then
83951   cat >>confdefs.h <<_ACEOF
83952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83953 _ACEOF
83954
83955 else
83956   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83957 fi
83958 done
83959
83960
83961
83962 for ac_func in __signbitf
83963 do
83964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83965 echo "$as_me:$LINENO: checking for $ac_func" >&5
83966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83967 if eval "test \"\${$as_ac_var+set}\" = set"; then
83968   echo $ECHO_N "(cached) $ECHO_C" >&6
83969 else
83970   if test x$gcc_no_link = xyes; then
83971   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83973    { (exit 1); exit 1; }; }
83974 fi
83975 cat >conftest.$ac_ext <<_ACEOF
83976 /* confdefs.h.  */
83977 _ACEOF
83978 cat confdefs.h >>conftest.$ac_ext
83979 cat >>conftest.$ac_ext <<_ACEOF
83980 /* end confdefs.h.  */
83981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83982    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83983 #define $ac_func innocuous_$ac_func
83984
83985 /* System header to define __stub macros and hopefully few prototypes,
83986     which can conflict with char $ac_func (); below.
83987     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83988     <limits.h> exists even on freestanding compilers.  */
83989
83990 #ifdef __STDC__
83991 # include <limits.h>
83992 #else
83993 # include <assert.h>
83994 #endif
83995
83996 #undef $ac_func
83997
83998 /* Override any gcc2 internal prototype to avoid an error.  */
83999 #ifdef __cplusplus
84000 extern "C"
84001 {
84002 #endif
84003 /* We use char because int might match the return type of a gcc2
84004    builtin and then its argument prototype would still apply.  */
84005 char $ac_func ();
84006 /* The GNU C library defines this for functions which it implements
84007     to always fail with ENOSYS.  Some functions are actually named
84008     something starting with __ and the normal name is an alias.  */
84009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84010 choke me
84011 #else
84012 char (*f) () = $ac_func;
84013 #endif
84014 #ifdef __cplusplus
84015 }
84016 #endif
84017
84018 int
84019 main ()
84020 {
84021 return f != $ac_func;
84022   ;
84023   return 0;
84024 }
84025 _ACEOF
84026 rm -f conftest.$ac_objext conftest$ac_exeext
84027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84028   (eval $ac_link) 2>conftest.er1
84029   ac_status=$?
84030   grep -v '^ *+' conftest.er1 >conftest.err
84031   rm -f conftest.er1
84032   cat conftest.err >&5
84033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84034   (exit $ac_status); } &&
84035          { ac_try='test -z "$ac_c_werror_flag"
84036                          || test ! -s conftest.err'
84037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84038   (eval $ac_try) 2>&5
84039   ac_status=$?
84040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84041   (exit $ac_status); }; } &&
84042          { ac_try='test -s conftest$ac_exeext'
84043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84044   (eval $ac_try) 2>&5
84045   ac_status=$?
84046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84047   (exit $ac_status); }; }; then
84048   eval "$as_ac_var=yes"
84049 else
84050   echo "$as_me: failed program was:" >&5
84051 sed 's/^/| /' conftest.$ac_ext >&5
84052
84053 eval "$as_ac_var=no"
84054 fi
84055 rm -f conftest.err conftest.$ac_objext \
84056       conftest$ac_exeext conftest.$ac_ext
84057 fi
84058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84060 if test `eval echo '${'$as_ac_var'}'` = yes; then
84061   cat >>confdefs.h <<_ACEOF
84062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84063 _ACEOF
84064
84065 else
84066   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
84067 fi
84068 done
84069
84070
84071           if test x$ac_cv_func_copysignl = x"yes"; then
84072
84073 for ac_func in __signbitl
84074 do
84075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84076 echo "$as_me:$LINENO: checking for $ac_func" >&5
84077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84078 if eval "test \"\${$as_ac_var+set}\" = set"; then
84079   echo $ECHO_N "(cached) $ECHO_C" >&6
84080 else
84081   if test x$gcc_no_link = xyes; then
84082   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84084    { (exit 1); exit 1; }; }
84085 fi
84086 cat >conftest.$ac_ext <<_ACEOF
84087 /* confdefs.h.  */
84088 _ACEOF
84089 cat confdefs.h >>conftest.$ac_ext
84090 cat >>conftest.$ac_ext <<_ACEOF
84091 /* end confdefs.h.  */
84092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84093    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84094 #define $ac_func innocuous_$ac_func
84095
84096 /* System header to define __stub macros and hopefully few prototypes,
84097     which can conflict with char $ac_func (); below.
84098     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84099     <limits.h> exists even on freestanding compilers.  */
84100
84101 #ifdef __STDC__
84102 # include <limits.h>
84103 #else
84104 # include <assert.h>
84105 #endif
84106
84107 #undef $ac_func
84108
84109 /* Override any gcc2 internal prototype to avoid an error.  */
84110 #ifdef __cplusplus
84111 extern "C"
84112 {
84113 #endif
84114 /* We use char because int might match the return type of a gcc2
84115    builtin and then its argument prototype would still apply.  */
84116 char $ac_func ();
84117 /* The GNU C library defines this for functions which it implements
84118     to always fail with ENOSYS.  Some functions are actually named
84119     something starting with __ and the normal name is an alias.  */
84120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84121 choke me
84122 #else
84123 char (*f) () = $ac_func;
84124 #endif
84125 #ifdef __cplusplus
84126 }
84127 #endif
84128
84129 int
84130 main ()
84131 {
84132 return f != $ac_func;
84133   ;
84134   return 0;
84135 }
84136 _ACEOF
84137 rm -f conftest.$ac_objext conftest$ac_exeext
84138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84139   (eval $ac_link) 2>conftest.er1
84140   ac_status=$?
84141   grep -v '^ *+' conftest.er1 >conftest.err
84142   rm -f conftest.er1
84143   cat conftest.err >&5
84144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84145   (exit $ac_status); } &&
84146          { ac_try='test -z "$ac_c_werror_flag"
84147                          || test ! -s conftest.err'
84148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84149   (eval $ac_try) 2>&5
84150   ac_status=$?
84151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84152   (exit $ac_status); }; } &&
84153          { ac_try='test -s conftest$ac_exeext'
84154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84155   (eval $ac_try) 2>&5
84156   ac_status=$?
84157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84158   (exit $ac_status); }; }; then
84159   eval "$as_ac_var=yes"
84160 else
84161   echo "$as_me: failed program was:" >&5
84162 sed 's/^/| /' conftest.$ac_ext >&5
84163
84164 eval "$as_ac_var=no"
84165 fi
84166 rm -f conftest.err conftest.$ac_objext \
84167       conftest$ac_exeext conftest.$ac_ext
84168 fi
84169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84171 if test `eval echo '${'$as_ac_var'}'` = yes; then
84172   cat >>confdefs.h <<_ACEOF
84173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84174 _ACEOF
84175
84176 else
84177   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
84178 fi
84179 done
84180
84181   fi
84182
84183   # Used in libmath/Makefile.am.
84184   if test -n "$LIBMATHOBJS"; then
84185     need_libmath=yes
84186   fi
84187
84188
84189
84190
84191   enable_iconv=no
84192   # Only continue checking if the ISO C99 headers exist and support is on.
84193   if test x"$enable_wchar_t" = xyes; then
84194
84195     # Use iconv for wchar_t to char conversions. As such, check for
84196     # X/Open Portability Guide, version 2 features (XPG2).
84197     if test "${ac_cv_header_iconv_h+set}" = set; then
84198   echo "$as_me:$LINENO: checking for iconv.h" >&5
84199 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84200 if test "${ac_cv_header_iconv_h+set}" = set; then
84201   echo $ECHO_N "(cached) $ECHO_C" >&6
84202 fi
84203 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84204 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84205 else
84206   # Is the header compilable?
84207 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84208 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
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 $ac_includes_default
84216 #include <iconv.h>
84217 _ACEOF
84218 rm -f conftest.$ac_objext
84219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84220   (eval $ac_compile) 2>conftest.er1
84221   ac_status=$?
84222   grep -v '^ *+' conftest.er1 >conftest.err
84223   rm -f conftest.er1
84224   cat conftest.err >&5
84225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84226   (exit $ac_status); } &&
84227          { ac_try='test -z "$ac_c_werror_flag"
84228                          || test ! -s conftest.err'
84229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84230   (eval $ac_try) 2>&5
84231   ac_status=$?
84232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84233   (exit $ac_status); }; } &&
84234          { ac_try='test -s conftest.$ac_objext'
84235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84236   (eval $ac_try) 2>&5
84237   ac_status=$?
84238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84239   (exit $ac_status); }; }; then
84240   ac_header_compiler=yes
84241 else
84242   echo "$as_me: failed program was:" >&5
84243 sed 's/^/| /' conftest.$ac_ext >&5
84244
84245 ac_header_compiler=no
84246 fi
84247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84248 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84249 echo "${ECHO_T}$ac_header_compiler" >&6
84250
84251 # Is the header present?
84252 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84253 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84254 cat >conftest.$ac_ext <<_ACEOF
84255 /* confdefs.h.  */
84256 _ACEOF
84257 cat confdefs.h >>conftest.$ac_ext
84258 cat >>conftest.$ac_ext <<_ACEOF
84259 /* end confdefs.h.  */
84260 #include <iconv.h>
84261 _ACEOF
84262 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84263   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84264   ac_status=$?
84265   grep -v '^ *+' conftest.er1 >conftest.err
84266   rm -f conftest.er1
84267   cat conftest.err >&5
84268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84269   (exit $ac_status); } >/dev/null; then
84270   if test -s conftest.err; then
84271     ac_cpp_err=$ac_c_preproc_warn_flag
84272     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84273   else
84274     ac_cpp_err=
84275   fi
84276 else
84277   ac_cpp_err=yes
84278 fi
84279 if test -z "$ac_cpp_err"; then
84280   ac_header_preproc=yes
84281 else
84282   echo "$as_me: failed program was:" >&5
84283 sed 's/^/| /' conftest.$ac_ext >&5
84284
84285   ac_header_preproc=no
84286 fi
84287 rm -f conftest.err conftest.$ac_ext
84288 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84289 echo "${ECHO_T}$ac_header_preproc" >&6
84290
84291 # So?  What about this header?
84292 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84293   yes:no: )
84294     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84295 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84296     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84297 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84298     ac_header_preproc=yes
84299     ;;
84300   no:yes:* )
84301     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84302 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84303     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
84304 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
84305     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84306 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84307     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
84308 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
84309     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84310 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84311     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84312 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84313     (
84314       cat <<\_ASBOX
84315 ## ----------------------------------------- ##
84316 ## Report this to the package-unused lists.  ##
84317 ## ----------------------------------------- ##
84318 _ASBOX
84319     ) |
84320       sed "s/^/$as_me: WARNING:     /" >&2
84321     ;;
84322 esac
84323 echo "$as_me:$LINENO: checking for iconv.h" >&5
84324 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84325 if test "${ac_cv_header_iconv_h+set}" = set; then
84326   echo $ECHO_N "(cached) $ECHO_C" >&6
84327 else
84328   ac_cv_header_iconv_h=$ac_header_preproc
84329 fi
84330 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84331 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84332
84333 fi
84334 if test $ac_cv_header_iconv_h = yes; then
84335   ac_has_iconv_h=yes
84336 else
84337   ac_has_iconv_h=no
84338 fi
84339
84340
84341     if test "${ac_cv_header_langinfo_h+set}" = set; then
84342   echo "$as_me:$LINENO: checking for langinfo.h" >&5
84343 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84344 if test "${ac_cv_header_langinfo_h+set}" = set; then
84345   echo $ECHO_N "(cached) $ECHO_C" >&6
84346 fi
84347 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84348 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84349 else
84350   # Is the header compilable?
84351 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84352 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84353 cat >conftest.$ac_ext <<_ACEOF
84354 /* confdefs.h.  */
84355 _ACEOF
84356 cat confdefs.h >>conftest.$ac_ext
84357 cat >>conftest.$ac_ext <<_ACEOF
84358 /* end confdefs.h.  */
84359 $ac_includes_default
84360 #include <langinfo.h>
84361 _ACEOF
84362 rm -f conftest.$ac_objext
84363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84364   (eval $ac_compile) 2>conftest.er1
84365   ac_status=$?
84366   grep -v '^ *+' conftest.er1 >conftest.err
84367   rm -f conftest.er1
84368   cat conftest.err >&5
84369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84370   (exit $ac_status); } &&
84371          { ac_try='test -z "$ac_c_werror_flag"
84372                          || test ! -s conftest.err'
84373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84374   (eval $ac_try) 2>&5
84375   ac_status=$?
84376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84377   (exit $ac_status); }; } &&
84378          { ac_try='test -s conftest.$ac_objext'
84379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84380   (eval $ac_try) 2>&5
84381   ac_status=$?
84382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84383   (exit $ac_status); }; }; then
84384   ac_header_compiler=yes
84385 else
84386   echo "$as_me: failed program was:" >&5
84387 sed 's/^/| /' conftest.$ac_ext >&5
84388
84389 ac_header_compiler=no
84390 fi
84391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84392 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84393 echo "${ECHO_T}$ac_header_compiler" >&6
84394
84395 # Is the header present?
84396 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84397 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84398 cat >conftest.$ac_ext <<_ACEOF
84399 /* confdefs.h.  */
84400 _ACEOF
84401 cat confdefs.h >>conftest.$ac_ext
84402 cat >>conftest.$ac_ext <<_ACEOF
84403 /* end confdefs.h.  */
84404 #include <langinfo.h>
84405 _ACEOF
84406 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84407   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84408   ac_status=$?
84409   grep -v '^ *+' conftest.er1 >conftest.err
84410   rm -f conftest.er1
84411   cat conftest.err >&5
84412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84413   (exit $ac_status); } >/dev/null; then
84414   if test -s conftest.err; then
84415     ac_cpp_err=$ac_c_preproc_warn_flag
84416     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84417   else
84418     ac_cpp_err=
84419   fi
84420 else
84421   ac_cpp_err=yes
84422 fi
84423 if test -z "$ac_cpp_err"; then
84424   ac_header_preproc=yes
84425 else
84426   echo "$as_me: failed program was:" >&5
84427 sed 's/^/| /' conftest.$ac_ext >&5
84428
84429   ac_header_preproc=no
84430 fi
84431 rm -f conftest.err conftest.$ac_ext
84432 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84433 echo "${ECHO_T}$ac_header_preproc" >&6
84434
84435 # So?  What about this header?
84436 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84437   yes:no: )
84438     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84439 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84440     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84441 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84442     ac_header_preproc=yes
84443     ;;
84444   no:yes:* )
84445     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84446 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84447     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
84448 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
84449     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84450 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84451     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
84452 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
84453     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84454 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84455     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84456 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
84457     (
84458       cat <<\_ASBOX
84459 ## ----------------------------------------- ##
84460 ## Report this to the package-unused lists.  ##
84461 ## ----------------------------------------- ##
84462 _ASBOX
84463     ) |
84464       sed "s/^/$as_me: WARNING:     /" >&2
84465     ;;
84466 esac
84467 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84468 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84469 if test "${ac_cv_header_langinfo_h+set}" = set; then
84470   echo $ECHO_N "(cached) $ECHO_C" >&6
84471 else
84472   ac_cv_header_langinfo_h=$ac_header_preproc
84473 fi
84474 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84475 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84476
84477 fi
84478 if test $ac_cv_header_langinfo_h = yes; then
84479   ac_has_langinfo_h=yes
84480 else
84481   ac_has_langinfo_h=no
84482 fi
84483
84484
84485
84486     # Check for existence of libiconv.a providing XPG2 wchar_t support.
84487     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
84488 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
84489 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
84490   echo $ECHO_N "(cached) $ECHO_C" >&6
84491 else
84492   ac_check_lib_save_LIBS=$LIBS
84493 LIBS="-liconv  $LIBS"
84494 if test x$gcc_no_link = xyes; then
84495   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84497    { (exit 1); exit 1; }; }
84498 fi
84499 cat >conftest.$ac_ext <<_ACEOF
84500 /* confdefs.h.  */
84501 _ACEOF
84502 cat confdefs.h >>conftest.$ac_ext
84503 cat >>conftest.$ac_ext <<_ACEOF
84504 /* end confdefs.h.  */
84505
84506 /* Override any gcc2 internal prototype to avoid an error.  */
84507 #ifdef __cplusplus
84508 extern "C"
84509 #endif
84510 /* We use char because int might match the return type of a gcc2
84511    builtin and then its argument prototype would still apply.  */
84512 char iconv ();
84513 int
84514 main ()
84515 {
84516 iconv ();
84517   ;
84518   return 0;
84519 }
84520 _ACEOF
84521 rm -f conftest.$ac_objext conftest$ac_exeext
84522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84523   (eval $ac_link) 2>conftest.er1
84524   ac_status=$?
84525   grep -v '^ *+' conftest.er1 >conftest.err
84526   rm -f conftest.er1
84527   cat conftest.err >&5
84528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84529   (exit $ac_status); } &&
84530          { ac_try='test -z "$ac_c_werror_flag"
84531                          || test ! -s conftest.err'
84532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84533   (eval $ac_try) 2>&5
84534   ac_status=$?
84535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84536   (exit $ac_status); }; } &&
84537          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
84543   ac_cv_lib_iconv_iconv=yes
84544 else
84545   echo "$as_me: failed program was:" >&5
84546 sed 's/^/| /' conftest.$ac_ext >&5
84547
84548 ac_cv_lib_iconv_iconv=no
84549 fi
84550 rm -f conftest.err conftest.$ac_objext \
84551       conftest$ac_exeext conftest.$ac_ext
84552 LIBS=$ac_check_lib_save_LIBS
84553 fi
84554 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
84555 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
84556 if test $ac_cv_lib_iconv_iconv = yes; then
84557   LIBICONV="-liconv"
84558 fi
84559
84560     ac_save_LIBS="$LIBS"
84561     LIBS="$LIBS $LIBICONV"
84562
84563
84564
84565
84566
84567
84568 for ac_func in iconv_open iconv_close iconv nl_langinfo
84569 do
84570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84571 echo "$as_me:$LINENO: checking for $ac_func" >&5
84572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84573 if eval "test \"\${$as_ac_var+set}\" = set"; then
84574   echo $ECHO_N "(cached) $ECHO_C" >&6
84575 else
84576   if test x$gcc_no_link = xyes; then
84577   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84579    { (exit 1); exit 1; }; }
84580 fi
84581 cat >conftest.$ac_ext <<_ACEOF
84582 /* confdefs.h.  */
84583 _ACEOF
84584 cat confdefs.h >>conftest.$ac_ext
84585 cat >>conftest.$ac_ext <<_ACEOF
84586 /* end confdefs.h.  */
84587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84588    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84589 #define $ac_func innocuous_$ac_func
84590
84591 /* System header to define __stub macros and hopefully few prototypes,
84592     which can conflict with char $ac_func (); below.
84593     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84594     <limits.h> exists even on freestanding compilers.  */
84595
84596 #ifdef __STDC__
84597 # include <limits.h>
84598 #else
84599 # include <assert.h>
84600 #endif
84601
84602 #undef $ac_func
84603
84604 /* Override any gcc2 internal prototype to avoid an error.  */
84605 #ifdef __cplusplus
84606 extern "C"
84607 {
84608 #endif
84609 /* We use char because int might match the return type of a gcc2
84610    builtin and then its argument prototype would still apply.  */
84611 char $ac_func ();
84612 /* The GNU C library defines this for functions which it implements
84613     to always fail with ENOSYS.  Some functions are actually named
84614     something starting with __ and the normal name is an alias.  */
84615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84616 choke me
84617 #else
84618 char (*f) () = $ac_func;
84619 #endif
84620 #ifdef __cplusplus
84621 }
84622 #endif
84623
84624 int
84625 main ()
84626 {
84627 return f != $ac_func;
84628   ;
84629   return 0;
84630 }
84631 _ACEOF
84632 rm -f conftest.$ac_objext conftest$ac_exeext
84633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84634   (eval $ac_link) 2>conftest.er1
84635   ac_status=$?
84636   grep -v '^ *+' conftest.er1 >conftest.err
84637   rm -f conftest.er1
84638   cat conftest.err >&5
84639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84640   (exit $ac_status); } &&
84641          { ac_try='test -z "$ac_c_werror_flag"
84642                          || test ! -s conftest.err'
84643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84644   (eval $ac_try) 2>&5
84645   ac_status=$?
84646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84647   (exit $ac_status); }; } &&
84648          { ac_try='test -s conftest$ac_exeext'
84649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84650   (eval $ac_try) 2>&5
84651   ac_status=$?
84652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84653   (exit $ac_status); }; }; then
84654   eval "$as_ac_var=yes"
84655 else
84656   echo "$as_me: failed program was:" >&5
84657 sed 's/^/| /' conftest.$ac_ext >&5
84658
84659 eval "$as_ac_var=no"
84660 fi
84661 rm -f conftest.err conftest.$ac_objext \
84662       conftest$ac_exeext conftest.$ac_ext
84663 fi
84664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84666 if test `eval echo '${'$as_ac_var'}'` = yes; then
84667   cat >>confdefs.h <<_ACEOF
84668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84669 _ACEOF
84670  ac_XPG2funcs=yes
84671 else
84672   ac_XPG2funcs=no
84673 fi
84674 done
84675
84676
84677     LIBS="$ac_save_LIBS"
84678
84679     if test x"$ac_has_iconv_h" = xyes &&
84680        test x"$ac_has_langinfo_h" = xyes &&
84681        test x"$ac_XPG2funcs" = xyes;
84682     then
84683
84684 cat >>confdefs.h <<\_ACEOF
84685 #define _GLIBCXX_USE_ICONV 1
84686 _ACEOF
84687
84688       enable_iconv=yes
84689     fi
84690   fi
84691   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
84692 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
84693   echo "$as_me:$LINENO: result: $enable_iconv" >&5
84694 echo "${ECHO_T}$enable_iconv" >&6
84695
84696     cat >>confdefs.h <<\_ACEOF
84697 #define HAVE_COSF 1
84698 _ACEOF
84699
84700     cat >>confdefs.h <<\_ACEOF
84701 #define HAVE_COSL 1
84702 _ACEOF
84703
84704     cat >>confdefs.h <<\_ACEOF
84705 #define HAVE_COSHF 1
84706 _ACEOF
84707
84708     cat >>confdefs.h <<\_ACEOF
84709 #define HAVE_COSHL 1
84710 _ACEOF
84711
84712     cat >>confdefs.h <<\_ACEOF
84713 #define HAVE_LOGF 1
84714 _ACEOF
84715
84716     cat >>confdefs.h <<\_ACEOF
84717 #define HAVE_LOGL 1
84718 _ACEOF
84719
84720     cat >>confdefs.h <<\_ACEOF
84721 #define HAVE_LOG10F 1
84722 _ACEOF
84723
84724     cat >>confdefs.h <<\_ACEOF
84725 #define HAVE_LOG10L 1
84726 _ACEOF
84727
84728     cat >>confdefs.h <<\_ACEOF
84729 #define HAVE_SINF 1
84730 _ACEOF
84731
84732     cat >>confdefs.h <<\_ACEOF
84733 #define HAVE_SINL 1
84734 _ACEOF
84735
84736     cat >>confdefs.h <<\_ACEOF
84737 #define HAVE_SINHF 1
84738 _ACEOF
84739
84740     cat >>confdefs.h <<\_ACEOF
84741 #define HAVE_SINHL 1
84742 _ACEOF
84743
84744     ;;
84745   *-solaris*)
84746     case "$target" in
84747     #  *-solaris2.5)
84748     #    os_include_dir="os/solaris/solaris2.5"
84749     #    ;;
84750     #  *-solaris2.6)
84751     #    os_include_dir="os/solaris/solaris2.6"
84752     #    ;;
84753       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
84754          cat >>confdefs.h <<\_ACEOF
84755 #define HAVE_GETPAGESIZE 1
84756 _ACEOF
84757
84758          cat >>confdefs.h <<\_ACEOF
84759 #define HAVE_SIGSETJMP 1
84760 _ACEOF
84761
84762          cat >>confdefs.h <<\_ACEOF
84763 #define HAVE_MBSTATE_T 1
84764 _ACEOF
84765
84766          cat >>confdefs.h <<\_ACEOF
84767 #define HAVE_POLL 1
84768 _ACEOF
84769
84770          cat >>confdefs.h <<\_ACEOF
84771 #define HAVE_S_ISREG 1
84772 _ACEOF
84773
84774          cat >>confdefs.h <<\_ACEOF
84775 #define HAVE_LC_MESSAGES 1
84776 _ACEOF
84777
84778          cat >>confdefs.h <<\_ACEOF
84779 #define HAVE_FINITE 1
84780 _ACEOF
84781
84782          cat >>confdefs.h <<\_ACEOF
84783 #define HAVE_FPCLASS 1
84784 _ACEOF
84785
84786          cat >>confdefs.h <<\_ACEOF
84787 #define HAVE_GETPAGESIZE 1
84788 _ACEOF
84789
84790          cat >>confdefs.h <<\_ACEOF
84791 #define HAVE_NL_LANGINFO 1
84792 _ACEOF
84793
84794          cat >>confdefs.h <<\_ACEOF
84795 #define HAVE_ICONV 1
84796 _ACEOF
84797
84798          cat >>confdefs.h <<\_ACEOF
84799 #define HAVE_ICONV_CLOSE 1
84800 _ACEOF
84801
84802          cat >>confdefs.h <<\_ACEOF
84803 #define HAVE_ICONV_OPEN 1
84804 _ACEOF
84805
84806          # Look for the pieces required for wchar_t support in order to
84807          # get all the right HAVE_* macros defined.
84808
84809
84810   enable_iconv=no
84811   # Only continue checking if the ISO C99 headers exist and support is on.
84812   if test x"$enable_wchar_t" = xyes; then
84813
84814     # Use iconv for wchar_t to char conversions. As such, check for
84815     # X/Open Portability Guide, version 2 features (XPG2).
84816     if test "${ac_cv_header_iconv_h+set}" = set; then
84817   echo "$as_me:$LINENO: checking for iconv.h" >&5
84818 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84819 if test "${ac_cv_header_iconv_h+set}" = set; then
84820   echo $ECHO_N "(cached) $ECHO_C" >&6
84821 fi
84822 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84823 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84824 else
84825   # Is the header compilable?
84826 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84827 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84828 cat >conftest.$ac_ext <<_ACEOF
84829 /* confdefs.h.  */
84830 _ACEOF
84831 cat confdefs.h >>conftest.$ac_ext
84832 cat >>conftest.$ac_ext <<_ACEOF
84833 /* end confdefs.h.  */
84834 $ac_includes_default
84835 #include <iconv.h>
84836 _ACEOF
84837 rm -f conftest.$ac_objext
84838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84839   (eval $ac_compile) 2>conftest.er1
84840   ac_status=$?
84841   grep -v '^ *+' conftest.er1 >conftest.err
84842   rm -f conftest.er1
84843   cat conftest.err >&5
84844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84845   (exit $ac_status); } &&
84846          { ac_try='test -z "$ac_c_werror_flag"
84847                          || test ! -s conftest.err'
84848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84849   (eval $ac_try) 2>&5
84850   ac_status=$?
84851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84852   (exit $ac_status); }; } &&
84853          { ac_try='test -s conftest.$ac_objext'
84854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84855   (eval $ac_try) 2>&5
84856   ac_status=$?
84857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84858   (exit $ac_status); }; }; then
84859   ac_header_compiler=yes
84860 else
84861   echo "$as_me: failed program was:" >&5
84862 sed 's/^/| /' conftest.$ac_ext >&5
84863
84864 ac_header_compiler=no
84865 fi
84866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84867 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84868 echo "${ECHO_T}$ac_header_compiler" >&6
84869
84870 # Is the header present?
84871 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84872 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84873 cat >conftest.$ac_ext <<_ACEOF
84874 /* confdefs.h.  */
84875 _ACEOF
84876 cat confdefs.h >>conftest.$ac_ext
84877 cat >>conftest.$ac_ext <<_ACEOF
84878 /* end confdefs.h.  */
84879 #include <iconv.h>
84880 _ACEOF
84881 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84882   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84883   ac_status=$?
84884   grep -v '^ *+' conftest.er1 >conftest.err
84885   rm -f conftest.er1
84886   cat conftest.err >&5
84887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84888   (exit $ac_status); } >/dev/null; then
84889   if test -s conftest.err; then
84890     ac_cpp_err=$ac_c_preproc_warn_flag
84891     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84892   else
84893     ac_cpp_err=
84894   fi
84895 else
84896   ac_cpp_err=yes
84897 fi
84898 if test -z "$ac_cpp_err"; then
84899   ac_header_preproc=yes
84900 else
84901   echo "$as_me: failed program was:" >&5
84902 sed 's/^/| /' conftest.$ac_ext >&5
84903
84904   ac_header_preproc=no
84905 fi
84906 rm -f conftest.err conftest.$ac_ext
84907 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84908 echo "${ECHO_T}$ac_header_preproc" >&6
84909
84910 # So?  What about this header?
84911 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84912   yes:no: )
84913     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84914 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84915     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84916 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84917     ac_header_preproc=yes
84918     ;;
84919   no:yes:* )
84920     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84921 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84922     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
84923 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
84924     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84925 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84926     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
84927 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
84928     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84929 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84930     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84931 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84932     (
84933       cat <<\_ASBOX
84934 ## ----------------------------------------- ##
84935 ## Report this to the package-unused lists.  ##
84936 ## ----------------------------------------- ##
84937 _ASBOX
84938     ) |
84939       sed "s/^/$as_me: WARNING:     /" >&2
84940     ;;
84941 esac
84942 echo "$as_me:$LINENO: checking for iconv.h" >&5
84943 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84944 if test "${ac_cv_header_iconv_h+set}" = set; then
84945   echo $ECHO_N "(cached) $ECHO_C" >&6
84946 else
84947   ac_cv_header_iconv_h=$ac_header_preproc
84948 fi
84949 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84950 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84951
84952 fi
84953 if test $ac_cv_header_iconv_h = yes; then
84954   ac_has_iconv_h=yes
84955 else
84956   ac_has_iconv_h=no
84957 fi
84958
84959
84960     if test "${ac_cv_header_langinfo_h+set}" = set; then
84961   echo "$as_me:$LINENO: checking for langinfo.h" >&5
84962 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84963 if test "${ac_cv_header_langinfo_h+set}" = set; then
84964   echo $ECHO_N "(cached) $ECHO_C" >&6
84965 fi
84966 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84967 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84968 else
84969   # Is the header compilable?
84970 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84971 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84972 cat >conftest.$ac_ext <<_ACEOF
84973 /* confdefs.h.  */
84974 _ACEOF
84975 cat confdefs.h >>conftest.$ac_ext
84976 cat >>conftest.$ac_ext <<_ACEOF
84977 /* end confdefs.h.  */
84978 $ac_includes_default
84979 #include <langinfo.h>
84980 _ACEOF
84981 rm -f conftest.$ac_objext
84982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84983   (eval $ac_compile) 2>conftest.er1
84984   ac_status=$?
84985   grep -v '^ *+' conftest.er1 >conftest.err
84986   rm -f conftest.er1
84987   cat conftest.err >&5
84988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84989   (exit $ac_status); } &&
84990          { ac_try='test -z "$ac_c_werror_flag"
84991                          || test ! -s conftest.err'
84992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84993   (eval $ac_try) 2>&5
84994   ac_status=$?
84995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84996   (exit $ac_status); }; } &&
84997          { ac_try='test -s conftest.$ac_objext'
84998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84999   (eval $ac_try) 2>&5
85000   ac_status=$?
85001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85002   (exit $ac_status); }; }; then
85003   ac_header_compiler=yes
85004 else
85005   echo "$as_me: failed program was:" >&5
85006 sed 's/^/| /' conftest.$ac_ext >&5
85007
85008 ac_header_compiler=no
85009 fi
85010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85011 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85012 echo "${ECHO_T}$ac_header_compiler" >&6
85013
85014 # Is the header present?
85015 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
85016 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
85017 cat >conftest.$ac_ext <<_ACEOF
85018 /* confdefs.h.  */
85019 _ACEOF
85020 cat confdefs.h >>conftest.$ac_ext
85021 cat >>conftest.$ac_ext <<_ACEOF
85022 /* end confdefs.h.  */
85023 #include <langinfo.h>
85024 _ACEOF
85025 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85026   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85027   ac_status=$?
85028   grep -v '^ *+' conftest.er1 >conftest.err
85029   rm -f conftest.er1
85030   cat conftest.err >&5
85031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85032   (exit $ac_status); } >/dev/null; then
85033   if test -s conftest.err; then
85034     ac_cpp_err=$ac_c_preproc_warn_flag
85035     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85036   else
85037     ac_cpp_err=
85038   fi
85039 else
85040   ac_cpp_err=yes
85041 fi
85042 if test -z "$ac_cpp_err"; then
85043   ac_header_preproc=yes
85044 else
85045   echo "$as_me: failed program was:" >&5
85046 sed 's/^/| /' conftest.$ac_ext >&5
85047
85048   ac_header_preproc=no
85049 fi
85050 rm -f conftest.err conftest.$ac_ext
85051 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85052 echo "${ECHO_T}$ac_header_preproc" >&6
85053
85054 # So?  What about this header?
85055 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85056   yes:no: )
85057     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
85058 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
85059     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
85060 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
85061     ac_header_preproc=yes
85062     ;;
85063   no:yes:* )
85064     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
85065 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
85066     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
85067 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
85068     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
85069 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
85070     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
85071 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
85072     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
85073 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
85074     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
85075 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
85076     (
85077       cat <<\_ASBOX
85078 ## ----------------------------------------- ##
85079 ## Report this to the package-unused lists.  ##
85080 ## ----------------------------------------- ##
85081 _ASBOX
85082     ) |
85083       sed "s/^/$as_me: WARNING:     /" >&2
85084     ;;
85085 esac
85086 echo "$as_me:$LINENO: checking for langinfo.h" >&5
85087 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
85088 if test "${ac_cv_header_langinfo_h+set}" = set; then
85089   echo $ECHO_N "(cached) $ECHO_C" >&6
85090 else
85091   ac_cv_header_langinfo_h=$ac_header_preproc
85092 fi
85093 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
85094 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
85095
85096 fi
85097 if test $ac_cv_header_langinfo_h = yes; then
85098   ac_has_langinfo_h=yes
85099 else
85100   ac_has_langinfo_h=no
85101 fi
85102
85103
85104
85105     # Check for existence of libiconv.a providing XPG2 wchar_t support.
85106     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
85107 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
85108 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
85109   echo $ECHO_N "(cached) $ECHO_C" >&6
85110 else
85111   ac_check_lib_save_LIBS=$LIBS
85112 LIBS="-liconv  $LIBS"
85113 if test x$gcc_no_link = xyes; then
85114   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85116    { (exit 1); exit 1; }; }
85117 fi
85118 cat >conftest.$ac_ext <<_ACEOF
85119 /* confdefs.h.  */
85120 _ACEOF
85121 cat confdefs.h >>conftest.$ac_ext
85122 cat >>conftest.$ac_ext <<_ACEOF
85123 /* end confdefs.h.  */
85124
85125 /* Override any gcc2 internal prototype to avoid an error.  */
85126 #ifdef __cplusplus
85127 extern "C"
85128 #endif
85129 /* We use char because int might match the return type of a gcc2
85130    builtin and then its argument prototype would still apply.  */
85131 char iconv ();
85132 int
85133 main ()
85134 {
85135 iconv ();
85136   ;
85137   return 0;
85138 }
85139 _ACEOF
85140 rm -f conftest.$ac_objext conftest$ac_exeext
85141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85142   (eval $ac_link) 2>conftest.er1
85143   ac_status=$?
85144   grep -v '^ *+' conftest.er1 >conftest.err
85145   rm -f conftest.er1
85146   cat conftest.err >&5
85147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85148   (exit $ac_status); } &&
85149          { ac_try='test -z "$ac_c_werror_flag"
85150                          || test ! -s conftest.err'
85151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85152   (eval $ac_try) 2>&5
85153   ac_status=$?
85154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85155   (exit $ac_status); }; } &&
85156          { ac_try='test -s conftest$ac_exeext'
85157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85158   (eval $ac_try) 2>&5
85159   ac_status=$?
85160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85161   (exit $ac_status); }; }; then
85162   ac_cv_lib_iconv_iconv=yes
85163 else
85164   echo "$as_me: failed program was:" >&5
85165 sed 's/^/| /' conftest.$ac_ext >&5
85166
85167 ac_cv_lib_iconv_iconv=no
85168 fi
85169 rm -f conftest.err conftest.$ac_objext \
85170       conftest$ac_exeext conftest.$ac_ext
85171 LIBS=$ac_check_lib_save_LIBS
85172 fi
85173 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
85174 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
85175 if test $ac_cv_lib_iconv_iconv = yes; then
85176   LIBICONV="-liconv"
85177 fi
85178
85179     ac_save_LIBS="$LIBS"
85180     LIBS="$LIBS $LIBICONV"
85181
85182
85183
85184
85185
85186
85187 for ac_func in iconv_open iconv_close iconv nl_langinfo
85188 do
85189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85190 echo "$as_me:$LINENO: checking for $ac_func" >&5
85191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85192 if eval "test \"\${$as_ac_var+set}\" = set"; then
85193   echo $ECHO_N "(cached) $ECHO_C" >&6
85194 else
85195   if test x$gcc_no_link = xyes; then
85196   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85198    { (exit 1); exit 1; }; }
85199 fi
85200 cat >conftest.$ac_ext <<_ACEOF
85201 /* confdefs.h.  */
85202 _ACEOF
85203 cat confdefs.h >>conftest.$ac_ext
85204 cat >>conftest.$ac_ext <<_ACEOF
85205 /* end confdefs.h.  */
85206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85207    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85208 #define $ac_func innocuous_$ac_func
85209
85210 /* System header to define __stub macros and hopefully few prototypes,
85211     which can conflict with char $ac_func (); below.
85212     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85213     <limits.h> exists even on freestanding compilers.  */
85214
85215 #ifdef __STDC__
85216 # include <limits.h>
85217 #else
85218 # include <assert.h>
85219 #endif
85220
85221 #undef $ac_func
85222
85223 /* Override any gcc2 internal prototype to avoid an error.  */
85224 #ifdef __cplusplus
85225 extern "C"
85226 {
85227 #endif
85228 /* We use char because int might match the return type of a gcc2
85229    builtin and then its argument prototype would still apply.  */
85230 char $ac_func ();
85231 /* The GNU C library defines this for functions which it implements
85232     to always fail with ENOSYS.  Some functions are actually named
85233     something starting with __ and the normal name is an alias.  */
85234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85235 choke me
85236 #else
85237 char (*f) () = $ac_func;
85238 #endif
85239 #ifdef __cplusplus
85240 }
85241 #endif
85242
85243 int
85244 main ()
85245 {
85246 return f != $ac_func;
85247   ;
85248   return 0;
85249 }
85250 _ACEOF
85251 rm -f conftest.$ac_objext conftest$ac_exeext
85252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85253   (eval $ac_link) 2>conftest.er1
85254   ac_status=$?
85255   grep -v '^ *+' conftest.er1 >conftest.err
85256   rm -f conftest.er1
85257   cat conftest.err >&5
85258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85259   (exit $ac_status); } &&
85260          { ac_try='test -z "$ac_c_werror_flag"
85261                          || test ! -s conftest.err'
85262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85263   (eval $ac_try) 2>&5
85264   ac_status=$?
85265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85266   (exit $ac_status); }; } &&
85267          { ac_try='test -s conftest$ac_exeext'
85268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85269   (eval $ac_try) 2>&5
85270   ac_status=$?
85271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85272   (exit $ac_status); }; }; then
85273   eval "$as_ac_var=yes"
85274 else
85275   echo "$as_me: failed program was:" >&5
85276 sed 's/^/| /' conftest.$ac_ext >&5
85277
85278 eval "$as_ac_var=no"
85279 fi
85280 rm -f conftest.err conftest.$ac_objext \
85281       conftest$ac_exeext conftest.$ac_ext
85282 fi
85283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85285 if test `eval echo '${'$as_ac_var'}'` = yes; then
85286   cat >>confdefs.h <<_ACEOF
85287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85288 _ACEOF
85289  ac_XPG2funcs=yes
85290 else
85291   ac_XPG2funcs=no
85292 fi
85293 done
85294
85295
85296     LIBS="$ac_save_LIBS"
85297
85298     if test x"$ac_has_iconv_h" = xyes &&
85299        test x"$ac_has_langinfo_h" = xyes &&
85300        test x"$ac_XPG2funcs" = xyes;
85301     then
85302
85303 cat >>confdefs.h <<\_ACEOF
85304 #define _GLIBCXX_USE_ICONV 1
85305 _ACEOF
85306
85307       enable_iconv=yes
85308     fi
85309   fi
85310   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
85311 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
85312   echo "$as_me:$LINENO: result: $enable_iconv" >&5
85313 echo "${ECHO_T}$enable_iconv" >&6
85314
85315          # All of the dependencies for wide character support are here, so
85316          # turn it on.  This requires some syncronization with the
85317          # GLIBCXX_CHECK_ICONV_SUPPORT in acinclude.m4
85318          cat >>confdefs.h <<\_ACEOF
85319 #define _GLIBCXX_USE_WCHAR_T 1
85320 _ACEOF
85321
85322          # Are these tested for even when cross?
85323          cat >>confdefs.h <<\_ACEOF
85324 #define HAVE_FLOAT_H 1
85325 _ACEOF
85326
85327          cat >>confdefs.h <<\_ACEOF
85328 #define HAVE_IEEEFP_H 1
85329 _ACEOF
85330
85331          cat >>confdefs.h <<\_ACEOF
85332 #define HAVE_INTTYPES_H 1
85333 _ACEOF
85334
85335          cat >>confdefs.h <<\_ACEOF
85336 #define HAVE_LOCALE_H 1
85337 _ACEOF
85338
85339          cat >>confdefs.h <<\_ACEOF
85340 #define HAVE_NAN_H 1
85341 _ACEOF
85342
85343          cat >>confdefs.h <<\_ACEOF
85344 #define HAVE_SYS_FILIO_H 1
85345 _ACEOF
85346
85347          cat >>confdefs.h <<\_ACEOF
85348 #define HAVE_SYS_IOCTL_H 1
85349 _ACEOF
85350
85351          cat >>confdefs.h <<\_ACEOF
85352 #define HAVE_SYS_ISA_DEFS_H 1
85353 _ACEOF
85354
85355          cat >>confdefs.h <<\_ACEOF
85356 #define HAVE_SYS_RESOURCE_H 1
85357 _ACEOF
85358
85359          cat >>confdefs.h <<\_ACEOF
85360 #define HAVE_SYS_TIME_H 1
85361 _ACEOF
85362
85363          cat >>confdefs.h <<\_ACEOF
85364 #define HAVE_SYS_TYPES_H 1
85365 _ACEOF
85366
85367          cat >>confdefs.h <<\_ACEOF
85368 #define HAVE_UNISTD_H 1
85369 _ACEOF
85370
85371          cat >>confdefs.h <<\_ACEOF
85372 #define HAVE_WCHAR_H 1
85373 _ACEOF
85374
85375          cat >>confdefs.h <<\_ACEOF
85376 #define HAVE_WCTYPE_H 1
85377 _ACEOF
85378
85379          cat >>confdefs.h <<\_ACEOF
85380 #define HAVE_LIBM 1
85381 _ACEOF
85382
85383         ;;
85384     esac
85385     case "$target" in
85386       sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
85387         # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
85388         cat >>confdefs.h <<\_ACEOF
85389 #define HAVE___BUILTIN_ABS 1
85390 _ACEOF
85391
85392         cat >>confdefs.h <<\_ACEOF
85393 #define HAVE___BUILTIN_LABS 1
85394 _ACEOF
85395
85396         cat >>confdefs.h <<\_ACEOF
85397 #define HAVE___BUILTIN_FABS 1
85398 _ACEOF
85399
85400         cat >>confdefs.h <<\_ACEOF
85401 #define HAVE___BUILTIN_FABSF 1
85402 _ACEOF
85403
85404         cat >>confdefs.h <<\_ACEOF
85405 #define HAVE___BUILTIN_FABSL 1
85406 _ACEOF
85407
85408         cat >>confdefs.h <<\_ACEOF
85409 #define HAVE___BUILTIN_COS 1
85410 _ACEOF
85411
85412         cat >>confdefs.h <<\_ACEOF
85413 #define HAVE___BUILTIN_COSF 1
85414 _ACEOF
85415
85416         cat >>confdefs.h <<\_ACEOF
85417 #define HAVE___BUILTIN_SIN 1
85418 _ACEOF
85419
85420         cat >>confdefs.h <<\_ACEOF
85421 #define HAVE___BUILTIN_SINF 1
85422 _ACEOF
85423
85424        ;;
85425     esac
85426     case "$target" in
85427       *-*-solaris2.10)
85428       # These two C99 functions are present only in Solaris >= 10
85429       cat >>confdefs.h <<\_ACEOF
85430 #define HAVE_STRTOF 1
85431 _ACEOF
85432
85433       cat >>confdefs.h <<\_ACEOF
85434 #define HAVE_STRTOLD 1
85435 _ACEOF
85436
85437      ;;
85438     esac
85439     cat >>confdefs.h <<\_ACEOF
85440 #define HAVE_MMAP 1
85441 _ACEOF
85442
85443     cat >>confdefs.h <<\_ACEOF
85444 #define HAVE_COPYSIGN 1
85445 _ACEOF
85446
85447     cat >>confdefs.h <<\_ACEOF
85448 #define HAVE_ISNAN 1
85449 _ACEOF
85450
85451     cat >>confdefs.h <<\_ACEOF
85452 #define HAVE_ISNANF 1
85453 _ACEOF
85454
85455     cat >>confdefs.h <<\_ACEOF
85456 #define HAVE_MODFF 1
85457 _ACEOF
85458
85459     cat >>confdefs.h <<\_ACEOF
85460 #define HAVE_HYPOT 1
85461 _ACEOF
85462
85463     ;;
85464   *-tpf)
85465
85466
85467
85468
85469
85470
85471
85472
85473 for ac_header in nan.h endian.h machine/endian.h  \
85474       sys/param.h sys/types.h locale.h float.h inttypes.h
85475 do
85476 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85478   echo "$as_me:$LINENO: checking for $ac_header" >&5
85479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85480 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85481   echo $ECHO_N "(cached) $ECHO_C" >&6
85482 fi
85483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85484 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85485 else
85486   # Is the header compilable?
85487 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85488 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85489 cat >conftest.$ac_ext <<_ACEOF
85490 /* confdefs.h.  */
85491 _ACEOF
85492 cat confdefs.h >>conftest.$ac_ext
85493 cat >>conftest.$ac_ext <<_ACEOF
85494 /* end confdefs.h.  */
85495 $ac_includes_default
85496 #include <$ac_header>
85497 _ACEOF
85498 rm -f conftest.$ac_objext
85499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85500   (eval $ac_compile) 2>conftest.er1
85501   ac_status=$?
85502   grep -v '^ *+' conftest.er1 >conftest.err
85503   rm -f conftest.er1
85504   cat conftest.err >&5
85505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85506   (exit $ac_status); } &&
85507          { ac_try='test -z "$ac_c_werror_flag"
85508                          || test ! -s conftest.err'
85509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85510   (eval $ac_try) 2>&5
85511   ac_status=$?
85512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85513   (exit $ac_status); }; } &&
85514          { ac_try='test -s conftest.$ac_objext'
85515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85516   (eval $ac_try) 2>&5
85517   ac_status=$?
85518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85519   (exit $ac_status); }; }; then
85520   ac_header_compiler=yes
85521 else
85522   echo "$as_me: failed program was:" >&5
85523 sed 's/^/| /' conftest.$ac_ext >&5
85524
85525 ac_header_compiler=no
85526 fi
85527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85528 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85529 echo "${ECHO_T}$ac_header_compiler" >&6
85530
85531 # Is the header present?
85532 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85533 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85534 cat >conftest.$ac_ext <<_ACEOF
85535 /* confdefs.h.  */
85536 _ACEOF
85537 cat confdefs.h >>conftest.$ac_ext
85538 cat >>conftest.$ac_ext <<_ACEOF
85539 /* end confdefs.h.  */
85540 #include <$ac_header>
85541 _ACEOF
85542 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85543   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85544   ac_status=$?
85545   grep -v '^ *+' conftest.er1 >conftest.err
85546   rm -f conftest.er1
85547   cat conftest.err >&5
85548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85549   (exit $ac_status); } >/dev/null; then
85550   if test -s conftest.err; then
85551     ac_cpp_err=$ac_c_preproc_warn_flag
85552     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85553   else
85554     ac_cpp_err=
85555   fi
85556 else
85557   ac_cpp_err=yes
85558 fi
85559 if test -z "$ac_cpp_err"; then
85560   ac_header_preproc=yes
85561 else
85562   echo "$as_me: failed program was:" >&5
85563 sed 's/^/| /' conftest.$ac_ext >&5
85564
85565   ac_header_preproc=no
85566 fi
85567 rm -f conftest.err conftest.$ac_ext
85568 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85569 echo "${ECHO_T}$ac_header_preproc" >&6
85570
85571 # So?  What about this header?
85572 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85573   yes:no: )
85574     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85575 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85576     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85577 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85578     ac_header_preproc=yes
85579     ;;
85580   no:yes:* )
85581     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85582 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85583     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
85584 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
85585     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85586 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85587     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
85588 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
85589     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85590 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85591     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85592 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85593     (
85594       cat <<\_ASBOX
85595 ## ----------------------------------------- ##
85596 ## Report this to the package-unused lists.  ##
85597 ## ----------------------------------------- ##
85598 _ASBOX
85599     ) |
85600       sed "s/^/$as_me: WARNING:     /" >&2
85601     ;;
85602 esac
85603 echo "$as_me:$LINENO: checking for $ac_header" >&5
85604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85605 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85606   echo $ECHO_N "(cached) $ECHO_C" >&6
85607 else
85608   eval "$as_ac_Header=\$ac_header_preproc"
85609 fi
85610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85611 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85612
85613 fi
85614 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85615   cat >>confdefs.h <<_ACEOF
85616 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85617 _ACEOF
85618
85619 fi
85620
85621 done
85622
85623     SECTION_FLAGS='-ffunction-sections -fdata-sections'
85624
85625
85626   # If we're not using GNU ld, then there's no point in even trying these
85627   # tests.  Check for that first.  We should have already tested for gld
85628   # by now (in libtool), but require it now just to be safe...
85629   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85630   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85631
85632
85633
85634   # The name set by libtool depends on the version of libtool.  Shame on us
85635   # for depending on an impl detail, but c'est la vie.  Older versions used
85636   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85637   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85638   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
85639   # set (hence we're using an older libtool), then set it.
85640   if test x${with_gnu_ld+set} != xset; then
85641     if test x${ac_cv_prog_gnu_ld+set} != xset; then
85642       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
85643       with_gnu_ld=no
85644     else
85645       with_gnu_ld=$ac_cv_prog_gnu_ld
85646     fi
85647   fi
85648
85649   # Start by getting the version number.  I think the libtool test already
85650   # does some of this, but throws away the result.
85651
85652   ldver=`$LD --version 2>/dev/null | head -1 | \
85653          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
85654
85655   glibcxx_gnu_ld_version=`echo $ldver | \
85656          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85657
85658   # Set --gc-sections.
85659   if test "$with_gnu_ld" = "notbroken"; then
85660     # GNU ld it is!  Joy and bunny rabbits!
85661
85662     # All these tests are for C++; save the language and the compiler flags.
85663     # Need to do this so that g++ won't try to link in libstdc++
85664     ac_test_CFLAGS="${CFLAGS+set}"
85665     ac_save_CFLAGS="$CFLAGS"
85666     CFLAGS='-x c++  -Wl,--gc-sections'
85667
85668     # Check for -Wl,--gc-sections
85669     # XXX This test is broken at the moment, as symbols required for linking
85670     # are now in libsupc++ (not built yet).  In addition, this test has
85671     # cored on solaris in the past.  In addition, --gc-sections doesn't
85672     # really work at the moment (keeps on discarding used sections, first
85673     # .eh_frame and now some of the glibc sections for iconv).
85674     # Bzzzzt.  Thanks for playing, maybe next time.
85675     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85676 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85677     if test "$cross_compiling" = yes; then
85678   ac_sectionLDflags=yes
85679 else
85680   cat >conftest.$ac_ext <<_ACEOF
85681 /* confdefs.h.  */
85682 _ACEOF
85683 cat confdefs.h >>conftest.$ac_ext
85684 cat >>conftest.$ac_ext <<_ACEOF
85685 /* end confdefs.h.  */
85686
85687      int main(void)
85688      {
85689        try { throw 1; }
85690        catch (...) { };
85691        return 0;
85692      }
85693
85694 _ACEOF
85695 rm -f conftest$ac_exeext
85696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85697   (eval $ac_link) 2>&5
85698   ac_status=$?
85699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85700   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
85701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85702   (eval $ac_try) 2>&5
85703   ac_status=$?
85704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85705   (exit $ac_status); }; }; then
85706   ac_sectionLDflags=yes
85707 else
85708   echo "$as_me: program exited with status $ac_status" >&5
85709 echo "$as_me: failed program was:" >&5
85710 sed 's/^/| /' conftest.$ac_ext >&5
85711
85712 ( exit $ac_status )
85713 ac_sectionLDflags=no
85714 fi
85715 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
85716 fi
85717     if test "$ac_test_CFLAGS" = set; then
85718       CFLAGS="$ac_save_CFLAGS"
85719     else
85720       # this is the suspicious part
85721       CFLAGS=''
85722     fi
85723     if test "$ac_sectionLDflags" = "yes"; then
85724       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85725     fi
85726     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
85727 echo "${ECHO_T}$ac_sectionLDflags" >&6
85728   fi
85729
85730   # Set linker optimization flags.
85731   if test x"$with_gnu_ld" = x"yes"; then
85732     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85733   fi
85734
85735
85736
85737
85738
85739
85740 echo "$as_me:$LINENO: checking for main in -lm" >&5
85741 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85742 if test "${ac_cv_lib_m_main+set}" = set; then
85743   echo $ECHO_N "(cached) $ECHO_C" >&6
85744 else
85745   ac_check_lib_save_LIBS=$LIBS
85746 LIBS="-lm  $LIBS"
85747 if test x$gcc_no_link = xyes; then
85748   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85750    { (exit 1); exit 1; }; }
85751 fi
85752 cat >conftest.$ac_ext <<_ACEOF
85753 /* confdefs.h.  */
85754 _ACEOF
85755 cat confdefs.h >>conftest.$ac_ext
85756 cat >>conftest.$ac_ext <<_ACEOF
85757 /* end confdefs.h.  */
85758
85759
85760 int
85761 main ()
85762 {
85763 main ();
85764   ;
85765   return 0;
85766 }
85767 _ACEOF
85768 rm -f conftest.$ac_objext conftest$ac_exeext
85769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85770   (eval $ac_link) 2>conftest.er1
85771   ac_status=$?
85772   grep -v '^ *+' conftest.er1 >conftest.err
85773   rm -f conftest.er1
85774   cat conftest.err >&5
85775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85776   (exit $ac_status); } &&
85777          { ac_try='test -z "$ac_c_werror_flag"
85778                          || test ! -s conftest.err'
85779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85780   (eval $ac_try) 2>&5
85781   ac_status=$?
85782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85783   (exit $ac_status); }; } &&
85784          { ac_try='test -s conftest$ac_exeext'
85785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85786   (eval $ac_try) 2>&5
85787   ac_status=$?
85788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85789   (exit $ac_status); }; }; then
85790   ac_cv_lib_m_main=yes
85791 else
85792   echo "$as_me: failed program was:" >&5
85793 sed 's/^/| /' conftest.$ac_ext >&5
85794
85795 ac_cv_lib_m_main=no
85796 fi
85797 rm -f conftest.err conftest.$ac_objext \
85798       conftest$ac_exeext conftest.$ac_ext
85799 LIBS=$ac_check_lib_save_LIBS
85800 fi
85801 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85802 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85803 if test $ac_cv_lib_m_main = yes; then
85804   cat >>confdefs.h <<_ACEOF
85805 #define HAVE_LIBM 1
85806 _ACEOF
85807
85808   LIBS="-lm $LIBS"
85809
85810 fi
85811
85812
85813 for ac_func in copysignf
85814 do
85815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85816 echo "$as_me:$LINENO: checking for $ac_func" >&5
85817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85818 if eval "test \"\${$as_ac_var+set}\" = set"; then
85819   echo $ECHO_N "(cached) $ECHO_C" >&6
85820 else
85821   if test x$gcc_no_link = xyes; then
85822   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85824    { (exit 1); exit 1; }; }
85825 fi
85826 cat >conftest.$ac_ext <<_ACEOF
85827 /* confdefs.h.  */
85828 _ACEOF
85829 cat confdefs.h >>conftest.$ac_ext
85830 cat >>conftest.$ac_ext <<_ACEOF
85831 /* end confdefs.h.  */
85832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85833    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85834 #define $ac_func innocuous_$ac_func
85835
85836 /* System header to define __stub macros and hopefully few prototypes,
85837     which can conflict with char $ac_func (); below.
85838     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85839     <limits.h> exists even on freestanding compilers.  */
85840
85841 #ifdef __STDC__
85842 # include <limits.h>
85843 #else
85844 # include <assert.h>
85845 #endif
85846
85847 #undef $ac_func
85848
85849 /* Override any gcc2 internal prototype to avoid an error.  */
85850 #ifdef __cplusplus
85851 extern "C"
85852 {
85853 #endif
85854 /* We use char because int might match the return type of a gcc2
85855    builtin and then its argument prototype would still apply.  */
85856 char $ac_func ();
85857 /* The GNU C library defines this for functions which it implements
85858     to always fail with ENOSYS.  Some functions are actually named
85859     something starting with __ and the normal name is an alias.  */
85860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85861 choke me
85862 #else
85863 char (*f) () = $ac_func;
85864 #endif
85865 #ifdef __cplusplus
85866 }
85867 #endif
85868
85869 int
85870 main ()
85871 {
85872 return f != $ac_func;
85873   ;
85874   return 0;
85875 }
85876 _ACEOF
85877 rm -f conftest.$ac_objext conftest$ac_exeext
85878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85879   (eval $ac_link) 2>conftest.er1
85880   ac_status=$?
85881   grep -v '^ *+' conftest.er1 >conftest.err
85882   rm -f conftest.er1
85883   cat conftest.err >&5
85884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85885   (exit $ac_status); } &&
85886          { ac_try='test -z "$ac_c_werror_flag"
85887                          || test ! -s conftest.err'
85888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85889   (eval $ac_try) 2>&5
85890   ac_status=$?
85891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85892   (exit $ac_status); }; } &&
85893          { ac_try='test -s conftest$ac_exeext'
85894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85895   (eval $ac_try) 2>&5
85896   ac_status=$?
85897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85898   (exit $ac_status); }; }; then
85899   eval "$as_ac_var=yes"
85900 else
85901   echo "$as_me: failed program was:" >&5
85902 sed 's/^/| /' conftest.$ac_ext >&5
85903
85904 eval "$as_ac_var=no"
85905 fi
85906 rm -f conftest.err conftest.$ac_objext \
85907       conftest$ac_exeext conftest.$ac_ext
85908 fi
85909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85911 if test `eval echo '${'$as_ac_var'}'` = yes; then
85912   cat >>confdefs.h <<_ACEOF
85913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85914 _ACEOF
85915
85916 else
85917   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85918 fi
85919 done
85920
85921
85922
85923 for ac_func in __signbit
85924 do
85925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85926 echo "$as_me:$LINENO: checking for $ac_func" >&5
85927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85928 if eval "test \"\${$as_ac_var+set}\" = set"; then
85929   echo $ECHO_N "(cached) $ECHO_C" >&6
85930 else
85931   if test x$gcc_no_link = xyes; then
85932   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85934    { (exit 1); exit 1; }; }
85935 fi
85936 cat >conftest.$ac_ext <<_ACEOF
85937 /* confdefs.h.  */
85938 _ACEOF
85939 cat confdefs.h >>conftest.$ac_ext
85940 cat >>conftest.$ac_ext <<_ACEOF
85941 /* end confdefs.h.  */
85942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85943    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85944 #define $ac_func innocuous_$ac_func
85945
85946 /* System header to define __stub macros and hopefully few prototypes,
85947     which can conflict with char $ac_func (); below.
85948     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85949     <limits.h> exists even on freestanding compilers.  */
85950
85951 #ifdef __STDC__
85952 # include <limits.h>
85953 #else
85954 # include <assert.h>
85955 #endif
85956
85957 #undef $ac_func
85958
85959 /* Override any gcc2 internal prototype to avoid an error.  */
85960 #ifdef __cplusplus
85961 extern "C"
85962 {
85963 #endif
85964 /* We use char because int might match the return type of a gcc2
85965    builtin and then its argument prototype would still apply.  */
85966 char $ac_func ();
85967 /* The GNU C library defines this for functions which it implements
85968     to always fail with ENOSYS.  Some functions are actually named
85969     something starting with __ and the normal name is an alias.  */
85970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85971 choke me
85972 #else
85973 char (*f) () = $ac_func;
85974 #endif
85975 #ifdef __cplusplus
85976 }
85977 #endif
85978
85979 int
85980 main ()
85981 {
85982 return f != $ac_func;
85983   ;
85984   return 0;
85985 }
85986 _ACEOF
85987 rm -f conftest.$ac_objext conftest$ac_exeext
85988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85989   (eval $ac_link) 2>conftest.er1
85990   ac_status=$?
85991   grep -v '^ *+' conftest.er1 >conftest.err
85992   rm -f conftest.er1
85993   cat conftest.err >&5
85994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85995   (exit $ac_status); } &&
85996          { ac_try='test -z "$ac_c_werror_flag"
85997                          || test ! -s conftest.err'
85998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85999   (eval $ac_try) 2>&5
86000   ac_status=$?
86001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86002   (exit $ac_status); }; } &&
86003          { ac_try='test -s conftest$ac_exeext'
86004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86005   (eval $ac_try) 2>&5
86006   ac_status=$?
86007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86008   (exit $ac_status); }; }; then
86009   eval "$as_ac_var=yes"
86010 else
86011   echo "$as_me: failed program was:" >&5
86012 sed 's/^/| /' conftest.$ac_ext >&5
86013
86014 eval "$as_ac_var=no"
86015 fi
86016 rm -f conftest.err conftest.$ac_objext \
86017       conftest$ac_exeext conftest.$ac_ext
86018 fi
86019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86021 if test `eval echo '${'$as_ac_var'}'` = yes; then
86022   cat >>confdefs.h <<_ACEOF
86023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86024 _ACEOF
86025
86026 else
86027   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
86028 fi
86029 done
86030
86031
86032
86033 for ac_func in __signbitf
86034 do
86035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86036 echo "$as_me:$LINENO: checking for $ac_func" >&5
86037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86038 if eval "test \"\${$as_ac_var+set}\" = set"; then
86039   echo $ECHO_N "(cached) $ECHO_C" >&6
86040 else
86041   if test x$gcc_no_link = xyes; then
86042   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86044    { (exit 1); exit 1; }; }
86045 fi
86046 cat >conftest.$ac_ext <<_ACEOF
86047 /* confdefs.h.  */
86048 _ACEOF
86049 cat confdefs.h >>conftest.$ac_ext
86050 cat >>conftest.$ac_ext <<_ACEOF
86051 /* end confdefs.h.  */
86052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86053    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86054 #define $ac_func innocuous_$ac_func
86055
86056 /* System header to define __stub macros and hopefully few prototypes,
86057     which can conflict with char $ac_func (); below.
86058     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86059     <limits.h> exists even on freestanding compilers.  */
86060
86061 #ifdef __STDC__
86062 # include <limits.h>
86063 #else
86064 # include <assert.h>
86065 #endif
86066
86067 #undef $ac_func
86068
86069 /* Override any gcc2 internal prototype to avoid an error.  */
86070 #ifdef __cplusplus
86071 extern "C"
86072 {
86073 #endif
86074 /* We use char because int might match the return type of a gcc2
86075    builtin and then its argument prototype would still apply.  */
86076 char $ac_func ();
86077 /* The GNU C library defines this for functions which it implements
86078     to always fail with ENOSYS.  Some functions are actually named
86079     something starting with __ and the normal name is an alias.  */
86080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86081 choke me
86082 #else
86083 char (*f) () = $ac_func;
86084 #endif
86085 #ifdef __cplusplus
86086 }
86087 #endif
86088
86089 int
86090 main ()
86091 {
86092 return f != $ac_func;
86093   ;
86094   return 0;
86095 }
86096 _ACEOF
86097 rm -f conftest.$ac_objext conftest$ac_exeext
86098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86099   (eval $ac_link) 2>conftest.er1
86100   ac_status=$?
86101   grep -v '^ *+' conftest.er1 >conftest.err
86102   rm -f conftest.er1
86103   cat conftest.err >&5
86104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86105   (exit $ac_status); } &&
86106          { ac_try='test -z "$ac_c_werror_flag"
86107                          || test ! -s conftest.err'
86108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86109   (eval $ac_try) 2>&5
86110   ac_status=$?
86111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86112   (exit $ac_status); }; } &&
86113          { ac_try='test -s conftest$ac_exeext'
86114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86115   (eval $ac_try) 2>&5
86116   ac_status=$?
86117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86118   (exit $ac_status); }; }; then
86119   eval "$as_ac_var=yes"
86120 else
86121   echo "$as_me: failed program was:" >&5
86122 sed 's/^/| /' conftest.$ac_ext >&5
86123
86124 eval "$as_ac_var=no"
86125 fi
86126 rm -f conftest.err conftest.$ac_objext \
86127       conftest$ac_exeext conftest.$ac_ext
86128 fi
86129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86131 if test `eval echo '${'$as_ac_var'}'` = yes; then
86132   cat >>confdefs.h <<_ACEOF
86133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86134 _ACEOF
86135
86136 else
86137   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86138 fi
86139 done
86140
86141
86142           if test x$ac_cv_func_copysignl = x"yes"; then
86143
86144 for ac_func in __signbitl
86145 do
86146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86147 echo "$as_me:$LINENO: checking for $ac_func" >&5
86148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86149 if eval "test \"\${$as_ac_var+set}\" = set"; then
86150   echo $ECHO_N "(cached) $ECHO_C" >&6
86151 else
86152   if test x$gcc_no_link = xyes; then
86153   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86155    { (exit 1); exit 1; }; }
86156 fi
86157 cat >conftest.$ac_ext <<_ACEOF
86158 /* confdefs.h.  */
86159 _ACEOF
86160 cat confdefs.h >>conftest.$ac_ext
86161 cat >>conftest.$ac_ext <<_ACEOF
86162 /* end confdefs.h.  */
86163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86164    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86165 #define $ac_func innocuous_$ac_func
86166
86167 /* System header to define __stub macros and hopefully few prototypes,
86168     which can conflict with char $ac_func (); below.
86169     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86170     <limits.h> exists even on freestanding compilers.  */
86171
86172 #ifdef __STDC__
86173 # include <limits.h>
86174 #else
86175 # include <assert.h>
86176 #endif
86177
86178 #undef $ac_func
86179
86180 /* Override any gcc2 internal prototype to avoid an error.  */
86181 #ifdef __cplusplus
86182 extern "C"
86183 {
86184 #endif
86185 /* We use char because int might match the return type of a gcc2
86186    builtin and then its argument prototype would still apply.  */
86187 char $ac_func ();
86188 /* The GNU C library defines this for functions which it implements
86189     to always fail with ENOSYS.  Some functions are actually named
86190     something starting with __ and the normal name is an alias.  */
86191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86192 choke me
86193 #else
86194 char (*f) () = $ac_func;
86195 #endif
86196 #ifdef __cplusplus
86197 }
86198 #endif
86199
86200 int
86201 main ()
86202 {
86203 return f != $ac_func;
86204   ;
86205   return 0;
86206 }
86207 _ACEOF
86208 rm -f conftest.$ac_objext conftest$ac_exeext
86209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86210   (eval $ac_link) 2>conftest.er1
86211   ac_status=$?
86212   grep -v '^ *+' conftest.er1 >conftest.err
86213   rm -f conftest.er1
86214   cat conftest.err >&5
86215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86216   (exit $ac_status); } &&
86217          { ac_try='test -z "$ac_c_werror_flag"
86218                          || test ! -s conftest.err'
86219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86220   (eval $ac_try) 2>&5
86221   ac_status=$?
86222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86223   (exit $ac_status); }; } &&
86224          { ac_try='test -s conftest$ac_exeext'
86225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86226   (eval $ac_try) 2>&5
86227   ac_status=$?
86228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86229   (exit $ac_status); }; }; then
86230   eval "$as_ac_var=yes"
86231 else
86232   echo "$as_me: failed program was:" >&5
86233 sed 's/^/| /' conftest.$ac_ext >&5
86234
86235 eval "$as_ac_var=no"
86236 fi
86237 rm -f conftest.err conftest.$ac_objext \
86238       conftest$ac_exeext conftest.$ac_ext
86239 fi
86240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86242 if test `eval echo '${'$as_ac_var'}'` = yes; then
86243   cat >>confdefs.h <<_ACEOF
86244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86245 _ACEOF
86246
86247 else
86248   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86249 fi
86250 done
86251
86252   fi
86253
86254   # Used in libmath/Makefile.am.
86255   if test -n "$LIBMATHOBJS"; then
86256     need_libmath=yes
86257   fi
86258
86259
86260
86261
86262   enable_iconv=no
86263   # Only continue checking if the ISO C99 headers exist and support is on.
86264   if test x"$enable_wchar_t" = xyes; then
86265
86266     # Use iconv for wchar_t to char conversions. As such, check for
86267     # X/Open Portability Guide, version 2 features (XPG2).
86268     if test "${ac_cv_header_iconv_h+set}" = set; then
86269   echo "$as_me:$LINENO: checking for iconv.h" >&5
86270 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86271 if test "${ac_cv_header_iconv_h+set}" = set; then
86272   echo $ECHO_N "(cached) $ECHO_C" >&6
86273 fi
86274 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86275 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86276 else
86277   # Is the header compilable?
86278 echo "$as_me:$LINENO: checking iconv.h usability" >&5
86279 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
86280 cat >conftest.$ac_ext <<_ACEOF
86281 /* confdefs.h.  */
86282 _ACEOF
86283 cat confdefs.h >>conftest.$ac_ext
86284 cat >>conftest.$ac_ext <<_ACEOF
86285 /* end confdefs.h.  */
86286 $ac_includes_default
86287 #include <iconv.h>
86288 _ACEOF
86289 rm -f conftest.$ac_objext
86290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86291   (eval $ac_compile) 2>conftest.er1
86292   ac_status=$?
86293   grep -v '^ *+' conftest.er1 >conftest.err
86294   rm -f conftest.er1
86295   cat conftest.err >&5
86296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86297   (exit $ac_status); } &&
86298          { ac_try='test -z "$ac_c_werror_flag"
86299                          || test ! -s conftest.err'
86300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86301   (eval $ac_try) 2>&5
86302   ac_status=$?
86303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86304   (exit $ac_status); }; } &&
86305          { ac_try='test -s conftest.$ac_objext'
86306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86307   (eval $ac_try) 2>&5
86308   ac_status=$?
86309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86310   (exit $ac_status); }; }; then
86311   ac_header_compiler=yes
86312 else
86313   echo "$as_me: failed program was:" >&5
86314 sed 's/^/| /' conftest.$ac_ext >&5
86315
86316 ac_header_compiler=no
86317 fi
86318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86319 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86320 echo "${ECHO_T}$ac_header_compiler" >&6
86321
86322 # Is the header present?
86323 echo "$as_me:$LINENO: checking iconv.h presence" >&5
86324 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
86325 cat >conftest.$ac_ext <<_ACEOF
86326 /* confdefs.h.  */
86327 _ACEOF
86328 cat confdefs.h >>conftest.$ac_ext
86329 cat >>conftest.$ac_ext <<_ACEOF
86330 /* end confdefs.h.  */
86331 #include <iconv.h>
86332 _ACEOF
86333 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86334   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86335   ac_status=$?
86336   grep -v '^ *+' conftest.er1 >conftest.err
86337   rm -f conftest.er1
86338   cat conftest.err >&5
86339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86340   (exit $ac_status); } >/dev/null; then
86341   if test -s conftest.err; then
86342     ac_cpp_err=$ac_c_preproc_warn_flag
86343     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86344   else
86345     ac_cpp_err=
86346   fi
86347 else
86348   ac_cpp_err=yes
86349 fi
86350 if test -z "$ac_cpp_err"; then
86351   ac_header_preproc=yes
86352 else
86353   echo "$as_me: failed program was:" >&5
86354 sed 's/^/| /' conftest.$ac_ext >&5
86355
86356   ac_header_preproc=no
86357 fi
86358 rm -f conftest.err conftest.$ac_ext
86359 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86360 echo "${ECHO_T}$ac_header_preproc" >&6
86361
86362 # So?  What about this header?
86363 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86364   yes:no: )
86365     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
86366 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86367     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
86368 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
86369     ac_header_preproc=yes
86370     ;;
86371   no:yes:* )
86372     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
86373 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
86374     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
86375 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
86376     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
86377 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
86378     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
86379 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
86380     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
86381 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
86382     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
86383 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
86384     (
86385       cat <<\_ASBOX
86386 ## ----------------------------------------- ##
86387 ## Report this to the package-unused lists.  ##
86388 ## ----------------------------------------- ##
86389 _ASBOX
86390     ) |
86391       sed "s/^/$as_me: WARNING:     /" >&2
86392     ;;
86393 esac
86394 echo "$as_me:$LINENO: checking for iconv.h" >&5
86395 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86396 if test "${ac_cv_header_iconv_h+set}" = set; then
86397   echo $ECHO_N "(cached) $ECHO_C" >&6
86398 else
86399   ac_cv_header_iconv_h=$ac_header_preproc
86400 fi
86401 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86402 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86403
86404 fi
86405 if test $ac_cv_header_iconv_h = yes; then
86406   ac_has_iconv_h=yes
86407 else
86408   ac_has_iconv_h=no
86409 fi
86410
86411
86412     if test "${ac_cv_header_langinfo_h+set}" = set; then
86413   echo "$as_me:$LINENO: checking for langinfo.h" >&5
86414 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86415 if test "${ac_cv_header_langinfo_h+set}" = set; then
86416   echo $ECHO_N "(cached) $ECHO_C" >&6
86417 fi
86418 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86419 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86420 else
86421   # Is the header compilable?
86422 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
86423 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
86424 cat >conftest.$ac_ext <<_ACEOF
86425 /* confdefs.h.  */
86426 _ACEOF
86427 cat confdefs.h >>conftest.$ac_ext
86428 cat >>conftest.$ac_ext <<_ACEOF
86429 /* end confdefs.h.  */
86430 $ac_includes_default
86431 #include <langinfo.h>
86432 _ACEOF
86433 rm -f conftest.$ac_objext
86434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86435   (eval $ac_compile) 2>conftest.er1
86436   ac_status=$?
86437   grep -v '^ *+' conftest.er1 >conftest.err
86438   rm -f conftest.er1
86439   cat conftest.err >&5
86440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86441   (exit $ac_status); } &&
86442          { ac_try='test -z "$ac_c_werror_flag"
86443                          || test ! -s conftest.err'
86444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86445   (eval $ac_try) 2>&5
86446   ac_status=$?
86447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86448   (exit $ac_status); }; } &&
86449          { ac_try='test -s conftest.$ac_objext'
86450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86451   (eval $ac_try) 2>&5
86452   ac_status=$?
86453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86454   (exit $ac_status); }; }; then
86455   ac_header_compiler=yes
86456 else
86457   echo "$as_me: failed program was:" >&5
86458 sed 's/^/| /' conftest.$ac_ext >&5
86459
86460 ac_header_compiler=no
86461 fi
86462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86463 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86464 echo "${ECHO_T}$ac_header_compiler" >&6
86465
86466 # Is the header present?
86467 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
86468 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
86469 cat >conftest.$ac_ext <<_ACEOF
86470 /* confdefs.h.  */
86471 _ACEOF
86472 cat confdefs.h >>conftest.$ac_ext
86473 cat >>conftest.$ac_ext <<_ACEOF
86474 /* end confdefs.h.  */
86475 #include <langinfo.h>
86476 _ACEOF
86477 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86478   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86479   ac_status=$?
86480   grep -v '^ *+' conftest.er1 >conftest.err
86481   rm -f conftest.er1
86482   cat conftest.err >&5
86483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86484   (exit $ac_status); } >/dev/null; then
86485   if test -s conftest.err; then
86486     ac_cpp_err=$ac_c_preproc_warn_flag
86487     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86488   else
86489     ac_cpp_err=
86490   fi
86491 else
86492   ac_cpp_err=yes
86493 fi
86494 if test -z "$ac_cpp_err"; then
86495   ac_header_preproc=yes
86496 else
86497   echo "$as_me: failed program was:" >&5
86498 sed 's/^/| /' conftest.$ac_ext >&5
86499
86500   ac_header_preproc=no
86501 fi
86502 rm -f conftest.err conftest.$ac_ext
86503 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86504 echo "${ECHO_T}$ac_header_preproc" >&6
86505
86506 # So?  What about this header?
86507 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86508   yes:no: )
86509     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
86510 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86511     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
86512 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
86513     ac_header_preproc=yes
86514     ;;
86515   no:yes:* )
86516     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
86517 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
86518     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
86519 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
86520     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
86521 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
86522     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
86523 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
86524     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
86525 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
86526     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
86527 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
86528     (
86529       cat <<\_ASBOX
86530 ## ----------------------------------------- ##
86531 ## Report this to the package-unused lists.  ##
86532 ## ----------------------------------------- ##
86533 _ASBOX
86534     ) |
86535       sed "s/^/$as_me: WARNING:     /" >&2
86536     ;;
86537 esac
86538 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86539 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86540 if test "${ac_cv_header_langinfo_h+set}" = set; then
86541   echo $ECHO_N "(cached) $ECHO_C" >&6
86542 else
86543   ac_cv_header_langinfo_h=$ac_header_preproc
86544 fi
86545 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86546 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86547
86548 fi
86549 if test $ac_cv_header_langinfo_h = yes; then
86550   ac_has_langinfo_h=yes
86551 else
86552   ac_has_langinfo_h=no
86553 fi
86554
86555
86556
86557     # Check for existence of libiconv.a providing XPG2 wchar_t support.
86558     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
86559 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
86560 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
86561   echo $ECHO_N "(cached) $ECHO_C" >&6
86562 else
86563   ac_check_lib_save_LIBS=$LIBS
86564 LIBS="-liconv  $LIBS"
86565 if test x$gcc_no_link = xyes; then
86566   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86568    { (exit 1); exit 1; }; }
86569 fi
86570 cat >conftest.$ac_ext <<_ACEOF
86571 /* confdefs.h.  */
86572 _ACEOF
86573 cat confdefs.h >>conftest.$ac_ext
86574 cat >>conftest.$ac_ext <<_ACEOF
86575 /* end confdefs.h.  */
86576
86577 /* Override any gcc2 internal prototype to avoid an error.  */
86578 #ifdef __cplusplus
86579 extern "C"
86580 #endif
86581 /* We use char because int might match the return type of a gcc2
86582    builtin and then its argument prototype would still apply.  */
86583 char iconv ();
86584 int
86585 main ()
86586 {
86587 iconv ();
86588   ;
86589   return 0;
86590 }
86591 _ACEOF
86592 rm -f conftest.$ac_objext conftest$ac_exeext
86593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86594   (eval $ac_link) 2>conftest.er1
86595   ac_status=$?
86596   grep -v '^ *+' conftest.er1 >conftest.err
86597   rm -f conftest.er1
86598   cat conftest.err >&5
86599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86600   (exit $ac_status); } &&
86601          { ac_try='test -z "$ac_c_werror_flag"
86602                          || test ! -s conftest.err'
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); }; } &&
86608          { ac_try='test -s conftest$ac_exeext'
86609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86610   (eval $ac_try) 2>&5
86611   ac_status=$?
86612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86613   (exit $ac_status); }; }; then
86614   ac_cv_lib_iconv_iconv=yes
86615 else
86616   echo "$as_me: failed program was:" >&5
86617 sed 's/^/| /' conftest.$ac_ext >&5
86618
86619 ac_cv_lib_iconv_iconv=no
86620 fi
86621 rm -f conftest.err conftest.$ac_objext \
86622       conftest$ac_exeext conftest.$ac_ext
86623 LIBS=$ac_check_lib_save_LIBS
86624 fi
86625 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
86626 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
86627 if test $ac_cv_lib_iconv_iconv = yes; then
86628   LIBICONV="-liconv"
86629 fi
86630
86631     ac_save_LIBS="$LIBS"
86632     LIBS="$LIBS $LIBICONV"
86633
86634
86635
86636
86637
86638
86639 for ac_func in iconv_open iconv_close iconv nl_langinfo
86640 do
86641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86642 echo "$as_me:$LINENO: checking for $ac_func" >&5
86643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86644 if eval "test \"\${$as_ac_var+set}\" = set"; then
86645   echo $ECHO_N "(cached) $ECHO_C" >&6
86646 else
86647   if test x$gcc_no_link = xyes; then
86648   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86650    { (exit 1); exit 1; }; }
86651 fi
86652 cat >conftest.$ac_ext <<_ACEOF
86653 /* confdefs.h.  */
86654 _ACEOF
86655 cat confdefs.h >>conftest.$ac_ext
86656 cat >>conftest.$ac_ext <<_ACEOF
86657 /* end confdefs.h.  */
86658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86659    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86660 #define $ac_func innocuous_$ac_func
86661
86662 /* System header to define __stub macros and hopefully few prototypes,
86663     which can conflict with char $ac_func (); below.
86664     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86665     <limits.h> exists even on freestanding compilers.  */
86666
86667 #ifdef __STDC__
86668 # include <limits.h>
86669 #else
86670 # include <assert.h>
86671 #endif
86672
86673 #undef $ac_func
86674
86675 /* Override any gcc2 internal prototype to avoid an error.  */
86676 #ifdef __cplusplus
86677 extern "C"
86678 {
86679 #endif
86680 /* We use char because int might match the return type of a gcc2
86681    builtin and then its argument prototype would still apply.  */
86682 char $ac_func ();
86683 /* The GNU C library defines this for functions which it implements
86684     to always fail with ENOSYS.  Some functions are actually named
86685     something starting with __ and the normal name is an alias.  */
86686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86687 choke me
86688 #else
86689 char (*f) () = $ac_func;
86690 #endif
86691 #ifdef __cplusplus
86692 }
86693 #endif
86694
86695 int
86696 main ()
86697 {
86698 return f != $ac_func;
86699   ;
86700   return 0;
86701 }
86702 _ACEOF
86703 rm -f conftest.$ac_objext conftest$ac_exeext
86704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86705   (eval $ac_link) 2>conftest.er1
86706   ac_status=$?
86707   grep -v '^ *+' conftest.er1 >conftest.err
86708   rm -f conftest.er1
86709   cat conftest.err >&5
86710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86711   (exit $ac_status); } &&
86712          { ac_try='test -z "$ac_c_werror_flag"
86713                          || test ! -s conftest.err'
86714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86715   (eval $ac_try) 2>&5
86716   ac_status=$?
86717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86718   (exit $ac_status); }; } &&
86719          { ac_try='test -s conftest$ac_exeext'
86720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86721   (eval $ac_try) 2>&5
86722   ac_status=$?
86723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86724   (exit $ac_status); }; }; then
86725   eval "$as_ac_var=yes"
86726 else
86727   echo "$as_me: failed program was:" >&5
86728 sed 's/^/| /' conftest.$ac_ext >&5
86729
86730 eval "$as_ac_var=no"
86731 fi
86732 rm -f conftest.err conftest.$ac_objext \
86733       conftest$ac_exeext conftest.$ac_ext
86734 fi
86735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86737 if test `eval echo '${'$as_ac_var'}'` = yes; then
86738   cat >>confdefs.h <<_ACEOF
86739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86740 _ACEOF
86741  ac_XPG2funcs=yes
86742 else
86743   ac_XPG2funcs=no
86744 fi
86745 done
86746
86747
86748     LIBS="$ac_save_LIBS"
86749
86750     if test x"$ac_has_iconv_h" = xyes &&
86751        test x"$ac_has_langinfo_h" = xyes &&
86752        test x"$ac_XPG2funcs" = xyes;
86753     then
86754
86755 cat >>confdefs.h <<\_ACEOF
86756 #define _GLIBCXX_USE_ICONV 1
86757 _ACEOF
86758
86759       enable_iconv=yes
86760     fi
86761   fi
86762   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
86763 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
86764   echo "$as_me:$LINENO: result: $enable_iconv" >&5
86765 echo "${ECHO_T}$enable_iconv" >&6
86766
86767     cat >>confdefs.h <<\_ACEOF
86768 #define HAVE_COPYSIGN 1
86769 _ACEOF
86770
86771     cat >>confdefs.h <<\_ACEOF
86772 #define HAVE_COPYSIGNF 1
86773 _ACEOF
86774
86775     cat >>confdefs.h <<\_ACEOF
86776 #define HAVE_FINITE 1
86777 _ACEOF
86778
86779     cat >>confdefs.h <<\_ACEOF
86780 #define HAVE_FINITEF 1
86781 _ACEOF
86782
86783     cat >>confdefs.h <<\_ACEOF
86784 #define HAVE_FREXPF 1
86785 _ACEOF
86786
86787     cat >>confdefs.h <<\_ACEOF
86788 #define HAVE_HYPOTF 1
86789 _ACEOF
86790
86791     cat >>confdefs.h <<\_ACEOF
86792 #define HAVE_ISINF 1
86793 _ACEOF
86794
86795     cat >>confdefs.h <<\_ACEOF
86796 #define HAVE_ISINFF 1
86797 _ACEOF
86798
86799     cat >>confdefs.h <<\_ACEOF
86800 #define HAVE_ISNAN 1
86801 _ACEOF
86802
86803     cat >>confdefs.h <<\_ACEOF
86804 #define HAVE_ISNANF 1
86805 _ACEOF
86806
86807     cat >>confdefs.h <<\_ACEOF
86808 #define HAVE_SINCOS 1
86809 _ACEOF
86810
86811     cat >>confdefs.h <<\_ACEOF
86812 #define HAVE_SINCOSF 1
86813 _ACEOF
86814
86815     if test x"long_double_math_on_this_cpu" = x"yes"; then
86816       cat >>confdefs.h <<\_ACEOF
86817 #define HAVE_FINITEL 1
86818 _ACEOF
86819
86820       cat >>confdefs.h <<\_ACEOF
86821 #define HAVE_HYPOTL 1
86822 _ACEOF
86823
86824       cat >>confdefs.h <<\_ACEOF
86825 #define HAVE_ISINFL 1
86826 _ACEOF
86827
86828       cat >>confdefs.h <<\_ACEOF
86829 #define HAVE_ISNANL 1
86830 _ACEOF
86831
86832     fi
86833     ;;
86834   *-vxworks)
86835     cat >>confdefs.h <<\_ACEOF
86836 #define HAVE_MMAP 1
86837 _ACEOF
86838
86839     cat >>confdefs.h <<\_ACEOF
86840 #define HAVE_ACOSF 1
86841 _ACEOF
86842
86843     cat >>confdefs.h <<\_ACEOF
86844 #define HAVE_ASINF 1
86845 _ACEOF
86846
86847     cat >>confdefs.h <<\_ACEOF
86848 #define HAVE_ATAN2F 1
86849 _ACEOF
86850
86851     cat >>confdefs.h <<\_ACEOF
86852 #define HAVE_ATANF 1
86853 _ACEOF
86854
86855     cat >>confdefs.h <<\_ACEOF
86856 #define HAVE_CEILF 1
86857 _ACEOF
86858
86859     cat >>confdefs.h <<\_ACEOF
86860 #define HAVE_COSF 1
86861 _ACEOF
86862
86863     cat >>confdefs.h <<\_ACEOF
86864 #define HAVE_COSHF 1
86865 _ACEOF
86866
86867     cat >>confdefs.h <<\_ACEOF
86868 #define HAVE_EXPF 1
86869 _ACEOF
86870
86871     cat >>confdefs.h <<\_ACEOF
86872 #define HAVE_FABSF 1
86873 _ACEOF
86874
86875     cat >>confdefs.h <<\_ACEOF
86876 #define HAVE_FLOORF 1
86877 _ACEOF
86878
86879     cat >>confdefs.h <<\_ACEOF
86880 #define HAVE_FMODF 1
86881 _ACEOF
86882
86883     cat >>confdefs.h <<\_ACEOF
86884 #define HAVE_HYPOT 1
86885 _ACEOF
86886
86887     cat >>confdefs.h <<\_ACEOF
86888 #define HAVE_LOG10F 1
86889 _ACEOF
86890
86891     cat >>confdefs.h <<\_ACEOF
86892 #define HAVE_LOGF 1
86893 _ACEOF
86894
86895     cat >>confdefs.h <<\_ACEOF
86896 #define HAVE_POWF 1
86897 _ACEOF
86898
86899     cat >>confdefs.h <<\_ACEOF
86900 #define HAVE_SINF 1
86901 _ACEOF
86902
86903     cat >>confdefs.h <<\_ACEOF
86904 #define HAVE_SINHF 1
86905 _ACEOF
86906
86907     cat >>confdefs.h <<\_ACEOF
86908 #define HAVE_SQRTF 1
86909 _ACEOF
86910
86911     cat >>confdefs.h <<\_ACEOF
86912 #define HAVE_TANF 1
86913 _ACEOF
86914
86915     cat >>confdefs.h <<\_ACEOF
86916 #define HAVE_TANHF 1
86917 _ACEOF
86918
86919     ;;
86920   *-windiss*)
86921     cat >>confdefs.h <<\_ACEOF
86922 #define HAVE_ACOSF 1
86923 _ACEOF
86924
86925     cat >>confdefs.h <<\_ACEOF
86926 #define HAVE_ACOSL 1
86927 _ACEOF
86928
86929     cat >>confdefs.h <<\_ACEOF
86930 #define HAVE_ASINF 1
86931 _ACEOF
86932
86933     cat >>confdefs.h <<\_ACEOF
86934 #define HAVE_ASINL 1
86935 _ACEOF
86936
86937     cat >>confdefs.h <<\_ACEOF
86938 #define HAVE_ATAN2F 1
86939 _ACEOF
86940
86941     cat >>confdefs.h <<\_ACEOF
86942 #define HAVE_ATAN2L 1
86943 _ACEOF
86944
86945     cat >>confdefs.h <<\_ACEOF
86946 #define HAVE_ATANF 1
86947 _ACEOF
86948
86949     cat >>confdefs.h <<\_ACEOF
86950 #define HAVE_ATANL 1
86951 _ACEOF
86952
86953     cat >>confdefs.h <<\_ACEOF
86954 #define HAVE_CEILF 1
86955 _ACEOF
86956
86957     cat >>confdefs.h <<\_ACEOF
86958 #define HAVE_CEILL 1
86959 _ACEOF
86960
86961     cat >>confdefs.h <<\_ACEOF
86962 #define HAVE_COPYSIGN 1
86963 _ACEOF
86964
86965     cat >>confdefs.h <<\_ACEOF
86966 #define HAVE_COPYSIGNF 1
86967 _ACEOF
86968
86969     cat >>confdefs.h <<\_ACEOF
86970 #define HAVE_COSF 1
86971 _ACEOF
86972
86973     cat >>confdefs.h <<\_ACEOF
86974 #define HAVE_COSL 1
86975 _ACEOF
86976
86977     cat >>confdefs.h <<\_ACEOF
86978 #define HAVE_COSHF 1
86979 _ACEOF
86980
86981     cat >>confdefs.h <<\_ACEOF
86982 #define HAVE_COSHL 1
86983 _ACEOF
86984
86985     cat >>confdefs.h <<\_ACEOF
86986 #define HAVE_EXPF 1
86987 _ACEOF
86988
86989     cat >>confdefs.h <<\_ACEOF
86990 #define HAVE_EXPL 1
86991 _ACEOF
86992
86993     cat >>confdefs.h <<\_ACEOF
86994 #define HAVE_FABSF 1
86995 _ACEOF
86996
86997     cat >>confdefs.h <<\_ACEOF
86998 #define HAVE_FABSL 1
86999 _ACEOF
87000
87001     cat >>confdefs.h <<\_ACEOF
87002 #define HAVE_FLOORF 1
87003 _ACEOF
87004
87005     cat >>confdefs.h <<\_ACEOF
87006 #define HAVE_FLOORL 1
87007 _ACEOF
87008
87009     cat >>confdefs.h <<\_ACEOF
87010 #define HAVE_FMODF 1
87011 _ACEOF
87012
87013     cat >>confdefs.h <<\_ACEOF
87014 #define HAVE_FMODL 1
87015 _ACEOF
87016
87017     cat >>confdefs.h <<\_ACEOF
87018 #define HAVE_FREXPF 1
87019 _ACEOF
87020
87021     cat >>confdefs.h <<\_ACEOF
87022 #define HAVE_FREXPL 1
87023 _ACEOF
87024
87025     cat >>confdefs.h <<\_ACEOF
87026 #define HAVE_LDEXPF 1
87027 _ACEOF
87028
87029     cat >>confdefs.h <<\_ACEOF
87030 #define HAVE_LDEXPL 1
87031 _ACEOF
87032
87033     cat >>confdefs.h <<\_ACEOF
87034 #define HAVE_LOG10F 1
87035 _ACEOF
87036
87037     cat >>confdefs.h <<\_ACEOF
87038 #define HAVE_LOG10L 1
87039 _ACEOF
87040
87041     cat >>confdefs.h <<\_ACEOF
87042 #define HAVE_LOGF 1
87043 _ACEOF
87044
87045     cat >>confdefs.h <<\_ACEOF
87046 #define HAVE_MODFF 1
87047 _ACEOF
87048
87049     cat >>confdefs.h <<\_ACEOF
87050 #define HAVE_MODFL 1
87051 _ACEOF
87052
87053     cat >>confdefs.h <<\_ACEOF
87054 #define HAVE_POWF 1
87055 _ACEOF
87056
87057     cat >>confdefs.h <<\_ACEOF
87058 #define HAVE_POWL 1
87059 _ACEOF
87060
87061     cat >>confdefs.h <<\_ACEOF
87062 #define HAVE_SINF 1
87063 _ACEOF
87064
87065     cat >>confdefs.h <<\_ACEOF
87066 #define HAVE_SINL 1
87067 _ACEOF
87068
87069     cat >>confdefs.h <<\_ACEOF
87070 #define HAVE_SINHF 1
87071 _ACEOF
87072
87073     cat >>confdefs.h <<\_ACEOF
87074 #define HAVE_SINHL 1
87075 _ACEOF
87076
87077     cat >>confdefs.h <<\_ACEOF
87078 #define HAVE_SQRTF 1
87079 _ACEOF
87080
87081     cat >>confdefs.h <<\_ACEOF
87082 #define HAVE_SQRTL 1
87083 _ACEOF
87084
87085     cat >>confdefs.h <<\_ACEOF
87086 #define HAVE_TANF 1
87087 _ACEOF
87088
87089     cat >>confdefs.h <<\_ACEOF
87090 #define HAVE_TANL 1
87091 _ACEOF
87092
87093     cat >>confdefs.h <<\_ACEOF
87094 #define HAVE_TANHF 1
87095 _ACEOF
87096
87097     cat >>confdefs.h <<\_ACEOF
87098 #define HAVE_TANHL 1
87099 _ACEOF
87100
87101     ;;
87102   *)
87103     { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
87104 echo "$as_me: error: No support for this host/target combination." >&2;}
87105    { (exit 1); exit 1; }; }
87106    ;;
87107 esac
87108
87109   fi
87110
87111   # At some point, we should differentiate between architectures
87112   # like x86, which have long double versions, and alpha/powerpc/etc.,
87113   # which don't. For the time being, punt.
87114   if test x"long_double_math_on_this_cpu" = x"yes"; then
87115     cat >>confdefs.h <<\_ACEOF
87116 #define HAVE_ACOSL 1
87117 _ACEOF
87118
87119     cat >>confdefs.h <<\_ACEOF
87120 #define HAVE_ASINL 1
87121 _ACEOF
87122
87123     cat >>confdefs.h <<\_ACEOF
87124 #define HAVE_ATAN2L 1
87125 _ACEOF
87126
87127     cat >>confdefs.h <<\_ACEOF
87128 #define HAVE_ATANL 1
87129 _ACEOF
87130
87131     cat >>confdefs.h <<\_ACEOF
87132 #define HAVE_CEILL 1
87133 _ACEOF
87134
87135     cat >>confdefs.h <<\_ACEOF
87136 #define HAVE_COPYSIGNL 1
87137 _ACEOF
87138
87139     cat >>confdefs.h <<\_ACEOF
87140 #define HAVE_COSL 1
87141 _ACEOF
87142
87143     cat >>confdefs.h <<\_ACEOF
87144 #define HAVE_COSHL 1
87145 _ACEOF
87146
87147     cat >>confdefs.h <<\_ACEOF
87148 #define HAVE_EXPL 1
87149 _ACEOF
87150
87151     cat >>confdefs.h <<\_ACEOF
87152 #define HAVE_FABSL 1
87153 _ACEOF
87154
87155     cat >>confdefs.h <<\_ACEOF
87156 #define HAVE_FLOORL 1
87157 _ACEOF
87158
87159     cat >>confdefs.h <<\_ACEOF
87160 #define HAVE_FMODL 1
87161 _ACEOF
87162
87163     cat >>confdefs.h <<\_ACEOF
87164 #define HAVE_FREXPL 1
87165 _ACEOF
87166
87167     cat >>confdefs.h <<\_ACEOF
87168 #define HAVE_LDEXPL 1
87169 _ACEOF
87170
87171     cat >>confdefs.h <<\_ACEOF
87172 #define HAVE_LOG10L 1
87173 _ACEOF
87174
87175     cat >>confdefs.h <<\_ACEOF
87176 #define HAVE_LOGL 1
87177 _ACEOF
87178
87179     cat >>confdefs.h <<\_ACEOF
87180 #define HAVE_MODFL 1
87181 _ACEOF
87182
87183     cat >>confdefs.h <<\_ACEOF
87184 #define HAVE_POWL 1
87185 _ACEOF
87186
87187     cat >>confdefs.h <<\_ACEOF
87188 #define HAVE_SINCOSL 1
87189 _ACEOF
87190
87191     cat >>confdefs.h <<\_ACEOF
87192 #define HAVE_SINL 1
87193 _ACEOF
87194
87195     cat >>confdefs.h <<\_ACEOF
87196 #define HAVE_SINHL 1
87197 _ACEOF
87198
87199     cat >>confdefs.h <<\_ACEOF
87200 #define HAVE_SQRTL 1
87201 _ACEOF
87202
87203     cat >>confdefs.h <<\_ACEOF
87204 #define HAVE_TANL 1
87205 _ACEOF
87206
87207     cat >>confdefs.h <<\_ACEOF
87208 #define HAVE_TANHL 1
87209 _ACEOF
87210
87211   fi
87212
87213 fi
87214
87215 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
87216
87217
87218  # Check whether --enable-symvers or --disable-symvers was given.
87219 if test "${enable_symvers+set}" = set; then
87220   enableval="$enable_symvers"
87221
87222       case "$enableval" in
87223        yes|no|gnu|darwin-export) ;;
87224        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
87225 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
87226    { (exit 1); exit 1; }; } ;;
87227                           esac
87228
87229 else
87230   enable_symvers=yes
87231 fi;
87232
87233
87234 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
87235 # don't know enough about $LD to do tricks...
87236
87237
87238 # Turn a 'yes' into a suitable default.
87239 if test x$enable_symvers = xyes ; then
87240   if test $enable_shared = no ||
87241      test "x$LD" = x ; then
87242     enable_symvers=no
87243   elif test $with_gnu_ld == yes ; then
87244     enable_symvers=gnu
87245   else
87246     case ${target_os} in
87247       darwin*)
87248         enable_symvers=darwin-export ;;
87249       *)
87250       { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
87251 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
87252       { echo "$as_me:$LINENO: WARNING: === you are not using a supported linker." >&5
87253 echo "$as_me: WARNING: === you are not using a supported linker." >&2;}
87254       { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87255 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87256         enable_symvers=no ;;
87257     esac
87258   fi
87259 fi
87260
87261 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
87262 if test $enable_symvers != no; then
87263   echo "$as_me:$LINENO: checking for shared libgcc" >&5
87264 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
87265   ac_save_CFLAGS="$CFLAGS"
87266   CFLAGS=' -lgcc_s'
87267   if test x$gcc_no_link = xyes; then
87268   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87270    { (exit 1); exit 1; }; }
87271 fi
87272 cat >conftest.$ac_ext <<_ACEOF
87273 /* confdefs.h.  */
87274 _ACEOF
87275 cat confdefs.h >>conftest.$ac_ext
87276 cat >>conftest.$ac_ext <<_ACEOF
87277 /* end confdefs.h.  */
87278
87279 int
87280 main ()
87281 {
87282 return 0;
87283   ;
87284   return 0;
87285 }
87286 _ACEOF
87287 rm -f conftest.$ac_objext conftest$ac_exeext
87288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87289   (eval $ac_link) 2>conftest.er1
87290   ac_status=$?
87291   grep -v '^ *+' conftest.er1 >conftest.err
87292   rm -f conftest.er1
87293   cat conftest.err >&5
87294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87295   (exit $ac_status); } &&
87296          { ac_try='test -z "$ac_c_werror_flag"
87297                          || test ! -s conftest.err'
87298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87299   (eval $ac_try) 2>&5
87300   ac_status=$?
87301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87302   (exit $ac_status); }; } &&
87303          { ac_try='test -s conftest$ac_exeext'
87304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87305   (eval $ac_try) 2>&5
87306   ac_status=$?
87307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87308   (exit $ac_status); }; }; then
87309   glibcxx_shared_libgcc=yes
87310 else
87311   echo "$as_me: failed program was:" >&5
87312 sed 's/^/| /' conftest.$ac_ext >&5
87313
87314 glibcxx_shared_libgcc=no
87315 fi
87316 rm -f conftest.err conftest.$ac_objext \
87317       conftest$ac_exeext conftest.$ac_ext
87318   CFLAGS="$ac_save_CFLAGS"
87319   if test $glibcxx_shared_libgcc = no; then
87320     cat > conftest.c <<EOF
87321 int main (void) { return 0; }
87322 EOF
87323     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
87324                              -shared -shared-libgcc -o conftest.so \
87325                              conftest.c -v 2>&1 >/dev/null \
87326                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
87327     rm -f conftest.c conftest.so
87328     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
87329       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
87330       if test x$gcc_no_link = xyes; then
87331   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87333    { (exit 1); exit 1; }; }
87334 fi
87335 cat >conftest.$ac_ext <<_ACEOF
87336 /* confdefs.h.  */
87337 _ACEOF
87338 cat confdefs.h >>conftest.$ac_ext
87339 cat >>conftest.$ac_ext <<_ACEOF
87340 /* end confdefs.h.  */
87341
87342 int
87343 main ()
87344 {
87345 return 0;
87346   ;
87347   return 0;
87348 }
87349 _ACEOF
87350 rm -f conftest.$ac_objext conftest$ac_exeext
87351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87352   (eval $ac_link) 2>conftest.er1
87353   ac_status=$?
87354   grep -v '^ *+' conftest.er1 >conftest.err
87355   rm -f conftest.er1
87356   cat conftest.err >&5
87357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87358   (exit $ac_status); } &&
87359          { ac_try='test -z "$ac_c_werror_flag"
87360                          || test ! -s conftest.err'
87361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87362   (eval $ac_try) 2>&5
87363   ac_status=$?
87364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87365   (exit $ac_status); }; } &&
87366          { ac_try='test -s conftest$ac_exeext'
87367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87368   (eval $ac_try) 2>&5
87369   ac_status=$?
87370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87371   (exit $ac_status); }; }; then
87372   glibcxx_shared_libgcc=yes
87373 else
87374   echo "$as_me: failed program was:" >&5
87375 sed 's/^/| /' conftest.$ac_ext >&5
87376
87377 fi
87378 rm -f conftest.err conftest.$ac_objext \
87379       conftest$ac_exeext conftest.$ac_ext
87380       CFLAGS="$ac_save_CFLAGS"
87381     fi
87382   fi
87383   echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
87384 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
87385 fi
87386
87387 # If no shared libgcc, can't win.
87388 if test $glibcxx_shared_libgcc != yes &&
87389    test $enable_symvers != no ; then
87390     { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
87391 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
87392     { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
87393 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
87394     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87395 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87396     enable_symvers=no
87397   enable_symvers=no
87398 fi
87399
87400 # Check to see if 'gnu' can win.
87401 if test $enable_symvers = gnu; then
87402   # For GNU ld, we need at least this version.  The format is described in
87403   # GLIBCXX_CHECK_LINKER_FEATURES above.
87404   glibcxx_min_gnu_ld_version=21400
87405
87406   if test $with_gnu_ld != yes ; then
87407     # just fail for now
87408     { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
87409 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
87410     { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
87411 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
87412     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87413 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87414     enable_symvers=no
87415   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
87416     # The right tools, the right setup, but too old.  Fallbacks?
87417     { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
87418 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
87419     { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
87420 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
87421     { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
87422 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
87423     { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
87424 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
87425     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87426 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87427     enable_symvers=no
87428   fi
87429 fi
87430
87431 # Everything parsed; figure out what file to use.
87432 case $enable_symvers in
87433   no)
87434     SYMVER_MAP=config/linker-map.dummy
87435     ;;
87436   gnu)
87437     SYMVER_MAP=config/linker-map.gnu
87438
87439 cat >>confdefs.h <<\_ACEOF
87440 #define _GLIBCXX_SYMVER 1
87441 _ACEOF
87442
87443     ;;
87444   darwin-export)
87445     SYMVER_MAP=config/linker-map.gnu
87446     ;;
87447 esac
87448
87449 # In addition, need this to deal with std::size_t mangling in
87450 # src/compatibility.cc.  In a perfect world, could use
87451 # typeid(std::size_t).name()[0] to do direct substitution.
87452 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
87453 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
87454 ac_save_CFLAGS="$CFLAGS"
87455 CFLAGS="-Werror"
87456 cat >conftest.$ac_ext <<_ACEOF
87457 /* confdefs.h.  */
87458 _ACEOF
87459 cat confdefs.h >>conftest.$ac_ext
87460 cat >>conftest.$ac_ext <<_ACEOF
87461 /* end confdefs.h.  */
87462
87463 int
87464 main ()
87465 {
87466 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
87467   ;
87468   return 0;
87469 }
87470 _ACEOF
87471 rm -f conftest.$ac_objext
87472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87473   (eval $ac_compile) 2>conftest.er1
87474   ac_status=$?
87475   grep -v '^ *+' conftest.er1 >conftest.err
87476   rm -f conftest.er1
87477   cat conftest.err >&5
87478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87479   (exit $ac_status); } &&
87480          { ac_try='test -z "$ac_c_werror_flag"
87481                          || test ! -s conftest.err'
87482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87483   (eval $ac_try) 2>&5
87484   ac_status=$?
87485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87486   (exit $ac_status); }; } &&
87487          { ac_try='test -s conftest.$ac_objext'
87488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87489   (eval $ac_try) 2>&5
87490   ac_status=$?
87491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87492   (exit $ac_status); }; }; then
87493   glibcxx_size_t_is_i=yes
87494 else
87495   echo "$as_me: failed program was:" >&5
87496 sed 's/^/| /' conftest.$ac_ext >&5
87497
87498 glibcxx_size_t_is_i=no
87499 fi
87500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87501 CFLAGS=$ac_save_CFLAGS
87502 if test "$glibcxx_size_t_is_i" = yes; then
87503
87504 cat >>confdefs.h <<\_ACEOF
87505 #define _GLIBCXX_SIZE_T_IS_UINT 1
87506 _ACEOF
87507
87508 fi
87509 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
87510 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
87511
87512 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
87513 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
87514 ac_save_CFLAGS="$CFLAGS"
87515 CFLAGS="-Werror"
87516 cat >conftest.$ac_ext <<_ACEOF
87517 /* confdefs.h.  */
87518 _ACEOF
87519 cat confdefs.h >>conftest.$ac_ext
87520 cat >>conftest.$ac_ext <<_ACEOF
87521 /* end confdefs.h.  */
87522
87523 int
87524 main ()
87525 {
87526 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
87527   ;
87528   return 0;
87529 }
87530 _ACEOF
87531 rm -f conftest.$ac_objext
87532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87533   (eval $ac_compile) 2>conftest.er1
87534   ac_status=$?
87535   grep -v '^ *+' conftest.er1 >conftest.err
87536   rm -f conftest.er1
87537   cat conftest.err >&5
87538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87539   (exit $ac_status); } &&
87540          { ac_try='test -z "$ac_c_werror_flag"
87541                          || test ! -s conftest.err'
87542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87543   (eval $ac_try) 2>&5
87544   ac_status=$?
87545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87546   (exit $ac_status); }; } &&
87547          { ac_try='test -s conftest.$ac_objext'
87548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87549   (eval $ac_try) 2>&5
87550   ac_status=$?
87551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87552   (exit $ac_status); }; }; then
87553   glibcxx_ptrdiff_t_is_i=yes
87554 else
87555   echo "$as_me: failed program was:" >&5
87556 sed 's/^/| /' conftest.$ac_ext >&5
87557
87558 glibcxx_ptrdiff_t_is_i=no
87559 fi
87560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87561 CFLAGS=$ac_save_CFLAGS
87562 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
87563
87564 cat >>confdefs.h <<\_ACEOF
87565 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
87566 _ACEOF
87567
87568 fi
87569 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
87570 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
87571
87572
87573
87574
87575
87576 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
87577 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
87578
87579
87580 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
87581
87582   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
87583                         test $enable_symvers != no; then
87584     # Do checks for resource limit functions.
87585
87586   setrlimit_have_headers=yes
87587
87588
87589
87590 for ac_header in unistd.h sys/time.h sys/resource.h
87591 do
87592 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87594   echo "$as_me:$LINENO: checking for $ac_header" >&5
87595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87597   echo $ECHO_N "(cached) $ECHO_C" >&6
87598 fi
87599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87600 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87601 else
87602   # Is the header compilable?
87603 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87604 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87605 cat >conftest.$ac_ext <<_ACEOF
87606 /* confdefs.h.  */
87607 _ACEOF
87608 cat confdefs.h >>conftest.$ac_ext
87609 cat >>conftest.$ac_ext <<_ACEOF
87610 /* end confdefs.h.  */
87611 $ac_includes_default
87612 #include <$ac_header>
87613 _ACEOF
87614 rm -f conftest.$ac_objext
87615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87616   (eval $ac_compile) 2>conftest.er1
87617   ac_status=$?
87618   grep -v '^ *+' conftest.er1 >conftest.err
87619   rm -f conftest.er1
87620   cat conftest.err >&5
87621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87622   (exit $ac_status); } &&
87623          { ac_try='test -z "$ac_c_werror_flag"
87624                          || test ! -s conftest.err'
87625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87626   (eval $ac_try) 2>&5
87627   ac_status=$?
87628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87629   (exit $ac_status); }; } &&
87630          { ac_try='test -s conftest.$ac_objext'
87631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87632   (eval $ac_try) 2>&5
87633   ac_status=$?
87634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87635   (exit $ac_status); }; }; then
87636   ac_header_compiler=yes
87637 else
87638   echo "$as_me: failed program was:" >&5
87639 sed 's/^/| /' conftest.$ac_ext >&5
87640
87641 ac_header_compiler=no
87642 fi
87643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87644 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87645 echo "${ECHO_T}$ac_header_compiler" >&6
87646
87647 # Is the header present?
87648 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87649 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87650 cat >conftest.$ac_ext <<_ACEOF
87651 /* confdefs.h.  */
87652 _ACEOF
87653 cat confdefs.h >>conftest.$ac_ext
87654 cat >>conftest.$ac_ext <<_ACEOF
87655 /* end confdefs.h.  */
87656 #include <$ac_header>
87657 _ACEOF
87658 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87659   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87660   ac_status=$?
87661   grep -v '^ *+' conftest.er1 >conftest.err
87662   rm -f conftest.er1
87663   cat conftest.err >&5
87664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87665   (exit $ac_status); } >/dev/null; then
87666   if test -s conftest.err; then
87667     ac_cpp_err=$ac_c_preproc_warn_flag
87668     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87669   else
87670     ac_cpp_err=
87671   fi
87672 else
87673   ac_cpp_err=yes
87674 fi
87675 if test -z "$ac_cpp_err"; then
87676   ac_header_preproc=yes
87677 else
87678   echo "$as_me: failed program was:" >&5
87679 sed 's/^/| /' conftest.$ac_ext >&5
87680
87681   ac_header_preproc=no
87682 fi
87683 rm -f conftest.err conftest.$ac_ext
87684 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87685 echo "${ECHO_T}$ac_header_preproc" >&6
87686
87687 # So?  What about this header?
87688 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87689   yes:no: )
87690     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87691 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87692     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87693 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87694     ac_header_preproc=yes
87695     ;;
87696   no:yes:* )
87697     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87698 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87699     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
87700 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
87701     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87702 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87703     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
87704 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
87705     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87706 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87707     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87708 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87709     (
87710       cat <<\_ASBOX
87711 ## ----------------------------------------- ##
87712 ## Report this to the package-unused lists.  ##
87713 ## ----------------------------------------- ##
87714 _ASBOX
87715     ) |
87716       sed "s/^/$as_me: WARNING:     /" >&2
87717     ;;
87718 esac
87719 echo "$as_me:$LINENO: checking for $ac_header" >&5
87720 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87722   echo $ECHO_N "(cached) $ECHO_C" >&6
87723 else
87724   eval "$as_ac_Header=\$ac_header_preproc"
87725 fi
87726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87727 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87728
87729 fi
87730 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87731   cat >>confdefs.h <<_ACEOF
87732 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87733 _ACEOF
87734
87735 else
87736   setrlimit_have_headers=no
87737 fi
87738
87739 done
87740
87741   # If don't have the headers, then we can't run the tests now, and we
87742   # won't be seeing any of these during testsuite compilation.
87743   if test $setrlimit_have_headers = yes; then
87744     # Can't do these in a loop, else the resulting syntax is wrong.
87745
87746   echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
87747 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
87748   cat >conftest.$ac_ext <<_ACEOF
87749 /* confdefs.h.  */
87750 _ACEOF
87751 cat confdefs.h >>conftest.$ac_ext
87752 cat >>conftest.$ac_ext <<_ACEOF
87753 /* end confdefs.h.  */
87754 #include <unistd.h>
87755      #include <sys/time.h>
87756      #include <sys/resource.h>
87757
87758 int
87759 main ()
87760 {
87761  int f = RLIMIT_DATA ;
87762   ;
87763   return 0;
87764 }
87765 _ACEOF
87766 rm -f conftest.$ac_objext
87767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87768   (eval $ac_compile) 2>conftest.er1
87769   ac_status=$?
87770   grep -v '^ *+' conftest.er1 >conftest.err
87771   rm -f conftest.er1
87772   cat conftest.err >&5
87773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87774   (exit $ac_status); } &&
87775          { ac_try='test -z "$ac_c_werror_flag"
87776                          || test ! -s conftest.err'
87777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87778   (eval $ac_try) 2>&5
87779   ac_status=$?
87780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87781   (exit $ac_status); }; } &&
87782          { ac_try='test -s conftest.$ac_objext'
87783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87784   (eval $ac_try) 2>&5
87785   ac_status=$?
87786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87787   (exit $ac_status); }; }; then
87788   glibcxx_mresult=1
87789 else
87790   echo "$as_me: failed program was:" >&5
87791 sed 's/^/| /' conftest.$ac_ext >&5
87792
87793 glibcxx_mresult=0
87794 fi
87795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87796
87797 cat >>confdefs.h <<_ACEOF
87798 #define HAVE_LIMIT_DATA $glibcxx_mresult
87799 _ACEOF
87800
87801   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
87802   echo "$as_me:$LINENO: result: $res" >&5
87803 echo "${ECHO_T}$res" >&6
87804
87805
87806   echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
87807 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
87808   cat >conftest.$ac_ext <<_ACEOF
87809 /* confdefs.h.  */
87810 _ACEOF
87811 cat confdefs.h >>conftest.$ac_ext
87812 cat >>conftest.$ac_ext <<_ACEOF
87813 /* end confdefs.h.  */
87814 #include <unistd.h>
87815      #include <sys/time.h>
87816      #include <sys/resource.h>
87817
87818 int
87819 main ()
87820 {
87821  int f = RLIMIT_RSS ;
87822   ;
87823   return 0;
87824 }
87825 _ACEOF
87826 rm -f conftest.$ac_objext
87827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87828   (eval $ac_compile) 2>conftest.er1
87829   ac_status=$?
87830   grep -v '^ *+' conftest.er1 >conftest.err
87831   rm -f conftest.er1
87832   cat conftest.err >&5
87833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87834   (exit $ac_status); } &&
87835          { ac_try='test -z "$ac_c_werror_flag"
87836                          || test ! -s conftest.err'
87837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87838   (eval $ac_try) 2>&5
87839   ac_status=$?
87840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87841   (exit $ac_status); }; } &&
87842          { ac_try='test -s conftest.$ac_objext'
87843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87844   (eval $ac_try) 2>&5
87845   ac_status=$?
87846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87847   (exit $ac_status); }; }; then
87848   glibcxx_mresult=1
87849 else
87850   echo "$as_me: failed program was:" >&5
87851 sed 's/^/| /' conftest.$ac_ext >&5
87852
87853 glibcxx_mresult=0
87854 fi
87855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87856
87857 cat >>confdefs.h <<_ACEOF
87858 #define HAVE_LIMIT_RSS $glibcxx_mresult
87859 _ACEOF
87860
87861   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
87862   echo "$as_me:$LINENO: result: $res" >&5
87863 echo "${ECHO_T}$res" >&6
87864
87865
87866   echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
87867 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
87868   cat >conftest.$ac_ext <<_ACEOF
87869 /* confdefs.h.  */
87870 _ACEOF
87871 cat confdefs.h >>conftest.$ac_ext
87872 cat >>conftest.$ac_ext <<_ACEOF
87873 /* end confdefs.h.  */
87874 #include <unistd.h>
87875      #include <sys/time.h>
87876      #include <sys/resource.h>
87877
87878 int
87879 main ()
87880 {
87881  int f = RLIMIT_VMEM ;
87882   ;
87883   return 0;
87884 }
87885 _ACEOF
87886 rm -f conftest.$ac_objext
87887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87888   (eval $ac_compile) 2>conftest.er1
87889   ac_status=$?
87890   grep -v '^ *+' conftest.er1 >conftest.err
87891   rm -f conftest.er1
87892   cat conftest.err >&5
87893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87894   (exit $ac_status); } &&
87895          { ac_try='test -z "$ac_c_werror_flag"
87896                          || test ! -s conftest.err'
87897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87898   (eval $ac_try) 2>&5
87899   ac_status=$?
87900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87901   (exit $ac_status); }; } &&
87902          { ac_try='test -s conftest.$ac_objext'
87903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87904   (eval $ac_try) 2>&5
87905   ac_status=$?
87906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87907   (exit $ac_status); }; }; then
87908   glibcxx_mresult=1
87909 else
87910   echo "$as_me: failed program was:" >&5
87911 sed 's/^/| /' conftest.$ac_ext >&5
87912
87913 glibcxx_mresult=0
87914 fi
87915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87916
87917 cat >>confdefs.h <<_ACEOF
87918 #define HAVE_LIMIT_VMEM $glibcxx_mresult
87919 _ACEOF
87920
87921   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
87922   echo "$as_me:$LINENO: result: $res" >&5
87923 echo "${ECHO_T}$res" >&6
87924
87925
87926   echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
87927 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
87928   cat >conftest.$ac_ext <<_ACEOF
87929 /* confdefs.h.  */
87930 _ACEOF
87931 cat confdefs.h >>conftest.$ac_ext
87932 cat >>conftest.$ac_ext <<_ACEOF
87933 /* end confdefs.h.  */
87934 #include <unistd.h>
87935      #include <sys/time.h>
87936      #include <sys/resource.h>
87937
87938 int
87939 main ()
87940 {
87941  int f = RLIMIT_AS ;
87942   ;
87943   return 0;
87944 }
87945 _ACEOF
87946 rm -f conftest.$ac_objext
87947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87948   (eval $ac_compile) 2>conftest.er1
87949   ac_status=$?
87950   grep -v '^ *+' conftest.er1 >conftest.err
87951   rm -f conftest.er1
87952   cat conftest.err >&5
87953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87954   (exit $ac_status); } &&
87955          { ac_try='test -z "$ac_c_werror_flag"
87956                          || test ! -s conftest.err'
87957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87958   (eval $ac_try) 2>&5
87959   ac_status=$?
87960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87961   (exit $ac_status); }; } &&
87962          { ac_try='test -s conftest.$ac_objext'
87963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87964   (eval $ac_try) 2>&5
87965   ac_status=$?
87966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87967   (exit $ac_status); }; }; then
87968   glibcxx_mresult=1
87969 else
87970   echo "$as_me: failed program was:" >&5
87971 sed 's/^/| /' conftest.$ac_ext >&5
87972
87973 glibcxx_mresult=0
87974 fi
87975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87976
87977 cat >>confdefs.h <<_ACEOF
87978 #define HAVE_LIMIT_AS $glibcxx_mresult
87979 _ACEOF
87980
87981   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
87982   echo "$as_me:$LINENO: result: $res" >&5
87983 echo "${ECHO_T}$res" >&6
87984
87985
87986   echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
87987 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
87988   cat >conftest.$ac_ext <<_ACEOF
87989 /* confdefs.h.  */
87990 _ACEOF
87991 cat confdefs.h >>conftest.$ac_ext
87992 cat >>conftest.$ac_ext <<_ACEOF
87993 /* end confdefs.h.  */
87994 #include <unistd.h>
87995      #include <sys/time.h>
87996      #include <sys/resource.h>
87997
87998 int
87999 main ()
88000 {
88001  int f = RLIMIT_FSIZE ;
88002   ;
88003   return 0;
88004 }
88005 _ACEOF
88006 rm -f conftest.$ac_objext
88007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88008   (eval $ac_compile) 2>conftest.er1
88009   ac_status=$?
88010   grep -v '^ *+' conftest.er1 >conftest.err
88011   rm -f conftest.er1
88012   cat conftest.err >&5
88013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88014   (exit $ac_status); } &&
88015          { ac_try='test -z "$ac_c_werror_flag"
88016                          || test ! -s conftest.err'
88017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88018   (eval $ac_try) 2>&5
88019   ac_status=$?
88020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88021   (exit $ac_status); }; } &&
88022          { ac_try='test -s conftest.$ac_objext'
88023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88024   (eval $ac_try) 2>&5
88025   ac_status=$?
88026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88027   (exit $ac_status); }; }; then
88028   glibcxx_mresult=1
88029 else
88030   echo "$as_me: failed program was:" >&5
88031 sed 's/^/| /' conftest.$ac_ext >&5
88032
88033 glibcxx_mresult=0
88034 fi
88035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88036
88037 cat >>confdefs.h <<_ACEOF
88038 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
88039 _ACEOF
88040
88041   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
88042   echo "$as_me:$LINENO: result: $res" >&5
88043 echo "${ECHO_T}$res" >&6
88044
88045
88046     # Check for rlimit, setrlimit.
88047     if test "${ac_setrlimit+set}" = set; then
88048   echo $ECHO_N "(cached) $ECHO_C" >&6
88049 else
88050
88051       cat >conftest.$ac_ext <<_ACEOF
88052 /* confdefs.h.  */
88053 _ACEOF
88054 cat confdefs.h >>conftest.$ac_ext
88055 cat >>conftest.$ac_ext <<_ACEOF
88056 /* end confdefs.h.  */
88057 #include <unistd.h>
88058          #include <sys/time.h>
88059          #include <sys/resource.h>
88060
88061 int
88062 main ()
88063 {
88064 struct rlimit r;
88065          setrlimit(0, &r);
88066   ;
88067   return 0;
88068 }
88069 _ACEOF
88070 rm -f conftest.$ac_objext
88071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88072   (eval $ac_compile) 2>conftest.er1
88073   ac_status=$?
88074   grep -v '^ *+' conftest.er1 >conftest.err
88075   rm -f conftest.er1
88076   cat conftest.err >&5
88077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88078   (exit $ac_status); } &&
88079          { ac_try='test -z "$ac_c_werror_flag"
88080                          || test ! -s conftest.err'
88081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88082   (eval $ac_try) 2>&5
88083   ac_status=$?
88084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88085   (exit $ac_status); }; } &&
88086          { ac_try='test -s conftest.$ac_objext'
88087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88088   (eval $ac_try) 2>&5
88089   ac_status=$?
88090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88091   (exit $ac_status); }; }; then
88092   ac_setrlimit=yes
88093 else
88094   echo "$as_me: failed program was:" >&5
88095 sed 's/^/| /' conftest.$ac_ext >&5
88096
88097 ac_setrlimit=no
88098 fi
88099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88100
88101 fi
88102
88103   fi
88104
88105   echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
88106 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
88107   if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
88108     ac_res_limits=yes
88109
88110 cat >>confdefs.h <<\_ACEOF
88111 #define _GLIBCXX_RES_LIMITS 1
88112 _ACEOF
88113
88114   else
88115     ac_res_limits=no
88116   fi
88117   echo "$as_me:$LINENO: result: $ac_res_limits" >&5
88118 echo "${ECHO_T}$ac_res_limits" >&6
88119
88120
88121     # Look for setenv, so that extended locale tests can be performed.
88122
88123   echo "$as_me:$LINENO: checking for setenv declaration" >&5
88124 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
88125   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
88126     if test "${glibcxx_cv_func_setenv_use+set}" = set; then
88127   echo $ECHO_N "(cached) $ECHO_C" >&6
88128 else
88129
88130
88131
88132       ac_ext=cc
88133 ac_cpp='$CXXCPP $CPPFLAGS'
88134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88137
88138       cat >conftest.$ac_ext <<_ACEOF
88139 /* confdefs.h.  */
88140 _ACEOF
88141 cat confdefs.h >>conftest.$ac_ext
88142 cat >>conftest.$ac_ext <<_ACEOF
88143 /* end confdefs.h.  */
88144 #include <stdlib.h>
88145 int
88146 main ()
88147 {
88148  setenv(0, 0, 0);
88149   ;
88150   return 0;
88151 }
88152 _ACEOF
88153 rm -f conftest.$ac_objext
88154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88155   (eval $ac_compile) 2>conftest.er1
88156   ac_status=$?
88157   grep -v '^ *+' conftest.er1 >conftest.err
88158   rm -f conftest.er1
88159   cat conftest.err >&5
88160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88161   (exit $ac_status); } &&
88162          { ac_try='test -z "$ac_cxx_werror_flag"
88163                          || test ! -s conftest.err'
88164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88165   (eval $ac_try) 2>&5
88166   ac_status=$?
88167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88168   (exit $ac_status); }; } &&
88169          { ac_try='test -s conftest.$ac_objext'
88170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88171   (eval $ac_try) 2>&5
88172   ac_status=$?
88173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88174   (exit $ac_status); }; }; then
88175   glibcxx_cv_func_setenv_use=yes
88176 else
88177   echo "$as_me: failed program was:" >&5
88178 sed 's/^/| /' conftest.$ac_ext >&5
88179
88180 glibcxx_cv_func_setenv_use=no
88181 fi
88182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88183       ac_ext=c
88184 ac_cpp='$CPP $CPPFLAGS'
88185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88188
88189
88190 fi
88191
88192   fi
88193   echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
88194 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
88195   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
88196
88197 for ac_func in setenv
88198 do
88199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88200 echo "$as_me:$LINENO: checking for $ac_func" >&5
88201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88202 if eval "test \"\${$as_ac_var+set}\" = set"; then
88203   echo $ECHO_N "(cached) $ECHO_C" >&6
88204 else
88205   if test x$gcc_no_link = xyes; then
88206   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88208    { (exit 1); exit 1; }; }
88209 fi
88210 cat >conftest.$ac_ext <<_ACEOF
88211 /* confdefs.h.  */
88212 _ACEOF
88213 cat confdefs.h >>conftest.$ac_ext
88214 cat >>conftest.$ac_ext <<_ACEOF
88215 /* end confdefs.h.  */
88216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88217    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88218 #define $ac_func innocuous_$ac_func
88219
88220 /* System header to define __stub macros and hopefully few prototypes,
88221     which can conflict with char $ac_func (); below.
88222     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88223     <limits.h> exists even on freestanding compilers.  */
88224
88225 #ifdef __STDC__
88226 # include <limits.h>
88227 #else
88228 # include <assert.h>
88229 #endif
88230
88231 #undef $ac_func
88232
88233 /* Override any gcc2 internal prototype to avoid an error.  */
88234 #ifdef __cplusplus
88235 extern "C"
88236 {
88237 #endif
88238 /* We use char because int might match the return type of a gcc2
88239    builtin and then its argument prototype would still apply.  */
88240 char $ac_func ();
88241 /* The GNU C library defines this for functions which it implements
88242     to always fail with ENOSYS.  Some functions are actually named
88243     something starting with __ and the normal name is an alias.  */
88244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88245 choke me
88246 #else
88247 char (*f) () = $ac_func;
88248 #endif
88249 #ifdef __cplusplus
88250 }
88251 #endif
88252
88253 int
88254 main ()
88255 {
88256 return f != $ac_func;
88257   ;
88258   return 0;
88259 }
88260 _ACEOF
88261 rm -f conftest.$ac_objext conftest$ac_exeext
88262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88263   (eval $ac_link) 2>conftest.er1
88264   ac_status=$?
88265   grep -v '^ *+' conftest.er1 >conftest.err
88266   rm -f conftest.er1
88267   cat conftest.err >&5
88268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88269   (exit $ac_status); } &&
88270          { ac_try='test -z "$ac_c_werror_flag"
88271                          || test ! -s conftest.err'
88272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88273   (eval $ac_try) 2>&5
88274   ac_status=$?
88275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88276   (exit $ac_status); }; } &&
88277          { ac_try='test -s conftest$ac_exeext'
88278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88279   (eval $ac_try) 2>&5
88280   ac_status=$?
88281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88282   (exit $ac_status); }; }; then
88283   eval "$as_ac_var=yes"
88284 else
88285   echo "$as_me: failed program was:" >&5
88286 sed 's/^/| /' conftest.$ac_ext >&5
88287
88288 eval "$as_ac_var=no"
88289 fi
88290 rm -f conftest.err conftest.$ac_objext \
88291       conftest$ac_exeext conftest.$ac_ext
88292 fi
88293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88295 if test `eval echo '${'$as_ac_var'}'` = yes; then
88296   cat >>confdefs.h <<_ACEOF
88297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88298 _ACEOF
88299
88300 fi
88301 done
88302
88303   fi
88304
88305
88306     if test $enable_symvers = no; then
88307       enable_abi_check=no
88308     else
88309       case "$host" in
88310         *-*-cygwin*)
88311           enable_abi_check=no ;;
88312         *)
88313           enable_abi_check=yes ;;
88314       esac
88315     fi
88316   else
88317     # Only build this as native, since automake does not understand
88318     # CXX_FOR_BUILD.
88319     enable_abi_check=no
88320   fi
88321
88322   # Export file names for ABI checking.
88323   baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
88324
88325
88326
88327 # Propagate the target-specific source directories through the build chain.
88328 ATOMICITY_SRCDIR=config/${atomicity_dir}
88329 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
88330 OS_INC_SRCDIR=config/${os_include_dir}
88331 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
88332
88333
88334
88335
88336
88337 # Determine cross-compile flags and AM_CONDITIONALs.
88338 #AC_SUBST(GLIBCXX_IS_NATIVE)
88339 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
88340 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
88341 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
88342
88343
88344 if test $is_hosted = yes; then
88345   GLIBCXX_HOSTED_TRUE=
88346   GLIBCXX_HOSTED_FALSE='#'
88347 else
88348   GLIBCXX_HOSTED_TRUE='#'
88349   GLIBCXX_HOSTED_FALSE=
88350 fi
88351
88352
88353
88354
88355 if test $enable_libstdcxx_pch = yes; then
88356   GLIBCXX_BUILD_PCH_TRUE=
88357   GLIBCXX_BUILD_PCH_FALSE='#'
88358 else
88359   GLIBCXX_BUILD_PCH_TRUE='#'
88360   GLIBCXX_BUILD_PCH_FALSE=
88361 fi
88362
88363
88364
88365
88366 if test $enable_cheaders = c; then
88367   GLIBCXX_C_HEADERS_C_TRUE=
88368   GLIBCXX_C_HEADERS_C_FALSE='#'
88369 else
88370   GLIBCXX_C_HEADERS_C_TRUE='#'
88371   GLIBCXX_C_HEADERS_C_FALSE=
88372 fi
88373
88374
88375
88376
88377 if test $enable_cheaders = c_std; then
88378   GLIBCXX_C_HEADERS_C_STD_TRUE=
88379   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
88380 else
88381   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
88382   GLIBCXX_C_HEADERS_C_STD_FALSE=
88383 fi
88384
88385
88386
88387
88388 if test $c_compatibility = yes; then
88389   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
88390   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
88391 else
88392   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
88393   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
88394 fi
88395
88396
88397
88398
88399 if test $enable_libstdcxx_debug = yes; then
88400   GLIBCXX_BUILD_DEBUG_TRUE=
88401   GLIBCXX_BUILD_DEBUG_FALSE='#'
88402 else
88403   GLIBCXX_BUILD_DEBUG_TRUE='#'
88404   GLIBCXX_BUILD_DEBUG_FALSE=
88405 fi
88406
88407
88408
88409
88410 if test $enable_symvers == gnu; then
88411   ENABLE_SYMVERS_GNU_TRUE=
88412   ENABLE_SYMVERS_GNU_FALSE='#'
88413 else
88414   ENABLE_SYMVERS_GNU_TRUE='#'
88415   ENABLE_SYMVERS_GNU_FALSE=
88416 fi
88417
88418
88419
88420
88421 if   test $enable_symvers == darwin-export; then
88422   ENABLE_SYMVERS_DARWIN_EXPORT_TRUE=
88423   ENABLE_SYMVERS_DARWIN_EXPORT_FALSE='#'
88424 else
88425   ENABLE_SYMVERS_DARWIN_EXPORT_TRUE='#'
88426   ENABLE_SYMVERS_DARWIN_EXPORT_FALSE=
88427 fi
88428
88429
88430
88431
88432 cat >confcache <<\_ACEOF
88433 # This file is a shell script that caches the results of configure
88434 # tests run on this system so they can be shared between configure
88435 # scripts and configure runs, see configure's option --config-cache.
88436 # It is not useful on other systems.  If it contains results you don't
88437 # want to keep, you may remove or edit it.
88438 #
88439 # config.status only pays attention to the cache file if you give it
88440 # the --recheck option to rerun configure.
88441 #
88442 # `ac_cv_env_foo' variables (set or unset) will be overridden when
88443 # loading this file, other *unset* `ac_cv_foo' will be assigned the
88444 # following values.
88445
88446 _ACEOF
88447
88448 # The following way of writing the cache mishandles newlines in values,
88449 # but we know of no workaround that is simple, portable, and efficient.
88450 # So, don't put newlines in cache variables' values.
88451 # Ultrix sh set writes to stderr and can't be redirected directly,
88452 # and sets the high bit in the cache file unless we assign to the vars.
88453 {
88454   (set) 2>&1 |
88455     case `(ac_space=' '; set | grep ac_space) 2>&1` in
88456     *ac_space=\ *)
88457       # `set' does not quote correctly, so add quotes (double-quote
88458       # substitution turns \\\\ into \\, and sed turns \\ into \).
88459       sed -n \
88460         "s/'/'\\\\''/g;
88461           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
88462       ;;
88463     *)
88464       # `set' quotes correctly as required by POSIX, so do not add quotes.
88465       sed -n \
88466         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
88467       ;;
88468     esac;
88469 } |
88470   sed '
88471      t clear
88472      : clear
88473      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
88474      t end
88475      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
88476      : end' >>confcache
88477 if diff $cache_file confcache >/dev/null 2>&1; then :; else
88478   if test -w $cache_file; then
88479     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
88480     cat confcache >$cache_file
88481   else
88482     echo "not updating unwritable cache $cache_file"
88483   fi
88484 fi
88485 rm -f confcache
88486
88487 if test ${multilib} = yes; then
88488   multilib_arg="--enable-multilib"
88489 else
88490   multilib_arg=
88491 fi
88492
88493 # Export all the install information.
88494
88495   glibcxx_toolexecdir=no
88496   glibcxx_toolexeclibdir=no
88497   glibcxx_prefixdir=$prefix
88498
88499   echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
88500 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
88501
88502 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
88503 if test "${with_gxx_include_dir+set}" = set; then
88504   withval="$with_gxx_include_dir"
88505   case "$withval" in
88506       yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
88507 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
88508    { (exit 1); exit 1; }; } ;;
88509       no)  gxx_include_dir=no ;;
88510       *)   gxx_include_dir=$withval ;;
88511      esac
88512 else
88513   gxx_include_dir=no
88514 fi;
88515   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
88516 echo "${ECHO_T}$gxx_include_dir" >&6
88517
88518   echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
88519 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
88520   # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
88521 if test "${enable_version_specific_runtime_libs+set}" = set; then
88522   enableval="$enable_version_specific_runtime_libs"
88523   case "$enableval" in
88524       yes) version_specific_libs=yes ;;
88525       no)  version_specific_libs=no ;;
88526       *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
88527 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
88528    { (exit 1); exit 1; }; };;
88529      esac
88530 else
88531   version_specific_libs=no
88532 fi;
88533   echo "$as_me:$LINENO: result: $version_specific_libs" >&5
88534 echo "${ECHO_T}$version_specific_libs" >&6
88535
88536   # Default case for install directory for include files.
88537   if test $version_specific_libs = no && test $gxx_include_dir = no; then
88538     gxx_include_dir='${prefix}/include/c++/${gcc_version}'
88539   fi
88540
88541   # Version-specific runtime libs processing.
88542   if test $version_specific_libs = yes; then
88543     # Need the gcc compiler version to know where to install libraries
88544     # and header files if --enable-version-specific-runtime-libs option
88545     # is selected.  FIXME: these variables are misnamed, there are
88546     # no executables installed in _toolexecdir or _toolexeclibdir.
88547     if test x"$gxx_include_dir" = x"no"; then
88548       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
88549     fi
88550     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
88551     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
88552   fi
88553
88554   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
88555   # Install a library built with a cross compiler in tooldir, not libdir.
88556   if test x"$glibcxx_toolexecdir" = x"no"; then
88557     if test -n "$with_cross_host" &&
88558        test x"$with_cross_host" != x"no"; then
88559       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
88560       glibcxx_toolexeclibdir='${toolexecdir}/lib'
88561     else
88562       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
88563       glibcxx_toolexeclibdir='${libdir}'
88564     fi
88565     multi_os_directory=`$CXX -print-multi-os-directory`
88566     case $multi_os_directory in
88567       .) ;; # Avoid trailing /.
88568       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
88569     esac
88570   fi
88571
88572   echo "$as_me:$LINENO: checking for install location" >&5
88573 echo $ECHO_N "checking for install location... $ECHO_C" >&6
88574   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
88575 echo "${ECHO_T}$gxx_include_dir" >&6
88576
88577
88578
88579
88580
88581
88582
88583 # Export all the include and flag information to Makefiles.
88584
88585   # Used for every C++ compile we perform.
88586   GLIBCXX_INCLUDES="\
88587 -I$glibcxx_builddir/include/$host_alias \
88588 -I$glibcxx_builddir/include \
88589 -I$glibcxx_srcdir/libsupc++"
88590
88591   # For Canadian crosses, pick this up too.
88592   if test $CANADIAN = yes; then
88593     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
88594   fi
88595
88596   # Stuff in the actual top level.  Currently only used by libsupc++ to
88597   # get unwind* headers from the gcc dir.
88598   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
88599   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
88600
88601   # Now, export this to all the little Makefiles....
88602
88603
88604
88605
88606   # Optimization flags that are probably a good idea for thrill-seekers. Just
88607   # uncomment the lines below and make, everything else is ready to go...
88608   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
88609   OPTIMIZE_CXXFLAGS=
88610
88611
88612   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
88613
88614
88615
88616 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
88617    grep "enable shared" > /dev/null;
88618 then
88619   LIBSUPCXX_PICFLAGS=-prefer-pic
88620 else
88621   LIBSUPCXX_PICFLAGS=
88622 fi
88623
88624
88625                                                                       ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
88626
88627           ac_config_files="$ac_config_files scripts/testsuite_flags"
88628
88629
88630           ac_config_commands="$ac_config_commands default"
88631
88632
88633 cat >confcache <<\_ACEOF
88634 # This file is a shell script that caches the results of configure
88635 # tests run on this system so they can be shared between configure
88636 # scripts and configure runs, see configure's option --config-cache.
88637 # It is not useful on other systems.  If it contains results you don't
88638 # want to keep, you may remove or edit it.
88639 #
88640 # config.status only pays attention to the cache file if you give it
88641 # the --recheck option to rerun configure.
88642 #
88643 # `ac_cv_env_foo' variables (set or unset) will be overridden when
88644 # loading this file, other *unset* `ac_cv_foo' will be assigned the
88645 # following values.
88646
88647 _ACEOF
88648
88649 # The following way of writing the cache mishandles newlines in values,
88650 # but we know of no workaround that is simple, portable, and efficient.
88651 # So, don't put newlines in cache variables' values.
88652 # Ultrix sh set writes to stderr and can't be redirected directly,
88653 # and sets the high bit in the cache file unless we assign to the vars.
88654 {
88655   (set) 2>&1 |
88656     case `(ac_space=' '; set | grep ac_space) 2>&1` in
88657     *ac_space=\ *)
88658       # `set' does not quote correctly, so add quotes (double-quote
88659       # substitution turns \\\\ into \\, and sed turns \\ into \).
88660       sed -n \
88661         "s/'/'\\\\''/g;
88662           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
88663       ;;
88664     *)
88665       # `set' quotes correctly as required by POSIX, so do not add quotes.
88666       sed -n \
88667         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
88668       ;;
88669     esac;
88670 } |
88671   sed '
88672      t clear
88673      : clear
88674      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
88675      t end
88676      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
88677      : end' >>confcache
88678 if diff $cache_file confcache >/dev/null 2>&1; then :; else
88679   if test -w $cache_file; then
88680     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
88681     cat confcache >$cache_file
88682   else
88683     echo "not updating unwritable cache $cache_file"
88684   fi
88685 fi
88686 rm -f confcache
88687
88688 test "x$prefix" = xNONE && prefix=$ac_default_prefix
88689 # Let make expand exec_prefix.
88690 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
88691
88692 # VPATH may cause trouble with some makes, so we remove $(srcdir),
88693 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
88694 # trailing colons and then remove the whole line if VPATH becomes empty
88695 # (actually we leave an empty line to preserve line numbers).
88696 if test "x$srcdir" = x.; then
88697   ac_vpsub='/^[  ]*VPATH[        ]*=/{
88698 s/:*\$(srcdir):*/:/;
88699 s/:*\${srcdir}:*/:/;
88700 s/:*@srcdir@:*/:/;
88701 s/^\([^=]*=[     ]*\):*/\1/;
88702 s/:*$//;
88703 s/^[^=]*=[       ]*$//;
88704 }'
88705 fi
88706
88707 DEFS=-DHAVE_CONFIG_H
88708
88709 ac_libobjs=
88710 ac_ltlibobjs=
88711 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
88712   # 1. Remove the extension, and $U if already installed.
88713   ac_i=`echo "$ac_i" |
88714          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
88715   # 2. Add them.
88716   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
88717   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
88718 done
88719 LIBOBJS=$ac_libobjs
88720
88721 LTLIBOBJS=$ac_ltlibobjs
88722
88723
88724 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
88725   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
88726 Usually this means the macro was only invoked conditionally." >&5
88727 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
88728 Usually this means the macro was only invoked conditionally." >&2;}
88729    { (exit 1); exit 1; }; }
88730 fi
88731 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
88732   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
88733 Usually this means the macro was only invoked conditionally." >&5
88734 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
88735 Usually this means the macro was only invoked conditionally." >&2;}
88736    { (exit 1); exit 1; }; }
88737 fi
88738 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
88739   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
88740 Usually this means the macro was only invoked conditionally." >&5
88741 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
88742 Usually this means the macro was only invoked conditionally." >&2;}
88743    { (exit 1); exit 1; }; }
88744 fi
88745 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
88746   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
88747 Usually this means the macro was only invoked conditionally." >&5
88748 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
88749 Usually this means the macro was only invoked conditionally." >&2;}
88750    { (exit 1); exit 1; }; }
88751 fi
88752 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
88753   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
88754 Usually this means the macro was only invoked conditionally." >&5
88755 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
88756 Usually this means the macro was only invoked conditionally." >&2;}
88757    { (exit 1); exit 1; }; }
88758 fi
88759 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
88760   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
88761 Usually this means the macro was only invoked conditionally." >&5
88762 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
88763 Usually this means the macro was only invoked conditionally." >&2;}
88764    { (exit 1); exit 1; }; }
88765 fi
88766 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
88767   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
88768 Usually this means the macro was only invoked conditionally." >&5
88769 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
88770 Usually this means the macro was only invoked conditionally." >&2;}
88771    { (exit 1); exit 1; }; }
88772 fi
88773 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
88774   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
88775 Usually this means the macro was only invoked conditionally." >&5
88776 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
88777 Usually this means the macro was only invoked conditionally." >&2;}
88778    { (exit 1); exit 1; }; }
88779 fi
88780 if test -z "${ENABLE_SYMVERS_DARWIN_EXPORT_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_EXPORT_FALSE}"; then
88781   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN_EXPORT\" was never defined.
88782 Usually this means the macro was only invoked conditionally." >&5
88783 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN_EXPORT\" was never defined.
88784 Usually this means the macro was only invoked conditionally." >&2;}
88785    { (exit 1); exit 1; }; }
88786 fi
88787
88788 : ${CONFIG_STATUS=./config.status}
88789 ac_clean_files_save=$ac_clean_files
88790 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
88791 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
88792 echo "$as_me: creating $CONFIG_STATUS" >&6;}
88793 cat >$CONFIG_STATUS <<_ACEOF
88794 #! $SHELL
88795 # Generated by $as_me.
88796 # Run this file to recreate the current configuration.
88797 # Compiler output produced by configure, useful for debugging
88798 # configure, is in config.log if it exists.
88799
88800 debug=false
88801 ac_cs_recheck=false
88802 ac_cs_silent=false
88803 SHELL=\${CONFIG_SHELL-$SHELL}
88804 _ACEOF
88805
88806 cat >>$CONFIG_STATUS <<\_ACEOF
88807 ## --------------------- ##
88808 ## M4sh Initialization.  ##
88809 ## --------------------- ##
88810
88811 # Be Bourne compatible
88812 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
88813   emulate sh
88814   NULLCMD=:
88815   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
88816   # is contrary to our usage.  Disable this feature.
88817   alias -g '${1+"$@"}'='"$@"'
88818 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
88819   set -o posix
88820 fi
88821 DUALCASE=1; export DUALCASE # for MKS sh
88822
88823 # Support unset when possible.
88824 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
88825   as_unset=unset
88826 else
88827   as_unset=false
88828 fi
88829
88830
88831 # Work around bugs in pre-3.0 UWIN ksh.
88832 $as_unset ENV MAIL MAILPATH
88833 PS1='$ '
88834 PS2='> '
88835 PS4='+ '
88836
88837 # NLS nuisances.
88838 for as_var in \
88839   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
88840   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
88841   LC_TELEPHONE LC_TIME
88842 do
88843   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
88844     eval $as_var=C; export $as_var
88845   else
88846     $as_unset $as_var
88847   fi
88848 done
88849
88850 # Required to use basename.
88851 if expr a : '\(a\)' >/dev/null 2>&1; then
88852   as_expr=expr
88853 else
88854   as_expr=false
88855 fi
88856
88857 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
88858   as_basename=basename
88859 else
88860   as_basename=false
88861 fi
88862
88863
88864 # Name of the executable.
88865 as_me=`$as_basename "$0" ||
88866 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
88867          X"$0" : 'X\(//\)$' \| \
88868          X"$0" : 'X\(/\)$' \| \
88869          .     : '\(.\)' 2>/dev/null ||
88870 echo X/"$0" |
88871     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
88872           /^X\/\(\/\/\)$/{ s//\1/; q; }
88873           /^X\/\(\/\).*/{ s//\1/; q; }
88874           s/.*/./; q'`
88875
88876
88877 # PATH needs CR, and LINENO needs CR and PATH.
88878 # Avoid depending upon Character Ranges.
88879 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
88880 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
88881 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
88882 as_cr_digits='0123456789'
88883 as_cr_alnum=$as_cr_Letters$as_cr_digits
88884
88885 # The user is always right.
88886 if test "${PATH_SEPARATOR+set}" != set; then
88887   echo "#! /bin/sh" >conf$$.sh
88888   echo  "exit 0"   >>conf$$.sh
88889   chmod +x conf$$.sh
88890   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
88891     PATH_SEPARATOR=';'
88892   else
88893     PATH_SEPARATOR=:
88894   fi
88895   rm -f conf$$.sh
88896 fi
88897
88898
88899   as_lineno_1=$LINENO
88900   as_lineno_2=$LINENO
88901   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
88902   test "x$as_lineno_1" != "x$as_lineno_2" &&
88903   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
88904   # Find who we are.  Look in the path if we contain no path at all
88905   # relative or not.
88906   case $0 in
88907     *[\\/]* ) as_myself=$0 ;;
88908     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
88909 for as_dir in $PATH
88910 do
88911   IFS=$as_save_IFS
88912   test -z "$as_dir" && as_dir=.
88913   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
88914 done
88915
88916        ;;
88917   esac
88918   # We did not find ourselves, most probably we were run as `sh COMMAND'
88919   # in which case we are not to be found in the path.
88920   if test "x$as_myself" = x; then
88921     as_myself=$0
88922   fi
88923   if test ! -f "$as_myself"; then
88924     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
88925 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
88926    { (exit 1); exit 1; }; }
88927   fi
88928   case $CONFIG_SHELL in
88929   '')
88930     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
88931 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
88932 do
88933   IFS=$as_save_IFS
88934   test -z "$as_dir" && as_dir=.
88935   for as_base in sh bash ksh sh5; do
88936          case $as_dir in
88937          /*)
88938            if ("$as_dir/$as_base" -c '
88939   as_lineno_1=$LINENO
88940   as_lineno_2=$LINENO
88941   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
88942   test "x$as_lineno_1" != "x$as_lineno_2" &&
88943   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
88944              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
88945              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
88946              CONFIG_SHELL=$as_dir/$as_base
88947              export CONFIG_SHELL
88948              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
88949            fi;;
88950          esac
88951        done
88952 done
88953 ;;
88954   esac
88955
88956   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
88957   # uniformly replaced by the line number.  The first 'sed' inserts a
88958   # line-number line before each line; the second 'sed' does the real
88959   # work.  The second script uses 'N' to pair each line-number line
88960   # with the numbered line, and appends trailing '-' during
88961   # substitution so that $LINENO is not a special case at line end.
88962   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
88963   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
88964   sed '=' <$as_myself |
88965     sed '
88966       N
88967       s,$,-,
88968       : loop
88969       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
88970       t loop
88971       s,-$,,
88972       s,^['$as_cr_digits']*\n,,
88973     ' >$as_me.lineno &&
88974   chmod +x $as_me.lineno ||
88975     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
88976 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
88977    { (exit 1); exit 1; }; }
88978
88979   # Don't try to exec as it changes $[0], causing all sort of problems
88980   # (the dirname of $[0] is not the place where we might find the
88981   # original and so on.  Autoconf is especially sensible to this).
88982   . ./$as_me.lineno
88983   # Exit status is that of the last command.
88984   exit
88985 }
88986
88987
88988 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
88989   *c*,-n*) ECHO_N= ECHO_C='
88990 ' ECHO_T='      ' ;;
88991   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
88992   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
88993 esac
88994
88995 if expr a : '\(a\)' >/dev/null 2>&1; then
88996   as_expr=expr
88997 else
88998   as_expr=false
88999 fi
89000
89001 rm -f conf$$ conf$$.exe conf$$.file
89002 echo >conf$$.file
89003 if ln -s conf$$.file conf$$ 2>/dev/null; then
89004   # We could just check for DJGPP; but this test a) works b) is more generic
89005   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
89006   if test -f conf$$.exe; then
89007     # Don't use ln at all; we don't have any links
89008     as_ln_s='cp -p'
89009   else
89010     as_ln_s='ln -s'
89011   fi
89012 elif ln conf$$.file conf$$ 2>/dev/null; then
89013   as_ln_s=ln
89014 else
89015   as_ln_s='cp -p'
89016 fi
89017 rm -f conf$$ conf$$.exe conf$$.file
89018
89019 if mkdir -p . 2>/dev/null; then
89020   as_mkdir_p=:
89021 else
89022   test -d ./-p && rmdir ./-p
89023   as_mkdir_p=false
89024 fi
89025
89026 as_executable_p="test -f"
89027
89028 # Sed expression to map a string onto a valid CPP name.
89029 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
89030
89031 # Sed expression to map a string onto a valid variable name.
89032 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
89033
89034
89035 # IFS
89036 # We need space, tab and new line, in precisely that order.
89037 as_nl='
89038 '
89039 IFS="   $as_nl"
89040
89041 # CDPATH.
89042 $as_unset CDPATH
89043
89044 exec 6>&1
89045
89046 # Open the log real soon, to keep \$[0] and so on meaningful, and to
89047 # report actual input values of CONFIG_FILES etc. instead of their
89048 # values after options handling.  Logging --version etc. is OK.
89049 exec 5>>config.log
89050 {
89051   echo
89052   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
89053 ## Running $as_me. ##
89054 _ASBOX
89055 } >&5
89056 cat >&5 <<_CSEOF
89057
89058 This file was extended by package-unused $as_me version-unused, which was
89059 generated by GNU Autoconf 2.59.  Invocation command line was
89060
89061   CONFIG_FILES    = $CONFIG_FILES
89062   CONFIG_HEADERS  = $CONFIG_HEADERS
89063   CONFIG_LINKS    = $CONFIG_LINKS
89064   CONFIG_COMMANDS = $CONFIG_COMMANDS
89065   $ $0 $@
89066
89067 _CSEOF
89068 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
89069 echo >&5
89070 _ACEOF
89071
89072 # Files that config.status was made for.
89073 if test -n "$ac_config_files"; then
89074   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
89075 fi
89076
89077 if test -n "$ac_config_headers"; then
89078   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
89079 fi
89080
89081 if test -n "$ac_config_links"; then
89082   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
89083 fi
89084
89085 if test -n "$ac_config_commands"; then
89086   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
89087 fi
89088
89089 cat >>$CONFIG_STATUS <<\_ACEOF
89090
89091 ac_cs_usage="\
89092 \`$as_me' instantiates files from templates according to the
89093 current configuration.
89094
89095 Usage: $0 [OPTIONS] [FILE]...
89096
89097   -h, --help       print this help, then exit
89098   -V, --version    print version number, then exit
89099   -q, --quiet      do not print progress messages
89100   -d, --debug      don't remove temporary files
89101       --recheck    update $as_me by reconfiguring in the same conditions
89102   --file=FILE[:TEMPLATE]
89103                    instantiate the configuration file FILE
89104   --header=FILE[:TEMPLATE]
89105                    instantiate the configuration header FILE
89106
89107 Configuration files:
89108 $config_files
89109
89110 Configuration headers:
89111 $config_headers
89112
89113 Configuration commands:
89114 $config_commands
89115
89116 Report bugs to <bug-autoconf@gnu.org>."
89117 _ACEOF
89118
89119 cat >>$CONFIG_STATUS <<_ACEOF
89120 ac_cs_version="\\
89121 package-unused config.status version-unused
89122 configured by $0, generated by GNU Autoconf 2.59,
89123   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
89124
89125 Copyright (C) 2003 Free Software Foundation, Inc.
89126 This config.status script is free software; the Free Software Foundation
89127 gives unlimited permission to copy, distribute and modify it."
89128 srcdir=$srcdir
89129 INSTALL="$INSTALL"
89130 _ACEOF
89131
89132 cat >>$CONFIG_STATUS <<\_ACEOF
89133 # If no file are specified by the user, then we need to provide default
89134 # value.  By we need to know if files were specified by the user.
89135 ac_need_defaults=:
89136 while test $# != 0
89137 do
89138   case $1 in
89139   --*=*)
89140     ac_option=`expr "x$1" : 'x\([^=]*\)='`
89141     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
89142     ac_shift=:
89143     ;;
89144   -*)
89145     ac_option=$1
89146     ac_optarg=$2
89147     ac_shift=shift
89148     ;;
89149   *) # This is not an option, so the user has probably given explicit
89150      # arguments.
89151      ac_option=$1
89152      ac_need_defaults=false;;
89153   esac
89154
89155   case $ac_option in
89156   # Handling of the options.
89157 _ACEOF
89158 cat >>$CONFIG_STATUS <<\_ACEOF
89159   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
89160     ac_cs_recheck=: ;;
89161   --version | --vers* | -V )
89162     echo "$ac_cs_version"; exit 0 ;;
89163   --he | --h)
89164     # Conflict between --help and --header
89165     { { echo "$as_me:$LINENO: error: ambiguous option: $1
89166 Try \`$0 --help' for more information." >&5
89167 echo "$as_me: error: ambiguous option: $1
89168 Try \`$0 --help' for more information." >&2;}
89169    { (exit 1); exit 1; }; };;
89170   --help | --hel | -h )
89171     echo "$ac_cs_usage"; exit 0 ;;
89172   --debug | --d* | -d )
89173     debug=: ;;
89174   --file | --fil | --fi | --f )
89175     $ac_shift
89176     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
89177     ac_need_defaults=false;;
89178   --header | --heade | --head | --hea )
89179     $ac_shift
89180     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
89181     ac_need_defaults=false;;
89182   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
89183   | -silent | --silent | --silen | --sile | --sil | --si | --s)
89184     ac_cs_silent=: ;;
89185
89186   # This is an error.
89187   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
89188 Try \`$0 --help' for more information." >&5
89189 echo "$as_me: error: unrecognized option: $1
89190 Try \`$0 --help' for more information." >&2;}
89191    { (exit 1); exit 1; }; } ;;
89192
89193   *) ac_config_targets="$ac_config_targets $1" ;;
89194
89195   esac
89196   shift
89197 done
89198
89199 ac_configure_extra_args=
89200
89201 if $ac_cs_silent; then
89202   exec 6>/dev/null
89203   ac_configure_extra_args="$ac_configure_extra_args --silent"
89204 fi
89205
89206 _ACEOF
89207 cat >>$CONFIG_STATUS <<_ACEOF
89208 if \$ac_cs_recheck; then
89209   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
89210   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
89211 fi
89212
89213 _ACEOF
89214
89215 cat >>$CONFIG_STATUS <<_ACEOF
89216 #
89217 # INIT-COMMANDS section.
89218 #
89219
89220
89221 srcdir="$srcdir"
89222 host="$host"
89223 target="$target"
89224 with_multisubdir="$with_multisubdir"
89225 with_multisrctop="$with_multisrctop"
89226 with_target_subdir="$with_target_subdir"
89227 ac_configure_args="${multilib_arg} ${ac_configure_args}"
89228 multi_basedir="$multi_basedir"
89229 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
89230 CC="$CC"
89231
89232 # Variables needed in config.status (file generation) which aren't already
89233 # passed by autoconf.
89234 SUBDIRS="$SUBDIRS"
89235
89236
89237 _ACEOF
89238
89239
89240
89241 cat >>$CONFIG_STATUS <<\_ACEOF
89242 for ac_config_target in $ac_config_targets
89243 do
89244   case "$ac_config_target" in
89245   # Handling of arguments.
89246   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
89247   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
89248   "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
89249   "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
89250   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
89251   "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
89252   "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
89253   "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
89254   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
89255   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
89256   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
89257   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
89258 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
89259    { (exit 1); exit 1; }; };;
89260   esac
89261 done
89262
89263 # If the user did not use the arguments to specify the items to instantiate,
89264 # then the envvar interface is used.  Set only those that are not.
89265 # We use the long form for the default assignment because of an extremely
89266 # bizarre bug on SunOS 4.1.3.
89267 if $ac_need_defaults; then
89268   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
89269   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
89270   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
89271 fi
89272
89273 # Have a temporary directory for convenience.  Make it in the build tree
89274 # simply because there is no reason to put it here, and in addition,
89275 # creating and moving files from /tmp can sometimes cause problems.
89276 # Create a temporary directory, and hook for its removal unless debugging.
89277 $debug ||
89278 {
89279   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
89280   trap '{ (exit 1); exit 1; }' 1 2 13 15
89281 }
89282
89283 # Create a (secure) tmp directory for tmp files.
89284
89285 {
89286   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
89287   test -n "$tmp" && test -d "$tmp"
89288 }  ||
89289 {
89290   tmp=./confstat$$-$RANDOM
89291   (umask 077 && mkdir $tmp)
89292 } ||
89293 {
89294    echo "$me: cannot create a temporary directory in ." >&2
89295    { (exit 1); exit 1; }
89296 }
89297
89298 _ACEOF
89299
89300 cat >>$CONFIG_STATUS <<_ACEOF
89301
89302 #
89303 # CONFIG_FILES section.
89304 #
89305
89306 # No need to generate the scripts if there are no CONFIG_FILES.
89307 # This happens for instance when ./config.status config.h
89308 if test -n "\$CONFIG_FILES"; then
89309   # Protect against being on the right side of a sed subst in config.status.
89310   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
89311    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
89312 s,@SHELL@,$SHELL,;t t
89313 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
89314 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
89315 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
89316 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
89317 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
89318 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
89319 s,@exec_prefix@,$exec_prefix,;t t
89320 s,@prefix@,$prefix,;t t
89321 s,@program_transform_name@,$program_transform_name,;t t
89322 s,@bindir@,$bindir,;t t
89323 s,@sbindir@,$sbindir,;t t
89324 s,@libexecdir@,$libexecdir,;t t
89325 s,@datadir@,$datadir,;t t
89326 s,@sysconfdir@,$sysconfdir,;t t
89327 s,@sharedstatedir@,$sharedstatedir,;t t
89328 s,@localstatedir@,$localstatedir,;t t
89329 s,@libdir@,$libdir,;t t
89330 s,@includedir@,$includedir,;t t
89331 s,@oldincludedir@,$oldincludedir,;t t
89332 s,@infodir@,$infodir,;t t
89333 s,@mandir@,$mandir,;t t
89334 s,@build_alias@,$build_alias,;t t
89335 s,@host_alias@,$host_alias,;t t
89336 s,@target_alias@,$target_alias,;t t
89337 s,@DEFS@,$DEFS,;t t
89338 s,@ECHO_C@,$ECHO_C,;t t
89339 s,@ECHO_N@,$ECHO_N,;t t
89340 s,@ECHO_T@,$ECHO_T,;t t
89341 s,@LIBS@,$LIBS,;t t
89342 s,@libtool_VERSION@,$libtool_VERSION,;t t
89343 s,@multi_basedir@,$multi_basedir,;t t
89344 s,@build@,$build,;t t
89345 s,@build_cpu@,$build_cpu,;t t
89346 s,@build_vendor@,$build_vendor,;t t
89347 s,@build_os@,$build_os,;t t
89348 s,@host@,$host,;t t
89349 s,@host_cpu@,$host_cpu,;t t
89350 s,@host_vendor@,$host_vendor,;t t
89351 s,@host_os@,$host_os,;t t
89352 s,@target@,$target,;t t
89353 s,@target_cpu@,$target_cpu,;t t
89354 s,@target_vendor@,$target_vendor,;t t
89355 s,@target_os@,$target_os,;t t
89356 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
89357 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
89358 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
89359 s,@CYGPATH_W@,$CYGPATH_W,;t t
89360 s,@PACKAGE@,$PACKAGE,;t t
89361 s,@VERSION@,$VERSION,;t t
89362 s,@ACLOCAL@,$ACLOCAL,;t t
89363 s,@AUTOCONF@,$AUTOCONF,;t t
89364 s,@AUTOMAKE@,$AUTOMAKE,;t t
89365 s,@AUTOHEADER@,$AUTOHEADER,;t t
89366 s,@MAKEINFO@,$MAKEINFO,;t t
89367 s,@install_sh@,$install_sh,;t t
89368 s,@STRIP@,$STRIP,;t t
89369 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
89370 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
89371 s,@mkdir_p@,$mkdir_p,;t t
89372 s,@AWK@,$AWK,;t t
89373 s,@SET_MAKE@,$SET_MAKE,;t t
89374 s,@am__leading_dot@,$am__leading_dot,;t t
89375 s,@AMTAR@,$AMTAR,;t t
89376 s,@am__tar@,$am__tar,;t t
89377 s,@am__untar@,$am__untar,;t t
89378 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
89379 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
89380 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
89381 s,@CC@,$CC,;t t
89382 s,@ac_ct_CC@,$ac_ct_CC,;t t
89383 s,@EXEEXT@,$EXEEXT,;t t
89384 s,@OBJEXT@,$OBJEXT,;t t
89385 s,@CXX@,$CXX,;t t
89386 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
89387 s,@CFLAGS@,$CFLAGS,;t t
89388 s,@CXXFLAGS@,$CXXFLAGS,;t t
89389 s,@LN_S@,$LN_S,;t t
89390 s,@AS@,$AS,;t t
89391 s,@ac_ct_AS@,$ac_ct_AS,;t t
89392 s,@AR@,$AR,;t t
89393 s,@ac_ct_AR@,$ac_ct_AR,;t t
89394 s,@RANLIB@,$RANLIB,;t t
89395 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
89396 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
89397 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
89398 s,@MAINT@,$MAINT,;t t
89399 s,@LIBTOOL@,$LIBTOOL,;t t
89400 s,@CXXCPP@,$CXXCPP,;t t
89401 s,@CPPFLAGS@,$CPPFLAGS,;t t
89402 s,@enable_shared@,$enable_shared,;t t
89403 s,@enable_static@,$enable_static,;t t
89404 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
89405 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
89406 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
89407 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
89408 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
89409 s,@CSTDIO_H@,$CSTDIO_H,;t t
89410 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
89411 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
89412 s,@CPP@,$CPP,;t t
89413 s,@EGREP@,$EGREP,;t t
89414 s,@check_msgfmt@,$check_msgfmt,;t t
89415 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
89416 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
89417 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
89418 s,@USE_NLS@,$USE_NLS,;t t
89419 s,@CLOCALE_H@,$CLOCALE_H,;t t
89420 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
89421 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
89422 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
89423 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
89424 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
89425 s,@CMONEY_CC@,$CMONEY_CC,;t t
89426 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
89427 s,@CTIME_H@,$CTIME_H,;t t
89428 s,@CTIME_CC@,$CTIME_CC,;t t
89429 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
89430 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
89431 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
89432 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
89433 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
89434 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
89435 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
89436 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
89437 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
89438 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
89439 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
89440 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
89441 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
89442 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
89443 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
89444 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
89445 s,@WERROR@,$WERROR,;t t
89446 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
89447 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
89448 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
89449 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
89450 s,@LIBICONV@,$LIBICONV,;t t
89451 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
89452 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
89453 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
89454 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
89455 s,@ENABLE_SYMVERS_DARWIN_EXPORT_TRUE@,$ENABLE_SYMVERS_DARWIN_EXPORT_TRUE,;t t
89456 s,@ENABLE_SYMVERS_DARWIN_EXPORT_FALSE@,$ENABLE_SYMVERS_DARWIN_EXPORT_FALSE,;t t
89457 s,@baseline_dir@,$baseline_dir,;t t
89458 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
89459 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
89460 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
89461 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
89462 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
89463 s,@gxx_include_dir@,$gxx_include_dir,;t t
89464 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
89465 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
89466 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
89467 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
89468 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
89469 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
89470 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
89471 s,@LIBOBJS@,$LIBOBJS,;t t
89472 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
89473 CEOF
89474
89475 _ACEOF
89476
89477   cat >>$CONFIG_STATUS <<\_ACEOF
89478   # Split the substitutions into bite-sized pieces for seds with
89479   # small command number limits, like on Digital OSF/1 and HP-UX.
89480   ac_max_sed_lines=48
89481   ac_sed_frag=1 # Number of current file.
89482   ac_beg=1 # First line for current file.
89483   ac_end=$ac_max_sed_lines # Line after last line for current file.
89484   ac_more_lines=:
89485   ac_sed_cmds=
89486   while $ac_more_lines; do
89487     if test $ac_beg -gt 1; then
89488       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
89489     else
89490       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
89491     fi
89492     if test ! -s $tmp/subs.frag; then
89493       ac_more_lines=false
89494     else
89495       # The purpose of the label and of the branching condition is to
89496       # speed up the sed processing (if there are no `@' at all, there
89497       # is no need to browse any of the substitutions).
89498       # These are the two extra sed commands mentioned above.
89499       (echo ':t
89500   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
89501       if test -z "$ac_sed_cmds"; then
89502         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
89503       else
89504         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
89505       fi
89506       ac_sed_frag=`expr $ac_sed_frag + 1`
89507       ac_beg=$ac_end
89508       ac_end=`expr $ac_end + $ac_max_sed_lines`
89509     fi
89510   done
89511   if test -z "$ac_sed_cmds"; then
89512     ac_sed_cmds=cat
89513   fi
89514 fi # test -n "$CONFIG_FILES"
89515
89516 _ACEOF
89517 cat >>$CONFIG_STATUS <<\_ACEOF
89518 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
89519   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
89520   case $ac_file in
89521   - | *:- | *:-:* ) # input from stdin
89522         cat >$tmp/stdin
89523         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89524         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89525   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89526         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89527   * )   ac_file_in=$ac_file.in ;;
89528   esac
89529
89530   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
89531   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
89532 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89533          X"$ac_file" : 'X\(//\)[^/]' \| \
89534          X"$ac_file" : 'X\(//\)$' \| \
89535          X"$ac_file" : 'X\(/\)' \| \
89536          .     : '\(.\)' 2>/dev/null ||
89537 echo X"$ac_file" |
89538     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89539           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89540           /^X\(\/\/\)$/{ s//\1/; q; }
89541           /^X\(\/\).*/{ s//\1/; q; }
89542           s/.*/./; q'`
89543   { if $as_mkdir_p; then
89544     mkdir -p "$ac_dir"
89545   else
89546     as_dir="$ac_dir"
89547     as_dirs=
89548     while test ! -d "$as_dir"; do
89549       as_dirs="$as_dir $as_dirs"
89550       as_dir=`(dirname "$as_dir") 2>/dev/null ||
89551 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89552          X"$as_dir" : 'X\(//\)[^/]' \| \
89553          X"$as_dir" : 'X\(//\)$' \| \
89554          X"$as_dir" : 'X\(/\)' \| \
89555          .     : '\(.\)' 2>/dev/null ||
89556 echo X"$as_dir" |
89557     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89558           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89559           /^X\(\/\/\)$/{ s//\1/; q; }
89560           /^X\(\/\).*/{ s//\1/; q; }
89561           s/.*/./; q'`
89562     done
89563     test ! -n "$as_dirs" || mkdir $as_dirs
89564   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
89565 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
89566    { (exit 1); exit 1; }; }; }
89567
89568   ac_builddir=.
89569
89570 if test "$ac_dir" != .; then
89571   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
89572   # A "../" for each directory in $ac_dir_suffix.
89573   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
89574 else
89575   ac_dir_suffix= ac_top_builddir=
89576 fi
89577
89578 case $srcdir in
89579   .)  # No --srcdir option.  We are building in place.
89580     ac_srcdir=.
89581     if test -z "$ac_top_builddir"; then
89582        ac_top_srcdir=.
89583     else
89584        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
89585     fi ;;
89586   [\\/]* | ?:[\\/]* )  # Absolute path.
89587     ac_srcdir=$srcdir$ac_dir_suffix;
89588     ac_top_srcdir=$srcdir ;;
89589   *) # Relative path.
89590     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
89591     ac_top_srcdir=$ac_top_builddir$srcdir ;;
89592 esac
89593
89594 # Do not use `cd foo && pwd` to compute absolute paths, because
89595 # the directories may not exist.
89596 case `pwd` in
89597 .) ac_abs_builddir="$ac_dir";;
89598 *)
89599   case "$ac_dir" in
89600   .) ac_abs_builddir=`pwd`;;
89601   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
89602   *) ac_abs_builddir=`pwd`/"$ac_dir";;
89603   esac;;
89604 esac
89605 case $ac_abs_builddir in
89606 .) ac_abs_top_builddir=${ac_top_builddir}.;;
89607 *)
89608   case ${ac_top_builddir}. in
89609   .) ac_abs_top_builddir=$ac_abs_builddir;;
89610   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
89611   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
89612   esac;;
89613 esac
89614 case $ac_abs_builddir in
89615 .) ac_abs_srcdir=$ac_srcdir;;
89616 *)
89617   case $ac_srcdir in
89618   .) ac_abs_srcdir=$ac_abs_builddir;;
89619   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
89620   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
89621   esac;;
89622 esac
89623 case $ac_abs_builddir in
89624 .) ac_abs_top_srcdir=$ac_top_srcdir;;
89625 *)
89626   case $ac_top_srcdir in
89627   .) ac_abs_top_srcdir=$ac_abs_builddir;;
89628   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
89629   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
89630   esac;;
89631 esac
89632
89633
89634   case $INSTALL in
89635   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
89636   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
89637   esac
89638
89639   if test x"$ac_file" != x-; then
89640     { echo "$as_me:$LINENO: creating $ac_file" >&5
89641 echo "$as_me: creating $ac_file" >&6;}
89642     rm -f "$ac_file"
89643   fi
89644   # Let's still pretend it is `configure' which instantiates (i.e., don't
89645   # use $as_me), people would be surprised to read:
89646   #    /* config.h.  Generated by config.status.  */
89647   if test x"$ac_file" = x-; then
89648     configure_input=
89649   else
89650     configure_input="$ac_file.  "
89651   fi
89652   configure_input=$configure_input"Generated from `echo $ac_file_in |
89653                                      sed 's,.*/,,'` by configure."
89654
89655   # First look for the input files in the build tree, otherwise in the
89656   # src tree.
89657   ac_file_inputs=`IFS=:
89658     for f in $ac_file_in; do
89659       case $f in
89660       -) echo $tmp/stdin ;;
89661       [\\/$]*)
89662          # Absolute (can't be DOS-style, as IFS=:)
89663          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89664 echo "$as_me: error: cannot find input file: $f" >&2;}
89665    { (exit 1); exit 1; }; }
89666          echo "$f";;
89667       *) # Relative
89668          if test -f "$f"; then
89669            # Build tree
89670            echo "$f"
89671          elif test -f "$srcdir/$f"; then
89672            # Source tree
89673            echo "$srcdir/$f"
89674          else
89675            # /dev/null tree
89676            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89677 echo "$as_me: error: cannot find input file: $f" >&2;}
89678    { (exit 1); exit 1; }; }
89679          fi;;
89680       esac
89681     done` || { (exit 1); exit 1; }
89682 _ACEOF
89683 cat >>$CONFIG_STATUS <<_ACEOF
89684   sed "$ac_vpsub
89685 $extrasub
89686 _ACEOF
89687 cat >>$CONFIG_STATUS <<\_ACEOF
89688 :t
89689 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
89690 s,@configure_input@,$configure_input,;t t
89691 s,@srcdir@,$ac_srcdir,;t t
89692 s,@abs_srcdir@,$ac_abs_srcdir,;t t
89693 s,@top_srcdir@,$ac_top_srcdir,;t t
89694 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
89695 s,@builddir@,$ac_builddir,;t t
89696 s,@abs_builddir@,$ac_abs_builddir,;t t
89697 s,@top_builddir@,$ac_top_builddir,;t t
89698 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
89699 s,@INSTALL@,$ac_INSTALL,;t t
89700 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
89701   rm -f $tmp/stdin
89702   if test x"$ac_file" != x-; then
89703     mv $tmp/out $ac_file
89704   else
89705     cat $tmp/out
89706     rm -f $tmp/out
89707   fi
89708
89709   # Run the commands associated with the file.
89710   case $ac_file in
89711     scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
89712   esac
89713 done
89714 _ACEOF
89715 cat >>$CONFIG_STATUS <<\_ACEOF
89716
89717 #
89718 # CONFIG_HEADER section.
89719 #
89720
89721 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
89722 # NAME is the cpp macro being defined and VALUE is the value it is being given.
89723 #
89724 # ac_d sets the value in "#define NAME VALUE" lines.
89725 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
89726 ac_dB='[         ].*$,\1#\2'
89727 ac_dC=' '
89728 ac_dD=',;t'
89729 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
89730 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
89731 ac_uB='$,\1#\2define\3'
89732 ac_uC=' '
89733 ac_uD=',;t'
89734
89735 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
89736   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
89737   case $ac_file in
89738   - | *:- | *:-:* ) # input from stdin
89739         cat >$tmp/stdin
89740         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89741         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89742   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89743         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89744   * )   ac_file_in=$ac_file.in ;;
89745   esac
89746
89747   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
89748 echo "$as_me: creating $ac_file" >&6;}
89749
89750   # First look for the input files in the build tree, otherwise in the
89751   # src tree.
89752   ac_file_inputs=`IFS=:
89753     for f in $ac_file_in; do
89754       case $f in
89755       -) echo $tmp/stdin ;;
89756       [\\/$]*)
89757          # Absolute (can't be DOS-style, as IFS=:)
89758          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89759 echo "$as_me: error: cannot find input file: $f" >&2;}
89760    { (exit 1); exit 1; }; }
89761          # Do quote $f, to prevent DOS paths from being IFS'd.
89762          echo "$f";;
89763       *) # Relative
89764          if test -f "$f"; then
89765            # Build tree
89766            echo "$f"
89767          elif test -f "$srcdir/$f"; then
89768            # Source tree
89769            echo "$srcdir/$f"
89770          else
89771            # /dev/null tree
89772            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89773 echo "$as_me: error: cannot find input file: $f" >&2;}
89774    { (exit 1); exit 1; }; }
89775          fi;;
89776       esac
89777     done` || { (exit 1); exit 1; }
89778   # Remove the trailing spaces.
89779   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
89780
89781 _ACEOF
89782
89783 # Transform confdefs.h into two sed scripts, `conftest.defines' and
89784 # `conftest.undefs', that substitutes the proper values into
89785 # config.h.in to produce config.h.  The first handles `#define'
89786 # templates, and the second `#undef' templates.
89787 # And first: Protect against being on the right side of a sed subst in
89788 # config.status.  Protect against being in an unquoted here document
89789 # in config.status.
89790 rm -f conftest.defines conftest.undefs
89791 # Using a here document instead of a string reduces the quoting nightmare.
89792 # Putting comments in sed scripts is not portable.
89793 #
89794 # `end' is used to avoid that the second main sed command (meant for
89795 # 0-ary CPP macros) applies to n-ary macro definitions.
89796 # See the Autoconf documentation for `clear'.
89797 cat >confdef2sed.sed <<\_ACEOF
89798 s/[\\&,]/\\&/g
89799 s,[\\$`],\\&,g
89800 t clear
89801 : clear
89802 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
89803 t end
89804 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
89805 : end
89806 _ACEOF
89807 # If some macros were called several times there might be several times
89808 # the same #defines, which is useless.  Nevertheless, we may not want to
89809 # sort them, since we want the *last* AC-DEFINE to be honored.
89810 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
89811 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
89812 rm -f confdef2sed.sed
89813
89814 # This sed command replaces #undef with comments.  This is necessary, for
89815 # example, in the case of _POSIX_SOURCE, which is predefined and required
89816 # on some systems where configure will not decide to define it.
89817 cat >>conftest.undefs <<\_ACEOF
89818 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
89819 _ACEOF
89820
89821 # Break up conftest.defines because some shells have a limit on the size
89822 # of here documents, and old seds have small limits too (100 cmds).
89823 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
89824 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
89825 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
89826 echo '  :' >>$CONFIG_STATUS
89827 rm -f conftest.tail
89828 while grep . conftest.defines >/dev/null
89829 do
89830   # Write a limited-size here document to $tmp/defines.sed.
89831   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
89832   # Speed up: don't consider the non `#define' lines.
89833   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
89834   # Work around the forget-to-reset-the-flag bug.
89835   echo 't clr' >>$CONFIG_STATUS
89836   echo ': clr' >>$CONFIG_STATUS
89837   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
89838   echo 'CEOF
89839   sed -f $tmp/defines.sed $tmp/in >$tmp/out
89840   rm -f $tmp/in
89841   mv $tmp/out $tmp/in
89842 ' >>$CONFIG_STATUS
89843   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
89844   rm -f conftest.defines
89845   mv conftest.tail conftest.defines
89846 done
89847 rm -f conftest.defines
89848 echo '  fi # grep' >>$CONFIG_STATUS
89849 echo >>$CONFIG_STATUS
89850
89851 # Break up conftest.undefs because some shells have a limit on the size
89852 # of here documents, and old seds have small limits too (100 cmds).
89853 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
89854 rm -f conftest.tail
89855 while grep . conftest.undefs >/dev/null
89856 do
89857   # Write a limited-size here document to $tmp/undefs.sed.
89858   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
89859   # Speed up: don't consider the non `#undef'
89860   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
89861   # Work around the forget-to-reset-the-flag bug.
89862   echo 't clr' >>$CONFIG_STATUS
89863   echo ': clr' >>$CONFIG_STATUS
89864   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
89865   echo 'CEOF
89866   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
89867   rm -f $tmp/in
89868   mv $tmp/out $tmp/in
89869 ' >>$CONFIG_STATUS
89870   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
89871   rm -f conftest.undefs
89872   mv conftest.tail conftest.undefs
89873 done
89874 rm -f conftest.undefs
89875
89876 cat >>$CONFIG_STATUS <<\_ACEOF
89877   # Let's still pretend it is `configure' which instantiates (i.e., don't
89878   # use $as_me), people would be surprised to read:
89879   #    /* config.h.  Generated by config.status.  */
89880   if test x"$ac_file" = x-; then
89881     echo "/* Generated by configure.  */" >$tmp/config.h
89882   else
89883     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
89884   fi
89885   cat $tmp/in >>$tmp/config.h
89886   rm -f $tmp/in
89887   if test x"$ac_file" != x-; then
89888     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
89889       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
89890 echo "$as_me: $ac_file is unchanged" >&6;}
89891     else
89892       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
89893 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89894          X"$ac_file" : 'X\(//\)[^/]' \| \
89895          X"$ac_file" : 'X\(//\)$' \| \
89896          X"$ac_file" : 'X\(/\)' \| \
89897          .     : '\(.\)' 2>/dev/null ||
89898 echo X"$ac_file" |
89899     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89900           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89901           /^X\(\/\/\)$/{ s//\1/; q; }
89902           /^X\(\/\).*/{ s//\1/; q; }
89903           s/.*/./; q'`
89904       { if $as_mkdir_p; then
89905     mkdir -p "$ac_dir"
89906   else
89907     as_dir="$ac_dir"
89908     as_dirs=
89909     while test ! -d "$as_dir"; do
89910       as_dirs="$as_dir $as_dirs"
89911       as_dir=`(dirname "$as_dir") 2>/dev/null ||
89912 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89913          X"$as_dir" : 'X\(//\)[^/]' \| \
89914          X"$as_dir" : 'X\(//\)$' \| \
89915          X"$as_dir" : 'X\(/\)' \| \
89916          .     : '\(.\)' 2>/dev/null ||
89917 echo X"$as_dir" |
89918     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89919           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89920           /^X\(\/\/\)$/{ s//\1/; q; }
89921           /^X\(\/\).*/{ s//\1/; q; }
89922           s/.*/./; q'`
89923     done
89924     test ! -n "$as_dirs" || mkdir $as_dirs
89925   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
89926 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
89927    { (exit 1); exit 1; }; }; }
89928
89929       rm -f $ac_file
89930       mv $tmp/config.h $ac_file
89931     fi
89932   else
89933     cat $tmp/config.h
89934     rm -f $tmp/config.h
89935   fi
89936 # Compute $ac_file's index in $config_headers.
89937 _am_stamp_count=1
89938 for _am_header in $config_headers :; do
89939   case $_am_header in
89940     $ac_file | $ac_file:* )
89941       break ;;
89942     * )
89943       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
89944   esac
89945 done
89946 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
89947 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89948          X$ac_file : 'X\(//\)[^/]' \| \
89949          X$ac_file : 'X\(//\)$' \| \
89950          X$ac_file : 'X\(/\)' \| \
89951          .     : '\(.\)' 2>/dev/null ||
89952 echo X$ac_file |
89953     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89954           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89955           /^X\(\/\/\)$/{ s//\1/; q; }
89956           /^X\(\/\).*/{ s//\1/; q; }
89957           s/.*/./; q'`/stamp-h$_am_stamp_count
89958 done
89959 _ACEOF
89960 cat >>$CONFIG_STATUS <<\_ACEOF
89961
89962 #
89963 # CONFIG_COMMANDS section.
89964 #
89965 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
89966   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
89967   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
89968   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
89969 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89970          X"$ac_dest" : 'X\(//\)[^/]' \| \
89971          X"$ac_dest" : 'X\(//\)$' \| \
89972          X"$ac_dest" : 'X\(/\)' \| \
89973          .     : '\(.\)' 2>/dev/null ||
89974 echo X"$ac_dest" |
89975     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89976           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89977           /^X\(\/\/\)$/{ s//\1/; q; }
89978           /^X\(\/\).*/{ s//\1/; q; }
89979           s/.*/./; q'`
89980   { if $as_mkdir_p; then
89981     mkdir -p "$ac_dir"
89982   else
89983     as_dir="$ac_dir"
89984     as_dirs=
89985     while test ! -d "$as_dir"; do
89986       as_dirs="$as_dir $as_dirs"
89987       as_dir=`(dirname "$as_dir") 2>/dev/null ||
89988 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89989          X"$as_dir" : 'X\(//\)[^/]' \| \
89990          X"$as_dir" : 'X\(//\)$' \| \
89991          X"$as_dir" : 'X\(/\)' \| \
89992          .     : '\(.\)' 2>/dev/null ||
89993 echo X"$as_dir" |
89994     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89995           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89996           /^X\(\/\/\)$/{ s//\1/; q; }
89997           /^X\(\/\).*/{ s//\1/; q; }
89998           s/.*/./; q'`
89999     done
90000     test ! -n "$as_dirs" || mkdir $as_dirs
90001   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
90002 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
90003    { (exit 1); exit 1; }; }; }
90004
90005   ac_builddir=.
90006
90007 if test "$ac_dir" != .; then
90008   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
90009   # A "../" for each directory in $ac_dir_suffix.
90010   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
90011 else
90012   ac_dir_suffix= ac_top_builddir=
90013 fi
90014
90015 case $srcdir in
90016   .)  # No --srcdir option.  We are building in place.
90017     ac_srcdir=.
90018     if test -z "$ac_top_builddir"; then
90019        ac_top_srcdir=.
90020     else
90021        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
90022     fi ;;
90023   [\\/]* | ?:[\\/]* )  # Absolute path.
90024     ac_srcdir=$srcdir$ac_dir_suffix;
90025     ac_top_srcdir=$srcdir ;;
90026   *) # Relative path.
90027     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
90028     ac_top_srcdir=$ac_top_builddir$srcdir ;;
90029 esac
90030
90031 # Do not use `cd foo && pwd` to compute absolute paths, because
90032 # the directories may not exist.
90033 case `pwd` in
90034 .) ac_abs_builddir="$ac_dir";;
90035 *)
90036   case "$ac_dir" in
90037   .) ac_abs_builddir=`pwd`;;
90038   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
90039   *) ac_abs_builddir=`pwd`/"$ac_dir";;
90040   esac;;
90041 esac
90042 case $ac_abs_builddir in
90043 .) ac_abs_top_builddir=${ac_top_builddir}.;;
90044 *)
90045   case ${ac_top_builddir}. in
90046   .) ac_abs_top_builddir=$ac_abs_builddir;;
90047   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
90048   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
90049   esac;;
90050 esac
90051 case $ac_abs_builddir in
90052 .) ac_abs_srcdir=$ac_srcdir;;
90053 *)
90054   case $ac_srcdir in
90055   .) ac_abs_srcdir=$ac_abs_builddir;;
90056   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
90057   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
90058   esac;;
90059 esac
90060 case $ac_abs_builddir in
90061 .) ac_abs_top_srcdir=$ac_top_srcdir;;
90062 *)
90063   case $ac_top_srcdir in
90064   .) ac_abs_top_srcdir=$ac_abs_builddir;;
90065   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
90066   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
90067   esac;;
90068 esac
90069
90070
90071   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
90072 echo "$as_me: executing $ac_dest commands" >&6;}
90073   case $ac_dest in
90074     default-1 )
90075 # Only add multilib support code if we just rebuilt the top-level
90076 # Makefile.
90077 case " $CONFIG_FILES " in
90078  *" Makefile "*)
90079    ac_file=Makefile . ${multi_basedir}/config-ml.in
90080    ;;
90081 esac ;;
90082     default ) if test -n "$CONFIG_FILES"; then
90083    # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
90084    # that multilib installs will end up installed in the correct place.
90085    # The testsuite needs it for multilib-aware ABI baseline files.
90086    # To work around this not being passed down from config-ml.in ->
90087    # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
90088    # append it here.  Only modify Makefiles that have just been created.
90089    #
90090    # Also, get rid of this simulated-VPATH thing that automake does.
90091    cat > vpsed << \_EOF
90092 s!`test -f '$<' || echo '$(srcdir)/'`!!
90093 _EOF
90094    for i in $SUBDIRS; do
90095     case $CONFIG_FILES in
90096      *${i}/Makefile*)
90097        #echo "Adding MULTISUBDIR to $i/Makefile"
90098        sed -f vpsed $i/Makefile > tmp
90099        grep '^MULTISUBDIR =' Makefile >> tmp
90100        mv tmp $i/Makefile
90101        ;;
90102     esac
90103    done
90104    rm vpsed
90105  fi
90106  (cd include && ${MAKE-make})
90107  ;;
90108   esac
90109 done
90110 _ACEOF
90111
90112 cat >>$CONFIG_STATUS <<\_ACEOF
90113
90114 { (exit 0); exit 0; }
90115 _ACEOF
90116 chmod +x $CONFIG_STATUS
90117 ac_clean_files=$ac_clean_files_save
90118
90119
90120 # configure is writing to config.log, and then calls config.status.
90121 # config.status does its own redirection, appending to config.log.
90122 # Unfortunately, on DOS this fails, as config.log is still kept open
90123 # by configure, so config.status won't be able to write to it; its
90124 # output is simply discarded.  So we exec the FD to /dev/null,
90125 # effectively closing config.log, so it can be properly (re)opened and
90126 # appended to by config.status.  When coming back to configure, we
90127 # need to make the FD available again.
90128 if test "$no_create" != yes; then
90129   ac_cs_success=:
90130   ac_config_status_args=
90131   test "$silent" = yes &&
90132     ac_config_status_args="$ac_config_status_args --quiet"
90133   exec 5>/dev/null
90134   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
90135   exec 5>>config.log
90136   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
90137   # would make configure fail if this is the last instruction.
90138   $ac_cs_success || { (exit 1); exit 1; }
90139 fi
90140