OSDN Git Service

* Makefile.am (hosted_source): Add libmath and testsuite.
[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 AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot 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 CCODECVT_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 glibcxx_thread_h DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV SYMVER_MAP port_specific_symbol_files GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE baseline_dir GLIBCXX_TEST_WCHAR_T_TRUE GLIBCXX_TEST_WCHAR_T_FALSE GLIBCXX_TEST_ABI_TRUE GLIBCXX_TEST_ABI_FALSE 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-c-mbchar       enable multibyte (wide) characters
873                           [default=yes]
874   --enable-c99            turns on ISO/IEC 9899:1999 support
875                           [default=yes]
876   --enable-long-long      enables I/O support for 'long long'
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-symvers=STYLE  enables symbol versioning of the shared library
888                           [default=yes]
889   --enable-version-specific-runtime-libs
890                           Specify that runtime libraries should be installed
891                           in a compiler-specific directory
892
893 Optional Packages:
894   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
895   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
896   --with-target-subdir=SUBDIR
897                           configuring in a subdirectory
898   --with-cross-host=HOST  configuring with a cross compiler
899   --with-newlib           assume newlib as a system C library
900   --with-gnu-ld           assume the C compiler uses GNU ld default=no
901   --with-pic              try to use only PIC/non-PIC objects default=use both
902   --with-gxx-include-dir=DIR
903                           installation directory for include files
904
905 Some influential environment variables:
906   CC          C compiler command
907   CFLAGS      C compiler flags
908   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
909               nonstandard directory <lib dir>
910   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
911               headers in a nonstandard directory <include dir>
912   CXX         C++ compiler command
913   CXXFLAGS    C++ compiler flags
914   CXXCPP      C++ preprocessor
915   CPP         C preprocessor
916
917 Use these variables to override the choices made by `configure' or to help
918 it to find libraries and programs with nonstandard names/locations.
919
920 _ACEOF
921 fi
922
923 if test "$ac_init_help" = "recursive"; then
924   # If there are subdirs, report their specific --help.
925   ac_popdir=`pwd`
926   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
927     test -d $ac_dir || continue
928     ac_builddir=.
929
930 if test "$ac_dir" != .; then
931   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
932   # A "../" for each directory in $ac_dir_suffix.
933   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
934 else
935   ac_dir_suffix= ac_top_builddir=
936 fi
937
938 case $srcdir in
939   .)  # No --srcdir option.  We are building in place.
940     ac_srcdir=.
941     if test -z "$ac_top_builddir"; then
942        ac_top_srcdir=.
943     else
944        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
945     fi ;;
946   [\\/]* | ?:[\\/]* )  # Absolute path.
947     ac_srcdir=$srcdir$ac_dir_suffix;
948     ac_top_srcdir=$srcdir ;;
949   *) # Relative path.
950     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
951     ac_top_srcdir=$ac_top_builddir$srcdir ;;
952 esac
953
954 # Do not use `cd foo && pwd` to compute absolute paths, because
955 # the directories may not exist.
956 case `pwd` in
957 .) ac_abs_builddir="$ac_dir";;
958 *)
959   case "$ac_dir" in
960   .) ac_abs_builddir=`pwd`;;
961   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
962   *) ac_abs_builddir=`pwd`/"$ac_dir";;
963   esac;;
964 esac
965 case $ac_abs_builddir in
966 .) ac_abs_top_builddir=${ac_top_builddir}.;;
967 *)
968   case ${ac_top_builddir}. in
969   .) ac_abs_top_builddir=$ac_abs_builddir;;
970   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
971   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
972   esac;;
973 esac
974 case $ac_abs_builddir in
975 .) ac_abs_srcdir=$ac_srcdir;;
976 *)
977   case $ac_srcdir in
978   .) ac_abs_srcdir=$ac_abs_builddir;;
979   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
980   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
981   esac;;
982 esac
983 case $ac_abs_builddir in
984 .) ac_abs_top_srcdir=$ac_top_srcdir;;
985 *)
986   case $ac_top_srcdir in
987   .) ac_abs_top_srcdir=$ac_abs_builddir;;
988   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
989   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
990   esac;;
991 esac
992
993     cd $ac_dir
994     # Check for guested configure; otherwise get Cygnus style configure.
995     if test -f $ac_srcdir/configure.gnu; then
996       echo
997       $SHELL $ac_srcdir/configure.gnu  --help=recursive
998     elif test -f $ac_srcdir/configure; then
999       echo
1000       $SHELL $ac_srcdir/configure  --help=recursive
1001     elif test -f $ac_srcdir/configure.ac ||
1002            test -f $ac_srcdir/configure.in; then
1003       echo
1004       $ac_configure --help
1005     else
1006       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1007     fi
1008     cd $ac_popdir
1009   done
1010 fi
1011
1012 test -n "$ac_init_help" && exit 0
1013 if $ac_init_version; then
1014   cat <<\_ACEOF
1015 package-unused configure version-unused
1016 generated by GNU Autoconf 2.59
1017
1018 Copyright (C) 2003 Free Software Foundation, Inc.
1019 This configure script is free software; the Free Software Foundation
1020 gives unlimited permission to copy, distribute and modify it.
1021 _ACEOF
1022   exit 0
1023 fi
1024 exec 5>config.log
1025 cat >&5 <<_ACEOF
1026 This file contains any messages produced by compilers while
1027 running configure, to aid debugging if configure makes a mistake.
1028
1029 It was created by package-unused $as_me version-unused, which was
1030 generated by GNU Autoconf 2.59.  Invocation command line was
1031
1032   $ $0 $@
1033
1034 _ACEOF
1035 {
1036 cat <<_ASUNAME
1037 ## --------- ##
1038 ## Platform. ##
1039 ## --------- ##
1040
1041 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1042 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1043 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1044 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1045 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1046
1047 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1048 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1049
1050 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1051 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1052 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1053 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1054 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1055 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1056 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1057
1058 _ASUNAME
1059
1060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1061 for as_dir in $PATH
1062 do
1063   IFS=$as_save_IFS
1064   test -z "$as_dir" && as_dir=.
1065   echo "PATH: $as_dir"
1066 done
1067
1068 } >&5
1069
1070 cat >&5 <<_ACEOF
1071
1072
1073 ## ----------- ##
1074 ## Core tests. ##
1075 ## ----------- ##
1076
1077 _ACEOF
1078
1079
1080 # Keep a trace of the command line.
1081 # Strip out --no-create and --no-recursion so they do not pile up.
1082 # Strip out --silent because we don't want to record it for future runs.
1083 # Also quote any args containing shell meta-characters.
1084 # Make two passes to allow for proper duplicate-argument suppression.
1085 ac_configure_args=
1086 ac_configure_args0=
1087 ac_configure_args1=
1088 ac_sep=
1089 ac_must_keep_next=false
1090 for ac_pass in 1 2
1091 do
1092   for ac_arg
1093   do
1094     case $ac_arg in
1095     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1096     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1097     | -silent | --silent | --silen | --sile | --sil)
1098       continue ;;
1099     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1100       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1101     esac
1102     case $ac_pass in
1103     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1104     2)
1105       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1106       if test $ac_must_keep_next = true; then
1107         ac_must_keep_next=false # Got value, back to normal.
1108       else
1109         case $ac_arg in
1110           *=* | --config-cache | -C | -disable-* | --disable-* \
1111           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1112           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1113           | -with-* | --with-* | -without-* | --without-* | --x)
1114             case "$ac_configure_args0 " in
1115               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1116             esac
1117             ;;
1118           -* ) ac_must_keep_next=true ;;
1119         esac
1120       fi
1121       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1122       # Get rid of the leading space.
1123       ac_sep=" "
1124       ;;
1125     esac
1126   done
1127 done
1128 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1129 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1130
1131 # When interrupted or exit'd, cleanup temporary files, and complete
1132 # config.log.  We remove comments because anyway the quotes in there
1133 # would cause problems or look ugly.
1134 # WARNING: Be sure not to use single quotes in there, as some shells,
1135 # such as our DU 5.0 friend, will then `close' the trap.
1136 trap 'exit_status=$?
1137   # Save into config.log some information that might help in debugging.
1138   {
1139     echo
1140
1141     cat <<\_ASBOX
1142 ## ---------------- ##
1143 ## Cache variables. ##
1144 ## ---------------- ##
1145 _ASBOX
1146     echo
1147     # The following way of writing the cache mishandles newlines in values,
1148 {
1149   (set) 2>&1 |
1150     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1151     *ac_space=\ *)
1152       sed -n \
1153         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1154           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1155       ;;
1156     *)
1157       sed -n \
1158         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1159       ;;
1160     esac;
1161 }
1162     echo
1163
1164     cat <<\_ASBOX
1165 ## ----------------- ##
1166 ## Output variables. ##
1167 ## ----------------- ##
1168 _ASBOX
1169     echo
1170     for ac_var in $ac_subst_vars
1171     do
1172       eval ac_val=$`echo $ac_var`
1173       echo "$ac_var='"'"'$ac_val'"'"'"
1174     done | sort
1175     echo
1176
1177     if test -n "$ac_subst_files"; then
1178       cat <<\_ASBOX
1179 ## ------------- ##
1180 ## Output files. ##
1181 ## ------------- ##
1182 _ASBOX
1183       echo
1184       for ac_var in $ac_subst_files
1185       do
1186         eval ac_val=$`echo $ac_var`
1187         echo "$ac_var='"'"'$ac_val'"'"'"
1188       done | sort
1189       echo
1190     fi
1191
1192     if test -s confdefs.h; then
1193       cat <<\_ASBOX
1194 ## ----------- ##
1195 ## confdefs.h. ##
1196 ## ----------- ##
1197 _ASBOX
1198       echo
1199       sed "/^$/d" confdefs.h | sort
1200       echo
1201     fi
1202     test "$ac_signal" != 0 &&
1203       echo "$as_me: caught signal $ac_signal"
1204     echo "$as_me: exit $exit_status"
1205   } >&5
1206   rm -f core *.core &&
1207   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1208     exit $exit_status
1209      ' 0
1210 for ac_signal in 1 2 13 15; do
1211   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1212 done
1213 ac_signal=0
1214
1215 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1216 rm -rf conftest* confdefs.h
1217 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1218 echo >confdefs.h
1219
1220 # Predefined preprocessor variables.
1221
1222 cat >>confdefs.h <<_ACEOF
1223 #define PACKAGE_NAME "$PACKAGE_NAME"
1224 _ACEOF
1225
1226
1227 cat >>confdefs.h <<_ACEOF
1228 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1229 _ACEOF
1230
1231
1232 cat >>confdefs.h <<_ACEOF
1233 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1234 _ACEOF
1235
1236
1237 cat >>confdefs.h <<_ACEOF
1238 #define PACKAGE_STRING "$PACKAGE_STRING"
1239 _ACEOF
1240
1241
1242 cat >>confdefs.h <<_ACEOF
1243 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1244 _ACEOF
1245
1246
1247 # Let the site file select an alternate cache file if it wants to.
1248 # Prefer explicitly selected file to automatically selected ones.
1249 if test -z "$CONFIG_SITE"; then
1250   if test "x$prefix" != xNONE; then
1251     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1252   else
1253     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1254   fi
1255 fi
1256 for ac_site_file in $CONFIG_SITE; do
1257   if test -r "$ac_site_file"; then
1258     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1259 echo "$as_me: loading site script $ac_site_file" >&6;}
1260     sed 's/^/| /' "$ac_site_file" >&5
1261     . "$ac_site_file"
1262   fi
1263 done
1264
1265 if test -r "$cache_file"; then
1266   # Some versions of bash will fail to source /dev/null (special
1267   # files actually), so we avoid doing that.
1268   if test -f "$cache_file"; then
1269     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1270 echo "$as_me: loading cache $cache_file" >&6;}
1271     case $cache_file in
1272       [\\/]* | ?:[\\/]* ) . $cache_file;;
1273       *)                      . ./$cache_file;;
1274     esac
1275   fi
1276 else
1277   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1278 echo "$as_me: creating cache $cache_file" >&6;}
1279   >$cache_file
1280 fi
1281
1282 # Check that the precious variables saved in the cache have kept the same
1283 # value.
1284 ac_cache_corrupted=false
1285 for ac_var in `(set) 2>&1 |
1286                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1287   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1288   eval ac_new_set=\$ac_env_${ac_var}_set
1289   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1290   eval ac_new_val="\$ac_env_${ac_var}_value"
1291   case $ac_old_set,$ac_new_set in
1292     set,)
1293       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1294 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1295       ac_cache_corrupted=: ;;
1296     ,set)
1297       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1298 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1299       ac_cache_corrupted=: ;;
1300     ,);;
1301     *)
1302       if test "x$ac_old_val" != "x$ac_new_val"; then
1303         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1304 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1305         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1306 echo "$as_me:   former value:  $ac_old_val" >&2;}
1307         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1308 echo "$as_me:   current value: $ac_new_val" >&2;}
1309         ac_cache_corrupted=:
1310       fi;;
1311   esac
1312   # Pass precious variables to config.status.
1313   if test "$ac_new_set" = set; then
1314     case $ac_new_val in
1315     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1316       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1317     *) ac_arg=$ac_var=$ac_new_val ;;
1318     esac
1319     case " $ac_configure_args " in
1320       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1321       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1322     esac
1323   fi
1324 done
1325 if $ac_cache_corrupted; then
1326   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1327 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1328   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1329 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1330    { (exit 1); exit 1; }; }
1331 fi
1332
1333 ac_ext=c
1334 ac_cpp='$CPP $CPPFLAGS'
1335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1338
1339
1340
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           ac_config_headers="$ac_config_headers config.h"
1367
1368
1369 # This works around the fact that libtool configuration may change LD
1370 # for this particular configuration, but some shells, instead of
1371 # keeping the changes in LD private, export them just because LD is
1372 # exported.  Only used at the end of this file.
1373 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
1374
1375 # For libtool versioning info, format is CURRENT:REVISION:AGE
1376 libtool_VERSION=6:2:0
1377
1378
1379 # Find the rest of the source tree framework.
1380 # Default to --enable-multilib
1381 # Check whether --enable-multilib or --disable-multilib was given.
1382 if test "${enable_multilib+set}" = set; then
1383   enableval="$enable_multilib"
1384   case "$enableval" in
1385   yes) multilib=yes ;;
1386   no)  multilib=no ;;
1387   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1388 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1389    { (exit 1); exit 1; }; } ;;
1390  esac
1391 else
1392   multilib=yes
1393 fi;
1394
1395 # We may get other options which we leave undocumented:
1396 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1397 # See config-ml.in if you want the gory details.
1398
1399 if test "$srcdir" = "."; then
1400   if test "$with_target_subdir" != "."; then
1401     multi_basedir="$srcdir/$with_multisrctop../.."
1402   else
1403     multi_basedir="$srcdir/$with_multisrctop.."
1404   fi
1405 else
1406   multi_basedir="$srcdir/.."
1407 fi
1408
1409
1410           ac_config_commands="$ac_config_commands default-1"
1411
1412
1413 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1414 #
1415 # You will slowly go insane if you do not grok the following fact:  when
1416 # building v3 as part of the compiler, the top-level /target/ becomes the
1417 # library's /host/.  configure then causes --target to default to --host,
1418 # exactly like any other package using autoconf.  Therefore, 'target' and
1419 # 'host' will always be the same.  This makes sense both for native and
1420 # cross compilers, just think about it for a little while.  :-)
1421 #
1422 # Also, if v3 is being configured as part of a cross compiler, the top-level
1423 # configure script will pass the "real" host as $with_cross_host.
1424 #
1425 # Do not delete or change the following two lines.  For why, see
1426 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1427 ac_aux_dir=
1428 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1429   if test -f $ac_dir/install-sh; then
1430     ac_aux_dir=$ac_dir
1431     ac_install_sh="$ac_aux_dir/install-sh -c"
1432     break
1433   elif test -f $ac_dir/install.sh; then
1434     ac_aux_dir=$ac_dir
1435     ac_install_sh="$ac_aux_dir/install.sh -c"
1436     break
1437   elif test -f $ac_dir/shtool; then
1438     ac_aux_dir=$ac_dir
1439     ac_install_sh="$ac_aux_dir/shtool install -c"
1440     break
1441   fi
1442 done
1443 if test -z "$ac_aux_dir"; then
1444   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1445 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1446    { (exit 1); exit 1; }; }
1447 fi
1448 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1449 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1450 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1451
1452 # Make sure we can run config.sub.
1453 $ac_config_sub sun4 >/dev/null 2>&1 ||
1454   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1455 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1456    { (exit 1); exit 1; }; }
1457
1458 echo "$as_me:$LINENO: checking build system type" >&5
1459 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1460 if test "${ac_cv_build+set}" = set; then
1461   echo $ECHO_N "(cached) $ECHO_C" >&6
1462 else
1463   ac_cv_build_alias=$build_alias
1464 test -z "$ac_cv_build_alias" &&
1465   ac_cv_build_alias=`$ac_config_guess`
1466 test -z "$ac_cv_build_alias" &&
1467   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1468 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1469    { (exit 1); exit 1; }; }
1470 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1471   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1472 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1473    { (exit 1); exit 1; }; }
1474
1475 fi
1476 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1477 echo "${ECHO_T}$ac_cv_build" >&6
1478 build=$ac_cv_build
1479 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1480 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1481 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1482
1483
1484 echo "$as_me:$LINENO: checking host system type" >&5
1485 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1486 if test "${ac_cv_host+set}" = set; then
1487   echo $ECHO_N "(cached) $ECHO_C" >&6
1488 else
1489   ac_cv_host_alias=$host_alias
1490 test -z "$ac_cv_host_alias" &&
1491   ac_cv_host_alias=$ac_cv_build_alias
1492 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1493   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1494 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1495    { (exit 1); exit 1; }; }
1496
1497 fi
1498 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1499 echo "${ECHO_T}$ac_cv_host" >&6
1500 host=$ac_cv_host
1501 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1502 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1503 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1504
1505
1506 echo "$as_me:$LINENO: checking target system type" >&5
1507 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1508 if test "${ac_cv_target+set}" = set; then
1509   echo $ECHO_N "(cached) $ECHO_C" >&6
1510 else
1511   ac_cv_target_alias=$target_alias
1512 test "x$ac_cv_target_alias" = "x" &&
1513   ac_cv_target_alias=$ac_cv_host_alias
1514 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1515   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1516 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1517    { (exit 1); exit 1; }; }
1518
1519 fi
1520 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1521 echo "${ECHO_T}$ac_cv_target" >&6
1522 target=$ac_cv_target
1523 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1524 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1525 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1526
1527
1528 # The aliases save the names the user supplied, while $host etc.
1529 # will get canonicalized.
1530 test -n "$target_alias" &&
1531   test "$program_prefix$program_suffix$program_transform_name" = \
1532     NONENONEs,x,x, &&
1533   program_prefix=${target_alias}-
1534 target_alias=${target_alias-$host_alias}
1535
1536 # Handy for debugging:
1537 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1538
1539 if test "$build" != "$host"; then
1540   # We are being configured with some form of cross compiler.
1541   GLIBCXX_IS_NATIVE=false
1542
1543 else
1544   GLIBCXX_IS_NATIVE=true
1545 fi
1546
1547 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1548 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1549 #  1.x:  minimum required version
1550 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1551 #              of other PACKAGE_* variables will, however, and there's nothing
1552 #              we can do about that; they come from AC_INIT).
1553 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1554 #            file in the top srcdir, etc, etc), so stop complaining.
1555 #  no-dependencies:  turns off auto dependency generation (just for now)
1556 #  -Wall:  turns on all automake warnings...
1557 #  -Wno-portability:  ...except this one, since GNU make is now required.
1558 am__api_version="1.7"
1559 # Find a good install program.  We prefer a C program (faster),
1560 # so one script is as good as another.  But avoid the broken or
1561 # incompatible versions:
1562 # SysV /etc/install, /usr/sbin/install
1563 # SunOS /usr/etc/install
1564 # IRIX /sbin/install
1565 # AIX /bin/install
1566 # AmigaOS /C/install, which installs bootblocks on floppy discs
1567 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1568 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1569 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1570 # OS/2's system install, which has a completely different semantic
1571 # ./install, which can be erroneously created by make from ./install.sh.
1572 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1573 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1574 if test -z "$INSTALL"; then
1575 if test "${ac_cv_path_install+set}" = set; then
1576   echo $ECHO_N "(cached) $ECHO_C" >&6
1577 else
1578   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1579 for as_dir in $PATH
1580 do
1581   IFS=$as_save_IFS
1582   test -z "$as_dir" && as_dir=.
1583   # Account for people who put trailing slashes in PATH elements.
1584 case $as_dir/ in
1585   ./ | .// | /cC/* | \
1586   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1587   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1588   /usr/ucb/* ) ;;
1589   *)
1590     # OSF1 and SCO ODT 3.0 have their own names for install.
1591     # Don't use installbsd from OSF since it installs stuff as root
1592     # by default.
1593     for ac_prog in ginstall scoinst install; do
1594       for ac_exec_ext in '' $ac_executable_extensions; do
1595         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1596           if test $ac_prog = install &&
1597             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1598             # AIX install.  It has an incompatible calling convention.
1599             :
1600           elif test $ac_prog = install &&
1601             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1602             # program-specific install script used by HP pwplus--don't use.
1603             :
1604           else
1605             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1606             break 3
1607           fi
1608         fi
1609       done
1610     done
1611     ;;
1612 esac
1613 done
1614
1615
1616 fi
1617   if test "${ac_cv_path_install+set}" = set; then
1618     INSTALL=$ac_cv_path_install
1619   else
1620     # As a last resort, use the slow shell script.  We don't cache a
1621     # path for INSTALL within a source directory, because that will
1622     # break other packages using the cache if that directory is
1623     # removed, or if the path is relative.
1624     INSTALL=$ac_install_sh
1625   fi
1626 fi
1627 echo "$as_me:$LINENO: result: $INSTALL" >&5
1628 echo "${ECHO_T}$INSTALL" >&6
1629
1630 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1631 # It thinks the first close brace ends the variable substitution.
1632 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1633
1634 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1635
1636 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1637
1638 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1639 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1640 # Just in case
1641 sleep 1
1642 echo timestamp > conftest.file
1643 # Do `set' in a subshell so we don't clobber the current shell's
1644 # arguments.  Must try -L first in case configure is actually a
1645 # symlink; some systems play weird games with the mod time of symlinks
1646 # (eg FreeBSD returns the mod time of the symlink's containing
1647 # directory).
1648 if (
1649    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1650    if test "$*" = "X"; then
1651       # -L didn't work.
1652       set X `ls -t $srcdir/configure conftest.file`
1653    fi
1654    rm -f conftest.file
1655    if test "$*" != "X $srcdir/configure conftest.file" \
1656       && test "$*" != "X conftest.file $srcdir/configure"; then
1657
1658       # If neither matched, then we have a broken ls.  This can happen
1659       # if, for instance, CONFIG_SHELL is bash and it inherits a
1660       # broken ls alias from the environment.  This has actually
1661       # happened.  Such a system could not be considered "sane".
1662       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1663 alias in your environment" >&5
1664 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1665 alias in your environment" >&2;}
1666    { (exit 1); exit 1; }; }
1667    fi
1668
1669    test "$2" = conftest.file
1670    )
1671 then
1672    # Ok.
1673    :
1674 else
1675    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1676 Check your system clock" >&5
1677 echo "$as_me: error: newly created file is older than distributed files!
1678 Check your system clock" >&2;}
1679    { (exit 1); exit 1; }; }
1680 fi
1681 echo "$as_me:$LINENO: result: yes" >&5
1682 echo "${ECHO_T}yes" >&6
1683 test "$program_prefix" != NONE &&
1684   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1685 # Use a double $ so make ignores it.
1686 test "$program_suffix" != NONE &&
1687   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1688 # Double any \ or $.  echo might interpret backslashes.
1689 # By default was `s,x,x', remove it if useless.
1690 cat <<\_ACEOF >conftest.sed
1691 s/[\\$]/&&/g;s/;s,x,x,$//
1692 _ACEOF
1693 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1694 rm conftest.sed
1695
1696
1697 # expand $ac_aux_dir to an absolute path
1698 am_aux_dir=`cd $ac_aux_dir && pwd`
1699
1700 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1701 # Use eval to expand $SHELL
1702 if eval "$MISSING --run true"; then
1703   am_missing_run="$MISSING --run "
1704 else
1705   am_missing_run=
1706   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1707 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1708 fi
1709
1710 for ac_prog in gawk mawk nawk awk
1711 do
1712   # Extract the first word of "$ac_prog", so it can be a program name with args.
1713 set dummy $ac_prog; ac_word=$2
1714 echo "$as_me:$LINENO: checking for $ac_word" >&5
1715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1716 if test "${ac_cv_prog_AWK+set}" = set; then
1717   echo $ECHO_N "(cached) $ECHO_C" >&6
1718 else
1719   if test -n "$AWK"; then
1720   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1721 else
1722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1723 for as_dir in $PATH
1724 do
1725   IFS=$as_save_IFS
1726   test -z "$as_dir" && as_dir=.
1727   for ac_exec_ext in '' $ac_executable_extensions; do
1728   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1729     ac_cv_prog_AWK="$ac_prog"
1730     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1731     break 2
1732   fi
1733 done
1734 done
1735
1736 fi
1737 fi
1738 AWK=$ac_cv_prog_AWK
1739 if test -n "$AWK"; then
1740   echo "$as_me:$LINENO: result: $AWK" >&5
1741 echo "${ECHO_T}$AWK" >&6
1742 else
1743   echo "$as_me:$LINENO: result: no" >&5
1744 echo "${ECHO_T}no" >&6
1745 fi
1746
1747   test -n "$AWK" && break
1748 done
1749
1750 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1751 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1752 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1753 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1754   echo $ECHO_N "(cached) $ECHO_C" >&6
1755 else
1756   cat >conftest.make <<\_ACEOF
1757 all:
1758         @echo 'ac_maketemp="$(MAKE)"'
1759 _ACEOF
1760 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1761 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1762 if test -n "$ac_maketemp"; then
1763   eval ac_cv_prog_make_${ac_make}_set=yes
1764 else
1765   eval ac_cv_prog_make_${ac_make}_set=no
1766 fi
1767 rm -f conftest.make
1768 fi
1769 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1770   echo "$as_me:$LINENO: result: yes" >&5
1771 echo "${ECHO_T}yes" >&6
1772   SET_MAKE=
1773 else
1774   echo "$as_me:$LINENO: result: no" >&5
1775 echo "${ECHO_T}no" >&6
1776   SET_MAKE="MAKE=${MAKE-make}"
1777 fi
1778
1779 rm -rf .tst 2>/dev/null
1780 mkdir .tst 2>/dev/null
1781 if test -d .tst; then
1782   am__leading_dot=.
1783 else
1784   am__leading_dot=_
1785 fi
1786 rmdir .tst 2>/dev/null
1787
1788  # test to see if srcdir already configured
1789 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1790    test -f $srcdir/config.status; then
1791   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1792 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1793    { (exit 1); exit 1; }; }
1794 fi
1795
1796 # test whether we have cygpath
1797 if test -z "$CYGPATH_W"; then
1798   if (cygpath --version) >/dev/null 2>/dev/null; then
1799     CYGPATH_W='cygpath -w'
1800   else
1801     CYGPATH_W=echo
1802   fi
1803 fi
1804
1805
1806 # Define the identity of the package.
1807  PACKAGE='libstdc++'
1808  VERSION='version-unused'
1809
1810
1811 # Some tools Automake needs.
1812
1813 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1814
1815
1816 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1817
1818
1819 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1820
1821
1822 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1823
1824
1825 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1826
1827
1828 AMTAR=${AMTAR-"${am_missing_run}tar"}
1829
1830 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1831
1832 # Installed binaries are usually stripped using `strip' when the user
1833 # run `make install-strip'.  However `strip' might not be the right
1834 # tool to use in cross-compilation environments, therefore Automake
1835 # will honor the `STRIP' environment variable to overrule this program.
1836 if test "$cross_compiling" != no; then
1837   if test -n "$ac_tool_prefix"; then
1838   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1839 set dummy ${ac_tool_prefix}strip; ac_word=$2
1840 echo "$as_me:$LINENO: checking for $ac_word" >&5
1841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1842 if test "${ac_cv_prog_STRIP+set}" = set; then
1843   echo $ECHO_N "(cached) $ECHO_C" >&6
1844 else
1845   if test -n "$STRIP"; then
1846   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1847 else
1848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1849 for as_dir in $PATH
1850 do
1851   IFS=$as_save_IFS
1852   test -z "$as_dir" && as_dir=.
1853   for ac_exec_ext in '' $ac_executable_extensions; do
1854   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1855     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1856     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1857     break 2
1858   fi
1859 done
1860 done
1861
1862 fi
1863 fi
1864 STRIP=$ac_cv_prog_STRIP
1865 if test -n "$STRIP"; then
1866   echo "$as_me:$LINENO: result: $STRIP" >&5
1867 echo "${ECHO_T}$STRIP" >&6
1868 else
1869   echo "$as_me:$LINENO: result: no" >&5
1870 echo "${ECHO_T}no" >&6
1871 fi
1872
1873 fi
1874 if test -z "$ac_cv_prog_STRIP"; then
1875   ac_ct_STRIP=$STRIP
1876   # Extract the first word of "strip", so it can be a program name with args.
1877 set dummy strip; ac_word=$2
1878 echo "$as_me:$LINENO: checking for $ac_word" >&5
1879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1880 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1881   echo $ECHO_N "(cached) $ECHO_C" >&6
1882 else
1883   if test -n "$ac_ct_STRIP"; then
1884   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1885 else
1886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1887 for as_dir in $PATH
1888 do
1889   IFS=$as_save_IFS
1890   test -z "$as_dir" && as_dir=.
1891   for ac_exec_ext in '' $ac_executable_extensions; do
1892   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1893     ac_cv_prog_ac_ct_STRIP="strip"
1894     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1895     break 2
1896   fi
1897 done
1898 done
1899
1900   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1901 fi
1902 fi
1903 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1904 if test -n "$ac_ct_STRIP"; then
1905   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1906 echo "${ECHO_T}$ac_ct_STRIP" >&6
1907 else
1908   echo "$as_me:$LINENO: result: no" >&5
1909 echo "${ECHO_T}no" >&6
1910 fi
1911
1912   STRIP=$ac_ct_STRIP
1913 else
1914   STRIP="$ac_cv_prog_STRIP"
1915 fi
1916
1917 fi
1918 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1919
1920 # We need awk for the "check" target.  The system "awk" is bad on
1921 # some platforms.
1922
1923
1924
1925
1926 # Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
1927 # up critical shell variables.
1928
1929   # Keep these sync'd with the list in Makefile.am.  The first provides an
1930   # expandable list at autoconf time; the second provides an expandable list
1931   # (i.e., shell variable) at configure time.
1932
1933   SUBDIRS='include libmath libsupc++ src po testsuite'
1934
1935   # These need to be absolute paths, yet at the same time need to
1936   # canonicalize only relative paths, because then amd will not unmount
1937   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1938   glibcxx_builddir=`${PWDCMD-pwd}`
1939   case $srcdir in
1940     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1941     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1942   esac
1943   toplevel_srcdir=${glibcxx_srcdir}/..
1944
1945
1946
1947
1948   # We use these options to decide which functions to include.  They are
1949   # set from the top level.
1950
1951 # Check whether --with-target-subdir or --without-target-subdir was given.
1952 if test "${with_target_subdir+set}" = set; then
1953   withval="$with_target_subdir"
1954
1955 fi;
1956
1957
1958 # Check whether --with-cross-host or --without-cross-host was given.
1959 if test "${with_cross_host+set}" = set; then
1960   withval="$with_cross_host"
1961
1962 fi;
1963
1964
1965 # Check whether --with-newlib or --without-newlib was given.
1966 if test "${with_newlib+set}" = set; then
1967   withval="$with_newlib"
1968
1969 fi;
1970
1971   # We're almost certainly being configured before anything else which uses
1972   # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
1973   # we not cache the value of CXX that we "discover" here, because it's set
1974   # to something unique for us and libjava.  Other target libraries need to
1975   # find CXX for themselves.  We yank the rug out from under the normal AC_*
1976   # process by sneakily renaming the cache variable.  This also lets us debug
1977   # the value of "our" CXX in postmortems.
1978   #
1979   # We must also force CXX to /not/ be a precious variable, otherwise the
1980   # wrong (non-multilib-adjusted) value will be used in multilibs.  This
1981   # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
1982   # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
1983   # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
1984   #
1985   # -fno-builtin must be present here so that a non-conflicting form of
1986   # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
1987
1988
1989
1990
1991   save_CXXFLAGS="$CXXFLAGS"
1992   CXXFLAGS="$CXXFLAGS -fno-builtin"
1993   ac_ext=c
1994 ac_cpp='$CPP $CPPFLAGS'
1995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1998 if test -n "$ac_tool_prefix"; then
1999   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2000 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2001 echo "$as_me:$LINENO: checking for $ac_word" >&5
2002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2003 if test "${ac_cv_prog_CC+set}" = set; then
2004   echo $ECHO_N "(cached) $ECHO_C" >&6
2005 else
2006   if test -n "$CC"; then
2007   ac_cv_prog_CC="$CC" # Let the user override the test.
2008 else
2009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2010 for as_dir in $PATH
2011 do
2012   IFS=$as_save_IFS
2013   test -z "$as_dir" && as_dir=.
2014   for ac_exec_ext in '' $ac_executable_extensions; do
2015   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2016     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2017     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2018     break 2
2019   fi
2020 done
2021 done
2022
2023 fi
2024 fi
2025 CC=$ac_cv_prog_CC
2026 if test -n "$CC"; then
2027   echo "$as_me:$LINENO: result: $CC" >&5
2028 echo "${ECHO_T}$CC" >&6
2029 else
2030   echo "$as_me:$LINENO: result: no" >&5
2031 echo "${ECHO_T}no" >&6
2032 fi
2033
2034 fi
2035 if test -z "$ac_cv_prog_CC"; then
2036   ac_ct_CC=$CC
2037   # Extract the first word of "gcc", so it can be a program name with args.
2038 set dummy gcc; ac_word=$2
2039 echo "$as_me:$LINENO: checking for $ac_word" >&5
2040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2041 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2042   echo $ECHO_N "(cached) $ECHO_C" >&6
2043 else
2044   if test -n "$ac_ct_CC"; then
2045   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2046 else
2047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2048 for as_dir in $PATH
2049 do
2050   IFS=$as_save_IFS
2051   test -z "$as_dir" && as_dir=.
2052   for ac_exec_ext in '' $ac_executable_extensions; do
2053   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2054     ac_cv_prog_ac_ct_CC="gcc"
2055     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2056     break 2
2057   fi
2058 done
2059 done
2060
2061 fi
2062 fi
2063 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2064 if test -n "$ac_ct_CC"; then
2065   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2066 echo "${ECHO_T}$ac_ct_CC" >&6
2067 else
2068   echo "$as_me:$LINENO: result: no" >&5
2069 echo "${ECHO_T}no" >&6
2070 fi
2071
2072   CC=$ac_ct_CC
2073 else
2074   CC="$ac_cv_prog_CC"
2075 fi
2076
2077 if test -z "$CC"; then
2078   if test -n "$ac_tool_prefix"; then
2079   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2080 set dummy ${ac_tool_prefix}cc; ac_word=$2
2081 echo "$as_me:$LINENO: checking for $ac_word" >&5
2082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2083 if test "${ac_cv_prog_CC+set}" = set; then
2084   echo $ECHO_N "(cached) $ECHO_C" >&6
2085 else
2086   if test -n "$CC"; then
2087   ac_cv_prog_CC="$CC" # Let the user override the test.
2088 else
2089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2090 for as_dir in $PATH
2091 do
2092   IFS=$as_save_IFS
2093   test -z "$as_dir" && as_dir=.
2094   for ac_exec_ext in '' $ac_executable_extensions; do
2095   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2096     ac_cv_prog_CC="${ac_tool_prefix}cc"
2097     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2098     break 2
2099   fi
2100 done
2101 done
2102
2103 fi
2104 fi
2105 CC=$ac_cv_prog_CC
2106 if test -n "$CC"; then
2107   echo "$as_me:$LINENO: result: $CC" >&5
2108 echo "${ECHO_T}$CC" >&6
2109 else
2110   echo "$as_me:$LINENO: result: no" >&5
2111 echo "${ECHO_T}no" >&6
2112 fi
2113
2114 fi
2115 if test -z "$ac_cv_prog_CC"; then
2116   ac_ct_CC=$CC
2117   # Extract the first word of "cc", so it can be a program name with args.
2118 set dummy cc; ac_word=$2
2119 echo "$as_me:$LINENO: checking for $ac_word" >&5
2120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2121 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2122   echo $ECHO_N "(cached) $ECHO_C" >&6
2123 else
2124   if test -n "$ac_ct_CC"; then
2125   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2126 else
2127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2128 for as_dir in $PATH
2129 do
2130   IFS=$as_save_IFS
2131   test -z "$as_dir" && as_dir=.
2132   for ac_exec_ext in '' $ac_executable_extensions; do
2133   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2134     ac_cv_prog_ac_ct_CC="cc"
2135     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2136     break 2
2137   fi
2138 done
2139 done
2140
2141 fi
2142 fi
2143 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2144 if test -n "$ac_ct_CC"; then
2145   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2146 echo "${ECHO_T}$ac_ct_CC" >&6
2147 else
2148   echo "$as_me:$LINENO: result: no" >&5
2149 echo "${ECHO_T}no" >&6
2150 fi
2151
2152   CC=$ac_ct_CC
2153 else
2154   CC="$ac_cv_prog_CC"
2155 fi
2156
2157 fi
2158 if test -z "$CC"; then
2159   # Extract the first word of "cc", so it can be a program name with args.
2160 set dummy cc; ac_word=$2
2161 echo "$as_me:$LINENO: checking for $ac_word" >&5
2162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2163 if test "${ac_cv_prog_CC+set}" = set; then
2164   echo $ECHO_N "(cached) $ECHO_C" >&6
2165 else
2166   if test -n "$CC"; then
2167   ac_cv_prog_CC="$CC" # Let the user override the test.
2168 else
2169   ac_prog_rejected=no
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     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2178        ac_prog_rejected=yes
2179        continue
2180      fi
2181     ac_cv_prog_CC="cc"
2182     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2183     break 2
2184   fi
2185 done
2186 done
2187
2188 if test $ac_prog_rejected = yes; then
2189   # We found a bogon in the path, so make sure we never use it.
2190   set dummy $ac_cv_prog_CC
2191   shift
2192   if test $# != 0; then
2193     # We chose a different compiler from the bogus one.
2194     # However, it has the same basename, so the bogon will be chosen
2195     # first if we set CC to just the basename; use the full file name.
2196     shift
2197     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2198   fi
2199 fi
2200 fi
2201 fi
2202 CC=$ac_cv_prog_CC
2203 if test -n "$CC"; then
2204   echo "$as_me:$LINENO: result: $CC" >&5
2205 echo "${ECHO_T}$CC" >&6
2206 else
2207   echo "$as_me:$LINENO: result: no" >&5
2208 echo "${ECHO_T}no" >&6
2209 fi
2210
2211 fi
2212 if test -z "$CC"; then
2213   if test -n "$ac_tool_prefix"; then
2214   for ac_prog in cl
2215   do
2216     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2217 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2218 echo "$as_me:$LINENO: checking for $ac_word" >&5
2219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2220 if test "${ac_cv_prog_CC+set}" = set; then
2221   echo $ECHO_N "(cached) $ECHO_C" >&6
2222 else
2223   if test -n "$CC"; then
2224   ac_cv_prog_CC="$CC" # Let the user override the test.
2225 else
2226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2227 for as_dir in $PATH
2228 do
2229   IFS=$as_save_IFS
2230   test -z "$as_dir" && as_dir=.
2231   for ac_exec_ext in '' $ac_executable_extensions; do
2232   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2233     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2234     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2235     break 2
2236   fi
2237 done
2238 done
2239
2240 fi
2241 fi
2242 CC=$ac_cv_prog_CC
2243 if test -n "$CC"; then
2244   echo "$as_me:$LINENO: result: $CC" >&5
2245 echo "${ECHO_T}$CC" >&6
2246 else
2247   echo "$as_me:$LINENO: result: no" >&5
2248 echo "${ECHO_T}no" >&6
2249 fi
2250
2251     test -n "$CC" && break
2252   done
2253 fi
2254 if test -z "$CC"; then
2255   ac_ct_CC=$CC
2256   for ac_prog in cl
2257 do
2258   # Extract the first word of "$ac_prog", so it can be a program name with args.
2259 set dummy $ac_prog; ac_word=$2
2260 echo "$as_me:$LINENO: checking for $ac_word" >&5
2261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2262 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2263   echo $ECHO_N "(cached) $ECHO_C" >&6
2264 else
2265   if test -n "$ac_ct_CC"; then
2266   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2267 else
2268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2269 for as_dir in $PATH
2270 do
2271   IFS=$as_save_IFS
2272   test -z "$as_dir" && as_dir=.
2273   for ac_exec_ext in '' $ac_executable_extensions; do
2274   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2275     ac_cv_prog_ac_ct_CC="$ac_prog"
2276     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2277     break 2
2278   fi
2279 done
2280 done
2281
2282 fi
2283 fi
2284 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2285 if test -n "$ac_ct_CC"; then
2286   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2287 echo "${ECHO_T}$ac_ct_CC" >&6
2288 else
2289   echo "$as_me:$LINENO: result: no" >&5
2290 echo "${ECHO_T}no" >&6
2291 fi
2292
2293   test -n "$ac_ct_CC" && break
2294 done
2295
2296   CC=$ac_ct_CC
2297 fi
2298
2299 fi
2300
2301
2302 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2303 See \`config.log' for more details." >&5
2304 echo "$as_me: error: no acceptable C compiler found in \$PATH
2305 See \`config.log' for more details." >&2;}
2306    { (exit 1); exit 1; }; }
2307
2308 # Provide some information about the compiler.
2309 echo "$as_me:$LINENO:" \
2310      "checking for C compiler version" >&5
2311 ac_compiler=`set X $ac_compile; echo $2`
2312 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2313   (eval $ac_compiler --version </dev/null >&5) 2>&5
2314   ac_status=$?
2315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2316   (exit $ac_status); }
2317 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2318   (eval $ac_compiler -v </dev/null >&5) 2>&5
2319   ac_status=$?
2320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321   (exit $ac_status); }
2322 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2323   (eval $ac_compiler -V </dev/null >&5) 2>&5
2324   ac_status=$?
2325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2326   (exit $ac_status); }
2327
2328 cat >conftest.$ac_ext <<_ACEOF
2329 /* confdefs.h.  */
2330 _ACEOF
2331 cat confdefs.h >>conftest.$ac_ext
2332 cat >>conftest.$ac_ext <<_ACEOF
2333 /* end confdefs.h.  */
2334
2335 int
2336 main ()
2337 {
2338
2339   ;
2340   return 0;
2341 }
2342 _ACEOF
2343 # FIXME: Cleanup?
2344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2345   (eval $ac_link) 2>&5
2346   ac_status=$?
2347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348   (exit $ac_status); }; then
2349   gcc_no_link=no
2350 else
2351   gcc_no_link=yes
2352 fi
2353
2354 if test x$gcc_no_link = xyes; then
2355   # Setting cross_compile will disable run tests; it will
2356   # also disable AC_CHECK_FILE but that's generally
2357   # correct if we can't link.
2358   cross_compiling=yes
2359   EXEEXT=
2360 else
2361   cat >conftest.$ac_ext <<_ACEOF
2362 /* confdefs.h.  */
2363 _ACEOF
2364 cat confdefs.h >>conftest.$ac_ext
2365 cat >>conftest.$ac_ext <<_ACEOF
2366 /* end confdefs.h.  */
2367
2368 int
2369 main ()
2370 {
2371
2372   ;
2373   return 0;
2374 }
2375 _ACEOF
2376 ac_clean_files_save=$ac_clean_files
2377 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2378 # Try to create an executable without -o first, disregard a.out.
2379 # It will help us diagnose broken compilers, and finding out an intuition
2380 # of exeext.
2381 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2382 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2383 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2384 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2385   (eval $ac_link_default) 2>&5
2386   ac_status=$?
2387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388   (exit $ac_status); }; then
2389   # Find the output, starting from the most likely.  This scheme is
2390 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2391 # resort.
2392
2393 # Be careful to initialize this variable, since it used to be cached.
2394 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2395 ac_cv_exeext=
2396 # b.out is created by i960 compilers.
2397 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2398 do
2399   test -f "$ac_file" || continue
2400   case $ac_file in
2401     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2402         ;;
2403     conftest.$ac_ext )
2404         # This is the source file.
2405         ;;
2406     [ab].out )
2407         # We found the default executable, but exeext='' is most
2408         # certainly right.
2409         break;;
2410     *.* )
2411         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2412         # FIXME: I believe we export ac_cv_exeext for Libtool,
2413         # but it would be cool to find out if it's true.  Does anybody
2414         # maintain Libtool? --akim.
2415         export ac_cv_exeext
2416         break;;
2417     * )
2418         break;;
2419   esac
2420 done
2421 else
2422   echo "$as_me: failed program was:" >&5
2423 sed 's/^/| /' conftest.$ac_ext >&5
2424
2425 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2426 See \`config.log' for more details." >&5
2427 echo "$as_me: error: C compiler cannot create executables
2428 See \`config.log' for more details." >&2;}
2429    { (exit 77); exit 77; }; }
2430 fi
2431
2432 ac_exeext=$ac_cv_exeext
2433 echo "$as_me:$LINENO: result: $ac_file" >&5
2434 echo "${ECHO_T}$ac_file" >&6
2435
2436 # Check the compiler produces executables we can run.  If not, either
2437 # the compiler is broken, or we cross compile.
2438 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2439 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2440 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2441 # If not cross compiling, check that we can run a simple program.
2442 if test "$cross_compiling" != yes; then
2443   if { ac_try='./$ac_file'
2444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2445   (eval $ac_try) 2>&5
2446   ac_status=$?
2447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448   (exit $ac_status); }; }; then
2449     cross_compiling=no
2450   else
2451     if test "$cross_compiling" = maybe; then
2452         cross_compiling=yes
2453     else
2454         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2455 If you meant to cross compile, use \`--host'.
2456 See \`config.log' for more details." >&5
2457 echo "$as_me: error: cannot run C compiled programs.
2458 If you meant to cross compile, use \`--host'.
2459 See \`config.log' for more details." >&2;}
2460    { (exit 1); exit 1; }; }
2461     fi
2462   fi
2463 fi
2464 echo "$as_me:$LINENO: result: yes" >&5
2465 echo "${ECHO_T}yes" >&6
2466
2467 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2468 ac_clean_files=$ac_clean_files_save
2469 # Check the compiler produces executables we can run.  If not, either
2470 # the compiler is broken, or we cross compile.
2471 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2472 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2473 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2474 echo "${ECHO_T}$cross_compiling" >&6
2475
2476 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2477 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2479   (eval $ac_link) 2>&5
2480   ac_status=$?
2481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2482   (exit $ac_status); }; then
2483   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2484 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2485 # work properly (i.e., refer to `conftest.exe'), while it won't with
2486 # `rm'.
2487 for ac_file in conftest.exe conftest conftest.*; do
2488   test -f "$ac_file" || continue
2489   case $ac_file in
2490     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2491     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2492           export ac_cv_exeext
2493           break;;
2494     * ) break;;
2495   esac
2496 done
2497 else
2498   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2499 See \`config.log' for more details." >&5
2500 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2501 See \`config.log' for more details." >&2;}
2502    { (exit 1); exit 1; }; }
2503 fi
2504
2505 rm -f conftest$ac_cv_exeext
2506 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2507 echo "${ECHO_T}$ac_cv_exeext" >&6
2508
2509 rm -f conftest.$ac_ext
2510 EXEEXT=$ac_cv_exeext
2511 ac_exeext=$EXEEXT
2512 fi
2513 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2514 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2515 if test "${ac_cv_objext+set}" = set; then
2516   echo $ECHO_N "(cached) $ECHO_C" >&6
2517 else
2518   cat >conftest.$ac_ext <<_ACEOF
2519 /* confdefs.h.  */
2520 _ACEOF
2521 cat confdefs.h >>conftest.$ac_ext
2522 cat >>conftest.$ac_ext <<_ACEOF
2523 /* end confdefs.h.  */
2524
2525 int
2526 main ()
2527 {
2528
2529   ;
2530   return 0;
2531 }
2532 _ACEOF
2533 rm -f conftest.o conftest.obj
2534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2535   (eval $ac_compile) 2>&5
2536   ac_status=$?
2537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2538   (exit $ac_status); }; then
2539   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2540   case $ac_file in
2541     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2542     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2543        break;;
2544   esac
2545 done
2546 else
2547   echo "$as_me: failed program was:" >&5
2548 sed 's/^/| /' conftest.$ac_ext >&5
2549
2550 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2551 See \`config.log' for more details." >&5
2552 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2553 See \`config.log' for more details." >&2;}
2554    { (exit 1); exit 1; }; }
2555 fi
2556
2557 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2558 fi
2559 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2560 echo "${ECHO_T}$ac_cv_objext" >&6
2561 OBJEXT=$ac_cv_objext
2562 ac_objext=$OBJEXT
2563 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2564 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2565 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2566   echo $ECHO_N "(cached) $ECHO_C" >&6
2567 else
2568   cat >conftest.$ac_ext <<_ACEOF
2569 /* confdefs.h.  */
2570 _ACEOF
2571 cat confdefs.h >>conftest.$ac_ext
2572 cat >>conftest.$ac_ext <<_ACEOF
2573 /* end confdefs.h.  */
2574
2575 int
2576 main ()
2577 {
2578 #ifndef __GNUC__
2579        choke me
2580 #endif
2581
2582   ;
2583   return 0;
2584 }
2585 _ACEOF
2586 rm -f conftest.$ac_objext
2587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2588   (eval $ac_compile) 2>conftest.er1
2589   ac_status=$?
2590   grep -v '^ *+' conftest.er1 >conftest.err
2591   rm -f conftest.er1
2592   cat conftest.err >&5
2593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2594   (exit $ac_status); } &&
2595          { ac_try='test -z "$ac_c_werror_flag"
2596                          || test ! -s conftest.err'
2597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2598   (eval $ac_try) 2>&5
2599   ac_status=$?
2600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601   (exit $ac_status); }; } &&
2602          { ac_try='test -s conftest.$ac_objext'
2603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2604   (eval $ac_try) 2>&5
2605   ac_status=$?
2606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607   (exit $ac_status); }; }; then
2608   ac_compiler_gnu=yes
2609 else
2610   echo "$as_me: failed program was:" >&5
2611 sed 's/^/| /' conftest.$ac_ext >&5
2612
2613 ac_compiler_gnu=no
2614 fi
2615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2616 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2617
2618 fi
2619 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2620 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2621 GCC=`test $ac_compiler_gnu = yes && echo yes`
2622 ac_test_CFLAGS=${CFLAGS+set}
2623 ac_save_CFLAGS=$CFLAGS
2624 CFLAGS="-g"
2625 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2626 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2627 if test "${ac_cv_prog_cc_g+set}" = set; then
2628   echo $ECHO_N "(cached) $ECHO_C" >&6
2629 else
2630   cat >conftest.$ac_ext <<_ACEOF
2631 /* confdefs.h.  */
2632 _ACEOF
2633 cat confdefs.h >>conftest.$ac_ext
2634 cat >>conftest.$ac_ext <<_ACEOF
2635 /* end confdefs.h.  */
2636
2637 int
2638 main ()
2639 {
2640
2641   ;
2642   return 0;
2643 }
2644 _ACEOF
2645 rm -f conftest.$ac_objext
2646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2647   (eval $ac_compile) 2>conftest.er1
2648   ac_status=$?
2649   grep -v '^ *+' conftest.er1 >conftest.err
2650   rm -f conftest.er1
2651   cat conftest.err >&5
2652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653   (exit $ac_status); } &&
2654          { ac_try='test -z "$ac_c_werror_flag"
2655                          || test ! -s conftest.err'
2656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2657   (eval $ac_try) 2>&5
2658   ac_status=$?
2659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660   (exit $ac_status); }; } &&
2661          { ac_try='test -s conftest.$ac_objext'
2662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2663   (eval $ac_try) 2>&5
2664   ac_status=$?
2665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666   (exit $ac_status); }; }; then
2667   ac_cv_prog_cc_g=yes
2668 else
2669   echo "$as_me: failed program was:" >&5
2670 sed 's/^/| /' conftest.$ac_ext >&5
2671
2672 ac_cv_prog_cc_g=no
2673 fi
2674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2675 fi
2676 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2677 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2678 if test "$ac_test_CFLAGS" = set; then
2679   CFLAGS=$ac_save_CFLAGS
2680 elif test $ac_cv_prog_cc_g = yes; then
2681   if test "$GCC" = yes; then
2682     CFLAGS="-g -O2"
2683   else
2684     CFLAGS="-g"
2685   fi
2686 else
2687   if test "$GCC" = yes; then
2688     CFLAGS="-O2"
2689   else
2690     CFLAGS=
2691   fi
2692 fi
2693 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2694 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2695 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2696   echo $ECHO_N "(cached) $ECHO_C" >&6
2697 else
2698   ac_cv_prog_cc_stdc=no
2699 ac_save_CC=$CC
2700 cat >conftest.$ac_ext <<_ACEOF
2701 /* confdefs.h.  */
2702 _ACEOF
2703 cat confdefs.h >>conftest.$ac_ext
2704 cat >>conftest.$ac_ext <<_ACEOF
2705 /* end confdefs.h.  */
2706 #include <stdarg.h>
2707 #include <stdio.h>
2708 #include <sys/types.h>
2709 #include <sys/stat.h>
2710 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2711 struct buf { int x; };
2712 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2713 static char *e (p, i)
2714      char **p;
2715      int i;
2716 {
2717   return p[i];
2718 }
2719 static char *f (char * (*g) (char **, int), char **p, ...)
2720 {
2721   char *s;
2722   va_list v;
2723   va_start (v,p);
2724   s = g (p, va_arg (v,int));
2725   va_end (v);
2726   return s;
2727 }
2728
2729 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2730    function prototypes and stuff, but not '\xHH' hex character constants.
2731    These don't provoke an error unfortunately, instead are silently treated
2732    as 'x'.  The following induces an error, until -std1 is added to get
2733    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2734    array size at least.  It's necessary to write '\x00'==0 to get something
2735    that's true only with -std1.  */
2736 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2737
2738 int test (int i, double x);
2739 struct s1 {int (*f) (int a);};
2740 struct s2 {int (*f) (double a);};
2741 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2742 int argc;
2743 char **argv;
2744 int
2745 main ()
2746 {
2747 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2748   ;
2749   return 0;
2750 }
2751 _ACEOF
2752 # Don't try gcc -ansi; that turns off useful extensions and
2753 # breaks some systems' header files.
2754 # AIX                   -qlanglvl=ansi
2755 # Ultrix and OSF/1      -std1
2756 # HP-UX 10.20 and later -Ae
2757 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2758 # SVR4                  -Xc -D__EXTENSIONS__
2759 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2760 do
2761   CC="$ac_save_CC $ac_arg"
2762   rm -f conftest.$ac_objext
2763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2764   (eval $ac_compile) 2>conftest.er1
2765   ac_status=$?
2766   grep -v '^ *+' conftest.er1 >conftest.err
2767   rm -f conftest.er1
2768   cat conftest.err >&5
2769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770   (exit $ac_status); } &&
2771          { ac_try='test -z "$ac_c_werror_flag"
2772                          || test ! -s conftest.err'
2773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2774   (eval $ac_try) 2>&5
2775   ac_status=$?
2776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777   (exit $ac_status); }; } &&
2778          { ac_try='test -s conftest.$ac_objext'
2779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2780   (eval $ac_try) 2>&5
2781   ac_status=$?
2782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783   (exit $ac_status); }; }; then
2784   ac_cv_prog_cc_stdc=$ac_arg
2785 break
2786 else
2787   echo "$as_me: failed program was:" >&5
2788 sed 's/^/| /' conftest.$ac_ext >&5
2789
2790 fi
2791 rm -f conftest.err conftest.$ac_objext
2792 done
2793 rm -f conftest.$ac_ext conftest.$ac_objext
2794 CC=$ac_save_CC
2795
2796 fi
2797
2798 case "x$ac_cv_prog_cc_stdc" in
2799   x|xno)
2800     echo "$as_me:$LINENO: result: none needed" >&5
2801 echo "${ECHO_T}none needed" >&6 ;;
2802   *)
2803     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2804 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2805     CC="$CC $ac_cv_prog_cc_stdc" ;;
2806 esac
2807
2808 # Some people use a C++ compiler to compile C.  Since we use `exit',
2809 # in C++ we need to declare it.  In case someone uses the same compiler
2810 # for both compiling C and C++ we need to have the C++ compiler decide
2811 # the declaration of exit, since it's the most demanding environment.
2812 cat >conftest.$ac_ext <<_ACEOF
2813 #ifndef __cplusplus
2814   choke me
2815 #endif
2816 _ACEOF
2817 rm -f conftest.$ac_objext
2818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2819   (eval $ac_compile) 2>conftest.er1
2820   ac_status=$?
2821   grep -v '^ *+' conftest.er1 >conftest.err
2822   rm -f conftest.er1
2823   cat conftest.err >&5
2824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2825   (exit $ac_status); } &&
2826          { ac_try='test -z "$ac_c_werror_flag"
2827                          || test ! -s conftest.err'
2828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2829   (eval $ac_try) 2>&5
2830   ac_status=$?
2831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832   (exit $ac_status); }; } &&
2833          { ac_try='test -s conftest.$ac_objext'
2834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2835   (eval $ac_try) 2>&5
2836   ac_status=$?
2837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838   (exit $ac_status); }; }; then
2839   for ac_declaration in \
2840    '' \
2841    'extern "C" void std::exit (int) throw (); using std::exit;' \
2842    'extern "C" void std::exit (int); using std::exit;' \
2843    'extern "C" void exit (int) throw ();' \
2844    'extern "C" void exit (int);' \
2845    'void exit (int);'
2846 do
2847   cat >conftest.$ac_ext <<_ACEOF
2848 /* confdefs.h.  */
2849 _ACEOF
2850 cat confdefs.h >>conftest.$ac_ext
2851 cat >>conftest.$ac_ext <<_ACEOF
2852 /* end confdefs.h.  */
2853 $ac_declaration
2854 #include <stdlib.h>
2855 int
2856 main ()
2857 {
2858 exit (42);
2859   ;
2860   return 0;
2861 }
2862 _ACEOF
2863 rm -f conftest.$ac_objext
2864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2865   (eval $ac_compile) 2>conftest.er1
2866   ac_status=$?
2867   grep -v '^ *+' conftest.er1 >conftest.err
2868   rm -f conftest.er1
2869   cat conftest.err >&5
2870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871   (exit $ac_status); } &&
2872          { ac_try='test -z "$ac_c_werror_flag"
2873                          || test ! -s conftest.err'
2874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2875   (eval $ac_try) 2>&5
2876   ac_status=$?
2877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2878   (exit $ac_status); }; } &&
2879          { ac_try='test -s conftest.$ac_objext'
2880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2881   (eval $ac_try) 2>&5
2882   ac_status=$?
2883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884   (exit $ac_status); }; }; then
2885   :
2886 else
2887   echo "$as_me: failed program was:" >&5
2888 sed 's/^/| /' conftest.$ac_ext >&5
2889
2890 continue
2891 fi
2892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2893   cat >conftest.$ac_ext <<_ACEOF
2894 /* confdefs.h.  */
2895 _ACEOF
2896 cat confdefs.h >>conftest.$ac_ext
2897 cat >>conftest.$ac_ext <<_ACEOF
2898 /* end confdefs.h.  */
2899 $ac_declaration
2900 int
2901 main ()
2902 {
2903 exit (42);
2904   ;
2905   return 0;
2906 }
2907 _ACEOF
2908 rm -f conftest.$ac_objext
2909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2910   (eval $ac_compile) 2>conftest.er1
2911   ac_status=$?
2912   grep -v '^ *+' conftest.er1 >conftest.err
2913   rm -f conftest.er1
2914   cat conftest.err >&5
2915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2916   (exit $ac_status); } &&
2917          { ac_try='test -z "$ac_c_werror_flag"
2918                          || test ! -s conftest.err'
2919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2920   (eval $ac_try) 2>&5
2921   ac_status=$?
2922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923   (exit $ac_status); }; } &&
2924          { ac_try='test -s conftest.$ac_objext'
2925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2926   (eval $ac_try) 2>&5
2927   ac_status=$?
2928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929   (exit $ac_status); }; }; then
2930   break
2931 else
2932   echo "$as_me: failed program was:" >&5
2933 sed 's/^/| /' conftest.$ac_ext >&5
2934
2935 fi
2936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2937 done
2938 rm -f conftest*
2939 if test -n "$ac_declaration"; then
2940   echo '#ifdef __cplusplus' >>confdefs.h
2941   echo $ac_declaration      >>confdefs.h
2942   echo '#endif'             >>confdefs.h
2943 fi
2944
2945 else
2946   echo "$as_me: failed program was:" >&5
2947 sed 's/^/| /' conftest.$ac_ext >&5
2948
2949 fi
2950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2951 ac_ext=c
2952 ac_cpp='$CPP $CPPFLAGS'
2953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2956
2957   ac_ext=cc
2958 ac_cpp='$CXXCPP $CPPFLAGS'
2959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2962 if test -n "$ac_tool_prefix"; then
2963   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2964   do
2965     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2966 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2967 echo "$as_me:$LINENO: checking for $ac_word" >&5
2968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2969 if test "${glibcxx_cv_prog_CXX+set}" = set; then
2970   echo $ECHO_N "(cached) $ECHO_C" >&6
2971 else
2972   if test -n "$CXX"; then
2973   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
2974 else
2975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2976 for as_dir in $PATH
2977 do
2978   IFS=$as_save_IFS
2979   test -z "$as_dir" && as_dir=.
2980   for ac_exec_ext in '' $ac_executable_extensions; do
2981   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2982     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2983     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2984     break 2
2985   fi
2986 done
2987 done
2988
2989 fi
2990 fi
2991 CXX=$glibcxx_cv_prog_CXX
2992 if test -n "$CXX"; then
2993   echo "$as_me:$LINENO: result: $CXX" >&5
2994 echo "${ECHO_T}$CXX" >&6
2995 else
2996   echo "$as_me:$LINENO: result: no" >&5
2997 echo "${ECHO_T}no" >&6
2998 fi
2999
3000     test -n "$CXX" && break
3001   done
3002 fi
3003 if test -z "$CXX"; then
3004   ac_ct_CXX=$CXX
3005   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3006 do
3007   # Extract the first word of "$ac_prog", so it can be a program name with args.
3008 set dummy $ac_prog; ac_word=$2
3009 echo "$as_me:$LINENO: checking for $ac_word" >&5
3010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3011 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3012   echo $ECHO_N "(cached) $ECHO_C" >&6
3013 else
3014   if test -n "$ac_ct_CXX"; then
3015   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3016 else
3017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3018 for as_dir in $PATH
3019 do
3020   IFS=$as_save_IFS
3021   test -z "$as_dir" && as_dir=.
3022   for ac_exec_ext in '' $ac_executable_extensions; do
3023   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3024     ac_cv_prog_ac_ct_CXX="$ac_prog"
3025     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3026     break 2
3027   fi
3028 done
3029 done
3030
3031 fi
3032 fi
3033 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3034 if test -n "$ac_ct_CXX"; then
3035   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3036 echo "${ECHO_T}$ac_ct_CXX" >&6
3037 else
3038   echo "$as_me:$LINENO: result: no" >&5
3039 echo "${ECHO_T}no" >&6
3040 fi
3041
3042   test -n "$ac_ct_CXX" && break
3043 done
3044 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3045
3046   CXX=$ac_ct_CXX
3047 fi
3048
3049
3050 # Provide some information about the compiler.
3051 echo "$as_me:$LINENO:" \
3052      "checking for C++ compiler version" >&5
3053 ac_compiler=`set X $ac_compile; echo $2`
3054 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3055   (eval $ac_compiler --version </dev/null >&5) 2>&5
3056   ac_status=$?
3057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3058   (exit $ac_status); }
3059 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3060   (eval $ac_compiler -v </dev/null >&5) 2>&5
3061   ac_status=$?
3062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063   (exit $ac_status); }
3064 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3065   (eval $ac_compiler -V </dev/null >&5) 2>&5
3066   ac_status=$?
3067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3068   (exit $ac_status); }
3069
3070 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3071 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3072 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3073   echo $ECHO_N "(cached) $ECHO_C" >&6
3074 else
3075   cat >conftest.$ac_ext <<_ACEOF
3076 /* confdefs.h.  */
3077 _ACEOF
3078 cat confdefs.h >>conftest.$ac_ext
3079 cat >>conftest.$ac_ext <<_ACEOF
3080 /* end confdefs.h.  */
3081
3082 int
3083 main ()
3084 {
3085 #ifndef __GNUC__
3086        choke me
3087 #endif
3088
3089   ;
3090   return 0;
3091 }
3092 _ACEOF
3093 rm -f conftest.$ac_objext
3094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3095   (eval $ac_compile) 2>conftest.er1
3096   ac_status=$?
3097   grep -v '^ *+' conftest.er1 >conftest.err
3098   rm -f conftest.er1
3099   cat conftest.err >&5
3100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101   (exit $ac_status); } &&
3102          { ac_try='test -z "$ac_cxx_werror_flag"
3103                          || test ! -s conftest.err'
3104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3105   (eval $ac_try) 2>&5
3106   ac_status=$?
3107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3108   (exit $ac_status); }; } &&
3109          { ac_try='test -s conftest.$ac_objext'
3110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3111   (eval $ac_try) 2>&5
3112   ac_status=$?
3113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114   (exit $ac_status); }; }; then
3115   ac_compiler_gnu=yes
3116 else
3117   echo "$as_me: failed program was:" >&5
3118 sed 's/^/| /' conftest.$ac_ext >&5
3119
3120 ac_compiler_gnu=no
3121 fi
3122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3123 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3124
3125 fi
3126 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3127 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3128 GXX=`test $ac_compiler_gnu = yes && echo yes`
3129 ac_test_CXXFLAGS=${CXXFLAGS+set}
3130 ac_save_CXXFLAGS=$CXXFLAGS
3131 CXXFLAGS="-g"
3132 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3133 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3134 if test "${ac_cv_prog_cxx_g+set}" = set; then
3135   echo $ECHO_N "(cached) $ECHO_C" >&6
3136 else
3137   cat >conftest.$ac_ext <<_ACEOF
3138 /* confdefs.h.  */
3139 _ACEOF
3140 cat confdefs.h >>conftest.$ac_ext
3141 cat >>conftest.$ac_ext <<_ACEOF
3142 /* end confdefs.h.  */
3143
3144 int
3145 main ()
3146 {
3147
3148   ;
3149   return 0;
3150 }
3151 _ACEOF
3152 rm -f conftest.$ac_objext
3153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3154   (eval $ac_compile) 2>conftest.er1
3155   ac_status=$?
3156   grep -v '^ *+' conftest.er1 >conftest.err
3157   rm -f conftest.er1
3158   cat conftest.err >&5
3159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3160   (exit $ac_status); } &&
3161          { ac_try='test -z "$ac_cxx_werror_flag"
3162                          || test ! -s conftest.err'
3163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3164   (eval $ac_try) 2>&5
3165   ac_status=$?
3166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3167   (exit $ac_status); }; } &&
3168          { ac_try='test -s conftest.$ac_objext'
3169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3170   (eval $ac_try) 2>&5
3171   ac_status=$?
3172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3173   (exit $ac_status); }; }; then
3174   ac_cv_prog_cxx_g=yes
3175 else
3176   echo "$as_me: failed program was:" >&5
3177 sed 's/^/| /' conftest.$ac_ext >&5
3178
3179 ac_cv_prog_cxx_g=no
3180 fi
3181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3182 fi
3183 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3184 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3185 if test "$ac_test_CXXFLAGS" = set; then
3186   CXXFLAGS=$ac_save_CXXFLAGS
3187 elif test $ac_cv_prog_cxx_g = yes; then
3188   if test "$GXX" = yes; then
3189     CXXFLAGS="-g -O2"
3190   else
3191     CXXFLAGS="-g"
3192   fi
3193 else
3194   if test "$GXX" = yes; then
3195     CXXFLAGS="-O2"
3196   else
3197     CXXFLAGS=
3198   fi
3199 fi
3200 for ac_declaration in \
3201    '' \
3202    'extern "C" void std::exit (int) throw (); using std::exit;' \
3203    'extern "C" void std::exit (int); using std::exit;' \
3204    'extern "C" void exit (int) throw ();' \
3205    'extern "C" void exit (int);' \
3206    'void exit (int);'
3207 do
3208   cat >conftest.$ac_ext <<_ACEOF
3209 /* confdefs.h.  */
3210 _ACEOF
3211 cat confdefs.h >>conftest.$ac_ext
3212 cat >>conftest.$ac_ext <<_ACEOF
3213 /* end confdefs.h.  */
3214 $ac_declaration
3215 #include <stdlib.h>
3216 int
3217 main ()
3218 {
3219 exit (42);
3220   ;
3221   return 0;
3222 }
3223 _ACEOF
3224 rm -f conftest.$ac_objext
3225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3226   (eval $ac_compile) 2>conftest.er1
3227   ac_status=$?
3228   grep -v '^ *+' conftest.er1 >conftest.err
3229   rm -f conftest.er1
3230   cat conftest.err >&5
3231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3232   (exit $ac_status); } &&
3233          { ac_try='test -z "$ac_cxx_werror_flag"
3234                          || test ! -s conftest.err'
3235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3236   (eval $ac_try) 2>&5
3237   ac_status=$?
3238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239   (exit $ac_status); }; } &&
3240          { ac_try='test -s conftest.$ac_objext'
3241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3242   (eval $ac_try) 2>&5
3243   ac_status=$?
3244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3245   (exit $ac_status); }; }; then
3246   :
3247 else
3248   echo "$as_me: failed program was:" >&5
3249 sed 's/^/| /' conftest.$ac_ext >&5
3250
3251 continue
3252 fi
3253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3254   cat >conftest.$ac_ext <<_ACEOF
3255 /* confdefs.h.  */
3256 _ACEOF
3257 cat confdefs.h >>conftest.$ac_ext
3258 cat >>conftest.$ac_ext <<_ACEOF
3259 /* end confdefs.h.  */
3260 $ac_declaration
3261 int
3262 main ()
3263 {
3264 exit (42);
3265   ;
3266   return 0;
3267 }
3268 _ACEOF
3269 rm -f conftest.$ac_objext
3270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3271   (eval $ac_compile) 2>conftest.er1
3272   ac_status=$?
3273   grep -v '^ *+' conftest.er1 >conftest.err
3274   rm -f conftest.er1
3275   cat conftest.err >&5
3276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3277   (exit $ac_status); } &&
3278          { ac_try='test -z "$ac_cxx_werror_flag"
3279                          || test ! -s conftest.err'
3280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3281   (eval $ac_try) 2>&5
3282   ac_status=$?
3283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284   (exit $ac_status); }; } &&
3285          { ac_try='test -s conftest.$ac_objext'
3286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3287   (eval $ac_try) 2>&5
3288   ac_status=$?
3289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3290   (exit $ac_status); }; }; then
3291   break
3292 else
3293   echo "$as_me: failed program was:" >&5
3294 sed 's/^/| /' conftest.$ac_ext >&5
3295
3296 fi
3297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3298 done
3299 rm -f conftest*
3300 if test -n "$ac_declaration"; then
3301   echo '#ifdef __cplusplus' >>confdefs.h
3302   echo $ac_declaration      >>confdefs.h
3303   echo '#endif'             >>confdefs.h
3304 fi
3305
3306 ac_ext=c
3307 ac_cpp='$CPP $CPPFLAGS'
3308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3311
3312   CXXFLAGS="$save_CXXFLAGS"
3313
3314
3315
3316
3317   # For directory versioning (e.g., headers) and other variables.
3318   echo "$as_me:$LINENO: checking for GCC version number" >&5
3319 echo $ECHO_N "checking for GCC version number... $ECHO_C" >&6
3320   gcc_version=`$CXX -dumpversion`
3321   echo "$as_me:$LINENO: result: $gcc_version" >&5
3322 echo "${ECHO_T}$gcc_version" >&6
3323
3324   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3325   # available).  Uncomment the next line to force a particular method.
3326   echo "$as_me:$LINENO: checking whether ln -s works" >&5
3327 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3328 LN_S=$as_ln_s
3329 if test "$LN_S" = "ln -s"; then
3330   echo "$as_me:$LINENO: result: yes" >&5
3331 echo "${ECHO_T}yes" >&6
3332 else
3333   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3334 echo "${ECHO_T}no, using $LN_S" >&6
3335 fi
3336
3337   #LN_S='cp -p'
3338
3339   if test -n "$ac_tool_prefix"; then
3340   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3341 set dummy ${ac_tool_prefix}as; ac_word=$2
3342 echo "$as_me:$LINENO: checking for $ac_word" >&5
3343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3344 if test "${ac_cv_prog_AS+set}" = set; then
3345   echo $ECHO_N "(cached) $ECHO_C" >&6
3346 else
3347   if test -n "$AS"; then
3348   ac_cv_prog_AS="$AS" # Let the user override the test.
3349 else
3350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3351 for as_dir in $PATH
3352 do
3353   IFS=$as_save_IFS
3354   test -z "$as_dir" && as_dir=.
3355   for ac_exec_ext in '' $ac_executable_extensions; do
3356   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3357     ac_cv_prog_AS="${ac_tool_prefix}as"
3358     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3359     break 2
3360   fi
3361 done
3362 done
3363
3364 fi
3365 fi
3366 AS=$ac_cv_prog_AS
3367 if test -n "$AS"; then
3368   echo "$as_me:$LINENO: result: $AS" >&5
3369 echo "${ECHO_T}$AS" >&6
3370 else
3371   echo "$as_me:$LINENO: result: no" >&5
3372 echo "${ECHO_T}no" >&6
3373 fi
3374
3375 fi
3376 if test -z "$ac_cv_prog_AS"; then
3377   ac_ct_AS=$AS
3378   # Extract the first word of "as", so it can be a program name with args.
3379 set dummy as; ac_word=$2
3380 echo "$as_me:$LINENO: checking for $ac_word" >&5
3381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3382 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3383   echo $ECHO_N "(cached) $ECHO_C" >&6
3384 else
3385   if test -n "$ac_ct_AS"; then
3386   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3387 else
3388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3389 for as_dir in $PATH
3390 do
3391   IFS=$as_save_IFS
3392   test -z "$as_dir" && as_dir=.
3393   for ac_exec_ext in '' $ac_executable_extensions; do
3394   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3395     ac_cv_prog_ac_ct_AS="as"
3396     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3397     break 2
3398   fi
3399 done
3400 done
3401
3402 fi
3403 fi
3404 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3405 if test -n "$ac_ct_AS"; then
3406   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3407 echo "${ECHO_T}$ac_ct_AS" >&6
3408 else
3409   echo "$as_me:$LINENO: result: no" >&5
3410 echo "${ECHO_T}no" >&6
3411 fi
3412
3413   AS=$ac_ct_AS
3414 else
3415   AS="$ac_cv_prog_AS"
3416 fi
3417
3418   if test -n "$ac_tool_prefix"; then
3419   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3420 set dummy ${ac_tool_prefix}ar; ac_word=$2
3421 echo "$as_me:$LINENO: checking for $ac_word" >&5
3422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3423 if test "${ac_cv_prog_AR+set}" = set; then
3424   echo $ECHO_N "(cached) $ECHO_C" >&6
3425 else
3426   if test -n "$AR"; then
3427   ac_cv_prog_AR="$AR" # Let the user override the test.
3428 else
3429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3430 for as_dir in $PATH
3431 do
3432   IFS=$as_save_IFS
3433   test -z "$as_dir" && as_dir=.
3434   for ac_exec_ext in '' $ac_executable_extensions; do
3435   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3436     ac_cv_prog_AR="${ac_tool_prefix}ar"
3437     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3438     break 2
3439   fi
3440 done
3441 done
3442
3443 fi
3444 fi
3445 AR=$ac_cv_prog_AR
3446 if test -n "$AR"; then
3447   echo "$as_me:$LINENO: result: $AR" >&5
3448 echo "${ECHO_T}$AR" >&6
3449 else
3450   echo "$as_me:$LINENO: result: no" >&5
3451 echo "${ECHO_T}no" >&6
3452 fi
3453
3454 fi
3455 if test -z "$ac_cv_prog_AR"; then
3456   ac_ct_AR=$AR
3457   # Extract the first word of "ar", so it can be a program name with args.
3458 set dummy ar; ac_word=$2
3459 echo "$as_me:$LINENO: checking for $ac_word" >&5
3460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3461 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3462   echo $ECHO_N "(cached) $ECHO_C" >&6
3463 else
3464   if test -n "$ac_ct_AR"; then
3465   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3466 else
3467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3468 for as_dir in $PATH
3469 do
3470   IFS=$as_save_IFS
3471   test -z "$as_dir" && as_dir=.
3472   for ac_exec_ext in '' $ac_executable_extensions; do
3473   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3474     ac_cv_prog_ac_ct_AR="ar"
3475     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3476     break 2
3477   fi
3478 done
3479 done
3480
3481 fi
3482 fi
3483 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3484 if test -n "$ac_ct_AR"; then
3485   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3486 echo "${ECHO_T}$ac_ct_AR" >&6
3487 else
3488   echo "$as_me:$LINENO: result: no" >&5
3489 echo "${ECHO_T}no" >&6
3490 fi
3491
3492   AR=$ac_ct_AR
3493 else
3494   AR="$ac_cv_prog_AR"
3495 fi
3496
3497   if test -n "$ac_tool_prefix"; then
3498   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3499 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3500 echo "$as_me:$LINENO: checking for $ac_word" >&5
3501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3502 if test "${ac_cv_prog_RANLIB+set}" = set; then
3503   echo $ECHO_N "(cached) $ECHO_C" >&6
3504 else
3505   if test -n "$RANLIB"; then
3506   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3507 else
3508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3509 for as_dir in $PATH
3510 do
3511   IFS=$as_save_IFS
3512   test -z "$as_dir" && as_dir=.
3513   for ac_exec_ext in '' $ac_executable_extensions; do
3514   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3515     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3516     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3517     break 2
3518   fi
3519 done
3520 done
3521
3522 fi
3523 fi
3524 RANLIB=$ac_cv_prog_RANLIB
3525 if test -n "$RANLIB"; then
3526   echo "$as_me:$LINENO: result: $RANLIB" >&5
3527 echo "${ECHO_T}$RANLIB" >&6
3528 else
3529   echo "$as_me:$LINENO: result: no" >&5
3530 echo "${ECHO_T}no" >&6
3531 fi
3532
3533 fi
3534 if test -z "$ac_cv_prog_RANLIB"; then
3535   ac_ct_RANLIB=$RANLIB
3536   # Extract the first word of "ranlib", so it can be a program name with args.
3537 set dummy ranlib; ac_word=$2
3538 echo "$as_me:$LINENO: checking for $ac_word" >&5
3539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3540 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3541   echo $ECHO_N "(cached) $ECHO_C" >&6
3542 else
3543   if test -n "$ac_ct_RANLIB"; then
3544   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3545 else
3546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3547 for as_dir in $PATH
3548 do
3549   IFS=$as_save_IFS
3550   test -z "$as_dir" && as_dir=.
3551   for ac_exec_ext in '' $ac_executable_extensions; do
3552   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3553     ac_cv_prog_ac_ct_RANLIB="ranlib"
3554     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3555     break 2
3556   fi
3557 done
3558 done
3559
3560   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3561 fi
3562 fi
3563 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3564 if test -n "$ac_ct_RANLIB"; then
3565   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3566 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3567 else
3568   echo "$as_me:$LINENO: result: no" >&5
3569 echo "${ECHO_T}no" >&6
3570 fi
3571
3572   RANLIB=$ac_ct_RANLIB
3573 else
3574   RANLIB="$ac_cv_prog_RANLIB"
3575 fi
3576
3577
3578   echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3579 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3580     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3581 if test "${enable_maintainer_mode+set}" = set; then
3582   enableval="$enable_maintainer_mode"
3583   USE_MAINTAINER_MODE=$enableval
3584 else
3585   USE_MAINTAINER_MODE=no
3586 fi;
3587   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3588 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3589
3590
3591 if test $USE_MAINTAINER_MODE = yes; then
3592   MAINTAINER_MODE_TRUE=
3593   MAINTAINER_MODE_FALSE='#'
3594 else
3595   MAINTAINER_MODE_TRUE='#'
3596   MAINTAINER_MODE_FALSE=
3597 fi
3598
3599   MAINT=$MAINTAINER_MODE_TRUE
3600
3601
3602
3603   # Set up safe default values for all subsequent AM_CONDITIONAL tests
3604   # which are themselves conditionally expanded.
3605   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3606   ## other macros from doing the same.  This should be automated.)  -pme
3607   need_libmath=no
3608   enable_wchar_t=no
3609   #enable_libstdcxx_debug=no
3610   #enable_libstdcxx_pch=no
3611   #enable_cheaders=c
3612   #c_compatibility=no
3613   #enable_abi_check=no
3614   #enable_symvers=no
3615   #enable_hosted_libstdcxx=yes
3616
3617   # Find platform-specific directories containing configuration info.
3618   # Also possibly modify flags used elsewhere, as needed by the platform.
3619
3620   . $glibcxx_srcdir/configure.host
3621   { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3622 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3623   { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3624 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3625
3626
3627
3628 #AC_MSG_NOTICE([====== Starting libtool configuration])
3629
3630 # Check whether --enable-shared or --disable-shared was given.
3631 if test "${enable_shared+set}" = set; then
3632   enableval="$enable_shared"
3633   p=${PACKAGE-default}
3634 case $enableval in
3635 yes) enable_shared=yes ;;
3636 no) enable_shared=no ;;
3637 *)
3638   enable_shared=no
3639   # Look at the argument we got.  We use all the common list separators.
3640   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3641   for pkg in $enableval; do
3642     if test "X$pkg" = "X$p"; then
3643       enable_shared=yes
3644     fi
3645   done
3646   IFS="$ac_save_ifs"
3647   ;;
3648 esac
3649 else
3650   enable_shared=yes
3651 fi;
3652 # Check whether --enable-static or --disable-static was given.
3653 if test "${enable_static+set}" = set; then
3654   enableval="$enable_static"
3655   p=${PACKAGE-default}
3656 case $enableval in
3657 yes) enable_static=yes ;;
3658 no) enable_static=no ;;
3659 *)
3660   enable_static=no
3661   # Look at the argument we got.  We use all the common list separators.
3662   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3663   for pkg in $enableval; do
3664     if test "X$pkg" = "X$p"; then
3665       enable_static=yes
3666     fi
3667   done
3668   IFS="$ac_save_ifs"
3669   ;;
3670 esac
3671 else
3672   enable_static=yes
3673 fi;
3674 # Check whether --enable-fast-install or --disable-fast-install was given.
3675 if test "${enable_fast_install+set}" = set; then
3676   enableval="$enable_fast_install"
3677   p=${PACKAGE-default}
3678 case $enableval in
3679 yes) enable_fast_install=yes ;;
3680 no) enable_fast_install=no ;;
3681 *)
3682   enable_fast_install=no
3683   # Look at the argument we got.  We use all the common list separators.
3684   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3685   for pkg in $enableval; do
3686     if test "X$pkg" = "X$p"; then
3687       enable_fast_install=yes
3688     fi
3689   done
3690   IFS="$ac_save_ifs"
3691   ;;
3692 esac
3693 else
3694   enable_fast_install=yes
3695 fi;
3696
3697 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3698 if test "${with_gnu_ld+set}" = set; then
3699   withval="$with_gnu_ld"
3700   test "$withval" = no || with_gnu_ld=yes
3701 else
3702   with_gnu_ld=no
3703 fi;
3704 ac_prog=ld
3705 if test "$GCC" = yes; then
3706   # Check if gcc -print-prog-name=ld gives a path.
3707   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3708 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3709   case $host in
3710   *-*-mingw*)
3711     # gcc leaves a trailing carriage return which upsets mingw
3712     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3713   *)
3714     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3715   esac
3716   case $ac_prog in
3717     # Accept absolute paths.
3718     [\\/]* | [A-Za-z]:[\\/]*)
3719       re_direlt='/[^/][^/]*/\.\./'
3720       # Canonicalize the path of ld
3721       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3722       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3723         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3724       done
3725       test -z "$LD" && LD="$ac_prog"
3726       ;;
3727   "")
3728     # If it fails, then pretend we aren't using GCC.
3729     ac_prog=ld
3730     ;;
3731   *)
3732     # If it is relative, then search for the first ld in PATH.
3733     with_gnu_ld=unknown
3734     ;;
3735   esac
3736 elif test "$with_gnu_ld" = yes; then
3737   echo "$as_me:$LINENO: checking for GNU ld" >&5
3738 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3739 else
3740   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3741 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3742 fi
3743 if test "${lt_cv_path_LD+set}" = set; then
3744   echo $ECHO_N "(cached) $ECHO_C" >&6
3745 else
3746   if test -z "$LD"; then
3747   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3748   for ac_dir in $PATH; do
3749     test -z "$ac_dir" && ac_dir=.
3750     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3751       lt_cv_path_LD="$ac_dir/$ac_prog"
3752       # Check to see if the program is GNU ld.  I'd rather use --version,
3753       # but apparently some GNU ld's only accept -v.
3754       # Break only if it was the GNU/non-GNU ld that we prefer.
3755       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3756         test "$with_gnu_ld" != no && break
3757       else
3758         test "$with_gnu_ld" != yes && break
3759       fi
3760     fi
3761   done
3762   IFS="$ac_save_ifs"
3763 else
3764   lt_cv_path_LD="$LD" # Let the user override the test with a path.
3765 fi
3766 fi
3767
3768 LD="$lt_cv_path_LD"
3769 if test -n "$LD"; then
3770   echo "$as_me:$LINENO: result: $LD" >&5
3771 echo "${ECHO_T}$LD" >&6
3772 else
3773   echo "$as_me:$LINENO: result: no" >&5
3774 echo "${ECHO_T}no" >&6
3775 fi
3776 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3777 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3778    { (exit 1); exit 1; }; }
3779 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3780 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3781 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3782   echo $ECHO_N "(cached) $ECHO_C" >&6
3783 else
3784   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3785 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3786   lt_cv_prog_gnu_ld=yes
3787 else
3788   lt_cv_prog_gnu_ld=no
3789 fi
3790 fi
3791 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3792 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3793 with_gnu_ld=$lt_cv_prog_gnu_ld
3794
3795
3796 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3797 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3798 if test "${lt_cv_ld_reload_flag+set}" = set; then
3799   echo $ECHO_N "(cached) $ECHO_C" >&6
3800 else
3801   lt_cv_ld_reload_flag='-r'
3802 fi
3803 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3804 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3805 reload_flag=$lt_cv_ld_reload_flag
3806 test -n "$reload_flag" && reload_flag=" $reload_flag"
3807
3808 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3809 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3810 if test "${lt_cv_path_NM+set}" = set; then
3811   echo $ECHO_N "(cached) $ECHO_C" >&6
3812 else
3813   if test -n "$NM"; then
3814   # Let the user override the test.
3815   lt_cv_path_NM="$NM"
3816 else
3817   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3818   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3819     test -z "$ac_dir" && ac_dir=.
3820     tmp_nm=$ac_dir/${ac_tool_prefix}nm
3821     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3822       # Check to see if the nm accepts a BSD-compat flag.
3823       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3824       #   nm: unknown option "B" ignored
3825       # Tru64's nm complains that /dev/null is an invalid object file
3826       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3827         lt_cv_path_NM="$tmp_nm -B"
3828         break
3829       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3830         lt_cv_path_NM="$tmp_nm -p"
3831         break
3832       else
3833         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3834         continue # so that we can try to find one that supports BSD flags
3835       fi
3836     fi
3837   done
3838   IFS="$ac_save_ifs"
3839   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3840 fi
3841 fi
3842
3843 NM="$lt_cv_path_NM"
3844 echo "$as_me:$LINENO: result: $NM" >&5
3845 echo "${ECHO_T}$NM" >&6
3846
3847 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3848 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3849 if test "${lt_cv_deplibs_check_method+set}" = set; then
3850   echo $ECHO_N "(cached) $ECHO_C" >&6
3851 else
3852   lt_cv_file_magic_cmd='$MAGIC_CMD'
3853 lt_cv_file_magic_test_file=
3854 lt_cv_deplibs_check_method='unknown'
3855 # Need to set the preceding variable on all platforms that support
3856 # interlibrary dependencies.
3857 # 'none' -- dependencies not supported.
3858 # `unknown' -- same as none, but documents that we really don't know.
3859 # 'pass_all' -- all dependencies passed with no checks.
3860 # 'test_compile' -- check by making test program.
3861 # 'file_magic [regex]' -- check by looking for files in library path
3862 # which responds to the $file_magic_cmd with a given egrep regex.
3863 # If you have `file' or equivalent on your system and you're not sure
3864 # whether `pass_all' will *always* work, you probably want this one.
3865
3866 case $host_os in
3867 aix*)
3868   lt_cv_deplibs_check_method=pass_all
3869   ;;
3870
3871 beos*)
3872   lt_cv_deplibs_check_method=pass_all
3873   ;;
3874
3875 bsdi4*)
3876   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3877   lt_cv_file_magic_cmd='/usr/bin/file -L'
3878   lt_cv_file_magic_test_file=/shlib/libc.so
3879   ;;
3880
3881 cygwin* | mingw* |pw32*)
3882   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3883   lt_cv_file_magic_cmd='$OBJDUMP -f'
3884   ;;
3885
3886 darwin* | rhapsody*)
3887   # this will be overwritten by pass_all, but leave it in just in case
3888   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3889   lt_cv_file_magic_cmd='/usr/bin/file -L'
3890   case "$host_os" in
3891   rhapsody* | darwin1.012)
3892     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3893     ;;
3894   *) # Darwin 1.3 on
3895     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3896     ;;
3897   esac
3898   lt_cv_deplibs_check_method=pass_all
3899   ;;
3900
3901 freebsd* | kfreebsd*-gnu)
3902   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3903     case $host_cpu in
3904     i*86 )
3905       # Not sure whether the presence of OpenBSD here was a mistake.
3906       # Let's accept both of them until this is cleared up.
3907       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3908       lt_cv_file_magic_cmd=/usr/bin/file
3909       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3910       ;;
3911     esac
3912   else
3913     lt_cv_deplibs_check_method=pass_all
3914   fi
3915   ;;
3916
3917 gnu*)
3918   lt_cv_deplibs_check_method=pass_all
3919   ;;
3920
3921 hpux10.20*|hpux11*)
3922   case $host_cpu in
3923   hppa*)
3924     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3925     lt_cv_file_magic_cmd=/usr/bin/file
3926     lt_cv_file_magic_test_file=/usr/lib/libc.sl
3927     ;;
3928   ia64*)
3929     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3930     lt_cv_file_magic_cmd=/usr/bin/file
3931     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3932     ;;
3933   esac
3934   ;;
3935
3936 irix5* | irix6*)
3937   case $host_os in
3938   irix5*)
3939     # this will be overridden with pass_all, but let us keep it just in case
3940     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3941     ;;
3942   *)
3943     case $LD in
3944     *-32|*"-32 ") libmagic=32-bit;;
3945     *-n32|*"-n32 ") libmagic=N32;;
3946     *-64|*"-64 ") libmagic=64-bit;;
3947     *) libmagic=never-match;;
3948     esac
3949     # this will be overridden with pass_all, but let us keep it just in case
3950     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3951     ;;
3952   esac
3953   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3954   lt_cv_deplibs_check_method=pass_all
3955   ;;
3956
3957 # This must be Linux ELF.
3958 linux-gnu*)
3959   case $host_cpu in
3960   alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
3961     lt_cv_deplibs_check_method=pass_all ;;
3962   *)
3963     # glibc up to 2.1.1 does not perform some relocations on ARM
3964     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3965   esac
3966   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
3967   ;;
3968
3969 netbsd* | knetbsd*-gnu)
3970   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3971     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3972   else
3973     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3974   fi
3975   ;;
3976
3977 newsos6)
3978   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3979   lt_cv_file_magic_cmd=/usr/bin/file
3980   lt_cv_file_magic_test_file=/usr/lib/libnls.so
3981   ;;
3982
3983 osf3* | osf4* | osf5*)
3984   # this will be overridden with pass_all, but let us keep it just in case
3985   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3986   lt_cv_file_magic_test_file=/shlib/libc.so
3987   lt_cv_deplibs_check_method=pass_all
3988   ;;
3989
3990 sco3.2v5*)
3991   lt_cv_deplibs_check_method=pass_all
3992   ;;
3993
3994 solaris*)
3995   lt_cv_deplibs_check_method=pass_all
3996   lt_cv_file_magic_test_file=/lib/libc.so
3997   ;;
3998
3999 sysv5uw[78]* | sysv4*uw2*)
4000   lt_cv_deplibs_check_method=pass_all
4001   ;;
4002
4003 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4004   case $host_vendor in
4005   ncr)
4006     lt_cv_deplibs_check_method=pass_all
4007     ;;
4008   motorola)
4009     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]'
4010     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4011     ;;
4012   esac
4013   ;;
4014 esac
4015
4016 fi
4017 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4018 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4019 file_magic_cmd=$lt_cv_file_magic_cmd
4020 deplibs_check_method=$lt_cv_deplibs_check_method
4021
4022
4023
4024
4025
4026 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4027
4028 # Only perform the check for file, if the check method requires it
4029 case $deplibs_check_method in
4030 file_magic*)
4031   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4032     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4033 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4034 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4035   echo $ECHO_N "(cached) $ECHO_C" >&6
4036 else
4037   case $MAGIC_CMD in
4038   /*)
4039   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4040   ;;
4041   ?:/*)
4042   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4043   ;;
4044   *)
4045   ac_save_MAGIC_CMD="$MAGIC_CMD"
4046   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4047   ac_dummy="/usr/bin:$PATH"
4048   for ac_dir in $ac_dummy; do
4049     test -z "$ac_dir" && ac_dir=.
4050     if test -f $ac_dir/${ac_tool_prefix}file; then
4051       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4052       if test -n "$file_magic_test_file"; then
4053         case $deplibs_check_method in
4054         "file_magic "*)
4055           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4056           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4057           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4058             egrep "$file_magic_regex" > /dev/null; then
4059             :
4060           else
4061             cat <<EOF 1>&2
4062
4063 *** Warning: the command libtool uses to detect shared libraries,
4064 *** $file_magic_cmd, produces output that libtool cannot recognize.
4065 *** The result is that libtool may fail to recognize shared libraries
4066 *** as such.  This will affect the creation of libtool libraries that
4067 *** depend on shared libraries, but programs linked with such libtool
4068 *** libraries will work regardless of this problem.  Nevertheless, you
4069 *** may want to report the problem to your system manager and/or to
4070 *** bug-libtool@gnu.org
4071
4072 EOF
4073           fi ;;
4074         esac
4075       fi
4076       break
4077     fi
4078   done
4079   IFS="$ac_save_ifs"
4080   MAGIC_CMD="$ac_save_MAGIC_CMD"
4081   ;;
4082 esac
4083 fi
4084
4085 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4086 if test -n "$MAGIC_CMD"; then
4087   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4088 echo "${ECHO_T}$MAGIC_CMD" >&6
4089 else
4090   echo "$as_me:$LINENO: result: no" >&5
4091 echo "${ECHO_T}no" >&6
4092 fi
4093
4094 if test -z "$lt_cv_path_MAGIC_CMD"; then
4095   if test -n "$ac_tool_prefix"; then
4096     echo "$as_me:$LINENO: checking for file" >&5
4097 echo $ECHO_N "checking for file... $ECHO_C" >&6
4098 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4099   echo $ECHO_N "(cached) $ECHO_C" >&6
4100 else
4101   case $MAGIC_CMD in
4102   /*)
4103   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4104   ;;
4105   ?:/*)
4106   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4107   ;;
4108   *)
4109   ac_save_MAGIC_CMD="$MAGIC_CMD"
4110   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4111   ac_dummy="/usr/bin:$PATH"
4112   for ac_dir in $ac_dummy; do
4113     test -z "$ac_dir" && ac_dir=.
4114     if test -f $ac_dir/file; then
4115       lt_cv_path_MAGIC_CMD="$ac_dir/file"
4116       if test -n "$file_magic_test_file"; then
4117         case $deplibs_check_method in
4118         "file_magic "*)
4119           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4120           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4121           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4122             egrep "$file_magic_regex" > /dev/null; then
4123             :
4124           else
4125             cat <<EOF 1>&2
4126
4127 *** Warning: the command libtool uses to detect shared libraries,
4128 *** $file_magic_cmd, produces output that libtool cannot recognize.
4129 *** The result is that libtool may fail to recognize shared libraries
4130 *** as such.  This will affect the creation of libtool libraries that
4131 *** depend on shared libraries, but programs linked with such libtool
4132 *** libraries will work regardless of this problem.  Nevertheless, you
4133 *** may want to report the problem to your system manager and/or to
4134 *** bug-libtool@gnu.org
4135
4136 EOF
4137           fi ;;
4138         esac
4139       fi
4140       break
4141     fi
4142   done
4143   IFS="$ac_save_ifs"
4144   MAGIC_CMD="$ac_save_MAGIC_CMD"
4145   ;;
4146 esac
4147 fi
4148
4149 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4150 if test -n "$MAGIC_CMD"; then
4151   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4152 echo "${ECHO_T}$MAGIC_CMD" >&6
4153 else
4154   echo "$as_me:$LINENO: result: no" >&5
4155 echo "${ECHO_T}no" >&6
4156 fi
4157
4158   else
4159     MAGIC_CMD=:
4160   fi
4161 fi
4162
4163   fi
4164   ;;
4165 esac
4166
4167 if test -n "$ac_tool_prefix"; then
4168   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4169 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4170 echo "$as_me:$LINENO: checking for $ac_word" >&5
4171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4172 if test "${ac_cv_prog_RANLIB+set}" = set; then
4173   echo $ECHO_N "(cached) $ECHO_C" >&6
4174 else
4175   if test -n "$RANLIB"; then
4176   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4177 else
4178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4179 for as_dir in $PATH
4180 do
4181   IFS=$as_save_IFS
4182   test -z "$as_dir" && as_dir=.
4183   for ac_exec_ext in '' $ac_executable_extensions; do
4184   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4185     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4186     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4187     break 2
4188   fi
4189 done
4190 done
4191
4192 fi
4193 fi
4194 RANLIB=$ac_cv_prog_RANLIB
4195 if test -n "$RANLIB"; then
4196   echo "$as_me:$LINENO: result: $RANLIB" >&5
4197 echo "${ECHO_T}$RANLIB" >&6
4198 else
4199   echo "$as_me:$LINENO: result: no" >&5
4200 echo "${ECHO_T}no" >&6
4201 fi
4202
4203 fi
4204 if test -z "$ac_cv_prog_RANLIB"; then
4205   ac_ct_RANLIB=$RANLIB
4206   # Extract the first word of "ranlib", so it can be a program name with args.
4207 set dummy ranlib; ac_word=$2
4208 echo "$as_me:$LINENO: checking for $ac_word" >&5
4209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4210 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4211   echo $ECHO_N "(cached) $ECHO_C" >&6
4212 else
4213   if test -n "$ac_ct_RANLIB"; then
4214   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4215 else
4216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4217 for as_dir in $PATH
4218 do
4219   IFS=$as_save_IFS
4220   test -z "$as_dir" && as_dir=.
4221   for ac_exec_ext in '' $ac_executable_extensions; do
4222   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4223     ac_cv_prog_ac_ct_RANLIB="ranlib"
4224     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4225     break 2
4226   fi
4227 done
4228 done
4229
4230   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4231 fi
4232 fi
4233 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4234 if test -n "$ac_ct_RANLIB"; then
4235   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4236 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4237 else
4238   echo "$as_me:$LINENO: result: no" >&5
4239 echo "${ECHO_T}no" >&6
4240 fi
4241
4242   RANLIB=$ac_ct_RANLIB
4243 else
4244   RANLIB="$ac_cv_prog_RANLIB"
4245 fi
4246
4247 if test -n "$ac_tool_prefix"; then
4248   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4249 set dummy ${ac_tool_prefix}strip; ac_word=$2
4250 echo "$as_me:$LINENO: checking for $ac_word" >&5
4251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4252 if test "${ac_cv_prog_STRIP+set}" = set; then
4253   echo $ECHO_N "(cached) $ECHO_C" >&6
4254 else
4255   if test -n "$STRIP"; then
4256   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4257 else
4258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4259 for as_dir in $PATH
4260 do
4261   IFS=$as_save_IFS
4262   test -z "$as_dir" && as_dir=.
4263   for ac_exec_ext in '' $ac_executable_extensions; do
4264   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4265     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4266     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4267     break 2
4268   fi
4269 done
4270 done
4271
4272 fi
4273 fi
4274 STRIP=$ac_cv_prog_STRIP
4275 if test -n "$STRIP"; then
4276   echo "$as_me:$LINENO: result: $STRIP" >&5
4277 echo "${ECHO_T}$STRIP" >&6
4278 else
4279   echo "$as_me:$LINENO: result: no" >&5
4280 echo "${ECHO_T}no" >&6
4281 fi
4282
4283 fi
4284 if test -z "$ac_cv_prog_STRIP"; then
4285   ac_ct_STRIP=$STRIP
4286   # Extract the first word of "strip", so it can be a program name with args.
4287 set dummy strip; ac_word=$2
4288 echo "$as_me:$LINENO: checking for $ac_word" >&5
4289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4290 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4291   echo $ECHO_N "(cached) $ECHO_C" >&6
4292 else
4293   if test -n "$ac_ct_STRIP"; then
4294   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4295 else
4296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4297 for as_dir in $PATH
4298 do
4299   IFS=$as_save_IFS
4300   test -z "$as_dir" && as_dir=.
4301   for ac_exec_ext in '' $ac_executable_extensions; do
4302   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4303     ac_cv_prog_ac_ct_STRIP="strip"
4304     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4305     break 2
4306   fi
4307 done
4308 done
4309
4310   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4311 fi
4312 fi
4313 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4314 if test -n "$ac_ct_STRIP"; then
4315   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4316 echo "${ECHO_T}$ac_ct_STRIP" >&6
4317 else
4318   echo "$as_me:$LINENO: result: no" >&5
4319 echo "${ECHO_T}no" >&6
4320 fi
4321
4322   STRIP=$ac_ct_STRIP
4323 else
4324   STRIP="$ac_cv_prog_STRIP"
4325 fi
4326
4327
4328 # Check for any special flags to pass to ltconfig.
4329 libtool_flags="--cache-file=$cache_file"
4330 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4331 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4332 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4333 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4334 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4335
4336
4337 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4338 if test "${enable_libtool_lock+set}" = set; then
4339   enableval="$enable_libtool_lock"
4340
4341 fi;
4342 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4343 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4344
4345
4346 # Check whether --with-pic or --without-pic was given.
4347 if test "${with_pic+set}" = set; then
4348   withval="$with_pic"
4349   pic_mode="$withval"
4350 else
4351   pic_mode=default
4352 fi;
4353 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4354 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4355
4356 # Some flags need to be propagated to the compiler or linker for good
4357 # libtool support.
4358 case $host in
4359 *-*-irix6*)
4360   # Find out which ABI we are using.
4361   echo '#line 4361 "configure"' > conftest.$ac_ext
4362   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4363   (eval $ac_compile) 2>&5
4364   ac_status=$?
4365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366   (exit $ac_status); }; then
4367    if test "$lt_cv_prog_gnu_ld" = yes; then
4368     case `/usr/bin/file conftest.$ac_objext` in
4369     *32-bit*)
4370       LD="${LD-ld} -melf32bsmip"
4371       ;;
4372     *N32*)
4373       LD="${LD-ld} -melf32bmipn32"
4374       ;;
4375     *64-bit*)
4376       LD="${LD-ld} -melf64bmip"
4377       ;;
4378     esac
4379    else
4380     case `/usr/bin/file conftest.$ac_objext` in
4381     *32-bit*)
4382       LD="${LD-ld} -32"
4383       ;;
4384     *N32*)
4385       LD="${LD-ld} -n32"
4386       ;;
4387     *64-bit*)
4388       LD="${LD-ld} -64"
4389       ;;
4390     esac
4391    fi
4392   fi
4393   rm -rf conftest*
4394   ;;
4395
4396 ia64-*-hpux*)
4397   # Find out which ABI we are using.
4398   echo 'int i;' > conftest.$ac_ext
4399   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4400   (eval $ac_compile) 2>&5
4401   ac_status=$?
4402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4403   (exit $ac_status); }; then
4404     case "`/usr/bin/file conftest.o`" in
4405     *ELF-32*)
4406       HPUX_IA64_MODE="32"
4407       ;;
4408     *ELF-64*)
4409       HPUX_IA64_MODE="64"
4410       ;;
4411     esac
4412   fi
4413   rm -rf conftest*
4414   ;;
4415
4416 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4417   # Find out which ABI we are using.
4418   echo 'int i;' > conftest.$ac_ext
4419   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4420   (eval $ac_compile) 2>&5
4421   ac_status=$?
4422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423   (exit $ac_status); }; then
4424     case "`/usr/bin/file conftest.o`" in
4425     *32-bit*)
4426       case $host in
4427         x86_64-*linux*)
4428           LD="${LD-ld} -m elf_i386"
4429           ;;
4430         ppc64-*linux*|powerpc64-*linux*)
4431           LD="${LD-ld} -m elf32ppclinux"
4432           ;;
4433         s390x-*linux*)
4434           LD="${LD-ld} -m elf_s390"
4435           ;;
4436         sparc64-*linux*)
4437           LD="${LD-ld} -m elf32_sparc"
4438           ;;
4439       esac
4440       ;;
4441     *64-bit*)
4442       case $host in
4443         x86_64-*linux*)
4444           LD="${LD-ld} -m elf_x86_64"
4445           ;;
4446         ppc*-*linux*|powerpc*-*linux*)
4447           LD="${LD-ld} -m elf64ppc"
4448           ;;
4449         s390*-*linux*)
4450           LD="${LD-ld} -m elf64_s390"
4451           ;;
4452         sparc*-*linux*)
4453           LD="${LD-ld} -m elf64_sparc"
4454           ;;
4455       esac
4456       ;;
4457     esac
4458   fi
4459   rm -rf conftest*
4460   ;;
4461
4462 *-*-sco3.2v5*)
4463   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4464   SAVE_CFLAGS="$CFLAGS"
4465   CFLAGS="$CFLAGS -belf"
4466   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4467 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4468 if test "${lt_cv_cc_needs_belf+set}" = set; then
4469   echo $ECHO_N "(cached) $ECHO_C" >&6
4470 else
4471
4472
4473      ac_ext=c
4474 ac_cpp='$CPP $CPPFLAGS'
4475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4478
4479      if test x$gcc_no_link = xyes; then
4480   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4482    { (exit 1); exit 1; }; }
4483 fi
4484 cat >conftest.$ac_ext <<_ACEOF
4485 /* confdefs.h.  */
4486 _ACEOF
4487 cat confdefs.h >>conftest.$ac_ext
4488 cat >>conftest.$ac_ext <<_ACEOF
4489 /* end confdefs.h.  */
4490
4491 int
4492 main ()
4493 {
4494
4495   ;
4496   return 0;
4497 }
4498 _ACEOF
4499 rm -f conftest.$ac_objext conftest$ac_exeext
4500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4501   (eval $ac_link) 2>conftest.er1
4502   ac_status=$?
4503   grep -v '^ *+' conftest.er1 >conftest.err
4504   rm -f conftest.er1
4505   cat conftest.err >&5
4506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4507   (exit $ac_status); } &&
4508          { ac_try='test -z "$ac_c_werror_flag"
4509                          || test ! -s conftest.err'
4510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4511   (eval $ac_try) 2>&5
4512   ac_status=$?
4513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4514   (exit $ac_status); }; } &&
4515          { ac_try='test -s conftest$ac_exeext'
4516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4517   (eval $ac_try) 2>&5
4518   ac_status=$?
4519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4520   (exit $ac_status); }; }; then
4521   lt_cv_cc_needs_belf=yes
4522 else
4523   echo "$as_me: failed program was:" >&5
4524 sed 's/^/| /' conftest.$ac_ext >&5
4525
4526 lt_cv_cc_needs_belf=no
4527 fi
4528 rm -f conftest.err conftest.$ac_objext \
4529       conftest$ac_exeext conftest.$ac_ext
4530      ac_ext=c
4531 ac_cpp='$CPP $CPPFLAGS'
4532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4535
4536 fi
4537 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4538 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4539   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4540     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4541     CFLAGS="$SAVE_CFLAGS"
4542   fi
4543   ;;
4544
4545
4546 esac
4547
4548
4549 # Save cache, so that ltconfig can load it
4550 cat >confcache <<\_ACEOF
4551 # This file is a shell script that caches the results of configure
4552 # tests run on this system so they can be shared between configure
4553 # scripts and configure runs, see configure's option --config-cache.
4554 # It is not useful on other systems.  If it contains results you don't
4555 # want to keep, you may remove or edit it.
4556 #
4557 # config.status only pays attention to the cache file if you give it
4558 # the --recheck option to rerun configure.
4559 #
4560 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4561 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4562 # following values.
4563
4564 _ACEOF
4565
4566 # The following way of writing the cache mishandles newlines in values,
4567 # but we know of no workaround that is simple, portable, and efficient.
4568 # So, don't put newlines in cache variables' values.
4569 # Ultrix sh set writes to stderr and can't be redirected directly,
4570 # and sets the high bit in the cache file unless we assign to the vars.
4571 {
4572   (set) 2>&1 |
4573     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4574     *ac_space=\ *)
4575       # `set' does not quote correctly, so add quotes (double-quote
4576       # substitution turns \\\\ into \\, and sed turns \\ into \).
4577       sed -n \
4578         "s/'/'\\\\''/g;
4579           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4580       ;;
4581     *)
4582       # `set' quotes correctly as required by POSIX, so do not add quotes.
4583       sed -n \
4584         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4585       ;;
4586     esac;
4587 } |
4588   sed '
4589      t clear
4590      : clear
4591      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4592      t end
4593      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4594      : end' >>confcache
4595 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4596   if test -w $cache_file; then
4597     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4598     cat confcache >$cache_file
4599   else
4600     echo "not updating unwritable cache $cache_file"
4601   fi
4602 fi
4603 rm -f confcache
4604
4605 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
4606 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4607 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4608 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4609 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4610 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4611 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4612 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4613 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4614 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4615 echo "$as_me: error: libtool configure failed" >&2;}
4616    { (exit 1); exit 1; }; }
4617
4618 # Reload cache, that may have been modified by ltconfig
4619 if test -r "$cache_file"; then
4620   # Some versions of bash will fail to source /dev/null (special
4621   # files actually), so we avoid doing that.
4622   if test -f "$cache_file"; then
4623     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4624 echo "$as_me: loading cache $cache_file" >&6;}
4625     case $cache_file in
4626       [\\/]* | ?:[\\/]* ) . $cache_file;;
4627       *)                      . ./$cache_file;;
4628     esac
4629   fi
4630 else
4631   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4632 echo "$as_me: creating cache $cache_file" >&6;}
4633   >$cache_file
4634 fi
4635
4636
4637 # This can be used to rebuild libtool when needed
4638 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4639
4640 # Always use our own libtool.
4641 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4642
4643 # Redirect the config.log output again, so that the ltconfig log is not
4644 # clobbered by the next message.
4645 exec 5>>./config.log
4646
4647 ac_ext=cc
4648 ac_cpp='$CXXCPP $CPPFLAGS'
4649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4652 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4653 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4654 if test -z "$CXXCPP"; then
4655   if test "${ac_cv_prog_CXXCPP+set}" = set; then
4656   echo $ECHO_N "(cached) $ECHO_C" >&6
4657 else
4658       # Double quotes because CXXCPP needs to be expanded
4659     for CXXCPP in "$CXX -E" "/lib/cpp"
4660     do
4661       ac_preproc_ok=false
4662 for ac_cxx_preproc_warn_flag in '' yes
4663 do
4664   # Use a header file that comes with gcc, so configuring glibc
4665   # with a fresh cross-compiler works.
4666   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4667   # <limits.h> exists even on freestanding compilers.
4668   # On the NeXT, cc -E runs the code through the compiler's parser,
4669   # not just through cpp. "Syntax error" is here to catch this case.
4670   cat >conftest.$ac_ext <<_ACEOF
4671 /* confdefs.h.  */
4672 _ACEOF
4673 cat confdefs.h >>conftest.$ac_ext
4674 cat >>conftest.$ac_ext <<_ACEOF
4675 /* end confdefs.h.  */
4676 #ifdef __STDC__
4677 # include <limits.h>
4678 #else
4679 # include <assert.h>
4680 #endif
4681                      Syntax error
4682 _ACEOF
4683 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4684   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4685   ac_status=$?
4686   grep -v '^ *+' conftest.er1 >conftest.err
4687   rm -f conftest.er1
4688   cat conftest.err >&5
4689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690   (exit $ac_status); } >/dev/null; then
4691   if test -s conftest.err; then
4692     ac_cpp_err=$ac_cxx_preproc_warn_flag
4693     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4694   else
4695     ac_cpp_err=
4696   fi
4697 else
4698   ac_cpp_err=yes
4699 fi
4700 if test -z "$ac_cpp_err"; then
4701   :
4702 else
4703   echo "$as_me: failed program was:" >&5
4704 sed 's/^/| /' conftest.$ac_ext >&5
4705
4706   # Broken: fails on valid input.
4707 continue
4708 fi
4709 rm -f conftest.err conftest.$ac_ext
4710
4711   # OK, works on sane cases.  Now check whether non-existent headers
4712   # can be detected and how.
4713   cat >conftest.$ac_ext <<_ACEOF
4714 /* confdefs.h.  */
4715 _ACEOF
4716 cat confdefs.h >>conftest.$ac_ext
4717 cat >>conftest.$ac_ext <<_ACEOF
4718 /* end confdefs.h.  */
4719 #include <ac_nonexistent.h>
4720 _ACEOF
4721 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4722   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4723   ac_status=$?
4724   grep -v '^ *+' conftest.er1 >conftest.err
4725   rm -f conftest.er1
4726   cat conftest.err >&5
4727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4728   (exit $ac_status); } >/dev/null; then
4729   if test -s conftest.err; then
4730     ac_cpp_err=$ac_cxx_preproc_warn_flag
4731     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4732   else
4733     ac_cpp_err=
4734   fi
4735 else
4736   ac_cpp_err=yes
4737 fi
4738 if test -z "$ac_cpp_err"; then
4739   # Broken: success on invalid input.
4740 continue
4741 else
4742   echo "$as_me: failed program was:" >&5
4743 sed 's/^/| /' conftest.$ac_ext >&5
4744
4745   # Passes both tests.
4746 ac_preproc_ok=:
4747 break
4748 fi
4749 rm -f conftest.err conftest.$ac_ext
4750
4751 done
4752 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4753 rm -f conftest.err conftest.$ac_ext
4754 if $ac_preproc_ok; then
4755   break
4756 fi
4757
4758     done
4759     ac_cv_prog_CXXCPP=$CXXCPP
4760
4761 fi
4762   CXXCPP=$ac_cv_prog_CXXCPP
4763 else
4764   ac_cv_prog_CXXCPP=$CXXCPP
4765 fi
4766 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4767 echo "${ECHO_T}$CXXCPP" >&6
4768 ac_preproc_ok=false
4769 for ac_cxx_preproc_warn_flag in '' yes
4770 do
4771   # Use a header file that comes with gcc, so configuring glibc
4772   # with a fresh cross-compiler works.
4773   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4774   # <limits.h> exists even on freestanding compilers.
4775   # On the NeXT, cc -E runs the code through the compiler's parser,
4776   # not just through cpp. "Syntax error" is here to catch this case.
4777   cat >conftest.$ac_ext <<_ACEOF
4778 /* confdefs.h.  */
4779 _ACEOF
4780 cat confdefs.h >>conftest.$ac_ext
4781 cat >>conftest.$ac_ext <<_ACEOF
4782 /* end confdefs.h.  */
4783 #ifdef __STDC__
4784 # include <limits.h>
4785 #else
4786 # include <assert.h>
4787 #endif
4788                      Syntax error
4789 _ACEOF
4790 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4791   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4792   ac_status=$?
4793   grep -v '^ *+' conftest.er1 >conftest.err
4794   rm -f conftest.er1
4795   cat conftest.err >&5
4796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4797   (exit $ac_status); } >/dev/null; then
4798   if test -s conftest.err; then
4799     ac_cpp_err=$ac_cxx_preproc_warn_flag
4800     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4801   else
4802     ac_cpp_err=
4803   fi
4804 else
4805   ac_cpp_err=yes
4806 fi
4807 if test -z "$ac_cpp_err"; then
4808   :
4809 else
4810   echo "$as_me: failed program was:" >&5
4811 sed 's/^/| /' conftest.$ac_ext >&5
4812
4813   # Broken: fails on valid input.
4814 continue
4815 fi
4816 rm -f conftest.err conftest.$ac_ext
4817
4818   # OK, works on sane cases.  Now check whether non-existent headers
4819   # can be detected and how.
4820   cat >conftest.$ac_ext <<_ACEOF
4821 /* confdefs.h.  */
4822 _ACEOF
4823 cat confdefs.h >>conftest.$ac_ext
4824 cat >>conftest.$ac_ext <<_ACEOF
4825 /* end confdefs.h.  */
4826 #include <ac_nonexistent.h>
4827 _ACEOF
4828 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4829   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4830   ac_status=$?
4831   grep -v '^ *+' conftest.er1 >conftest.err
4832   rm -f conftest.er1
4833   cat conftest.err >&5
4834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4835   (exit $ac_status); } >/dev/null; then
4836   if test -s conftest.err; then
4837     ac_cpp_err=$ac_cxx_preproc_warn_flag
4838     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4839   else
4840     ac_cpp_err=
4841   fi
4842 else
4843   ac_cpp_err=yes
4844 fi
4845 if test -z "$ac_cpp_err"; then
4846   # Broken: success on invalid input.
4847 continue
4848 else
4849   echo "$as_me: failed program was:" >&5
4850 sed 's/^/| /' conftest.$ac_ext >&5
4851
4852   # Passes both tests.
4853 ac_preproc_ok=:
4854 break
4855 fi
4856 rm -f conftest.err conftest.$ac_ext
4857
4858 done
4859 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4860 rm -f conftest.err conftest.$ac_ext
4861 if $ac_preproc_ok; then
4862   :
4863 else
4864   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4865 See \`config.log' for more details." >&5
4866 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4867 See \`config.log' for more details." >&2;}
4868    { (exit 1); exit 1; }; }
4869 fi
4870
4871 ac_ext=c
4872 ac_cpp='$CPP $CPPFLAGS'
4873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4876
4877
4878
4879 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4880 lt_save_CC="$CC"
4881 lt_save_CFLAGS="$CFLAGS"
4882 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4883 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4884 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4885 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4886 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4887 deplibs_check_method="$deplibs_check_method" \
4888 file_magic_cmd="$file_magic_cmd" \
4889 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4890 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4891 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4892 echo "$as_me: error: libtool tag configuration failed" >&2;}
4893    { (exit 1); exit 1; }; }
4894 CC="$lt_save_CC"
4895 CFLAGS="$lt_save_CFLAGS"
4896
4897 # Redirect the config.log output again, so that the ltconfig log is not
4898 # clobbered by the next message.
4899 exec 5>>./config.log
4900
4901
4902
4903
4904
4905
4906
4907
4908 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4909
4910 # Possibly disable most of the library.
4911 ## XXX Consider skipping unncessary tests altogether in this case, rather
4912 ## than just ignoring the results.  Faster /and/ more correct, win win.
4913
4914   # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4915 if test "${enable_hosted_libstdcxx+set}" = set; then
4916   enableval="$enable_hosted_libstdcxx"
4917
4918 else
4919   case "$host" in
4920         arm*-*-symbianelf*)
4921             enable_hosted_libstdcxx=no
4922             ;;
4923         *)
4924             enable_hosted_libstdcxx=yes
4925             ;;
4926      esac
4927 fi;
4928   if test "$enable_hosted_libstdcxx" = no; then
4929     { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4930 echo "$as_me: Only freestanding libraries will be built" >&6;}
4931     is_hosted=no
4932     hosted_define=0
4933     enable_abi_check=no
4934     enable_libstdcxx_pch=no
4935   else
4936     is_hosted=yes
4937     hosted_define=1
4938   fi
4939
4940
4941 cat >>confdefs.h <<_ACEOF
4942 #define _GLIBCXX_HOSTED $hosted_define
4943 _ACEOF
4944
4945
4946
4947 # Check for support bits and g++ features that don't require linking.
4948
4949   echo "$as_me:$LINENO: checking for exception model to use" >&5
4950 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4951
4952
4953   ac_ext=cc
4954 ac_cpp='$CXXCPP $CPPFLAGS'
4955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4958
4959    # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4960 if test "${enable_sjlj_exceptions+set}" = set; then
4961   enableval="$enable_sjlj_exceptions"
4962
4963       case "$enableval" in
4964        yes|no|auto) ;;
4965        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
4966 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
4967    { (exit 1); exit 1; }; } ;;
4968                           esac
4969
4970 else
4971   enable_sjlj_exceptions=auto
4972 fi;
4973
4974
4975   if test $enable_sjlj_exceptions = auto; then
4976     # Botheration.  Now we've got to detect the exception model.  Link tests
4977     # against libgcc.a are problematic since we've not been given proper -L
4978     # bits for single-tree newlib and libgloss.
4979     #
4980     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
4981     cat > conftest.$ac_ext << EOF
4982 #line 4982 "configure"
4983 struct S { ~S(); };
4984 void bar();
4985 void foo()
4986 {
4987   S s;
4988   bar();
4989 }
4990 EOF
4991     old_CXXFLAGS="$CXXFLAGS"
4992     CXXFLAGS=-S
4993     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4994   (eval $ac_compile) 2>&5
4995   ac_status=$?
4996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4997   (exit $ac_status); }; then
4998       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
4999         enable_sjlj_exceptions=yes
5000       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5001         enable_sjlj_exceptions=no
5002       fi
5003     fi
5004     CXXFLAGS="$old_CXXFLAGS"
5005     rm -f conftest*
5006   fi
5007
5008   # This is a tad weird, for hysterical raisins.  We have to map enable/disable
5009   # to two different models.
5010   case $enable_sjlj_exceptions in
5011     yes)
5012
5013 cat >>confdefs.h <<\_ACEOF
5014 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5015 _ACEOF
5016
5017       ac_exception_model_name=sjlj
5018       ;;
5019     no)
5020       ac_exception_model_name="call frame"
5021       ;;
5022     *)
5023       { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5024 echo "$as_me: error: unable to detect exception model" >&2;}
5025    { (exit 1); exit 1; }; }
5026       ;;
5027   esac
5028  ac_ext=c
5029 ac_cpp='$CPP $CPPFLAGS'
5030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5033
5034  echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5035 echo "${ECHO_T}$ac_exception_model_name" >&6
5036
5037
5038   echo "$as_me:$LINENO: checking for enabled PCH" >&5
5039 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5040    # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5041 if test "${enable_libstdcxx_pch+set}" = set; then
5042   enableval="$enable_libstdcxx_pch"
5043
5044       case "$enableval" in
5045        yes|no) ;;
5046        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5047 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5048    { (exit 1); exit 1; }; } ;;
5049       esac
5050
5051 else
5052   enable_libstdcxx_pch=$is_hosted
5053 fi;
5054
5055   echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5056 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5057
5058   if test $enable_libstdcxx_pch = yes; then
5059     echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5060 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5061 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5062   echo $ECHO_N "(cached) $ECHO_C" >&6
5063 else
5064   ac_save_CXXFLAGS="$CXXFLAGS"
5065        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5066
5067
5068        ac_ext=cc
5069 ac_cpp='$CXXCPP $CPPFLAGS'
5070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5073
5074        echo '#include <math.h>' > conftest.h
5075        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5076                           -o conftest.h.gch 1>&5 2>&1 &&
5077                 echo '#error "pch failed"' > conftest.h &&
5078           echo '#include "conftest.h"' > conftest.cc &&
5079                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5080        then
5081          glibcxx_cv_prog_CXX_pch=yes
5082        else
5083          glibcxx_cv_prog_CXX_pch=no
5084        fi
5085        rm -f conftest*
5086        CXXFLAGS=$ac_save_CXXFLAGS
5087        ac_ext=c
5088 ac_cpp='$CPP $CPPFLAGS'
5089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5092
5093
5094 fi
5095 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5096 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5097     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5098   fi
5099
5100
5101   if test $enable_libstdcxx_pch = yes; then
5102     glibcxx_PCHFLAGS="-include bits/stdc++.h"
5103   else
5104     glibcxx_PCHFLAGS=""
5105   fi
5106
5107
5108
5109 # Enable all the variable C++ runtime options.
5110 # NB: C_MBCHAR must come early.
5111
5112   echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5113 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5114    # Check whether --enable-cstdio or --disable-cstdio was given.
5115 if test "${enable_cstdio+set}" = set; then
5116   enableval="$enable_cstdio"
5117
5118       case "$enableval" in
5119        stdio) ;;
5120        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5121 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5122    { (exit 1); exit 1; }; } ;;
5123                           esac
5124
5125 else
5126   enable_cstdio=stdio
5127 fi;
5128
5129
5130   # Now that libio has been removed, you can have any color you want as long
5131   # as it's black.  This is one big no-op until other packages are added, but
5132   # showing the framework never hurts.
5133   case ${enable_cstdio} in
5134     stdio)
5135       CSTDIO_H=config/io/c_io_stdio.h
5136       BASIC_FILE_H=config/io/basic_file_stdio.h
5137       BASIC_FILE_CC=config/io/basic_file_stdio.cc
5138       echo "$as_me:$LINENO: result: stdio" >&5
5139 echo "${ECHO_T}stdio" >&6
5140       ;;
5141   esac
5142
5143
5144
5145
5146
5147 ac_ext=c
5148 ac_cpp='$CPP $CPPFLAGS'
5149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5152 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5153 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5154 # On Suns, sometimes $CPP names a directory.
5155 if test -n "$CPP" && test -d "$CPP"; then
5156   CPP=
5157 fi
5158 if test -z "$CPP"; then
5159   if test "${ac_cv_prog_CPP+set}" = set; then
5160   echo $ECHO_N "(cached) $ECHO_C" >&6
5161 else
5162       # Double quotes because CPP needs to be expanded
5163     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5164     do
5165       ac_preproc_ok=false
5166 for ac_c_preproc_warn_flag in '' yes
5167 do
5168   # Use a header file that comes with gcc, so configuring glibc
5169   # with a fresh cross-compiler works.
5170   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5171   # <limits.h> exists even on freestanding compilers.
5172   # On the NeXT, cc -E runs the code through the compiler's parser,
5173   # not just through cpp. "Syntax error" is here to catch this case.
5174   cat >conftest.$ac_ext <<_ACEOF
5175 /* confdefs.h.  */
5176 _ACEOF
5177 cat confdefs.h >>conftest.$ac_ext
5178 cat >>conftest.$ac_ext <<_ACEOF
5179 /* end confdefs.h.  */
5180 #ifdef __STDC__
5181 # include <limits.h>
5182 #else
5183 # include <assert.h>
5184 #endif
5185                      Syntax error
5186 _ACEOF
5187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5188   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5189   ac_status=$?
5190   grep -v '^ *+' conftest.er1 >conftest.err
5191   rm -f conftest.er1
5192   cat conftest.err >&5
5193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5194   (exit $ac_status); } >/dev/null; then
5195   if test -s conftest.err; then
5196     ac_cpp_err=$ac_c_preproc_warn_flag
5197     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5198   else
5199     ac_cpp_err=
5200   fi
5201 else
5202   ac_cpp_err=yes
5203 fi
5204 if test -z "$ac_cpp_err"; then
5205   :
5206 else
5207   echo "$as_me: failed program was:" >&5
5208 sed 's/^/| /' conftest.$ac_ext >&5
5209
5210   # Broken: fails on valid input.
5211 continue
5212 fi
5213 rm -f conftest.err conftest.$ac_ext
5214
5215   # OK, works on sane cases.  Now check whether non-existent headers
5216   # can be detected and how.
5217   cat >conftest.$ac_ext <<_ACEOF
5218 /* confdefs.h.  */
5219 _ACEOF
5220 cat confdefs.h >>conftest.$ac_ext
5221 cat >>conftest.$ac_ext <<_ACEOF
5222 /* end confdefs.h.  */
5223 #include <ac_nonexistent.h>
5224 _ACEOF
5225 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5226   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5227   ac_status=$?
5228   grep -v '^ *+' conftest.er1 >conftest.err
5229   rm -f conftest.er1
5230   cat conftest.err >&5
5231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5232   (exit $ac_status); } >/dev/null; then
5233   if test -s conftest.err; then
5234     ac_cpp_err=$ac_c_preproc_warn_flag
5235     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5236   else
5237     ac_cpp_err=
5238   fi
5239 else
5240   ac_cpp_err=yes
5241 fi
5242 if test -z "$ac_cpp_err"; then
5243   # Broken: success on invalid input.
5244 continue
5245 else
5246   echo "$as_me: failed program was:" >&5
5247 sed 's/^/| /' conftest.$ac_ext >&5
5248
5249   # Passes both tests.
5250 ac_preproc_ok=:
5251 break
5252 fi
5253 rm -f conftest.err conftest.$ac_ext
5254
5255 done
5256 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5257 rm -f conftest.err conftest.$ac_ext
5258 if $ac_preproc_ok; then
5259   break
5260 fi
5261
5262     done
5263     ac_cv_prog_CPP=$CPP
5264
5265 fi
5266   CPP=$ac_cv_prog_CPP
5267 else
5268   ac_cv_prog_CPP=$CPP
5269 fi
5270 echo "$as_me:$LINENO: result: $CPP" >&5
5271 echo "${ECHO_T}$CPP" >&6
5272 ac_preproc_ok=false
5273 for ac_c_preproc_warn_flag in '' yes
5274 do
5275   # Use a header file that comes with gcc, so configuring glibc
5276   # with a fresh cross-compiler works.
5277   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5278   # <limits.h> exists even on freestanding compilers.
5279   # On the NeXT, cc -E runs the code through the compiler's parser,
5280   # not just through cpp. "Syntax error" is here to catch this case.
5281   cat >conftest.$ac_ext <<_ACEOF
5282 /* confdefs.h.  */
5283 _ACEOF
5284 cat confdefs.h >>conftest.$ac_ext
5285 cat >>conftest.$ac_ext <<_ACEOF
5286 /* end confdefs.h.  */
5287 #ifdef __STDC__
5288 # include <limits.h>
5289 #else
5290 # include <assert.h>
5291 #endif
5292                      Syntax error
5293 _ACEOF
5294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5295   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5296   ac_status=$?
5297   grep -v '^ *+' conftest.er1 >conftest.err
5298   rm -f conftest.er1
5299   cat conftest.err >&5
5300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5301   (exit $ac_status); } >/dev/null; then
5302   if test -s conftest.err; then
5303     ac_cpp_err=$ac_c_preproc_warn_flag
5304     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5305   else
5306     ac_cpp_err=
5307   fi
5308 else
5309   ac_cpp_err=yes
5310 fi
5311 if test -z "$ac_cpp_err"; then
5312   :
5313 else
5314   echo "$as_me: failed program was:" >&5
5315 sed 's/^/| /' conftest.$ac_ext >&5
5316
5317   # Broken: fails on valid input.
5318 continue
5319 fi
5320 rm -f conftest.err conftest.$ac_ext
5321
5322   # OK, works on sane cases.  Now check whether non-existent headers
5323   # can be detected and how.
5324   cat >conftest.$ac_ext <<_ACEOF
5325 /* confdefs.h.  */
5326 _ACEOF
5327 cat confdefs.h >>conftest.$ac_ext
5328 cat >>conftest.$ac_ext <<_ACEOF
5329 /* end confdefs.h.  */
5330 #include <ac_nonexistent.h>
5331 _ACEOF
5332 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5333   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5334   ac_status=$?
5335   grep -v '^ *+' conftest.er1 >conftest.err
5336   rm -f conftest.er1
5337   cat conftest.err >&5
5338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5339   (exit $ac_status); } >/dev/null; then
5340   if test -s conftest.err; then
5341     ac_cpp_err=$ac_c_preproc_warn_flag
5342     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5343   else
5344     ac_cpp_err=
5345   fi
5346 else
5347   ac_cpp_err=yes
5348 fi
5349 if test -z "$ac_cpp_err"; then
5350   # Broken: success on invalid input.
5351 continue
5352 else
5353   echo "$as_me: failed program was:" >&5
5354 sed 's/^/| /' conftest.$ac_ext >&5
5355
5356   # Passes both tests.
5357 ac_preproc_ok=:
5358 break
5359 fi
5360 rm -f conftest.err conftest.$ac_ext
5361
5362 done
5363 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5364 rm -f conftest.err conftest.$ac_ext
5365 if $ac_preproc_ok; then
5366   :
5367 else
5368   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5369 See \`config.log' for more details." >&5
5370 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5371 See \`config.log' for more details." >&2;}
5372    { (exit 1); exit 1; }; }
5373 fi
5374
5375 ac_ext=c
5376 ac_cpp='$CPP $CPPFLAGS'
5377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5380
5381
5382 echo "$as_me:$LINENO: checking for egrep" >&5
5383 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5384 if test "${ac_cv_prog_egrep+set}" = set; then
5385   echo $ECHO_N "(cached) $ECHO_C" >&6
5386 else
5387   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5388     then ac_cv_prog_egrep='grep -E'
5389     else ac_cv_prog_egrep='egrep'
5390     fi
5391 fi
5392 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5393 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5394  EGREP=$ac_cv_prog_egrep
5395
5396
5397 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5398 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5399 if test "${ac_cv_header_stdc+set}" = set; then
5400   echo $ECHO_N "(cached) $ECHO_C" >&6
5401 else
5402   cat >conftest.$ac_ext <<_ACEOF
5403 /* confdefs.h.  */
5404 _ACEOF
5405 cat confdefs.h >>conftest.$ac_ext
5406 cat >>conftest.$ac_ext <<_ACEOF
5407 /* end confdefs.h.  */
5408 #include <stdlib.h>
5409 #include <stdarg.h>
5410 #include <string.h>
5411 #include <float.h>
5412
5413 int
5414 main ()
5415 {
5416
5417   ;
5418   return 0;
5419 }
5420 _ACEOF
5421 rm -f conftest.$ac_objext
5422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5423   (eval $ac_compile) 2>conftest.er1
5424   ac_status=$?
5425   grep -v '^ *+' conftest.er1 >conftest.err
5426   rm -f conftest.er1
5427   cat conftest.err >&5
5428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5429   (exit $ac_status); } &&
5430          { ac_try='test -z "$ac_c_werror_flag"
5431                          || test ! -s conftest.err'
5432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5433   (eval $ac_try) 2>&5
5434   ac_status=$?
5435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5436   (exit $ac_status); }; } &&
5437          { ac_try='test -s conftest.$ac_objext'
5438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5439   (eval $ac_try) 2>&5
5440   ac_status=$?
5441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5442   (exit $ac_status); }; }; then
5443   ac_cv_header_stdc=yes
5444 else
5445   echo "$as_me: failed program was:" >&5
5446 sed 's/^/| /' conftest.$ac_ext >&5
5447
5448 ac_cv_header_stdc=no
5449 fi
5450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5451
5452 if test $ac_cv_header_stdc = yes; then
5453   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5454   cat >conftest.$ac_ext <<_ACEOF
5455 /* confdefs.h.  */
5456 _ACEOF
5457 cat confdefs.h >>conftest.$ac_ext
5458 cat >>conftest.$ac_ext <<_ACEOF
5459 /* end confdefs.h.  */
5460 #include <string.h>
5461
5462 _ACEOF
5463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5464   $EGREP "memchr" >/dev/null 2>&1; then
5465   :
5466 else
5467   ac_cv_header_stdc=no
5468 fi
5469 rm -f conftest*
5470
5471 fi
5472
5473 if test $ac_cv_header_stdc = yes; then
5474   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5475   cat >conftest.$ac_ext <<_ACEOF
5476 /* confdefs.h.  */
5477 _ACEOF
5478 cat confdefs.h >>conftest.$ac_ext
5479 cat >>conftest.$ac_ext <<_ACEOF
5480 /* end confdefs.h.  */
5481 #include <stdlib.h>
5482
5483 _ACEOF
5484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5485   $EGREP "free" >/dev/null 2>&1; then
5486   :
5487 else
5488   ac_cv_header_stdc=no
5489 fi
5490 rm -f conftest*
5491
5492 fi
5493
5494 if test $ac_cv_header_stdc = yes; then
5495   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5496   if test "$cross_compiling" = yes; then
5497   :
5498 else
5499   cat >conftest.$ac_ext <<_ACEOF
5500 /* confdefs.h.  */
5501 _ACEOF
5502 cat confdefs.h >>conftest.$ac_ext
5503 cat >>conftest.$ac_ext <<_ACEOF
5504 /* end confdefs.h.  */
5505 #include <ctype.h>
5506 #if ((' ' & 0x0FF) == 0x020)
5507 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5508 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5509 #else
5510 # define ISLOWER(c) \
5511                    (('a' <= (c) && (c) <= 'i') \
5512                      || ('j' <= (c) && (c) <= 'r') \
5513                      || ('s' <= (c) && (c) <= 'z'))
5514 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5515 #endif
5516
5517 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5518 int
5519 main ()
5520 {
5521   int i;
5522   for (i = 0; i < 256; i++)
5523     if (XOR (islower (i), ISLOWER (i))
5524         || toupper (i) != TOUPPER (i))
5525       exit(2);
5526   exit (0);
5527 }
5528 _ACEOF
5529 rm -f conftest$ac_exeext
5530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5531   (eval $ac_link) 2>&5
5532   ac_status=$?
5533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5534   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5536   (eval $ac_try) 2>&5
5537   ac_status=$?
5538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5539   (exit $ac_status); }; }; then
5540   :
5541 else
5542   echo "$as_me: program exited with status $ac_status" >&5
5543 echo "$as_me: failed program was:" >&5
5544 sed 's/^/| /' conftest.$ac_ext >&5
5545
5546 ( exit $ac_status )
5547 ac_cv_header_stdc=no
5548 fi
5549 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5550 fi
5551 fi
5552 fi
5553 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5554 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5555 if test $ac_cv_header_stdc = yes; then
5556
5557 cat >>confdefs.h <<\_ACEOF
5558 #define STDC_HEADERS 1
5559 _ACEOF
5560
5561 fi
5562
5563 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5574                   inttypes.h stdint.h unistd.h
5575 do
5576 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5577 echo "$as_me:$LINENO: checking for $ac_header" >&5
5578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5580   echo $ECHO_N "(cached) $ECHO_C" >&6
5581 else
5582   cat >conftest.$ac_ext <<_ACEOF
5583 /* confdefs.h.  */
5584 _ACEOF
5585 cat confdefs.h >>conftest.$ac_ext
5586 cat >>conftest.$ac_ext <<_ACEOF
5587 /* end confdefs.h.  */
5588 $ac_includes_default
5589
5590 #include <$ac_header>
5591 _ACEOF
5592 rm -f conftest.$ac_objext
5593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5594   (eval $ac_compile) 2>conftest.er1
5595   ac_status=$?
5596   grep -v '^ *+' conftest.er1 >conftest.err
5597   rm -f conftest.er1
5598   cat conftest.err >&5
5599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600   (exit $ac_status); } &&
5601          { ac_try='test -z "$ac_c_werror_flag"
5602                          || test ! -s conftest.err'
5603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5604   (eval $ac_try) 2>&5
5605   ac_status=$?
5606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5607   (exit $ac_status); }; } &&
5608          { ac_try='test -s conftest.$ac_objext'
5609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5610   (eval $ac_try) 2>&5
5611   ac_status=$?
5612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5613   (exit $ac_status); }; }; then
5614   eval "$as_ac_Header=yes"
5615 else
5616   echo "$as_me: failed program was:" >&5
5617 sed 's/^/| /' conftest.$ac_ext >&5
5618
5619 eval "$as_ac_Header=no"
5620 fi
5621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5622 fi
5623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5624 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5625 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5626   cat >>confdefs.h <<_ACEOF
5627 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5628 _ACEOF
5629
5630 fi
5631
5632 done
5633
5634
5635
5636   echo "$as_me:$LINENO: checking for C locale to use" >&5
5637 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5638    # Check whether --enable-clocale or --disable-clocale was given.
5639 if test "${enable_clocale+set}" = set; then
5640   enableval="$enable_clocale"
5641
5642       case "$enableval" in
5643        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5644        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5645 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5646    { (exit 1); exit 1; }; } ;;
5647                           esac
5648
5649 else
5650   enable_clocale=auto
5651 fi;
5652
5653
5654   # If they didn't use this option switch, or if they specified --enable
5655   # with no specific model, we'll have to look for one.  If they
5656   # specified --disable (???), do likewise.
5657   if test $enable_clocale = no || test $enable_clocale = yes; then
5658      enable_clocale=auto
5659   fi
5660
5661   # Either a known package, or "auto"
5662   enable_clocale_flag=$enable_clocale
5663
5664   # Probe for locale support if no specific model is specified.
5665   # Default to "generic".
5666   if test $enable_clocale_flag = auto; then
5667     case ${target_os} in
5668       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5669         cat >conftest.$ac_ext <<_ACEOF
5670 /* confdefs.h.  */
5671 _ACEOF
5672 cat confdefs.h >>conftest.$ac_ext
5673 cat >>conftest.$ac_ext <<_ACEOF
5674 /* end confdefs.h.  */
5675
5676         #include <features.h>
5677         #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5678           _GLIBCXX_ok
5679         #endif
5680
5681 _ACEOF
5682 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5683   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5684   enable_clocale_flag=gnu
5685 else
5686   enable_clocale_flag=generic
5687 fi
5688 rm -f conftest*
5689
5690
5691         # Test for bugs early in glibc-2.2.x series
5692           if test $enable_clocale_flag = gnu; then
5693           if test "$cross_compiling" = yes; then
5694   enable_clocale_flag=generic
5695 else
5696   cat >conftest.$ac_ext <<_ACEOF
5697 /* confdefs.h.  */
5698 _ACEOF
5699 cat confdefs.h >>conftest.$ac_ext
5700 cat >>conftest.$ac_ext <<_ACEOF
5701 /* end confdefs.h.  */
5702
5703           #define _GNU_SOURCE 1
5704           #include <locale.h>
5705           #include <string.h>
5706           #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5707           extern __typeof(newlocale) __newlocale;
5708           extern __typeof(duplocale) __duplocale;
5709           extern __typeof(strcoll_l) __strcoll_l;
5710           #endif
5711           int main()
5712           {
5713               const char __one[] = "Äuglein Augmen";
5714               const char __two[] = "Äuglein";
5715               int i;
5716               int j;
5717               __locale_t        loc;
5718                __locale_t        loc_dup;
5719               loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5720               loc_dup = __duplocale(loc);
5721               i = __strcoll_l(__one, __two, loc);
5722               j = __strcoll_l(__one, __two, loc_dup);
5723               return 0;
5724           }
5725
5726 _ACEOF
5727 rm -f conftest$ac_exeext
5728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5729   (eval $ac_link) 2>&5
5730   ac_status=$?
5731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5732   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5734   (eval $ac_try) 2>&5
5735   ac_status=$?
5736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5737   (exit $ac_status); }; }; then
5738   enable_clocale_flag=gnu
5739 else
5740   echo "$as_me: program exited with status $ac_status" >&5
5741 echo "$as_me: failed program was:" >&5
5742 sed 's/^/| /' conftest.$ac_ext >&5
5743
5744 ( exit $ac_status )
5745 enable_clocale_flag=generic
5746 fi
5747 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5748 fi
5749           fi
5750
5751         # ... at some point put __strxfrm_l tests in as well.
5752         ;;
5753       *)
5754         enable_clocale_flag=generic
5755         ;;
5756     esac
5757   fi
5758
5759   # Deal with gettext issues.  Default to not using it (=no) until we detect
5760   # support for it later.  Let the user turn it off via --e/d, but let that
5761   # default to on for easier handling.
5762   USE_NLS=no
5763   # Check whether --enable-nls or --disable-nls was given.
5764 if test "${enable_nls+set}" = set; then
5765   enableval="$enable_nls"
5766
5767 else
5768   enable_nls=yes
5769 fi;
5770
5771   # Set configure bits for specified locale package
5772   case ${enable_clocale_flag} in
5773     generic)
5774       echo "$as_me:$LINENO: result: generic" >&5
5775 echo "${ECHO_T}generic" >&6
5776
5777       CLOCALE_H=config/locale/generic/c_locale.h
5778       CLOCALE_CC=config/locale/generic/c_locale.cc
5779       CCODECVT_H=config/locale/generic/codecvt_specializations.h
5780       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5781       CCOLLATE_CC=config/locale/generic/collate_members.cc
5782       CCTYPE_CC=config/locale/generic/ctype_members.cc
5783       CMESSAGES_H=config/locale/generic/messages_members.h
5784       CMESSAGES_CC=config/locale/generic/messages_members.cc
5785       CMONEY_CC=config/locale/generic/monetary_members.cc
5786       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5787       CTIME_H=config/locale/generic/time_members.h
5788       CTIME_CC=config/locale/generic/time_members.cc
5789       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5790       ;;
5791     gnu)
5792       echo "$as_me:$LINENO: result: gnu" >&5
5793 echo "${ECHO_T}gnu" >&6
5794
5795       # Declare intention to use gettext, and add support for specific
5796       # languages.
5797       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5798       ALL_LINGUAS="de fr"
5799
5800       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5801       # Extract the first word of "msgfmt", so it can be a program name with args.
5802 set dummy msgfmt; ac_word=$2
5803 echo "$as_me:$LINENO: checking for $ac_word" >&5
5804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5805 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5806   echo $ECHO_N "(cached) $ECHO_C" >&6
5807 else
5808   if test -n "$check_msgfmt"; then
5809   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5810 else
5811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5812 for as_dir in $PATH
5813 do
5814   IFS=$as_save_IFS
5815   test -z "$as_dir" && as_dir=.
5816   for ac_exec_ext in '' $ac_executable_extensions; do
5817   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5818     ac_cv_prog_check_msgfmt="yes"
5819     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5820     break 2
5821   fi
5822 done
5823 done
5824
5825   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5826 fi
5827 fi
5828 check_msgfmt=$ac_cv_prog_check_msgfmt
5829 if test -n "$check_msgfmt"; then
5830   echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5831 echo "${ECHO_T}$check_msgfmt" >&6
5832 else
5833   echo "$as_me:$LINENO: result: no" >&5
5834 echo "${ECHO_T}no" >&6
5835 fi
5836
5837       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5838         USE_NLS=yes
5839       fi
5840       # Export the build objects.
5841       for ling in $ALL_LINGUAS; do \
5842         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5843         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5844       done
5845
5846
5847
5848       CLOCALE_H=config/locale/gnu/c_locale.h
5849       CLOCALE_CC=config/locale/gnu/c_locale.cc
5850       CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5851       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5852       CCOLLATE_CC=config/locale/gnu/collate_members.cc
5853       CCTYPE_CC=config/locale/gnu/ctype_members.cc
5854       CMESSAGES_H=config/locale/gnu/messages_members.h
5855       CMESSAGES_CC=config/locale/gnu/messages_members.cc
5856       CMONEY_CC=config/locale/gnu/monetary_members.cc
5857       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5858       CTIME_H=config/locale/gnu/time_members.h
5859       CTIME_CC=config/locale/gnu/time_members.cc
5860       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5861       ;;
5862     ieee_1003.1-2001)
5863       echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5864 echo "${ECHO_T}IEEE 1003.1" >&6
5865
5866       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5867       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5868       CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5869       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5870       CCOLLATE_CC=config/locale/generic/collate_members.cc
5871       CCTYPE_CC=config/locale/generic/ctype_members.cc
5872       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5873       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5874       CMONEY_CC=config/locale/generic/monetary_members.cc
5875       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5876       CTIME_H=config/locale/generic/time_members.h
5877       CTIME_CC=config/locale/generic/time_members.cc
5878       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5879       ;;
5880   esac
5881
5882   # This is where the testsuite looks for locale catalogs, using the
5883   # -DLOCALEDIR define during testsuite compilation.
5884   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5885
5886
5887   # A standalone libintl (e.g., GNU libintl) may be in use.
5888   if test $USE_NLS = yes; then
5889
5890 for ac_header in libintl.h
5891 do
5892 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5894   echo "$as_me:$LINENO: checking for $ac_header" >&5
5895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5897   echo $ECHO_N "(cached) $ECHO_C" >&6
5898 fi
5899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5900 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5901 else
5902   # Is the header compilable?
5903 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5904 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5905 cat >conftest.$ac_ext <<_ACEOF
5906 /* confdefs.h.  */
5907 _ACEOF
5908 cat confdefs.h >>conftest.$ac_ext
5909 cat >>conftest.$ac_ext <<_ACEOF
5910 /* end confdefs.h.  */
5911 $ac_includes_default
5912 #include <$ac_header>
5913 _ACEOF
5914 rm -f conftest.$ac_objext
5915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5916   (eval $ac_compile) 2>conftest.er1
5917   ac_status=$?
5918   grep -v '^ *+' conftest.er1 >conftest.err
5919   rm -f conftest.er1
5920   cat conftest.err >&5
5921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5922   (exit $ac_status); } &&
5923          { ac_try='test -z "$ac_c_werror_flag"
5924                          || test ! -s conftest.err'
5925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5926   (eval $ac_try) 2>&5
5927   ac_status=$?
5928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5929   (exit $ac_status); }; } &&
5930          { ac_try='test -s conftest.$ac_objext'
5931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5932   (eval $ac_try) 2>&5
5933   ac_status=$?
5934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5935   (exit $ac_status); }; }; then
5936   ac_header_compiler=yes
5937 else
5938   echo "$as_me: failed program was:" >&5
5939 sed 's/^/| /' conftest.$ac_ext >&5
5940
5941 ac_header_compiler=no
5942 fi
5943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5944 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5945 echo "${ECHO_T}$ac_header_compiler" >&6
5946
5947 # Is the header present?
5948 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5949 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5950 cat >conftest.$ac_ext <<_ACEOF
5951 /* confdefs.h.  */
5952 _ACEOF
5953 cat confdefs.h >>conftest.$ac_ext
5954 cat >>conftest.$ac_ext <<_ACEOF
5955 /* end confdefs.h.  */
5956 #include <$ac_header>
5957 _ACEOF
5958 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5959   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5960   ac_status=$?
5961   grep -v '^ *+' conftest.er1 >conftest.err
5962   rm -f conftest.er1
5963   cat conftest.err >&5
5964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5965   (exit $ac_status); } >/dev/null; then
5966   if test -s conftest.err; then
5967     ac_cpp_err=$ac_c_preproc_warn_flag
5968     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5969   else
5970     ac_cpp_err=
5971   fi
5972 else
5973   ac_cpp_err=yes
5974 fi
5975 if test -z "$ac_cpp_err"; then
5976   ac_header_preproc=yes
5977 else
5978   echo "$as_me: failed program was:" >&5
5979 sed 's/^/| /' conftest.$ac_ext >&5
5980
5981   ac_header_preproc=no
5982 fi
5983 rm -f conftest.err conftest.$ac_ext
5984 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5985 echo "${ECHO_T}$ac_header_preproc" >&6
5986
5987 # So?  What about this header?
5988 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5989   yes:no: )
5990     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5991 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5992     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5993 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5994     ac_header_preproc=yes
5995     ;;
5996   no:yes:* )
5997     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5998 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5999     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6000 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6001     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6002 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6003     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6004 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6005     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6006 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6007     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6008 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6009     (
6010       cat <<\_ASBOX
6011 ## ----------------------------------------- ##
6012 ## Report this to the package-unused lists.  ##
6013 ## ----------------------------------------- ##
6014 _ASBOX
6015     ) |
6016       sed "s/^/$as_me: WARNING:     /" >&2
6017     ;;
6018 esac
6019 echo "$as_me:$LINENO: checking for $ac_header" >&5
6020 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6021 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6022   echo $ECHO_N "(cached) $ECHO_C" >&6
6023 else
6024   eval "$as_ac_Header=\$ac_header_preproc"
6025 fi
6026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6027 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6028
6029 fi
6030 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6031   cat >>confdefs.h <<_ACEOF
6032 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6033 _ACEOF
6034
6035 else
6036   USE_NLS=no
6037 fi
6038
6039 done
6040
6041     echo "$as_me:$LINENO: checking for library containing gettext" >&5
6042 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6043 if test "${ac_cv_search_gettext+set}" = set; then
6044   echo $ECHO_N "(cached) $ECHO_C" >&6
6045 else
6046   ac_func_search_save_LIBS=$LIBS
6047 ac_cv_search_gettext=no
6048 if test x$gcc_no_link = xyes; then
6049   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6051    { (exit 1); exit 1; }; }
6052 fi
6053 cat >conftest.$ac_ext <<_ACEOF
6054 /* confdefs.h.  */
6055 _ACEOF
6056 cat confdefs.h >>conftest.$ac_ext
6057 cat >>conftest.$ac_ext <<_ACEOF
6058 /* end confdefs.h.  */
6059
6060 /* Override any gcc2 internal prototype to avoid an error.  */
6061 #ifdef __cplusplus
6062 extern "C"
6063 #endif
6064 /* We use char because int might match the return type of a gcc2
6065    builtin and then its argument prototype would still apply.  */
6066 char gettext ();
6067 int
6068 main ()
6069 {
6070 gettext ();
6071   ;
6072   return 0;
6073 }
6074 _ACEOF
6075 rm -f conftest.$ac_objext conftest$ac_exeext
6076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6077   (eval $ac_link) 2>conftest.er1
6078   ac_status=$?
6079   grep -v '^ *+' conftest.er1 >conftest.err
6080   rm -f conftest.er1
6081   cat conftest.err >&5
6082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6083   (exit $ac_status); } &&
6084          { ac_try='test -z "$ac_c_werror_flag"
6085                          || test ! -s conftest.err'
6086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6087   (eval $ac_try) 2>&5
6088   ac_status=$?
6089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6090   (exit $ac_status); }; } &&
6091          { ac_try='test -s conftest$ac_exeext'
6092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6093   (eval $ac_try) 2>&5
6094   ac_status=$?
6095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6096   (exit $ac_status); }; }; then
6097   ac_cv_search_gettext="none required"
6098 else
6099   echo "$as_me: failed program was:" >&5
6100 sed 's/^/| /' conftest.$ac_ext >&5
6101
6102 fi
6103 rm -f conftest.err conftest.$ac_objext \
6104       conftest$ac_exeext conftest.$ac_ext
6105 if test "$ac_cv_search_gettext" = no; then
6106   for ac_lib in intl; do
6107     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6108     if test x$gcc_no_link = xyes; then
6109   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6111    { (exit 1); exit 1; }; }
6112 fi
6113 cat >conftest.$ac_ext <<_ACEOF
6114 /* confdefs.h.  */
6115 _ACEOF
6116 cat confdefs.h >>conftest.$ac_ext
6117 cat >>conftest.$ac_ext <<_ACEOF
6118 /* end confdefs.h.  */
6119
6120 /* Override any gcc2 internal prototype to avoid an error.  */
6121 #ifdef __cplusplus
6122 extern "C"
6123 #endif
6124 /* We use char because int might match the return type of a gcc2
6125    builtin and then its argument prototype would still apply.  */
6126 char gettext ();
6127 int
6128 main ()
6129 {
6130 gettext ();
6131   ;
6132   return 0;
6133 }
6134 _ACEOF
6135 rm -f conftest.$ac_objext conftest$ac_exeext
6136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6137   (eval $ac_link) 2>conftest.er1
6138   ac_status=$?
6139   grep -v '^ *+' conftest.er1 >conftest.err
6140   rm -f conftest.er1
6141   cat conftest.err >&5
6142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6143   (exit $ac_status); } &&
6144          { ac_try='test -z "$ac_c_werror_flag"
6145                          || test ! -s conftest.err'
6146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6147   (eval $ac_try) 2>&5
6148   ac_status=$?
6149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6150   (exit $ac_status); }; } &&
6151          { ac_try='test -s conftest$ac_exeext'
6152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6153   (eval $ac_try) 2>&5
6154   ac_status=$?
6155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6156   (exit $ac_status); }; }; then
6157   ac_cv_search_gettext="-l$ac_lib"
6158 break
6159 else
6160   echo "$as_me: failed program was:" >&5
6161 sed 's/^/| /' conftest.$ac_ext >&5
6162
6163 fi
6164 rm -f conftest.err conftest.$ac_objext \
6165       conftest$ac_exeext conftest.$ac_ext
6166   done
6167 fi
6168 LIBS=$ac_func_search_save_LIBS
6169 fi
6170 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6171 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6172 if test "$ac_cv_search_gettext" != no; then
6173   test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6174
6175 else
6176   USE_NLS=no
6177 fi
6178
6179   fi
6180   if test $USE_NLS = yes; then
6181     cat >>confdefs.h <<\_ACEOF
6182 #define _GLIBCXX_USE_NLS 1
6183 _ACEOF
6184
6185   fi
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203   echo "$as_me:$LINENO: checking for std::allocator base class to use" >&5
6204 echo $ECHO_N "checking for std::allocator base class to use... $ECHO_C" >&6
6205    # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6206 if test "${enable_libstdcxx_allocator+set}" = set; then
6207   enableval="$enable_libstdcxx_allocator"
6208
6209       case "$enableval" in
6210        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6211        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6212 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6213    { (exit 1); exit 1; }; } ;;
6214                           esac
6215
6216 else
6217   enable_libstdcxx_allocator=auto
6218 fi;
6219
6220
6221   # If they didn't use this option switch, or if they specified --enable
6222   # with no specific model, we'll have to look for one.  If they
6223   # specified --disable (???), do likewise.
6224   if test $enable_libstdcxx_allocator = no ||
6225      test $enable_libstdcxx_allocator = yes;
6226   then
6227      enable_libstdcxx_allocator=auto
6228   fi
6229
6230   # Either a known package, or "auto". Auto implies the default choice
6231   # for a particular platform.
6232   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6233
6234   # Probe for host-specific support if no specific model is specified.
6235   # Default to "new".
6236   if test $enable_libstdcxx_allocator_flag = auto; then
6237     case ${target_os} in
6238       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6239         enable_libstdcxx_allocator_flag=mt
6240         ;;
6241       *)
6242         enable_libstdcxx_allocator_flag=new
6243         ;;
6244     esac
6245   fi
6246   echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6247 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6248
6249
6250   # Set configure bits for specified locale package
6251   case ${enable_libstdcxx_allocator_flag} in
6252     bitmap)
6253       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6254       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6255       ;;
6256     malloc)
6257       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6258       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6259       ;;
6260     mt)
6261       ALLOCATOR_H=config/allocator/mt_allocator_base.h
6262       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6263       ;;
6264     new)
6265       ALLOCATOR_H=config/allocator/new_allocator_base.h
6266       ALLOCATOR_NAME=__gnu_cxx::new_allocator
6267       ;;
6268     pool)
6269       ALLOCATOR_H=config/allocator/pool_allocator_base.h
6270       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6271       ;;
6272   esac
6273
6274
6275
6276
6277
6278    # Check whether --enable-cheaders or --disable-cheaders was given.
6279 if test "${enable_cheaders+set}" = set; then
6280   enableval="$enable_cheaders"
6281
6282       case "$enableval" in
6283        c|c_std) ;;
6284        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6285 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6286    { (exit 1); exit 1; }; } ;;
6287                           esac
6288
6289 else
6290   enable_cheaders=$c_model
6291 fi;
6292
6293   { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6294 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6295
6296   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6297
6298
6299
6300
6301
6302
6303    # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6304 if test "${enable_c_mbchar+set}" = set; then
6305   enableval="$enable_c_mbchar"
6306
6307       case "$enableval" in
6308        yes|no) ;;
6309        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6310 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6311    { (exit 1); exit 1; }; } ;;
6312       esac
6313
6314 else
6315   enable_c_mbchar=yes
6316 fi;
6317
6318   # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6319
6320
6321
6322    # Check whether --enable-c99 or --disable-c99 was given.
6323 if test "${enable_c99+set}" = set; then
6324   enableval="$enable_c99"
6325
6326       case "$enableval" in
6327        yes|no) ;;
6328        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6329 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6330    { (exit 1); exit 1; }; } ;;
6331       esac
6332
6333 else
6334   enable_c99=yes
6335 fi;
6336
6337
6338
6339
6340   ac_ext=cc
6341 ac_cpp='$CXXCPP $CPPFLAGS'
6342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6345
6346
6347   # Check for the existence of <math.h> functions used if C99 is enabled.
6348   ac_c99_math=yes;
6349   echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6350 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6351   cat >conftest.$ac_ext <<_ACEOF
6352 /* confdefs.h.  */
6353 _ACEOF
6354 cat confdefs.h >>conftest.$ac_ext
6355 cat >>conftest.$ac_ext <<_ACEOF
6356 /* end confdefs.h.  */
6357 #include <math.h>
6358 int
6359 main ()
6360 {
6361 fpclassify(0.0);
6362   ;
6363   return 0;
6364 }
6365 _ACEOF
6366 rm -f conftest.$ac_objext
6367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6368   (eval $ac_compile) 2>conftest.er1
6369   ac_status=$?
6370   grep -v '^ *+' conftest.er1 >conftest.err
6371   rm -f conftest.er1
6372   cat conftest.err >&5
6373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6374   (exit $ac_status); } &&
6375          { ac_try='test -z "$ac_cxx_werror_flag"
6376                          || test ! -s conftest.err'
6377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6378   (eval $ac_try) 2>&5
6379   ac_status=$?
6380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6381   (exit $ac_status); }; } &&
6382          { ac_try='test -s conftest.$ac_objext'
6383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6384   (eval $ac_try) 2>&5
6385   ac_status=$?
6386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6387   (exit $ac_status); }; }; then
6388   :
6389 else
6390   echo "$as_me: failed program was:" >&5
6391 sed 's/^/| /' conftest.$ac_ext >&5
6392
6393 ac_c99_math=no
6394 fi
6395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6396   cat >conftest.$ac_ext <<_ACEOF
6397 /* confdefs.h.  */
6398 _ACEOF
6399 cat confdefs.h >>conftest.$ac_ext
6400 cat >>conftest.$ac_ext <<_ACEOF
6401 /* end confdefs.h.  */
6402 #include <math.h>
6403 int
6404 main ()
6405 {
6406 isfinite(0.0);
6407   ;
6408   return 0;
6409 }
6410 _ACEOF
6411 rm -f conftest.$ac_objext
6412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6413   (eval $ac_compile) 2>conftest.er1
6414   ac_status=$?
6415   grep -v '^ *+' conftest.er1 >conftest.err
6416   rm -f conftest.er1
6417   cat conftest.err >&5
6418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6419   (exit $ac_status); } &&
6420          { ac_try='test -z "$ac_cxx_werror_flag"
6421                          || test ! -s conftest.err'
6422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6423   (eval $ac_try) 2>&5
6424   ac_status=$?
6425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6426   (exit $ac_status); }; } &&
6427          { ac_try='test -s conftest.$ac_objext'
6428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6429   (eval $ac_try) 2>&5
6430   ac_status=$?
6431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432   (exit $ac_status); }; }; then
6433   :
6434 else
6435   echo "$as_me: failed program was:" >&5
6436 sed 's/^/| /' conftest.$ac_ext >&5
6437
6438 ac_c99_math=no
6439 fi
6440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6441   cat >conftest.$ac_ext <<_ACEOF
6442 /* confdefs.h.  */
6443 _ACEOF
6444 cat confdefs.h >>conftest.$ac_ext
6445 cat >>conftest.$ac_ext <<_ACEOF
6446 /* end confdefs.h.  */
6447 #include <math.h>
6448 int
6449 main ()
6450 {
6451 isinf(0.0);
6452   ;
6453   return 0;
6454 }
6455 _ACEOF
6456 rm -f conftest.$ac_objext
6457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6458   (eval $ac_compile) 2>conftest.er1
6459   ac_status=$?
6460   grep -v '^ *+' conftest.er1 >conftest.err
6461   rm -f conftest.er1
6462   cat conftest.err >&5
6463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6464   (exit $ac_status); } &&
6465          { ac_try='test -z "$ac_cxx_werror_flag"
6466                          || test ! -s conftest.err'
6467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6468   (eval $ac_try) 2>&5
6469   ac_status=$?
6470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6471   (exit $ac_status); }; } &&
6472          { ac_try='test -s conftest.$ac_objext'
6473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6474   (eval $ac_try) 2>&5
6475   ac_status=$?
6476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6477   (exit $ac_status); }; }; then
6478   :
6479 else
6480   echo "$as_me: failed program was:" >&5
6481 sed 's/^/| /' conftest.$ac_ext >&5
6482
6483 ac_c99_math=no
6484 fi
6485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6486   cat >conftest.$ac_ext <<_ACEOF
6487 /* confdefs.h.  */
6488 _ACEOF
6489 cat confdefs.h >>conftest.$ac_ext
6490 cat >>conftest.$ac_ext <<_ACEOF
6491 /* end confdefs.h.  */
6492 #include <math.h>
6493 int
6494 main ()
6495 {
6496 isnan(0.0);
6497   ;
6498   return 0;
6499 }
6500 _ACEOF
6501 rm -f conftest.$ac_objext
6502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6503   (eval $ac_compile) 2>conftest.er1
6504   ac_status=$?
6505   grep -v '^ *+' conftest.er1 >conftest.err
6506   rm -f conftest.er1
6507   cat conftest.err >&5
6508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6509   (exit $ac_status); } &&
6510          { ac_try='test -z "$ac_cxx_werror_flag"
6511                          || test ! -s conftest.err'
6512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6513   (eval $ac_try) 2>&5
6514   ac_status=$?
6515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6516   (exit $ac_status); }; } &&
6517          { ac_try='test -s conftest.$ac_objext'
6518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6519   (eval $ac_try) 2>&5
6520   ac_status=$?
6521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6522   (exit $ac_status); }; }; then
6523   :
6524 else
6525   echo "$as_me: failed program was:" >&5
6526 sed 's/^/| /' conftest.$ac_ext >&5
6527
6528 ac_c99_math=no
6529 fi
6530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6531   cat >conftest.$ac_ext <<_ACEOF
6532 /* confdefs.h.  */
6533 _ACEOF
6534 cat confdefs.h >>conftest.$ac_ext
6535 cat >>conftest.$ac_ext <<_ACEOF
6536 /* end confdefs.h.  */
6537 #include <math.h>
6538 int
6539 main ()
6540 {
6541 isnormal(0.0);
6542   ;
6543   return 0;
6544 }
6545 _ACEOF
6546 rm -f conftest.$ac_objext
6547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6548   (eval $ac_compile) 2>conftest.er1
6549   ac_status=$?
6550   grep -v '^ *+' conftest.er1 >conftest.err
6551   rm -f conftest.er1
6552   cat conftest.err >&5
6553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6554   (exit $ac_status); } &&
6555          { ac_try='test -z "$ac_cxx_werror_flag"
6556                          || test ! -s conftest.err'
6557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6558   (eval $ac_try) 2>&5
6559   ac_status=$?
6560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6561   (exit $ac_status); }; } &&
6562          { ac_try='test -s conftest.$ac_objext'
6563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6564   (eval $ac_try) 2>&5
6565   ac_status=$?
6566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6567   (exit $ac_status); }; }; then
6568   :
6569 else
6570   echo "$as_me: failed program was:" >&5
6571 sed 's/^/| /' conftest.$ac_ext >&5
6572
6573 ac_c99_math=no
6574 fi
6575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
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 <math.h>
6583 int
6584 main ()
6585 {
6586 signbit(0.0);
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_cxx_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   :
6614 else
6615   echo "$as_me: failed program was:" >&5
6616 sed 's/^/| /' conftest.$ac_ext >&5
6617
6618 ac_c99_math=no
6619 fi
6620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6621   cat >conftest.$ac_ext <<_ACEOF
6622 /* confdefs.h.  */
6623 _ACEOF
6624 cat confdefs.h >>conftest.$ac_ext
6625 cat >>conftest.$ac_ext <<_ACEOF
6626 /* end confdefs.h.  */
6627 #include <math.h>
6628 int
6629 main ()
6630 {
6631 isgreater(0.0,0.0);
6632   ;
6633   return 0;
6634 }
6635 _ACEOF
6636 rm -f conftest.$ac_objext
6637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6638   (eval $ac_compile) 2>conftest.er1
6639   ac_status=$?
6640   grep -v '^ *+' conftest.er1 >conftest.err
6641   rm -f conftest.er1
6642   cat conftest.err >&5
6643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6644   (exit $ac_status); } &&
6645          { ac_try='test -z "$ac_cxx_werror_flag"
6646                          || test ! -s conftest.err'
6647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6648   (eval $ac_try) 2>&5
6649   ac_status=$?
6650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6651   (exit $ac_status); }; } &&
6652          { ac_try='test -s conftest.$ac_objext'
6653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6654   (eval $ac_try) 2>&5
6655   ac_status=$?
6656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6657   (exit $ac_status); }; }; then
6658   :
6659 else
6660   echo "$as_me: failed program was:" >&5
6661 sed 's/^/| /' conftest.$ac_ext >&5
6662
6663 ac_c99_math=no
6664 fi
6665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6666   cat >conftest.$ac_ext <<_ACEOF
6667 /* confdefs.h.  */
6668 _ACEOF
6669 cat confdefs.h >>conftest.$ac_ext
6670 cat >>conftest.$ac_ext <<_ACEOF
6671 /* end confdefs.h.  */
6672 #include <math.h>
6673 int
6674 main ()
6675 {
6676 isgreaterequal(0.0,0.0);
6677   ;
6678   return 0;
6679 }
6680 _ACEOF
6681 rm -f conftest.$ac_objext
6682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6683   (eval $ac_compile) 2>conftest.er1
6684   ac_status=$?
6685   grep -v '^ *+' conftest.er1 >conftest.err
6686   rm -f conftest.er1
6687   cat conftest.err >&5
6688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689   (exit $ac_status); } &&
6690          { ac_try='test -z "$ac_cxx_werror_flag"
6691                          || test ! -s conftest.err'
6692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6693   (eval $ac_try) 2>&5
6694   ac_status=$?
6695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696   (exit $ac_status); }; } &&
6697          { ac_try='test -s conftest.$ac_objext'
6698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6699   (eval $ac_try) 2>&5
6700   ac_status=$?
6701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702   (exit $ac_status); }; }; then
6703   :
6704 else
6705   echo "$as_me: failed program was:" >&5
6706 sed 's/^/| /' conftest.$ac_ext >&5
6707
6708 ac_c99_math=no
6709 fi
6710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6711   cat >conftest.$ac_ext <<_ACEOF
6712 /* confdefs.h.  */
6713 _ACEOF
6714 cat confdefs.h >>conftest.$ac_ext
6715 cat >>conftest.$ac_ext <<_ACEOF
6716 /* end confdefs.h.  */
6717 #include <math.h>
6718 int
6719 main ()
6720 {
6721 isless(0.0,0.0);
6722   ;
6723   return 0;
6724 }
6725 _ACEOF
6726 rm -f conftest.$ac_objext
6727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6728   (eval $ac_compile) 2>conftest.er1
6729   ac_status=$?
6730   grep -v '^ *+' conftest.er1 >conftest.err
6731   rm -f conftest.er1
6732   cat conftest.err >&5
6733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6734   (exit $ac_status); } &&
6735          { ac_try='test -z "$ac_cxx_werror_flag"
6736                          || test ! -s conftest.err'
6737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6738   (eval $ac_try) 2>&5
6739   ac_status=$?
6740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6741   (exit $ac_status); }; } &&
6742          { ac_try='test -s conftest.$ac_objext'
6743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6744   (eval $ac_try) 2>&5
6745   ac_status=$?
6746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6747   (exit $ac_status); }; }; then
6748   :
6749 else
6750   echo "$as_me: failed program was:" >&5
6751 sed 's/^/| /' conftest.$ac_ext >&5
6752
6753 ac_c99_math=no
6754 fi
6755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6756   cat >conftest.$ac_ext <<_ACEOF
6757 /* confdefs.h.  */
6758 _ACEOF
6759 cat confdefs.h >>conftest.$ac_ext
6760 cat >>conftest.$ac_ext <<_ACEOF
6761 /* end confdefs.h.  */
6762 #include <math.h>
6763 int
6764 main ()
6765 {
6766 islessequal(0.0,0.0);
6767   ;
6768   return 0;
6769 }
6770 _ACEOF
6771 rm -f conftest.$ac_objext
6772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6773   (eval $ac_compile) 2>conftest.er1
6774   ac_status=$?
6775   grep -v '^ *+' conftest.er1 >conftest.err
6776   rm -f conftest.er1
6777   cat conftest.err >&5
6778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779   (exit $ac_status); } &&
6780          { ac_try='test -z "$ac_cxx_werror_flag"
6781                          || test ! -s conftest.err'
6782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6783   (eval $ac_try) 2>&5
6784   ac_status=$?
6785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6786   (exit $ac_status); }; } &&
6787          { ac_try='test -s conftest.$ac_objext'
6788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6789   (eval $ac_try) 2>&5
6790   ac_status=$?
6791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6792   (exit $ac_status); }; }; then
6793   :
6794 else
6795   echo "$as_me: failed program was:" >&5
6796 sed 's/^/| /' conftest.$ac_ext >&5
6797
6798 ac_c99_math=no
6799 fi
6800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6801   cat >conftest.$ac_ext <<_ACEOF
6802 /* confdefs.h.  */
6803 _ACEOF
6804 cat confdefs.h >>conftest.$ac_ext
6805 cat >>conftest.$ac_ext <<_ACEOF
6806 /* end confdefs.h.  */
6807 #include <math.h>
6808 int
6809 main ()
6810 {
6811 islessgreater(0.0,0.0);
6812   ;
6813   return 0;
6814 }
6815 _ACEOF
6816 rm -f conftest.$ac_objext
6817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6818   (eval $ac_compile) 2>conftest.er1
6819   ac_status=$?
6820   grep -v '^ *+' conftest.er1 >conftest.err
6821   rm -f conftest.er1
6822   cat conftest.err >&5
6823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6824   (exit $ac_status); } &&
6825          { ac_try='test -z "$ac_cxx_werror_flag"
6826                          || test ! -s conftest.err'
6827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6828   (eval $ac_try) 2>&5
6829   ac_status=$?
6830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6831   (exit $ac_status); }; } &&
6832          { ac_try='test -s conftest.$ac_objext'
6833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6834   (eval $ac_try) 2>&5
6835   ac_status=$?
6836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6837   (exit $ac_status); }; }; then
6838   :
6839 else
6840   echo "$as_me: failed program was:" >&5
6841 sed 's/^/| /' conftest.$ac_ext >&5
6842
6843 ac_c99_math=no
6844 fi
6845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6846   cat >conftest.$ac_ext <<_ACEOF
6847 /* confdefs.h.  */
6848 _ACEOF
6849 cat confdefs.h >>conftest.$ac_ext
6850 cat >>conftest.$ac_ext <<_ACEOF
6851 /* end confdefs.h.  */
6852 #include <math.h>
6853 int
6854 main ()
6855 {
6856 isunordered(0.0,0.0);
6857   ;
6858   return 0;
6859 }
6860 _ACEOF
6861 rm -f conftest.$ac_objext
6862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6863   (eval $ac_compile) 2>conftest.er1
6864   ac_status=$?
6865   grep -v '^ *+' conftest.er1 >conftest.err
6866   rm -f conftest.er1
6867   cat conftest.err >&5
6868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6869   (exit $ac_status); } &&
6870          { ac_try='test -z "$ac_cxx_werror_flag"
6871                          || test ! -s conftest.err'
6872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6873   (eval $ac_try) 2>&5
6874   ac_status=$?
6875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6876   (exit $ac_status); }; } &&
6877          { ac_try='test -s conftest.$ac_objext'
6878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6879   (eval $ac_try) 2>&5
6880   ac_status=$?
6881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6882   (exit $ac_status); }; }; then
6883   :
6884 else
6885   echo "$as_me: failed program was:" >&5
6886 sed 's/^/| /' conftest.$ac_ext >&5
6887
6888 ac_c99_math=no
6889 fi
6890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6891   echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6892 echo "${ECHO_T}$ac_c99_math" >&6
6893
6894   if test x"$ac_c99_math" = x"yes"; then
6895     cat >>confdefs.h <<\_ACEOF
6896 #define _GLIBCXX_USE_C99_MATH 1
6897 _ACEOF
6898
6899   fi
6900
6901   # Check for the existence in <stdio.h> of vscanf, et. al.
6902   ac_c99_stdio=yes;
6903   echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6904 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6905   cat >conftest.$ac_ext <<_ACEOF
6906 /* confdefs.h.  */
6907 _ACEOF
6908 cat confdefs.h >>conftest.$ac_ext
6909 cat >>conftest.$ac_ext <<_ACEOF
6910 /* end confdefs.h.  */
6911 #include <stdio.h>
6912 int
6913 main ()
6914 {
6915 snprintf("12", 0, "%i");
6916   ;
6917   return 0;
6918 }
6919 _ACEOF
6920 rm -f conftest.$ac_objext
6921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6922   (eval $ac_compile) 2>conftest.er1
6923   ac_status=$?
6924   grep -v '^ *+' conftest.er1 >conftest.err
6925   rm -f conftest.er1
6926   cat conftest.err >&5
6927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6928   (exit $ac_status); } &&
6929          { ac_try='test -z "$ac_cxx_werror_flag"
6930                          || test ! -s conftest.err'
6931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6932   (eval $ac_try) 2>&5
6933   ac_status=$?
6934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6935   (exit $ac_status); }; } &&
6936          { ac_try='test -s conftest.$ac_objext'
6937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6938   (eval $ac_try) 2>&5
6939   ac_status=$?
6940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6941   (exit $ac_status); }; }; then
6942   :
6943 else
6944   echo "$as_me: failed program was:" >&5
6945 sed 's/^/| /' conftest.$ac_ext >&5
6946
6947 ac_c99_stdio=no
6948 fi
6949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6950   cat >conftest.$ac_ext <<_ACEOF
6951 /* confdefs.h.  */
6952 _ACEOF
6953 cat confdefs.h >>conftest.$ac_ext
6954 cat >>conftest.$ac_ext <<_ACEOF
6955 /* end confdefs.h.  */
6956 #include <stdio.h>
6957                   #include <stdarg.h>
6958                   void foo(char* fmt, ...)
6959                   {va_list args; va_start(args, fmt);
6960                   vfscanf(stderr, "%i", args);}
6961 int
6962 main ()
6963 {
6964
6965   ;
6966   return 0;
6967 }
6968 _ACEOF
6969 rm -f conftest.$ac_objext
6970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6971   (eval $ac_compile) 2>conftest.er1
6972   ac_status=$?
6973   grep -v '^ *+' conftest.er1 >conftest.err
6974   rm -f conftest.er1
6975   cat conftest.err >&5
6976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6977   (exit $ac_status); } &&
6978          { ac_try='test -z "$ac_cxx_werror_flag"
6979                          || test ! -s conftest.err'
6980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6981   (eval $ac_try) 2>&5
6982   ac_status=$?
6983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6984   (exit $ac_status); }; } &&
6985          { ac_try='test -s conftest.$ac_objext'
6986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6987   (eval $ac_try) 2>&5
6988   ac_status=$?
6989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6990   (exit $ac_status); }; }; then
6991   :
6992 else
6993   echo "$as_me: failed program was:" >&5
6994 sed 's/^/| /' conftest.$ac_ext >&5
6995
6996 ac_c99_stdio=no
6997 fi
6998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6999   cat >conftest.$ac_ext <<_ACEOF
7000 /* confdefs.h.  */
7001 _ACEOF
7002 cat confdefs.h >>conftest.$ac_ext
7003 cat >>conftest.$ac_ext <<_ACEOF
7004 /* end confdefs.h.  */
7005 #include <stdio.h>
7006                   #include <stdarg.h>
7007                   void foo(char* fmt, ...)
7008                   {va_list args; va_start(args, fmt);
7009                   vscanf("%i", args);}
7010 int
7011 main ()
7012 {
7013
7014   ;
7015   return 0;
7016 }
7017 _ACEOF
7018 rm -f conftest.$ac_objext
7019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7020   (eval $ac_compile) 2>conftest.er1
7021   ac_status=$?
7022   grep -v '^ *+' conftest.er1 >conftest.err
7023   rm -f conftest.er1
7024   cat conftest.err >&5
7025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7026   (exit $ac_status); } &&
7027          { ac_try='test -z "$ac_cxx_werror_flag"
7028                          || test ! -s conftest.err'
7029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7030   (eval $ac_try) 2>&5
7031   ac_status=$?
7032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7033   (exit $ac_status); }; } &&
7034          { ac_try='test -s conftest.$ac_objext'
7035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7036   (eval $ac_try) 2>&5
7037   ac_status=$?
7038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7039   (exit $ac_status); }; }; then
7040   :
7041 else
7042   echo "$as_me: failed program was:" >&5
7043 sed 's/^/| /' conftest.$ac_ext >&5
7044
7045 ac_c99_stdio=no
7046 fi
7047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7048   cat >conftest.$ac_ext <<_ACEOF
7049 /* confdefs.h.  */
7050 _ACEOF
7051 cat confdefs.h >>conftest.$ac_ext
7052 cat >>conftest.$ac_ext <<_ACEOF
7053 /* end confdefs.h.  */
7054 #include <stdio.h>
7055                   #include <stdarg.h>
7056                   void foo(char* fmt, ...)
7057                   {va_list args; va_start(args, fmt);
7058                   vsnprintf(fmt, 0, "%i", args);}
7059 int
7060 main ()
7061 {
7062
7063   ;
7064   return 0;
7065 }
7066 _ACEOF
7067 rm -f conftest.$ac_objext
7068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7069   (eval $ac_compile) 2>conftest.er1
7070   ac_status=$?
7071   grep -v '^ *+' conftest.er1 >conftest.err
7072   rm -f conftest.er1
7073   cat conftest.err >&5
7074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7075   (exit $ac_status); } &&
7076          { ac_try='test -z "$ac_cxx_werror_flag"
7077                          || test ! -s conftest.err'
7078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7079   (eval $ac_try) 2>&5
7080   ac_status=$?
7081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7082   (exit $ac_status); }; } &&
7083          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
7089   :
7090 else
7091   echo "$as_me: failed program was:" >&5
7092 sed 's/^/| /' conftest.$ac_ext >&5
7093
7094 ac_c99_stdio=no
7095 fi
7096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7097   cat >conftest.$ac_ext <<_ACEOF
7098 /* confdefs.h.  */
7099 _ACEOF
7100 cat confdefs.h >>conftest.$ac_ext
7101 cat >>conftest.$ac_ext <<_ACEOF
7102 /* end confdefs.h.  */
7103 #include <stdio.h>
7104                   #include <stdarg.h>
7105                   void foo(char* fmt, ...)
7106                   {va_list args; va_start(args, fmt);
7107                   vsscanf(fmt, "%i", args);}
7108 int
7109 main ()
7110 {
7111
7112   ;
7113   return 0;
7114 }
7115 _ACEOF
7116 rm -f conftest.$ac_objext
7117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7118   (eval $ac_compile) 2>conftest.er1
7119   ac_status=$?
7120   grep -v '^ *+' conftest.er1 >conftest.err
7121   rm -f conftest.er1
7122   cat conftest.err >&5
7123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7124   (exit $ac_status); } &&
7125          { ac_try='test -z "$ac_cxx_werror_flag"
7126                          || test ! -s conftest.err'
7127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7128   (eval $ac_try) 2>&5
7129   ac_status=$?
7130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7131   (exit $ac_status); }; } &&
7132          { ac_try='test -s conftest.$ac_objext'
7133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7134   (eval $ac_try) 2>&5
7135   ac_status=$?
7136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7137   (exit $ac_status); }; }; then
7138   :
7139 else
7140   echo "$as_me: failed program was:" >&5
7141 sed 's/^/| /' conftest.$ac_ext >&5
7142
7143 ac_c99_stdio=no
7144 fi
7145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7146   echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7147 echo "${ECHO_T}$ac_c99_stdio" >&6
7148
7149   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7150   ac_c99_stdlib=yes;
7151   echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
7152 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
7153   if test "${ac_c99_lldiv_t+set}" = set; then
7154   echo $ECHO_N "(cached) $ECHO_C" >&6
7155 else
7156
7157   cat >conftest.$ac_ext <<_ACEOF
7158 /* confdefs.h.  */
7159 _ACEOF
7160 cat confdefs.h >>conftest.$ac_ext
7161 cat >>conftest.$ac_ext <<_ACEOF
7162 /* end confdefs.h.  */
7163 #include <stdlib.h>
7164 int
7165 main ()
7166 {
7167  lldiv_t mydivt;
7168   ;
7169   return 0;
7170 }
7171 _ACEOF
7172 rm -f conftest.$ac_objext
7173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7174   (eval $ac_compile) 2>conftest.er1
7175   ac_status=$?
7176   grep -v '^ *+' conftest.er1 >conftest.err
7177   rm -f conftest.er1
7178   cat conftest.err >&5
7179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7180   (exit $ac_status); } &&
7181          { ac_try='test -z "$ac_cxx_werror_flag"
7182                          || test ! -s conftest.err'
7183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7184   (eval $ac_try) 2>&5
7185   ac_status=$?
7186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7187   (exit $ac_status); }; } &&
7188          { ac_try='test -s conftest.$ac_objext'
7189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7190   (eval $ac_try) 2>&5
7191   ac_status=$?
7192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7193   (exit $ac_status); }; }; then
7194   ac_c99_lldiv_t=yes
7195 else
7196   echo "$as_me: failed program was:" >&5
7197 sed 's/^/| /' conftest.$ac_ext >&5
7198
7199 ac_c99_lldiv_t=no
7200 fi
7201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7202
7203 fi
7204
7205   echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
7206 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
7207
7208   echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7209 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7210   cat >conftest.$ac_ext <<_ACEOF
7211 /* confdefs.h.  */
7212 _ACEOF
7213 cat confdefs.h >>conftest.$ac_ext
7214 cat >>conftest.$ac_ext <<_ACEOF
7215 /* end confdefs.h.  */
7216 #include <stdlib.h>
7217 int
7218 main ()
7219 {
7220 char* tmp; strtof("gnu", &tmp);
7221   ;
7222   return 0;
7223 }
7224 _ACEOF
7225 rm -f conftest.$ac_objext
7226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7227   (eval $ac_compile) 2>conftest.er1
7228   ac_status=$?
7229   grep -v '^ *+' conftest.er1 >conftest.err
7230   rm -f conftest.er1
7231   cat conftest.err >&5
7232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7233   (exit $ac_status); } &&
7234          { ac_try='test -z "$ac_cxx_werror_flag"
7235                          || test ! -s conftest.err'
7236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7237   (eval $ac_try) 2>&5
7238   ac_status=$?
7239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7240   (exit $ac_status); }; } &&
7241          { ac_try='test -s conftest.$ac_objext'
7242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7243   (eval $ac_try) 2>&5
7244   ac_status=$?
7245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7246   (exit $ac_status); }; }; then
7247   :
7248 else
7249   echo "$as_me: failed program was:" >&5
7250 sed 's/^/| /' conftest.$ac_ext >&5
7251
7252 ac_c99_stdlib=no
7253 fi
7254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7255   cat >conftest.$ac_ext <<_ACEOF
7256 /* confdefs.h.  */
7257 _ACEOF
7258 cat confdefs.h >>conftest.$ac_ext
7259 cat >>conftest.$ac_ext <<_ACEOF
7260 /* end confdefs.h.  */
7261 #include <stdlib.h>
7262 int
7263 main ()
7264 {
7265 char* tmp; strtold("gnu", &tmp);
7266   ;
7267   return 0;
7268 }
7269 _ACEOF
7270 rm -f conftest.$ac_objext
7271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7272   (eval $ac_compile) 2>conftest.er1
7273   ac_status=$?
7274   grep -v '^ *+' conftest.er1 >conftest.err
7275   rm -f conftest.er1
7276   cat conftest.err >&5
7277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7278   (exit $ac_status); } &&
7279          { ac_try='test -z "$ac_cxx_werror_flag"
7280                          || test ! -s conftest.err'
7281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7282   (eval $ac_try) 2>&5
7283   ac_status=$?
7284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7285   (exit $ac_status); }; } &&
7286          { ac_try='test -s conftest.$ac_objext'
7287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7288   (eval $ac_try) 2>&5
7289   ac_status=$?
7290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7291   (exit $ac_status); }; }; then
7292   :
7293 else
7294   echo "$as_me: failed program was:" >&5
7295 sed 's/^/| /' conftest.$ac_ext >&5
7296
7297 ac_c99_stdlib=no
7298 fi
7299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7300   cat >conftest.$ac_ext <<_ACEOF
7301 /* confdefs.h.  */
7302 _ACEOF
7303 cat confdefs.h >>conftest.$ac_ext
7304 cat >>conftest.$ac_ext <<_ACEOF
7305 /* end confdefs.h.  */
7306 #include <stdlib.h>
7307 int
7308 main ()
7309 {
7310 llabs(10);
7311   ;
7312   return 0;
7313 }
7314 _ACEOF
7315 rm -f conftest.$ac_objext
7316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7317   (eval $ac_compile) 2>conftest.er1
7318   ac_status=$?
7319   grep -v '^ *+' conftest.er1 >conftest.err
7320   rm -f conftest.er1
7321   cat conftest.err >&5
7322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7323   (exit $ac_status); } &&
7324          { ac_try='test -z "$ac_cxx_werror_flag"
7325                          || test ! -s conftest.err'
7326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7327   (eval $ac_try) 2>&5
7328   ac_status=$?
7329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7330   (exit $ac_status); }; } &&
7331          { ac_try='test -s conftest.$ac_objext'
7332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7333   (eval $ac_try) 2>&5
7334   ac_status=$?
7335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7336   (exit $ac_status); }; }; then
7337   :
7338 else
7339   echo "$as_me: failed program was:" >&5
7340 sed 's/^/| /' conftest.$ac_ext >&5
7341
7342 ac_c99_stdlib=no
7343 fi
7344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7345   cat >conftest.$ac_ext <<_ACEOF
7346 /* confdefs.h.  */
7347 _ACEOF
7348 cat confdefs.h >>conftest.$ac_ext
7349 cat >>conftest.$ac_ext <<_ACEOF
7350 /* end confdefs.h.  */
7351 #include <stdlib.h>
7352 int
7353 main ()
7354 {
7355 lldiv(10,1);
7356   ;
7357   return 0;
7358 }
7359 _ACEOF
7360 rm -f conftest.$ac_objext
7361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7362   (eval $ac_compile) 2>conftest.er1
7363   ac_status=$?
7364   grep -v '^ *+' conftest.er1 >conftest.err
7365   rm -f conftest.er1
7366   cat conftest.err >&5
7367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7368   (exit $ac_status); } &&
7369          { ac_try='test -z "$ac_cxx_werror_flag"
7370                          || test ! -s conftest.err'
7371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7372   (eval $ac_try) 2>&5
7373   ac_status=$?
7374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7375   (exit $ac_status); }; } &&
7376          { ac_try='test -s conftest.$ac_objext'
7377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7378   (eval $ac_try) 2>&5
7379   ac_status=$?
7380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7381   (exit $ac_status); }; }; then
7382   :
7383 else
7384   echo "$as_me: failed program was:" >&5
7385 sed 's/^/| /' conftest.$ac_ext >&5
7386
7387 ac_c99_stdlib=no
7388 fi
7389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7390   cat >conftest.$ac_ext <<_ACEOF
7391 /* confdefs.h.  */
7392 _ACEOF
7393 cat confdefs.h >>conftest.$ac_ext
7394 cat >>conftest.$ac_ext <<_ACEOF
7395 /* end confdefs.h.  */
7396 #include <stdlib.h>
7397 int
7398 main ()
7399 {
7400 atoll("10");
7401   ;
7402   return 0;
7403 }
7404 _ACEOF
7405 rm -f conftest.$ac_objext
7406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7407   (eval $ac_compile) 2>conftest.er1
7408   ac_status=$?
7409   grep -v '^ *+' conftest.er1 >conftest.err
7410   rm -f conftest.er1
7411   cat conftest.err >&5
7412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7413   (exit $ac_status); } &&
7414          { ac_try='test -z "$ac_cxx_werror_flag"
7415                          || test ! -s conftest.err'
7416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7417   (eval $ac_try) 2>&5
7418   ac_status=$?
7419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7420   (exit $ac_status); }; } &&
7421          { ac_try='test -s conftest.$ac_objext'
7422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7423   (eval $ac_try) 2>&5
7424   ac_status=$?
7425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7426   (exit $ac_status); }; }; then
7427   :
7428 else
7429   echo "$as_me: failed program was:" >&5
7430 sed 's/^/| /' conftest.$ac_ext >&5
7431
7432 ac_c99_stdlib=no
7433 fi
7434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7435   cat >conftest.$ac_ext <<_ACEOF
7436 /* confdefs.h.  */
7437 _ACEOF
7438 cat confdefs.h >>conftest.$ac_ext
7439 cat >>conftest.$ac_ext <<_ACEOF
7440 /* end confdefs.h.  */
7441 #include <stdlib.h>
7442 int
7443 main ()
7444 {
7445 _Exit(0);
7446   ;
7447   return 0;
7448 }
7449 _ACEOF
7450 rm -f conftest.$ac_objext
7451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7452   (eval $ac_compile) 2>conftest.er1
7453   ac_status=$?
7454   grep -v '^ *+' conftest.er1 >conftest.err
7455   rm -f conftest.er1
7456   cat conftest.err >&5
7457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7458   (exit $ac_status); } &&
7459          { ac_try='test -z "$ac_cxx_werror_flag"
7460                          || test ! -s conftest.err'
7461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7462   (eval $ac_try) 2>&5
7463   ac_status=$?
7464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7465   (exit $ac_status); }; } &&
7466          { ac_try='test -s conftest.$ac_objext'
7467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7468   (eval $ac_try) 2>&5
7469   ac_status=$?
7470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7471   (exit $ac_status); }; }; then
7472   :
7473 else
7474   echo "$as_me: failed program was:" >&5
7475 sed 's/^/| /' conftest.$ac_ext >&5
7476
7477 ac_c99_stdlib=no
7478 fi
7479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7480   if test x"$ac_c99_lldiv_t" = x"no"; then
7481     ac_c99_stdlib=no;
7482   fi;
7483   echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7484 echo "${ECHO_T}$ac_c99_stdlib" >&6
7485
7486   # Check for the existence of <wchar.h> functions used if C99 is enabled.
7487   # XXX the wchar.h checks should be rolled into the general C99 bits.
7488   ac_c99_wchar=yes;
7489   echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
7490 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
7491   cat >conftest.$ac_ext <<_ACEOF
7492 /* confdefs.h.  */
7493 _ACEOF
7494 cat confdefs.h >>conftest.$ac_ext
7495 cat >>conftest.$ac_ext <<_ACEOF
7496 /* end confdefs.h.  */
7497 #include <wchar.h>
7498 int
7499 main ()
7500 {
7501 wcstold(L"10.0", NULL);
7502   ;
7503   return 0;
7504 }
7505 _ACEOF
7506 rm -f conftest.$ac_objext
7507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7508   (eval $ac_compile) 2>conftest.er1
7509   ac_status=$?
7510   grep -v '^ *+' conftest.er1 >conftest.err
7511   rm -f conftest.er1
7512   cat conftest.err >&5
7513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7514   (exit $ac_status); } &&
7515          { ac_try='test -z "$ac_cxx_werror_flag"
7516                          || test ! -s conftest.err'
7517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7518   (eval $ac_try) 2>&5
7519   ac_status=$?
7520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7521   (exit $ac_status); }; } &&
7522          { ac_try='test -s conftest.$ac_objext'
7523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7524   (eval $ac_try) 2>&5
7525   ac_status=$?
7526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7527   (exit $ac_status); }; }; then
7528   :
7529 else
7530   echo "$as_me: failed program was:" >&5
7531 sed 's/^/| /' conftest.$ac_ext >&5
7532
7533 ac_c99_wchar=no
7534 fi
7535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7536   cat >conftest.$ac_ext <<_ACEOF
7537 /* confdefs.h.  */
7538 _ACEOF
7539 cat confdefs.h >>conftest.$ac_ext
7540 cat >>conftest.$ac_ext <<_ACEOF
7541 /* end confdefs.h.  */
7542 #include <wchar.h>
7543 int
7544 main ()
7545 {
7546 wcstoll(L"10", NULL, 10);
7547   ;
7548   return 0;
7549 }
7550 _ACEOF
7551 rm -f conftest.$ac_objext
7552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7553   (eval $ac_compile) 2>conftest.er1
7554   ac_status=$?
7555   grep -v '^ *+' conftest.er1 >conftest.err
7556   rm -f conftest.er1
7557   cat conftest.err >&5
7558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7559   (exit $ac_status); } &&
7560          { ac_try='test -z "$ac_cxx_werror_flag"
7561                          || test ! -s conftest.err'
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); }; } &&
7567          { ac_try='test -s conftest.$ac_objext'
7568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7569   (eval $ac_try) 2>&5
7570   ac_status=$?
7571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572   (exit $ac_status); }; }; then
7573   :
7574 else
7575   echo "$as_me: failed program was:" >&5
7576 sed 's/^/| /' conftest.$ac_ext >&5
7577
7578 ac_c99_wchar=no
7579 fi
7580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7581   cat >conftest.$ac_ext <<_ACEOF
7582 /* confdefs.h.  */
7583 _ACEOF
7584 cat confdefs.h >>conftest.$ac_ext
7585 cat >>conftest.$ac_ext <<_ACEOF
7586 /* end confdefs.h.  */
7587 #include <wchar.h>
7588 int
7589 main ()
7590 {
7591 wcstoull(L"10", NULL, 10);
7592   ;
7593   return 0;
7594 }
7595 _ACEOF
7596 rm -f conftest.$ac_objext
7597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7598   (eval $ac_compile) 2>conftest.er1
7599   ac_status=$?
7600   grep -v '^ *+' conftest.er1 >conftest.err
7601   rm -f conftest.er1
7602   cat conftest.err >&5
7603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7604   (exit $ac_status); } &&
7605          { ac_try='test -z "$ac_cxx_werror_flag"
7606                          || test ! -s conftest.err'
7607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7608   (eval $ac_try) 2>&5
7609   ac_status=$?
7610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7611   (exit $ac_status); }; } &&
7612          { ac_try='test -s conftest.$ac_objext'
7613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7614   (eval $ac_try) 2>&5
7615   ac_status=$?
7616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7617   (exit $ac_status); }; }; then
7618   :
7619 else
7620   echo "$as_me: failed program was:" >&5
7621 sed 's/^/| /' conftest.$ac_ext >&5
7622
7623 ac_c99_wchar=no
7624 fi
7625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7626   echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7627 echo "${ECHO_T}$ac_c99_wchar" >&6
7628
7629   echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
7630 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
7631   if test x"$ac_c99_math" = x"no" ||
7632      test x"$ac_c99_stdio" = x"no" ||
7633      test x"$ac_c99_stdlib" = x"no" ||
7634      test x"$ac_c99_wchar" = x"no"; then
7635     enable_c99=no;
7636   fi;
7637   echo "$as_me:$LINENO: result: $enable_c99" >&5
7638 echo "${ECHO_T}$enable_c99" >&6
7639
7640   if test x"$ac_99_math" = x"yes"; then
7641     cat >>confdefs.h <<\_ACEOF
7642 #define _GLIBCXX_USE_C99_MATH 1
7643 _ACEOF
7644
7645   fi
7646
7647   # Option parsed, now set things appropriately
7648   if test x"$enable_c99" = x"yes"; then
7649     cat >>confdefs.h <<\_ACEOF
7650 #define _GLIBCXX_USE_C99 1
7651 _ACEOF
7652
7653   fi
7654
7655   ac_ext=c
7656 ac_cpp='$CPP $CPPFLAGS'
7657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7660
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     cat >>confdefs.h <<\_ACEOF
7680 #define _GLIBCXX_USE_LONG_LONG 1
7681 _ACEOF
7682
7683   fi
7684
7685
7686   echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7687 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7688   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7689   echo "$as_me:$LINENO: result: $target_thread_file" >&5
7690 echo "${ECHO_T}$target_thread_file" >&6
7691
7692   if test $target_thread_file != single; then
7693     cat >>confdefs.h <<\_ACEOF
7694 #define HAVE_GTHR_DEFAULT 1
7695 _ACEOF
7696
7697   fi
7698
7699   glibcxx_thread_h=gthr-$target_thread_file.h
7700
7701
7702
7703    # Check whether --enable-concept-checks or --disable-concept-checks was given.
7704 if test "${enable_concept_checks+set}" = set; then
7705   enableval="$enable_concept_checks"
7706
7707       case "$enableval" in
7708        yes|no) ;;
7709        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7710 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7711    { (exit 1); exit 1; }; } ;;
7712       esac
7713
7714 else
7715   enable_concept_checks=no
7716 fi;
7717
7718   if test $enable_concept_checks = yes; then
7719     cat >>confdefs.h <<\_ACEOF
7720 #define _GLIBCXX_CONCEPT_CHECKS 1
7721 _ACEOF
7722
7723   fi
7724
7725
7726    # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7727 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7728   enableval="$enable_libstdcxx_debug_flags"
7729   case "x$enable_libstdcxx_debug_flags" in
7730       xno | x)    enable_libstdcxx_debug_flags= ;;
7731       x-*)        ;;
7732       *)          { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7733 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7734    { (exit 1); exit 1; }; } ;;
7735      esac
7736 else
7737   enable_libstdcxx_debug_flags="-g3 -O0"
7738 fi;
7739
7740
7741   # Option parsed, now set things appropriately
7742   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7743
7744
7745   { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7746 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7747
7748
7749   echo "$as_me:$LINENO: checking for additional debug build" >&5
7750 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7751    # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7752 if test "${enable_libstdcxx_debug+set}" = set; then
7753   enableval="$enable_libstdcxx_debug"
7754
7755       case "$enableval" in
7756        yes|no) ;;
7757        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7758 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7759    { (exit 1); exit 1; }; } ;;
7760       esac
7761
7762 else
7763   enable_libstdcxx_debug=no
7764 fi;
7765
7766   echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7767 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7768
7769
7770   echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7771 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7772    # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7773 if test "${enable_cxx_flags+set}" = set; then
7774   enableval="$enable_cxx_flags"
7775   case "x$enable_cxx_flags" in
7776       xno | x)   enable_cxx_flags= ;;
7777       x-*)       ;;
7778       *)         { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7779 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7780    { (exit 1); exit 1; }; } ;;
7781      esac
7782 else
7783   enable_cxx_flags=
7784 fi;
7785
7786
7787   # Run through flags (either default or command-line) and set anything
7788   # extra (e.g., #defines) that must accompany particular g++ options.
7789   if test -n "$enable_cxx_flags"; then
7790     for f in $enable_cxx_flags; do
7791       case "$f" in
7792         -fhonor-std)  ;;
7793         -*)  ;;
7794         *)   # and we're trying to pass /what/ exactly?
7795              { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7796 echo "$as_me: error: compiler flags start with a -" >&2;}
7797    { (exit 1); exit 1; }; } ;;
7798       esac
7799     done
7800   fi
7801
7802   EXTRA_CXX_FLAGS="$enable_cxx_flags"
7803   echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7804 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7805
7806
7807
7808 # No surprises, no surprises...
7809 if test $atomicity_dir = cpu/generic ; then
7810   { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7811 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7812   if test $target_thread_file = single; then
7813     { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7814 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7815     { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7816 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7817   else
7818     { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7819 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7820     { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7821 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7822   fi
7823 fi
7824
7825
7826 if $GLIBCXX_IS_NATIVE; then
7827
7828   # We can do more elaborate tests that assume a working linker.
7829   CANADIAN=no
7830
7831   # Check for available headers.
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7846   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7847   sys/types.h
7848 do
7849 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7850 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7851   echo "$as_me:$LINENO: checking for $ac_header" >&5
7852 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7853 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7854   echo $ECHO_N "(cached) $ECHO_C" >&6
7855 fi
7856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7857 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7858 else
7859   # Is the header compilable?
7860 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7861 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7862 cat >conftest.$ac_ext <<_ACEOF
7863 /* confdefs.h.  */
7864 _ACEOF
7865 cat confdefs.h >>conftest.$ac_ext
7866 cat >>conftest.$ac_ext <<_ACEOF
7867 /* end confdefs.h.  */
7868 $ac_includes_default
7869 #include <$ac_header>
7870 _ACEOF
7871 rm -f conftest.$ac_objext
7872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7873   (eval $ac_compile) 2>conftest.er1
7874   ac_status=$?
7875   grep -v '^ *+' conftest.er1 >conftest.err
7876   rm -f conftest.er1
7877   cat conftest.err >&5
7878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7879   (exit $ac_status); } &&
7880          { ac_try='test -z "$ac_c_werror_flag"
7881                          || test ! -s conftest.err'
7882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7883   (eval $ac_try) 2>&5
7884   ac_status=$?
7885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7886   (exit $ac_status); }; } &&
7887          { ac_try='test -s conftest.$ac_objext'
7888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7889   (eval $ac_try) 2>&5
7890   ac_status=$?
7891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7892   (exit $ac_status); }; }; then
7893   ac_header_compiler=yes
7894 else
7895   echo "$as_me: failed program was:" >&5
7896 sed 's/^/| /' conftest.$ac_ext >&5
7897
7898 ac_header_compiler=no
7899 fi
7900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7901 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7902 echo "${ECHO_T}$ac_header_compiler" >&6
7903
7904 # Is the header present?
7905 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7906 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7907 cat >conftest.$ac_ext <<_ACEOF
7908 /* confdefs.h.  */
7909 _ACEOF
7910 cat confdefs.h >>conftest.$ac_ext
7911 cat >>conftest.$ac_ext <<_ACEOF
7912 /* end confdefs.h.  */
7913 #include <$ac_header>
7914 _ACEOF
7915 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7916   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7917   ac_status=$?
7918   grep -v '^ *+' conftest.er1 >conftest.err
7919   rm -f conftest.er1
7920   cat conftest.err >&5
7921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7922   (exit $ac_status); } >/dev/null; then
7923   if test -s conftest.err; then
7924     ac_cpp_err=$ac_c_preproc_warn_flag
7925     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7926   else
7927     ac_cpp_err=
7928   fi
7929 else
7930   ac_cpp_err=yes
7931 fi
7932 if test -z "$ac_cpp_err"; then
7933   ac_header_preproc=yes
7934 else
7935   echo "$as_me: failed program was:" >&5
7936 sed 's/^/| /' conftest.$ac_ext >&5
7937
7938   ac_header_preproc=no
7939 fi
7940 rm -f conftest.err conftest.$ac_ext
7941 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7942 echo "${ECHO_T}$ac_header_preproc" >&6
7943
7944 # So?  What about this header?
7945 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7946   yes:no: )
7947     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7948 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7949     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7950 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7951     ac_header_preproc=yes
7952     ;;
7953   no:yes:* )
7954     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7955 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7956     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7957 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7958     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7959 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7960     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7961 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7962     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7963 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7964     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7965 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7966     (
7967       cat <<\_ASBOX
7968 ## ----------------------------------------- ##
7969 ## Report this to the package-unused lists.  ##
7970 ## ----------------------------------------- ##
7971 _ASBOX
7972     ) |
7973       sed "s/^/$as_me: WARNING:     /" >&2
7974     ;;
7975 esac
7976 echo "$as_me:$LINENO: checking for $ac_header" >&5
7977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7979   echo $ECHO_N "(cached) $ECHO_C" >&6
7980 else
7981   eval "$as_ac_Header=\$ac_header_preproc"
7982 fi
7983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7984 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7985
7986 fi
7987 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7988   cat >>confdefs.h <<_ACEOF
7989 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7990 _ACEOF
7991
7992 fi
7993
7994 done
7995
7996
7997
7998   # All these tests are for C++; save the language and the compiler flags.
7999   # The CXXFLAGS thing is suspicious, but based on similar bits previously
8000   # found in GLIBCXX_CONFIGURE.
8001
8002
8003   ac_ext=cc
8004 ac_cpp='$CXXCPP $CPPFLAGS'
8005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8008
8009   ac_test_CXXFLAGS="${CXXFLAGS+set}"
8010   ac_save_CXXFLAGS="$CXXFLAGS"
8011
8012   # Check for maintainer-mode bits.
8013   if test x"$USE_MAINTAINER_MODE" = xno; then
8014     WERROR=''
8015   else
8016     WERROR='-Werror'
8017   fi
8018
8019   # Check for -ffunction-sections -fdata-sections
8020   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8021 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8022   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8023   cat >conftest.$ac_ext <<_ACEOF
8024 /* confdefs.h.  */
8025 _ACEOF
8026 cat confdefs.h >>conftest.$ac_ext
8027 cat >>conftest.$ac_ext <<_ACEOF
8028 /* end confdefs.h.  */
8029
8030 int
8031 main ()
8032 {
8033 int foo;
8034   ;
8035   return 0;
8036 }
8037 _ACEOF
8038 rm -f conftest.$ac_objext
8039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8040   (eval $ac_compile) 2>conftest.er1
8041   ac_status=$?
8042   grep -v '^ *+' conftest.er1 >conftest.err
8043   rm -f conftest.er1
8044   cat conftest.err >&5
8045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8046   (exit $ac_status); } &&
8047          { ac_try='test -z "$ac_cxx_werror_flag"
8048                          || test ! -s conftest.err'
8049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8050   (eval $ac_try) 2>&5
8051   ac_status=$?
8052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8053   (exit $ac_status); }; } &&
8054          { ac_try='test -s conftest.$ac_objext'
8055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8056   (eval $ac_try) 2>&5
8057   ac_status=$?
8058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8059   (exit $ac_status); }; }; then
8060   ac_fdsections=yes
8061 else
8062   echo "$as_me: failed program was:" >&5
8063 sed 's/^/| /' conftest.$ac_ext >&5
8064
8065 ac_fdsections=no
8066 fi
8067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8068   if test "$ac_test_CXXFLAGS" = set; then
8069     CXXFLAGS="$ac_save_CXXFLAGS"
8070   else
8071     # this is the suspicious part
8072     CXXFLAGS=''
8073   fi
8074   if test x"$ac_fdsections" = x"yes"; then
8075     SECTION_FLAGS='-ffunction-sections -fdata-sections'
8076   fi
8077   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8078 echo "${ECHO_T}$ac_fdsections" >&6
8079
8080   ac_ext=c
8081 ac_cpp='$CPP $CPPFLAGS'
8082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8085
8086
8087
8088
8089
8090   # If we're not using GNU ld, then there's no point in even trying these
8091   # tests.  Check for that first.  We should have already tested for gld
8092   # by now (in libtool), but require it now just to be safe...
8093   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8094   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8095
8096
8097
8098   # The name set by libtool depends on the version of libtool.  Shame on us
8099   # for depending on an impl detail, but c'est la vie.  Older versions used
8100   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8101   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8102   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
8103   # set (hence we're using an older libtool), then set it.
8104   if test x${with_gnu_ld+set} != xset; then
8105     if test x${ac_cv_prog_gnu_ld+set} != xset; then
8106       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
8107       with_gnu_ld=no
8108     else
8109       with_gnu_ld=$ac_cv_prog_gnu_ld
8110     fi
8111   fi
8112
8113   # Start by getting the version number.  I think the libtool test already
8114   # does some of this, but throws away the result.
8115
8116   ldver=`$LD --version 2>/dev/null | head -1 | \
8117          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8118
8119   glibcxx_gnu_ld_version=`echo $ldver | \
8120          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8121
8122   # Set --gc-sections.
8123   if test "$with_gnu_ld" = "notbroken"; then
8124     # GNU ld it is!  Joy and bunny rabbits!
8125
8126     # All these tests are for C++; save the language and the compiler flags.
8127     # Need to do this so that g++ won't try to link in libstdc++
8128     ac_test_CFLAGS="${CFLAGS+set}"
8129     ac_save_CFLAGS="$CFLAGS"
8130     CFLAGS='-x c++  -Wl,--gc-sections'
8131
8132     # Check for -Wl,--gc-sections
8133     # XXX This test is broken at the moment, as symbols required for linking
8134     # are now in libsupc++ (not built yet).  In addition, this test has
8135     # cored on solaris in the past.  In addition, --gc-sections doesn't
8136     # really work at the moment (keeps on discarding used sections, first
8137     # .eh_frame and now some of the glibc sections for iconv).
8138     # Bzzzzt.  Thanks for playing, maybe next time.
8139     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8140 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8141     if test "$cross_compiling" = yes; then
8142   ac_sectionLDflags=yes
8143 else
8144   cat >conftest.$ac_ext <<_ACEOF
8145 /* confdefs.h.  */
8146 _ACEOF
8147 cat confdefs.h >>conftest.$ac_ext
8148 cat >>conftest.$ac_ext <<_ACEOF
8149 /* end confdefs.h.  */
8150
8151      int main(void)
8152      {
8153        try { throw 1; }
8154        catch (...) { };
8155        return 0;
8156      }
8157
8158 _ACEOF
8159 rm -f conftest$ac_exeext
8160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8161   (eval $ac_link) 2>&5
8162   ac_status=$?
8163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8164   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8166   (eval $ac_try) 2>&5
8167   ac_status=$?
8168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8169   (exit $ac_status); }; }; then
8170   ac_sectionLDflags=yes
8171 else
8172   echo "$as_me: program exited with status $ac_status" >&5
8173 echo "$as_me: failed program was:" >&5
8174 sed 's/^/| /' conftest.$ac_ext >&5
8175
8176 ( exit $ac_status )
8177 ac_sectionLDflags=no
8178 fi
8179 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8180 fi
8181     if test "$ac_test_CFLAGS" = set; then
8182       CFLAGS="$ac_save_CFLAGS"
8183     else
8184       # this is the suspicious part
8185       CFLAGS=''
8186     fi
8187     if test "$ac_sectionLDflags" = "yes"; then
8188       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8189     fi
8190     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
8191 echo "${ECHO_T}$ac_sectionLDflags" >&6
8192   fi
8193
8194   # Set linker optimization flags.
8195   if test x"$with_gnu_ld" = x"yes"; then
8196     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8197   fi
8198
8199
8200
8201
8202
8203   ac_test_CXXFLAGS="${CXXFLAGS+set}"
8204   ac_save_CXXFLAGS="$CXXFLAGS"
8205   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8206
8207     echo "$as_me:$LINENO: checking for sin in -lm" >&5
8208 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8209 if test "${ac_cv_lib_m_sin+set}" = set; then
8210   echo $ECHO_N "(cached) $ECHO_C" >&6
8211 else
8212   ac_check_lib_save_LIBS=$LIBS
8213 LIBS="-lm  $LIBS"
8214 if test x$gcc_no_link = xyes; then
8215   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8217    { (exit 1); exit 1; }; }
8218 fi
8219 cat >conftest.$ac_ext <<_ACEOF
8220 /* confdefs.h.  */
8221 _ACEOF
8222 cat confdefs.h >>conftest.$ac_ext
8223 cat >>conftest.$ac_ext <<_ACEOF
8224 /* end confdefs.h.  */
8225
8226 /* Override any gcc2 internal prototype to avoid an error.  */
8227 #ifdef __cplusplus
8228 extern "C"
8229 #endif
8230 /* We use char because int might match the return type of a gcc2
8231    builtin and then its argument prototype would still apply.  */
8232 char sin ();
8233 int
8234 main ()
8235 {
8236 sin ();
8237   ;
8238   return 0;
8239 }
8240 _ACEOF
8241 rm -f conftest.$ac_objext conftest$ac_exeext
8242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8243   (eval $ac_link) 2>conftest.er1
8244   ac_status=$?
8245   grep -v '^ *+' conftest.er1 >conftest.err
8246   rm -f conftest.er1
8247   cat conftest.err >&5
8248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8249   (exit $ac_status); } &&
8250          { ac_try='test -z "$ac_c_werror_flag"
8251                          || test ! -s conftest.err'
8252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8253   (eval $ac_try) 2>&5
8254   ac_status=$?
8255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8256   (exit $ac_status); }; } &&
8257          { ac_try='test -s conftest$ac_exeext'
8258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8259   (eval $ac_try) 2>&5
8260   ac_status=$?
8261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8262   (exit $ac_status); }; }; then
8263   ac_cv_lib_m_sin=yes
8264 else
8265   echo "$as_me: failed program was:" >&5
8266 sed 's/^/| /' conftest.$ac_ext >&5
8267
8268 ac_cv_lib_m_sin=no
8269 fi
8270 rm -f conftest.err conftest.$ac_objext \
8271       conftest$ac_exeext conftest.$ac_ext
8272 LIBS=$ac_check_lib_save_LIBS
8273 fi
8274 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8275 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8276 if test $ac_cv_lib_m_sin = yes; then
8277   libm="-lm"
8278 fi
8279
8280   ac_save_LIBS="$LIBS"
8281   LIBS="$LIBS $libm"
8282
8283
8284
8285   echo "$as_me:$LINENO: checking for isinf declaration" >&5
8286 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8287   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8288     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8289   echo $ECHO_N "(cached) $ECHO_C" >&6
8290 else
8291
8292
8293
8294       ac_ext=cc
8295 ac_cpp='$CXXCPP $CPPFLAGS'
8296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8299
8300       cat >conftest.$ac_ext <<_ACEOF
8301 /* confdefs.h.  */
8302 _ACEOF
8303 cat confdefs.h >>conftest.$ac_ext
8304 cat >>conftest.$ac_ext <<_ACEOF
8305 /* end confdefs.h.  */
8306 #include <math.h>
8307                       #ifdef HAVE_IEEEFP_H
8308                       #include <ieeefp.h>
8309                       #endif
8310
8311 int
8312 main ()
8313 {
8314  isinf(0);
8315   ;
8316   return 0;
8317 }
8318 _ACEOF
8319 rm -f conftest.$ac_objext
8320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8321   (eval $ac_compile) 2>conftest.er1
8322   ac_status=$?
8323   grep -v '^ *+' conftest.er1 >conftest.err
8324   rm -f conftest.er1
8325   cat conftest.err >&5
8326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8327   (exit $ac_status); } &&
8328          { ac_try='test -z "$ac_cxx_werror_flag"
8329                          || test ! -s conftest.err'
8330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8331   (eval $ac_try) 2>&5
8332   ac_status=$?
8333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8334   (exit $ac_status); }; } &&
8335          { ac_try='test -s conftest.$ac_objext'
8336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8337   (eval $ac_try) 2>&5
8338   ac_status=$?
8339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8340   (exit $ac_status); }; }; then
8341   glibcxx_cv_func_isinf_use=yes
8342 else
8343   echo "$as_me: failed program was:" >&5
8344 sed 's/^/| /' conftest.$ac_ext >&5
8345
8346 glibcxx_cv_func_isinf_use=no
8347 fi
8348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8349       ac_ext=c
8350 ac_cpp='$CPP $CPPFLAGS'
8351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8354
8355
8356 fi
8357
8358   fi
8359   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8360 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8361
8362   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8363
8364 for ac_func in isinf
8365 do
8366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8367 echo "$as_me:$LINENO: checking for $ac_func" >&5
8368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8369 if eval "test \"\${$as_ac_var+set}\" = set"; then
8370   echo $ECHO_N "(cached) $ECHO_C" >&6
8371 else
8372   if test x$gcc_no_link = xyes; then
8373   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8375    { (exit 1); exit 1; }; }
8376 fi
8377 cat >conftest.$ac_ext <<_ACEOF
8378 /* confdefs.h.  */
8379 _ACEOF
8380 cat confdefs.h >>conftest.$ac_ext
8381 cat >>conftest.$ac_ext <<_ACEOF
8382 /* end confdefs.h.  */
8383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8384    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8385 #define $ac_func innocuous_$ac_func
8386
8387 /* System header to define __stub macros and hopefully few prototypes,
8388     which can conflict with char $ac_func (); below.
8389     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8390     <limits.h> exists even on freestanding compilers.  */
8391
8392 #ifdef __STDC__
8393 # include <limits.h>
8394 #else
8395 # include <assert.h>
8396 #endif
8397
8398 #undef $ac_func
8399
8400 /* Override any gcc2 internal prototype to avoid an error.  */
8401 #ifdef __cplusplus
8402 extern "C"
8403 {
8404 #endif
8405 /* We use char because int might match the return type of a gcc2
8406    builtin and then its argument prototype would still apply.  */
8407 char $ac_func ();
8408 /* The GNU C library defines this for functions which it implements
8409     to always fail with ENOSYS.  Some functions are actually named
8410     something starting with __ and the normal name is an alias.  */
8411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8412 choke me
8413 #else
8414 char (*f) () = $ac_func;
8415 #endif
8416 #ifdef __cplusplus
8417 }
8418 #endif
8419
8420 int
8421 main ()
8422 {
8423 return f != $ac_func;
8424   ;
8425   return 0;
8426 }
8427 _ACEOF
8428 rm -f conftest.$ac_objext conftest$ac_exeext
8429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8430   (eval $ac_link) 2>conftest.er1
8431   ac_status=$?
8432   grep -v '^ *+' conftest.er1 >conftest.err
8433   rm -f conftest.er1
8434   cat conftest.err >&5
8435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8436   (exit $ac_status); } &&
8437          { ac_try='test -z "$ac_c_werror_flag"
8438                          || test ! -s conftest.err'
8439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8440   (eval $ac_try) 2>&5
8441   ac_status=$?
8442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8443   (exit $ac_status); }; } &&
8444          { ac_try='test -s conftest$ac_exeext'
8445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8446   (eval $ac_try) 2>&5
8447   ac_status=$?
8448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8449   (exit $ac_status); }; }; then
8450   eval "$as_ac_var=yes"
8451 else
8452   echo "$as_me: failed program was:" >&5
8453 sed 's/^/| /' conftest.$ac_ext >&5
8454
8455 eval "$as_ac_var=no"
8456 fi
8457 rm -f conftest.err conftest.$ac_objext \
8458       conftest$ac_exeext conftest.$ac_ext
8459 fi
8460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8462 if test `eval echo '${'$as_ac_var'}'` = yes; then
8463   cat >>confdefs.h <<_ACEOF
8464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8465 _ACEOF
8466
8467 fi
8468 done
8469
8470   else
8471
8472   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8473 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8474   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8475     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8476   echo $ECHO_N "(cached) $ECHO_C" >&6
8477 else
8478
8479
8480
8481       ac_ext=cc
8482 ac_cpp='$CXXCPP $CPPFLAGS'
8483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8486
8487       cat >conftest.$ac_ext <<_ACEOF
8488 /* confdefs.h.  */
8489 _ACEOF
8490 cat confdefs.h >>conftest.$ac_ext
8491 cat >>conftest.$ac_ext <<_ACEOF
8492 /* end confdefs.h.  */
8493 #include <math.h>
8494                       #ifdef HAVE_IEEEFP_H
8495                       #include <ieeefp.h>
8496                       #endif
8497
8498 int
8499 main ()
8500 {
8501  _isinf(0);
8502   ;
8503   return 0;
8504 }
8505 _ACEOF
8506 rm -f conftest.$ac_objext
8507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8508   (eval $ac_compile) 2>conftest.er1
8509   ac_status=$?
8510   grep -v '^ *+' conftest.er1 >conftest.err
8511   rm -f conftest.er1
8512   cat conftest.err >&5
8513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8514   (exit $ac_status); } &&
8515          { ac_try='test -z "$ac_cxx_werror_flag"
8516                          || test ! -s conftest.err'
8517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8518   (eval $ac_try) 2>&5
8519   ac_status=$?
8520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8521   (exit $ac_status); }; } &&
8522          { ac_try='test -s conftest.$ac_objext'
8523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8524   (eval $ac_try) 2>&5
8525   ac_status=$?
8526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527   (exit $ac_status); }; }; then
8528   glibcxx_cv_func__isinf_use=yes
8529 else
8530   echo "$as_me: failed program was:" >&5
8531 sed 's/^/| /' conftest.$ac_ext >&5
8532
8533 glibcxx_cv_func__isinf_use=no
8534 fi
8535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8536       ac_ext=c
8537 ac_cpp='$CPP $CPPFLAGS'
8538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8541
8542
8543 fi
8544
8545   fi
8546   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8547 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8548
8549     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8550
8551 for ac_func in _isinf
8552 do
8553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8554 echo "$as_me:$LINENO: checking for $ac_func" >&5
8555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8556 if eval "test \"\${$as_ac_var+set}\" = set"; then
8557   echo $ECHO_N "(cached) $ECHO_C" >&6
8558 else
8559   if test x$gcc_no_link = xyes; then
8560   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8562    { (exit 1); exit 1; }; }
8563 fi
8564 cat >conftest.$ac_ext <<_ACEOF
8565 /* confdefs.h.  */
8566 _ACEOF
8567 cat confdefs.h >>conftest.$ac_ext
8568 cat >>conftest.$ac_ext <<_ACEOF
8569 /* end confdefs.h.  */
8570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8571    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8572 #define $ac_func innocuous_$ac_func
8573
8574 /* System header to define __stub macros and hopefully few prototypes,
8575     which can conflict with char $ac_func (); below.
8576     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8577     <limits.h> exists even on freestanding compilers.  */
8578
8579 #ifdef __STDC__
8580 # include <limits.h>
8581 #else
8582 # include <assert.h>
8583 #endif
8584
8585 #undef $ac_func
8586
8587 /* Override any gcc2 internal prototype to avoid an error.  */
8588 #ifdef __cplusplus
8589 extern "C"
8590 {
8591 #endif
8592 /* We use char because int might match the return type of a gcc2
8593    builtin and then its argument prototype would still apply.  */
8594 char $ac_func ();
8595 /* The GNU C library defines this for functions which it implements
8596     to always fail with ENOSYS.  Some functions are actually named
8597     something starting with __ and the normal name is an alias.  */
8598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8599 choke me
8600 #else
8601 char (*f) () = $ac_func;
8602 #endif
8603 #ifdef __cplusplus
8604 }
8605 #endif
8606
8607 int
8608 main ()
8609 {
8610 return f != $ac_func;
8611   ;
8612   return 0;
8613 }
8614 _ACEOF
8615 rm -f conftest.$ac_objext conftest$ac_exeext
8616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8617   (eval $ac_link) 2>conftest.er1
8618   ac_status=$?
8619   grep -v '^ *+' conftest.er1 >conftest.err
8620   rm -f conftest.er1
8621   cat conftest.err >&5
8622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8623   (exit $ac_status); } &&
8624          { ac_try='test -z "$ac_c_werror_flag"
8625                          || test ! -s conftest.err'
8626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8627   (eval $ac_try) 2>&5
8628   ac_status=$?
8629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8630   (exit $ac_status); }; } &&
8631          { ac_try='test -s conftest$ac_exeext'
8632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8633   (eval $ac_try) 2>&5
8634   ac_status=$?
8635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8636   (exit $ac_status); }; }; then
8637   eval "$as_ac_var=yes"
8638 else
8639   echo "$as_me: failed program was:" >&5
8640 sed 's/^/| /' conftest.$ac_ext >&5
8641
8642 eval "$as_ac_var=no"
8643 fi
8644 rm -f conftest.err conftest.$ac_objext \
8645       conftest$ac_exeext conftest.$ac_ext
8646 fi
8647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8649 if test `eval echo '${'$as_ac_var'}'` = yes; then
8650   cat >>confdefs.h <<_ACEOF
8651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8652 _ACEOF
8653
8654 fi
8655 done
8656
8657     fi
8658   fi
8659
8660
8661
8662   echo "$as_me:$LINENO: checking for isnan declaration" >&5
8663 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8664   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8665     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8666   echo $ECHO_N "(cached) $ECHO_C" >&6
8667 else
8668
8669
8670
8671       ac_ext=cc
8672 ac_cpp='$CXXCPP $CPPFLAGS'
8673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8676
8677       cat >conftest.$ac_ext <<_ACEOF
8678 /* confdefs.h.  */
8679 _ACEOF
8680 cat confdefs.h >>conftest.$ac_ext
8681 cat >>conftest.$ac_ext <<_ACEOF
8682 /* end confdefs.h.  */
8683 #include <math.h>
8684                       #ifdef HAVE_IEEEFP_H
8685                       #include <ieeefp.h>
8686                       #endif
8687
8688 int
8689 main ()
8690 {
8691  isnan(0);
8692   ;
8693   return 0;
8694 }
8695 _ACEOF
8696 rm -f conftest.$ac_objext
8697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8698   (eval $ac_compile) 2>conftest.er1
8699   ac_status=$?
8700   grep -v '^ *+' conftest.er1 >conftest.err
8701   rm -f conftest.er1
8702   cat conftest.err >&5
8703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8704   (exit $ac_status); } &&
8705          { ac_try='test -z "$ac_cxx_werror_flag"
8706                          || test ! -s conftest.err'
8707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8708   (eval $ac_try) 2>&5
8709   ac_status=$?
8710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8711   (exit $ac_status); }; } &&
8712          { ac_try='test -s conftest.$ac_objext'
8713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8714   (eval $ac_try) 2>&5
8715   ac_status=$?
8716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717   (exit $ac_status); }; }; then
8718   glibcxx_cv_func_isnan_use=yes
8719 else
8720   echo "$as_me: failed program was:" >&5
8721 sed 's/^/| /' conftest.$ac_ext >&5
8722
8723 glibcxx_cv_func_isnan_use=no
8724 fi
8725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8726       ac_ext=c
8727 ac_cpp='$CPP $CPPFLAGS'
8728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8731
8732
8733 fi
8734
8735   fi
8736   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8737 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8738
8739   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8740
8741 for ac_func in isnan
8742 do
8743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8744 echo "$as_me:$LINENO: checking for $ac_func" >&5
8745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8746 if eval "test \"\${$as_ac_var+set}\" = set"; then
8747   echo $ECHO_N "(cached) $ECHO_C" >&6
8748 else
8749   if test x$gcc_no_link = xyes; then
8750   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8752    { (exit 1); exit 1; }; }
8753 fi
8754 cat >conftest.$ac_ext <<_ACEOF
8755 /* confdefs.h.  */
8756 _ACEOF
8757 cat confdefs.h >>conftest.$ac_ext
8758 cat >>conftest.$ac_ext <<_ACEOF
8759 /* end confdefs.h.  */
8760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8761    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8762 #define $ac_func innocuous_$ac_func
8763
8764 /* System header to define __stub macros and hopefully few prototypes,
8765     which can conflict with char $ac_func (); below.
8766     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8767     <limits.h> exists even on freestanding compilers.  */
8768
8769 #ifdef __STDC__
8770 # include <limits.h>
8771 #else
8772 # include <assert.h>
8773 #endif
8774
8775 #undef $ac_func
8776
8777 /* Override any gcc2 internal prototype to avoid an error.  */
8778 #ifdef __cplusplus
8779 extern "C"
8780 {
8781 #endif
8782 /* We use char because int might match the return type of a gcc2
8783    builtin and then its argument prototype would still apply.  */
8784 char $ac_func ();
8785 /* The GNU C library defines this for functions which it implements
8786     to always fail with ENOSYS.  Some functions are actually named
8787     something starting with __ and the normal name is an alias.  */
8788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8789 choke me
8790 #else
8791 char (*f) () = $ac_func;
8792 #endif
8793 #ifdef __cplusplus
8794 }
8795 #endif
8796
8797 int
8798 main ()
8799 {
8800 return f != $ac_func;
8801   ;
8802   return 0;
8803 }
8804 _ACEOF
8805 rm -f conftest.$ac_objext conftest$ac_exeext
8806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8807   (eval $ac_link) 2>conftest.er1
8808   ac_status=$?
8809   grep -v '^ *+' conftest.er1 >conftest.err
8810   rm -f conftest.er1
8811   cat conftest.err >&5
8812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8813   (exit $ac_status); } &&
8814          { ac_try='test -z "$ac_c_werror_flag"
8815                          || test ! -s conftest.err'
8816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8817   (eval $ac_try) 2>&5
8818   ac_status=$?
8819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8820   (exit $ac_status); }; } &&
8821          { ac_try='test -s conftest$ac_exeext'
8822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8823   (eval $ac_try) 2>&5
8824   ac_status=$?
8825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8826   (exit $ac_status); }; }; then
8827   eval "$as_ac_var=yes"
8828 else
8829   echo "$as_me: failed program was:" >&5
8830 sed 's/^/| /' conftest.$ac_ext >&5
8831
8832 eval "$as_ac_var=no"
8833 fi
8834 rm -f conftest.err conftest.$ac_objext \
8835       conftest$ac_exeext conftest.$ac_ext
8836 fi
8837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8839 if test `eval echo '${'$as_ac_var'}'` = yes; then
8840   cat >>confdefs.h <<_ACEOF
8841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8842 _ACEOF
8843
8844 fi
8845 done
8846
8847   else
8848
8849   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8850 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8851   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8852     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8853   echo $ECHO_N "(cached) $ECHO_C" >&6
8854 else
8855
8856
8857
8858       ac_ext=cc
8859 ac_cpp='$CXXCPP $CPPFLAGS'
8860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8863
8864       cat >conftest.$ac_ext <<_ACEOF
8865 /* confdefs.h.  */
8866 _ACEOF
8867 cat confdefs.h >>conftest.$ac_ext
8868 cat >>conftest.$ac_ext <<_ACEOF
8869 /* end confdefs.h.  */
8870 #include <math.h>
8871                       #ifdef HAVE_IEEEFP_H
8872                       #include <ieeefp.h>
8873                       #endif
8874
8875 int
8876 main ()
8877 {
8878  _isnan(0);
8879   ;
8880   return 0;
8881 }
8882 _ACEOF
8883 rm -f conftest.$ac_objext
8884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8885   (eval $ac_compile) 2>conftest.er1
8886   ac_status=$?
8887   grep -v '^ *+' conftest.er1 >conftest.err
8888   rm -f conftest.er1
8889   cat conftest.err >&5
8890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8891   (exit $ac_status); } &&
8892          { ac_try='test -z "$ac_cxx_werror_flag"
8893                          || test ! -s conftest.err'
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); }; } &&
8899          { ac_try='test -s conftest.$ac_objext'
8900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8901   (eval $ac_try) 2>&5
8902   ac_status=$?
8903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904   (exit $ac_status); }; }; then
8905   glibcxx_cv_func__isnan_use=yes
8906 else
8907   echo "$as_me: failed program was:" >&5
8908 sed 's/^/| /' conftest.$ac_ext >&5
8909
8910 glibcxx_cv_func__isnan_use=no
8911 fi
8912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8913       ac_ext=c
8914 ac_cpp='$CPP $CPPFLAGS'
8915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8918
8919
8920 fi
8921
8922   fi
8923   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
8924 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
8925
8926     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
8927
8928 for ac_func in _isnan
8929 do
8930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8931 echo "$as_me:$LINENO: checking for $ac_func" >&5
8932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8933 if eval "test \"\${$as_ac_var+set}\" = set"; then
8934   echo $ECHO_N "(cached) $ECHO_C" >&6
8935 else
8936   if test x$gcc_no_link = xyes; then
8937   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8939    { (exit 1); exit 1; }; }
8940 fi
8941 cat >conftest.$ac_ext <<_ACEOF
8942 /* confdefs.h.  */
8943 _ACEOF
8944 cat confdefs.h >>conftest.$ac_ext
8945 cat >>conftest.$ac_ext <<_ACEOF
8946 /* end confdefs.h.  */
8947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8948    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8949 #define $ac_func innocuous_$ac_func
8950
8951 /* System header to define __stub macros and hopefully few prototypes,
8952     which can conflict with char $ac_func (); below.
8953     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8954     <limits.h> exists even on freestanding compilers.  */
8955
8956 #ifdef __STDC__
8957 # include <limits.h>
8958 #else
8959 # include <assert.h>
8960 #endif
8961
8962 #undef $ac_func
8963
8964 /* Override any gcc2 internal prototype to avoid an error.  */
8965 #ifdef __cplusplus
8966 extern "C"
8967 {
8968 #endif
8969 /* We use char because int might match the return type of a gcc2
8970    builtin and then its argument prototype would still apply.  */
8971 char $ac_func ();
8972 /* The GNU C library defines this for functions which it implements
8973     to always fail with ENOSYS.  Some functions are actually named
8974     something starting with __ and the normal name is an alias.  */
8975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8976 choke me
8977 #else
8978 char (*f) () = $ac_func;
8979 #endif
8980 #ifdef __cplusplus
8981 }
8982 #endif
8983
8984 int
8985 main ()
8986 {
8987 return f != $ac_func;
8988   ;
8989   return 0;
8990 }
8991 _ACEOF
8992 rm -f conftest.$ac_objext conftest$ac_exeext
8993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8994   (eval $ac_link) 2>conftest.er1
8995   ac_status=$?
8996   grep -v '^ *+' conftest.er1 >conftest.err
8997   rm -f conftest.er1
8998   cat conftest.err >&5
8999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9000   (exit $ac_status); } &&
9001          { ac_try='test -z "$ac_c_werror_flag"
9002                          || test ! -s conftest.err'
9003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9004   (eval $ac_try) 2>&5
9005   ac_status=$?
9006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9007   (exit $ac_status); }; } &&
9008          { ac_try='test -s conftest$ac_exeext'
9009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9010   (eval $ac_try) 2>&5
9011   ac_status=$?
9012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9013   (exit $ac_status); }; }; then
9014   eval "$as_ac_var=yes"
9015 else
9016   echo "$as_me: failed program was:" >&5
9017 sed 's/^/| /' conftest.$ac_ext >&5
9018
9019 eval "$as_ac_var=no"
9020 fi
9021 rm -f conftest.err conftest.$ac_objext \
9022       conftest$ac_exeext conftest.$ac_ext
9023 fi
9024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9026 if test `eval echo '${'$as_ac_var'}'` = yes; then
9027   cat >>confdefs.h <<_ACEOF
9028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9029 _ACEOF
9030
9031 fi
9032 done
9033
9034     fi
9035   fi
9036
9037
9038
9039   echo "$as_me:$LINENO: checking for finite declaration" >&5
9040 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9041   if test x${glibcxx_cv_func_finite_use+set} != xset; then
9042     if test "${glibcxx_cv_func_finite_use+set}" = set; then
9043   echo $ECHO_N "(cached) $ECHO_C" >&6
9044 else
9045
9046
9047
9048       ac_ext=cc
9049 ac_cpp='$CXXCPP $CPPFLAGS'
9050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9053
9054       cat >conftest.$ac_ext <<_ACEOF
9055 /* confdefs.h.  */
9056 _ACEOF
9057 cat confdefs.h >>conftest.$ac_ext
9058 cat >>conftest.$ac_ext <<_ACEOF
9059 /* end confdefs.h.  */
9060 #include <math.h>
9061                       #ifdef HAVE_IEEEFP_H
9062                       #include <ieeefp.h>
9063                       #endif
9064
9065 int
9066 main ()
9067 {
9068  finite(0);
9069   ;
9070   return 0;
9071 }
9072 _ACEOF
9073 rm -f conftest.$ac_objext
9074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9075   (eval $ac_compile) 2>conftest.er1
9076   ac_status=$?
9077   grep -v '^ *+' conftest.er1 >conftest.err
9078   rm -f conftest.er1
9079   cat conftest.err >&5
9080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9081   (exit $ac_status); } &&
9082          { ac_try='test -z "$ac_cxx_werror_flag"
9083                          || test ! -s conftest.err'
9084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9085   (eval $ac_try) 2>&5
9086   ac_status=$?
9087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9088   (exit $ac_status); }; } &&
9089          { ac_try='test -s conftest.$ac_objext'
9090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9091   (eval $ac_try) 2>&5
9092   ac_status=$?
9093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9094   (exit $ac_status); }; }; then
9095   glibcxx_cv_func_finite_use=yes
9096 else
9097   echo "$as_me: failed program was:" >&5
9098 sed 's/^/| /' conftest.$ac_ext >&5
9099
9100 glibcxx_cv_func_finite_use=no
9101 fi
9102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9103       ac_ext=c
9104 ac_cpp='$CPP $CPPFLAGS'
9105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9108
9109
9110 fi
9111
9112   fi
9113   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9114 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9115
9116   if test x$glibcxx_cv_func_finite_use = x"yes"; then
9117
9118 for ac_func in finite
9119 do
9120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9121 echo "$as_me:$LINENO: checking for $ac_func" >&5
9122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9123 if eval "test \"\${$as_ac_var+set}\" = set"; then
9124   echo $ECHO_N "(cached) $ECHO_C" >&6
9125 else
9126   if test x$gcc_no_link = xyes; then
9127   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9129    { (exit 1); exit 1; }; }
9130 fi
9131 cat >conftest.$ac_ext <<_ACEOF
9132 /* confdefs.h.  */
9133 _ACEOF
9134 cat confdefs.h >>conftest.$ac_ext
9135 cat >>conftest.$ac_ext <<_ACEOF
9136 /* end confdefs.h.  */
9137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9138    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9139 #define $ac_func innocuous_$ac_func
9140
9141 /* System header to define __stub macros and hopefully few prototypes,
9142     which can conflict with char $ac_func (); below.
9143     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9144     <limits.h> exists even on freestanding compilers.  */
9145
9146 #ifdef __STDC__
9147 # include <limits.h>
9148 #else
9149 # include <assert.h>
9150 #endif
9151
9152 #undef $ac_func
9153
9154 /* Override any gcc2 internal prototype to avoid an error.  */
9155 #ifdef __cplusplus
9156 extern "C"
9157 {
9158 #endif
9159 /* We use char because int might match the return type of a gcc2
9160    builtin and then its argument prototype would still apply.  */
9161 char $ac_func ();
9162 /* The GNU C library defines this for functions which it implements
9163     to always fail with ENOSYS.  Some functions are actually named
9164     something starting with __ and the normal name is an alias.  */
9165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9166 choke me
9167 #else
9168 char (*f) () = $ac_func;
9169 #endif
9170 #ifdef __cplusplus
9171 }
9172 #endif
9173
9174 int
9175 main ()
9176 {
9177 return f != $ac_func;
9178   ;
9179   return 0;
9180 }
9181 _ACEOF
9182 rm -f conftest.$ac_objext conftest$ac_exeext
9183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9184   (eval $ac_link) 2>conftest.er1
9185   ac_status=$?
9186   grep -v '^ *+' conftest.er1 >conftest.err
9187   rm -f conftest.er1
9188   cat conftest.err >&5
9189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9190   (exit $ac_status); } &&
9191          { ac_try='test -z "$ac_c_werror_flag"
9192                          || test ! -s conftest.err'
9193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9194   (eval $ac_try) 2>&5
9195   ac_status=$?
9196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9197   (exit $ac_status); }; } &&
9198          { ac_try='test -s conftest$ac_exeext'
9199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9200   (eval $ac_try) 2>&5
9201   ac_status=$?
9202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9203   (exit $ac_status); }; }; then
9204   eval "$as_ac_var=yes"
9205 else
9206   echo "$as_me: failed program was:" >&5
9207 sed 's/^/| /' conftest.$ac_ext >&5
9208
9209 eval "$as_ac_var=no"
9210 fi
9211 rm -f conftest.err conftest.$ac_objext \
9212       conftest$ac_exeext conftest.$ac_ext
9213 fi
9214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9216 if test `eval echo '${'$as_ac_var'}'` = yes; then
9217   cat >>confdefs.h <<_ACEOF
9218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9219 _ACEOF
9220
9221 fi
9222 done
9223
9224   else
9225
9226   echo "$as_me:$LINENO: checking for _finite declaration" >&5
9227 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9228   if test x${glibcxx_cv_func__finite_use+set} != xset; then
9229     if test "${glibcxx_cv_func__finite_use+set}" = set; then
9230   echo $ECHO_N "(cached) $ECHO_C" >&6
9231 else
9232
9233
9234
9235       ac_ext=cc
9236 ac_cpp='$CXXCPP $CPPFLAGS'
9237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9240
9241       cat >conftest.$ac_ext <<_ACEOF
9242 /* confdefs.h.  */
9243 _ACEOF
9244 cat confdefs.h >>conftest.$ac_ext
9245 cat >>conftest.$ac_ext <<_ACEOF
9246 /* end confdefs.h.  */
9247 #include <math.h>
9248                       #ifdef HAVE_IEEEFP_H
9249                       #include <ieeefp.h>
9250                       #endif
9251
9252 int
9253 main ()
9254 {
9255  _finite(0);
9256   ;
9257   return 0;
9258 }
9259 _ACEOF
9260 rm -f conftest.$ac_objext
9261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9262   (eval $ac_compile) 2>conftest.er1
9263   ac_status=$?
9264   grep -v '^ *+' conftest.er1 >conftest.err
9265   rm -f conftest.er1
9266   cat conftest.err >&5
9267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9268   (exit $ac_status); } &&
9269          { ac_try='test -z "$ac_cxx_werror_flag"
9270                          || test ! -s conftest.err'
9271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9272   (eval $ac_try) 2>&5
9273   ac_status=$?
9274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9275   (exit $ac_status); }; } &&
9276          { ac_try='test -s conftest.$ac_objext'
9277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9278   (eval $ac_try) 2>&5
9279   ac_status=$?
9280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9281   (exit $ac_status); }; }; then
9282   glibcxx_cv_func__finite_use=yes
9283 else
9284   echo "$as_me: failed program was:" >&5
9285 sed 's/^/| /' conftest.$ac_ext >&5
9286
9287 glibcxx_cv_func__finite_use=no
9288 fi
9289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9290       ac_ext=c
9291 ac_cpp='$CPP $CPPFLAGS'
9292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9295
9296
9297 fi
9298
9299   fi
9300   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9301 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9302
9303     if test x$glibcxx_cv_func__finite_use = x"yes"; then
9304
9305 for ac_func in _finite
9306 do
9307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9308 echo "$as_me:$LINENO: checking for $ac_func" >&5
9309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9310 if eval "test \"\${$as_ac_var+set}\" = set"; then
9311   echo $ECHO_N "(cached) $ECHO_C" >&6
9312 else
9313   if test x$gcc_no_link = xyes; then
9314   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9316    { (exit 1); exit 1; }; }
9317 fi
9318 cat >conftest.$ac_ext <<_ACEOF
9319 /* confdefs.h.  */
9320 _ACEOF
9321 cat confdefs.h >>conftest.$ac_ext
9322 cat >>conftest.$ac_ext <<_ACEOF
9323 /* end confdefs.h.  */
9324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9325    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9326 #define $ac_func innocuous_$ac_func
9327
9328 /* System header to define __stub macros and hopefully few prototypes,
9329     which can conflict with char $ac_func (); below.
9330     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9331     <limits.h> exists even on freestanding compilers.  */
9332
9333 #ifdef __STDC__
9334 # include <limits.h>
9335 #else
9336 # include <assert.h>
9337 #endif
9338
9339 #undef $ac_func
9340
9341 /* Override any gcc2 internal prototype to avoid an error.  */
9342 #ifdef __cplusplus
9343 extern "C"
9344 {
9345 #endif
9346 /* We use char because int might match the return type of a gcc2
9347    builtin and then its argument prototype would still apply.  */
9348 char $ac_func ();
9349 /* The GNU C library defines this for functions which it implements
9350     to always fail with ENOSYS.  Some functions are actually named
9351     something starting with __ and the normal name is an alias.  */
9352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9353 choke me
9354 #else
9355 char (*f) () = $ac_func;
9356 #endif
9357 #ifdef __cplusplus
9358 }
9359 #endif
9360
9361 int
9362 main ()
9363 {
9364 return f != $ac_func;
9365   ;
9366   return 0;
9367 }
9368 _ACEOF
9369 rm -f conftest.$ac_objext conftest$ac_exeext
9370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9371   (eval $ac_link) 2>conftest.er1
9372   ac_status=$?
9373   grep -v '^ *+' conftest.er1 >conftest.err
9374   rm -f conftest.er1
9375   cat conftest.err >&5
9376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9377   (exit $ac_status); } &&
9378          { ac_try='test -z "$ac_c_werror_flag"
9379                          || test ! -s conftest.err'
9380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9381   (eval $ac_try) 2>&5
9382   ac_status=$?
9383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9384   (exit $ac_status); }; } &&
9385          { ac_try='test -s conftest$ac_exeext'
9386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9387   (eval $ac_try) 2>&5
9388   ac_status=$?
9389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9390   (exit $ac_status); }; }; then
9391   eval "$as_ac_var=yes"
9392 else
9393   echo "$as_me: failed program was:" >&5
9394 sed 's/^/| /' conftest.$ac_ext >&5
9395
9396 eval "$as_ac_var=no"
9397 fi
9398 rm -f conftest.err conftest.$ac_objext \
9399       conftest$ac_exeext conftest.$ac_ext
9400 fi
9401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9403 if test `eval echo '${'$as_ac_var'}'` = yes; then
9404   cat >>confdefs.h <<_ACEOF
9405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9406 _ACEOF
9407
9408 fi
9409 done
9410
9411     fi
9412   fi
9413
9414
9415
9416   echo "$as_me:$LINENO: checking for copysign declaration" >&5
9417 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9418   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9419     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9420   echo $ECHO_N "(cached) $ECHO_C" >&6
9421 else
9422
9423
9424
9425       ac_ext=cc
9426 ac_cpp='$CXXCPP $CPPFLAGS'
9427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9430
9431       cat >conftest.$ac_ext <<_ACEOF
9432 /* confdefs.h.  */
9433 _ACEOF
9434 cat confdefs.h >>conftest.$ac_ext
9435 cat >>conftest.$ac_ext <<_ACEOF
9436 /* end confdefs.h.  */
9437 #include <math.h>
9438 int
9439 main ()
9440 {
9441  copysign(0, 0);
9442   ;
9443   return 0;
9444 }
9445 _ACEOF
9446 rm -f conftest.$ac_objext
9447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9448   (eval $ac_compile) 2>conftest.er1
9449   ac_status=$?
9450   grep -v '^ *+' conftest.er1 >conftest.err
9451   rm -f conftest.er1
9452   cat conftest.err >&5
9453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9454   (exit $ac_status); } &&
9455          { ac_try='test -z "$ac_cxx_werror_flag"
9456                          || test ! -s conftest.err'
9457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9458   (eval $ac_try) 2>&5
9459   ac_status=$?
9460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9461   (exit $ac_status); }; } &&
9462          { ac_try='test -s conftest.$ac_objext'
9463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9464   (eval $ac_try) 2>&5
9465   ac_status=$?
9466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9467   (exit $ac_status); }; }; then
9468   glibcxx_cv_func_copysign_use=yes
9469 else
9470   echo "$as_me: failed program was:" >&5
9471 sed 's/^/| /' conftest.$ac_ext >&5
9472
9473 glibcxx_cv_func_copysign_use=no
9474 fi
9475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9476       ac_ext=c
9477 ac_cpp='$CPP $CPPFLAGS'
9478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9481
9482
9483 fi
9484
9485   fi
9486   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9487 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9488
9489   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9490
9491 for ac_func in copysign
9492 do
9493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9494 echo "$as_me:$LINENO: checking for $ac_func" >&5
9495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9496 if eval "test \"\${$as_ac_var+set}\" = set"; then
9497   echo $ECHO_N "(cached) $ECHO_C" >&6
9498 else
9499   if test x$gcc_no_link = xyes; then
9500   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9502    { (exit 1); exit 1; }; }
9503 fi
9504 cat >conftest.$ac_ext <<_ACEOF
9505 /* confdefs.h.  */
9506 _ACEOF
9507 cat confdefs.h >>conftest.$ac_ext
9508 cat >>conftest.$ac_ext <<_ACEOF
9509 /* end confdefs.h.  */
9510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9511    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9512 #define $ac_func innocuous_$ac_func
9513
9514 /* System header to define __stub macros and hopefully few prototypes,
9515     which can conflict with char $ac_func (); below.
9516     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9517     <limits.h> exists even on freestanding compilers.  */
9518
9519 #ifdef __STDC__
9520 # include <limits.h>
9521 #else
9522 # include <assert.h>
9523 #endif
9524
9525 #undef $ac_func
9526
9527 /* Override any gcc2 internal prototype to avoid an error.  */
9528 #ifdef __cplusplus
9529 extern "C"
9530 {
9531 #endif
9532 /* We use char because int might match the return type of a gcc2
9533    builtin and then its argument prototype would still apply.  */
9534 char $ac_func ();
9535 /* The GNU C library defines this for functions which it implements
9536     to always fail with ENOSYS.  Some functions are actually named
9537     something starting with __ and the normal name is an alias.  */
9538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9539 choke me
9540 #else
9541 char (*f) () = $ac_func;
9542 #endif
9543 #ifdef __cplusplus
9544 }
9545 #endif
9546
9547 int
9548 main ()
9549 {
9550 return f != $ac_func;
9551   ;
9552   return 0;
9553 }
9554 _ACEOF
9555 rm -f conftest.$ac_objext conftest$ac_exeext
9556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9557   (eval $ac_link) 2>conftest.er1
9558   ac_status=$?
9559   grep -v '^ *+' conftest.er1 >conftest.err
9560   rm -f conftest.er1
9561   cat conftest.err >&5
9562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9563   (exit $ac_status); } &&
9564          { ac_try='test -z "$ac_c_werror_flag"
9565                          || test ! -s conftest.err'
9566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9567   (eval $ac_try) 2>&5
9568   ac_status=$?
9569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9570   (exit $ac_status); }; } &&
9571          { ac_try='test -s conftest$ac_exeext'
9572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9573   (eval $ac_try) 2>&5
9574   ac_status=$?
9575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9576   (exit $ac_status); }; }; then
9577   eval "$as_ac_var=yes"
9578 else
9579   echo "$as_me: failed program was:" >&5
9580 sed 's/^/| /' conftest.$ac_ext >&5
9581
9582 eval "$as_ac_var=no"
9583 fi
9584 rm -f conftest.err conftest.$ac_objext \
9585       conftest$ac_exeext conftest.$ac_ext
9586 fi
9587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9589 if test `eval echo '${'$as_ac_var'}'` = yes; then
9590   cat >>confdefs.h <<_ACEOF
9591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9592 _ACEOF
9593
9594 fi
9595 done
9596
9597   else
9598
9599   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9600 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9601   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9602     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9603   echo $ECHO_N "(cached) $ECHO_C" >&6
9604 else
9605
9606
9607
9608       ac_ext=cc
9609 ac_cpp='$CXXCPP $CPPFLAGS'
9610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9613
9614       cat >conftest.$ac_ext <<_ACEOF
9615 /* confdefs.h.  */
9616 _ACEOF
9617 cat confdefs.h >>conftest.$ac_ext
9618 cat >>conftest.$ac_ext <<_ACEOF
9619 /* end confdefs.h.  */
9620 #include <math.h>
9621 int
9622 main ()
9623 {
9624  _copysign(0, 0);
9625   ;
9626   return 0;
9627 }
9628 _ACEOF
9629 rm -f conftest.$ac_objext
9630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9631   (eval $ac_compile) 2>conftest.er1
9632   ac_status=$?
9633   grep -v '^ *+' conftest.er1 >conftest.err
9634   rm -f conftest.er1
9635   cat conftest.err >&5
9636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9637   (exit $ac_status); } &&
9638          { ac_try='test -z "$ac_cxx_werror_flag"
9639                          || test ! -s conftest.err'
9640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9641   (eval $ac_try) 2>&5
9642   ac_status=$?
9643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9644   (exit $ac_status); }; } &&
9645          { ac_try='test -s conftest.$ac_objext'
9646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9647   (eval $ac_try) 2>&5
9648   ac_status=$?
9649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9650   (exit $ac_status); }; }; then
9651   glibcxx_cv_func__copysign_use=yes
9652 else
9653   echo "$as_me: failed program was:" >&5
9654 sed 's/^/| /' conftest.$ac_ext >&5
9655
9656 glibcxx_cv_func__copysign_use=no
9657 fi
9658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9659       ac_ext=c
9660 ac_cpp='$CPP $CPPFLAGS'
9661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9664
9665
9666 fi
9667
9668   fi
9669   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9670 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9671
9672     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9673
9674 for ac_func in _copysign
9675 do
9676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9677 echo "$as_me:$LINENO: checking for $ac_func" >&5
9678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9679 if eval "test \"\${$as_ac_var+set}\" = set"; then
9680   echo $ECHO_N "(cached) $ECHO_C" >&6
9681 else
9682   if test x$gcc_no_link = xyes; then
9683   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9685    { (exit 1); exit 1; }; }
9686 fi
9687 cat >conftest.$ac_ext <<_ACEOF
9688 /* confdefs.h.  */
9689 _ACEOF
9690 cat confdefs.h >>conftest.$ac_ext
9691 cat >>conftest.$ac_ext <<_ACEOF
9692 /* end confdefs.h.  */
9693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9694    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9695 #define $ac_func innocuous_$ac_func
9696
9697 /* System header to define __stub macros and hopefully few prototypes,
9698     which can conflict with char $ac_func (); below.
9699     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9700     <limits.h> exists even on freestanding compilers.  */
9701
9702 #ifdef __STDC__
9703 # include <limits.h>
9704 #else
9705 # include <assert.h>
9706 #endif
9707
9708 #undef $ac_func
9709
9710 /* Override any gcc2 internal prototype to avoid an error.  */
9711 #ifdef __cplusplus
9712 extern "C"
9713 {
9714 #endif
9715 /* We use char because int might match the return type of a gcc2
9716    builtin and then its argument prototype would still apply.  */
9717 char $ac_func ();
9718 /* The GNU C library defines this for functions which it implements
9719     to always fail with ENOSYS.  Some functions are actually named
9720     something starting with __ and the normal name is an alias.  */
9721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9722 choke me
9723 #else
9724 char (*f) () = $ac_func;
9725 #endif
9726 #ifdef __cplusplus
9727 }
9728 #endif
9729
9730 int
9731 main ()
9732 {
9733 return f != $ac_func;
9734   ;
9735   return 0;
9736 }
9737 _ACEOF
9738 rm -f conftest.$ac_objext conftest$ac_exeext
9739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9740   (eval $ac_link) 2>conftest.er1
9741   ac_status=$?
9742   grep -v '^ *+' conftest.er1 >conftest.err
9743   rm -f conftest.er1
9744   cat conftest.err >&5
9745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9746   (exit $ac_status); } &&
9747          { ac_try='test -z "$ac_c_werror_flag"
9748                          || test ! -s conftest.err'
9749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9750   (eval $ac_try) 2>&5
9751   ac_status=$?
9752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9753   (exit $ac_status); }; } &&
9754          { ac_try='test -s conftest$ac_exeext'
9755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9756   (eval $ac_try) 2>&5
9757   ac_status=$?
9758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9759   (exit $ac_status); }; }; then
9760   eval "$as_ac_var=yes"
9761 else
9762   echo "$as_me: failed program was:" >&5
9763 sed 's/^/| /' conftest.$ac_ext >&5
9764
9765 eval "$as_ac_var=no"
9766 fi
9767 rm -f conftest.err conftest.$ac_objext \
9768       conftest$ac_exeext conftest.$ac_ext
9769 fi
9770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9772 if test `eval echo '${'$as_ac_var'}'` = yes; then
9773   cat >>confdefs.h <<_ACEOF
9774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9775 _ACEOF
9776
9777 fi
9778 done
9779
9780     fi
9781   fi
9782
9783
9784
9785   echo "$as_me:$LINENO: checking for sincos declaration" >&5
9786 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9787   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9788     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9789   echo $ECHO_N "(cached) $ECHO_C" >&6
9790 else
9791
9792
9793
9794       ac_ext=cc
9795 ac_cpp='$CXXCPP $CPPFLAGS'
9796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9799
9800       cat >conftest.$ac_ext <<_ACEOF
9801 /* confdefs.h.  */
9802 _ACEOF
9803 cat confdefs.h >>conftest.$ac_ext
9804 cat >>conftest.$ac_ext <<_ACEOF
9805 /* end confdefs.h.  */
9806 #include <math.h>
9807 int
9808 main ()
9809 {
9810  sincos(0, 0, 0);
9811   ;
9812   return 0;
9813 }
9814 _ACEOF
9815 rm -f conftest.$ac_objext
9816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9817   (eval $ac_compile) 2>conftest.er1
9818   ac_status=$?
9819   grep -v '^ *+' conftest.er1 >conftest.err
9820   rm -f conftest.er1
9821   cat conftest.err >&5
9822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9823   (exit $ac_status); } &&
9824          { ac_try='test -z "$ac_cxx_werror_flag"
9825                          || test ! -s conftest.err'
9826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9827   (eval $ac_try) 2>&5
9828   ac_status=$?
9829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9830   (exit $ac_status); }; } &&
9831          { ac_try='test -s conftest.$ac_objext'
9832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9833   (eval $ac_try) 2>&5
9834   ac_status=$?
9835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9836   (exit $ac_status); }; }; then
9837   glibcxx_cv_func_sincos_use=yes
9838 else
9839   echo "$as_me: failed program was:" >&5
9840 sed 's/^/| /' conftest.$ac_ext >&5
9841
9842 glibcxx_cv_func_sincos_use=no
9843 fi
9844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9845       ac_ext=c
9846 ac_cpp='$CPP $CPPFLAGS'
9847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9850
9851
9852 fi
9853
9854   fi
9855   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9856 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9857
9858   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9859
9860 for ac_func in sincos
9861 do
9862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9863 echo "$as_me:$LINENO: checking for $ac_func" >&5
9864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9865 if eval "test \"\${$as_ac_var+set}\" = set"; then
9866   echo $ECHO_N "(cached) $ECHO_C" >&6
9867 else
9868   if test x$gcc_no_link = xyes; then
9869   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9871    { (exit 1); exit 1; }; }
9872 fi
9873 cat >conftest.$ac_ext <<_ACEOF
9874 /* confdefs.h.  */
9875 _ACEOF
9876 cat confdefs.h >>conftest.$ac_ext
9877 cat >>conftest.$ac_ext <<_ACEOF
9878 /* end confdefs.h.  */
9879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9880    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9881 #define $ac_func innocuous_$ac_func
9882
9883 /* System header to define __stub macros and hopefully few prototypes,
9884     which can conflict with char $ac_func (); below.
9885     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9886     <limits.h> exists even on freestanding compilers.  */
9887
9888 #ifdef __STDC__
9889 # include <limits.h>
9890 #else
9891 # include <assert.h>
9892 #endif
9893
9894 #undef $ac_func
9895
9896 /* Override any gcc2 internal prototype to avoid an error.  */
9897 #ifdef __cplusplus
9898 extern "C"
9899 {
9900 #endif
9901 /* We use char because int might match the return type of a gcc2
9902    builtin and then its argument prototype would still apply.  */
9903 char $ac_func ();
9904 /* The GNU C library defines this for functions which it implements
9905     to always fail with ENOSYS.  Some functions are actually named
9906     something starting with __ and the normal name is an alias.  */
9907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9908 choke me
9909 #else
9910 char (*f) () = $ac_func;
9911 #endif
9912 #ifdef __cplusplus
9913 }
9914 #endif
9915
9916 int
9917 main ()
9918 {
9919 return f != $ac_func;
9920   ;
9921   return 0;
9922 }
9923 _ACEOF
9924 rm -f conftest.$ac_objext conftest$ac_exeext
9925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9926   (eval $ac_link) 2>conftest.er1
9927   ac_status=$?
9928   grep -v '^ *+' conftest.er1 >conftest.err
9929   rm -f conftest.er1
9930   cat conftest.err >&5
9931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9932   (exit $ac_status); } &&
9933          { ac_try='test -z "$ac_c_werror_flag"
9934                          || test ! -s conftest.err'
9935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9936   (eval $ac_try) 2>&5
9937   ac_status=$?
9938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9939   (exit $ac_status); }; } &&
9940          { ac_try='test -s conftest$ac_exeext'
9941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9942   (eval $ac_try) 2>&5
9943   ac_status=$?
9944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9945   (exit $ac_status); }; }; then
9946   eval "$as_ac_var=yes"
9947 else
9948   echo "$as_me: failed program was:" >&5
9949 sed 's/^/| /' conftest.$ac_ext >&5
9950
9951 eval "$as_ac_var=no"
9952 fi
9953 rm -f conftest.err conftest.$ac_objext \
9954       conftest$ac_exeext conftest.$ac_ext
9955 fi
9956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9958 if test `eval echo '${'$as_ac_var'}'` = yes; then
9959   cat >>confdefs.h <<_ACEOF
9960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9961 _ACEOF
9962
9963 fi
9964 done
9965
9966   else
9967
9968   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
9969 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
9970   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
9971     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
9972   echo $ECHO_N "(cached) $ECHO_C" >&6
9973 else
9974
9975
9976
9977       ac_ext=cc
9978 ac_cpp='$CXXCPP $CPPFLAGS'
9979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9982
9983       cat >conftest.$ac_ext <<_ACEOF
9984 /* confdefs.h.  */
9985 _ACEOF
9986 cat confdefs.h >>conftest.$ac_ext
9987 cat >>conftest.$ac_ext <<_ACEOF
9988 /* end confdefs.h.  */
9989 #include <math.h>
9990 int
9991 main ()
9992 {
9993  _sincos(0, 0, 0);
9994   ;
9995   return 0;
9996 }
9997 _ACEOF
9998 rm -f conftest.$ac_objext
9999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10000   (eval $ac_compile) 2>conftest.er1
10001   ac_status=$?
10002   grep -v '^ *+' conftest.er1 >conftest.err
10003   rm -f conftest.er1
10004   cat conftest.err >&5
10005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10006   (exit $ac_status); } &&
10007          { ac_try='test -z "$ac_cxx_werror_flag"
10008                          || test ! -s conftest.err'
10009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10010   (eval $ac_try) 2>&5
10011   ac_status=$?
10012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10013   (exit $ac_status); }; } &&
10014          { ac_try='test -s conftest.$ac_objext'
10015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10016   (eval $ac_try) 2>&5
10017   ac_status=$?
10018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10019   (exit $ac_status); }; }; then
10020   glibcxx_cv_func__sincos_use=yes
10021 else
10022   echo "$as_me: failed program was:" >&5
10023 sed 's/^/| /' conftest.$ac_ext >&5
10024
10025 glibcxx_cv_func__sincos_use=no
10026 fi
10027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10028       ac_ext=c
10029 ac_cpp='$CPP $CPPFLAGS'
10030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10033
10034
10035 fi
10036
10037   fi
10038   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10039 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10040
10041     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10042
10043 for ac_func in _sincos
10044 do
10045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10046 echo "$as_me:$LINENO: checking for $ac_func" >&5
10047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10048 if eval "test \"\${$as_ac_var+set}\" = set"; then
10049   echo $ECHO_N "(cached) $ECHO_C" >&6
10050 else
10051   if test x$gcc_no_link = xyes; then
10052   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10054    { (exit 1); exit 1; }; }
10055 fi
10056 cat >conftest.$ac_ext <<_ACEOF
10057 /* confdefs.h.  */
10058 _ACEOF
10059 cat confdefs.h >>conftest.$ac_ext
10060 cat >>conftest.$ac_ext <<_ACEOF
10061 /* end confdefs.h.  */
10062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10063    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10064 #define $ac_func innocuous_$ac_func
10065
10066 /* System header to define __stub macros and hopefully few prototypes,
10067     which can conflict with char $ac_func (); below.
10068     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10069     <limits.h> exists even on freestanding compilers.  */
10070
10071 #ifdef __STDC__
10072 # include <limits.h>
10073 #else
10074 # include <assert.h>
10075 #endif
10076
10077 #undef $ac_func
10078
10079 /* Override any gcc2 internal prototype to avoid an error.  */
10080 #ifdef __cplusplus
10081 extern "C"
10082 {
10083 #endif
10084 /* We use char because int might match the return type of a gcc2
10085    builtin and then its argument prototype would still apply.  */
10086 char $ac_func ();
10087 /* The GNU C library defines this for functions which it implements
10088     to always fail with ENOSYS.  Some functions are actually named
10089     something starting with __ and the normal name is an alias.  */
10090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10091 choke me
10092 #else
10093 char (*f) () = $ac_func;
10094 #endif
10095 #ifdef __cplusplus
10096 }
10097 #endif
10098
10099 int
10100 main ()
10101 {
10102 return f != $ac_func;
10103   ;
10104   return 0;
10105 }
10106 _ACEOF
10107 rm -f conftest.$ac_objext conftest$ac_exeext
10108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10109   (eval $ac_link) 2>conftest.er1
10110   ac_status=$?
10111   grep -v '^ *+' conftest.er1 >conftest.err
10112   rm -f conftest.er1
10113   cat conftest.err >&5
10114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10115   (exit $ac_status); } &&
10116          { ac_try='test -z "$ac_c_werror_flag"
10117                          || test ! -s conftest.err'
10118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10119   (eval $ac_try) 2>&5
10120   ac_status=$?
10121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10122   (exit $ac_status); }; } &&
10123          { ac_try='test -s conftest$ac_exeext'
10124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10125   (eval $ac_try) 2>&5
10126   ac_status=$?
10127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10128   (exit $ac_status); }; }; then
10129   eval "$as_ac_var=yes"
10130 else
10131   echo "$as_me: failed program was:" >&5
10132 sed 's/^/| /' conftest.$ac_ext >&5
10133
10134 eval "$as_ac_var=no"
10135 fi
10136 rm -f conftest.err conftest.$ac_objext \
10137       conftest$ac_exeext conftest.$ac_ext
10138 fi
10139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10141 if test `eval echo '${'$as_ac_var'}'` = yes; then
10142   cat >>confdefs.h <<_ACEOF
10143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10144 _ACEOF
10145
10146 fi
10147 done
10148
10149     fi
10150   fi
10151
10152
10153
10154   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10155 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10156   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10157     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10158   echo $ECHO_N "(cached) $ECHO_C" >&6
10159 else
10160
10161
10162
10163       ac_ext=cc
10164 ac_cpp='$CXXCPP $CPPFLAGS'
10165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10168
10169       cat >conftest.$ac_ext <<_ACEOF
10170 /* confdefs.h.  */
10171 _ACEOF
10172 cat confdefs.h >>conftest.$ac_ext
10173 cat >>conftest.$ac_ext <<_ACEOF
10174 /* end confdefs.h.  */
10175 #include <math.h>
10176                       #ifdef HAVE_IEEEFP_H
10177                       #include <ieeefp.h>
10178                       #endif
10179
10180 int
10181 main ()
10182 {
10183  fpclass(0);
10184   ;
10185   return 0;
10186 }
10187 _ACEOF
10188 rm -f conftest.$ac_objext
10189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10190   (eval $ac_compile) 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_cxx_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_objext'
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   glibcxx_cv_func_fpclass_use=yes
10211 else
10212   echo "$as_me: failed program was:" >&5
10213 sed 's/^/| /' conftest.$ac_ext >&5
10214
10215 glibcxx_cv_func_fpclass_use=no
10216 fi
10217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10218       ac_ext=c
10219 ac_cpp='$CPP $CPPFLAGS'
10220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10223
10224
10225 fi
10226
10227   fi
10228   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10229 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10230
10231   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10232
10233 for ac_func in fpclass
10234 do
10235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10236 echo "$as_me:$LINENO: checking for $ac_func" >&5
10237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10238 if eval "test \"\${$as_ac_var+set}\" = set"; then
10239   echo $ECHO_N "(cached) $ECHO_C" >&6
10240 else
10241   if test x$gcc_no_link = xyes; then
10242   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10244    { (exit 1); exit 1; }; }
10245 fi
10246 cat >conftest.$ac_ext <<_ACEOF
10247 /* confdefs.h.  */
10248 _ACEOF
10249 cat confdefs.h >>conftest.$ac_ext
10250 cat >>conftest.$ac_ext <<_ACEOF
10251 /* end confdefs.h.  */
10252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10253    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10254 #define $ac_func innocuous_$ac_func
10255
10256 /* System header to define __stub macros and hopefully few prototypes,
10257     which can conflict with char $ac_func (); below.
10258     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10259     <limits.h> exists even on freestanding compilers.  */
10260
10261 #ifdef __STDC__
10262 # include <limits.h>
10263 #else
10264 # include <assert.h>
10265 #endif
10266
10267 #undef $ac_func
10268
10269 /* Override any gcc2 internal prototype to avoid an error.  */
10270 #ifdef __cplusplus
10271 extern "C"
10272 {
10273 #endif
10274 /* We use char because int might match the return type of a gcc2
10275    builtin and then its argument prototype would still apply.  */
10276 char $ac_func ();
10277 /* The GNU C library defines this for functions which it implements
10278     to always fail with ENOSYS.  Some functions are actually named
10279     something starting with __ and the normal name is an alias.  */
10280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10281 choke me
10282 #else
10283 char (*f) () = $ac_func;
10284 #endif
10285 #ifdef __cplusplus
10286 }
10287 #endif
10288
10289 int
10290 main ()
10291 {
10292 return f != $ac_func;
10293   ;
10294   return 0;
10295 }
10296 _ACEOF
10297 rm -f conftest.$ac_objext conftest$ac_exeext
10298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10299   (eval $ac_link) 2>conftest.er1
10300   ac_status=$?
10301   grep -v '^ *+' conftest.er1 >conftest.err
10302   rm -f conftest.er1
10303   cat conftest.err >&5
10304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10305   (exit $ac_status); } &&
10306          { ac_try='test -z "$ac_c_werror_flag"
10307                          || test ! -s conftest.err'
10308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10309   (eval $ac_try) 2>&5
10310   ac_status=$?
10311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10312   (exit $ac_status); }; } &&
10313          { ac_try='test -s conftest$ac_exeext'
10314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10315   (eval $ac_try) 2>&5
10316   ac_status=$?
10317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10318   (exit $ac_status); }; }; then
10319   eval "$as_ac_var=yes"
10320 else
10321   echo "$as_me: failed program was:" >&5
10322 sed 's/^/| /' conftest.$ac_ext >&5
10323
10324 eval "$as_ac_var=no"
10325 fi
10326 rm -f conftest.err conftest.$ac_objext \
10327       conftest$ac_exeext conftest.$ac_ext
10328 fi
10329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10331 if test `eval echo '${'$as_ac_var'}'` = yes; then
10332   cat >>confdefs.h <<_ACEOF
10333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10334 _ACEOF
10335
10336 fi
10337 done
10338
10339   else
10340
10341   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10342 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10343   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10344     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10345   echo $ECHO_N "(cached) $ECHO_C" >&6
10346 else
10347
10348
10349
10350       ac_ext=cc
10351 ac_cpp='$CXXCPP $CPPFLAGS'
10352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10355
10356       cat >conftest.$ac_ext <<_ACEOF
10357 /* confdefs.h.  */
10358 _ACEOF
10359 cat confdefs.h >>conftest.$ac_ext
10360 cat >>conftest.$ac_ext <<_ACEOF
10361 /* end confdefs.h.  */
10362 #include <math.h>
10363                       #ifdef HAVE_IEEEFP_H
10364                       #include <ieeefp.h>
10365                       #endif
10366
10367 int
10368 main ()
10369 {
10370  _fpclass(0);
10371   ;
10372   return 0;
10373 }
10374 _ACEOF
10375 rm -f conftest.$ac_objext
10376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10377   (eval $ac_compile) 2>conftest.er1
10378   ac_status=$?
10379   grep -v '^ *+' conftest.er1 >conftest.err
10380   rm -f conftest.er1
10381   cat conftest.err >&5
10382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10383   (exit $ac_status); } &&
10384          { ac_try='test -z "$ac_cxx_werror_flag"
10385                          || test ! -s conftest.err'
10386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10387   (eval $ac_try) 2>&5
10388   ac_status=$?
10389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10390   (exit $ac_status); }; } &&
10391          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
10397   glibcxx_cv_func__fpclass_use=yes
10398 else
10399   echo "$as_me: failed program was:" >&5
10400 sed 's/^/| /' conftest.$ac_ext >&5
10401
10402 glibcxx_cv_func__fpclass_use=no
10403 fi
10404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10405       ac_ext=c
10406 ac_cpp='$CPP $CPPFLAGS'
10407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10410
10411
10412 fi
10413
10414   fi
10415   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10416 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10417
10418     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10419
10420 for ac_func in _fpclass
10421 do
10422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10423 echo "$as_me:$LINENO: checking for $ac_func" >&5
10424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10425 if eval "test \"\${$as_ac_var+set}\" = set"; then
10426   echo $ECHO_N "(cached) $ECHO_C" >&6
10427 else
10428   if test x$gcc_no_link = xyes; then
10429   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10431    { (exit 1); exit 1; }; }
10432 fi
10433 cat >conftest.$ac_ext <<_ACEOF
10434 /* confdefs.h.  */
10435 _ACEOF
10436 cat confdefs.h >>conftest.$ac_ext
10437 cat >>conftest.$ac_ext <<_ACEOF
10438 /* end confdefs.h.  */
10439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10440    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10441 #define $ac_func innocuous_$ac_func
10442
10443 /* System header to define __stub macros and hopefully few prototypes,
10444     which can conflict with char $ac_func (); below.
10445     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10446     <limits.h> exists even on freestanding compilers.  */
10447
10448 #ifdef __STDC__
10449 # include <limits.h>
10450 #else
10451 # include <assert.h>
10452 #endif
10453
10454 #undef $ac_func
10455
10456 /* Override any gcc2 internal prototype to avoid an error.  */
10457 #ifdef __cplusplus
10458 extern "C"
10459 {
10460 #endif
10461 /* We use char because int might match the return type of a gcc2
10462    builtin and then its argument prototype would still apply.  */
10463 char $ac_func ();
10464 /* The GNU C library defines this for functions which it implements
10465     to always fail with ENOSYS.  Some functions are actually named
10466     something starting with __ and the normal name is an alias.  */
10467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10468 choke me
10469 #else
10470 char (*f) () = $ac_func;
10471 #endif
10472 #ifdef __cplusplus
10473 }
10474 #endif
10475
10476 int
10477 main ()
10478 {
10479 return f != $ac_func;
10480   ;
10481   return 0;
10482 }
10483 _ACEOF
10484 rm -f conftest.$ac_objext conftest$ac_exeext
10485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10486   (eval $ac_link) 2>conftest.er1
10487   ac_status=$?
10488   grep -v '^ *+' conftest.er1 >conftest.err
10489   rm -f conftest.er1
10490   cat conftest.err >&5
10491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10492   (exit $ac_status); } &&
10493          { ac_try='test -z "$ac_c_werror_flag"
10494                          || test ! -s conftest.err'
10495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10496   (eval $ac_try) 2>&5
10497   ac_status=$?
10498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10499   (exit $ac_status); }; } &&
10500          { ac_try='test -s conftest$ac_exeext'
10501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10502   (eval $ac_try) 2>&5
10503   ac_status=$?
10504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10505   (exit $ac_status); }; }; then
10506   eval "$as_ac_var=yes"
10507 else
10508   echo "$as_me: failed program was:" >&5
10509 sed 's/^/| /' conftest.$ac_ext >&5
10510
10511 eval "$as_ac_var=no"
10512 fi
10513 rm -f conftest.err conftest.$ac_objext \
10514       conftest$ac_exeext conftest.$ac_ext
10515 fi
10516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10518 if test `eval echo '${'$as_ac_var'}'` = yes; then
10519   cat >>confdefs.h <<_ACEOF
10520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10521 _ACEOF
10522
10523 fi
10524 done
10525
10526     fi
10527   fi
10528
10529
10530
10531   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10532 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10533   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10534     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10535   echo $ECHO_N "(cached) $ECHO_C" >&6
10536 else
10537
10538
10539
10540       ac_ext=cc
10541 ac_cpp='$CXXCPP $CPPFLAGS'
10542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10545
10546       cat >conftest.$ac_ext <<_ACEOF
10547 /* confdefs.h.  */
10548 _ACEOF
10549 cat confdefs.h >>conftest.$ac_ext
10550 cat >>conftest.$ac_ext <<_ACEOF
10551 /* end confdefs.h.  */
10552 #include <math.h>
10553                       #ifdef HAVE_IEEEFP_H
10554                       #include <ieeefp.h>
10555                       #endif
10556
10557 int
10558 main ()
10559 {
10560  qfpclass(0);
10561   ;
10562   return 0;
10563 }
10564 _ACEOF
10565 rm -f conftest.$ac_objext
10566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10567   (eval $ac_compile) 2>conftest.er1
10568   ac_status=$?
10569   grep -v '^ *+' conftest.er1 >conftest.err
10570   rm -f conftest.er1
10571   cat conftest.err >&5
10572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10573   (exit $ac_status); } &&
10574          { ac_try='test -z "$ac_cxx_werror_flag"
10575                          || test ! -s conftest.err'
10576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10577   (eval $ac_try) 2>&5
10578   ac_status=$?
10579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10580   (exit $ac_status); }; } &&
10581          { ac_try='test -s conftest.$ac_objext'
10582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10583   (eval $ac_try) 2>&5
10584   ac_status=$?
10585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10586   (exit $ac_status); }; }; then
10587   glibcxx_cv_func_qfpclass_use=yes
10588 else
10589   echo "$as_me: failed program was:" >&5
10590 sed 's/^/| /' conftest.$ac_ext >&5
10591
10592 glibcxx_cv_func_qfpclass_use=no
10593 fi
10594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10595       ac_ext=c
10596 ac_cpp='$CPP $CPPFLAGS'
10597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10600
10601
10602 fi
10603
10604   fi
10605   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10606 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10607
10608   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10609
10610 for ac_func in qfpclass
10611 do
10612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10613 echo "$as_me:$LINENO: checking for $ac_func" >&5
10614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10615 if eval "test \"\${$as_ac_var+set}\" = set"; then
10616   echo $ECHO_N "(cached) $ECHO_C" >&6
10617 else
10618   if test x$gcc_no_link = xyes; then
10619   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10621    { (exit 1); exit 1; }; }
10622 fi
10623 cat >conftest.$ac_ext <<_ACEOF
10624 /* confdefs.h.  */
10625 _ACEOF
10626 cat confdefs.h >>conftest.$ac_ext
10627 cat >>conftest.$ac_ext <<_ACEOF
10628 /* end confdefs.h.  */
10629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10630    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10631 #define $ac_func innocuous_$ac_func
10632
10633 /* System header to define __stub macros and hopefully few prototypes,
10634     which can conflict with char $ac_func (); below.
10635     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10636     <limits.h> exists even on freestanding compilers.  */
10637
10638 #ifdef __STDC__
10639 # include <limits.h>
10640 #else
10641 # include <assert.h>
10642 #endif
10643
10644 #undef $ac_func
10645
10646 /* Override any gcc2 internal prototype to avoid an error.  */
10647 #ifdef __cplusplus
10648 extern "C"
10649 {
10650 #endif
10651 /* We use char because int might match the return type of a gcc2
10652    builtin and then its argument prototype would still apply.  */
10653 char $ac_func ();
10654 /* The GNU C library defines this for functions which it implements
10655     to always fail with ENOSYS.  Some functions are actually named
10656     something starting with __ and the normal name is an alias.  */
10657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10658 choke me
10659 #else
10660 char (*f) () = $ac_func;
10661 #endif
10662 #ifdef __cplusplus
10663 }
10664 #endif
10665
10666 int
10667 main ()
10668 {
10669 return f != $ac_func;
10670   ;
10671   return 0;
10672 }
10673 _ACEOF
10674 rm -f conftest.$ac_objext conftest$ac_exeext
10675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10676   (eval $ac_link) 2>conftest.er1
10677   ac_status=$?
10678   grep -v '^ *+' conftest.er1 >conftest.err
10679   rm -f conftest.er1
10680   cat conftest.err >&5
10681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10682   (exit $ac_status); } &&
10683          { ac_try='test -z "$ac_c_werror_flag"
10684                          || test ! -s conftest.err'
10685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10686   (eval $ac_try) 2>&5
10687   ac_status=$?
10688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10689   (exit $ac_status); }; } &&
10690          { ac_try='test -s conftest$ac_exeext'
10691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10692   (eval $ac_try) 2>&5
10693   ac_status=$?
10694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10695   (exit $ac_status); }; }; then
10696   eval "$as_ac_var=yes"
10697 else
10698   echo "$as_me: failed program was:" >&5
10699 sed 's/^/| /' conftest.$ac_ext >&5
10700
10701 eval "$as_ac_var=no"
10702 fi
10703 rm -f conftest.err conftest.$ac_objext \
10704       conftest$ac_exeext conftest.$ac_ext
10705 fi
10706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10708 if test `eval echo '${'$as_ac_var'}'` = yes; then
10709   cat >>confdefs.h <<_ACEOF
10710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10711 _ACEOF
10712
10713 fi
10714 done
10715
10716   else
10717
10718   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10719 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10720   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10721     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10722   echo $ECHO_N "(cached) $ECHO_C" >&6
10723 else
10724
10725
10726
10727       ac_ext=cc
10728 ac_cpp='$CXXCPP $CPPFLAGS'
10729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10732
10733       cat >conftest.$ac_ext <<_ACEOF
10734 /* confdefs.h.  */
10735 _ACEOF
10736 cat confdefs.h >>conftest.$ac_ext
10737 cat >>conftest.$ac_ext <<_ACEOF
10738 /* end confdefs.h.  */
10739 #include <math.h>
10740                       #ifdef HAVE_IEEEFP_H
10741                       #include <ieeefp.h>
10742                       #endif
10743
10744 int
10745 main ()
10746 {
10747  _qfpclass(0);
10748   ;
10749   return 0;
10750 }
10751 _ACEOF
10752 rm -f conftest.$ac_objext
10753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10754   (eval $ac_compile) 2>conftest.er1
10755   ac_status=$?
10756   grep -v '^ *+' conftest.er1 >conftest.err
10757   rm -f conftest.er1
10758   cat conftest.err >&5
10759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10760   (exit $ac_status); } &&
10761          { ac_try='test -z "$ac_cxx_werror_flag"
10762                          || test ! -s conftest.err'
10763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10764   (eval $ac_try) 2>&5
10765   ac_status=$?
10766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10767   (exit $ac_status); }; } &&
10768          { ac_try='test -s conftest.$ac_objext'
10769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10770   (eval $ac_try) 2>&5
10771   ac_status=$?
10772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773   (exit $ac_status); }; }; then
10774   glibcxx_cv_func__qfpclass_use=yes
10775 else
10776   echo "$as_me: failed program was:" >&5
10777 sed 's/^/| /' conftest.$ac_ext >&5
10778
10779 glibcxx_cv_func__qfpclass_use=no
10780 fi
10781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10782       ac_ext=c
10783 ac_cpp='$CPP $CPPFLAGS'
10784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10787
10788
10789 fi
10790
10791   fi
10792   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10793 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10794
10795     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10796
10797 for ac_func in _qfpclass
10798 do
10799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10800 echo "$as_me:$LINENO: checking for $ac_func" >&5
10801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10802 if eval "test \"\${$as_ac_var+set}\" = set"; then
10803   echo $ECHO_N "(cached) $ECHO_C" >&6
10804 else
10805   if test x$gcc_no_link = xyes; then
10806   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10808    { (exit 1); exit 1; }; }
10809 fi
10810 cat >conftest.$ac_ext <<_ACEOF
10811 /* confdefs.h.  */
10812 _ACEOF
10813 cat confdefs.h >>conftest.$ac_ext
10814 cat >>conftest.$ac_ext <<_ACEOF
10815 /* end confdefs.h.  */
10816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10817    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10818 #define $ac_func innocuous_$ac_func
10819
10820 /* System header to define __stub macros and hopefully few prototypes,
10821     which can conflict with char $ac_func (); below.
10822     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10823     <limits.h> exists even on freestanding compilers.  */
10824
10825 #ifdef __STDC__
10826 # include <limits.h>
10827 #else
10828 # include <assert.h>
10829 #endif
10830
10831 #undef $ac_func
10832
10833 /* Override any gcc2 internal prototype to avoid an error.  */
10834 #ifdef __cplusplus
10835 extern "C"
10836 {
10837 #endif
10838 /* We use char because int might match the return type of a gcc2
10839    builtin and then its argument prototype would still apply.  */
10840 char $ac_func ();
10841 /* The GNU C library defines this for functions which it implements
10842     to always fail with ENOSYS.  Some functions are actually named
10843     something starting with __ and the normal name is an alias.  */
10844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10845 choke me
10846 #else
10847 char (*f) () = $ac_func;
10848 #endif
10849 #ifdef __cplusplus
10850 }
10851 #endif
10852
10853 int
10854 main ()
10855 {
10856 return f != $ac_func;
10857   ;
10858   return 0;
10859 }
10860 _ACEOF
10861 rm -f conftest.$ac_objext conftest$ac_exeext
10862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10863   (eval $ac_link) 2>conftest.er1
10864   ac_status=$?
10865   grep -v '^ *+' conftest.er1 >conftest.err
10866   rm -f conftest.er1
10867   cat conftest.err >&5
10868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10869   (exit $ac_status); } &&
10870          { ac_try='test -z "$ac_c_werror_flag"
10871                          || test ! -s conftest.err'
10872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10873   (eval $ac_try) 2>&5
10874   ac_status=$?
10875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10876   (exit $ac_status); }; } &&
10877          { ac_try='test -s conftest$ac_exeext'
10878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10879   (eval $ac_try) 2>&5
10880   ac_status=$?
10881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10882   (exit $ac_status); }; }; then
10883   eval "$as_ac_var=yes"
10884 else
10885   echo "$as_me: failed program was:" >&5
10886 sed 's/^/| /' conftest.$ac_ext >&5
10887
10888 eval "$as_ac_var=no"
10889 fi
10890 rm -f conftest.err conftest.$ac_objext \
10891       conftest$ac_exeext conftest.$ac_ext
10892 fi
10893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10895 if test `eval echo '${'$as_ac_var'}'` = yes; then
10896   cat >>confdefs.h <<_ACEOF
10897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10898 _ACEOF
10899
10900 fi
10901 done
10902
10903     fi
10904   fi
10905
10906
10907
10908   echo "$as_me:$LINENO: checking for hypot declaration" >&5
10909 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
10910   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
10911     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
10912   echo $ECHO_N "(cached) $ECHO_C" >&6
10913 else
10914
10915
10916
10917       ac_ext=cc
10918 ac_cpp='$CXXCPP $CPPFLAGS'
10919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10922
10923       cat >conftest.$ac_ext <<_ACEOF
10924 /* confdefs.h.  */
10925 _ACEOF
10926 cat confdefs.h >>conftest.$ac_ext
10927 cat >>conftest.$ac_ext <<_ACEOF
10928 /* end confdefs.h.  */
10929 #include <math.h>
10930 int
10931 main ()
10932 {
10933  hypot(0, 0);
10934   ;
10935   return 0;
10936 }
10937 _ACEOF
10938 rm -f conftest.$ac_objext
10939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10940   (eval $ac_compile) 2>conftest.er1
10941   ac_status=$?
10942   grep -v '^ *+' conftest.er1 >conftest.err
10943   rm -f conftest.er1
10944   cat conftest.err >&5
10945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10946   (exit $ac_status); } &&
10947          { ac_try='test -z "$ac_cxx_werror_flag"
10948                          || test ! -s conftest.err'
10949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10950   (eval $ac_try) 2>&5
10951   ac_status=$?
10952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10953   (exit $ac_status); }; } &&
10954          { ac_try='test -s conftest.$ac_objext'
10955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10956   (eval $ac_try) 2>&5
10957   ac_status=$?
10958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10959   (exit $ac_status); }; }; then
10960   glibcxx_cv_func_hypot_use=yes
10961 else
10962   echo "$as_me: failed program was:" >&5
10963 sed 's/^/| /' conftest.$ac_ext >&5
10964
10965 glibcxx_cv_func_hypot_use=no
10966 fi
10967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10968       ac_ext=c
10969 ac_cpp='$CPP $CPPFLAGS'
10970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10973
10974
10975 fi
10976
10977   fi
10978   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
10979 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
10980
10981   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
10982
10983 for ac_func in hypot
10984 do
10985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10986 echo "$as_me:$LINENO: checking for $ac_func" >&5
10987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10988 if eval "test \"\${$as_ac_var+set}\" = set"; then
10989   echo $ECHO_N "(cached) $ECHO_C" >&6
10990 else
10991   if test x$gcc_no_link = xyes; then
10992   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10994    { (exit 1); exit 1; }; }
10995 fi
10996 cat >conftest.$ac_ext <<_ACEOF
10997 /* confdefs.h.  */
10998 _ACEOF
10999 cat confdefs.h >>conftest.$ac_ext
11000 cat >>conftest.$ac_ext <<_ACEOF
11001 /* end confdefs.h.  */
11002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11003    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11004 #define $ac_func innocuous_$ac_func
11005
11006 /* System header to define __stub macros and hopefully few prototypes,
11007     which can conflict with char $ac_func (); below.
11008     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11009     <limits.h> exists even on freestanding compilers.  */
11010
11011 #ifdef __STDC__
11012 # include <limits.h>
11013 #else
11014 # include <assert.h>
11015 #endif
11016
11017 #undef $ac_func
11018
11019 /* Override any gcc2 internal prototype to avoid an error.  */
11020 #ifdef __cplusplus
11021 extern "C"
11022 {
11023 #endif
11024 /* We use char because int might match the return type of a gcc2
11025    builtin and then its argument prototype would still apply.  */
11026 char $ac_func ();
11027 /* The GNU C library defines this for functions which it implements
11028     to always fail with ENOSYS.  Some functions are actually named
11029     something starting with __ and the normal name is an alias.  */
11030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11031 choke me
11032 #else
11033 char (*f) () = $ac_func;
11034 #endif
11035 #ifdef __cplusplus
11036 }
11037 #endif
11038
11039 int
11040 main ()
11041 {
11042 return f != $ac_func;
11043   ;
11044   return 0;
11045 }
11046 _ACEOF
11047 rm -f conftest.$ac_objext conftest$ac_exeext
11048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11049   (eval $ac_link) 2>conftest.er1
11050   ac_status=$?
11051   grep -v '^ *+' conftest.er1 >conftest.err
11052   rm -f conftest.er1
11053   cat conftest.err >&5
11054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11055   (exit $ac_status); } &&
11056          { ac_try='test -z "$ac_c_werror_flag"
11057                          || test ! -s conftest.err'
11058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11059   (eval $ac_try) 2>&5
11060   ac_status=$?
11061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062   (exit $ac_status); }; } &&
11063          { ac_try='test -s conftest$ac_exeext'
11064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11065   (eval $ac_try) 2>&5
11066   ac_status=$?
11067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068   (exit $ac_status); }; }; then
11069   eval "$as_ac_var=yes"
11070 else
11071   echo "$as_me: failed program was:" >&5
11072 sed 's/^/| /' conftest.$ac_ext >&5
11073
11074 eval "$as_ac_var=no"
11075 fi
11076 rm -f conftest.err conftest.$ac_objext \
11077       conftest$ac_exeext conftest.$ac_ext
11078 fi
11079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11081 if test `eval echo '${'$as_ac_var'}'` = yes; then
11082   cat >>confdefs.h <<_ACEOF
11083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11084 _ACEOF
11085
11086 fi
11087 done
11088
11089   else
11090
11091   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11092 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11093   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11094     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11095   echo $ECHO_N "(cached) $ECHO_C" >&6
11096 else
11097
11098
11099
11100       ac_ext=cc
11101 ac_cpp='$CXXCPP $CPPFLAGS'
11102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11105
11106       cat >conftest.$ac_ext <<_ACEOF
11107 /* confdefs.h.  */
11108 _ACEOF
11109 cat confdefs.h >>conftest.$ac_ext
11110 cat >>conftest.$ac_ext <<_ACEOF
11111 /* end confdefs.h.  */
11112 #include <math.h>
11113 int
11114 main ()
11115 {
11116  _hypot(0, 0);
11117   ;
11118   return 0;
11119 }
11120 _ACEOF
11121 rm -f conftest.$ac_objext
11122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11123   (eval $ac_compile) 2>conftest.er1
11124   ac_status=$?
11125   grep -v '^ *+' conftest.er1 >conftest.err
11126   rm -f conftest.er1
11127   cat conftest.err >&5
11128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11129   (exit $ac_status); } &&
11130          { ac_try='test -z "$ac_cxx_werror_flag"
11131                          || test ! -s conftest.err'
11132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11133   (eval $ac_try) 2>&5
11134   ac_status=$?
11135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11136   (exit $ac_status); }; } &&
11137          { ac_try='test -s conftest.$ac_objext'
11138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11139   (eval $ac_try) 2>&5
11140   ac_status=$?
11141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11142   (exit $ac_status); }; }; then
11143   glibcxx_cv_func__hypot_use=yes
11144 else
11145   echo "$as_me: failed program was:" >&5
11146 sed 's/^/| /' conftest.$ac_ext >&5
11147
11148 glibcxx_cv_func__hypot_use=no
11149 fi
11150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11151       ac_ext=c
11152 ac_cpp='$CPP $CPPFLAGS'
11153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11156
11157
11158 fi
11159
11160   fi
11161   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11162 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11163
11164     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11165
11166 for ac_func in _hypot
11167 do
11168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11169 echo "$as_me:$LINENO: checking for $ac_func" >&5
11170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11171 if eval "test \"\${$as_ac_var+set}\" = set"; then
11172   echo $ECHO_N "(cached) $ECHO_C" >&6
11173 else
11174   if test x$gcc_no_link = xyes; then
11175   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11177    { (exit 1); exit 1; }; }
11178 fi
11179 cat >conftest.$ac_ext <<_ACEOF
11180 /* confdefs.h.  */
11181 _ACEOF
11182 cat confdefs.h >>conftest.$ac_ext
11183 cat >>conftest.$ac_ext <<_ACEOF
11184 /* end confdefs.h.  */
11185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11186    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11187 #define $ac_func innocuous_$ac_func
11188
11189 /* System header to define __stub macros and hopefully few prototypes,
11190     which can conflict with char $ac_func (); below.
11191     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11192     <limits.h> exists even on freestanding compilers.  */
11193
11194 #ifdef __STDC__
11195 # include <limits.h>
11196 #else
11197 # include <assert.h>
11198 #endif
11199
11200 #undef $ac_func
11201
11202 /* Override any gcc2 internal prototype to avoid an error.  */
11203 #ifdef __cplusplus
11204 extern "C"
11205 {
11206 #endif
11207 /* We use char because int might match the return type of a gcc2
11208    builtin and then its argument prototype would still apply.  */
11209 char $ac_func ();
11210 /* The GNU C library defines this for functions which it implements
11211     to always fail with ENOSYS.  Some functions are actually named
11212     something starting with __ and the normal name is an alias.  */
11213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11214 choke me
11215 #else
11216 char (*f) () = $ac_func;
11217 #endif
11218 #ifdef __cplusplus
11219 }
11220 #endif
11221
11222 int
11223 main ()
11224 {
11225 return f != $ac_func;
11226   ;
11227   return 0;
11228 }
11229 _ACEOF
11230 rm -f conftest.$ac_objext conftest$ac_exeext
11231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11232   (eval $ac_link) 2>conftest.er1
11233   ac_status=$?
11234   grep -v '^ *+' conftest.er1 >conftest.err
11235   rm -f conftest.er1
11236   cat conftest.err >&5
11237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11238   (exit $ac_status); } &&
11239          { ac_try='test -z "$ac_c_werror_flag"
11240                          || test ! -s conftest.err'
11241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11242   (eval $ac_try) 2>&5
11243   ac_status=$?
11244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11245   (exit $ac_status); }; } &&
11246          { ac_try='test -s conftest$ac_exeext'
11247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11248   (eval $ac_try) 2>&5
11249   ac_status=$?
11250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11251   (exit $ac_status); }; }; then
11252   eval "$as_ac_var=yes"
11253 else
11254   echo "$as_me: failed program was:" >&5
11255 sed 's/^/| /' conftest.$ac_ext >&5
11256
11257 eval "$as_ac_var=no"
11258 fi
11259 rm -f conftest.err conftest.$ac_objext \
11260       conftest$ac_exeext conftest.$ac_ext
11261 fi
11262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11264 if test `eval echo '${'$as_ac_var'}'` = yes; then
11265   cat >>confdefs.h <<_ACEOF
11266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11267 _ACEOF
11268
11269 fi
11270 done
11271
11272     fi
11273   fi
11274
11275
11276
11277   echo "$as_me:$LINENO: checking for float trig functions" >&5
11278 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11279   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11280   echo $ECHO_N "(cached) $ECHO_C" >&6
11281 else
11282
11283
11284
11285     ac_ext=cc
11286 ac_cpp='$CXXCPP $CPPFLAGS'
11287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11290
11291     cat >conftest.$ac_ext <<_ACEOF
11292 /* confdefs.h.  */
11293 _ACEOF
11294 cat confdefs.h >>conftest.$ac_ext
11295 cat >>conftest.$ac_ext <<_ACEOF
11296 /* end confdefs.h.  */
11297 #include <math.h>
11298 int
11299 main ()
11300 {
11301  `for x in acosf asinf atanf \
11302                                           cosf sinf tanf \
11303                                           coshf sinhf tanhf; do echo "$x (0);"; done`
11304   ;
11305   return 0;
11306 }
11307 _ACEOF
11308 rm -f conftest.$ac_objext
11309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11310   (eval $ac_compile) 2>conftest.er1
11311   ac_status=$?
11312   grep -v '^ *+' conftest.er1 >conftest.err
11313   rm -f conftest.er1
11314   cat conftest.err >&5
11315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11316   (exit $ac_status); } &&
11317          { ac_try='test -z "$ac_cxx_werror_flag"
11318                          || test ! -s conftest.err'
11319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11320   (eval $ac_try) 2>&5
11321   ac_status=$?
11322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11323   (exit $ac_status); }; } &&
11324          { ac_try='test -s conftest.$ac_objext'
11325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11326   (eval $ac_try) 2>&5
11327   ac_status=$?
11328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11329   (exit $ac_status); }; }; then
11330   glibcxx_cv_func_float_trig_use=yes
11331 else
11332   echo "$as_me: failed program was:" >&5
11333 sed 's/^/| /' conftest.$ac_ext >&5
11334
11335 glibcxx_cv_func_float_trig_use=no
11336 fi
11337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11338     ac_ext=c
11339 ac_cpp='$CPP $CPPFLAGS'
11340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11343
11344 fi
11345
11346   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11347 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11348   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358 for ac_func in acosf asinf atanf \
11359                                           cosf sinf tanf \
11360                                           coshf sinhf tanhf
11361 do
11362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11363 echo "$as_me:$LINENO: checking for $ac_func" >&5
11364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11365 if eval "test \"\${$as_ac_var+set}\" = set"; then
11366   echo $ECHO_N "(cached) $ECHO_C" >&6
11367 else
11368   if test x$gcc_no_link = xyes; then
11369   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11371    { (exit 1); exit 1; }; }
11372 fi
11373 cat >conftest.$ac_ext <<_ACEOF
11374 /* confdefs.h.  */
11375 _ACEOF
11376 cat confdefs.h >>conftest.$ac_ext
11377 cat >>conftest.$ac_ext <<_ACEOF
11378 /* end confdefs.h.  */
11379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11380    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11381 #define $ac_func innocuous_$ac_func
11382
11383 /* System header to define __stub macros and hopefully few prototypes,
11384     which can conflict with char $ac_func (); below.
11385     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11386     <limits.h> exists even on freestanding compilers.  */
11387
11388 #ifdef __STDC__
11389 # include <limits.h>
11390 #else
11391 # include <assert.h>
11392 #endif
11393
11394 #undef $ac_func
11395
11396 /* Override any gcc2 internal prototype to avoid an error.  */
11397 #ifdef __cplusplus
11398 extern "C"
11399 {
11400 #endif
11401 /* We use char because int might match the return type of a gcc2
11402    builtin and then its argument prototype would still apply.  */
11403 char $ac_func ();
11404 /* The GNU C library defines this for functions which it implements
11405     to always fail with ENOSYS.  Some functions are actually named
11406     something starting with __ and the normal name is an alias.  */
11407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11408 choke me
11409 #else
11410 char (*f) () = $ac_func;
11411 #endif
11412 #ifdef __cplusplus
11413 }
11414 #endif
11415
11416 int
11417 main ()
11418 {
11419 return f != $ac_func;
11420   ;
11421   return 0;
11422 }
11423 _ACEOF
11424 rm -f conftest.$ac_objext conftest$ac_exeext
11425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11426   (eval $ac_link) 2>conftest.er1
11427   ac_status=$?
11428   grep -v '^ *+' conftest.er1 >conftest.err
11429   rm -f conftest.er1
11430   cat conftest.err >&5
11431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11432   (exit $ac_status); } &&
11433          { ac_try='test -z "$ac_c_werror_flag"
11434                          || test ! -s conftest.err'
11435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11436   (eval $ac_try) 2>&5
11437   ac_status=$?
11438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11439   (exit $ac_status); }; } &&
11440          { ac_try='test -s conftest$ac_exeext'
11441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11442   (eval $ac_try) 2>&5
11443   ac_status=$?
11444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11445   (exit $ac_status); }; }; then
11446   eval "$as_ac_var=yes"
11447 else
11448   echo "$as_me: failed program was:" >&5
11449 sed 's/^/| /' conftest.$ac_ext >&5
11450
11451 eval "$as_ac_var=no"
11452 fi
11453 rm -f conftest.err conftest.$ac_objext \
11454       conftest$ac_exeext conftest.$ac_ext
11455 fi
11456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11458 if test `eval echo '${'$as_ac_var'}'` = yes; then
11459   cat >>confdefs.h <<_ACEOF
11460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11461 _ACEOF
11462
11463 fi
11464 done
11465
11466   fi
11467
11468
11469   echo "$as_me:$LINENO: checking for float round functions" >&5
11470 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11471   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11472   echo $ECHO_N "(cached) $ECHO_C" >&6
11473 else
11474
11475
11476
11477     ac_ext=cc
11478 ac_cpp='$CXXCPP $CPPFLAGS'
11479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11482
11483     cat >conftest.$ac_ext <<_ACEOF
11484 /* confdefs.h.  */
11485 _ACEOF
11486 cat confdefs.h >>conftest.$ac_ext
11487 cat >>conftest.$ac_ext <<_ACEOF
11488 /* end confdefs.h.  */
11489 #include <math.h>
11490 int
11491 main ()
11492 {
11493  `for x in ceilf floorf; do echo "$x (0);"; done`
11494   ;
11495   return 0;
11496 }
11497 _ACEOF
11498 rm -f conftest.$ac_objext
11499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11500   (eval $ac_compile) 2>conftest.er1
11501   ac_status=$?
11502   grep -v '^ *+' conftest.er1 >conftest.err
11503   rm -f conftest.er1
11504   cat conftest.err >&5
11505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11506   (exit $ac_status); } &&
11507          { ac_try='test -z "$ac_cxx_werror_flag"
11508                          || test ! -s conftest.err'
11509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11510   (eval $ac_try) 2>&5
11511   ac_status=$?
11512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11513   (exit $ac_status); }; } &&
11514          { ac_try='test -s conftest.$ac_objext'
11515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11516   (eval $ac_try) 2>&5
11517   ac_status=$?
11518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11519   (exit $ac_status); }; }; then
11520   glibcxx_cv_func_float_round_use=yes
11521 else
11522   echo "$as_me: failed program was:" >&5
11523 sed 's/^/| /' conftest.$ac_ext >&5
11524
11525 glibcxx_cv_func_float_round_use=no
11526 fi
11527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11528     ac_ext=c
11529 ac_cpp='$CPP $CPPFLAGS'
11530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11533
11534 fi
11535
11536   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11537 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11538   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11539
11540
11541 for ac_func in ceilf floorf
11542 do
11543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11544 echo "$as_me:$LINENO: checking for $ac_func" >&5
11545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11546 if eval "test \"\${$as_ac_var+set}\" = set"; then
11547   echo $ECHO_N "(cached) $ECHO_C" >&6
11548 else
11549   if test x$gcc_no_link = xyes; then
11550   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11552    { (exit 1); exit 1; }; }
11553 fi
11554 cat >conftest.$ac_ext <<_ACEOF
11555 /* confdefs.h.  */
11556 _ACEOF
11557 cat confdefs.h >>conftest.$ac_ext
11558 cat >>conftest.$ac_ext <<_ACEOF
11559 /* end confdefs.h.  */
11560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11561    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11562 #define $ac_func innocuous_$ac_func
11563
11564 /* System header to define __stub macros and hopefully few prototypes,
11565     which can conflict with char $ac_func (); below.
11566     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11567     <limits.h> exists even on freestanding compilers.  */
11568
11569 #ifdef __STDC__
11570 # include <limits.h>
11571 #else
11572 # include <assert.h>
11573 #endif
11574
11575 #undef $ac_func
11576
11577 /* Override any gcc2 internal prototype to avoid an error.  */
11578 #ifdef __cplusplus
11579 extern "C"
11580 {
11581 #endif
11582 /* We use char because int might match the return type of a gcc2
11583    builtin and then its argument prototype would still apply.  */
11584 char $ac_func ();
11585 /* The GNU C library defines this for functions which it implements
11586     to always fail with ENOSYS.  Some functions are actually named
11587     something starting with __ and the normal name is an alias.  */
11588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11589 choke me
11590 #else
11591 char (*f) () = $ac_func;
11592 #endif
11593 #ifdef __cplusplus
11594 }
11595 #endif
11596
11597 int
11598 main ()
11599 {
11600 return f != $ac_func;
11601   ;
11602   return 0;
11603 }
11604 _ACEOF
11605 rm -f conftest.$ac_objext conftest$ac_exeext
11606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11607   (eval $ac_link) 2>conftest.er1
11608   ac_status=$?
11609   grep -v '^ *+' conftest.er1 >conftest.err
11610   rm -f conftest.er1
11611   cat conftest.err >&5
11612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11613   (exit $ac_status); } &&
11614          { ac_try='test -z "$ac_c_werror_flag"
11615                          || test ! -s conftest.err'
11616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11617   (eval $ac_try) 2>&5
11618   ac_status=$?
11619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11620   (exit $ac_status); }; } &&
11621          { ac_try='test -s conftest$ac_exeext'
11622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11623   (eval $ac_try) 2>&5
11624   ac_status=$?
11625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11626   (exit $ac_status); }; }; then
11627   eval "$as_ac_var=yes"
11628 else
11629   echo "$as_me: failed program was:" >&5
11630 sed 's/^/| /' conftest.$ac_ext >&5
11631
11632 eval "$as_ac_var=no"
11633 fi
11634 rm -f conftest.err conftest.$ac_objext \
11635       conftest$ac_exeext conftest.$ac_ext
11636 fi
11637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11639 if test `eval echo '${'$as_ac_var'}'` = yes; then
11640   cat >>confdefs.h <<_ACEOF
11641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11642 _ACEOF
11643
11644 fi
11645 done
11646
11647   fi
11648
11649
11650
11651   echo "$as_me:$LINENO: checking for expf declaration" >&5
11652 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
11653   if test x${glibcxx_cv_func_expf_use+set} != xset; then
11654     if test "${glibcxx_cv_func_expf_use+set}" = set; then
11655   echo $ECHO_N "(cached) $ECHO_C" >&6
11656 else
11657
11658
11659
11660       ac_ext=cc
11661 ac_cpp='$CXXCPP $CPPFLAGS'
11662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11665
11666       cat >conftest.$ac_ext <<_ACEOF
11667 /* confdefs.h.  */
11668 _ACEOF
11669 cat confdefs.h >>conftest.$ac_ext
11670 cat >>conftest.$ac_ext <<_ACEOF
11671 /* end confdefs.h.  */
11672 #include <math.h>
11673                       #ifdef HAVE_IEEEFP_H
11674                       #include <ieeefp.h>
11675                       #endif
11676
11677 int
11678 main ()
11679 {
11680  expf(0);
11681   ;
11682   return 0;
11683 }
11684 _ACEOF
11685 rm -f conftest.$ac_objext
11686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11687   (eval $ac_compile) 2>conftest.er1
11688   ac_status=$?
11689   grep -v '^ *+' conftest.er1 >conftest.err
11690   rm -f conftest.er1
11691   cat conftest.err >&5
11692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11693   (exit $ac_status); } &&
11694          { ac_try='test -z "$ac_cxx_werror_flag"
11695                          || test ! -s conftest.err'
11696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11697   (eval $ac_try) 2>&5
11698   ac_status=$?
11699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11700   (exit $ac_status); }; } &&
11701          { ac_try='test -s conftest.$ac_objext'
11702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11703   (eval $ac_try) 2>&5
11704   ac_status=$?
11705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11706   (exit $ac_status); }; }; then
11707   glibcxx_cv_func_expf_use=yes
11708 else
11709   echo "$as_me: failed program was:" >&5
11710 sed 's/^/| /' conftest.$ac_ext >&5
11711
11712 glibcxx_cv_func_expf_use=no
11713 fi
11714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11715       ac_ext=c
11716 ac_cpp='$CPP $CPPFLAGS'
11717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11720
11721
11722 fi
11723
11724   fi
11725   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
11726 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
11727
11728   if test x$glibcxx_cv_func_expf_use = x"yes"; then
11729
11730 for ac_func in expf
11731 do
11732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11733 echo "$as_me:$LINENO: checking for $ac_func" >&5
11734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11735 if eval "test \"\${$as_ac_var+set}\" = set"; then
11736   echo $ECHO_N "(cached) $ECHO_C" >&6
11737 else
11738   if test x$gcc_no_link = xyes; then
11739   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11741    { (exit 1); exit 1; }; }
11742 fi
11743 cat >conftest.$ac_ext <<_ACEOF
11744 /* confdefs.h.  */
11745 _ACEOF
11746 cat confdefs.h >>conftest.$ac_ext
11747 cat >>conftest.$ac_ext <<_ACEOF
11748 /* end confdefs.h.  */
11749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11750    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11751 #define $ac_func innocuous_$ac_func
11752
11753 /* System header to define __stub macros and hopefully few prototypes,
11754     which can conflict with char $ac_func (); below.
11755     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11756     <limits.h> exists even on freestanding compilers.  */
11757
11758 #ifdef __STDC__
11759 # include <limits.h>
11760 #else
11761 # include <assert.h>
11762 #endif
11763
11764 #undef $ac_func
11765
11766 /* Override any gcc2 internal prototype to avoid an error.  */
11767 #ifdef __cplusplus
11768 extern "C"
11769 {
11770 #endif
11771 /* We use char because int might match the return type of a gcc2
11772    builtin and then its argument prototype would still apply.  */
11773 char $ac_func ();
11774 /* The GNU C library defines this for functions which it implements
11775     to always fail with ENOSYS.  Some functions are actually named
11776     something starting with __ and the normal name is an alias.  */
11777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11778 choke me
11779 #else
11780 char (*f) () = $ac_func;
11781 #endif
11782 #ifdef __cplusplus
11783 }
11784 #endif
11785
11786 int
11787 main ()
11788 {
11789 return f != $ac_func;
11790   ;
11791   return 0;
11792 }
11793 _ACEOF
11794 rm -f conftest.$ac_objext conftest$ac_exeext
11795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11796   (eval $ac_link) 2>conftest.er1
11797   ac_status=$?
11798   grep -v '^ *+' conftest.er1 >conftest.err
11799   rm -f conftest.er1
11800   cat conftest.err >&5
11801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11802   (exit $ac_status); } &&
11803          { ac_try='test -z "$ac_c_werror_flag"
11804                          || test ! -s conftest.err'
11805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11806   (eval $ac_try) 2>&5
11807   ac_status=$?
11808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11809   (exit $ac_status); }; } &&
11810          { ac_try='test -s conftest$ac_exeext'
11811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11812   (eval $ac_try) 2>&5
11813   ac_status=$?
11814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11815   (exit $ac_status); }; }; then
11816   eval "$as_ac_var=yes"
11817 else
11818   echo "$as_me: failed program was:" >&5
11819 sed 's/^/| /' conftest.$ac_ext >&5
11820
11821 eval "$as_ac_var=no"
11822 fi
11823 rm -f conftest.err conftest.$ac_objext \
11824       conftest$ac_exeext conftest.$ac_ext
11825 fi
11826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11828 if test `eval echo '${'$as_ac_var'}'` = yes; then
11829   cat >>confdefs.h <<_ACEOF
11830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11831 _ACEOF
11832
11833 fi
11834 done
11835
11836   else
11837
11838   echo "$as_me:$LINENO: checking for _expf declaration" >&5
11839 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
11840   if test x${glibcxx_cv_func__expf_use+set} != xset; then
11841     if test "${glibcxx_cv_func__expf_use+set}" = set; then
11842   echo $ECHO_N "(cached) $ECHO_C" >&6
11843 else
11844
11845
11846
11847       ac_ext=cc
11848 ac_cpp='$CXXCPP $CPPFLAGS'
11849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11852
11853       cat >conftest.$ac_ext <<_ACEOF
11854 /* confdefs.h.  */
11855 _ACEOF
11856 cat confdefs.h >>conftest.$ac_ext
11857 cat >>conftest.$ac_ext <<_ACEOF
11858 /* end confdefs.h.  */
11859 #include <math.h>
11860                       #ifdef HAVE_IEEEFP_H
11861                       #include <ieeefp.h>
11862                       #endif
11863
11864 int
11865 main ()
11866 {
11867  _expf(0);
11868   ;
11869   return 0;
11870 }
11871 _ACEOF
11872 rm -f conftest.$ac_objext
11873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11874   (eval $ac_compile) 2>conftest.er1
11875   ac_status=$?
11876   grep -v '^ *+' conftest.er1 >conftest.err
11877   rm -f conftest.er1
11878   cat conftest.err >&5
11879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11880   (exit $ac_status); } &&
11881          { ac_try='test -z "$ac_cxx_werror_flag"
11882                          || test ! -s conftest.err'
11883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11884   (eval $ac_try) 2>&5
11885   ac_status=$?
11886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11887   (exit $ac_status); }; } &&
11888          { ac_try='test -s conftest.$ac_objext'
11889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11890   (eval $ac_try) 2>&5
11891   ac_status=$?
11892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11893   (exit $ac_status); }; }; then
11894   glibcxx_cv_func__expf_use=yes
11895 else
11896   echo "$as_me: failed program was:" >&5
11897 sed 's/^/| /' conftest.$ac_ext >&5
11898
11899 glibcxx_cv_func__expf_use=no
11900 fi
11901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11902       ac_ext=c
11903 ac_cpp='$CPP $CPPFLAGS'
11904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11907
11908
11909 fi
11910
11911   fi
11912   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
11913 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
11914
11915     if test x$glibcxx_cv_func__expf_use = x"yes"; then
11916
11917 for ac_func in _expf
11918 do
11919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11920 echo "$as_me:$LINENO: checking for $ac_func" >&5
11921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11922 if eval "test \"\${$as_ac_var+set}\" = set"; then
11923   echo $ECHO_N "(cached) $ECHO_C" >&6
11924 else
11925   if test x$gcc_no_link = xyes; then
11926   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11928    { (exit 1); exit 1; }; }
11929 fi
11930 cat >conftest.$ac_ext <<_ACEOF
11931 /* confdefs.h.  */
11932 _ACEOF
11933 cat confdefs.h >>conftest.$ac_ext
11934 cat >>conftest.$ac_ext <<_ACEOF
11935 /* end confdefs.h.  */
11936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11937    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11938 #define $ac_func innocuous_$ac_func
11939
11940 /* System header to define __stub macros and hopefully few prototypes,
11941     which can conflict with char $ac_func (); below.
11942     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11943     <limits.h> exists even on freestanding compilers.  */
11944
11945 #ifdef __STDC__
11946 # include <limits.h>
11947 #else
11948 # include <assert.h>
11949 #endif
11950
11951 #undef $ac_func
11952
11953 /* Override any gcc2 internal prototype to avoid an error.  */
11954 #ifdef __cplusplus
11955 extern "C"
11956 {
11957 #endif
11958 /* We use char because int might match the return type of a gcc2
11959    builtin and then its argument prototype would still apply.  */
11960 char $ac_func ();
11961 /* The GNU C library defines this for functions which it implements
11962     to always fail with ENOSYS.  Some functions are actually named
11963     something starting with __ and the normal name is an alias.  */
11964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11965 choke me
11966 #else
11967 char (*f) () = $ac_func;
11968 #endif
11969 #ifdef __cplusplus
11970 }
11971 #endif
11972
11973 int
11974 main ()
11975 {
11976 return f != $ac_func;
11977   ;
11978   return 0;
11979 }
11980 _ACEOF
11981 rm -f conftest.$ac_objext conftest$ac_exeext
11982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11983   (eval $ac_link) 2>conftest.er1
11984   ac_status=$?
11985   grep -v '^ *+' conftest.er1 >conftest.err
11986   rm -f conftest.er1
11987   cat conftest.err >&5
11988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11989   (exit $ac_status); } &&
11990          { ac_try='test -z "$ac_c_werror_flag"
11991                          || test ! -s conftest.err'
11992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11993   (eval $ac_try) 2>&5
11994   ac_status=$?
11995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11996   (exit $ac_status); }; } &&
11997          { ac_try='test -s conftest$ac_exeext'
11998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11999   (eval $ac_try) 2>&5
12000   ac_status=$?
12001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12002   (exit $ac_status); }; }; then
12003   eval "$as_ac_var=yes"
12004 else
12005   echo "$as_me: failed program was:" >&5
12006 sed 's/^/| /' conftest.$ac_ext >&5
12007
12008 eval "$as_ac_var=no"
12009 fi
12010 rm -f conftest.err conftest.$ac_objext \
12011       conftest$ac_exeext conftest.$ac_ext
12012 fi
12013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12015 if test `eval echo '${'$as_ac_var'}'` = yes; then
12016   cat >>confdefs.h <<_ACEOF
12017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12018 _ACEOF
12019
12020 fi
12021 done
12022
12023     fi
12024   fi
12025
12026
12027
12028   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12029 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12030   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12031     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12032   echo $ECHO_N "(cached) $ECHO_C" >&6
12033 else
12034
12035
12036
12037       ac_ext=cc
12038 ac_cpp='$CXXCPP $CPPFLAGS'
12039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12042
12043       cat >conftest.$ac_ext <<_ACEOF
12044 /* confdefs.h.  */
12045 _ACEOF
12046 cat confdefs.h >>conftest.$ac_ext
12047 cat >>conftest.$ac_ext <<_ACEOF
12048 /* end confdefs.h.  */
12049 #include <math.h>
12050                       #ifdef HAVE_IEEEFP_H
12051                       #include <ieeefp.h>
12052                       #endif
12053
12054 int
12055 main ()
12056 {
12057  isnanf(0);
12058   ;
12059   return 0;
12060 }
12061 _ACEOF
12062 rm -f conftest.$ac_objext
12063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12064   (eval $ac_compile) 2>conftest.er1
12065   ac_status=$?
12066   grep -v '^ *+' conftest.er1 >conftest.err
12067   rm -f conftest.er1
12068   cat conftest.err >&5
12069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12070   (exit $ac_status); } &&
12071          { ac_try='test -z "$ac_cxx_werror_flag"
12072                          || test ! -s conftest.err'
12073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12074   (eval $ac_try) 2>&5
12075   ac_status=$?
12076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077   (exit $ac_status); }; } &&
12078          { ac_try='test -s conftest.$ac_objext'
12079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12080   (eval $ac_try) 2>&5
12081   ac_status=$?
12082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12083   (exit $ac_status); }; }; then
12084   glibcxx_cv_func_isnanf_use=yes
12085 else
12086   echo "$as_me: failed program was:" >&5
12087 sed 's/^/| /' conftest.$ac_ext >&5
12088
12089 glibcxx_cv_func_isnanf_use=no
12090 fi
12091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12092       ac_ext=c
12093 ac_cpp='$CPP $CPPFLAGS'
12094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12097
12098
12099 fi
12100
12101   fi
12102   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12103 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12104
12105   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12106
12107 for ac_func in isnanf
12108 do
12109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12110 echo "$as_me:$LINENO: checking for $ac_func" >&5
12111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12112 if eval "test \"\${$as_ac_var+set}\" = set"; then
12113   echo $ECHO_N "(cached) $ECHO_C" >&6
12114 else
12115   if test x$gcc_no_link = xyes; then
12116   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12118    { (exit 1); exit 1; }; }
12119 fi
12120 cat >conftest.$ac_ext <<_ACEOF
12121 /* confdefs.h.  */
12122 _ACEOF
12123 cat confdefs.h >>conftest.$ac_ext
12124 cat >>conftest.$ac_ext <<_ACEOF
12125 /* end confdefs.h.  */
12126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12127    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12128 #define $ac_func innocuous_$ac_func
12129
12130 /* System header to define __stub macros and hopefully few prototypes,
12131     which can conflict with char $ac_func (); below.
12132     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12133     <limits.h> exists even on freestanding compilers.  */
12134
12135 #ifdef __STDC__
12136 # include <limits.h>
12137 #else
12138 # include <assert.h>
12139 #endif
12140
12141 #undef $ac_func
12142
12143 /* Override any gcc2 internal prototype to avoid an error.  */
12144 #ifdef __cplusplus
12145 extern "C"
12146 {
12147 #endif
12148 /* We use char because int might match the return type of a gcc2
12149    builtin and then its argument prototype would still apply.  */
12150 char $ac_func ();
12151 /* The GNU C library defines this for functions which it implements
12152     to always fail with ENOSYS.  Some functions are actually named
12153     something starting with __ and the normal name is an alias.  */
12154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12155 choke me
12156 #else
12157 char (*f) () = $ac_func;
12158 #endif
12159 #ifdef __cplusplus
12160 }
12161 #endif
12162
12163 int
12164 main ()
12165 {
12166 return f != $ac_func;
12167   ;
12168   return 0;
12169 }
12170 _ACEOF
12171 rm -f conftest.$ac_objext conftest$ac_exeext
12172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12173   (eval $ac_link) 2>conftest.er1
12174   ac_status=$?
12175   grep -v '^ *+' conftest.er1 >conftest.err
12176   rm -f conftest.er1
12177   cat conftest.err >&5
12178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12179   (exit $ac_status); } &&
12180          { ac_try='test -z "$ac_c_werror_flag"
12181                          || test ! -s conftest.err'
12182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12183   (eval $ac_try) 2>&5
12184   ac_status=$?
12185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12186   (exit $ac_status); }; } &&
12187          { ac_try='test -s conftest$ac_exeext'
12188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12189   (eval $ac_try) 2>&5
12190   ac_status=$?
12191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12192   (exit $ac_status); }; }; then
12193   eval "$as_ac_var=yes"
12194 else
12195   echo "$as_me: failed program was:" >&5
12196 sed 's/^/| /' conftest.$ac_ext >&5
12197
12198 eval "$as_ac_var=no"
12199 fi
12200 rm -f conftest.err conftest.$ac_objext \
12201       conftest$ac_exeext conftest.$ac_ext
12202 fi
12203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12205 if test `eval echo '${'$as_ac_var'}'` = yes; then
12206   cat >>confdefs.h <<_ACEOF
12207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12208 _ACEOF
12209
12210 fi
12211 done
12212
12213   else
12214
12215   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12216 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12217   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12218     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12219   echo $ECHO_N "(cached) $ECHO_C" >&6
12220 else
12221
12222
12223
12224       ac_ext=cc
12225 ac_cpp='$CXXCPP $CPPFLAGS'
12226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12229
12230       cat >conftest.$ac_ext <<_ACEOF
12231 /* confdefs.h.  */
12232 _ACEOF
12233 cat confdefs.h >>conftest.$ac_ext
12234 cat >>conftest.$ac_ext <<_ACEOF
12235 /* end confdefs.h.  */
12236 #include <math.h>
12237                       #ifdef HAVE_IEEEFP_H
12238                       #include <ieeefp.h>
12239                       #endif
12240
12241 int
12242 main ()
12243 {
12244  _isnanf(0);
12245   ;
12246   return 0;
12247 }
12248 _ACEOF
12249 rm -f conftest.$ac_objext
12250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12251   (eval $ac_compile) 2>conftest.er1
12252   ac_status=$?
12253   grep -v '^ *+' conftest.er1 >conftest.err
12254   rm -f conftest.er1
12255   cat conftest.err >&5
12256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12257   (exit $ac_status); } &&
12258          { ac_try='test -z "$ac_cxx_werror_flag"
12259                          || test ! -s conftest.err'
12260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12261   (eval $ac_try) 2>&5
12262   ac_status=$?
12263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12264   (exit $ac_status); }; } &&
12265          { ac_try='test -s conftest.$ac_objext'
12266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12267   (eval $ac_try) 2>&5
12268   ac_status=$?
12269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12270   (exit $ac_status); }; }; then
12271   glibcxx_cv_func__isnanf_use=yes
12272 else
12273   echo "$as_me: failed program was:" >&5
12274 sed 's/^/| /' conftest.$ac_ext >&5
12275
12276 glibcxx_cv_func__isnanf_use=no
12277 fi
12278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12279       ac_ext=c
12280 ac_cpp='$CPP $CPPFLAGS'
12281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12284
12285
12286 fi
12287
12288   fi
12289   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12290 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12291
12292     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12293
12294 for ac_func in _isnanf
12295 do
12296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12297 echo "$as_me:$LINENO: checking for $ac_func" >&5
12298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12299 if eval "test \"\${$as_ac_var+set}\" = set"; then
12300   echo $ECHO_N "(cached) $ECHO_C" >&6
12301 else
12302   if test x$gcc_no_link = xyes; then
12303   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12305    { (exit 1); exit 1; }; }
12306 fi
12307 cat >conftest.$ac_ext <<_ACEOF
12308 /* confdefs.h.  */
12309 _ACEOF
12310 cat confdefs.h >>conftest.$ac_ext
12311 cat >>conftest.$ac_ext <<_ACEOF
12312 /* end confdefs.h.  */
12313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12314    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12315 #define $ac_func innocuous_$ac_func
12316
12317 /* System header to define __stub macros and hopefully few prototypes,
12318     which can conflict with char $ac_func (); below.
12319     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12320     <limits.h> exists even on freestanding compilers.  */
12321
12322 #ifdef __STDC__
12323 # include <limits.h>
12324 #else
12325 # include <assert.h>
12326 #endif
12327
12328 #undef $ac_func
12329
12330 /* Override any gcc2 internal prototype to avoid an error.  */
12331 #ifdef __cplusplus
12332 extern "C"
12333 {
12334 #endif
12335 /* We use char because int might match the return type of a gcc2
12336    builtin and then its argument prototype would still apply.  */
12337 char $ac_func ();
12338 /* The GNU C library defines this for functions which it implements
12339     to always fail with ENOSYS.  Some functions are actually named
12340     something starting with __ and the normal name is an alias.  */
12341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12342 choke me
12343 #else
12344 char (*f) () = $ac_func;
12345 #endif
12346 #ifdef __cplusplus
12347 }
12348 #endif
12349
12350 int
12351 main ()
12352 {
12353 return f != $ac_func;
12354   ;
12355   return 0;
12356 }
12357 _ACEOF
12358 rm -f conftest.$ac_objext conftest$ac_exeext
12359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12360   (eval $ac_link) 2>conftest.er1
12361   ac_status=$?
12362   grep -v '^ *+' conftest.er1 >conftest.err
12363   rm -f conftest.er1
12364   cat conftest.err >&5
12365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12366   (exit $ac_status); } &&
12367          { ac_try='test -z "$ac_c_werror_flag"
12368                          || test ! -s conftest.err'
12369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12370   (eval $ac_try) 2>&5
12371   ac_status=$?
12372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12373   (exit $ac_status); }; } &&
12374          { ac_try='test -s conftest$ac_exeext'
12375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12376   (eval $ac_try) 2>&5
12377   ac_status=$?
12378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12379   (exit $ac_status); }; }; then
12380   eval "$as_ac_var=yes"
12381 else
12382   echo "$as_me: failed program was:" >&5
12383 sed 's/^/| /' conftest.$ac_ext >&5
12384
12385 eval "$as_ac_var=no"
12386 fi
12387 rm -f conftest.err conftest.$ac_objext \
12388       conftest$ac_exeext conftest.$ac_ext
12389 fi
12390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12392 if test `eval echo '${'$as_ac_var'}'` = yes; then
12393   cat >>confdefs.h <<_ACEOF
12394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12395 _ACEOF
12396
12397 fi
12398 done
12399
12400     fi
12401   fi
12402
12403
12404
12405   echo "$as_me:$LINENO: checking for isinff declaration" >&5
12406 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12407   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12408     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12409   echo $ECHO_N "(cached) $ECHO_C" >&6
12410 else
12411
12412
12413
12414       ac_ext=cc
12415 ac_cpp='$CXXCPP $CPPFLAGS'
12416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12419
12420       cat >conftest.$ac_ext <<_ACEOF
12421 /* confdefs.h.  */
12422 _ACEOF
12423 cat confdefs.h >>conftest.$ac_ext
12424 cat >>conftest.$ac_ext <<_ACEOF
12425 /* end confdefs.h.  */
12426 #include <math.h>
12427                       #ifdef HAVE_IEEEFP_H
12428                       #include <ieeefp.h>
12429                       #endif
12430
12431 int
12432 main ()
12433 {
12434  isinff(0);
12435   ;
12436   return 0;
12437 }
12438 _ACEOF
12439 rm -f conftest.$ac_objext
12440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12441   (eval $ac_compile) 2>conftest.er1
12442   ac_status=$?
12443   grep -v '^ *+' conftest.er1 >conftest.err
12444   rm -f conftest.er1
12445   cat conftest.err >&5
12446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12447   (exit $ac_status); } &&
12448          { ac_try='test -z "$ac_cxx_werror_flag"
12449                          || test ! -s conftest.err'
12450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12451   (eval $ac_try) 2>&5
12452   ac_status=$?
12453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12454   (exit $ac_status); }; } &&
12455          { ac_try='test -s conftest.$ac_objext'
12456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12457   (eval $ac_try) 2>&5
12458   ac_status=$?
12459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12460   (exit $ac_status); }; }; then
12461   glibcxx_cv_func_isinff_use=yes
12462 else
12463   echo "$as_me: failed program was:" >&5
12464 sed 's/^/| /' conftest.$ac_ext >&5
12465
12466 glibcxx_cv_func_isinff_use=no
12467 fi
12468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12469       ac_ext=c
12470 ac_cpp='$CPP $CPPFLAGS'
12471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12474
12475
12476 fi
12477
12478   fi
12479   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
12480 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
12481
12482   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
12483
12484 for ac_func in isinff
12485 do
12486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12487 echo "$as_me:$LINENO: checking for $ac_func" >&5
12488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12489 if eval "test \"\${$as_ac_var+set}\" = set"; then
12490   echo $ECHO_N "(cached) $ECHO_C" >&6
12491 else
12492   if test x$gcc_no_link = xyes; then
12493   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12495    { (exit 1); exit 1; }; }
12496 fi
12497 cat >conftest.$ac_ext <<_ACEOF
12498 /* confdefs.h.  */
12499 _ACEOF
12500 cat confdefs.h >>conftest.$ac_ext
12501 cat >>conftest.$ac_ext <<_ACEOF
12502 /* end confdefs.h.  */
12503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12504    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12505 #define $ac_func innocuous_$ac_func
12506
12507 /* System header to define __stub macros and hopefully few prototypes,
12508     which can conflict with char $ac_func (); below.
12509     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12510     <limits.h> exists even on freestanding compilers.  */
12511
12512 #ifdef __STDC__
12513 # include <limits.h>
12514 #else
12515 # include <assert.h>
12516 #endif
12517
12518 #undef $ac_func
12519
12520 /* Override any gcc2 internal prototype to avoid an error.  */
12521 #ifdef __cplusplus
12522 extern "C"
12523 {
12524 #endif
12525 /* We use char because int might match the return type of a gcc2
12526    builtin and then its argument prototype would still apply.  */
12527 char $ac_func ();
12528 /* The GNU C library defines this for functions which it implements
12529     to always fail with ENOSYS.  Some functions are actually named
12530     something starting with __ and the normal name is an alias.  */
12531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12532 choke me
12533 #else
12534 char (*f) () = $ac_func;
12535 #endif
12536 #ifdef __cplusplus
12537 }
12538 #endif
12539
12540 int
12541 main ()
12542 {
12543 return f != $ac_func;
12544   ;
12545   return 0;
12546 }
12547 _ACEOF
12548 rm -f conftest.$ac_objext conftest$ac_exeext
12549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12550   (eval $ac_link) 2>conftest.er1
12551   ac_status=$?
12552   grep -v '^ *+' conftest.er1 >conftest.err
12553   rm -f conftest.er1
12554   cat conftest.err >&5
12555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12556   (exit $ac_status); } &&
12557          { ac_try='test -z "$ac_c_werror_flag"
12558                          || test ! -s conftest.err'
12559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12560   (eval $ac_try) 2>&5
12561   ac_status=$?
12562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12563   (exit $ac_status); }; } &&
12564          { ac_try='test -s conftest$ac_exeext'
12565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12566   (eval $ac_try) 2>&5
12567   ac_status=$?
12568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12569   (exit $ac_status); }; }; then
12570   eval "$as_ac_var=yes"
12571 else
12572   echo "$as_me: failed program was:" >&5
12573 sed 's/^/| /' conftest.$ac_ext >&5
12574
12575 eval "$as_ac_var=no"
12576 fi
12577 rm -f conftest.err conftest.$ac_objext \
12578       conftest$ac_exeext conftest.$ac_ext
12579 fi
12580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12582 if test `eval echo '${'$as_ac_var'}'` = yes; then
12583   cat >>confdefs.h <<_ACEOF
12584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12585 _ACEOF
12586
12587 fi
12588 done
12589
12590   else
12591
12592   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
12593 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
12594   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
12595     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
12596   echo $ECHO_N "(cached) $ECHO_C" >&6
12597 else
12598
12599
12600
12601       ac_ext=cc
12602 ac_cpp='$CXXCPP $CPPFLAGS'
12603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12606
12607       cat >conftest.$ac_ext <<_ACEOF
12608 /* confdefs.h.  */
12609 _ACEOF
12610 cat confdefs.h >>conftest.$ac_ext
12611 cat >>conftest.$ac_ext <<_ACEOF
12612 /* end confdefs.h.  */
12613 #include <math.h>
12614                       #ifdef HAVE_IEEEFP_H
12615                       #include <ieeefp.h>
12616                       #endif
12617
12618 int
12619 main ()
12620 {
12621  _isinff(0);
12622   ;
12623   return 0;
12624 }
12625 _ACEOF
12626 rm -f conftest.$ac_objext
12627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12628   (eval $ac_compile) 2>conftest.er1
12629   ac_status=$?
12630   grep -v '^ *+' conftest.er1 >conftest.err
12631   rm -f conftest.er1
12632   cat conftest.err >&5
12633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12634   (exit $ac_status); } &&
12635          { ac_try='test -z "$ac_cxx_werror_flag"
12636                          || test ! -s conftest.err'
12637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12638   (eval $ac_try) 2>&5
12639   ac_status=$?
12640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12641   (exit $ac_status); }; } &&
12642          { ac_try='test -s conftest.$ac_objext'
12643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12644   (eval $ac_try) 2>&5
12645   ac_status=$?
12646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12647   (exit $ac_status); }; }; then
12648   glibcxx_cv_func__isinff_use=yes
12649 else
12650   echo "$as_me: failed program was:" >&5
12651 sed 's/^/| /' conftest.$ac_ext >&5
12652
12653 glibcxx_cv_func__isinff_use=no
12654 fi
12655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12656       ac_ext=c
12657 ac_cpp='$CPP $CPPFLAGS'
12658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12661
12662
12663 fi
12664
12665   fi
12666   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
12667 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
12668
12669     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
12670
12671 for ac_func in _isinff
12672 do
12673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12674 echo "$as_me:$LINENO: checking for $ac_func" >&5
12675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12676 if eval "test \"\${$as_ac_var+set}\" = set"; then
12677   echo $ECHO_N "(cached) $ECHO_C" >&6
12678 else
12679   if test x$gcc_no_link = xyes; then
12680   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12682    { (exit 1); exit 1; }; }
12683 fi
12684 cat >conftest.$ac_ext <<_ACEOF
12685 /* confdefs.h.  */
12686 _ACEOF
12687 cat confdefs.h >>conftest.$ac_ext
12688 cat >>conftest.$ac_ext <<_ACEOF
12689 /* end confdefs.h.  */
12690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12691    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12692 #define $ac_func innocuous_$ac_func
12693
12694 /* System header to define __stub macros and hopefully few prototypes,
12695     which can conflict with char $ac_func (); below.
12696     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12697     <limits.h> exists even on freestanding compilers.  */
12698
12699 #ifdef __STDC__
12700 # include <limits.h>
12701 #else
12702 # include <assert.h>
12703 #endif
12704
12705 #undef $ac_func
12706
12707 /* Override any gcc2 internal prototype to avoid an error.  */
12708 #ifdef __cplusplus
12709 extern "C"
12710 {
12711 #endif
12712 /* We use char because int might match the return type of a gcc2
12713    builtin and then its argument prototype would still apply.  */
12714 char $ac_func ();
12715 /* The GNU C library defines this for functions which it implements
12716     to always fail with ENOSYS.  Some functions are actually named
12717     something starting with __ and the normal name is an alias.  */
12718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12719 choke me
12720 #else
12721 char (*f) () = $ac_func;
12722 #endif
12723 #ifdef __cplusplus
12724 }
12725 #endif
12726
12727 int
12728 main ()
12729 {
12730 return f != $ac_func;
12731   ;
12732   return 0;
12733 }
12734 _ACEOF
12735 rm -f conftest.$ac_objext conftest$ac_exeext
12736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12737   (eval $ac_link) 2>conftest.er1
12738   ac_status=$?
12739   grep -v '^ *+' conftest.er1 >conftest.err
12740   rm -f conftest.er1
12741   cat conftest.err >&5
12742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12743   (exit $ac_status); } &&
12744          { ac_try='test -z "$ac_c_werror_flag"
12745                          || test ! -s conftest.err'
12746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12747   (eval $ac_try) 2>&5
12748   ac_status=$?
12749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750   (exit $ac_status); }; } &&
12751          { ac_try='test -s conftest$ac_exeext'
12752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12753   (eval $ac_try) 2>&5
12754   ac_status=$?
12755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12756   (exit $ac_status); }; }; then
12757   eval "$as_ac_var=yes"
12758 else
12759   echo "$as_me: failed program was:" >&5
12760 sed 's/^/| /' conftest.$ac_ext >&5
12761
12762 eval "$as_ac_var=no"
12763 fi
12764 rm -f conftest.err conftest.$ac_objext \
12765       conftest$ac_exeext conftest.$ac_ext
12766 fi
12767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12769 if test `eval echo '${'$as_ac_var'}'` = yes; then
12770   cat >>confdefs.h <<_ACEOF
12771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12772 _ACEOF
12773
12774 fi
12775 done
12776
12777     fi
12778   fi
12779
12780
12781
12782   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
12783 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
12784   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
12785     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
12786   echo $ECHO_N "(cached) $ECHO_C" >&6
12787 else
12788
12789
12790
12791       ac_ext=cc
12792 ac_cpp='$CXXCPP $CPPFLAGS'
12793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12796
12797       cat >conftest.$ac_ext <<_ACEOF
12798 /* confdefs.h.  */
12799 _ACEOF
12800 cat confdefs.h >>conftest.$ac_ext
12801 cat >>conftest.$ac_ext <<_ACEOF
12802 /* end confdefs.h.  */
12803 #include <math.h>
12804 int
12805 main ()
12806 {
12807  atan2f(0, 0);
12808   ;
12809   return 0;
12810 }
12811 _ACEOF
12812 rm -f conftest.$ac_objext
12813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12814   (eval $ac_compile) 2>conftest.er1
12815   ac_status=$?
12816   grep -v '^ *+' conftest.er1 >conftest.err
12817   rm -f conftest.er1
12818   cat conftest.err >&5
12819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12820   (exit $ac_status); } &&
12821          { ac_try='test -z "$ac_cxx_werror_flag"
12822                          || test ! -s conftest.err'
12823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12824   (eval $ac_try) 2>&5
12825   ac_status=$?
12826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12827   (exit $ac_status); }; } &&
12828          { ac_try='test -s conftest.$ac_objext'
12829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12830   (eval $ac_try) 2>&5
12831   ac_status=$?
12832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12833   (exit $ac_status); }; }; then
12834   glibcxx_cv_func_atan2f_use=yes
12835 else
12836   echo "$as_me: failed program was:" >&5
12837 sed 's/^/| /' conftest.$ac_ext >&5
12838
12839 glibcxx_cv_func_atan2f_use=no
12840 fi
12841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12842       ac_ext=c
12843 ac_cpp='$CPP $CPPFLAGS'
12844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12847
12848
12849 fi
12850
12851   fi
12852   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
12853 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
12854
12855   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
12856
12857 for ac_func in atan2f
12858 do
12859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12860 echo "$as_me:$LINENO: checking for $ac_func" >&5
12861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12862 if eval "test \"\${$as_ac_var+set}\" = set"; then
12863   echo $ECHO_N "(cached) $ECHO_C" >&6
12864 else
12865   if test x$gcc_no_link = xyes; then
12866   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12868    { (exit 1); exit 1; }; }
12869 fi
12870 cat >conftest.$ac_ext <<_ACEOF
12871 /* confdefs.h.  */
12872 _ACEOF
12873 cat confdefs.h >>conftest.$ac_ext
12874 cat >>conftest.$ac_ext <<_ACEOF
12875 /* end confdefs.h.  */
12876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12877    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12878 #define $ac_func innocuous_$ac_func
12879
12880 /* System header to define __stub macros and hopefully few prototypes,
12881     which can conflict with char $ac_func (); below.
12882     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12883     <limits.h> exists even on freestanding compilers.  */
12884
12885 #ifdef __STDC__
12886 # include <limits.h>
12887 #else
12888 # include <assert.h>
12889 #endif
12890
12891 #undef $ac_func
12892
12893 /* Override any gcc2 internal prototype to avoid an error.  */
12894 #ifdef __cplusplus
12895 extern "C"
12896 {
12897 #endif
12898 /* We use char because int might match the return type of a gcc2
12899    builtin and then its argument prototype would still apply.  */
12900 char $ac_func ();
12901 /* The GNU C library defines this for functions which it implements
12902     to always fail with ENOSYS.  Some functions are actually named
12903     something starting with __ and the normal name is an alias.  */
12904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12905 choke me
12906 #else
12907 char (*f) () = $ac_func;
12908 #endif
12909 #ifdef __cplusplus
12910 }
12911 #endif
12912
12913 int
12914 main ()
12915 {
12916 return f != $ac_func;
12917   ;
12918   return 0;
12919 }
12920 _ACEOF
12921 rm -f conftest.$ac_objext conftest$ac_exeext
12922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12923   (eval $ac_link) 2>conftest.er1
12924   ac_status=$?
12925   grep -v '^ *+' conftest.er1 >conftest.err
12926   rm -f conftest.er1
12927   cat conftest.err >&5
12928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12929   (exit $ac_status); } &&
12930          { ac_try='test -z "$ac_c_werror_flag"
12931                          || test ! -s conftest.err'
12932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12933   (eval $ac_try) 2>&5
12934   ac_status=$?
12935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12936   (exit $ac_status); }; } &&
12937          { ac_try='test -s conftest$ac_exeext'
12938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12939   (eval $ac_try) 2>&5
12940   ac_status=$?
12941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12942   (exit $ac_status); }; }; then
12943   eval "$as_ac_var=yes"
12944 else
12945   echo "$as_me: failed program was:" >&5
12946 sed 's/^/| /' conftest.$ac_ext >&5
12947
12948 eval "$as_ac_var=no"
12949 fi
12950 rm -f conftest.err conftest.$ac_objext \
12951       conftest$ac_exeext conftest.$ac_ext
12952 fi
12953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12954 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12955 if test `eval echo '${'$as_ac_var'}'` = yes; then
12956   cat >>confdefs.h <<_ACEOF
12957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12958 _ACEOF
12959
12960 fi
12961 done
12962
12963   else
12964
12965   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
12966 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
12967   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
12968     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
12969   echo $ECHO_N "(cached) $ECHO_C" >&6
12970 else
12971
12972
12973
12974       ac_ext=cc
12975 ac_cpp='$CXXCPP $CPPFLAGS'
12976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12979
12980       cat >conftest.$ac_ext <<_ACEOF
12981 /* confdefs.h.  */
12982 _ACEOF
12983 cat confdefs.h >>conftest.$ac_ext
12984 cat >>conftest.$ac_ext <<_ACEOF
12985 /* end confdefs.h.  */
12986 #include <math.h>
12987 int
12988 main ()
12989 {
12990  _atan2f(0, 0);
12991   ;
12992   return 0;
12993 }
12994 _ACEOF
12995 rm -f conftest.$ac_objext
12996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12997   (eval $ac_compile) 2>conftest.er1
12998   ac_status=$?
12999   grep -v '^ *+' conftest.er1 >conftest.err
13000   rm -f conftest.er1
13001   cat conftest.err >&5
13002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13003   (exit $ac_status); } &&
13004          { ac_try='test -z "$ac_cxx_werror_flag"
13005                          || test ! -s conftest.err'
13006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13007   (eval $ac_try) 2>&5
13008   ac_status=$?
13009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13010   (exit $ac_status); }; } &&
13011          { ac_try='test -s conftest.$ac_objext'
13012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13013   (eval $ac_try) 2>&5
13014   ac_status=$?
13015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13016   (exit $ac_status); }; }; then
13017   glibcxx_cv_func__atan2f_use=yes
13018 else
13019   echo "$as_me: failed program was:" >&5
13020 sed 's/^/| /' conftest.$ac_ext >&5
13021
13022 glibcxx_cv_func__atan2f_use=no
13023 fi
13024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13025       ac_ext=c
13026 ac_cpp='$CPP $CPPFLAGS'
13027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13030
13031
13032 fi
13033
13034   fi
13035   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13036 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13037
13038     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13039
13040 for ac_func in _atan2f
13041 do
13042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13043 echo "$as_me:$LINENO: checking for $ac_func" >&5
13044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13045 if eval "test \"\${$as_ac_var+set}\" = set"; then
13046   echo $ECHO_N "(cached) $ECHO_C" >&6
13047 else
13048   if test x$gcc_no_link = xyes; then
13049   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13051    { (exit 1); exit 1; }; }
13052 fi
13053 cat >conftest.$ac_ext <<_ACEOF
13054 /* confdefs.h.  */
13055 _ACEOF
13056 cat confdefs.h >>conftest.$ac_ext
13057 cat >>conftest.$ac_ext <<_ACEOF
13058 /* end confdefs.h.  */
13059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13060    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13061 #define $ac_func innocuous_$ac_func
13062
13063 /* System header to define __stub macros and hopefully few prototypes,
13064     which can conflict with char $ac_func (); below.
13065     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13066     <limits.h> exists even on freestanding compilers.  */
13067
13068 #ifdef __STDC__
13069 # include <limits.h>
13070 #else
13071 # include <assert.h>
13072 #endif
13073
13074 #undef $ac_func
13075
13076 /* Override any gcc2 internal prototype to avoid an error.  */
13077 #ifdef __cplusplus
13078 extern "C"
13079 {
13080 #endif
13081 /* We use char because int might match the return type of a gcc2
13082    builtin and then its argument prototype would still apply.  */
13083 char $ac_func ();
13084 /* The GNU C library defines this for functions which it implements
13085     to always fail with ENOSYS.  Some functions are actually named
13086     something starting with __ and the normal name is an alias.  */
13087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13088 choke me
13089 #else
13090 char (*f) () = $ac_func;
13091 #endif
13092 #ifdef __cplusplus
13093 }
13094 #endif
13095
13096 int
13097 main ()
13098 {
13099 return f != $ac_func;
13100   ;
13101   return 0;
13102 }
13103 _ACEOF
13104 rm -f conftest.$ac_objext conftest$ac_exeext
13105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13106   (eval $ac_link) 2>conftest.er1
13107   ac_status=$?
13108   grep -v '^ *+' conftest.er1 >conftest.err
13109   rm -f conftest.er1
13110   cat conftest.err >&5
13111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13112   (exit $ac_status); } &&
13113          { ac_try='test -z "$ac_c_werror_flag"
13114                          || test ! -s conftest.err'
13115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13116   (eval $ac_try) 2>&5
13117   ac_status=$?
13118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13119   (exit $ac_status); }; } &&
13120          { ac_try='test -s conftest$ac_exeext'
13121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13122   (eval $ac_try) 2>&5
13123   ac_status=$?
13124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13125   (exit $ac_status); }; }; then
13126   eval "$as_ac_var=yes"
13127 else
13128   echo "$as_me: failed program was:" >&5
13129 sed 's/^/| /' conftest.$ac_ext >&5
13130
13131 eval "$as_ac_var=no"
13132 fi
13133 rm -f conftest.err conftest.$ac_objext \
13134       conftest$ac_exeext conftest.$ac_ext
13135 fi
13136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13138 if test `eval echo '${'$as_ac_var'}'` = yes; then
13139   cat >>confdefs.h <<_ACEOF
13140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13141 _ACEOF
13142
13143 fi
13144 done
13145
13146     fi
13147   fi
13148
13149
13150
13151   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13152 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13153   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13154     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13155   echo $ECHO_N "(cached) $ECHO_C" >&6
13156 else
13157
13158
13159
13160       ac_ext=cc
13161 ac_cpp='$CXXCPP $CPPFLAGS'
13162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13165
13166       cat >conftest.$ac_ext <<_ACEOF
13167 /* confdefs.h.  */
13168 _ACEOF
13169 cat confdefs.h >>conftest.$ac_ext
13170 cat >>conftest.$ac_ext <<_ACEOF
13171 /* end confdefs.h.  */
13172 #include <math.h>
13173                       #ifdef HAVE_IEEEFP_H
13174                       #include <ieeefp.h>
13175                       #endif
13176
13177 int
13178 main ()
13179 {
13180  fabsf(0);
13181   ;
13182   return 0;
13183 }
13184 _ACEOF
13185 rm -f conftest.$ac_objext
13186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13187   (eval $ac_compile) 2>conftest.er1
13188   ac_status=$?
13189   grep -v '^ *+' conftest.er1 >conftest.err
13190   rm -f conftest.er1
13191   cat conftest.err >&5
13192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13193   (exit $ac_status); } &&
13194          { ac_try='test -z "$ac_cxx_werror_flag"
13195                          || test ! -s conftest.err'
13196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13197   (eval $ac_try) 2>&5
13198   ac_status=$?
13199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13200   (exit $ac_status); }; } &&
13201          { ac_try='test -s conftest.$ac_objext'
13202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13203   (eval $ac_try) 2>&5
13204   ac_status=$?
13205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13206   (exit $ac_status); }; }; then
13207   glibcxx_cv_func_fabsf_use=yes
13208 else
13209   echo "$as_me: failed program was:" >&5
13210 sed 's/^/| /' conftest.$ac_ext >&5
13211
13212 glibcxx_cv_func_fabsf_use=no
13213 fi
13214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13215       ac_ext=c
13216 ac_cpp='$CPP $CPPFLAGS'
13217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13220
13221
13222 fi
13223
13224   fi
13225   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13226 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13227
13228   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13229
13230 for ac_func in fabsf
13231 do
13232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13233 echo "$as_me:$LINENO: checking for $ac_func" >&5
13234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13235 if eval "test \"\${$as_ac_var+set}\" = set"; then
13236   echo $ECHO_N "(cached) $ECHO_C" >&6
13237 else
13238   if test x$gcc_no_link = xyes; then
13239   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13241    { (exit 1); exit 1; }; }
13242 fi
13243 cat >conftest.$ac_ext <<_ACEOF
13244 /* confdefs.h.  */
13245 _ACEOF
13246 cat confdefs.h >>conftest.$ac_ext
13247 cat >>conftest.$ac_ext <<_ACEOF
13248 /* end confdefs.h.  */
13249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13250    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13251 #define $ac_func innocuous_$ac_func
13252
13253 /* System header to define __stub macros and hopefully few prototypes,
13254     which can conflict with char $ac_func (); below.
13255     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13256     <limits.h> exists even on freestanding compilers.  */
13257
13258 #ifdef __STDC__
13259 # include <limits.h>
13260 #else
13261 # include <assert.h>
13262 #endif
13263
13264 #undef $ac_func
13265
13266 /* Override any gcc2 internal prototype to avoid an error.  */
13267 #ifdef __cplusplus
13268 extern "C"
13269 {
13270 #endif
13271 /* We use char because int might match the return type of a gcc2
13272    builtin and then its argument prototype would still apply.  */
13273 char $ac_func ();
13274 /* The GNU C library defines this for functions which it implements
13275     to always fail with ENOSYS.  Some functions are actually named
13276     something starting with __ and the normal name is an alias.  */
13277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13278 choke me
13279 #else
13280 char (*f) () = $ac_func;
13281 #endif
13282 #ifdef __cplusplus
13283 }
13284 #endif
13285
13286 int
13287 main ()
13288 {
13289 return f != $ac_func;
13290   ;
13291   return 0;
13292 }
13293 _ACEOF
13294 rm -f conftest.$ac_objext conftest$ac_exeext
13295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13296   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
13317 else
13318   echo "$as_me: failed program was:" >&5
13319 sed 's/^/| /' conftest.$ac_ext >&5
13320
13321 eval "$as_ac_var=no"
13322 fi
13323 rm -f conftest.err conftest.$ac_objext \
13324       conftest$ac_exeext conftest.$ac_ext
13325 fi
13326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13328 if test `eval echo '${'$as_ac_var'}'` = yes; then
13329   cat >>confdefs.h <<_ACEOF
13330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13331 _ACEOF
13332
13333 fi
13334 done
13335
13336   else
13337
13338   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13339 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13340   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13341     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13342   echo $ECHO_N "(cached) $ECHO_C" >&6
13343 else
13344
13345
13346
13347       ac_ext=cc
13348 ac_cpp='$CXXCPP $CPPFLAGS'
13349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13352
13353       cat >conftest.$ac_ext <<_ACEOF
13354 /* confdefs.h.  */
13355 _ACEOF
13356 cat confdefs.h >>conftest.$ac_ext
13357 cat >>conftest.$ac_ext <<_ACEOF
13358 /* end confdefs.h.  */
13359 #include <math.h>
13360                       #ifdef HAVE_IEEEFP_H
13361                       #include <ieeefp.h>
13362                       #endif
13363
13364 int
13365 main ()
13366 {
13367  _fabsf(0);
13368   ;
13369   return 0;
13370 }
13371 _ACEOF
13372 rm -f conftest.$ac_objext
13373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13374   (eval $ac_compile) 2>conftest.er1
13375   ac_status=$?
13376   grep -v '^ *+' conftest.er1 >conftest.err
13377   rm -f conftest.er1
13378   cat conftest.err >&5
13379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13380   (exit $ac_status); } &&
13381          { ac_try='test -z "$ac_cxx_werror_flag"
13382                          || test ! -s conftest.err'
13383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13384   (eval $ac_try) 2>&5
13385   ac_status=$?
13386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13387   (exit $ac_status); }; } &&
13388          { ac_try='test -s conftest.$ac_objext'
13389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13390   (eval $ac_try) 2>&5
13391   ac_status=$?
13392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13393   (exit $ac_status); }; }; then
13394   glibcxx_cv_func__fabsf_use=yes
13395 else
13396   echo "$as_me: failed program was:" >&5
13397 sed 's/^/| /' conftest.$ac_ext >&5
13398
13399 glibcxx_cv_func__fabsf_use=no
13400 fi
13401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13402       ac_ext=c
13403 ac_cpp='$CPP $CPPFLAGS'
13404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13407
13408
13409 fi
13410
13411   fi
13412   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13413 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13414
13415     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13416
13417 for ac_func in _fabsf
13418 do
13419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13420 echo "$as_me:$LINENO: checking for $ac_func" >&5
13421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13422 if eval "test \"\${$as_ac_var+set}\" = set"; then
13423   echo $ECHO_N "(cached) $ECHO_C" >&6
13424 else
13425   if test x$gcc_no_link = xyes; then
13426   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13428    { (exit 1); exit 1; }; }
13429 fi
13430 cat >conftest.$ac_ext <<_ACEOF
13431 /* confdefs.h.  */
13432 _ACEOF
13433 cat confdefs.h >>conftest.$ac_ext
13434 cat >>conftest.$ac_ext <<_ACEOF
13435 /* end confdefs.h.  */
13436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13437    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13438 #define $ac_func innocuous_$ac_func
13439
13440 /* System header to define __stub macros and hopefully few prototypes,
13441     which can conflict with char $ac_func (); below.
13442     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13443     <limits.h> exists even on freestanding compilers.  */
13444
13445 #ifdef __STDC__
13446 # include <limits.h>
13447 #else
13448 # include <assert.h>
13449 #endif
13450
13451 #undef $ac_func
13452
13453 /* Override any gcc2 internal prototype to avoid an error.  */
13454 #ifdef __cplusplus
13455 extern "C"
13456 {
13457 #endif
13458 /* We use char because int might match the return type of a gcc2
13459    builtin and then its argument prototype would still apply.  */
13460 char $ac_func ();
13461 /* The GNU C library defines this for functions which it implements
13462     to always fail with ENOSYS.  Some functions are actually named
13463     something starting with __ and the normal name is an alias.  */
13464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13465 choke me
13466 #else
13467 char (*f) () = $ac_func;
13468 #endif
13469 #ifdef __cplusplus
13470 }
13471 #endif
13472
13473 int
13474 main ()
13475 {
13476 return f != $ac_func;
13477   ;
13478   return 0;
13479 }
13480 _ACEOF
13481 rm -f conftest.$ac_objext conftest$ac_exeext
13482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13483   (eval $ac_link) 2>conftest.er1
13484   ac_status=$?
13485   grep -v '^ *+' conftest.er1 >conftest.err
13486   rm -f conftest.er1
13487   cat conftest.err >&5
13488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13489   (exit $ac_status); } &&
13490          { ac_try='test -z "$ac_c_werror_flag"
13491                          || test ! -s conftest.err'
13492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13493   (eval $ac_try) 2>&5
13494   ac_status=$?
13495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13496   (exit $ac_status); }; } &&
13497          { ac_try='test -s conftest$ac_exeext'
13498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13499   (eval $ac_try) 2>&5
13500   ac_status=$?
13501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13502   (exit $ac_status); }; }; then
13503   eval "$as_ac_var=yes"
13504 else
13505   echo "$as_me: failed program was:" >&5
13506 sed 's/^/| /' conftest.$ac_ext >&5
13507
13508 eval "$as_ac_var=no"
13509 fi
13510 rm -f conftest.err conftest.$ac_objext \
13511       conftest$ac_exeext conftest.$ac_ext
13512 fi
13513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13515 if test `eval echo '${'$as_ac_var'}'` = yes; then
13516   cat >>confdefs.h <<_ACEOF
13517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13518 _ACEOF
13519
13520 fi
13521 done
13522
13523     fi
13524   fi
13525
13526
13527
13528   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
13529 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
13530   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
13531     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
13532   echo $ECHO_N "(cached) $ECHO_C" >&6
13533 else
13534
13535
13536
13537       ac_ext=cc
13538 ac_cpp='$CXXCPP $CPPFLAGS'
13539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13542
13543       cat >conftest.$ac_ext <<_ACEOF
13544 /* confdefs.h.  */
13545 _ACEOF
13546 cat confdefs.h >>conftest.$ac_ext
13547 cat >>conftest.$ac_ext <<_ACEOF
13548 /* end confdefs.h.  */
13549 #include <math.h>
13550 int
13551 main ()
13552 {
13553  fmodf(0, 0);
13554   ;
13555   return 0;
13556 }
13557 _ACEOF
13558 rm -f conftest.$ac_objext
13559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13560   (eval $ac_compile) 2>conftest.er1
13561   ac_status=$?
13562   grep -v '^ *+' conftest.er1 >conftest.err
13563   rm -f conftest.er1
13564   cat conftest.err >&5
13565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13566   (exit $ac_status); } &&
13567          { ac_try='test -z "$ac_cxx_werror_flag"
13568                          || test ! -s conftest.err'
13569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13570   (eval $ac_try) 2>&5
13571   ac_status=$?
13572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13573   (exit $ac_status); }; } &&
13574          { ac_try='test -s conftest.$ac_objext'
13575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13576   (eval $ac_try) 2>&5
13577   ac_status=$?
13578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13579   (exit $ac_status); }; }; then
13580   glibcxx_cv_func_fmodf_use=yes
13581 else
13582   echo "$as_me: failed program was:" >&5
13583 sed 's/^/| /' conftest.$ac_ext >&5
13584
13585 glibcxx_cv_func_fmodf_use=no
13586 fi
13587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13588       ac_ext=c
13589 ac_cpp='$CPP $CPPFLAGS'
13590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13593
13594
13595 fi
13596
13597   fi
13598   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
13599 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
13600
13601   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
13602
13603 for ac_func in fmodf
13604 do
13605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13606 echo "$as_me:$LINENO: checking for $ac_func" >&5
13607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13608 if eval "test \"\${$as_ac_var+set}\" = set"; then
13609   echo $ECHO_N "(cached) $ECHO_C" >&6
13610 else
13611   if test x$gcc_no_link = xyes; then
13612   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13614    { (exit 1); exit 1; }; }
13615 fi
13616 cat >conftest.$ac_ext <<_ACEOF
13617 /* confdefs.h.  */
13618 _ACEOF
13619 cat confdefs.h >>conftest.$ac_ext
13620 cat >>conftest.$ac_ext <<_ACEOF
13621 /* end confdefs.h.  */
13622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13623    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13624 #define $ac_func innocuous_$ac_func
13625
13626 /* System header to define __stub macros and hopefully few prototypes,
13627     which can conflict with char $ac_func (); below.
13628     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13629     <limits.h> exists even on freestanding compilers.  */
13630
13631 #ifdef __STDC__
13632 # include <limits.h>
13633 #else
13634 # include <assert.h>
13635 #endif
13636
13637 #undef $ac_func
13638
13639 /* Override any gcc2 internal prototype to avoid an error.  */
13640 #ifdef __cplusplus
13641 extern "C"
13642 {
13643 #endif
13644 /* We use char because int might match the return type of a gcc2
13645    builtin and then its argument prototype would still apply.  */
13646 char $ac_func ();
13647 /* The GNU C library defines this for functions which it implements
13648     to always fail with ENOSYS.  Some functions are actually named
13649     something starting with __ and the normal name is an alias.  */
13650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13651 choke me
13652 #else
13653 char (*f) () = $ac_func;
13654 #endif
13655 #ifdef __cplusplus
13656 }
13657 #endif
13658
13659 int
13660 main ()
13661 {
13662 return f != $ac_func;
13663   ;
13664   return 0;
13665 }
13666 _ACEOF
13667 rm -f conftest.$ac_objext conftest$ac_exeext
13668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13669   (eval $ac_link) 2>conftest.er1
13670   ac_status=$?
13671   grep -v '^ *+' conftest.er1 >conftest.err
13672   rm -f conftest.er1
13673   cat conftest.err >&5
13674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13675   (exit $ac_status); } &&
13676          { ac_try='test -z "$ac_c_werror_flag"
13677                          || test ! -s conftest.err'
13678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13679   (eval $ac_try) 2>&5
13680   ac_status=$?
13681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13682   (exit $ac_status); }; } &&
13683          { ac_try='test -s conftest$ac_exeext'
13684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13685   (eval $ac_try) 2>&5
13686   ac_status=$?
13687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13688   (exit $ac_status); }; }; then
13689   eval "$as_ac_var=yes"
13690 else
13691   echo "$as_me: failed program was:" >&5
13692 sed 's/^/| /' conftest.$ac_ext >&5
13693
13694 eval "$as_ac_var=no"
13695 fi
13696 rm -f conftest.err conftest.$ac_objext \
13697       conftest$ac_exeext conftest.$ac_ext
13698 fi
13699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13701 if test `eval echo '${'$as_ac_var'}'` = yes; then
13702   cat >>confdefs.h <<_ACEOF
13703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13704 _ACEOF
13705
13706 fi
13707 done
13708
13709   else
13710
13711   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
13712 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
13713   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
13714     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
13715   echo $ECHO_N "(cached) $ECHO_C" >&6
13716 else
13717
13718
13719
13720       ac_ext=cc
13721 ac_cpp='$CXXCPP $CPPFLAGS'
13722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13725
13726       cat >conftest.$ac_ext <<_ACEOF
13727 /* confdefs.h.  */
13728 _ACEOF
13729 cat confdefs.h >>conftest.$ac_ext
13730 cat >>conftest.$ac_ext <<_ACEOF
13731 /* end confdefs.h.  */
13732 #include <math.h>
13733 int
13734 main ()
13735 {
13736  _fmodf(0, 0);
13737   ;
13738   return 0;
13739 }
13740 _ACEOF
13741 rm -f conftest.$ac_objext
13742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13743   (eval $ac_compile) 2>conftest.er1
13744   ac_status=$?
13745   grep -v '^ *+' conftest.er1 >conftest.err
13746   rm -f conftest.er1
13747   cat conftest.err >&5
13748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13749   (exit $ac_status); } &&
13750          { ac_try='test -z "$ac_cxx_werror_flag"
13751                          || test ! -s conftest.err'
13752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13753   (eval $ac_try) 2>&5
13754   ac_status=$?
13755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13756   (exit $ac_status); }; } &&
13757          { ac_try='test -s conftest.$ac_objext'
13758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13759   (eval $ac_try) 2>&5
13760   ac_status=$?
13761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13762   (exit $ac_status); }; }; then
13763   glibcxx_cv_func__fmodf_use=yes
13764 else
13765   echo "$as_me: failed program was:" >&5
13766 sed 's/^/| /' conftest.$ac_ext >&5
13767
13768 glibcxx_cv_func__fmodf_use=no
13769 fi
13770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13771       ac_ext=c
13772 ac_cpp='$CPP $CPPFLAGS'
13773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13776
13777
13778 fi
13779
13780   fi
13781   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
13782 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
13783
13784     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
13785
13786 for ac_func in _fmodf
13787 do
13788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13789 echo "$as_me:$LINENO: checking for $ac_func" >&5
13790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13791 if eval "test \"\${$as_ac_var+set}\" = set"; then
13792   echo $ECHO_N "(cached) $ECHO_C" >&6
13793 else
13794   if test x$gcc_no_link = xyes; then
13795   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13797    { (exit 1); exit 1; }; }
13798 fi
13799 cat >conftest.$ac_ext <<_ACEOF
13800 /* confdefs.h.  */
13801 _ACEOF
13802 cat confdefs.h >>conftest.$ac_ext
13803 cat >>conftest.$ac_ext <<_ACEOF
13804 /* end confdefs.h.  */
13805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13806    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13807 #define $ac_func innocuous_$ac_func
13808
13809 /* System header to define __stub macros and hopefully few prototypes,
13810     which can conflict with char $ac_func (); below.
13811     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13812     <limits.h> exists even on freestanding compilers.  */
13813
13814 #ifdef __STDC__
13815 # include <limits.h>
13816 #else
13817 # include <assert.h>
13818 #endif
13819
13820 #undef $ac_func
13821
13822 /* Override any gcc2 internal prototype to avoid an error.  */
13823 #ifdef __cplusplus
13824 extern "C"
13825 {
13826 #endif
13827 /* We use char because int might match the return type of a gcc2
13828    builtin and then its argument prototype would still apply.  */
13829 char $ac_func ();
13830 /* The GNU C library defines this for functions which it implements
13831     to always fail with ENOSYS.  Some functions are actually named
13832     something starting with __ and the normal name is an alias.  */
13833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13834 choke me
13835 #else
13836 char (*f) () = $ac_func;
13837 #endif
13838 #ifdef __cplusplus
13839 }
13840 #endif
13841
13842 int
13843 main ()
13844 {
13845 return f != $ac_func;
13846   ;
13847   return 0;
13848 }
13849 _ACEOF
13850 rm -f conftest.$ac_objext conftest$ac_exeext
13851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13852   (eval $ac_link) 2>conftest.er1
13853   ac_status=$?
13854   grep -v '^ *+' conftest.er1 >conftest.err
13855   rm -f conftest.er1
13856   cat conftest.err >&5
13857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13858   (exit $ac_status); } &&
13859          { ac_try='test -z "$ac_c_werror_flag"
13860                          || test ! -s conftest.err'
13861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13862   (eval $ac_try) 2>&5
13863   ac_status=$?
13864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865   (exit $ac_status); }; } &&
13866          { ac_try='test -s conftest$ac_exeext'
13867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13868   (eval $ac_try) 2>&5
13869   ac_status=$?
13870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13871   (exit $ac_status); }; }; then
13872   eval "$as_ac_var=yes"
13873 else
13874   echo "$as_me: failed program was:" >&5
13875 sed 's/^/| /' conftest.$ac_ext >&5
13876
13877 eval "$as_ac_var=no"
13878 fi
13879 rm -f conftest.err conftest.$ac_objext \
13880       conftest$ac_exeext conftest.$ac_ext
13881 fi
13882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13884 if test `eval echo '${'$as_ac_var'}'` = yes; then
13885   cat >>confdefs.h <<_ACEOF
13886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13887 _ACEOF
13888
13889 fi
13890 done
13891
13892     fi
13893   fi
13894
13895
13896
13897   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
13898 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
13899   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
13900     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
13901   echo $ECHO_N "(cached) $ECHO_C" >&6
13902 else
13903
13904
13905
13906       ac_ext=cc
13907 ac_cpp='$CXXCPP $CPPFLAGS'
13908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13911
13912       cat >conftest.$ac_ext <<_ACEOF
13913 /* confdefs.h.  */
13914 _ACEOF
13915 cat confdefs.h >>conftest.$ac_ext
13916 cat >>conftest.$ac_ext <<_ACEOF
13917 /* end confdefs.h.  */
13918 #include <math.h>
13919 int
13920 main ()
13921 {
13922  frexpf(0, 0);
13923   ;
13924   return 0;
13925 }
13926 _ACEOF
13927 rm -f conftest.$ac_objext
13928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13929   (eval $ac_compile) 2>conftest.er1
13930   ac_status=$?
13931   grep -v '^ *+' conftest.er1 >conftest.err
13932   rm -f conftest.er1
13933   cat conftest.err >&5
13934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13935   (exit $ac_status); } &&
13936          { ac_try='test -z "$ac_cxx_werror_flag"
13937                          || test ! -s conftest.err'
13938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13939   (eval $ac_try) 2>&5
13940   ac_status=$?
13941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13942   (exit $ac_status); }; } &&
13943          { ac_try='test -s conftest.$ac_objext'
13944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13945   (eval $ac_try) 2>&5
13946   ac_status=$?
13947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13948   (exit $ac_status); }; }; then
13949   glibcxx_cv_func_frexpf_use=yes
13950 else
13951   echo "$as_me: failed program was:" >&5
13952 sed 's/^/| /' conftest.$ac_ext >&5
13953
13954 glibcxx_cv_func_frexpf_use=no
13955 fi
13956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13957       ac_ext=c
13958 ac_cpp='$CPP $CPPFLAGS'
13959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13962
13963
13964 fi
13965
13966   fi
13967   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
13968 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
13969
13970   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
13971
13972 for ac_func in frexpf
13973 do
13974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13975 echo "$as_me:$LINENO: checking for $ac_func" >&5
13976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13977 if eval "test \"\${$as_ac_var+set}\" = set"; then
13978   echo $ECHO_N "(cached) $ECHO_C" >&6
13979 else
13980   if test x$gcc_no_link = xyes; then
13981   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13983    { (exit 1); exit 1; }; }
13984 fi
13985 cat >conftest.$ac_ext <<_ACEOF
13986 /* confdefs.h.  */
13987 _ACEOF
13988 cat confdefs.h >>conftest.$ac_ext
13989 cat >>conftest.$ac_ext <<_ACEOF
13990 /* end confdefs.h.  */
13991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13992    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13993 #define $ac_func innocuous_$ac_func
13994
13995 /* System header to define __stub macros and hopefully few prototypes,
13996     which can conflict with char $ac_func (); below.
13997     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13998     <limits.h> exists even on freestanding compilers.  */
13999
14000 #ifdef __STDC__
14001 # include <limits.h>
14002 #else
14003 # include <assert.h>
14004 #endif
14005
14006 #undef $ac_func
14007
14008 /* Override any gcc2 internal prototype to avoid an error.  */
14009 #ifdef __cplusplus
14010 extern "C"
14011 {
14012 #endif
14013 /* We use char because int might match the return type of a gcc2
14014    builtin and then its argument prototype would still apply.  */
14015 char $ac_func ();
14016 /* The GNU C library defines this for functions which it implements
14017     to always fail with ENOSYS.  Some functions are actually named
14018     something starting with __ and the normal name is an alias.  */
14019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14020 choke me
14021 #else
14022 char (*f) () = $ac_func;
14023 #endif
14024 #ifdef __cplusplus
14025 }
14026 #endif
14027
14028 int
14029 main ()
14030 {
14031 return f != $ac_func;
14032   ;
14033   return 0;
14034 }
14035 _ACEOF
14036 rm -f conftest.$ac_objext conftest$ac_exeext
14037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14038   (eval $ac_link) 2>conftest.er1
14039   ac_status=$?
14040   grep -v '^ *+' conftest.er1 >conftest.err
14041   rm -f conftest.er1
14042   cat conftest.err >&5
14043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14044   (exit $ac_status); } &&
14045          { ac_try='test -z "$ac_c_werror_flag"
14046                          || test ! -s conftest.err'
14047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14048   (eval $ac_try) 2>&5
14049   ac_status=$?
14050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14051   (exit $ac_status); }; } &&
14052          { ac_try='test -s conftest$ac_exeext'
14053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14054   (eval $ac_try) 2>&5
14055   ac_status=$?
14056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14057   (exit $ac_status); }; }; then
14058   eval "$as_ac_var=yes"
14059 else
14060   echo "$as_me: failed program was:" >&5
14061 sed 's/^/| /' conftest.$ac_ext >&5
14062
14063 eval "$as_ac_var=no"
14064 fi
14065 rm -f conftest.err conftest.$ac_objext \
14066       conftest$ac_exeext conftest.$ac_ext
14067 fi
14068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14070 if test `eval echo '${'$as_ac_var'}'` = yes; then
14071   cat >>confdefs.h <<_ACEOF
14072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14073 _ACEOF
14074
14075 fi
14076 done
14077
14078   else
14079
14080   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14081 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14082   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14083     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14084   echo $ECHO_N "(cached) $ECHO_C" >&6
14085 else
14086
14087
14088
14089       ac_ext=cc
14090 ac_cpp='$CXXCPP $CPPFLAGS'
14091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14094
14095       cat >conftest.$ac_ext <<_ACEOF
14096 /* confdefs.h.  */
14097 _ACEOF
14098 cat confdefs.h >>conftest.$ac_ext
14099 cat >>conftest.$ac_ext <<_ACEOF
14100 /* end confdefs.h.  */
14101 #include <math.h>
14102 int
14103 main ()
14104 {
14105  _frexpf(0, 0);
14106   ;
14107   return 0;
14108 }
14109 _ACEOF
14110 rm -f conftest.$ac_objext
14111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14112   (eval $ac_compile) 2>conftest.er1
14113   ac_status=$?
14114   grep -v '^ *+' conftest.er1 >conftest.err
14115   rm -f conftest.er1
14116   cat conftest.err >&5
14117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14118   (exit $ac_status); } &&
14119          { ac_try='test -z "$ac_cxx_werror_flag"
14120                          || test ! -s conftest.err'
14121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14122   (eval $ac_try) 2>&5
14123   ac_status=$?
14124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14125   (exit $ac_status); }; } &&
14126          { ac_try='test -s conftest.$ac_objext'
14127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14128   (eval $ac_try) 2>&5
14129   ac_status=$?
14130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14131   (exit $ac_status); }; }; then
14132   glibcxx_cv_func__frexpf_use=yes
14133 else
14134   echo "$as_me: failed program was:" >&5
14135 sed 's/^/| /' conftest.$ac_ext >&5
14136
14137 glibcxx_cv_func__frexpf_use=no
14138 fi
14139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14140       ac_ext=c
14141 ac_cpp='$CPP $CPPFLAGS'
14142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14145
14146
14147 fi
14148
14149   fi
14150   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14151 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14152
14153     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14154
14155 for ac_func in _frexpf
14156 do
14157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14158 echo "$as_me:$LINENO: checking for $ac_func" >&5
14159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14160 if eval "test \"\${$as_ac_var+set}\" = set"; then
14161   echo $ECHO_N "(cached) $ECHO_C" >&6
14162 else
14163   if test x$gcc_no_link = xyes; then
14164   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14166    { (exit 1); exit 1; }; }
14167 fi
14168 cat >conftest.$ac_ext <<_ACEOF
14169 /* confdefs.h.  */
14170 _ACEOF
14171 cat confdefs.h >>conftest.$ac_ext
14172 cat >>conftest.$ac_ext <<_ACEOF
14173 /* end confdefs.h.  */
14174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14175    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14176 #define $ac_func innocuous_$ac_func
14177
14178 /* System header to define __stub macros and hopefully few prototypes,
14179     which can conflict with char $ac_func (); below.
14180     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14181     <limits.h> exists even on freestanding compilers.  */
14182
14183 #ifdef __STDC__
14184 # include <limits.h>
14185 #else
14186 # include <assert.h>
14187 #endif
14188
14189 #undef $ac_func
14190
14191 /* Override any gcc2 internal prototype to avoid an error.  */
14192 #ifdef __cplusplus
14193 extern "C"
14194 {
14195 #endif
14196 /* We use char because int might match the return type of a gcc2
14197    builtin and then its argument prototype would still apply.  */
14198 char $ac_func ();
14199 /* The GNU C library defines this for functions which it implements
14200     to always fail with ENOSYS.  Some functions are actually named
14201     something starting with __ and the normal name is an alias.  */
14202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14203 choke me
14204 #else
14205 char (*f) () = $ac_func;
14206 #endif
14207 #ifdef __cplusplus
14208 }
14209 #endif
14210
14211 int
14212 main ()
14213 {
14214 return f != $ac_func;
14215   ;
14216   return 0;
14217 }
14218 _ACEOF
14219 rm -f conftest.$ac_objext conftest$ac_exeext
14220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14221   (eval $ac_link) 2>conftest.er1
14222   ac_status=$?
14223   grep -v '^ *+' conftest.er1 >conftest.err
14224   rm -f conftest.er1
14225   cat conftest.err >&5
14226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14227   (exit $ac_status); } &&
14228          { ac_try='test -z "$ac_c_werror_flag"
14229                          || test ! -s conftest.err'
14230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14231   (eval $ac_try) 2>&5
14232   ac_status=$?
14233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234   (exit $ac_status); }; } &&
14235          { ac_try='test -s conftest$ac_exeext'
14236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14237   (eval $ac_try) 2>&5
14238   ac_status=$?
14239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14240   (exit $ac_status); }; }; then
14241   eval "$as_ac_var=yes"
14242 else
14243   echo "$as_me: failed program was:" >&5
14244 sed 's/^/| /' conftest.$ac_ext >&5
14245
14246 eval "$as_ac_var=no"
14247 fi
14248 rm -f conftest.err conftest.$ac_objext \
14249       conftest$ac_exeext conftest.$ac_ext
14250 fi
14251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14253 if test `eval echo '${'$as_ac_var'}'` = yes; then
14254   cat >>confdefs.h <<_ACEOF
14255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14256 _ACEOF
14257
14258 fi
14259 done
14260
14261     fi
14262   fi
14263
14264
14265
14266   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14267 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14268   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14269     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14270   echo $ECHO_N "(cached) $ECHO_C" >&6
14271 else
14272
14273
14274
14275       ac_ext=cc
14276 ac_cpp='$CXXCPP $CPPFLAGS'
14277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14280
14281       cat >conftest.$ac_ext <<_ACEOF
14282 /* confdefs.h.  */
14283 _ACEOF
14284 cat confdefs.h >>conftest.$ac_ext
14285 cat >>conftest.$ac_ext <<_ACEOF
14286 /* end confdefs.h.  */
14287 #include <math.h>
14288 int
14289 main ()
14290 {
14291  hypotf(0, 0);
14292   ;
14293   return 0;
14294 }
14295 _ACEOF
14296 rm -f conftest.$ac_objext
14297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14298   (eval $ac_compile) 2>conftest.er1
14299   ac_status=$?
14300   grep -v '^ *+' conftest.er1 >conftest.err
14301   rm -f conftest.er1
14302   cat conftest.err >&5
14303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14304   (exit $ac_status); } &&
14305          { ac_try='test -z "$ac_cxx_werror_flag"
14306                          || test ! -s conftest.err'
14307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14308   (eval $ac_try) 2>&5
14309   ac_status=$?
14310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311   (exit $ac_status); }; } &&
14312          { ac_try='test -s conftest.$ac_objext'
14313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14314   (eval $ac_try) 2>&5
14315   ac_status=$?
14316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317   (exit $ac_status); }; }; then
14318   glibcxx_cv_func_hypotf_use=yes
14319 else
14320   echo "$as_me: failed program was:" >&5
14321 sed 's/^/| /' conftest.$ac_ext >&5
14322
14323 glibcxx_cv_func_hypotf_use=no
14324 fi
14325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14326       ac_ext=c
14327 ac_cpp='$CPP $CPPFLAGS'
14328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14331
14332
14333 fi
14334
14335   fi
14336   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14337 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14338
14339   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14340
14341 for ac_func in hypotf
14342 do
14343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14344 echo "$as_me:$LINENO: checking for $ac_func" >&5
14345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14346 if eval "test \"\${$as_ac_var+set}\" = set"; then
14347   echo $ECHO_N "(cached) $ECHO_C" >&6
14348 else
14349   if test x$gcc_no_link = xyes; then
14350   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14352    { (exit 1); exit 1; }; }
14353 fi
14354 cat >conftest.$ac_ext <<_ACEOF
14355 /* confdefs.h.  */
14356 _ACEOF
14357 cat confdefs.h >>conftest.$ac_ext
14358 cat >>conftest.$ac_ext <<_ACEOF
14359 /* end confdefs.h.  */
14360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14361    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14362 #define $ac_func innocuous_$ac_func
14363
14364 /* System header to define __stub macros and hopefully few prototypes,
14365     which can conflict with char $ac_func (); below.
14366     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14367     <limits.h> exists even on freestanding compilers.  */
14368
14369 #ifdef __STDC__
14370 # include <limits.h>
14371 #else
14372 # include <assert.h>
14373 #endif
14374
14375 #undef $ac_func
14376
14377 /* Override any gcc2 internal prototype to avoid an error.  */
14378 #ifdef __cplusplus
14379 extern "C"
14380 {
14381 #endif
14382 /* We use char because int might match the return type of a gcc2
14383    builtin and then its argument prototype would still apply.  */
14384 char $ac_func ();
14385 /* The GNU C library defines this for functions which it implements
14386     to always fail with ENOSYS.  Some functions are actually named
14387     something starting with __ and the normal name is an alias.  */
14388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14389 choke me
14390 #else
14391 char (*f) () = $ac_func;
14392 #endif
14393 #ifdef __cplusplus
14394 }
14395 #endif
14396
14397 int
14398 main ()
14399 {
14400 return f != $ac_func;
14401   ;
14402   return 0;
14403 }
14404 _ACEOF
14405 rm -f conftest.$ac_objext conftest$ac_exeext
14406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14407   (eval $ac_link) 2>conftest.er1
14408   ac_status=$?
14409   grep -v '^ *+' conftest.er1 >conftest.err
14410   rm -f conftest.er1
14411   cat conftest.err >&5
14412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413   (exit $ac_status); } &&
14414          { ac_try='test -z "$ac_c_werror_flag"
14415                          || test ! -s conftest.err'
14416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14417   (eval $ac_try) 2>&5
14418   ac_status=$?
14419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14420   (exit $ac_status); }; } &&
14421          { ac_try='test -s conftest$ac_exeext'
14422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14423   (eval $ac_try) 2>&5
14424   ac_status=$?
14425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14426   (exit $ac_status); }; }; then
14427   eval "$as_ac_var=yes"
14428 else
14429   echo "$as_me: failed program was:" >&5
14430 sed 's/^/| /' conftest.$ac_ext >&5
14431
14432 eval "$as_ac_var=no"
14433 fi
14434 rm -f conftest.err conftest.$ac_objext \
14435       conftest$ac_exeext conftest.$ac_ext
14436 fi
14437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14439 if test `eval echo '${'$as_ac_var'}'` = yes; then
14440   cat >>confdefs.h <<_ACEOF
14441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14442 _ACEOF
14443
14444 fi
14445 done
14446
14447   else
14448
14449   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14450 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14451   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14452     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14453   echo $ECHO_N "(cached) $ECHO_C" >&6
14454 else
14455
14456
14457
14458       ac_ext=cc
14459 ac_cpp='$CXXCPP $CPPFLAGS'
14460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14463
14464       cat >conftest.$ac_ext <<_ACEOF
14465 /* confdefs.h.  */
14466 _ACEOF
14467 cat confdefs.h >>conftest.$ac_ext
14468 cat >>conftest.$ac_ext <<_ACEOF
14469 /* end confdefs.h.  */
14470 #include <math.h>
14471 int
14472 main ()
14473 {
14474  _hypotf(0, 0);
14475   ;
14476   return 0;
14477 }
14478 _ACEOF
14479 rm -f conftest.$ac_objext
14480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14481   (eval $ac_compile) 2>conftest.er1
14482   ac_status=$?
14483   grep -v '^ *+' conftest.er1 >conftest.err
14484   rm -f conftest.er1
14485   cat conftest.err >&5
14486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14487   (exit $ac_status); } &&
14488          { ac_try='test -z "$ac_cxx_werror_flag"
14489                          || test ! -s conftest.err'
14490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14491   (eval $ac_try) 2>&5
14492   ac_status=$?
14493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14494   (exit $ac_status); }; } &&
14495          { ac_try='test -s conftest.$ac_objext'
14496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14497   (eval $ac_try) 2>&5
14498   ac_status=$?
14499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14500   (exit $ac_status); }; }; then
14501   glibcxx_cv_func__hypotf_use=yes
14502 else
14503   echo "$as_me: failed program was:" >&5
14504 sed 's/^/| /' conftest.$ac_ext >&5
14505
14506 glibcxx_cv_func__hypotf_use=no
14507 fi
14508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14509       ac_ext=c
14510 ac_cpp='$CPP $CPPFLAGS'
14511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14514
14515
14516 fi
14517
14518   fi
14519   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
14520 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
14521
14522     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
14523
14524 for ac_func in _hypotf
14525 do
14526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14527 echo "$as_me:$LINENO: checking for $ac_func" >&5
14528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14529 if eval "test \"\${$as_ac_var+set}\" = set"; then
14530   echo $ECHO_N "(cached) $ECHO_C" >&6
14531 else
14532   if test x$gcc_no_link = xyes; then
14533   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14535    { (exit 1); exit 1; }; }
14536 fi
14537 cat >conftest.$ac_ext <<_ACEOF
14538 /* confdefs.h.  */
14539 _ACEOF
14540 cat confdefs.h >>conftest.$ac_ext
14541 cat >>conftest.$ac_ext <<_ACEOF
14542 /* end confdefs.h.  */
14543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14544    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14545 #define $ac_func innocuous_$ac_func
14546
14547 /* System header to define __stub macros and hopefully few prototypes,
14548     which can conflict with char $ac_func (); below.
14549     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14550     <limits.h> exists even on freestanding compilers.  */
14551
14552 #ifdef __STDC__
14553 # include <limits.h>
14554 #else
14555 # include <assert.h>
14556 #endif
14557
14558 #undef $ac_func
14559
14560 /* Override any gcc2 internal prototype to avoid an error.  */
14561 #ifdef __cplusplus
14562 extern "C"
14563 {
14564 #endif
14565 /* We use char because int might match the return type of a gcc2
14566    builtin and then its argument prototype would still apply.  */
14567 char $ac_func ();
14568 /* The GNU C library defines this for functions which it implements
14569     to always fail with ENOSYS.  Some functions are actually named
14570     something starting with __ and the normal name is an alias.  */
14571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14572 choke me
14573 #else
14574 char (*f) () = $ac_func;
14575 #endif
14576 #ifdef __cplusplus
14577 }
14578 #endif
14579
14580 int
14581 main ()
14582 {
14583 return f != $ac_func;
14584   ;
14585   return 0;
14586 }
14587 _ACEOF
14588 rm -f conftest.$ac_objext conftest$ac_exeext
14589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14590   (eval $ac_link) 2>conftest.er1
14591   ac_status=$?
14592   grep -v '^ *+' conftest.er1 >conftest.err
14593   rm -f conftest.er1
14594   cat conftest.err >&5
14595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596   (exit $ac_status); } &&
14597          { ac_try='test -z "$ac_c_werror_flag"
14598                          || test ! -s conftest.err'
14599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14600   (eval $ac_try) 2>&5
14601   ac_status=$?
14602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603   (exit $ac_status); }; } &&
14604          { ac_try='test -s conftest$ac_exeext'
14605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14606   (eval $ac_try) 2>&5
14607   ac_status=$?
14608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14609   (exit $ac_status); }; }; then
14610   eval "$as_ac_var=yes"
14611 else
14612   echo "$as_me: failed program was:" >&5
14613 sed 's/^/| /' conftest.$ac_ext >&5
14614
14615 eval "$as_ac_var=no"
14616 fi
14617 rm -f conftest.err conftest.$ac_objext \
14618       conftest$ac_exeext conftest.$ac_ext
14619 fi
14620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14622 if test `eval echo '${'$as_ac_var'}'` = yes; then
14623   cat >>confdefs.h <<_ACEOF
14624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14625 _ACEOF
14626
14627 fi
14628 done
14629
14630     fi
14631   fi
14632
14633
14634
14635   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
14636 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
14637   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
14638     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
14639   echo $ECHO_N "(cached) $ECHO_C" >&6
14640 else
14641
14642
14643
14644       ac_ext=cc
14645 ac_cpp='$CXXCPP $CPPFLAGS'
14646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14649
14650       cat >conftest.$ac_ext <<_ACEOF
14651 /* confdefs.h.  */
14652 _ACEOF
14653 cat confdefs.h >>conftest.$ac_ext
14654 cat >>conftest.$ac_ext <<_ACEOF
14655 /* end confdefs.h.  */
14656 #include <math.h>
14657 int
14658 main ()
14659 {
14660  ldexpf(0, 0);
14661   ;
14662   return 0;
14663 }
14664 _ACEOF
14665 rm -f conftest.$ac_objext
14666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14667   (eval $ac_compile) 2>conftest.er1
14668   ac_status=$?
14669   grep -v '^ *+' conftest.er1 >conftest.err
14670   rm -f conftest.er1
14671   cat conftest.err >&5
14672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14673   (exit $ac_status); } &&
14674          { ac_try='test -z "$ac_cxx_werror_flag"
14675                          || test ! -s conftest.err'
14676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14677   (eval $ac_try) 2>&5
14678   ac_status=$?
14679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14680   (exit $ac_status); }; } &&
14681          { ac_try='test -s conftest.$ac_objext'
14682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14683   (eval $ac_try) 2>&5
14684   ac_status=$?
14685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14686   (exit $ac_status); }; }; then
14687   glibcxx_cv_func_ldexpf_use=yes
14688 else
14689   echo "$as_me: failed program was:" >&5
14690 sed 's/^/| /' conftest.$ac_ext >&5
14691
14692 glibcxx_cv_func_ldexpf_use=no
14693 fi
14694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14695       ac_ext=c
14696 ac_cpp='$CPP $CPPFLAGS'
14697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14700
14701
14702 fi
14703
14704   fi
14705   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
14706 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
14707
14708   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
14709
14710 for ac_func in ldexpf
14711 do
14712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14713 echo "$as_me:$LINENO: checking for $ac_func" >&5
14714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14715 if eval "test \"\${$as_ac_var+set}\" = set"; then
14716   echo $ECHO_N "(cached) $ECHO_C" >&6
14717 else
14718   if test x$gcc_no_link = xyes; then
14719   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14721    { (exit 1); exit 1; }; }
14722 fi
14723 cat >conftest.$ac_ext <<_ACEOF
14724 /* confdefs.h.  */
14725 _ACEOF
14726 cat confdefs.h >>conftest.$ac_ext
14727 cat >>conftest.$ac_ext <<_ACEOF
14728 /* end confdefs.h.  */
14729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14730    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14731 #define $ac_func innocuous_$ac_func
14732
14733 /* System header to define __stub macros and hopefully few prototypes,
14734     which can conflict with char $ac_func (); below.
14735     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14736     <limits.h> exists even on freestanding compilers.  */
14737
14738 #ifdef __STDC__
14739 # include <limits.h>
14740 #else
14741 # include <assert.h>
14742 #endif
14743
14744 #undef $ac_func
14745
14746 /* Override any gcc2 internal prototype to avoid an error.  */
14747 #ifdef __cplusplus
14748 extern "C"
14749 {
14750 #endif
14751 /* We use char because int might match the return type of a gcc2
14752    builtin and then its argument prototype would still apply.  */
14753 char $ac_func ();
14754 /* The GNU C library defines this for functions which it implements
14755     to always fail with ENOSYS.  Some functions are actually named
14756     something starting with __ and the normal name is an alias.  */
14757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14758 choke me
14759 #else
14760 char (*f) () = $ac_func;
14761 #endif
14762 #ifdef __cplusplus
14763 }
14764 #endif
14765
14766 int
14767 main ()
14768 {
14769 return f != $ac_func;
14770   ;
14771   return 0;
14772 }
14773 _ACEOF
14774 rm -f conftest.$ac_objext conftest$ac_exeext
14775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14776   (eval $ac_link) 2>conftest.er1
14777   ac_status=$?
14778   grep -v '^ *+' conftest.er1 >conftest.err
14779   rm -f conftest.er1
14780   cat conftest.err >&5
14781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14782   (exit $ac_status); } &&
14783          { ac_try='test -z "$ac_c_werror_flag"
14784                          || test ! -s conftest.err'
14785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14786   (eval $ac_try) 2>&5
14787   ac_status=$?
14788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14789   (exit $ac_status); }; } &&
14790          { ac_try='test -s conftest$ac_exeext'
14791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14792   (eval $ac_try) 2>&5
14793   ac_status=$?
14794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14795   (exit $ac_status); }; }; then
14796   eval "$as_ac_var=yes"
14797 else
14798   echo "$as_me: failed program was:" >&5
14799 sed 's/^/| /' conftest.$ac_ext >&5
14800
14801 eval "$as_ac_var=no"
14802 fi
14803 rm -f conftest.err conftest.$ac_objext \
14804       conftest$ac_exeext conftest.$ac_ext
14805 fi
14806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14808 if test `eval echo '${'$as_ac_var'}'` = yes; then
14809   cat >>confdefs.h <<_ACEOF
14810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14811 _ACEOF
14812
14813 fi
14814 done
14815
14816   else
14817
14818   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
14819 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
14820   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
14821     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
14822   echo $ECHO_N "(cached) $ECHO_C" >&6
14823 else
14824
14825
14826
14827       ac_ext=cc
14828 ac_cpp='$CXXCPP $CPPFLAGS'
14829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14832
14833       cat >conftest.$ac_ext <<_ACEOF
14834 /* confdefs.h.  */
14835 _ACEOF
14836 cat confdefs.h >>conftest.$ac_ext
14837 cat >>conftest.$ac_ext <<_ACEOF
14838 /* end confdefs.h.  */
14839 #include <math.h>
14840 int
14841 main ()
14842 {
14843  _ldexpf(0, 0);
14844   ;
14845   return 0;
14846 }
14847 _ACEOF
14848 rm -f conftest.$ac_objext
14849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14850   (eval $ac_compile) 2>conftest.er1
14851   ac_status=$?
14852   grep -v '^ *+' conftest.er1 >conftest.err
14853   rm -f conftest.er1
14854   cat conftest.err >&5
14855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14856   (exit $ac_status); } &&
14857          { ac_try='test -z "$ac_cxx_werror_flag"
14858                          || test ! -s conftest.err'
14859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14860   (eval $ac_try) 2>&5
14861   ac_status=$?
14862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14863   (exit $ac_status); }; } &&
14864          { ac_try='test -s conftest.$ac_objext'
14865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14866   (eval $ac_try) 2>&5
14867   ac_status=$?
14868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14869   (exit $ac_status); }; }; then
14870   glibcxx_cv_func__ldexpf_use=yes
14871 else
14872   echo "$as_me: failed program was:" >&5
14873 sed 's/^/| /' conftest.$ac_ext >&5
14874
14875 glibcxx_cv_func__ldexpf_use=no
14876 fi
14877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14878       ac_ext=c
14879 ac_cpp='$CPP $CPPFLAGS'
14880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14883
14884
14885 fi
14886
14887   fi
14888   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
14889 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
14890
14891     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
14892
14893 for ac_func in _ldexpf
14894 do
14895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14896 echo "$as_me:$LINENO: checking for $ac_func" >&5
14897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14898 if eval "test \"\${$as_ac_var+set}\" = set"; then
14899   echo $ECHO_N "(cached) $ECHO_C" >&6
14900 else
14901   if test x$gcc_no_link = xyes; then
14902   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14904    { (exit 1); exit 1; }; }
14905 fi
14906 cat >conftest.$ac_ext <<_ACEOF
14907 /* confdefs.h.  */
14908 _ACEOF
14909 cat confdefs.h >>conftest.$ac_ext
14910 cat >>conftest.$ac_ext <<_ACEOF
14911 /* end confdefs.h.  */
14912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14913    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14914 #define $ac_func innocuous_$ac_func
14915
14916 /* System header to define __stub macros and hopefully few prototypes,
14917     which can conflict with char $ac_func (); below.
14918     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14919     <limits.h> exists even on freestanding compilers.  */
14920
14921 #ifdef __STDC__
14922 # include <limits.h>
14923 #else
14924 # include <assert.h>
14925 #endif
14926
14927 #undef $ac_func
14928
14929 /* Override any gcc2 internal prototype to avoid an error.  */
14930 #ifdef __cplusplus
14931 extern "C"
14932 {
14933 #endif
14934 /* We use char because int might match the return type of a gcc2
14935    builtin and then its argument prototype would still apply.  */
14936 char $ac_func ();
14937 /* The GNU C library defines this for functions which it implements
14938     to always fail with ENOSYS.  Some functions are actually named
14939     something starting with __ and the normal name is an alias.  */
14940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14941 choke me
14942 #else
14943 char (*f) () = $ac_func;
14944 #endif
14945 #ifdef __cplusplus
14946 }
14947 #endif
14948
14949 int
14950 main ()
14951 {
14952 return f != $ac_func;
14953   ;
14954   return 0;
14955 }
14956 _ACEOF
14957 rm -f conftest.$ac_objext conftest$ac_exeext
14958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14959   (eval $ac_link) 2>conftest.er1
14960   ac_status=$?
14961   grep -v '^ *+' conftest.er1 >conftest.err
14962   rm -f conftest.er1
14963   cat conftest.err >&5
14964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14965   (exit $ac_status); } &&
14966          { ac_try='test -z "$ac_c_werror_flag"
14967                          || test ! -s conftest.err'
14968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14969   (eval $ac_try) 2>&5
14970   ac_status=$?
14971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14972   (exit $ac_status); }; } &&
14973          { ac_try='test -s conftest$ac_exeext'
14974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14975   (eval $ac_try) 2>&5
14976   ac_status=$?
14977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14978   (exit $ac_status); }; }; then
14979   eval "$as_ac_var=yes"
14980 else
14981   echo "$as_me: failed program was:" >&5
14982 sed 's/^/| /' conftest.$ac_ext >&5
14983
14984 eval "$as_ac_var=no"
14985 fi
14986 rm -f conftest.err conftest.$ac_objext \
14987       conftest$ac_exeext conftest.$ac_ext
14988 fi
14989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14991 if test `eval echo '${'$as_ac_var'}'` = yes; then
14992   cat >>confdefs.h <<_ACEOF
14993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14994 _ACEOF
14995
14996 fi
14997 done
14998
14999     fi
15000   fi
15001
15002
15003
15004   echo "$as_me:$LINENO: checking for logf declaration" >&5
15005 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15006   if test x${glibcxx_cv_func_logf_use+set} != xset; then
15007     if test "${glibcxx_cv_func_logf_use+set}" = set; then
15008   echo $ECHO_N "(cached) $ECHO_C" >&6
15009 else
15010
15011
15012
15013       ac_ext=cc
15014 ac_cpp='$CXXCPP $CPPFLAGS'
15015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15018
15019       cat >conftest.$ac_ext <<_ACEOF
15020 /* confdefs.h.  */
15021 _ACEOF
15022 cat confdefs.h >>conftest.$ac_ext
15023 cat >>conftest.$ac_ext <<_ACEOF
15024 /* end confdefs.h.  */
15025 #include <math.h>
15026                       #ifdef HAVE_IEEEFP_H
15027                       #include <ieeefp.h>
15028                       #endif
15029
15030 int
15031 main ()
15032 {
15033  logf(0);
15034   ;
15035   return 0;
15036 }
15037 _ACEOF
15038 rm -f conftest.$ac_objext
15039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15040   (eval $ac_compile) 2>conftest.er1
15041   ac_status=$?
15042   grep -v '^ *+' conftest.er1 >conftest.err
15043   rm -f conftest.er1
15044   cat conftest.err >&5
15045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15046   (exit $ac_status); } &&
15047          { ac_try='test -z "$ac_cxx_werror_flag"
15048                          || test ! -s conftest.err'
15049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15050   (eval $ac_try) 2>&5
15051   ac_status=$?
15052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15053   (exit $ac_status); }; } &&
15054          { ac_try='test -s conftest.$ac_objext'
15055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15056   (eval $ac_try) 2>&5
15057   ac_status=$?
15058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15059   (exit $ac_status); }; }; then
15060   glibcxx_cv_func_logf_use=yes
15061 else
15062   echo "$as_me: failed program was:" >&5
15063 sed 's/^/| /' conftest.$ac_ext >&5
15064
15065 glibcxx_cv_func_logf_use=no
15066 fi
15067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15068       ac_ext=c
15069 ac_cpp='$CPP $CPPFLAGS'
15070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15073
15074
15075 fi
15076
15077   fi
15078   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15079 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15080
15081   if test x$glibcxx_cv_func_logf_use = x"yes"; then
15082
15083 for ac_func in logf
15084 do
15085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15086 echo "$as_me:$LINENO: checking for $ac_func" >&5
15087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15088 if eval "test \"\${$as_ac_var+set}\" = set"; then
15089   echo $ECHO_N "(cached) $ECHO_C" >&6
15090 else
15091   if test x$gcc_no_link = xyes; then
15092   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15094    { (exit 1); exit 1; }; }
15095 fi
15096 cat >conftest.$ac_ext <<_ACEOF
15097 /* confdefs.h.  */
15098 _ACEOF
15099 cat confdefs.h >>conftest.$ac_ext
15100 cat >>conftest.$ac_ext <<_ACEOF
15101 /* end confdefs.h.  */
15102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15103    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15104 #define $ac_func innocuous_$ac_func
15105
15106 /* System header to define __stub macros and hopefully few prototypes,
15107     which can conflict with char $ac_func (); below.
15108     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15109     <limits.h> exists even on freestanding compilers.  */
15110
15111 #ifdef __STDC__
15112 # include <limits.h>
15113 #else
15114 # include <assert.h>
15115 #endif
15116
15117 #undef $ac_func
15118
15119 /* Override any gcc2 internal prototype to avoid an error.  */
15120 #ifdef __cplusplus
15121 extern "C"
15122 {
15123 #endif
15124 /* We use char because int might match the return type of a gcc2
15125    builtin and then its argument prototype would still apply.  */
15126 char $ac_func ();
15127 /* The GNU C library defines this for functions which it implements
15128     to always fail with ENOSYS.  Some functions are actually named
15129     something starting with __ and the normal name is an alias.  */
15130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15131 choke me
15132 #else
15133 char (*f) () = $ac_func;
15134 #endif
15135 #ifdef __cplusplus
15136 }
15137 #endif
15138
15139 int
15140 main ()
15141 {
15142 return f != $ac_func;
15143   ;
15144   return 0;
15145 }
15146 _ACEOF
15147 rm -f conftest.$ac_objext conftest$ac_exeext
15148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15149   (eval $ac_link) 2>conftest.er1
15150   ac_status=$?
15151   grep -v '^ *+' conftest.er1 >conftest.err
15152   rm -f conftest.er1
15153   cat conftest.err >&5
15154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15155   (exit $ac_status); } &&
15156          { ac_try='test -z "$ac_c_werror_flag"
15157                          || test ! -s conftest.err'
15158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15159   (eval $ac_try) 2>&5
15160   ac_status=$?
15161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15162   (exit $ac_status); }; } &&
15163          { ac_try='test -s conftest$ac_exeext'
15164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15165   (eval $ac_try) 2>&5
15166   ac_status=$?
15167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15168   (exit $ac_status); }; }; then
15169   eval "$as_ac_var=yes"
15170 else
15171   echo "$as_me: failed program was:" >&5
15172 sed 's/^/| /' conftest.$ac_ext >&5
15173
15174 eval "$as_ac_var=no"
15175 fi
15176 rm -f conftest.err conftest.$ac_objext \
15177       conftest$ac_exeext conftest.$ac_ext
15178 fi
15179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15181 if test `eval echo '${'$as_ac_var'}'` = yes; then
15182   cat >>confdefs.h <<_ACEOF
15183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15184 _ACEOF
15185
15186 fi
15187 done
15188
15189   else
15190
15191   echo "$as_me:$LINENO: checking for _logf declaration" >&5
15192 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15193   if test x${glibcxx_cv_func__logf_use+set} != xset; then
15194     if test "${glibcxx_cv_func__logf_use+set}" = set; then
15195   echo $ECHO_N "(cached) $ECHO_C" >&6
15196 else
15197
15198
15199
15200       ac_ext=cc
15201 ac_cpp='$CXXCPP $CPPFLAGS'
15202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15205
15206       cat >conftest.$ac_ext <<_ACEOF
15207 /* confdefs.h.  */
15208 _ACEOF
15209 cat confdefs.h >>conftest.$ac_ext
15210 cat >>conftest.$ac_ext <<_ACEOF
15211 /* end confdefs.h.  */
15212 #include <math.h>
15213                       #ifdef HAVE_IEEEFP_H
15214                       #include <ieeefp.h>
15215                       #endif
15216
15217 int
15218 main ()
15219 {
15220  _logf(0);
15221   ;
15222   return 0;
15223 }
15224 _ACEOF
15225 rm -f conftest.$ac_objext
15226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15227   (eval $ac_compile) 2>conftest.er1
15228   ac_status=$?
15229   grep -v '^ *+' conftest.er1 >conftest.err
15230   rm -f conftest.er1
15231   cat conftest.err >&5
15232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15233   (exit $ac_status); } &&
15234          { ac_try='test -z "$ac_cxx_werror_flag"
15235                          || test ! -s conftest.err'
15236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15237   (eval $ac_try) 2>&5
15238   ac_status=$?
15239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15240   (exit $ac_status); }; } &&
15241          { ac_try='test -s conftest.$ac_objext'
15242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15243   (eval $ac_try) 2>&5
15244   ac_status=$?
15245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15246   (exit $ac_status); }; }; then
15247   glibcxx_cv_func__logf_use=yes
15248 else
15249   echo "$as_me: failed program was:" >&5
15250 sed 's/^/| /' conftest.$ac_ext >&5
15251
15252 glibcxx_cv_func__logf_use=no
15253 fi
15254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15255       ac_ext=c
15256 ac_cpp='$CPP $CPPFLAGS'
15257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15260
15261
15262 fi
15263
15264   fi
15265   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15266 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15267
15268     if test x$glibcxx_cv_func__logf_use = x"yes"; then
15269
15270 for ac_func in _logf
15271 do
15272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15273 echo "$as_me:$LINENO: checking for $ac_func" >&5
15274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15275 if eval "test \"\${$as_ac_var+set}\" = set"; then
15276   echo $ECHO_N "(cached) $ECHO_C" >&6
15277 else
15278   if test x$gcc_no_link = xyes; then
15279   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15281    { (exit 1); exit 1; }; }
15282 fi
15283 cat >conftest.$ac_ext <<_ACEOF
15284 /* confdefs.h.  */
15285 _ACEOF
15286 cat confdefs.h >>conftest.$ac_ext
15287 cat >>conftest.$ac_ext <<_ACEOF
15288 /* end confdefs.h.  */
15289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15290    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15291 #define $ac_func innocuous_$ac_func
15292
15293 /* System header to define __stub macros and hopefully few prototypes,
15294     which can conflict with char $ac_func (); below.
15295     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15296     <limits.h> exists even on freestanding compilers.  */
15297
15298 #ifdef __STDC__
15299 # include <limits.h>
15300 #else
15301 # include <assert.h>
15302 #endif
15303
15304 #undef $ac_func
15305
15306 /* Override any gcc2 internal prototype to avoid an error.  */
15307 #ifdef __cplusplus
15308 extern "C"
15309 {
15310 #endif
15311 /* We use char because int might match the return type of a gcc2
15312    builtin and then its argument prototype would still apply.  */
15313 char $ac_func ();
15314 /* The GNU C library defines this for functions which it implements
15315     to always fail with ENOSYS.  Some functions are actually named
15316     something starting with __ and the normal name is an alias.  */
15317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15318 choke me
15319 #else
15320 char (*f) () = $ac_func;
15321 #endif
15322 #ifdef __cplusplus
15323 }
15324 #endif
15325
15326 int
15327 main ()
15328 {
15329 return f != $ac_func;
15330   ;
15331   return 0;
15332 }
15333 _ACEOF
15334 rm -f conftest.$ac_objext conftest$ac_exeext
15335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15336   (eval $ac_link) 2>conftest.er1
15337   ac_status=$?
15338   grep -v '^ *+' conftest.er1 >conftest.err
15339   rm -f conftest.er1
15340   cat conftest.err >&5
15341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15342   (exit $ac_status); } &&
15343          { ac_try='test -z "$ac_c_werror_flag"
15344                          || test ! -s conftest.err'
15345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15346   (eval $ac_try) 2>&5
15347   ac_status=$?
15348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15349   (exit $ac_status); }; } &&
15350          { ac_try='test -s conftest$ac_exeext'
15351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15352   (eval $ac_try) 2>&5
15353   ac_status=$?
15354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15355   (exit $ac_status); }; }; then
15356   eval "$as_ac_var=yes"
15357 else
15358   echo "$as_me: failed program was:" >&5
15359 sed 's/^/| /' conftest.$ac_ext >&5
15360
15361 eval "$as_ac_var=no"
15362 fi
15363 rm -f conftest.err conftest.$ac_objext \
15364       conftest$ac_exeext conftest.$ac_ext
15365 fi
15366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15368 if test `eval echo '${'$as_ac_var'}'` = yes; then
15369   cat >>confdefs.h <<_ACEOF
15370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15371 _ACEOF
15372
15373 fi
15374 done
15375
15376     fi
15377   fi
15378
15379
15380
15381   echo "$as_me:$LINENO: checking for log10f declaration" >&5
15382 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15383   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15384     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15385   echo $ECHO_N "(cached) $ECHO_C" >&6
15386 else
15387
15388
15389
15390       ac_ext=cc
15391 ac_cpp='$CXXCPP $CPPFLAGS'
15392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15395
15396       cat >conftest.$ac_ext <<_ACEOF
15397 /* confdefs.h.  */
15398 _ACEOF
15399 cat confdefs.h >>conftest.$ac_ext
15400 cat >>conftest.$ac_ext <<_ACEOF
15401 /* end confdefs.h.  */
15402 #include <math.h>
15403                       #ifdef HAVE_IEEEFP_H
15404                       #include <ieeefp.h>
15405                       #endif
15406
15407 int
15408 main ()
15409 {
15410  log10f(0);
15411   ;
15412   return 0;
15413 }
15414 _ACEOF
15415 rm -f conftest.$ac_objext
15416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15417   (eval $ac_compile) 2>conftest.er1
15418   ac_status=$?
15419   grep -v '^ *+' conftest.er1 >conftest.err
15420   rm -f conftest.er1
15421   cat conftest.err >&5
15422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15423   (exit $ac_status); } &&
15424          { ac_try='test -z "$ac_cxx_werror_flag"
15425                          || test ! -s conftest.err'
15426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15427   (eval $ac_try) 2>&5
15428   ac_status=$?
15429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15430   (exit $ac_status); }; } &&
15431          { ac_try='test -s conftest.$ac_objext'
15432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15433   (eval $ac_try) 2>&5
15434   ac_status=$?
15435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15436   (exit $ac_status); }; }; then
15437   glibcxx_cv_func_log10f_use=yes
15438 else
15439   echo "$as_me: failed program was:" >&5
15440 sed 's/^/| /' conftest.$ac_ext >&5
15441
15442 glibcxx_cv_func_log10f_use=no
15443 fi
15444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15445       ac_ext=c
15446 ac_cpp='$CPP $CPPFLAGS'
15447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15450
15451
15452 fi
15453
15454   fi
15455   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
15456 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
15457
15458   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
15459
15460 for ac_func in log10f
15461 do
15462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15463 echo "$as_me:$LINENO: checking for $ac_func" >&5
15464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15465 if eval "test \"\${$as_ac_var+set}\" = set"; then
15466   echo $ECHO_N "(cached) $ECHO_C" >&6
15467 else
15468   if test x$gcc_no_link = xyes; then
15469   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15471    { (exit 1); exit 1; }; }
15472 fi
15473 cat >conftest.$ac_ext <<_ACEOF
15474 /* confdefs.h.  */
15475 _ACEOF
15476 cat confdefs.h >>conftest.$ac_ext
15477 cat >>conftest.$ac_ext <<_ACEOF
15478 /* end confdefs.h.  */
15479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15480    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15481 #define $ac_func innocuous_$ac_func
15482
15483 /* System header to define __stub macros and hopefully few prototypes,
15484     which can conflict with char $ac_func (); below.
15485     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15486     <limits.h> exists even on freestanding compilers.  */
15487
15488 #ifdef __STDC__
15489 # include <limits.h>
15490 #else
15491 # include <assert.h>
15492 #endif
15493
15494 #undef $ac_func
15495
15496 /* Override any gcc2 internal prototype to avoid an error.  */
15497 #ifdef __cplusplus
15498 extern "C"
15499 {
15500 #endif
15501 /* We use char because int might match the return type of a gcc2
15502    builtin and then its argument prototype would still apply.  */
15503 char $ac_func ();
15504 /* The GNU C library defines this for functions which it implements
15505     to always fail with ENOSYS.  Some functions are actually named
15506     something starting with __ and the normal name is an alias.  */
15507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15508 choke me
15509 #else
15510 char (*f) () = $ac_func;
15511 #endif
15512 #ifdef __cplusplus
15513 }
15514 #endif
15515
15516 int
15517 main ()
15518 {
15519 return f != $ac_func;
15520   ;
15521   return 0;
15522 }
15523 _ACEOF
15524 rm -f conftest.$ac_objext conftest$ac_exeext
15525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15526   (eval $ac_link) 2>conftest.er1
15527   ac_status=$?
15528   grep -v '^ *+' conftest.er1 >conftest.err
15529   rm -f conftest.er1
15530   cat conftest.err >&5
15531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15532   (exit $ac_status); } &&
15533          { ac_try='test -z "$ac_c_werror_flag"
15534                          || test ! -s conftest.err'
15535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15536   (eval $ac_try) 2>&5
15537   ac_status=$?
15538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15539   (exit $ac_status); }; } &&
15540          { ac_try='test -s conftest$ac_exeext'
15541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15542   (eval $ac_try) 2>&5
15543   ac_status=$?
15544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545   (exit $ac_status); }; }; then
15546   eval "$as_ac_var=yes"
15547 else
15548   echo "$as_me: failed program was:" >&5
15549 sed 's/^/| /' conftest.$ac_ext >&5
15550
15551 eval "$as_ac_var=no"
15552 fi
15553 rm -f conftest.err conftest.$ac_objext \
15554       conftest$ac_exeext conftest.$ac_ext
15555 fi
15556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15558 if test `eval echo '${'$as_ac_var'}'` = yes; then
15559   cat >>confdefs.h <<_ACEOF
15560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15561 _ACEOF
15562
15563 fi
15564 done
15565
15566   else
15567
15568   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
15569 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
15570   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
15571     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
15572   echo $ECHO_N "(cached) $ECHO_C" >&6
15573 else
15574
15575
15576
15577       ac_ext=cc
15578 ac_cpp='$CXXCPP $CPPFLAGS'
15579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15582
15583       cat >conftest.$ac_ext <<_ACEOF
15584 /* confdefs.h.  */
15585 _ACEOF
15586 cat confdefs.h >>conftest.$ac_ext
15587 cat >>conftest.$ac_ext <<_ACEOF
15588 /* end confdefs.h.  */
15589 #include <math.h>
15590                       #ifdef HAVE_IEEEFP_H
15591                       #include <ieeefp.h>
15592                       #endif
15593
15594 int
15595 main ()
15596 {
15597  _log10f(0);
15598   ;
15599   return 0;
15600 }
15601 _ACEOF
15602 rm -f conftest.$ac_objext
15603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15604   (eval $ac_compile) 2>conftest.er1
15605   ac_status=$?
15606   grep -v '^ *+' conftest.er1 >conftest.err
15607   rm -f conftest.er1
15608   cat conftest.err >&5
15609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15610   (exit $ac_status); } &&
15611          { ac_try='test -z "$ac_cxx_werror_flag"
15612                          || test ! -s conftest.err'
15613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15614   (eval $ac_try) 2>&5
15615   ac_status=$?
15616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15617   (exit $ac_status); }; } &&
15618          { ac_try='test -s conftest.$ac_objext'
15619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15620   (eval $ac_try) 2>&5
15621   ac_status=$?
15622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15623   (exit $ac_status); }; }; then
15624   glibcxx_cv_func__log10f_use=yes
15625 else
15626   echo "$as_me: failed program was:" >&5
15627 sed 's/^/| /' conftest.$ac_ext >&5
15628
15629 glibcxx_cv_func__log10f_use=no
15630 fi
15631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15632       ac_ext=c
15633 ac_cpp='$CPP $CPPFLAGS'
15634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15637
15638
15639 fi
15640
15641   fi
15642   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
15643 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
15644
15645     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
15646
15647 for ac_func in _log10f
15648 do
15649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15650 echo "$as_me:$LINENO: checking for $ac_func" >&5
15651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15652 if eval "test \"\${$as_ac_var+set}\" = set"; then
15653   echo $ECHO_N "(cached) $ECHO_C" >&6
15654 else
15655   if test x$gcc_no_link = xyes; then
15656   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15658    { (exit 1); exit 1; }; }
15659 fi
15660 cat >conftest.$ac_ext <<_ACEOF
15661 /* confdefs.h.  */
15662 _ACEOF
15663 cat confdefs.h >>conftest.$ac_ext
15664 cat >>conftest.$ac_ext <<_ACEOF
15665 /* end confdefs.h.  */
15666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15667    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15668 #define $ac_func innocuous_$ac_func
15669
15670 /* System header to define __stub macros and hopefully few prototypes,
15671     which can conflict with char $ac_func (); below.
15672     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15673     <limits.h> exists even on freestanding compilers.  */
15674
15675 #ifdef __STDC__
15676 # include <limits.h>
15677 #else
15678 # include <assert.h>
15679 #endif
15680
15681 #undef $ac_func
15682
15683 /* Override any gcc2 internal prototype to avoid an error.  */
15684 #ifdef __cplusplus
15685 extern "C"
15686 {
15687 #endif
15688 /* We use char because int might match the return type of a gcc2
15689    builtin and then its argument prototype would still apply.  */
15690 char $ac_func ();
15691 /* The GNU C library defines this for functions which it implements
15692     to always fail with ENOSYS.  Some functions are actually named
15693     something starting with __ and the normal name is an alias.  */
15694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15695 choke me
15696 #else
15697 char (*f) () = $ac_func;
15698 #endif
15699 #ifdef __cplusplus
15700 }
15701 #endif
15702
15703 int
15704 main ()
15705 {
15706 return f != $ac_func;
15707   ;
15708   return 0;
15709 }
15710 _ACEOF
15711 rm -f conftest.$ac_objext conftest$ac_exeext
15712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15713   (eval $ac_link) 2>conftest.er1
15714   ac_status=$?
15715   grep -v '^ *+' conftest.er1 >conftest.err
15716   rm -f conftest.er1
15717   cat conftest.err >&5
15718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15719   (exit $ac_status); } &&
15720          { ac_try='test -z "$ac_c_werror_flag"
15721                          || test ! -s conftest.err'
15722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15723   (eval $ac_try) 2>&5
15724   ac_status=$?
15725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15726   (exit $ac_status); }; } &&
15727          { ac_try='test -s conftest$ac_exeext'
15728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15729   (eval $ac_try) 2>&5
15730   ac_status=$?
15731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15732   (exit $ac_status); }; }; then
15733   eval "$as_ac_var=yes"
15734 else
15735   echo "$as_me: failed program was:" >&5
15736 sed 's/^/| /' conftest.$ac_ext >&5
15737
15738 eval "$as_ac_var=no"
15739 fi
15740 rm -f conftest.err conftest.$ac_objext \
15741       conftest$ac_exeext conftest.$ac_ext
15742 fi
15743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15745 if test `eval echo '${'$as_ac_var'}'` = yes; then
15746   cat >>confdefs.h <<_ACEOF
15747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15748 _ACEOF
15749
15750 fi
15751 done
15752
15753     fi
15754   fi
15755
15756
15757
15758   echo "$as_me:$LINENO: checking for modff declaration" >&5
15759 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
15760   if test x${glibcxx_cv_func_modff_use+set} != xset; then
15761     if test "${glibcxx_cv_func_modff_use+set}" = set; then
15762   echo $ECHO_N "(cached) $ECHO_C" >&6
15763 else
15764
15765
15766
15767       ac_ext=cc
15768 ac_cpp='$CXXCPP $CPPFLAGS'
15769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15772
15773       cat >conftest.$ac_ext <<_ACEOF
15774 /* confdefs.h.  */
15775 _ACEOF
15776 cat confdefs.h >>conftest.$ac_ext
15777 cat >>conftest.$ac_ext <<_ACEOF
15778 /* end confdefs.h.  */
15779 #include <math.h>
15780 int
15781 main ()
15782 {
15783  modff(0, 0);
15784   ;
15785   return 0;
15786 }
15787 _ACEOF
15788 rm -f conftest.$ac_objext
15789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15790   (eval $ac_compile) 2>conftest.er1
15791   ac_status=$?
15792   grep -v '^ *+' conftest.er1 >conftest.err
15793   rm -f conftest.er1
15794   cat conftest.err >&5
15795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15796   (exit $ac_status); } &&
15797          { ac_try='test -z "$ac_cxx_werror_flag"
15798                          || test ! -s conftest.err'
15799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15800   (eval $ac_try) 2>&5
15801   ac_status=$?
15802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15803   (exit $ac_status); }; } &&
15804          { ac_try='test -s conftest.$ac_objext'
15805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15806   (eval $ac_try) 2>&5
15807   ac_status=$?
15808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15809   (exit $ac_status); }; }; then
15810   glibcxx_cv_func_modff_use=yes
15811 else
15812   echo "$as_me: failed program was:" >&5
15813 sed 's/^/| /' conftest.$ac_ext >&5
15814
15815 glibcxx_cv_func_modff_use=no
15816 fi
15817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15818       ac_ext=c
15819 ac_cpp='$CPP $CPPFLAGS'
15820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15823
15824
15825 fi
15826
15827   fi
15828   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
15829 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
15830
15831   if test x$glibcxx_cv_func_modff_use = x"yes"; then
15832
15833 for ac_func in modff
15834 do
15835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15836 echo "$as_me:$LINENO: checking for $ac_func" >&5
15837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15838 if eval "test \"\${$as_ac_var+set}\" = set"; then
15839   echo $ECHO_N "(cached) $ECHO_C" >&6
15840 else
15841   if test x$gcc_no_link = xyes; then
15842   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15844    { (exit 1); exit 1; }; }
15845 fi
15846 cat >conftest.$ac_ext <<_ACEOF
15847 /* confdefs.h.  */
15848 _ACEOF
15849 cat confdefs.h >>conftest.$ac_ext
15850 cat >>conftest.$ac_ext <<_ACEOF
15851 /* end confdefs.h.  */
15852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15853    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15854 #define $ac_func innocuous_$ac_func
15855
15856 /* System header to define __stub macros and hopefully few prototypes,
15857     which can conflict with char $ac_func (); below.
15858     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15859     <limits.h> exists even on freestanding compilers.  */
15860
15861 #ifdef __STDC__
15862 # include <limits.h>
15863 #else
15864 # include <assert.h>
15865 #endif
15866
15867 #undef $ac_func
15868
15869 /* Override any gcc2 internal prototype to avoid an error.  */
15870 #ifdef __cplusplus
15871 extern "C"
15872 {
15873 #endif
15874 /* We use char because int might match the return type of a gcc2
15875    builtin and then its argument prototype would still apply.  */
15876 char $ac_func ();
15877 /* The GNU C library defines this for functions which it implements
15878     to always fail with ENOSYS.  Some functions are actually named
15879     something starting with __ and the normal name is an alias.  */
15880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15881 choke me
15882 #else
15883 char (*f) () = $ac_func;
15884 #endif
15885 #ifdef __cplusplus
15886 }
15887 #endif
15888
15889 int
15890 main ()
15891 {
15892 return f != $ac_func;
15893   ;
15894   return 0;
15895 }
15896 _ACEOF
15897 rm -f conftest.$ac_objext conftest$ac_exeext
15898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15899   (eval $ac_link) 2>conftest.er1
15900   ac_status=$?
15901   grep -v '^ *+' conftest.er1 >conftest.err
15902   rm -f conftest.er1
15903   cat conftest.err >&5
15904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15905   (exit $ac_status); } &&
15906          { ac_try='test -z "$ac_c_werror_flag"
15907                          || test ! -s conftest.err'
15908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15909   (eval $ac_try) 2>&5
15910   ac_status=$?
15911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15912   (exit $ac_status); }; } &&
15913          { ac_try='test -s conftest$ac_exeext'
15914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15915   (eval $ac_try) 2>&5
15916   ac_status=$?
15917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15918   (exit $ac_status); }; }; then
15919   eval "$as_ac_var=yes"
15920 else
15921   echo "$as_me: failed program was:" >&5
15922 sed 's/^/| /' conftest.$ac_ext >&5
15923
15924 eval "$as_ac_var=no"
15925 fi
15926 rm -f conftest.err conftest.$ac_objext \
15927       conftest$ac_exeext conftest.$ac_ext
15928 fi
15929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15931 if test `eval echo '${'$as_ac_var'}'` = yes; then
15932   cat >>confdefs.h <<_ACEOF
15933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15934 _ACEOF
15935
15936 fi
15937 done
15938
15939   else
15940
15941   echo "$as_me:$LINENO: checking for _modff declaration" >&5
15942 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
15943   if test x${glibcxx_cv_func__modff_use+set} != xset; then
15944     if test "${glibcxx_cv_func__modff_use+set}" = set; then
15945   echo $ECHO_N "(cached) $ECHO_C" >&6
15946 else
15947
15948
15949
15950       ac_ext=cc
15951 ac_cpp='$CXXCPP $CPPFLAGS'
15952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15955
15956       cat >conftest.$ac_ext <<_ACEOF
15957 /* confdefs.h.  */
15958 _ACEOF
15959 cat confdefs.h >>conftest.$ac_ext
15960 cat >>conftest.$ac_ext <<_ACEOF
15961 /* end confdefs.h.  */
15962 #include <math.h>
15963 int
15964 main ()
15965 {
15966  _modff(0, 0);
15967   ;
15968   return 0;
15969 }
15970 _ACEOF
15971 rm -f conftest.$ac_objext
15972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15973   (eval $ac_compile) 2>conftest.er1
15974   ac_status=$?
15975   grep -v '^ *+' conftest.er1 >conftest.err
15976   rm -f conftest.er1
15977   cat conftest.err >&5
15978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15979   (exit $ac_status); } &&
15980          { ac_try='test -z "$ac_cxx_werror_flag"
15981                          || test ! -s conftest.err'
15982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15983   (eval $ac_try) 2>&5
15984   ac_status=$?
15985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15986   (exit $ac_status); }; } &&
15987          { ac_try='test -s conftest.$ac_objext'
15988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15989   (eval $ac_try) 2>&5
15990   ac_status=$?
15991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15992   (exit $ac_status); }; }; then
15993   glibcxx_cv_func__modff_use=yes
15994 else
15995   echo "$as_me: failed program was:" >&5
15996 sed 's/^/| /' conftest.$ac_ext >&5
15997
15998 glibcxx_cv_func__modff_use=no
15999 fi
16000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16001       ac_ext=c
16002 ac_cpp='$CPP $CPPFLAGS'
16003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16006
16007
16008 fi
16009
16010   fi
16011   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16012 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16013
16014     if test x$glibcxx_cv_func__modff_use = x"yes"; then
16015
16016 for ac_func in _modff
16017 do
16018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16019 echo "$as_me:$LINENO: checking for $ac_func" >&5
16020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16021 if eval "test \"\${$as_ac_var+set}\" = set"; then
16022   echo $ECHO_N "(cached) $ECHO_C" >&6
16023 else
16024   if test x$gcc_no_link = xyes; then
16025   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16027    { (exit 1); exit 1; }; }
16028 fi
16029 cat >conftest.$ac_ext <<_ACEOF
16030 /* confdefs.h.  */
16031 _ACEOF
16032 cat confdefs.h >>conftest.$ac_ext
16033 cat >>conftest.$ac_ext <<_ACEOF
16034 /* end confdefs.h.  */
16035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16036    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16037 #define $ac_func innocuous_$ac_func
16038
16039 /* System header to define __stub macros and hopefully few prototypes,
16040     which can conflict with char $ac_func (); below.
16041     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16042     <limits.h> exists even on freestanding compilers.  */
16043
16044 #ifdef __STDC__
16045 # include <limits.h>
16046 #else
16047 # include <assert.h>
16048 #endif
16049
16050 #undef $ac_func
16051
16052 /* Override any gcc2 internal prototype to avoid an error.  */
16053 #ifdef __cplusplus
16054 extern "C"
16055 {
16056 #endif
16057 /* We use char because int might match the return type of a gcc2
16058    builtin and then its argument prototype would still apply.  */
16059 char $ac_func ();
16060 /* The GNU C library defines this for functions which it implements
16061     to always fail with ENOSYS.  Some functions are actually named
16062     something starting with __ and the normal name is an alias.  */
16063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16064 choke me
16065 #else
16066 char (*f) () = $ac_func;
16067 #endif
16068 #ifdef __cplusplus
16069 }
16070 #endif
16071
16072 int
16073 main ()
16074 {
16075 return f != $ac_func;
16076   ;
16077   return 0;
16078 }
16079 _ACEOF
16080 rm -f conftest.$ac_objext conftest$ac_exeext
16081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16082   (eval $ac_link) 2>conftest.er1
16083   ac_status=$?
16084   grep -v '^ *+' conftest.er1 >conftest.err
16085   rm -f conftest.er1
16086   cat conftest.err >&5
16087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16088   (exit $ac_status); } &&
16089          { ac_try='test -z "$ac_c_werror_flag"
16090                          || test ! -s conftest.err'
16091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16092   (eval $ac_try) 2>&5
16093   ac_status=$?
16094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095   (exit $ac_status); }; } &&
16096          { ac_try='test -s conftest$ac_exeext'
16097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16098   (eval $ac_try) 2>&5
16099   ac_status=$?
16100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101   (exit $ac_status); }; }; then
16102   eval "$as_ac_var=yes"
16103 else
16104   echo "$as_me: failed program was:" >&5
16105 sed 's/^/| /' conftest.$ac_ext >&5
16106
16107 eval "$as_ac_var=no"
16108 fi
16109 rm -f conftest.err conftest.$ac_objext \
16110       conftest$ac_exeext conftest.$ac_ext
16111 fi
16112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16114 if test `eval echo '${'$as_ac_var'}'` = yes; then
16115   cat >>confdefs.h <<_ACEOF
16116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16117 _ACEOF
16118
16119 fi
16120 done
16121
16122     fi
16123   fi
16124
16125
16126
16127   echo "$as_me:$LINENO: checking for powf declaration" >&5
16128 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
16129   if test x${glibcxx_cv_func_powf_use+set} != xset; then
16130     if test "${glibcxx_cv_func_powf_use+set}" = set; then
16131   echo $ECHO_N "(cached) $ECHO_C" >&6
16132 else
16133
16134
16135
16136       ac_ext=cc
16137 ac_cpp='$CXXCPP $CPPFLAGS'
16138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16141
16142       cat >conftest.$ac_ext <<_ACEOF
16143 /* confdefs.h.  */
16144 _ACEOF
16145 cat confdefs.h >>conftest.$ac_ext
16146 cat >>conftest.$ac_ext <<_ACEOF
16147 /* end confdefs.h.  */
16148 #include <math.h>
16149 int
16150 main ()
16151 {
16152  powf(0, 0);
16153   ;
16154   return 0;
16155 }
16156 _ACEOF
16157 rm -f conftest.$ac_objext
16158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16159   (eval $ac_compile) 2>conftest.er1
16160   ac_status=$?
16161   grep -v '^ *+' conftest.er1 >conftest.err
16162   rm -f conftest.er1
16163   cat conftest.err >&5
16164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16165   (exit $ac_status); } &&
16166          { ac_try='test -z "$ac_cxx_werror_flag"
16167                          || test ! -s conftest.err'
16168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16169   (eval $ac_try) 2>&5
16170   ac_status=$?
16171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16172   (exit $ac_status); }; } &&
16173          { ac_try='test -s conftest.$ac_objext'
16174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16175   (eval $ac_try) 2>&5
16176   ac_status=$?
16177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16178   (exit $ac_status); }; }; then
16179   glibcxx_cv_func_powf_use=yes
16180 else
16181   echo "$as_me: failed program was:" >&5
16182 sed 's/^/| /' conftest.$ac_ext >&5
16183
16184 glibcxx_cv_func_powf_use=no
16185 fi
16186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16187       ac_ext=c
16188 ac_cpp='$CPP $CPPFLAGS'
16189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16192
16193
16194 fi
16195
16196   fi
16197   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
16198 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
16199
16200   if test x$glibcxx_cv_func_powf_use = x"yes"; then
16201
16202 for ac_func in powf
16203 do
16204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16205 echo "$as_me:$LINENO: checking for $ac_func" >&5
16206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16207 if eval "test \"\${$as_ac_var+set}\" = set"; then
16208   echo $ECHO_N "(cached) $ECHO_C" >&6
16209 else
16210   if test x$gcc_no_link = xyes; then
16211   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16213    { (exit 1); exit 1; }; }
16214 fi
16215 cat >conftest.$ac_ext <<_ACEOF
16216 /* confdefs.h.  */
16217 _ACEOF
16218 cat confdefs.h >>conftest.$ac_ext
16219 cat >>conftest.$ac_ext <<_ACEOF
16220 /* end confdefs.h.  */
16221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16222    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16223 #define $ac_func innocuous_$ac_func
16224
16225 /* System header to define __stub macros and hopefully few prototypes,
16226     which can conflict with char $ac_func (); below.
16227     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16228     <limits.h> exists even on freestanding compilers.  */
16229
16230 #ifdef __STDC__
16231 # include <limits.h>
16232 #else
16233 # include <assert.h>
16234 #endif
16235
16236 #undef $ac_func
16237
16238 /* Override any gcc2 internal prototype to avoid an error.  */
16239 #ifdef __cplusplus
16240 extern "C"
16241 {
16242 #endif
16243 /* We use char because int might match the return type of a gcc2
16244    builtin and then its argument prototype would still apply.  */
16245 char $ac_func ();
16246 /* The GNU C library defines this for functions which it implements
16247     to always fail with ENOSYS.  Some functions are actually named
16248     something starting with __ and the normal name is an alias.  */
16249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16250 choke me
16251 #else
16252 char (*f) () = $ac_func;
16253 #endif
16254 #ifdef __cplusplus
16255 }
16256 #endif
16257
16258 int
16259 main ()
16260 {
16261 return f != $ac_func;
16262   ;
16263   return 0;
16264 }
16265 _ACEOF
16266 rm -f conftest.$ac_objext conftest$ac_exeext
16267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16268   (eval $ac_link) 2>conftest.er1
16269   ac_status=$?
16270   grep -v '^ *+' conftest.er1 >conftest.err
16271   rm -f conftest.er1
16272   cat conftest.err >&5
16273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16274   (exit $ac_status); } &&
16275          { ac_try='test -z "$ac_c_werror_flag"
16276                          || test ! -s conftest.err'
16277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16278   (eval $ac_try) 2>&5
16279   ac_status=$?
16280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281   (exit $ac_status); }; } &&
16282          { ac_try='test -s conftest$ac_exeext'
16283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16284   (eval $ac_try) 2>&5
16285   ac_status=$?
16286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16287   (exit $ac_status); }; }; then
16288   eval "$as_ac_var=yes"
16289 else
16290   echo "$as_me: failed program was:" >&5
16291 sed 's/^/| /' conftest.$ac_ext >&5
16292
16293 eval "$as_ac_var=no"
16294 fi
16295 rm -f conftest.err conftest.$ac_objext \
16296       conftest$ac_exeext conftest.$ac_ext
16297 fi
16298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16300 if test `eval echo '${'$as_ac_var'}'` = yes; then
16301   cat >>confdefs.h <<_ACEOF
16302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16303 _ACEOF
16304
16305 fi
16306 done
16307
16308   else
16309
16310   echo "$as_me:$LINENO: checking for _powf declaration" >&5
16311 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
16312   if test x${glibcxx_cv_func__powf_use+set} != xset; then
16313     if test "${glibcxx_cv_func__powf_use+set}" = set; then
16314   echo $ECHO_N "(cached) $ECHO_C" >&6
16315 else
16316
16317
16318
16319       ac_ext=cc
16320 ac_cpp='$CXXCPP $CPPFLAGS'
16321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16324
16325       cat >conftest.$ac_ext <<_ACEOF
16326 /* confdefs.h.  */
16327 _ACEOF
16328 cat confdefs.h >>conftest.$ac_ext
16329 cat >>conftest.$ac_ext <<_ACEOF
16330 /* end confdefs.h.  */
16331 #include <math.h>
16332 int
16333 main ()
16334 {
16335  _powf(0, 0);
16336   ;
16337   return 0;
16338 }
16339 _ACEOF
16340 rm -f conftest.$ac_objext
16341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16342   (eval $ac_compile) 2>conftest.er1
16343   ac_status=$?
16344   grep -v '^ *+' conftest.er1 >conftest.err
16345   rm -f conftest.er1
16346   cat conftest.err >&5
16347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16348   (exit $ac_status); } &&
16349          { ac_try='test -z "$ac_cxx_werror_flag"
16350                          || test ! -s conftest.err'
16351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16352   (eval $ac_try) 2>&5
16353   ac_status=$?
16354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355   (exit $ac_status); }; } &&
16356          { ac_try='test -s conftest.$ac_objext'
16357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16358   (eval $ac_try) 2>&5
16359   ac_status=$?
16360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16361   (exit $ac_status); }; }; then
16362   glibcxx_cv_func__powf_use=yes
16363 else
16364   echo "$as_me: failed program was:" >&5
16365 sed 's/^/| /' conftest.$ac_ext >&5
16366
16367 glibcxx_cv_func__powf_use=no
16368 fi
16369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16370       ac_ext=c
16371 ac_cpp='$CPP $CPPFLAGS'
16372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16375
16376
16377 fi
16378
16379   fi
16380   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
16381 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
16382
16383     if test x$glibcxx_cv_func__powf_use = x"yes"; then
16384
16385 for ac_func in _powf
16386 do
16387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16388 echo "$as_me:$LINENO: checking for $ac_func" >&5
16389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16390 if eval "test \"\${$as_ac_var+set}\" = set"; then
16391   echo $ECHO_N "(cached) $ECHO_C" >&6
16392 else
16393   if test x$gcc_no_link = xyes; then
16394   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16396    { (exit 1); exit 1; }; }
16397 fi
16398 cat >conftest.$ac_ext <<_ACEOF
16399 /* confdefs.h.  */
16400 _ACEOF
16401 cat confdefs.h >>conftest.$ac_ext
16402 cat >>conftest.$ac_ext <<_ACEOF
16403 /* end confdefs.h.  */
16404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16405    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16406 #define $ac_func innocuous_$ac_func
16407
16408 /* System header to define __stub macros and hopefully few prototypes,
16409     which can conflict with char $ac_func (); below.
16410     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16411     <limits.h> exists even on freestanding compilers.  */
16412
16413 #ifdef __STDC__
16414 # include <limits.h>
16415 #else
16416 # include <assert.h>
16417 #endif
16418
16419 #undef $ac_func
16420
16421 /* Override any gcc2 internal prototype to avoid an error.  */
16422 #ifdef __cplusplus
16423 extern "C"
16424 {
16425 #endif
16426 /* We use char because int might match the return type of a gcc2
16427    builtin and then its argument prototype would still apply.  */
16428 char $ac_func ();
16429 /* The GNU C library defines this for functions which it implements
16430     to always fail with ENOSYS.  Some functions are actually named
16431     something starting with __ and the normal name is an alias.  */
16432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16433 choke me
16434 #else
16435 char (*f) () = $ac_func;
16436 #endif
16437 #ifdef __cplusplus
16438 }
16439 #endif
16440
16441 int
16442 main ()
16443 {
16444 return f != $ac_func;
16445   ;
16446   return 0;
16447 }
16448 _ACEOF
16449 rm -f conftest.$ac_objext conftest$ac_exeext
16450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16451   (eval $ac_link) 2>conftest.er1
16452   ac_status=$?
16453   grep -v '^ *+' conftest.er1 >conftest.err
16454   rm -f conftest.er1
16455   cat conftest.err >&5
16456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457   (exit $ac_status); } &&
16458          { ac_try='test -z "$ac_c_werror_flag"
16459                          || test ! -s conftest.err'
16460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16461   (eval $ac_try) 2>&5
16462   ac_status=$?
16463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464   (exit $ac_status); }; } &&
16465          { ac_try='test -s conftest$ac_exeext'
16466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16467   (eval $ac_try) 2>&5
16468   ac_status=$?
16469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16470   (exit $ac_status); }; }; then
16471   eval "$as_ac_var=yes"
16472 else
16473   echo "$as_me: failed program was:" >&5
16474 sed 's/^/| /' conftest.$ac_ext >&5
16475
16476 eval "$as_ac_var=no"
16477 fi
16478 rm -f conftest.err conftest.$ac_objext \
16479       conftest$ac_exeext conftest.$ac_ext
16480 fi
16481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16483 if test `eval echo '${'$as_ac_var'}'` = yes; then
16484   cat >>confdefs.h <<_ACEOF
16485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16486 _ACEOF
16487
16488 fi
16489 done
16490
16491     fi
16492   fi
16493
16494
16495
16496   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
16497 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
16498   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
16499     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
16500   echo $ECHO_N "(cached) $ECHO_C" >&6
16501 else
16502
16503
16504
16505       ac_ext=cc
16506 ac_cpp='$CXXCPP $CPPFLAGS'
16507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16510
16511       cat >conftest.$ac_ext <<_ACEOF
16512 /* confdefs.h.  */
16513 _ACEOF
16514 cat confdefs.h >>conftest.$ac_ext
16515 cat >>conftest.$ac_ext <<_ACEOF
16516 /* end confdefs.h.  */
16517 #include <math.h>
16518                       #ifdef HAVE_IEEEFP_H
16519                       #include <ieeefp.h>
16520                       #endif
16521
16522 int
16523 main ()
16524 {
16525  sqrtf(0);
16526   ;
16527   return 0;
16528 }
16529 _ACEOF
16530 rm -f conftest.$ac_objext
16531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16532   (eval $ac_compile) 2>conftest.er1
16533   ac_status=$?
16534   grep -v '^ *+' conftest.er1 >conftest.err
16535   rm -f conftest.er1
16536   cat conftest.err >&5
16537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16538   (exit $ac_status); } &&
16539          { ac_try='test -z "$ac_cxx_werror_flag"
16540                          || test ! -s conftest.err'
16541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16542   (eval $ac_try) 2>&5
16543   ac_status=$?
16544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16545   (exit $ac_status); }; } &&
16546          { ac_try='test -s conftest.$ac_objext'
16547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16548   (eval $ac_try) 2>&5
16549   ac_status=$?
16550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16551   (exit $ac_status); }; }; then
16552   glibcxx_cv_func_sqrtf_use=yes
16553 else
16554   echo "$as_me: failed program was:" >&5
16555 sed 's/^/| /' conftest.$ac_ext >&5
16556
16557 glibcxx_cv_func_sqrtf_use=no
16558 fi
16559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16560       ac_ext=c
16561 ac_cpp='$CPP $CPPFLAGS'
16562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16565
16566
16567 fi
16568
16569   fi
16570   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
16571 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
16572
16573   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
16574
16575 for ac_func in sqrtf
16576 do
16577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16578 echo "$as_me:$LINENO: checking for $ac_func" >&5
16579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16580 if eval "test \"\${$as_ac_var+set}\" = set"; then
16581   echo $ECHO_N "(cached) $ECHO_C" >&6
16582 else
16583   if test x$gcc_no_link = xyes; then
16584   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16586    { (exit 1); exit 1; }; }
16587 fi
16588 cat >conftest.$ac_ext <<_ACEOF
16589 /* confdefs.h.  */
16590 _ACEOF
16591 cat confdefs.h >>conftest.$ac_ext
16592 cat >>conftest.$ac_ext <<_ACEOF
16593 /* end confdefs.h.  */
16594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16595    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16596 #define $ac_func innocuous_$ac_func
16597
16598 /* System header to define __stub macros and hopefully few prototypes,
16599     which can conflict with char $ac_func (); below.
16600     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16601     <limits.h> exists even on freestanding compilers.  */
16602
16603 #ifdef __STDC__
16604 # include <limits.h>
16605 #else
16606 # include <assert.h>
16607 #endif
16608
16609 #undef $ac_func
16610
16611 /* Override any gcc2 internal prototype to avoid an error.  */
16612 #ifdef __cplusplus
16613 extern "C"
16614 {
16615 #endif
16616 /* We use char because int might match the return type of a gcc2
16617    builtin and then its argument prototype would still apply.  */
16618 char $ac_func ();
16619 /* The GNU C library defines this for functions which it implements
16620     to always fail with ENOSYS.  Some functions are actually named
16621     something starting with __ and the normal name is an alias.  */
16622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16623 choke me
16624 #else
16625 char (*f) () = $ac_func;
16626 #endif
16627 #ifdef __cplusplus
16628 }
16629 #endif
16630
16631 int
16632 main ()
16633 {
16634 return f != $ac_func;
16635   ;
16636   return 0;
16637 }
16638 _ACEOF
16639 rm -f conftest.$ac_objext conftest$ac_exeext
16640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16641   (eval $ac_link) 2>conftest.er1
16642   ac_status=$?
16643   grep -v '^ *+' conftest.er1 >conftest.err
16644   rm -f conftest.er1
16645   cat conftest.err >&5
16646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647   (exit $ac_status); } &&
16648          { ac_try='test -z "$ac_c_werror_flag"
16649                          || test ! -s conftest.err'
16650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16651   (eval $ac_try) 2>&5
16652   ac_status=$?
16653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16654   (exit $ac_status); }; } &&
16655          { ac_try='test -s conftest$ac_exeext'
16656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16657   (eval $ac_try) 2>&5
16658   ac_status=$?
16659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660   (exit $ac_status); }; }; then
16661   eval "$as_ac_var=yes"
16662 else
16663   echo "$as_me: failed program was:" >&5
16664 sed 's/^/| /' conftest.$ac_ext >&5
16665
16666 eval "$as_ac_var=no"
16667 fi
16668 rm -f conftest.err conftest.$ac_objext \
16669       conftest$ac_exeext conftest.$ac_ext
16670 fi
16671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16673 if test `eval echo '${'$as_ac_var'}'` = yes; then
16674   cat >>confdefs.h <<_ACEOF
16675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16676 _ACEOF
16677
16678 fi
16679 done
16680
16681   else
16682
16683   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
16684 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
16685   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
16686     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
16687   echo $ECHO_N "(cached) $ECHO_C" >&6
16688 else
16689
16690
16691
16692       ac_ext=cc
16693 ac_cpp='$CXXCPP $CPPFLAGS'
16694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16697
16698       cat >conftest.$ac_ext <<_ACEOF
16699 /* confdefs.h.  */
16700 _ACEOF
16701 cat confdefs.h >>conftest.$ac_ext
16702 cat >>conftest.$ac_ext <<_ACEOF
16703 /* end confdefs.h.  */
16704 #include <math.h>
16705                       #ifdef HAVE_IEEEFP_H
16706                       #include <ieeefp.h>
16707                       #endif
16708
16709 int
16710 main ()
16711 {
16712  _sqrtf(0);
16713   ;
16714   return 0;
16715 }
16716 _ACEOF
16717 rm -f conftest.$ac_objext
16718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16719   (eval $ac_compile) 2>conftest.er1
16720   ac_status=$?
16721   grep -v '^ *+' conftest.er1 >conftest.err
16722   rm -f conftest.er1
16723   cat conftest.err >&5
16724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16725   (exit $ac_status); } &&
16726          { ac_try='test -z "$ac_cxx_werror_flag"
16727                          || test ! -s conftest.err'
16728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16729   (eval $ac_try) 2>&5
16730   ac_status=$?
16731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732   (exit $ac_status); }; } &&
16733          { ac_try='test -s conftest.$ac_objext'
16734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16735   (eval $ac_try) 2>&5
16736   ac_status=$?
16737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738   (exit $ac_status); }; }; then
16739   glibcxx_cv_func__sqrtf_use=yes
16740 else
16741   echo "$as_me: failed program was:" >&5
16742 sed 's/^/| /' conftest.$ac_ext >&5
16743
16744 glibcxx_cv_func__sqrtf_use=no
16745 fi
16746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16747       ac_ext=c
16748 ac_cpp='$CPP $CPPFLAGS'
16749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16752
16753
16754 fi
16755
16756   fi
16757   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
16758 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
16759
16760     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
16761
16762 for ac_func in _sqrtf
16763 do
16764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16765 echo "$as_me:$LINENO: checking for $ac_func" >&5
16766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16767 if eval "test \"\${$as_ac_var+set}\" = set"; then
16768   echo $ECHO_N "(cached) $ECHO_C" >&6
16769 else
16770   if test x$gcc_no_link = xyes; then
16771   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16773    { (exit 1); exit 1; }; }
16774 fi
16775 cat >conftest.$ac_ext <<_ACEOF
16776 /* confdefs.h.  */
16777 _ACEOF
16778 cat confdefs.h >>conftest.$ac_ext
16779 cat >>conftest.$ac_ext <<_ACEOF
16780 /* end confdefs.h.  */
16781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16782    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16783 #define $ac_func innocuous_$ac_func
16784
16785 /* System header to define __stub macros and hopefully few prototypes,
16786     which can conflict with char $ac_func (); below.
16787     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16788     <limits.h> exists even on freestanding compilers.  */
16789
16790 #ifdef __STDC__
16791 # include <limits.h>
16792 #else
16793 # include <assert.h>
16794 #endif
16795
16796 #undef $ac_func
16797
16798 /* Override any gcc2 internal prototype to avoid an error.  */
16799 #ifdef __cplusplus
16800 extern "C"
16801 {
16802 #endif
16803 /* We use char because int might match the return type of a gcc2
16804    builtin and then its argument prototype would still apply.  */
16805 char $ac_func ();
16806 /* The GNU C library defines this for functions which it implements
16807     to always fail with ENOSYS.  Some functions are actually named
16808     something starting with __ and the normal name is an alias.  */
16809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16810 choke me
16811 #else
16812 char (*f) () = $ac_func;
16813 #endif
16814 #ifdef __cplusplus
16815 }
16816 #endif
16817
16818 int
16819 main ()
16820 {
16821 return f != $ac_func;
16822   ;
16823   return 0;
16824 }
16825 _ACEOF
16826 rm -f conftest.$ac_objext conftest$ac_exeext
16827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16828   (eval $ac_link) 2>conftest.er1
16829   ac_status=$?
16830   grep -v '^ *+' conftest.er1 >conftest.err
16831   rm -f conftest.er1
16832   cat conftest.err >&5
16833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16834   (exit $ac_status); } &&
16835          { ac_try='test -z "$ac_c_werror_flag"
16836                          || test ! -s conftest.err'
16837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16838   (eval $ac_try) 2>&5
16839   ac_status=$?
16840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16841   (exit $ac_status); }; } &&
16842          { ac_try='test -s conftest$ac_exeext'
16843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16844   (eval $ac_try) 2>&5
16845   ac_status=$?
16846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16847   (exit $ac_status); }; }; then
16848   eval "$as_ac_var=yes"
16849 else
16850   echo "$as_me: failed program was:" >&5
16851 sed 's/^/| /' conftest.$ac_ext >&5
16852
16853 eval "$as_ac_var=no"
16854 fi
16855 rm -f conftest.err conftest.$ac_objext \
16856       conftest$ac_exeext conftest.$ac_ext
16857 fi
16858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16860 if test `eval echo '${'$as_ac_var'}'` = yes; then
16861   cat >>confdefs.h <<_ACEOF
16862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16863 _ACEOF
16864
16865 fi
16866 done
16867
16868     fi
16869   fi
16870
16871
16872
16873   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
16874 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
16875   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
16876     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
16877   echo $ECHO_N "(cached) $ECHO_C" >&6
16878 else
16879
16880
16881
16882       ac_ext=cc
16883 ac_cpp='$CXXCPP $CPPFLAGS'
16884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16887
16888       cat >conftest.$ac_ext <<_ACEOF
16889 /* confdefs.h.  */
16890 _ACEOF
16891 cat confdefs.h >>conftest.$ac_ext
16892 cat >>conftest.$ac_ext <<_ACEOF
16893 /* end confdefs.h.  */
16894 #include <math.h>
16895 int
16896 main ()
16897 {
16898  sincosf(0, 0, 0);
16899   ;
16900   return 0;
16901 }
16902 _ACEOF
16903 rm -f conftest.$ac_objext
16904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16905   (eval $ac_compile) 2>conftest.er1
16906   ac_status=$?
16907   grep -v '^ *+' conftest.er1 >conftest.err
16908   rm -f conftest.er1
16909   cat conftest.err >&5
16910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911   (exit $ac_status); } &&
16912          { ac_try='test -z "$ac_cxx_werror_flag"
16913                          || test ! -s conftest.err'
16914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16915   (eval $ac_try) 2>&5
16916   ac_status=$?
16917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16918   (exit $ac_status); }; } &&
16919          { ac_try='test -s conftest.$ac_objext'
16920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16921   (eval $ac_try) 2>&5
16922   ac_status=$?
16923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16924   (exit $ac_status); }; }; then
16925   glibcxx_cv_func_sincosf_use=yes
16926 else
16927   echo "$as_me: failed program was:" >&5
16928 sed 's/^/| /' conftest.$ac_ext >&5
16929
16930 glibcxx_cv_func_sincosf_use=no
16931 fi
16932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16933       ac_ext=c
16934 ac_cpp='$CPP $CPPFLAGS'
16935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16938
16939
16940 fi
16941
16942   fi
16943   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
16944 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
16945
16946   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
16947
16948 for ac_func in sincosf
16949 do
16950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16951 echo "$as_me:$LINENO: checking for $ac_func" >&5
16952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16953 if eval "test \"\${$as_ac_var+set}\" = set"; then
16954   echo $ECHO_N "(cached) $ECHO_C" >&6
16955 else
16956   if test x$gcc_no_link = xyes; then
16957   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16959    { (exit 1); exit 1; }; }
16960 fi
16961 cat >conftest.$ac_ext <<_ACEOF
16962 /* confdefs.h.  */
16963 _ACEOF
16964 cat confdefs.h >>conftest.$ac_ext
16965 cat >>conftest.$ac_ext <<_ACEOF
16966 /* end confdefs.h.  */
16967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16968    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16969 #define $ac_func innocuous_$ac_func
16970
16971 /* System header to define __stub macros and hopefully few prototypes,
16972     which can conflict with char $ac_func (); below.
16973     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16974     <limits.h> exists even on freestanding compilers.  */
16975
16976 #ifdef __STDC__
16977 # include <limits.h>
16978 #else
16979 # include <assert.h>
16980 #endif
16981
16982 #undef $ac_func
16983
16984 /* Override any gcc2 internal prototype to avoid an error.  */
16985 #ifdef __cplusplus
16986 extern "C"
16987 {
16988 #endif
16989 /* We use char because int might match the return type of a gcc2
16990    builtin and then its argument prototype would still apply.  */
16991 char $ac_func ();
16992 /* The GNU C library defines this for functions which it implements
16993     to always fail with ENOSYS.  Some functions are actually named
16994     something starting with __ and the normal name is an alias.  */
16995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16996 choke me
16997 #else
16998 char (*f) () = $ac_func;
16999 #endif
17000 #ifdef __cplusplus
17001 }
17002 #endif
17003
17004 int
17005 main ()
17006 {
17007 return f != $ac_func;
17008   ;
17009   return 0;
17010 }
17011 _ACEOF
17012 rm -f conftest.$ac_objext conftest$ac_exeext
17013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17014   (eval $ac_link) 2>conftest.er1
17015   ac_status=$?
17016   grep -v '^ *+' conftest.er1 >conftest.err
17017   rm -f conftest.er1
17018   cat conftest.err >&5
17019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020   (exit $ac_status); } &&
17021          { ac_try='test -z "$ac_c_werror_flag"
17022                          || test ! -s conftest.err'
17023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17024   (eval $ac_try) 2>&5
17025   ac_status=$?
17026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027   (exit $ac_status); }; } &&
17028          { ac_try='test -s conftest$ac_exeext'
17029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17030   (eval $ac_try) 2>&5
17031   ac_status=$?
17032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17033   (exit $ac_status); }; }; then
17034   eval "$as_ac_var=yes"
17035 else
17036   echo "$as_me: failed program was:" >&5
17037 sed 's/^/| /' conftest.$ac_ext >&5
17038
17039 eval "$as_ac_var=no"
17040 fi
17041 rm -f conftest.err conftest.$ac_objext \
17042       conftest$ac_exeext conftest.$ac_ext
17043 fi
17044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17046 if test `eval echo '${'$as_ac_var'}'` = yes; then
17047   cat >>confdefs.h <<_ACEOF
17048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17049 _ACEOF
17050
17051 fi
17052 done
17053
17054   else
17055
17056   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17057 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17058   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17059     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17060   echo $ECHO_N "(cached) $ECHO_C" >&6
17061 else
17062
17063
17064
17065       ac_ext=cc
17066 ac_cpp='$CXXCPP $CPPFLAGS'
17067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17070
17071       cat >conftest.$ac_ext <<_ACEOF
17072 /* confdefs.h.  */
17073 _ACEOF
17074 cat confdefs.h >>conftest.$ac_ext
17075 cat >>conftest.$ac_ext <<_ACEOF
17076 /* end confdefs.h.  */
17077 #include <math.h>
17078 int
17079 main ()
17080 {
17081  _sincosf(0, 0, 0);
17082   ;
17083   return 0;
17084 }
17085 _ACEOF
17086 rm -f conftest.$ac_objext
17087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17088   (eval $ac_compile) 2>conftest.er1
17089   ac_status=$?
17090   grep -v '^ *+' conftest.er1 >conftest.err
17091   rm -f conftest.er1
17092   cat conftest.err >&5
17093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094   (exit $ac_status); } &&
17095          { ac_try='test -z "$ac_cxx_werror_flag"
17096                          || test ! -s conftest.err'
17097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17098   (eval $ac_try) 2>&5
17099   ac_status=$?
17100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101   (exit $ac_status); }; } &&
17102          { ac_try='test -s conftest.$ac_objext'
17103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17104   (eval $ac_try) 2>&5
17105   ac_status=$?
17106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107   (exit $ac_status); }; }; then
17108   glibcxx_cv_func__sincosf_use=yes
17109 else
17110   echo "$as_me: failed program was:" >&5
17111 sed 's/^/| /' conftest.$ac_ext >&5
17112
17113 glibcxx_cv_func__sincosf_use=no
17114 fi
17115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17116       ac_ext=c
17117 ac_cpp='$CPP $CPPFLAGS'
17118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17121
17122
17123 fi
17124
17125   fi
17126   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
17127 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
17128
17129     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
17130
17131 for ac_func in _sincosf
17132 do
17133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17134 echo "$as_me:$LINENO: checking for $ac_func" >&5
17135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17136 if eval "test \"\${$as_ac_var+set}\" = set"; then
17137   echo $ECHO_N "(cached) $ECHO_C" >&6
17138 else
17139   if test x$gcc_no_link = xyes; then
17140   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17142    { (exit 1); exit 1; }; }
17143 fi
17144 cat >conftest.$ac_ext <<_ACEOF
17145 /* confdefs.h.  */
17146 _ACEOF
17147 cat confdefs.h >>conftest.$ac_ext
17148 cat >>conftest.$ac_ext <<_ACEOF
17149 /* end confdefs.h.  */
17150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17151    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17152 #define $ac_func innocuous_$ac_func
17153
17154 /* System header to define __stub macros and hopefully few prototypes,
17155     which can conflict with char $ac_func (); below.
17156     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17157     <limits.h> exists even on freestanding compilers.  */
17158
17159 #ifdef __STDC__
17160 # include <limits.h>
17161 #else
17162 # include <assert.h>
17163 #endif
17164
17165 #undef $ac_func
17166
17167 /* Override any gcc2 internal prototype to avoid an error.  */
17168 #ifdef __cplusplus
17169 extern "C"
17170 {
17171 #endif
17172 /* We use char because int might match the return type of a gcc2
17173    builtin and then its argument prototype would still apply.  */
17174 char $ac_func ();
17175 /* The GNU C library defines this for functions which it implements
17176     to always fail with ENOSYS.  Some functions are actually named
17177     something starting with __ and the normal name is an alias.  */
17178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17179 choke me
17180 #else
17181 char (*f) () = $ac_func;
17182 #endif
17183 #ifdef __cplusplus
17184 }
17185 #endif
17186
17187 int
17188 main ()
17189 {
17190 return f != $ac_func;
17191   ;
17192   return 0;
17193 }
17194 _ACEOF
17195 rm -f conftest.$ac_objext conftest$ac_exeext
17196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17197   (eval $ac_link) 2>conftest.er1
17198   ac_status=$?
17199   grep -v '^ *+' conftest.er1 >conftest.err
17200   rm -f conftest.er1
17201   cat conftest.err >&5
17202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17203   (exit $ac_status); } &&
17204          { ac_try='test -z "$ac_c_werror_flag"
17205                          || test ! -s conftest.err'
17206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17207   (eval $ac_try) 2>&5
17208   ac_status=$?
17209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17210   (exit $ac_status); }; } &&
17211          { ac_try='test -s conftest$ac_exeext'
17212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17213   (eval $ac_try) 2>&5
17214   ac_status=$?
17215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17216   (exit $ac_status); }; }; then
17217   eval "$as_ac_var=yes"
17218 else
17219   echo "$as_me: failed program was:" >&5
17220 sed 's/^/| /' conftest.$ac_ext >&5
17221
17222 eval "$as_ac_var=no"
17223 fi
17224 rm -f conftest.err conftest.$ac_objext \
17225       conftest$ac_exeext conftest.$ac_ext
17226 fi
17227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17229 if test `eval echo '${'$as_ac_var'}'` = yes; then
17230   cat >>confdefs.h <<_ACEOF
17231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17232 _ACEOF
17233
17234 fi
17235 done
17236
17237     fi
17238   fi
17239
17240
17241
17242   echo "$as_me:$LINENO: checking for finitef declaration" >&5
17243 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
17244   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
17245     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
17246   echo $ECHO_N "(cached) $ECHO_C" >&6
17247 else
17248
17249
17250
17251       ac_ext=cc
17252 ac_cpp='$CXXCPP $CPPFLAGS'
17253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17256
17257       cat >conftest.$ac_ext <<_ACEOF
17258 /* confdefs.h.  */
17259 _ACEOF
17260 cat confdefs.h >>conftest.$ac_ext
17261 cat >>conftest.$ac_ext <<_ACEOF
17262 /* end confdefs.h.  */
17263 #include <math.h>
17264                       #ifdef HAVE_IEEEFP_H
17265                       #include <ieeefp.h>
17266                       #endif
17267
17268 int
17269 main ()
17270 {
17271  finitef(0);
17272   ;
17273   return 0;
17274 }
17275 _ACEOF
17276 rm -f conftest.$ac_objext
17277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17278   (eval $ac_compile) 2>conftest.er1
17279   ac_status=$?
17280   grep -v '^ *+' conftest.er1 >conftest.err
17281   rm -f conftest.er1
17282   cat conftest.err >&5
17283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17284   (exit $ac_status); } &&
17285          { ac_try='test -z "$ac_cxx_werror_flag"
17286                          || test ! -s conftest.err'
17287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17288   (eval $ac_try) 2>&5
17289   ac_status=$?
17290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17291   (exit $ac_status); }; } &&
17292          { ac_try='test -s conftest.$ac_objext'
17293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17294   (eval $ac_try) 2>&5
17295   ac_status=$?
17296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17297   (exit $ac_status); }; }; then
17298   glibcxx_cv_func_finitef_use=yes
17299 else
17300   echo "$as_me: failed program was:" >&5
17301 sed 's/^/| /' conftest.$ac_ext >&5
17302
17303 glibcxx_cv_func_finitef_use=no
17304 fi
17305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17306       ac_ext=c
17307 ac_cpp='$CPP $CPPFLAGS'
17308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17311
17312
17313 fi
17314
17315   fi
17316   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
17317 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
17318
17319   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
17320
17321 for ac_func in finitef
17322 do
17323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17324 echo "$as_me:$LINENO: checking for $ac_func" >&5
17325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17326 if eval "test \"\${$as_ac_var+set}\" = set"; then
17327   echo $ECHO_N "(cached) $ECHO_C" >&6
17328 else
17329   if test x$gcc_no_link = xyes; then
17330   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17332    { (exit 1); exit 1; }; }
17333 fi
17334 cat >conftest.$ac_ext <<_ACEOF
17335 /* confdefs.h.  */
17336 _ACEOF
17337 cat confdefs.h >>conftest.$ac_ext
17338 cat >>conftest.$ac_ext <<_ACEOF
17339 /* end confdefs.h.  */
17340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17341    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17342 #define $ac_func innocuous_$ac_func
17343
17344 /* System header to define __stub macros and hopefully few prototypes,
17345     which can conflict with char $ac_func (); below.
17346     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17347     <limits.h> exists even on freestanding compilers.  */
17348
17349 #ifdef __STDC__
17350 # include <limits.h>
17351 #else
17352 # include <assert.h>
17353 #endif
17354
17355 #undef $ac_func
17356
17357 /* Override any gcc2 internal prototype to avoid an error.  */
17358 #ifdef __cplusplus
17359 extern "C"
17360 {
17361 #endif
17362 /* We use char because int might match the return type of a gcc2
17363    builtin and then its argument prototype would still apply.  */
17364 char $ac_func ();
17365 /* The GNU C library defines this for functions which it implements
17366     to always fail with ENOSYS.  Some functions are actually named
17367     something starting with __ and the normal name is an alias.  */
17368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17369 choke me
17370 #else
17371 char (*f) () = $ac_func;
17372 #endif
17373 #ifdef __cplusplus
17374 }
17375 #endif
17376
17377 int
17378 main ()
17379 {
17380 return f != $ac_func;
17381   ;
17382   return 0;
17383 }
17384 _ACEOF
17385 rm -f conftest.$ac_objext conftest$ac_exeext
17386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17387   (eval $ac_link) 2>conftest.er1
17388   ac_status=$?
17389   grep -v '^ *+' conftest.er1 >conftest.err
17390   rm -f conftest.er1
17391   cat conftest.err >&5
17392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393   (exit $ac_status); } &&
17394          { ac_try='test -z "$ac_c_werror_flag"
17395                          || test ! -s conftest.err'
17396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17397   (eval $ac_try) 2>&5
17398   ac_status=$?
17399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400   (exit $ac_status); }; } &&
17401          { ac_try='test -s conftest$ac_exeext'
17402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17403   (eval $ac_try) 2>&5
17404   ac_status=$?
17405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406   (exit $ac_status); }; }; then
17407   eval "$as_ac_var=yes"
17408 else
17409   echo "$as_me: failed program was:" >&5
17410 sed 's/^/| /' conftest.$ac_ext >&5
17411
17412 eval "$as_ac_var=no"
17413 fi
17414 rm -f conftest.err conftest.$ac_objext \
17415       conftest$ac_exeext conftest.$ac_ext
17416 fi
17417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17419 if test `eval echo '${'$as_ac_var'}'` = yes; then
17420   cat >>confdefs.h <<_ACEOF
17421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17422 _ACEOF
17423
17424 fi
17425 done
17426
17427   else
17428
17429   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
17430 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
17431   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
17432     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
17433   echo $ECHO_N "(cached) $ECHO_C" >&6
17434 else
17435
17436
17437
17438       ac_ext=cc
17439 ac_cpp='$CXXCPP $CPPFLAGS'
17440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17443
17444       cat >conftest.$ac_ext <<_ACEOF
17445 /* confdefs.h.  */
17446 _ACEOF
17447 cat confdefs.h >>conftest.$ac_ext
17448 cat >>conftest.$ac_ext <<_ACEOF
17449 /* end confdefs.h.  */
17450 #include <math.h>
17451                       #ifdef HAVE_IEEEFP_H
17452                       #include <ieeefp.h>
17453                       #endif
17454
17455 int
17456 main ()
17457 {
17458  _finitef(0);
17459   ;
17460   return 0;
17461 }
17462 _ACEOF
17463 rm -f conftest.$ac_objext
17464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17465   (eval $ac_compile) 2>conftest.er1
17466   ac_status=$?
17467   grep -v '^ *+' conftest.er1 >conftest.err
17468   rm -f conftest.er1
17469   cat conftest.err >&5
17470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471   (exit $ac_status); } &&
17472          { ac_try='test -z "$ac_cxx_werror_flag"
17473                          || test ! -s conftest.err'
17474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17475   (eval $ac_try) 2>&5
17476   ac_status=$?
17477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17478   (exit $ac_status); }; } &&
17479          { ac_try='test -s conftest.$ac_objext'
17480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17481   (eval $ac_try) 2>&5
17482   ac_status=$?
17483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17484   (exit $ac_status); }; }; then
17485   glibcxx_cv_func__finitef_use=yes
17486 else
17487   echo "$as_me: failed program was:" >&5
17488 sed 's/^/| /' conftest.$ac_ext >&5
17489
17490 glibcxx_cv_func__finitef_use=no
17491 fi
17492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17493       ac_ext=c
17494 ac_cpp='$CPP $CPPFLAGS'
17495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17498
17499
17500 fi
17501
17502   fi
17503   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
17504 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
17505
17506     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
17507
17508 for ac_func in _finitef
17509 do
17510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17511 echo "$as_me:$LINENO: checking for $ac_func" >&5
17512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17513 if eval "test \"\${$as_ac_var+set}\" = set"; then
17514   echo $ECHO_N "(cached) $ECHO_C" >&6
17515 else
17516   if test x$gcc_no_link = xyes; then
17517   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17519    { (exit 1); exit 1; }; }
17520 fi
17521 cat >conftest.$ac_ext <<_ACEOF
17522 /* confdefs.h.  */
17523 _ACEOF
17524 cat confdefs.h >>conftest.$ac_ext
17525 cat >>conftest.$ac_ext <<_ACEOF
17526 /* end confdefs.h.  */
17527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17528    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17529 #define $ac_func innocuous_$ac_func
17530
17531 /* System header to define __stub macros and hopefully few prototypes,
17532     which can conflict with char $ac_func (); below.
17533     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17534     <limits.h> exists even on freestanding compilers.  */
17535
17536 #ifdef __STDC__
17537 # include <limits.h>
17538 #else
17539 # include <assert.h>
17540 #endif
17541
17542 #undef $ac_func
17543
17544 /* Override any gcc2 internal prototype to avoid an error.  */
17545 #ifdef __cplusplus
17546 extern "C"
17547 {
17548 #endif
17549 /* We use char because int might match the return type of a gcc2
17550    builtin and then its argument prototype would still apply.  */
17551 char $ac_func ();
17552 /* The GNU C library defines this for functions which it implements
17553     to always fail with ENOSYS.  Some functions are actually named
17554     something starting with __ and the normal name is an alias.  */
17555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17556 choke me
17557 #else
17558 char (*f) () = $ac_func;
17559 #endif
17560 #ifdef __cplusplus
17561 }
17562 #endif
17563
17564 int
17565 main ()
17566 {
17567 return f != $ac_func;
17568   ;
17569   return 0;
17570 }
17571 _ACEOF
17572 rm -f conftest.$ac_objext conftest$ac_exeext
17573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17574   (eval $ac_link) 2>conftest.er1
17575   ac_status=$?
17576   grep -v '^ *+' conftest.er1 >conftest.err
17577   rm -f conftest.er1
17578   cat conftest.err >&5
17579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580   (exit $ac_status); } &&
17581          { ac_try='test -z "$ac_c_werror_flag"
17582                          || test ! -s conftest.err'
17583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17584   (eval $ac_try) 2>&5
17585   ac_status=$?
17586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17587   (exit $ac_status); }; } &&
17588          { ac_try='test -s conftest$ac_exeext'
17589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17590   (eval $ac_try) 2>&5
17591   ac_status=$?
17592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17593   (exit $ac_status); }; }; then
17594   eval "$as_ac_var=yes"
17595 else
17596   echo "$as_me: failed program was:" >&5
17597 sed 's/^/| /' conftest.$ac_ext >&5
17598
17599 eval "$as_ac_var=no"
17600 fi
17601 rm -f conftest.err conftest.$ac_objext \
17602       conftest$ac_exeext conftest.$ac_ext
17603 fi
17604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17606 if test `eval echo '${'$as_ac_var'}'` = yes; then
17607   cat >>confdefs.h <<_ACEOF
17608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17609 _ACEOF
17610
17611 fi
17612 done
17613
17614     fi
17615   fi
17616
17617
17618
17619   echo "$as_me:$LINENO: checking for long double trig functions" >&5
17620 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
17621   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
17622   echo $ECHO_N "(cached) $ECHO_C" >&6
17623 else
17624
17625
17626
17627     ac_ext=cc
17628 ac_cpp='$CXXCPP $CPPFLAGS'
17629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17632
17633     cat >conftest.$ac_ext <<_ACEOF
17634 /* confdefs.h.  */
17635 _ACEOF
17636 cat confdefs.h >>conftest.$ac_ext
17637 cat >>conftest.$ac_ext <<_ACEOF
17638 /* end confdefs.h.  */
17639 #include <math.h>
17640 int
17641 main ()
17642 {
17643  `for x in acosl asinl atanl \
17644                                           cosl sinl tanl \
17645                                           coshl sinhl tanhl; do echo "$x (0);"; done`
17646   ;
17647   return 0;
17648 }
17649 _ACEOF
17650 rm -f conftest.$ac_objext
17651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17652   (eval $ac_compile) 2>conftest.er1
17653   ac_status=$?
17654   grep -v '^ *+' conftest.er1 >conftest.err
17655   rm -f conftest.er1
17656   cat conftest.err >&5
17657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658   (exit $ac_status); } &&
17659          { ac_try='test -z "$ac_cxx_werror_flag"
17660                          || test ! -s conftest.err'
17661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17662   (eval $ac_try) 2>&5
17663   ac_status=$?
17664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665   (exit $ac_status); }; } &&
17666          { ac_try='test -s conftest.$ac_objext'
17667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17668   (eval $ac_try) 2>&5
17669   ac_status=$?
17670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17671   (exit $ac_status); }; }; then
17672   glibcxx_cv_func_long_double_trig_use=yes
17673 else
17674   echo "$as_me: failed program was:" >&5
17675 sed 's/^/| /' conftest.$ac_ext >&5
17676
17677 glibcxx_cv_func_long_double_trig_use=no
17678 fi
17679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17680     ac_ext=c
17681 ac_cpp='$CPP $CPPFLAGS'
17682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17685
17686 fi
17687
17688   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
17689 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
17690   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700 for ac_func in acosl asinl atanl \
17701                                           cosl sinl tanl \
17702                                           coshl sinhl tanhl
17703 do
17704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17705 echo "$as_me:$LINENO: checking for $ac_func" >&5
17706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17707 if eval "test \"\${$as_ac_var+set}\" = set"; then
17708   echo $ECHO_N "(cached) $ECHO_C" >&6
17709 else
17710   if test x$gcc_no_link = xyes; then
17711   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17713    { (exit 1); exit 1; }; }
17714 fi
17715 cat >conftest.$ac_ext <<_ACEOF
17716 /* confdefs.h.  */
17717 _ACEOF
17718 cat confdefs.h >>conftest.$ac_ext
17719 cat >>conftest.$ac_ext <<_ACEOF
17720 /* end confdefs.h.  */
17721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17722    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17723 #define $ac_func innocuous_$ac_func
17724
17725 /* System header to define __stub macros and hopefully few prototypes,
17726     which can conflict with char $ac_func (); below.
17727     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17728     <limits.h> exists even on freestanding compilers.  */
17729
17730 #ifdef __STDC__
17731 # include <limits.h>
17732 #else
17733 # include <assert.h>
17734 #endif
17735
17736 #undef $ac_func
17737
17738 /* Override any gcc2 internal prototype to avoid an error.  */
17739 #ifdef __cplusplus
17740 extern "C"
17741 {
17742 #endif
17743 /* We use char because int might match the return type of a gcc2
17744    builtin and then its argument prototype would still apply.  */
17745 char $ac_func ();
17746 /* The GNU C library defines this for functions which it implements
17747     to always fail with ENOSYS.  Some functions are actually named
17748     something starting with __ and the normal name is an alias.  */
17749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17750 choke me
17751 #else
17752 char (*f) () = $ac_func;
17753 #endif
17754 #ifdef __cplusplus
17755 }
17756 #endif
17757
17758 int
17759 main ()
17760 {
17761 return f != $ac_func;
17762   ;
17763   return 0;
17764 }
17765 _ACEOF
17766 rm -f conftest.$ac_objext conftest$ac_exeext
17767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17768   (eval $ac_link) 2>conftest.er1
17769   ac_status=$?
17770   grep -v '^ *+' conftest.er1 >conftest.err
17771   rm -f conftest.er1
17772   cat conftest.err >&5
17773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774   (exit $ac_status); } &&
17775          { ac_try='test -z "$ac_c_werror_flag"
17776                          || test ! -s conftest.err'
17777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17778   (eval $ac_try) 2>&5
17779   ac_status=$?
17780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781   (exit $ac_status); }; } &&
17782          { ac_try='test -s conftest$ac_exeext'
17783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17784   (eval $ac_try) 2>&5
17785   ac_status=$?
17786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787   (exit $ac_status); }; }; then
17788   eval "$as_ac_var=yes"
17789 else
17790   echo "$as_me: failed program was:" >&5
17791 sed 's/^/| /' conftest.$ac_ext >&5
17792
17793 eval "$as_ac_var=no"
17794 fi
17795 rm -f conftest.err conftest.$ac_objext \
17796       conftest$ac_exeext conftest.$ac_ext
17797 fi
17798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17800 if test `eval echo '${'$as_ac_var'}'` = yes; then
17801   cat >>confdefs.h <<_ACEOF
17802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17803 _ACEOF
17804
17805 fi
17806 done
17807
17808   fi
17809
17810
17811   echo "$as_me:$LINENO: checking for long double round functions" >&5
17812 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
17813   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
17814   echo $ECHO_N "(cached) $ECHO_C" >&6
17815 else
17816
17817
17818
17819     ac_ext=cc
17820 ac_cpp='$CXXCPP $CPPFLAGS'
17821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17824
17825     cat >conftest.$ac_ext <<_ACEOF
17826 /* confdefs.h.  */
17827 _ACEOF
17828 cat confdefs.h >>conftest.$ac_ext
17829 cat >>conftest.$ac_ext <<_ACEOF
17830 /* end confdefs.h.  */
17831 #include <math.h>
17832 int
17833 main ()
17834 {
17835  `for x in ceill floorl; do echo "$x (0);"; done`
17836   ;
17837   return 0;
17838 }
17839 _ACEOF
17840 rm -f conftest.$ac_objext
17841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17842   (eval $ac_compile) 2>conftest.er1
17843   ac_status=$?
17844   grep -v '^ *+' conftest.er1 >conftest.err
17845   rm -f conftest.er1
17846   cat conftest.err >&5
17847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848   (exit $ac_status); } &&
17849          { ac_try='test -z "$ac_cxx_werror_flag"
17850                          || test ! -s conftest.err'
17851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17852   (eval $ac_try) 2>&5
17853   ac_status=$?
17854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855   (exit $ac_status); }; } &&
17856          { ac_try='test -s conftest.$ac_objext'
17857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858   (eval $ac_try) 2>&5
17859   ac_status=$?
17860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861   (exit $ac_status); }; }; then
17862   glibcxx_cv_func_long_double_round_use=yes
17863 else
17864   echo "$as_me: failed program was:" >&5
17865 sed 's/^/| /' conftest.$ac_ext >&5
17866
17867 glibcxx_cv_func_long_double_round_use=no
17868 fi
17869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17870     ac_ext=c
17871 ac_cpp='$CPP $CPPFLAGS'
17872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17875
17876 fi
17877
17878   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
17879 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
17880   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
17881
17882
17883 for ac_func in ceill floorl
17884 do
17885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17886 echo "$as_me:$LINENO: checking for $ac_func" >&5
17887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17888 if eval "test \"\${$as_ac_var+set}\" = set"; then
17889   echo $ECHO_N "(cached) $ECHO_C" >&6
17890 else
17891   if test x$gcc_no_link = xyes; then
17892   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17894    { (exit 1); exit 1; }; }
17895 fi
17896 cat >conftest.$ac_ext <<_ACEOF
17897 /* confdefs.h.  */
17898 _ACEOF
17899 cat confdefs.h >>conftest.$ac_ext
17900 cat >>conftest.$ac_ext <<_ACEOF
17901 /* end confdefs.h.  */
17902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17903    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17904 #define $ac_func innocuous_$ac_func
17905
17906 /* System header to define __stub macros and hopefully few prototypes,
17907     which can conflict with char $ac_func (); below.
17908     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17909     <limits.h> exists even on freestanding compilers.  */
17910
17911 #ifdef __STDC__
17912 # include <limits.h>
17913 #else
17914 # include <assert.h>
17915 #endif
17916
17917 #undef $ac_func
17918
17919 /* Override any gcc2 internal prototype to avoid an error.  */
17920 #ifdef __cplusplus
17921 extern "C"
17922 {
17923 #endif
17924 /* We use char because int might match the return type of a gcc2
17925    builtin and then its argument prototype would still apply.  */
17926 char $ac_func ();
17927 /* The GNU C library defines this for functions which it implements
17928     to always fail with ENOSYS.  Some functions are actually named
17929     something starting with __ and the normal name is an alias.  */
17930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17931 choke me
17932 #else
17933 char (*f) () = $ac_func;
17934 #endif
17935 #ifdef __cplusplus
17936 }
17937 #endif
17938
17939 int
17940 main ()
17941 {
17942 return f != $ac_func;
17943   ;
17944   return 0;
17945 }
17946 _ACEOF
17947 rm -f conftest.$ac_objext conftest$ac_exeext
17948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17949   (eval $ac_link) 2>conftest.er1
17950   ac_status=$?
17951   grep -v '^ *+' conftest.er1 >conftest.err
17952   rm -f conftest.er1
17953   cat conftest.err >&5
17954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17955   (exit $ac_status); } &&
17956          { ac_try='test -z "$ac_c_werror_flag"
17957                          || test ! -s conftest.err'
17958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17959   (eval $ac_try) 2>&5
17960   ac_status=$?
17961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962   (exit $ac_status); }; } &&
17963          { ac_try='test -s conftest$ac_exeext'
17964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17965   (eval $ac_try) 2>&5
17966   ac_status=$?
17967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17968   (exit $ac_status); }; }; then
17969   eval "$as_ac_var=yes"
17970 else
17971   echo "$as_me: failed program was:" >&5
17972 sed 's/^/| /' conftest.$ac_ext >&5
17973
17974 eval "$as_ac_var=no"
17975 fi
17976 rm -f conftest.err conftest.$ac_objext \
17977       conftest$ac_exeext conftest.$ac_ext
17978 fi
17979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17981 if test `eval echo '${'$as_ac_var'}'` = yes; then
17982   cat >>confdefs.h <<_ACEOF
17983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17984 _ACEOF
17985
17986 fi
17987 done
17988
17989   fi
17990
17991
17992
17993   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
17994 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
17995   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
17996     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
17997   echo $ECHO_N "(cached) $ECHO_C" >&6
17998 else
17999
18000
18001
18002       ac_ext=cc
18003 ac_cpp='$CXXCPP $CPPFLAGS'
18004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18007
18008       cat >conftest.$ac_ext <<_ACEOF
18009 /* confdefs.h.  */
18010 _ACEOF
18011 cat confdefs.h >>conftest.$ac_ext
18012 cat >>conftest.$ac_ext <<_ACEOF
18013 /* end confdefs.h.  */
18014 #include <math.h>
18015                       #ifdef HAVE_IEEEFP_H
18016                       #include <ieeefp.h>
18017                       #endif
18018
18019 int
18020 main ()
18021 {
18022  isnanl(0);
18023   ;
18024   return 0;
18025 }
18026 _ACEOF
18027 rm -f conftest.$ac_objext
18028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18029   (eval $ac_compile) 2>conftest.er1
18030   ac_status=$?
18031   grep -v '^ *+' conftest.er1 >conftest.err
18032   rm -f conftest.er1
18033   cat conftest.err >&5
18034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18035   (exit $ac_status); } &&
18036          { ac_try='test -z "$ac_cxx_werror_flag"
18037                          || test ! -s conftest.err'
18038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18039   (eval $ac_try) 2>&5
18040   ac_status=$?
18041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042   (exit $ac_status); }; } &&
18043          { ac_try='test -s conftest.$ac_objext'
18044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18045   (eval $ac_try) 2>&5
18046   ac_status=$?
18047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048   (exit $ac_status); }; }; then
18049   glibcxx_cv_func_isnanl_use=yes
18050 else
18051   echo "$as_me: failed program was:" >&5
18052 sed 's/^/| /' conftest.$ac_ext >&5
18053
18054 glibcxx_cv_func_isnanl_use=no
18055 fi
18056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18057       ac_ext=c
18058 ac_cpp='$CPP $CPPFLAGS'
18059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18062
18063
18064 fi
18065
18066   fi
18067   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
18068 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
18069
18070   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
18071
18072 for ac_func in isnanl
18073 do
18074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18075 echo "$as_me:$LINENO: checking for $ac_func" >&5
18076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18077 if eval "test \"\${$as_ac_var+set}\" = set"; then
18078   echo $ECHO_N "(cached) $ECHO_C" >&6
18079 else
18080   if test x$gcc_no_link = xyes; then
18081   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18083    { (exit 1); exit 1; }; }
18084 fi
18085 cat >conftest.$ac_ext <<_ACEOF
18086 /* confdefs.h.  */
18087 _ACEOF
18088 cat confdefs.h >>conftest.$ac_ext
18089 cat >>conftest.$ac_ext <<_ACEOF
18090 /* end confdefs.h.  */
18091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18092    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18093 #define $ac_func innocuous_$ac_func
18094
18095 /* System header to define __stub macros and hopefully few prototypes,
18096     which can conflict with char $ac_func (); below.
18097     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18098     <limits.h> exists even on freestanding compilers.  */
18099
18100 #ifdef __STDC__
18101 # include <limits.h>
18102 #else
18103 # include <assert.h>
18104 #endif
18105
18106 #undef $ac_func
18107
18108 /* Override any gcc2 internal prototype to avoid an error.  */
18109 #ifdef __cplusplus
18110 extern "C"
18111 {
18112 #endif
18113 /* We use char because int might match the return type of a gcc2
18114    builtin and then its argument prototype would still apply.  */
18115 char $ac_func ();
18116 /* The GNU C library defines this for functions which it implements
18117     to always fail with ENOSYS.  Some functions are actually named
18118     something starting with __ and the normal name is an alias.  */
18119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18120 choke me
18121 #else
18122 char (*f) () = $ac_func;
18123 #endif
18124 #ifdef __cplusplus
18125 }
18126 #endif
18127
18128 int
18129 main ()
18130 {
18131 return f != $ac_func;
18132   ;
18133   return 0;
18134 }
18135 _ACEOF
18136 rm -f conftest.$ac_objext conftest$ac_exeext
18137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18138   (eval $ac_link) 2>conftest.er1
18139   ac_status=$?
18140   grep -v '^ *+' conftest.er1 >conftest.err
18141   rm -f conftest.er1
18142   cat conftest.err >&5
18143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18144   (exit $ac_status); } &&
18145          { ac_try='test -z "$ac_c_werror_flag"
18146                          || test ! -s conftest.err'
18147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18148   (eval $ac_try) 2>&5
18149   ac_status=$?
18150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18151   (exit $ac_status); }; } &&
18152          { ac_try='test -s conftest$ac_exeext'
18153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18154   (eval $ac_try) 2>&5
18155   ac_status=$?
18156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18157   (exit $ac_status); }; }; then
18158   eval "$as_ac_var=yes"
18159 else
18160   echo "$as_me: failed program was:" >&5
18161 sed 's/^/| /' conftest.$ac_ext >&5
18162
18163 eval "$as_ac_var=no"
18164 fi
18165 rm -f conftest.err conftest.$ac_objext \
18166       conftest$ac_exeext conftest.$ac_ext
18167 fi
18168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18170 if test `eval echo '${'$as_ac_var'}'` = yes; then
18171   cat >>confdefs.h <<_ACEOF
18172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18173 _ACEOF
18174
18175 fi
18176 done
18177
18178   else
18179
18180   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
18181 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
18182   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
18183     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
18184   echo $ECHO_N "(cached) $ECHO_C" >&6
18185 else
18186
18187
18188
18189       ac_ext=cc
18190 ac_cpp='$CXXCPP $CPPFLAGS'
18191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18194
18195       cat >conftest.$ac_ext <<_ACEOF
18196 /* confdefs.h.  */
18197 _ACEOF
18198 cat confdefs.h >>conftest.$ac_ext
18199 cat >>conftest.$ac_ext <<_ACEOF
18200 /* end confdefs.h.  */
18201 #include <math.h>
18202                       #ifdef HAVE_IEEEFP_H
18203                       #include <ieeefp.h>
18204                       #endif
18205
18206 int
18207 main ()
18208 {
18209  _isnanl(0);
18210   ;
18211   return 0;
18212 }
18213 _ACEOF
18214 rm -f conftest.$ac_objext
18215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18216   (eval $ac_compile) 2>conftest.er1
18217   ac_status=$?
18218   grep -v '^ *+' conftest.er1 >conftest.err
18219   rm -f conftest.er1
18220   cat conftest.err >&5
18221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18222   (exit $ac_status); } &&
18223          { ac_try='test -z "$ac_cxx_werror_flag"
18224                          || test ! -s conftest.err'
18225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18226   (eval $ac_try) 2>&5
18227   ac_status=$?
18228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229   (exit $ac_status); }; } &&
18230          { ac_try='test -s conftest.$ac_objext'
18231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18232   (eval $ac_try) 2>&5
18233   ac_status=$?
18234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18235   (exit $ac_status); }; }; then
18236   glibcxx_cv_func__isnanl_use=yes
18237 else
18238   echo "$as_me: failed program was:" >&5
18239 sed 's/^/| /' conftest.$ac_ext >&5
18240
18241 glibcxx_cv_func__isnanl_use=no
18242 fi
18243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18244       ac_ext=c
18245 ac_cpp='$CPP $CPPFLAGS'
18246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18249
18250
18251 fi
18252
18253   fi
18254   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
18255 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
18256
18257     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
18258
18259 for ac_func in _isnanl
18260 do
18261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18262 echo "$as_me:$LINENO: checking for $ac_func" >&5
18263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18264 if eval "test \"\${$as_ac_var+set}\" = set"; then
18265   echo $ECHO_N "(cached) $ECHO_C" >&6
18266 else
18267   if test x$gcc_no_link = xyes; then
18268   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18270    { (exit 1); exit 1; }; }
18271 fi
18272 cat >conftest.$ac_ext <<_ACEOF
18273 /* confdefs.h.  */
18274 _ACEOF
18275 cat confdefs.h >>conftest.$ac_ext
18276 cat >>conftest.$ac_ext <<_ACEOF
18277 /* end confdefs.h.  */
18278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18279    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18280 #define $ac_func innocuous_$ac_func
18281
18282 /* System header to define __stub macros and hopefully few prototypes,
18283     which can conflict with char $ac_func (); below.
18284     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18285     <limits.h> exists even on freestanding compilers.  */
18286
18287 #ifdef __STDC__
18288 # include <limits.h>
18289 #else
18290 # include <assert.h>
18291 #endif
18292
18293 #undef $ac_func
18294
18295 /* Override any gcc2 internal prototype to avoid an error.  */
18296 #ifdef __cplusplus
18297 extern "C"
18298 {
18299 #endif
18300 /* We use char because int might match the return type of a gcc2
18301    builtin and then its argument prototype would still apply.  */
18302 char $ac_func ();
18303 /* The GNU C library defines this for functions which it implements
18304     to always fail with ENOSYS.  Some functions are actually named
18305     something starting with __ and the normal name is an alias.  */
18306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18307 choke me
18308 #else
18309 char (*f) () = $ac_func;
18310 #endif
18311 #ifdef __cplusplus
18312 }
18313 #endif
18314
18315 int
18316 main ()
18317 {
18318 return f != $ac_func;
18319   ;
18320   return 0;
18321 }
18322 _ACEOF
18323 rm -f conftest.$ac_objext conftest$ac_exeext
18324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18325   (eval $ac_link) 2>conftest.er1
18326   ac_status=$?
18327   grep -v '^ *+' conftest.er1 >conftest.err
18328   rm -f conftest.er1
18329   cat conftest.err >&5
18330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18331   (exit $ac_status); } &&
18332          { ac_try='test -z "$ac_c_werror_flag"
18333                          || test ! -s conftest.err'
18334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18335   (eval $ac_try) 2>&5
18336   ac_status=$?
18337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18338   (exit $ac_status); }; } &&
18339          { ac_try='test -s conftest$ac_exeext'
18340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18341   (eval $ac_try) 2>&5
18342   ac_status=$?
18343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18344   (exit $ac_status); }; }; then
18345   eval "$as_ac_var=yes"
18346 else
18347   echo "$as_me: failed program was:" >&5
18348 sed 's/^/| /' conftest.$ac_ext >&5
18349
18350 eval "$as_ac_var=no"
18351 fi
18352 rm -f conftest.err conftest.$ac_objext \
18353       conftest$ac_exeext conftest.$ac_ext
18354 fi
18355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18357 if test `eval echo '${'$as_ac_var'}'` = yes; then
18358   cat >>confdefs.h <<_ACEOF
18359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18360 _ACEOF
18361
18362 fi
18363 done
18364
18365     fi
18366   fi
18367
18368
18369
18370   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
18371 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
18372   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
18373     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
18374   echo $ECHO_N "(cached) $ECHO_C" >&6
18375 else
18376
18377
18378
18379       ac_ext=cc
18380 ac_cpp='$CXXCPP $CPPFLAGS'
18381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18384
18385       cat >conftest.$ac_ext <<_ACEOF
18386 /* confdefs.h.  */
18387 _ACEOF
18388 cat confdefs.h >>conftest.$ac_ext
18389 cat >>conftest.$ac_ext <<_ACEOF
18390 /* end confdefs.h.  */
18391 #include <math.h>
18392                       #ifdef HAVE_IEEEFP_H
18393                       #include <ieeefp.h>
18394                       #endif
18395
18396 int
18397 main ()
18398 {
18399  isinfl(0);
18400   ;
18401   return 0;
18402 }
18403 _ACEOF
18404 rm -f conftest.$ac_objext
18405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18406   (eval $ac_compile) 2>conftest.er1
18407   ac_status=$?
18408   grep -v '^ *+' conftest.er1 >conftest.err
18409   rm -f conftest.er1
18410   cat conftest.err >&5
18411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18412   (exit $ac_status); } &&
18413          { ac_try='test -z "$ac_cxx_werror_flag"
18414                          || test ! -s conftest.err'
18415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18416   (eval $ac_try) 2>&5
18417   ac_status=$?
18418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18419   (exit $ac_status); }; } &&
18420          { ac_try='test -s conftest.$ac_objext'
18421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18422   (eval $ac_try) 2>&5
18423   ac_status=$?
18424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18425   (exit $ac_status); }; }; then
18426   glibcxx_cv_func_isinfl_use=yes
18427 else
18428   echo "$as_me: failed program was:" >&5
18429 sed 's/^/| /' conftest.$ac_ext >&5
18430
18431 glibcxx_cv_func_isinfl_use=no
18432 fi
18433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18434       ac_ext=c
18435 ac_cpp='$CPP $CPPFLAGS'
18436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18439
18440
18441 fi
18442
18443   fi
18444   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
18445 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
18446
18447   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
18448
18449 for ac_func in isinfl
18450 do
18451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18452 echo "$as_me:$LINENO: checking for $ac_func" >&5
18453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18454 if eval "test \"\${$as_ac_var+set}\" = set"; then
18455   echo $ECHO_N "(cached) $ECHO_C" >&6
18456 else
18457   if test x$gcc_no_link = xyes; then
18458   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18460    { (exit 1); exit 1; }; }
18461 fi
18462 cat >conftest.$ac_ext <<_ACEOF
18463 /* confdefs.h.  */
18464 _ACEOF
18465 cat confdefs.h >>conftest.$ac_ext
18466 cat >>conftest.$ac_ext <<_ACEOF
18467 /* end confdefs.h.  */
18468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18469    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18470 #define $ac_func innocuous_$ac_func
18471
18472 /* System header to define __stub macros and hopefully few prototypes,
18473     which can conflict with char $ac_func (); below.
18474     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18475     <limits.h> exists even on freestanding compilers.  */
18476
18477 #ifdef __STDC__
18478 # include <limits.h>
18479 #else
18480 # include <assert.h>
18481 #endif
18482
18483 #undef $ac_func
18484
18485 /* Override any gcc2 internal prototype to avoid an error.  */
18486 #ifdef __cplusplus
18487 extern "C"
18488 {
18489 #endif
18490 /* We use char because int might match the return type of a gcc2
18491    builtin and then its argument prototype would still apply.  */
18492 char $ac_func ();
18493 /* The GNU C library defines this for functions which it implements
18494     to always fail with ENOSYS.  Some functions are actually named
18495     something starting with __ and the normal name is an alias.  */
18496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18497 choke me
18498 #else
18499 char (*f) () = $ac_func;
18500 #endif
18501 #ifdef __cplusplus
18502 }
18503 #endif
18504
18505 int
18506 main ()
18507 {
18508 return f != $ac_func;
18509   ;
18510   return 0;
18511 }
18512 _ACEOF
18513 rm -f conftest.$ac_objext conftest$ac_exeext
18514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18515   (eval $ac_link) 2>conftest.er1
18516   ac_status=$?
18517   grep -v '^ *+' conftest.er1 >conftest.err
18518   rm -f conftest.er1
18519   cat conftest.err >&5
18520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521   (exit $ac_status); } &&
18522          { ac_try='test -z "$ac_c_werror_flag"
18523                          || test ! -s conftest.err'
18524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18525   (eval $ac_try) 2>&5
18526   ac_status=$?
18527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18528   (exit $ac_status); }; } &&
18529          { ac_try='test -s conftest$ac_exeext'
18530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18531   (eval $ac_try) 2>&5
18532   ac_status=$?
18533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18534   (exit $ac_status); }; }; then
18535   eval "$as_ac_var=yes"
18536 else
18537   echo "$as_me: failed program was:" >&5
18538 sed 's/^/| /' conftest.$ac_ext >&5
18539
18540 eval "$as_ac_var=no"
18541 fi
18542 rm -f conftest.err conftest.$ac_objext \
18543       conftest$ac_exeext conftest.$ac_ext
18544 fi
18545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18547 if test `eval echo '${'$as_ac_var'}'` = yes; then
18548   cat >>confdefs.h <<_ACEOF
18549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18550 _ACEOF
18551
18552 fi
18553 done
18554
18555   else
18556
18557   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
18558 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
18559   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
18560     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
18561   echo $ECHO_N "(cached) $ECHO_C" >&6
18562 else
18563
18564
18565
18566       ac_ext=cc
18567 ac_cpp='$CXXCPP $CPPFLAGS'
18568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18571
18572       cat >conftest.$ac_ext <<_ACEOF
18573 /* confdefs.h.  */
18574 _ACEOF
18575 cat confdefs.h >>conftest.$ac_ext
18576 cat >>conftest.$ac_ext <<_ACEOF
18577 /* end confdefs.h.  */
18578 #include <math.h>
18579                       #ifdef HAVE_IEEEFP_H
18580                       #include <ieeefp.h>
18581                       #endif
18582
18583 int
18584 main ()
18585 {
18586  _isinfl(0);
18587   ;
18588   return 0;
18589 }
18590 _ACEOF
18591 rm -f conftest.$ac_objext
18592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18593   (eval $ac_compile) 2>conftest.er1
18594   ac_status=$?
18595   grep -v '^ *+' conftest.er1 >conftest.err
18596   rm -f conftest.er1
18597   cat conftest.err >&5
18598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18599   (exit $ac_status); } &&
18600          { ac_try='test -z "$ac_cxx_werror_flag"
18601                          || test ! -s conftest.err'
18602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18603   (eval $ac_try) 2>&5
18604   ac_status=$?
18605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18606   (exit $ac_status); }; } &&
18607          { ac_try='test -s conftest.$ac_objext'
18608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18609   (eval $ac_try) 2>&5
18610   ac_status=$?
18611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18612   (exit $ac_status); }; }; then
18613   glibcxx_cv_func__isinfl_use=yes
18614 else
18615   echo "$as_me: failed program was:" >&5
18616 sed 's/^/| /' conftest.$ac_ext >&5
18617
18618 glibcxx_cv_func__isinfl_use=no
18619 fi
18620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18621       ac_ext=c
18622 ac_cpp='$CPP $CPPFLAGS'
18623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18626
18627
18628 fi
18629
18630   fi
18631   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
18632 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
18633
18634     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
18635
18636 for ac_func in _isinfl
18637 do
18638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18639 echo "$as_me:$LINENO: checking for $ac_func" >&5
18640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18641 if eval "test \"\${$as_ac_var+set}\" = set"; then
18642   echo $ECHO_N "(cached) $ECHO_C" >&6
18643 else
18644   if test x$gcc_no_link = xyes; then
18645   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18647    { (exit 1); exit 1; }; }
18648 fi
18649 cat >conftest.$ac_ext <<_ACEOF
18650 /* confdefs.h.  */
18651 _ACEOF
18652 cat confdefs.h >>conftest.$ac_ext
18653 cat >>conftest.$ac_ext <<_ACEOF
18654 /* end confdefs.h.  */
18655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18656    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18657 #define $ac_func innocuous_$ac_func
18658
18659 /* System header to define __stub macros and hopefully few prototypes,
18660     which can conflict with char $ac_func (); below.
18661     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18662     <limits.h> exists even on freestanding compilers.  */
18663
18664 #ifdef __STDC__
18665 # include <limits.h>
18666 #else
18667 # include <assert.h>
18668 #endif
18669
18670 #undef $ac_func
18671
18672 /* Override any gcc2 internal prototype to avoid an error.  */
18673 #ifdef __cplusplus
18674 extern "C"
18675 {
18676 #endif
18677 /* We use char because int might match the return type of a gcc2
18678    builtin and then its argument prototype would still apply.  */
18679 char $ac_func ();
18680 /* The GNU C library defines this for functions which it implements
18681     to always fail with ENOSYS.  Some functions are actually named
18682     something starting with __ and the normal name is an alias.  */
18683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18684 choke me
18685 #else
18686 char (*f) () = $ac_func;
18687 #endif
18688 #ifdef __cplusplus
18689 }
18690 #endif
18691
18692 int
18693 main ()
18694 {
18695 return f != $ac_func;
18696   ;
18697   return 0;
18698 }
18699 _ACEOF
18700 rm -f conftest.$ac_objext conftest$ac_exeext
18701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18702   (eval $ac_link) 2>conftest.er1
18703   ac_status=$?
18704   grep -v '^ *+' conftest.er1 >conftest.err
18705   rm -f conftest.er1
18706   cat conftest.err >&5
18707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18708   (exit $ac_status); } &&
18709          { ac_try='test -z "$ac_c_werror_flag"
18710                          || test ! -s conftest.err'
18711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18712   (eval $ac_try) 2>&5
18713   ac_status=$?
18714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18715   (exit $ac_status); }; } &&
18716          { ac_try='test -s conftest$ac_exeext'
18717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18718   (eval $ac_try) 2>&5
18719   ac_status=$?
18720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18721   (exit $ac_status); }; }; then
18722   eval "$as_ac_var=yes"
18723 else
18724   echo "$as_me: failed program was:" >&5
18725 sed 's/^/| /' conftest.$ac_ext >&5
18726
18727 eval "$as_ac_var=no"
18728 fi
18729 rm -f conftest.err conftest.$ac_objext \
18730       conftest$ac_exeext conftest.$ac_ext
18731 fi
18732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18734 if test `eval echo '${'$as_ac_var'}'` = yes; then
18735   cat >>confdefs.h <<_ACEOF
18736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18737 _ACEOF
18738
18739 fi
18740 done
18741
18742     fi
18743   fi
18744
18745
18746
18747   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
18748 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
18749   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
18750     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
18751   echo $ECHO_N "(cached) $ECHO_C" >&6
18752 else
18753
18754
18755
18756       ac_ext=cc
18757 ac_cpp='$CXXCPP $CPPFLAGS'
18758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18761
18762       cat >conftest.$ac_ext <<_ACEOF
18763 /* confdefs.h.  */
18764 _ACEOF
18765 cat confdefs.h >>conftest.$ac_ext
18766 cat >>conftest.$ac_ext <<_ACEOF
18767 /* end confdefs.h.  */
18768 #include <math.h>
18769 int
18770 main ()
18771 {
18772  copysignl(0, 0);
18773   ;
18774   return 0;
18775 }
18776 _ACEOF
18777 rm -f conftest.$ac_objext
18778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18779   (eval $ac_compile) 2>conftest.er1
18780   ac_status=$?
18781   grep -v '^ *+' conftest.er1 >conftest.err
18782   rm -f conftest.er1
18783   cat conftest.err >&5
18784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18785   (exit $ac_status); } &&
18786          { ac_try='test -z "$ac_cxx_werror_flag"
18787                          || test ! -s conftest.err'
18788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18789   (eval $ac_try) 2>&5
18790   ac_status=$?
18791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18792   (exit $ac_status); }; } &&
18793          { ac_try='test -s conftest.$ac_objext'
18794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18795   (eval $ac_try) 2>&5
18796   ac_status=$?
18797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18798   (exit $ac_status); }; }; then
18799   glibcxx_cv_func_copysignl_use=yes
18800 else
18801   echo "$as_me: failed program was:" >&5
18802 sed 's/^/| /' conftest.$ac_ext >&5
18803
18804 glibcxx_cv_func_copysignl_use=no
18805 fi
18806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18807       ac_ext=c
18808 ac_cpp='$CPP $CPPFLAGS'
18809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18812
18813
18814 fi
18815
18816   fi
18817   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
18818 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
18819
18820   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
18821
18822 for ac_func in copysignl
18823 do
18824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18825 echo "$as_me:$LINENO: checking for $ac_func" >&5
18826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18827 if eval "test \"\${$as_ac_var+set}\" = set"; then
18828   echo $ECHO_N "(cached) $ECHO_C" >&6
18829 else
18830   if test x$gcc_no_link = xyes; then
18831   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18833    { (exit 1); exit 1; }; }
18834 fi
18835 cat >conftest.$ac_ext <<_ACEOF
18836 /* confdefs.h.  */
18837 _ACEOF
18838 cat confdefs.h >>conftest.$ac_ext
18839 cat >>conftest.$ac_ext <<_ACEOF
18840 /* end confdefs.h.  */
18841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18842    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18843 #define $ac_func innocuous_$ac_func
18844
18845 /* System header to define __stub macros and hopefully few prototypes,
18846     which can conflict with char $ac_func (); below.
18847     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18848     <limits.h> exists even on freestanding compilers.  */
18849
18850 #ifdef __STDC__
18851 # include <limits.h>
18852 #else
18853 # include <assert.h>
18854 #endif
18855
18856 #undef $ac_func
18857
18858 /* Override any gcc2 internal prototype to avoid an error.  */
18859 #ifdef __cplusplus
18860 extern "C"
18861 {
18862 #endif
18863 /* We use char because int might match the return type of a gcc2
18864    builtin and then its argument prototype would still apply.  */
18865 char $ac_func ();
18866 /* The GNU C library defines this for functions which it implements
18867     to always fail with ENOSYS.  Some functions are actually named
18868     something starting with __ and the normal name is an alias.  */
18869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18870 choke me
18871 #else
18872 char (*f) () = $ac_func;
18873 #endif
18874 #ifdef __cplusplus
18875 }
18876 #endif
18877
18878 int
18879 main ()
18880 {
18881 return f != $ac_func;
18882   ;
18883   return 0;
18884 }
18885 _ACEOF
18886 rm -f conftest.$ac_objext conftest$ac_exeext
18887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18888   (eval $ac_link) 2>conftest.er1
18889   ac_status=$?
18890   grep -v '^ *+' conftest.er1 >conftest.err
18891   rm -f conftest.er1
18892   cat conftest.err >&5
18893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894   (exit $ac_status); } &&
18895          { ac_try='test -z "$ac_c_werror_flag"
18896                          || test ! -s conftest.err'
18897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18898   (eval $ac_try) 2>&5
18899   ac_status=$?
18900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18901   (exit $ac_status); }; } &&
18902          { ac_try='test -s conftest$ac_exeext'
18903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18904   (eval $ac_try) 2>&5
18905   ac_status=$?
18906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18907   (exit $ac_status); }; }; then
18908   eval "$as_ac_var=yes"
18909 else
18910   echo "$as_me: failed program was:" >&5
18911 sed 's/^/| /' conftest.$ac_ext >&5
18912
18913 eval "$as_ac_var=no"
18914 fi
18915 rm -f conftest.err conftest.$ac_objext \
18916       conftest$ac_exeext conftest.$ac_ext
18917 fi
18918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18920 if test `eval echo '${'$as_ac_var'}'` = yes; then
18921   cat >>confdefs.h <<_ACEOF
18922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18923 _ACEOF
18924
18925 fi
18926 done
18927
18928   else
18929
18930   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
18931 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
18932   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
18933     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
18934   echo $ECHO_N "(cached) $ECHO_C" >&6
18935 else
18936
18937
18938
18939       ac_ext=cc
18940 ac_cpp='$CXXCPP $CPPFLAGS'
18941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18944
18945       cat >conftest.$ac_ext <<_ACEOF
18946 /* confdefs.h.  */
18947 _ACEOF
18948 cat confdefs.h >>conftest.$ac_ext
18949 cat >>conftest.$ac_ext <<_ACEOF
18950 /* end confdefs.h.  */
18951 #include <math.h>
18952 int
18953 main ()
18954 {
18955  _copysignl(0, 0);
18956   ;
18957   return 0;
18958 }
18959 _ACEOF
18960 rm -f conftest.$ac_objext
18961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18962   (eval $ac_compile) 2>conftest.er1
18963   ac_status=$?
18964   grep -v '^ *+' conftest.er1 >conftest.err
18965   rm -f conftest.er1
18966   cat conftest.err >&5
18967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18968   (exit $ac_status); } &&
18969          { ac_try='test -z "$ac_cxx_werror_flag"
18970                          || test ! -s conftest.err'
18971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18972   (eval $ac_try) 2>&5
18973   ac_status=$?
18974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18975   (exit $ac_status); }; } &&
18976          { ac_try='test -s conftest.$ac_objext'
18977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18978   (eval $ac_try) 2>&5
18979   ac_status=$?
18980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18981   (exit $ac_status); }; }; then
18982   glibcxx_cv_func__copysignl_use=yes
18983 else
18984   echo "$as_me: failed program was:" >&5
18985 sed 's/^/| /' conftest.$ac_ext >&5
18986
18987 glibcxx_cv_func__copysignl_use=no
18988 fi
18989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18990       ac_ext=c
18991 ac_cpp='$CPP $CPPFLAGS'
18992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18995
18996
18997 fi
18998
18999   fi
19000   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
19001 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
19002
19003     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
19004
19005 for ac_func in _copysignl
19006 do
19007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19008 echo "$as_me:$LINENO: checking for $ac_func" >&5
19009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19010 if eval "test \"\${$as_ac_var+set}\" = set"; then
19011   echo $ECHO_N "(cached) $ECHO_C" >&6
19012 else
19013   if test x$gcc_no_link = xyes; then
19014   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19016    { (exit 1); exit 1; }; }
19017 fi
19018 cat >conftest.$ac_ext <<_ACEOF
19019 /* confdefs.h.  */
19020 _ACEOF
19021 cat confdefs.h >>conftest.$ac_ext
19022 cat >>conftest.$ac_ext <<_ACEOF
19023 /* end confdefs.h.  */
19024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19025    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19026 #define $ac_func innocuous_$ac_func
19027
19028 /* System header to define __stub macros and hopefully few prototypes,
19029     which can conflict with char $ac_func (); below.
19030     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19031     <limits.h> exists even on freestanding compilers.  */
19032
19033 #ifdef __STDC__
19034 # include <limits.h>
19035 #else
19036 # include <assert.h>
19037 #endif
19038
19039 #undef $ac_func
19040
19041 /* Override any gcc2 internal prototype to avoid an error.  */
19042 #ifdef __cplusplus
19043 extern "C"
19044 {
19045 #endif
19046 /* We use char because int might match the return type of a gcc2
19047    builtin and then its argument prototype would still apply.  */
19048 char $ac_func ();
19049 /* The GNU C library defines this for functions which it implements
19050     to always fail with ENOSYS.  Some functions are actually named
19051     something starting with __ and the normal name is an alias.  */
19052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19053 choke me
19054 #else
19055 char (*f) () = $ac_func;
19056 #endif
19057 #ifdef __cplusplus
19058 }
19059 #endif
19060
19061 int
19062 main ()
19063 {
19064 return f != $ac_func;
19065   ;
19066   return 0;
19067 }
19068 _ACEOF
19069 rm -f conftest.$ac_objext conftest$ac_exeext
19070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19071   (eval $ac_link) 2>conftest.er1
19072   ac_status=$?
19073   grep -v '^ *+' conftest.er1 >conftest.err
19074   rm -f conftest.er1
19075   cat conftest.err >&5
19076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19077   (exit $ac_status); } &&
19078          { ac_try='test -z "$ac_c_werror_flag"
19079                          || test ! -s conftest.err'
19080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19081   (eval $ac_try) 2>&5
19082   ac_status=$?
19083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19084   (exit $ac_status); }; } &&
19085          { ac_try='test -s conftest$ac_exeext'
19086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19087   (eval $ac_try) 2>&5
19088   ac_status=$?
19089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19090   (exit $ac_status); }; }; then
19091   eval "$as_ac_var=yes"
19092 else
19093   echo "$as_me: failed program was:" >&5
19094 sed 's/^/| /' conftest.$ac_ext >&5
19095
19096 eval "$as_ac_var=no"
19097 fi
19098 rm -f conftest.err conftest.$ac_objext \
19099       conftest$ac_exeext conftest.$ac_ext
19100 fi
19101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19103 if test `eval echo '${'$as_ac_var'}'` = yes; then
19104   cat >>confdefs.h <<_ACEOF
19105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19106 _ACEOF
19107
19108 fi
19109 done
19110
19111     fi
19112   fi
19113
19114
19115
19116   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
19117 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
19118   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
19119     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
19120   echo $ECHO_N "(cached) $ECHO_C" >&6
19121 else
19122
19123
19124
19125       ac_ext=cc
19126 ac_cpp='$CXXCPP $CPPFLAGS'
19127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19130
19131       cat >conftest.$ac_ext <<_ACEOF
19132 /* confdefs.h.  */
19133 _ACEOF
19134 cat confdefs.h >>conftest.$ac_ext
19135 cat >>conftest.$ac_ext <<_ACEOF
19136 /* end confdefs.h.  */
19137 #include <math.h>
19138 int
19139 main ()
19140 {
19141  atan2l(0, 0);
19142   ;
19143   return 0;
19144 }
19145 _ACEOF
19146 rm -f conftest.$ac_objext
19147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19148   (eval $ac_compile) 2>conftest.er1
19149   ac_status=$?
19150   grep -v '^ *+' conftest.er1 >conftest.err
19151   rm -f conftest.er1
19152   cat conftest.err >&5
19153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19154   (exit $ac_status); } &&
19155          { ac_try='test -z "$ac_cxx_werror_flag"
19156                          || test ! -s conftest.err'
19157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19158   (eval $ac_try) 2>&5
19159   ac_status=$?
19160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19161   (exit $ac_status); }; } &&
19162          { ac_try='test -s conftest.$ac_objext'
19163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19164   (eval $ac_try) 2>&5
19165   ac_status=$?
19166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19167   (exit $ac_status); }; }; then
19168   glibcxx_cv_func_atan2l_use=yes
19169 else
19170   echo "$as_me: failed program was:" >&5
19171 sed 's/^/| /' conftest.$ac_ext >&5
19172
19173 glibcxx_cv_func_atan2l_use=no
19174 fi
19175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19176       ac_ext=c
19177 ac_cpp='$CPP $CPPFLAGS'
19178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19181
19182
19183 fi
19184
19185   fi
19186   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
19187 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
19188
19189   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
19190
19191 for ac_func in atan2l
19192 do
19193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19194 echo "$as_me:$LINENO: checking for $ac_func" >&5
19195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19196 if eval "test \"\${$as_ac_var+set}\" = set"; then
19197   echo $ECHO_N "(cached) $ECHO_C" >&6
19198 else
19199   if test x$gcc_no_link = xyes; then
19200   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19202    { (exit 1); exit 1; }; }
19203 fi
19204 cat >conftest.$ac_ext <<_ACEOF
19205 /* confdefs.h.  */
19206 _ACEOF
19207 cat confdefs.h >>conftest.$ac_ext
19208 cat >>conftest.$ac_ext <<_ACEOF
19209 /* end confdefs.h.  */
19210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19211    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19212 #define $ac_func innocuous_$ac_func
19213
19214 /* System header to define __stub macros and hopefully few prototypes,
19215     which can conflict with char $ac_func (); below.
19216     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19217     <limits.h> exists even on freestanding compilers.  */
19218
19219 #ifdef __STDC__
19220 # include <limits.h>
19221 #else
19222 # include <assert.h>
19223 #endif
19224
19225 #undef $ac_func
19226
19227 /* Override any gcc2 internal prototype to avoid an error.  */
19228 #ifdef __cplusplus
19229 extern "C"
19230 {
19231 #endif
19232 /* We use char because int might match the return type of a gcc2
19233    builtin and then its argument prototype would still apply.  */
19234 char $ac_func ();
19235 /* The GNU C library defines this for functions which it implements
19236     to always fail with ENOSYS.  Some functions are actually named
19237     something starting with __ and the normal name is an alias.  */
19238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19239 choke me
19240 #else
19241 char (*f) () = $ac_func;
19242 #endif
19243 #ifdef __cplusplus
19244 }
19245 #endif
19246
19247 int
19248 main ()
19249 {
19250 return f != $ac_func;
19251   ;
19252   return 0;
19253 }
19254 _ACEOF
19255 rm -f conftest.$ac_objext conftest$ac_exeext
19256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19257   (eval $ac_link) 2>conftest.er1
19258   ac_status=$?
19259   grep -v '^ *+' conftest.er1 >conftest.err
19260   rm -f conftest.er1
19261   cat conftest.err >&5
19262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19263   (exit $ac_status); } &&
19264          { ac_try='test -z "$ac_c_werror_flag"
19265                          || test ! -s conftest.err'
19266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19267   (eval $ac_try) 2>&5
19268   ac_status=$?
19269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19270   (exit $ac_status); }; } &&
19271          { ac_try='test -s conftest$ac_exeext'
19272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19273   (eval $ac_try) 2>&5
19274   ac_status=$?
19275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19276   (exit $ac_status); }; }; then
19277   eval "$as_ac_var=yes"
19278 else
19279   echo "$as_me: failed program was:" >&5
19280 sed 's/^/| /' conftest.$ac_ext >&5
19281
19282 eval "$as_ac_var=no"
19283 fi
19284 rm -f conftest.err conftest.$ac_objext \
19285       conftest$ac_exeext conftest.$ac_ext
19286 fi
19287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19289 if test `eval echo '${'$as_ac_var'}'` = yes; then
19290   cat >>confdefs.h <<_ACEOF
19291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19292 _ACEOF
19293
19294 fi
19295 done
19296
19297   else
19298
19299   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
19300 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
19301   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
19302     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
19303   echo $ECHO_N "(cached) $ECHO_C" >&6
19304 else
19305
19306
19307
19308       ac_ext=cc
19309 ac_cpp='$CXXCPP $CPPFLAGS'
19310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19313
19314       cat >conftest.$ac_ext <<_ACEOF
19315 /* confdefs.h.  */
19316 _ACEOF
19317 cat confdefs.h >>conftest.$ac_ext
19318 cat >>conftest.$ac_ext <<_ACEOF
19319 /* end confdefs.h.  */
19320 #include <math.h>
19321 int
19322 main ()
19323 {
19324  _atan2l(0, 0);
19325   ;
19326   return 0;
19327 }
19328 _ACEOF
19329 rm -f conftest.$ac_objext
19330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19331   (eval $ac_compile) 2>conftest.er1
19332   ac_status=$?
19333   grep -v '^ *+' conftest.er1 >conftest.err
19334   rm -f conftest.er1
19335   cat conftest.err >&5
19336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337   (exit $ac_status); } &&
19338          { ac_try='test -z "$ac_cxx_werror_flag"
19339                          || test ! -s conftest.err'
19340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19341   (eval $ac_try) 2>&5
19342   ac_status=$?
19343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19344   (exit $ac_status); }; } &&
19345          { ac_try='test -s conftest.$ac_objext'
19346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19347   (eval $ac_try) 2>&5
19348   ac_status=$?
19349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19350   (exit $ac_status); }; }; then
19351   glibcxx_cv_func__atan2l_use=yes
19352 else
19353   echo "$as_me: failed program was:" >&5
19354 sed 's/^/| /' conftest.$ac_ext >&5
19355
19356 glibcxx_cv_func__atan2l_use=no
19357 fi
19358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19359       ac_ext=c
19360 ac_cpp='$CPP $CPPFLAGS'
19361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19364
19365
19366 fi
19367
19368   fi
19369   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
19370 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
19371
19372     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
19373
19374 for ac_func in _atan2l
19375 do
19376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19377 echo "$as_me:$LINENO: checking for $ac_func" >&5
19378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19379 if eval "test \"\${$as_ac_var+set}\" = set"; then
19380   echo $ECHO_N "(cached) $ECHO_C" >&6
19381 else
19382   if test x$gcc_no_link = xyes; then
19383   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19385    { (exit 1); exit 1; }; }
19386 fi
19387 cat >conftest.$ac_ext <<_ACEOF
19388 /* confdefs.h.  */
19389 _ACEOF
19390 cat confdefs.h >>conftest.$ac_ext
19391 cat >>conftest.$ac_ext <<_ACEOF
19392 /* end confdefs.h.  */
19393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19394    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19395 #define $ac_func innocuous_$ac_func
19396
19397 /* System header to define __stub macros and hopefully few prototypes,
19398     which can conflict with char $ac_func (); below.
19399     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19400     <limits.h> exists even on freestanding compilers.  */
19401
19402 #ifdef __STDC__
19403 # include <limits.h>
19404 #else
19405 # include <assert.h>
19406 #endif
19407
19408 #undef $ac_func
19409
19410 /* Override any gcc2 internal prototype to avoid an error.  */
19411 #ifdef __cplusplus
19412 extern "C"
19413 {
19414 #endif
19415 /* We use char because int might match the return type of a gcc2
19416    builtin and then its argument prototype would still apply.  */
19417 char $ac_func ();
19418 /* The GNU C library defines this for functions which it implements
19419     to always fail with ENOSYS.  Some functions are actually named
19420     something starting with __ and the normal name is an alias.  */
19421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19422 choke me
19423 #else
19424 char (*f) () = $ac_func;
19425 #endif
19426 #ifdef __cplusplus
19427 }
19428 #endif
19429
19430 int
19431 main ()
19432 {
19433 return f != $ac_func;
19434   ;
19435   return 0;
19436 }
19437 _ACEOF
19438 rm -f conftest.$ac_objext conftest$ac_exeext
19439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19440   (eval $ac_link) 2>conftest.er1
19441   ac_status=$?
19442   grep -v '^ *+' conftest.er1 >conftest.err
19443   rm -f conftest.er1
19444   cat conftest.err >&5
19445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19446   (exit $ac_status); } &&
19447          { ac_try='test -z "$ac_c_werror_flag"
19448                          || test ! -s conftest.err'
19449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19450   (eval $ac_try) 2>&5
19451   ac_status=$?
19452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453   (exit $ac_status); }; } &&
19454          { ac_try='test -s conftest$ac_exeext'
19455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19456   (eval $ac_try) 2>&5
19457   ac_status=$?
19458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459   (exit $ac_status); }; }; then
19460   eval "$as_ac_var=yes"
19461 else
19462   echo "$as_me: failed program was:" >&5
19463 sed 's/^/| /' conftest.$ac_ext >&5
19464
19465 eval "$as_ac_var=no"
19466 fi
19467 rm -f conftest.err conftest.$ac_objext \
19468       conftest$ac_exeext conftest.$ac_ext
19469 fi
19470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19472 if test `eval echo '${'$as_ac_var'}'` = yes; then
19473   cat >>confdefs.h <<_ACEOF
19474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19475 _ACEOF
19476
19477 fi
19478 done
19479
19480     fi
19481   fi
19482
19483
19484
19485   echo "$as_me:$LINENO: checking for expl declaration" >&5
19486 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
19487   if test x${glibcxx_cv_func_expl_use+set} != xset; then
19488     if test "${glibcxx_cv_func_expl_use+set}" = set; then
19489   echo $ECHO_N "(cached) $ECHO_C" >&6
19490 else
19491
19492
19493
19494       ac_ext=cc
19495 ac_cpp='$CXXCPP $CPPFLAGS'
19496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19499
19500       cat >conftest.$ac_ext <<_ACEOF
19501 /* confdefs.h.  */
19502 _ACEOF
19503 cat confdefs.h >>conftest.$ac_ext
19504 cat >>conftest.$ac_ext <<_ACEOF
19505 /* end confdefs.h.  */
19506 #include <math.h>
19507                       #ifdef HAVE_IEEEFP_H
19508                       #include <ieeefp.h>
19509                       #endif
19510
19511 int
19512 main ()
19513 {
19514  expl(0);
19515   ;
19516   return 0;
19517 }
19518 _ACEOF
19519 rm -f conftest.$ac_objext
19520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19521   (eval $ac_compile) 2>conftest.er1
19522   ac_status=$?
19523   grep -v '^ *+' conftest.er1 >conftest.err
19524   rm -f conftest.er1
19525   cat conftest.err >&5
19526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527   (exit $ac_status); } &&
19528          { ac_try='test -z "$ac_cxx_werror_flag"
19529                          || test ! -s conftest.err'
19530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19531   (eval $ac_try) 2>&5
19532   ac_status=$?
19533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534   (exit $ac_status); }; } &&
19535          { ac_try='test -s conftest.$ac_objext'
19536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19537   (eval $ac_try) 2>&5
19538   ac_status=$?
19539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19540   (exit $ac_status); }; }; then
19541   glibcxx_cv_func_expl_use=yes
19542 else
19543   echo "$as_me: failed program was:" >&5
19544 sed 's/^/| /' conftest.$ac_ext >&5
19545
19546 glibcxx_cv_func_expl_use=no
19547 fi
19548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19549       ac_ext=c
19550 ac_cpp='$CPP $CPPFLAGS'
19551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19554
19555
19556 fi
19557
19558   fi
19559   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
19560 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
19561
19562   if test x$glibcxx_cv_func_expl_use = x"yes"; then
19563
19564 for ac_func in expl
19565 do
19566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19567 echo "$as_me:$LINENO: checking for $ac_func" >&5
19568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19569 if eval "test \"\${$as_ac_var+set}\" = set"; then
19570   echo $ECHO_N "(cached) $ECHO_C" >&6
19571 else
19572   if test x$gcc_no_link = xyes; then
19573   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19575    { (exit 1); exit 1; }; }
19576 fi
19577 cat >conftest.$ac_ext <<_ACEOF
19578 /* confdefs.h.  */
19579 _ACEOF
19580 cat confdefs.h >>conftest.$ac_ext
19581 cat >>conftest.$ac_ext <<_ACEOF
19582 /* end confdefs.h.  */
19583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19584    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19585 #define $ac_func innocuous_$ac_func
19586
19587 /* System header to define __stub macros and hopefully few prototypes,
19588     which can conflict with char $ac_func (); below.
19589     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19590     <limits.h> exists even on freestanding compilers.  */
19591
19592 #ifdef __STDC__
19593 # include <limits.h>
19594 #else
19595 # include <assert.h>
19596 #endif
19597
19598 #undef $ac_func
19599
19600 /* Override any gcc2 internal prototype to avoid an error.  */
19601 #ifdef __cplusplus
19602 extern "C"
19603 {
19604 #endif
19605 /* We use char because int might match the return type of a gcc2
19606    builtin and then its argument prototype would still apply.  */
19607 char $ac_func ();
19608 /* The GNU C library defines this for functions which it implements
19609     to always fail with ENOSYS.  Some functions are actually named
19610     something starting with __ and the normal name is an alias.  */
19611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19612 choke me
19613 #else
19614 char (*f) () = $ac_func;
19615 #endif
19616 #ifdef __cplusplus
19617 }
19618 #endif
19619
19620 int
19621 main ()
19622 {
19623 return f != $ac_func;
19624   ;
19625   return 0;
19626 }
19627 _ACEOF
19628 rm -f conftest.$ac_objext conftest$ac_exeext
19629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19630   (eval $ac_link) 2>conftest.er1
19631   ac_status=$?
19632   grep -v '^ *+' conftest.er1 >conftest.err
19633   rm -f conftest.er1
19634   cat conftest.err >&5
19635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636   (exit $ac_status); } &&
19637          { ac_try='test -z "$ac_c_werror_flag"
19638                          || test ! -s conftest.err'
19639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19640   (eval $ac_try) 2>&5
19641   ac_status=$?
19642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643   (exit $ac_status); }; } &&
19644          { ac_try='test -s conftest$ac_exeext'
19645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19646   (eval $ac_try) 2>&5
19647   ac_status=$?
19648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649   (exit $ac_status); }; }; then
19650   eval "$as_ac_var=yes"
19651 else
19652   echo "$as_me: failed program was:" >&5
19653 sed 's/^/| /' conftest.$ac_ext >&5
19654
19655 eval "$as_ac_var=no"
19656 fi
19657 rm -f conftest.err conftest.$ac_objext \
19658       conftest$ac_exeext conftest.$ac_ext
19659 fi
19660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19662 if test `eval echo '${'$as_ac_var'}'` = yes; then
19663   cat >>confdefs.h <<_ACEOF
19664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19665 _ACEOF
19666
19667 fi
19668 done
19669
19670   else
19671
19672   echo "$as_me:$LINENO: checking for _expl declaration" >&5
19673 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
19674   if test x${glibcxx_cv_func__expl_use+set} != xset; then
19675     if test "${glibcxx_cv_func__expl_use+set}" = set; then
19676   echo $ECHO_N "(cached) $ECHO_C" >&6
19677 else
19678
19679
19680
19681       ac_ext=cc
19682 ac_cpp='$CXXCPP $CPPFLAGS'
19683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19686
19687       cat >conftest.$ac_ext <<_ACEOF
19688 /* confdefs.h.  */
19689 _ACEOF
19690 cat confdefs.h >>conftest.$ac_ext
19691 cat >>conftest.$ac_ext <<_ACEOF
19692 /* end confdefs.h.  */
19693 #include <math.h>
19694                       #ifdef HAVE_IEEEFP_H
19695                       #include <ieeefp.h>
19696                       #endif
19697
19698 int
19699 main ()
19700 {
19701  _expl(0);
19702   ;
19703   return 0;
19704 }
19705 _ACEOF
19706 rm -f conftest.$ac_objext
19707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19708   (eval $ac_compile) 2>conftest.er1
19709   ac_status=$?
19710   grep -v '^ *+' conftest.er1 >conftest.err
19711   rm -f conftest.er1
19712   cat conftest.err >&5
19713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714   (exit $ac_status); } &&
19715          { ac_try='test -z "$ac_cxx_werror_flag"
19716                          || test ! -s conftest.err'
19717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19718   (eval $ac_try) 2>&5
19719   ac_status=$?
19720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19721   (exit $ac_status); }; } &&
19722          { ac_try='test -s conftest.$ac_objext'
19723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19724   (eval $ac_try) 2>&5
19725   ac_status=$?
19726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19727   (exit $ac_status); }; }; then
19728   glibcxx_cv_func__expl_use=yes
19729 else
19730   echo "$as_me: failed program was:" >&5
19731 sed 's/^/| /' conftest.$ac_ext >&5
19732
19733 glibcxx_cv_func__expl_use=no
19734 fi
19735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19736       ac_ext=c
19737 ac_cpp='$CPP $CPPFLAGS'
19738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19741
19742
19743 fi
19744
19745   fi
19746   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
19747 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
19748
19749     if test x$glibcxx_cv_func__expl_use = x"yes"; then
19750
19751 for ac_func in _expl
19752 do
19753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19754 echo "$as_me:$LINENO: checking for $ac_func" >&5
19755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19756 if eval "test \"\${$as_ac_var+set}\" = set"; then
19757   echo $ECHO_N "(cached) $ECHO_C" >&6
19758 else
19759   if test x$gcc_no_link = xyes; then
19760   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19762    { (exit 1); exit 1; }; }
19763 fi
19764 cat >conftest.$ac_ext <<_ACEOF
19765 /* confdefs.h.  */
19766 _ACEOF
19767 cat confdefs.h >>conftest.$ac_ext
19768 cat >>conftest.$ac_ext <<_ACEOF
19769 /* end confdefs.h.  */
19770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19771    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19772 #define $ac_func innocuous_$ac_func
19773
19774 /* System header to define __stub macros and hopefully few prototypes,
19775     which can conflict with char $ac_func (); below.
19776     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19777     <limits.h> exists even on freestanding compilers.  */
19778
19779 #ifdef __STDC__
19780 # include <limits.h>
19781 #else
19782 # include <assert.h>
19783 #endif
19784
19785 #undef $ac_func
19786
19787 /* Override any gcc2 internal prototype to avoid an error.  */
19788 #ifdef __cplusplus
19789 extern "C"
19790 {
19791 #endif
19792 /* We use char because int might match the return type of a gcc2
19793    builtin and then its argument prototype would still apply.  */
19794 char $ac_func ();
19795 /* The GNU C library defines this for functions which it implements
19796     to always fail with ENOSYS.  Some functions are actually named
19797     something starting with __ and the normal name is an alias.  */
19798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19799 choke me
19800 #else
19801 char (*f) () = $ac_func;
19802 #endif
19803 #ifdef __cplusplus
19804 }
19805 #endif
19806
19807 int
19808 main ()
19809 {
19810 return f != $ac_func;
19811   ;
19812   return 0;
19813 }
19814 _ACEOF
19815 rm -f conftest.$ac_objext conftest$ac_exeext
19816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19817   (eval $ac_link) 2>conftest.er1
19818   ac_status=$?
19819   grep -v '^ *+' conftest.er1 >conftest.err
19820   rm -f conftest.er1
19821   cat conftest.err >&5
19822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19823   (exit $ac_status); } &&
19824          { ac_try='test -z "$ac_c_werror_flag"
19825                          || test ! -s conftest.err'
19826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19827   (eval $ac_try) 2>&5
19828   ac_status=$?
19829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19830   (exit $ac_status); }; } &&
19831          { ac_try='test -s conftest$ac_exeext'
19832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19833   (eval $ac_try) 2>&5
19834   ac_status=$?
19835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19836   (exit $ac_status); }; }; then
19837   eval "$as_ac_var=yes"
19838 else
19839   echo "$as_me: failed program was:" >&5
19840 sed 's/^/| /' conftest.$ac_ext >&5
19841
19842 eval "$as_ac_var=no"
19843 fi
19844 rm -f conftest.err conftest.$ac_objext \
19845       conftest$ac_exeext conftest.$ac_ext
19846 fi
19847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19849 if test `eval echo '${'$as_ac_var'}'` = yes; then
19850   cat >>confdefs.h <<_ACEOF
19851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19852 _ACEOF
19853
19854 fi
19855 done
19856
19857     fi
19858   fi
19859
19860
19861
19862   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
19863 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
19864   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
19865     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
19866   echo $ECHO_N "(cached) $ECHO_C" >&6
19867 else
19868
19869
19870
19871       ac_ext=cc
19872 ac_cpp='$CXXCPP $CPPFLAGS'
19873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19876
19877       cat >conftest.$ac_ext <<_ACEOF
19878 /* confdefs.h.  */
19879 _ACEOF
19880 cat confdefs.h >>conftest.$ac_ext
19881 cat >>conftest.$ac_ext <<_ACEOF
19882 /* end confdefs.h.  */
19883 #include <math.h>
19884                       #ifdef HAVE_IEEEFP_H
19885                       #include <ieeefp.h>
19886                       #endif
19887
19888 int
19889 main ()
19890 {
19891  fabsl(0);
19892   ;
19893   return 0;
19894 }
19895 _ACEOF
19896 rm -f conftest.$ac_objext
19897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19898   (eval $ac_compile) 2>conftest.er1
19899   ac_status=$?
19900   grep -v '^ *+' conftest.er1 >conftest.err
19901   rm -f conftest.er1
19902   cat conftest.err >&5
19903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19904   (exit $ac_status); } &&
19905          { ac_try='test -z "$ac_cxx_werror_flag"
19906                          || test ! -s conftest.err'
19907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19908   (eval $ac_try) 2>&5
19909   ac_status=$?
19910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19911   (exit $ac_status); }; } &&
19912          { ac_try='test -s conftest.$ac_objext'
19913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19914   (eval $ac_try) 2>&5
19915   ac_status=$?
19916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917   (exit $ac_status); }; }; then
19918   glibcxx_cv_func_fabsl_use=yes
19919 else
19920   echo "$as_me: failed program was:" >&5
19921 sed 's/^/| /' conftest.$ac_ext >&5
19922
19923 glibcxx_cv_func_fabsl_use=no
19924 fi
19925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19926       ac_ext=c
19927 ac_cpp='$CPP $CPPFLAGS'
19928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19931
19932
19933 fi
19934
19935   fi
19936   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
19937 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
19938
19939   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
19940
19941 for ac_func in fabsl
19942 do
19943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19944 echo "$as_me:$LINENO: checking for $ac_func" >&5
19945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19946 if eval "test \"\${$as_ac_var+set}\" = set"; then
19947   echo $ECHO_N "(cached) $ECHO_C" >&6
19948 else
19949   if test x$gcc_no_link = xyes; then
19950   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19952    { (exit 1); exit 1; }; }
19953 fi
19954 cat >conftest.$ac_ext <<_ACEOF
19955 /* confdefs.h.  */
19956 _ACEOF
19957 cat confdefs.h >>conftest.$ac_ext
19958 cat >>conftest.$ac_ext <<_ACEOF
19959 /* end confdefs.h.  */
19960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19961    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19962 #define $ac_func innocuous_$ac_func
19963
19964 /* System header to define __stub macros and hopefully few prototypes,
19965     which can conflict with char $ac_func (); below.
19966     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19967     <limits.h> exists even on freestanding compilers.  */
19968
19969 #ifdef __STDC__
19970 # include <limits.h>
19971 #else
19972 # include <assert.h>
19973 #endif
19974
19975 #undef $ac_func
19976
19977 /* Override any gcc2 internal prototype to avoid an error.  */
19978 #ifdef __cplusplus
19979 extern "C"
19980 {
19981 #endif
19982 /* We use char because int might match the return type of a gcc2
19983    builtin and then its argument prototype would still apply.  */
19984 char $ac_func ();
19985 /* The GNU C library defines this for functions which it implements
19986     to always fail with ENOSYS.  Some functions are actually named
19987     something starting with __ and the normal name is an alias.  */
19988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19989 choke me
19990 #else
19991 char (*f) () = $ac_func;
19992 #endif
19993 #ifdef __cplusplus
19994 }
19995 #endif
19996
19997 int
19998 main ()
19999 {
20000 return f != $ac_func;
20001   ;
20002   return 0;
20003 }
20004 _ACEOF
20005 rm -f conftest.$ac_objext conftest$ac_exeext
20006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20007   (eval $ac_link) 2>conftest.er1
20008   ac_status=$?
20009   grep -v '^ *+' conftest.er1 >conftest.err
20010   rm -f conftest.er1
20011   cat conftest.err >&5
20012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20013   (exit $ac_status); } &&
20014          { ac_try='test -z "$ac_c_werror_flag"
20015                          || test ! -s conftest.err'
20016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20017   (eval $ac_try) 2>&5
20018   ac_status=$?
20019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020   (exit $ac_status); }; } &&
20021          { ac_try='test -s conftest$ac_exeext'
20022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20023   (eval $ac_try) 2>&5
20024   ac_status=$?
20025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026   (exit $ac_status); }; }; then
20027   eval "$as_ac_var=yes"
20028 else
20029   echo "$as_me: failed program was:" >&5
20030 sed 's/^/| /' conftest.$ac_ext >&5
20031
20032 eval "$as_ac_var=no"
20033 fi
20034 rm -f conftest.err conftest.$ac_objext \
20035       conftest$ac_exeext conftest.$ac_ext
20036 fi
20037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20039 if test `eval echo '${'$as_ac_var'}'` = yes; then
20040   cat >>confdefs.h <<_ACEOF
20041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20042 _ACEOF
20043
20044 fi
20045 done
20046
20047   else
20048
20049   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
20050 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
20051   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
20052     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
20053   echo $ECHO_N "(cached) $ECHO_C" >&6
20054 else
20055
20056
20057
20058       ac_ext=cc
20059 ac_cpp='$CXXCPP $CPPFLAGS'
20060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20063
20064       cat >conftest.$ac_ext <<_ACEOF
20065 /* confdefs.h.  */
20066 _ACEOF
20067 cat confdefs.h >>conftest.$ac_ext
20068 cat >>conftest.$ac_ext <<_ACEOF
20069 /* end confdefs.h.  */
20070 #include <math.h>
20071                       #ifdef HAVE_IEEEFP_H
20072                       #include <ieeefp.h>
20073                       #endif
20074
20075 int
20076 main ()
20077 {
20078  _fabsl(0);
20079   ;
20080   return 0;
20081 }
20082 _ACEOF
20083 rm -f conftest.$ac_objext
20084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20085   (eval $ac_compile) 2>conftest.er1
20086   ac_status=$?
20087   grep -v '^ *+' conftest.er1 >conftest.err
20088   rm -f conftest.er1
20089   cat conftest.err >&5
20090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20091   (exit $ac_status); } &&
20092          { ac_try='test -z "$ac_cxx_werror_flag"
20093                          || test ! -s conftest.err'
20094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20095   (eval $ac_try) 2>&5
20096   ac_status=$?
20097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20098   (exit $ac_status); }; } &&
20099          { ac_try='test -s conftest.$ac_objext'
20100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20101   (eval $ac_try) 2>&5
20102   ac_status=$?
20103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20104   (exit $ac_status); }; }; then
20105   glibcxx_cv_func__fabsl_use=yes
20106 else
20107   echo "$as_me: failed program was:" >&5
20108 sed 's/^/| /' conftest.$ac_ext >&5
20109
20110 glibcxx_cv_func__fabsl_use=no
20111 fi
20112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20113       ac_ext=c
20114 ac_cpp='$CPP $CPPFLAGS'
20115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20118
20119
20120 fi
20121
20122   fi
20123   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
20124 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
20125
20126     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
20127
20128 for ac_func in _fabsl
20129 do
20130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20131 echo "$as_me:$LINENO: checking for $ac_func" >&5
20132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20133 if eval "test \"\${$as_ac_var+set}\" = set"; then
20134   echo $ECHO_N "(cached) $ECHO_C" >&6
20135 else
20136   if test x$gcc_no_link = xyes; then
20137   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20139    { (exit 1); exit 1; }; }
20140 fi
20141 cat >conftest.$ac_ext <<_ACEOF
20142 /* confdefs.h.  */
20143 _ACEOF
20144 cat confdefs.h >>conftest.$ac_ext
20145 cat >>conftest.$ac_ext <<_ACEOF
20146 /* end confdefs.h.  */
20147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20148    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20149 #define $ac_func innocuous_$ac_func
20150
20151 /* System header to define __stub macros and hopefully few prototypes,
20152     which can conflict with char $ac_func (); below.
20153     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20154     <limits.h> exists even on freestanding compilers.  */
20155
20156 #ifdef __STDC__
20157 # include <limits.h>
20158 #else
20159 # include <assert.h>
20160 #endif
20161
20162 #undef $ac_func
20163
20164 /* Override any gcc2 internal prototype to avoid an error.  */
20165 #ifdef __cplusplus
20166 extern "C"
20167 {
20168 #endif
20169 /* We use char because int might match the return type of a gcc2
20170    builtin and then its argument prototype would still apply.  */
20171 char $ac_func ();
20172 /* The GNU C library defines this for functions which it implements
20173     to always fail with ENOSYS.  Some functions are actually named
20174     something starting with __ and the normal name is an alias.  */
20175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20176 choke me
20177 #else
20178 char (*f) () = $ac_func;
20179 #endif
20180 #ifdef __cplusplus
20181 }
20182 #endif
20183
20184 int
20185 main ()
20186 {
20187 return f != $ac_func;
20188   ;
20189   return 0;
20190 }
20191 _ACEOF
20192 rm -f conftest.$ac_objext conftest$ac_exeext
20193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20194   (eval $ac_link) 2>conftest.er1
20195   ac_status=$?
20196   grep -v '^ *+' conftest.er1 >conftest.err
20197   rm -f conftest.er1
20198   cat conftest.err >&5
20199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200   (exit $ac_status); } &&
20201          { ac_try='test -z "$ac_c_werror_flag"
20202                          || test ! -s conftest.err'
20203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20204   (eval $ac_try) 2>&5
20205   ac_status=$?
20206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20207   (exit $ac_status); }; } &&
20208          { ac_try='test -s conftest$ac_exeext'
20209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20210   (eval $ac_try) 2>&5
20211   ac_status=$?
20212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20213   (exit $ac_status); }; }; then
20214   eval "$as_ac_var=yes"
20215 else
20216   echo "$as_me: failed program was:" >&5
20217 sed 's/^/| /' conftest.$ac_ext >&5
20218
20219 eval "$as_ac_var=no"
20220 fi
20221 rm -f conftest.err conftest.$ac_objext \
20222       conftest$ac_exeext conftest.$ac_ext
20223 fi
20224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20226 if test `eval echo '${'$as_ac_var'}'` = yes; then
20227   cat >>confdefs.h <<_ACEOF
20228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20229 _ACEOF
20230
20231 fi
20232 done
20233
20234     fi
20235   fi
20236
20237
20238
20239   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
20240 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
20241   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
20242     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
20243   echo $ECHO_N "(cached) $ECHO_C" >&6
20244 else
20245
20246
20247
20248       ac_ext=cc
20249 ac_cpp='$CXXCPP $CPPFLAGS'
20250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20253
20254       cat >conftest.$ac_ext <<_ACEOF
20255 /* confdefs.h.  */
20256 _ACEOF
20257 cat confdefs.h >>conftest.$ac_ext
20258 cat >>conftest.$ac_ext <<_ACEOF
20259 /* end confdefs.h.  */
20260 #include <math.h>
20261 int
20262 main ()
20263 {
20264  fmodl(0, 0);
20265   ;
20266   return 0;
20267 }
20268 _ACEOF
20269 rm -f conftest.$ac_objext
20270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20271   (eval $ac_compile) 2>conftest.er1
20272   ac_status=$?
20273   grep -v '^ *+' conftest.er1 >conftest.err
20274   rm -f conftest.er1
20275   cat conftest.err >&5
20276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20277   (exit $ac_status); } &&
20278          { ac_try='test -z "$ac_cxx_werror_flag"
20279                          || test ! -s conftest.err'
20280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20281   (eval $ac_try) 2>&5
20282   ac_status=$?
20283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20284   (exit $ac_status); }; } &&
20285          { ac_try='test -s conftest.$ac_objext'
20286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20287   (eval $ac_try) 2>&5
20288   ac_status=$?
20289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290   (exit $ac_status); }; }; then
20291   glibcxx_cv_func_fmodl_use=yes
20292 else
20293   echo "$as_me: failed program was:" >&5
20294 sed 's/^/| /' conftest.$ac_ext >&5
20295
20296 glibcxx_cv_func_fmodl_use=no
20297 fi
20298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20299       ac_ext=c
20300 ac_cpp='$CPP $CPPFLAGS'
20301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20304
20305
20306 fi
20307
20308   fi
20309   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
20310 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
20311
20312   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
20313
20314 for ac_func in fmodl
20315 do
20316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20317 echo "$as_me:$LINENO: checking for $ac_func" >&5
20318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20319 if eval "test \"\${$as_ac_var+set}\" = set"; then
20320   echo $ECHO_N "(cached) $ECHO_C" >&6
20321 else
20322   if test x$gcc_no_link = xyes; then
20323   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20325    { (exit 1); exit 1; }; }
20326 fi
20327 cat >conftest.$ac_ext <<_ACEOF
20328 /* confdefs.h.  */
20329 _ACEOF
20330 cat confdefs.h >>conftest.$ac_ext
20331 cat >>conftest.$ac_ext <<_ACEOF
20332 /* end confdefs.h.  */
20333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20334    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20335 #define $ac_func innocuous_$ac_func
20336
20337 /* System header to define __stub macros and hopefully few prototypes,
20338     which can conflict with char $ac_func (); below.
20339     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20340     <limits.h> exists even on freestanding compilers.  */
20341
20342 #ifdef __STDC__
20343 # include <limits.h>
20344 #else
20345 # include <assert.h>
20346 #endif
20347
20348 #undef $ac_func
20349
20350 /* Override any gcc2 internal prototype to avoid an error.  */
20351 #ifdef __cplusplus
20352 extern "C"
20353 {
20354 #endif
20355 /* We use char because int might match the return type of a gcc2
20356    builtin and then its argument prototype would still apply.  */
20357 char $ac_func ();
20358 /* The GNU C library defines this for functions which it implements
20359     to always fail with ENOSYS.  Some functions are actually named
20360     something starting with __ and the normal name is an alias.  */
20361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20362 choke me
20363 #else
20364 char (*f) () = $ac_func;
20365 #endif
20366 #ifdef __cplusplus
20367 }
20368 #endif
20369
20370 int
20371 main ()
20372 {
20373 return f != $ac_func;
20374   ;
20375   return 0;
20376 }
20377 _ACEOF
20378 rm -f conftest.$ac_objext conftest$ac_exeext
20379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20380   (eval $ac_link) 2>conftest.er1
20381   ac_status=$?
20382   grep -v '^ *+' conftest.er1 >conftest.err
20383   rm -f conftest.er1
20384   cat conftest.err >&5
20385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20386   (exit $ac_status); } &&
20387          { ac_try='test -z "$ac_c_werror_flag"
20388                          || test ! -s conftest.err'
20389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20390   (eval $ac_try) 2>&5
20391   ac_status=$?
20392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20393   (exit $ac_status); }; } &&
20394          { ac_try='test -s conftest$ac_exeext'
20395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20396   (eval $ac_try) 2>&5
20397   ac_status=$?
20398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20399   (exit $ac_status); }; }; then
20400   eval "$as_ac_var=yes"
20401 else
20402   echo "$as_me: failed program was:" >&5
20403 sed 's/^/| /' conftest.$ac_ext >&5
20404
20405 eval "$as_ac_var=no"
20406 fi
20407 rm -f conftest.err conftest.$ac_objext \
20408       conftest$ac_exeext conftest.$ac_ext
20409 fi
20410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20412 if test `eval echo '${'$as_ac_var'}'` = yes; then
20413   cat >>confdefs.h <<_ACEOF
20414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20415 _ACEOF
20416
20417 fi
20418 done
20419
20420   else
20421
20422   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
20423 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
20424   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
20425     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
20426   echo $ECHO_N "(cached) $ECHO_C" >&6
20427 else
20428
20429
20430
20431       ac_ext=cc
20432 ac_cpp='$CXXCPP $CPPFLAGS'
20433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20436
20437       cat >conftest.$ac_ext <<_ACEOF
20438 /* confdefs.h.  */
20439 _ACEOF
20440 cat confdefs.h >>conftest.$ac_ext
20441 cat >>conftest.$ac_ext <<_ACEOF
20442 /* end confdefs.h.  */
20443 #include <math.h>
20444 int
20445 main ()
20446 {
20447  _fmodl(0, 0);
20448   ;
20449   return 0;
20450 }
20451 _ACEOF
20452 rm -f conftest.$ac_objext
20453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20454   (eval $ac_compile) 2>conftest.er1
20455   ac_status=$?
20456   grep -v '^ *+' conftest.er1 >conftest.err
20457   rm -f conftest.er1
20458   cat conftest.err >&5
20459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20460   (exit $ac_status); } &&
20461          { ac_try='test -z "$ac_cxx_werror_flag"
20462                          || test ! -s conftest.err'
20463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20464   (eval $ac_try) 2>&5
20465   ac_status=$?
20466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20467   (exit $ac_status); }; } &&
20468          { ac_try='test -s conftest.$ac_objext'
20469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20470   (eval $ac_try) 2>&5
20471   ac_status=$?
20472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20473   (exit $ac_status); }; }; then
20474   glibcxx_cv_func__fmodl_use=yes
20475 else
20476   echo "$as_me: failed program was:" >&5
20477 sed 's/^/| /' conftest.$ac_ext >&5
20478
20479 glibcxx_cv_func__fmodl_use=no
20480 fi
20481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20482       ac_ext=c
20483 ac_cpp='$CPP $CPPFLAGS'
20484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20487
20488
20489 fi
20490
20491   fi
20492   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
20493 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
20494
20495     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
20496
20497 for ac_func in _fmodl
20498 do
20499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20500 echo "$as_me:$LINENO: checking for $ac_func" >&5
20501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20502 if eval "test \"\${$as_ac_var+set}\" = set"; then
20503   echo $ECHO_N "(cached) $ECHO_C" >&6
20504 else
20505   if test x$gcc_no_link = xyes; then
20506   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20508    { (exit 1); exit 1; }; }
20509 fi
20510 cat >conftest.$ac_ext <<_ACEOF
20511 /* confdefs.h.  */
20512 _ACEOF
20513 cat confdefs.h >>conftest.$ac_ext
20514 cat >>conftest.$ac_ext <<_ACEOF
20515 /* end confdefs.h.  */
20516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20517    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20518 #define $ac_func innocuous_$ac_func
20519
20520 /* System header to define __stub macros and hopefully few prototypes,
20521     which can conflict with char $ac_func (); below.
20522     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20523     <limits.h> exists even on freestanding compilers.  */
20524
20525 #ifdef __STDC__
20526 # include <limits.h>
20527 #else
20528 # include <assert.h>
20529 #endif
20530
20531 #undef $ac_func
20532
20533 /* Override any gcc2 internal prototype to avoid an error.  */
20534 #ifdef __cplusplus
20535 extern "C"
20536 {
20537 #endif
20538 /* We use char because int might match the return type of a gcc2
20539    builtin and then its argument prototype would still apply.  */
20540 char $ac_func ();
20541 /* The GNU C library defines this for functions which it implements
20542     to always fail with ENOSYS.  Some functions are actually named
20543     something starting with __ and the normal name is an alias.  */
20544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20545 choke me
20546 #else
20547 char (*f) () = $ac_func;
20548 #endif
20549 #ifdef __cplusplus
20550 }
20551 #endif
20552
20553 int
20554 main ()
20555 {
20556 return f != $ac_func;
20557   ;
20558   return 0;
20559 }
20560 _ACEOF
20561 rm -f conftest.$ac_objext conftest$ac_exeext
20562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20563   (eval $ac_link) 2>conftest.er1
20564   ac_status=$?
20565   grep -v '^ *+' conftest.er1 >conftest.err
20566   rm -f conftest.er1
20567   cat conftest.err >&5
20568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20569   (exit $ac_status); } &&
20570          { ac_try='test -z "$ac_c_werror_flag"
20571                          || test ! -s conftest.err'
20572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20573   (eval $ac_try) 2>&5
20574   ac_status=$?
20575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20576   (exit $ac_status); }; } &&
20577          { ac_try='test -s conftest$ac_exeext'
20578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20579   (eval $ac_try) 2>&5
20580   ac_status=$?
20581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20582   (exit $ac_status); }; }; then
20583   eval "$as_ac_var=yes"
20584 else
20585   echo "$as_me: failed program was:" >&5
20586 sed 's/^/| /' conftest.$ac_ext >&5
20587
20588 eval "$as_ac_var=no"
20589 fi
20590 rm -f conftest.err conftest.$ac_objext \
20591       conftest$ac_exeext conftest.$ac_ext
20592 fi
20593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20595 if test `eval echo '${'$as_ac_var'}'` = yes; then
20596   cat >>confdefs.h <<_ACEOF
20597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20598 _ACEOF
20599
20600 fi
20601 done
20602
20603     fi
20604   fi
20605
20606
20607
20608   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
20609 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
20610   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
20611     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
20612   echo $ECHO_N "(cached) $ECHO_C" >&6
20613 else
20614
20615
20616
20617       ac_ext=cc
20618 ac_cpp='$CXXCPP $CPPFLAGS'
20619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20622
20623       cat >conftest.$ac_ext <<_ACEOF
20624 /* confdefs.h.  */
20625 _ACEOF
20626 cat confdefs.h >>conftest.$ac_ext
20627 cat >>conftest.$ac_ext <<_ACEOF
20628 /* end confdefs.h.  */
20629 #include <math.h>
20630 int
20631 main ()
20632 {
20633  frexpl(0, 0);
20634   ;
20635   return 0;
20636 }
20637 _ACEOF
20638 rm -f conftest.$ac_objext
20639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20640   (eval $ac_compile) 2>conftest.er1
20641   ac_status=$?
20642   grep -v '^ *+' conftest.er1 >conftest.err
20643   rm -f conftest.er1
20644   cat conftest.err >&5
20645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646   (exit $ac_status); } &&
20647          { ac_try='test -z "$ac_cxx_werror_flag"
20648                          || test ! -s conftest.err'
20649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20650   (eval $ac_try) 2>&5
20651   ac_status=$?
20652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20653   (exit $ac_status); }; } &&
20654          { ac_try='test -s conftest.$ac_objext'
20655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20656   (eval $ac_try) 2>&5
20657   ac_status=$?
20658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20659   (exit $ac_status); }; }; then
20660   glibcxx_cv_func_frexpl_use=yes
20661 else
20662   echo "$as_me: failed program was:" >&5
20663 sed 's/^/| /' conftest.$ac_ext >&5
20664
20665 glibcxx_cv_func_frexpl_use=no
20666 fi
20667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20668       ac_ext=c
20669 ac_cpp='$CPP $CPPFLAGS'
20670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20673
20674
20675 fi
20676
20677   fi
20678   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
20679 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
20680
20681   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
20682
20683 for ac_func in frexpl
20684 do
20685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20686 echo "$as_me:$LINENO: checking for $ac_func" >&5
20687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20688 if eval "test \"\${$as_ac_var+set}\" = set"; then
20689   echo $ECHO_N "(cached) $ECHO_C" >&6
20690 else
20691   if test x$gcc_no_link = xyes; then
20692   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20694    { (exit 1); exit 1; }; }
20695 fi
20696 cat >conftest.$ac_ext <<_ACEOF
20697 /* confdefs.h.  */
20698 _ACEOF
20699 cat confdefs.h >>conftest.$ac_ext
20700 cat >>conftest.$ac_ext <<_ACEOF
20701 /* end confdefs.h.  */
20702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20703    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20704 #define $ac_func innocuous_$ac_func
20705
20706 /* System header to define __stub macros and hopefully few prototypes,
20707     which can conflict with char $ac_func (); below.
20708     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20709     <limits.h> exists even on freestanding compilers.  */
20710
20711 #ifdef __STDC__
20712 # include <limits.h>
20713 #else
20714 # include <assert.h>
20715 #endif
20716
20717 #undef $ac_func
20718
20719 /* Override any gcc2 internal prototype to avoid an error.  */
20720 #ifdef __cplusplus
20721 extern "C"
20722 {
20723 #endif
20724 /* We use char because int might match the return type of a gcc2
20725    builtin and then its argument prototype would still apply.  */
20726 char $ac_func ();
20727 /* The GNU C library defines this for functions which it implements
20728     to always fail with ENOSYS.  Some functions are actually named
20729     something starting with __ and the normal name is an alias.  */
20730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20731 choke me
20732 #else
20733 char (*f) () = $ac_func;
20734 #endif
20735 #ifdef __cplusplus
20736 }
20737 #endif
20738
20739 int
20740 main ()
20741 {
20742 return f != $ac_func;
20743   ;
20744   return 0;
20745 }
20746 _ACEOF
20747 rm -f conftest.$ac_objext conftest$ac_exeext
20748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20749   (eval $ac_link) 2>conftest.er1
20750   ac_status=$?
20751   grep -v '^ *+' conftest.er1 >conftest.err
20752   rm -f conftest.er1
20753   cat conftest.err >&5
20754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20755   (exit $ac_status); } &&
20756          { ac_try='test -z "$ac_c_werror_flag"
20757                          || test ! -s conftest.err'
20758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20759   (eval $ac_try) 2>&5
20760   ac_status=$?
20761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20762   (exit $ac_status); }; } &&
20763          { ac_try='test -s conftest$ac_exeext'
20764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20765   (eval $ac_try) 2>&5
20766   ac_status=$?
20767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20768   (exit $ac_status); }; }; then
20769   eval "$as_ac_var=yes"
20770 else
20771   echo "$as_me: failed program was:" >&5
20772 sed 's/^/| /' conftest.$ac_ext >&5
20773
20774 eval "$as_ac_var=no"
20775 fi
20776 rm -f conftest.err conftest.$ac_objext \
20777       conftest$ac_exeext conftest.$ac_ext
20778 fi
20779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20781 if test `eval echo '${'$as_ac_var'}'` = yes; then
20782   cat >>confdefs.h <<_ACEOF
20783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20784 _ACEOF
20785
20786 fi
20787 done
20788
20789   else
20790
20791   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
20792 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
20793   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
20794     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
20795   echo $ECHO_N "(cached) $ECHO_C" >&6
20796 else
20797
20798
20799
20800       ac_ext=cc
20801 ac_cpp='$CXXCPP $CPPFLAGS'
20802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20805
20806       cat >conftest.$ac_ext <<_ACEOF
20807 /* confdefs.h.  */
20808 _ACEOF
20809 cat confdefs.h >>conftest.$ac_ext
20810 cat >>conftest.$ac_ext <<_ACEOF
20811 /* end confdefs.h.  */
20812 #include <math.h>
20813 int
20814 main ()
20815 {
20816  _frexpl(0, 0);
20817   ;
20818   return 0;
20819 }
20820 _ACEOF
20821 rm -f conftest.$ac_objext
20822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20823   (eval $ac_compile) 2>conftest.er1
20824   ac_status=$?
20825   grep -v '^ *+' conftest.er1 >conftest.err
20826   rm -f conftest.er1
20827   cat conftest.err >&5
20828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20829   (exit $ac_status); } &&
20830          { ac_try='test -z "$ac_cxx_werror_flag"
20831                          || test ! -s conftest.err'
20832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20833   (eval $ac_try) 2>&5
20834   ac_status=$?
20835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20836   (exit $ac_status); }; } &&
20837          { ac_try='test -s conftest.$ac_objext'
20838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20839   (eval $ac_try) 2>&5
20840   ac_status=$?
20841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20842   (exit $ac_status); }; }; then
20843   glibcxx_cv_func__frexpl_use=yes
20844 else
20845   echo "$as_me: failed program was:" >&5
20846 sed 's/^/| /' conftest.$ac_ext >&5
20847
20848 glibcxx_cv_func__frexpl_use=no
20849 fi
20850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20851       ac_ext=c
20852 ac_cpp='$CPP $CPPFLAGS'
20853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20856
20857
20858 fi
20859
20860   fi
20861   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
20862 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
20863
20864     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
20865
20866 for ac_func in _frexpl
20867 do
20868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20869 echo "$as_me:$LINENO: checking for $ac_func" >&5
20870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20871 if eval "test \"\${$as_ac_var+set}\" = set"; then
20872   echo $ECHO_N "(cached) $ECHO_C" >&6
20873 else
20874   if test x$gcc_no_link = xyes; then
20875   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20877    { (exit 1); exit 1; }; }
20878 fi
20879 cat >conftest.$ac_ext <<_ACEOF
20880 /* confdefs.h.  */
20881 _ACEOF
20882 cat confdefs.h >>conftest.$ac_ext
20883 cat >>conftest.$ac_ext <<_ACEOF
20884 /* end confdefs.h.  */
20885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20886    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20887 #define $ac_func innocuous_$ac_func
20888
20889 /* System header to define __stub macros and hopefully few prototypes,
20890     which can conflict with char $ac_func (); below.
20891     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20892     <limits.h> exists even on freestanding compilers.  */
20893
20894 #ifdef __STDC__
20895 # include <limits.h>
20896 #else
20897 # include <assert.h>
20898 #endif
20899
20900 #undef $ac_func
20901
20902 /* Override any gcc2 internal prototype to avoid an error.  */
20903 #ifdef __cplusplus
20904 extern "C"
20905 {
20906 #endif
20907 /* We use char because int might match the return type of a gcc2
20908    builtin and then its argument prototype would still apply.  */
20909 char $ac_func ();
20910 /* The GNU C library defines this for functions which it implements
20911     to always fail with ENOSYS.  Some functions are actually named
20912     something starting with __ and the normal name is an alias.  */
20913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20914 choke me
20915 #else
20916 char (*f) () = $ac_func;
20917 #endif
20918 #ifdef __cplusplus
20919 }
20920 #endif
20921
20922 int
20923 main ()
20924 {
20925 return f != $ac_func;
20926   ;
20927   return 0;
20928 }
20929 _ACEOF
20930 rm -f conftest.$ac_objext conftest$ac_exeext
20931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20932   (eval $ac_link) 2>conftest.er1
20933   ac_status=$?
20934   grep -v '^ *+' conftest.er1 >conftest.err
20935   rm -f conftest.er1
20936   cat conftest.err >&5
20937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20938   (exit $ac_status); } &&
20939          { ac_try='test -z "$ac_c_werror_flag"
20940                          || test ! -s conftest.err'
20941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20942   (eval $ac_try) 2>&5
20943   ac_status=$?
20944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945   (exit $ac_status); }; } &&
20946          { ac_try='test -s conftest$ac_exeext'
20947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20948   (eval $ac_try) 2>&5
20949   ac_status=$?
20950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20951   (exit $ac_status); }; }; then
20952   eval "$as_ac_var=yes"
20953 else
20954   echo "$as_me: failed program was:" >&5
20955 sed 's/^/| /' conftest.$ac_ext >&5
20956
20957 eval "$as_ac_var=no"
20958 fi
20959 rm -f conftest.err conftest.$ac_objext \
20960       conftest$ac_exeext conftest.$ac_ext
20961 fi
20962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20964 if test `eval echo '${'$as_ac_var'}'` = yes; then
20965   cat >>confdefs.h <<_ACEOF
20966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20967 _ACEOF
20968
20969 fi
20970 done
20971
20972     fi
20973   fi
20974
20975
20976
20977   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
20978 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
20979   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
20980     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
20981   echo $ECHO_N "(cached) $ECHO_C" >&6
20982 else
20983
20984
20985
20986       ac_ext=cc
20987 ac_cpp='$CXXCPP $CPPFLAGS'
20988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20991
20992       cat >conftest.$ac_ext <<_ACEOF
20993 /* confdefs.h.  */
20994 _ACEOF
20995 cat confdefs.h >>conftest.$ac_ext
20996 cat >>conftest.$ac_ext <<_ACEOF
20997 /* end confdefs.h.  */
20998 #include <math.h>
20999 int
21000 main ()
21001 {
21002  hypotl(0, 0);
21003   ;
21004   return 0;
21005 }
21006 _ACEOF
21007 rm -f conftest.$ac_objext
21008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21009   (eval $ac_compile) 2>conftest.er1
21010   ac_status=$?
21011   grep -v '^ *+' conftest.er1 >conftest.err
21012   rm -f conftest.er1
21013   cat conftest.err >&5
21014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015   (exit $ac_status); } &&
21016          { ac_try='test -z "$ac_cxx_werror_flag"
21017                          || test ! -s conftest.err'
21018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21019   (eval $ac_try) 2>&5
21020   ac_status=$?
21021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21022   (exit $ac_status); }; } &&
21023          { ac_try='test -s conftest.$ac_objext'
21024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21025   (eval $ac_try) 2>&5
21026   ac_status=$?
21027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028   (exit $ac_status); }; }; then
21029   glibcxx_cv_func_hypotl_use=yes
21030 else
21031   echo "$as_me: failed program was:" >&5
21032 sed 's/^/| /' conftest.$ac_ext >&5
21033
21034 glibcxx_cv_func_hypotl_use=no
21035 fi
21036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21037       ac_ext=c
21038 ac_cpp='$CPP $CPPFLAGS'
21039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21042
21043
21044 fi
21045
21046   fi
21047   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
21048 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
21049
21050   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
21051
21052 for ac_func in hypotl
21053 do
21054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21055 echo "$as_me:$LINENO: checking for $ac_func" >&5
21056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21057 if eval "test \"\${$as_ac_var+set}\" = set"; then
21058   echo $ECHO_N "(cached) $ECHO_C" >&6
21059 else
21060   if test x$gcc_no_link = xyes; then
21061   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21063    { (exit 1); exit 1; }; }
21064 fi
21065 cat >conftest.$ac_ext <<_ACEOF
21066 /* confdefs.h.  */
21067 _ACEOF
21068 cat confdefs.h >>conftest.$ac_ext
21069 cat >>conftest.$ac_ext <<_ACEOF
21070 /* end confdefs.h.  */
21071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21072    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21073 #define $ac_func innocuous_$ac_func
21074
21075 /* System header to define __stub macros and hopefully few prototypes,
21076     which can conflict with char $ac_func (); below.
21077     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21078     <limits.h> exists even on freestanding compilers.  */
21079
21080 #ifdef __STDC__
21081 # include <limits.h>
21082 #else
21083 # include <assert.h>
21084 #endif
21085
21086 #undef $ac_func
21087
21088 /* Override any gcc2 internal prototype to avoid an error.  */
21089 #ifdef __cplusplus
21090 extern "C"
21091 {
21092 #endif
21093 /* We use char because int might match the return type of a gcc2
21094    builtin and then its argument prototype would still apply.  */
21095 char $ac_func ();
21096 /* The GNU C library defines this for functions which it implements
21097     to always fail with ENOSYS.  Some functions are actually named
21098     something starting with __ and the normal name is an alias.  */
21099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21100 choke me
21101 #else
21102 char (*f) () = $ac_func;
21103 #endif
21104 #ifdef __cplusplus
21105 }
21106 #endif
21107
21108 int
21109 main ()
21110 {
21111 return f != $ac_func;
21112   ;
21113   return 0;
21114 }
21115 _ACEOF
21116 rm -f conftest.$ac_objext conftest$ac_exeext
21117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21118   (eval $ac_link) 2>conftest.er1
21119   ac_status=$?
21120   grep -v '^ *+' conftest.er1 >conftest.err
21121   rm -f conftest.er1
21122   cat conftest.err >&5
21123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21124   (exit $ac_status); } &&
21125          { ac_try='test -z "$ac_c_werror_flag"
21126                          || test ! -s conftest.err'
21127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21128   (eval $ac_try) 2>&5
21129   ac_status=$?
21130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21131   (exit $ac_status); }; } &&
21132          { ac_try='test -s conftest$ac_exeext'
21133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21134   (eval $ac_try) 2>&5
21135   ac_status=$?
21136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21137   (exit $ac_status); }; }; then
21138   eval "$as_ac_var=yes"
21139 else
21140   echo "$as_me: failed program was:" >&5
21141 sed 's/^/| /' conftest.$ac_ext >&5
21142
21143 eval "$as_ac_var=no"
21144 fi
21145 rm -f conftest.err conftest.$ac_objext \
21146       conftest$ac_exeext conftest.$ac_ext
21147 fi
21148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21150 if test `eval echo '${'$as_ac_var'}'` = yes; then
21151   cat >>confdefs.h <<_ACEOF
21152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21153 _ACEOF
21154
21155 fi
21156 done
21157
21158   else
21159
21160   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
21161 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
21162   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
21163     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
21164   echo $ECHO_N "(cached) $ECHO_C" >&6
21165 else
21166
21167
21168
21169       ac_ext=cc
21170 ac_cpp='$CXXCPP $CPPFLAGS'
21171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21174
21175       cat >conftest.$ac_ext <<_ACEOF
21176 /* confdefs.h.  */
21177 _ACEOF
21178 cat confdefs.h >>conftest.$ac_ext
21179 cat >>conftest.$ac_ext <<_ACEOF
21180 /* end confdefs.h.  */
21181 #include <math.h>
21182 int
21183 main ()
21184 {
21185  _hypotl(0, 0);
21186   ;
21187   return 0;
21188 }
21189 _ACEOF
21190 rm -f conftest.$ac_objext
21191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21192   (eval $ac_compile) 2>conftest.er1
21193   ac_status=$?
21194   grep -v '^ *+' conftest.er1 >conftest.err
21195   rm -f conftest.er1
21196   cat conftest.err >&5
21197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21198   (exit $ac_status); } &&
21199          { ac_try='test -z "$ac_cxx_werror_flag"
21200                          || test ! -s conftest.err'
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); }; } &&
21206          { ac_try='test -s conftest.$ac_objext'
21207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21208   (eval $ac_try) 2>&5
21209   ac_status=$?
21210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21211   (exit $ac_status); }; }; then
21212   glibcxx_cv_func__hypotl_use=yes
21213 else
21214   echo "$as_me: failed program was:" >&5
21215 sed 's/^/| /' conftest.$ac_ext >&5
21216
21217 glibcxx_cv_func__hypotl_use=no
21218 fi
21219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21220       ac_ext=c
21221 ac_cpp='$CPP $CPPFLAGS'
21222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21225
21226
21227 fi
21228
21229   fi
21230   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
21231 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
21232
21233     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
21234
21235 for ac_func in _hypotl
21236 do
21237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21238 echo "$as_me:$LINENO: checking for $ac_func" >&5
21239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21240 if eval "test \"\${$as_ac_var+set}\" = set"; then
21241   echo $ECHO_N "(cached) $ECHO_C" >&6
21242 else
21243   if test x$gcc_no_link = xyes; then
21244   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21246    { (exit 1); exit 1; }; }
21247 fi
21248 cat >conftest.$ac_ext <<_ACEOF
21249 /* confdefs.h.  */
21250 _ACEOF
21251 cat confdefs.h >>conftest.$ac_ext
21252 cat >>conftest.$ac_ext <<_ACEOF
21253 /* end confdefs.h.  */
21254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21255    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21256 #define $ac_func innocuous_$ac_func
21257
21258 /* System header to define __stub macros and hopefully few prototypes,
21259     which can conflict with char $ac_func (); below.
21260     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21261     <limits.h> exists even on freestanding compilers.  */
21262
21263 #ifdef __STDC__
21264 # include <limits.h>
21265 #else
21266 # include <assert.h>
21267 #endif
21268
21269 #undef $ac_func
21270
21271 /* Override any gcc2 internal prototype to avoid an error.  */
21272 #ifdef __cplusplus
21273 extern "C"
21274 {
21275 #endif
21276 /* We use char because int might match the return type of a gcc2
21277    builtin and then its argument prototype would still apply.  */
21278 char $ac_func ();
21279 /* The GNU C library defines this for functions which it implements
21280     to always fail with ENOSYS.  Some functions are actually named
21281     something starting with __ and the normal name is an alias.  */
21282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21283 choke me
21284 #else
21285 char (*f) () = $ac_func;
21286 #endif
21287 #ifdef __cplusplus
21288 }
21289 #endif
21290
21291 int
21292 main ()
21293 {
21294 return f != $ac_func;
21295   ;
21296   return 0;
21297 }
21298 _ACEOF
21299 rm -f conftest.$ac_objext conftest$ac_exeext
21300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21301   (eval $ac_link) 2>conftest.er1
21302   ac_status=$?
21303   grep -v '^ *+' conftest.er1 >conftest.err
21304   rm -f conftest.er1
21305   cat conftest.err >&5
21306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21307   (exit $ac_status); } &&
21308          { ac_try='test -z "$ac_c_werror_flag"
21309                          || test ! -s conftest.err'
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); }; } &&
21315          { ac_try='test -s conftest$ac_exeext'
21316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21317   (eval $ac_try) 2>&5
21318   ac_status=$?
21319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21320   (exit $ac_status); }; }; then
21321   eval "$as_ac_var=yes"
21322 else
21323   echo "$as_me: failed program was:" >&5
21324 sed 's/^/| /' conftest.$ac_ext >&5
21325
21326 eval "$as_ac_var=no"
21327 fi
21328 rm -f conftest.err conftest.$ac_objext \
21329       conftest$ac_exeext conftest.$ac_ext
21330 fi
21331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21333 if test `eval echo '${'$as_ac_var'}'` = yes; then
21334   cat >>confdefs.h <<_ACEOF
21335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21336 _ACEOF
21337
21338 fi
21339 done
21340
21341     fi
21342   fi
21343
21344
21345
21346   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
21347 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
21348   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
21349     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
21350   echo $ECHO_N "(cached) $ECHO_C" >&6
21351 else
21352
21353
21354
21355       ac_ext=cc
21356 ac_cpp='$CXXCPP $CPPFLAGS'
21357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21360
21361       cat >conftest.$ac_ext <<_ACEOF
21362 /* confdefs.h.  */
21363 _ACEOF
21364 cat confdefs.h >>conftest.$ac_ext
21365 cat >>conftest.$ac_ext <<_ACEOF
21366 /* end confdefs.h.  */
21367 #include <math.h>
21368 int
21369 main ()
21370 {
21371  ldexpl(0, 0);
21372   ;
21373   return 0;
21374 }
21375 _ACEOF
21376 rm -f conftest.$ac_objext
21377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21378   (eval $ac_compile) 2>conftest.er1
21379   ac_status=$?
21380   grep -v '^ *+' conftest.er1 >conftest.err
21381   rm -f conftest.er1
21382   cat conftest.err >&5
21383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21384   (exit $ac_status); } &&
21385          { ac_try='test -z "$ac_cxx_werror_flag"
21386                          || test ! -s conftest.err'
21387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21388   (eval $ac_try) 2>&5
21389   ac_status=$?
21390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21391   (exit $ac_status); }; } &&
21392          { ac_try='test -s conftest.$ac_objext'
21393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21394   (eval $ac_try) 2>&5
21395   ac_status=$?
21396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21397   (exit $ac_status); }; }; then
21398   glibcxx_cv_func_ldexpl_use=yes
21399 else
21400   echo "$as_me: failed program was:" >&5
21401 sed 's/^/| /' conftest.$ac_ext >&5
21402
21403 glibcxx_cv_func_ldexpl_use=no
21404 fi
21405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21406       ac_ext=c
21407 ac_cpp='$CPP $CPPFLAGS'
21408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21411
21412
21413 fi
21414
21415   fi
21416   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
21417 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
21418
21419   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
21420
21421 for ac_func in ldexpl
21422 do
21423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21424 echo "$as_me:$LINENO: checking for $ac_func" >&5
21425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21426 if eval "test \"\${$as_ac_var+set}\" = set"; then
21427   echo $ECHO_N "(cached) $ECHO_C" >&6
21428 else
21429   if test x$gcc_no_link = xyes; then
21430   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21432    { (exit 1); exit 1; }; }
21433 fi
21434 cat >conftest.$ac_ext <<_ACEOF
21435 /* confdefs.h.  */
21436 _ACEOF
21437 cat confdefs.h >>conftest.$ac_ext
21438 cat >>conftest.$ac_ext <<_ACEOF
21439 /* end confdefs.h.  */
21440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21441    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21442 #define $ac_func innocuous_$ac_func
21443
21444 /* System header to define __stub macros and hopefully few prototypes,
21445     which can conflict with char $ac_func (); below.
21446     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21447     <limits.h> exists even on freestanding compilers.  */
21448
21449 #ifdef __STDC__
21450 # include <limits.h>
21451 #else
21452 # include <assert.h>
21453 #endif
21454
21455 #undef $ac_func
21456
21457 /* Override any gcc2 internal prototype to avoid an error.  */
21458 #ifdef __cplusplus
21459 extern "C"
21460 {
21461 #endif
21462 /* We use char because int might match the return type of a gcc2
21463    builtin and then its argument prototype would still apply.  */
21464 char $ac_func ();
21465 /* The GNU C library defines this for functions which it implements
21466     to always fail with ENOSYS.  Some functions are actually named
21467     something starting with __ and the normal name is an alias.  */
21468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21469 choke me
21470 #else
21471 char (*f) () = $ac_func;
21472 #endif
21473 #ifdef __cplusplus
21474 }
21475 #endif
21476
21477 int
21478 main ()
21479 {
21480 return f != $ac_func;
21481   ;
21482   return 0;
21483 }
21484 _ACEOF
21485 rm -f conftest.$ac_objext conftest$ac_exeext
21486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21487   (eval $ac_link) 2>conftest.er1
21488   ac_status=$?
21489   grep -v '^ *+' conftest.er1 >conftest.err
21490   rm -f conftest.er1
21491   cat conftest.err >&5
21492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21493   (exit $ac_status); } &&
21494          { ac_try='test -z "$ac_c_werror_flag"
21495                          || test ! -s conftest.err'
21496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21497   (eval $ac_try) 2>&5
21498   ac_status=$?
21499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21500   (exit $ac_status); }; } &&
21501          { ac_try='test -s conftest$ac_exeext'
21502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21503   (eval $ac_try) 2>&5
21504   ac_status=$?
21505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21506   (exit $ac_status); }; }; then
21507   eval "$as_ac_var=yes"
21508 else
21509   echo "$as_me: failed program was:" >&5
21510 sed 's/^/| /' conftest.$ac_ext >&5
21511
21512 eval "$as_ac_var=no"
21513 fi
21514 rm -f conftest.err conftest.$ac_objext \
21515       conftest$ac_exeext conftest.$ac_ext
21516 fi
21517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21519 if test `eval echo '${'$as_ac_var'}'` = yes; then
21520   cat >>confdefs.h <<_ACEOF
21521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21522 _ACEOF
21523
21524 fi
21525 done
21526
21527   else
21528
21529   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
21530 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
21531   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
21532     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
21533   echo $ECHO_N "(cached) $ECHO_C" >&6
21534 else
21535
21536
21537
21538       ac_ext=cc
21539 ac_cpp='$CXXCPP $CPPFLAGS'
21540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21543
21544       cat >conftest.$ac_ext <<_ACEOF
21545 /* confdefs.h.  */
21546 _ACEOF
21547 cat confdefs.h >>conftest.$ac_ext
21548 cat >>conftest.$ac_ext <<_ACEOF
21549 /* end confdefs.h.  */
21550 #include <math.h>
21551 int
21552 main ()
21553 {
21554  _ldexpl(0, 0);
21555   ;
21556   return 0;
21557 }
21558 _ACEOF
21559 rm -f conftest.$ac_objext
21560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21561   (eval $ac_compile) 2>conftest.er1
21562   ac_status=$?
21563   grep -v '^ *+' conftest.er1 >conftest.err
21564   rm -f conftest.er1
21565   cat conftest.err >&5
21566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21567   (exit $ac_status); } &&
21568          { ac_try='test -z "$ac_cxx_werror_flag"
21569                          || test ! -s conftest.err'
21570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21571   (eval $ac_try) 2>&5
21572   ac_status=$?
21573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574   (exit $ac_status); }; } &&
21575          { ac_try='test -s conftest.$ac_objext'
21576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21577   (eval $ac_try) 2>&5
21578   ac_status=$?
21579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21580   (exit $ac_status); }; }; then
21581   glibcxx_cv_func__ldexpl_use=yes
21582 else
21583   echo "$as_me: failed program was:" >&5
21584 sed 's/^/| /' conftest.$ac_ext >&5
21585
21586 glibcxx_cv_func__ldexpl_use=no
21587 fi
21588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21589       ac_ext=c
21590 ac_cpp='$CPP $CPPFLAGS'
21591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21594
21595
21596 fi
21597
21598   fi
21599   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
21600 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
21601
21602     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
21603
21604 for ac_func in _ldexpl
21605 do
21606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21607 echo "$as_me:$LINENO: checking for $ac_func" >&5
21608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21609 if eval "test \"\${$as_ac_var+set}\" = set"; then
21610   echo $ECHO_N "(cached) $ECHO_C" >&6
21611 else
21612   if test x$gcc_no_link = xyes; then
21613   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21615    { (exit 1); exit 1; }; }
21616 fi
21617 cat >conftest.$ac_ext <<_ACEOF
21618 /* confdefs.h.  */
21619 _ACEOF
21620 cat confdefs.h >>conftest.$ac_ext
21621 cat >>conftest.$ac_ext <<_ACEOF
21622 /* end confdefs.h.  */
21623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21624    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21625 #define $ac_func innocuous_$ac_func
21626
21627 /* System header to define __stub macros and hopefully few prototypes,
21628     which can conflict with char $ac_func (); below.
21629     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21630     <limits.h> exists even on freestanding compilers.  */
21631
21632 #ifdef __STDC__
21633 # include <limits.h>
21634 #else
21635 # include <assert.h>
21636 #endif
21637
21638 #undef $ac_func
21639
21640 /* Override any gcc2 internal prototype to avoid an error.  */
21641 #ifdef __cplusplus
21642 extern "C"
21643 {
21644 #endif
21645 /* We use char because int might match the return type of a gcc2
21646    builtin and then its argument prototype would still apply.  */
21647 char $ac_func ();
21648 /* The GNU C library defines this for functions which it implements
21649     to always fail with ENOSYS.  Some functions are actually named
21650     something starting with __ and the normal name is an alias.  */
21651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21652 choke me
21653 #else
21654 char (*f) () = $ac_func;
21655 #endif
21656 #ifdef __cplusplus
21657 }
21658 #endif
21659
21660 int
21661 main ()
21662 {
21663 return f != $ac_func;
21664   ;
21665   return 0;
21666 }
21667 _ACEOF
21668 rm -f conftest.$ac_objext conftest$ac_exeext
21669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21670   (eval $ac_link) 2>conftest.er1
21671   ac_status=$?
21672   grep -v '^ *+' conftest.er1 >conftest.err
21673   rm -f conftest.er1
21674   cat conftest.err >&5
21675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21676   (exit $ac_status); } &&
21677          { ac_try='test -z "$ac_c_werror_flag"
21678                          || test ! -s conftest.err'
21679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21680   (eval $ac_try) 2>&5
21681   ac_status=$?
21682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21683   (exit $ac_status); }; } &&
21684          { ac_try='test -s conftest$ac_exeext'
21685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21686   (eval $ac_try) 2>&5
21687   ac_status=$?
21688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21689   (exit $ac_status); }; }; then
21690   eval "$as_ac_var=yes"
21691 else
21692   echo "$as_me: failed program was:" >&5
21693 sed 's/^/| /' conftest.$ac_ext >&5
21694
21695 eval "$as_ac_var=no"
21696 fi
21697 rm -f conftest.err conftest.$ac_objext \
21698       conftest$ac_exeext conftest.$ac_ext
21699 fi
21700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21702 if test `eval echo '${'$as_ac_var'}'` = yes; then
21703   cat >>confdefs.h <<_ACEOF
21704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21705 _ACEOF
21706
21707 fi
21708 done
21709
21710     fi
21711   fi
21712
21713
21714
21715   echo "$as_me:$LINENO: checking for logl declaration" >&5
21716 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
21717   if test x${glibcxx_cv_func_logl_use+set} != xset; then
21718     if test "${glibcxx_cv_func_logl_use+set}" = set; then
21719   echo $ECHO_N "(cached) $ECHO_C" >&6
21720 else
21721
21722
21723
21724       ac_ext=cc
21725 ac_cpp='$CXXCPP $CPPFLAGS'
21726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21729
21730       cat >conftest.$ac_ext <<_ACEOF
21731 /* confdefs.h.  */
21732 _ACEOF
21733 cat confdefs.h >>conftest.$ac_ext
21734 cat >>conftest.$ac_ext <<_ACEOF
21735 /* end confdefs.h.  */
21736 #include <math.h>
21737                       #ifdef HAVE_IEEEFP_H
21738                       #include <ieeefp.h>
21739                       #endif
21740
21741 int
21742 main ()
21743 {
21744  logl(0);
21745   ;
21746   return 0;
21747 }
21748 _ACEOF
21749 rm -f conftest.$ac_objext
21750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21751   (eval $ac_compile) 2>conftest.er1
21752   ac_status=$?
21753   grep -v '^ *+' conftest.er1 >conftest.err
21754   rm -f conftest.er1
21755   cat conftest.err >&5
21756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757   (exit $ac_status); } &&
21758          { ac_try='test -z "$ac_cxx_werror_flag"
21759                          || test ! -s conftest.err'
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); }; } &&
21765          { ac_try='test -s conftest.$ac_objext'
21766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21767   (eval $ac_try) 2>&5
21768   ac_status=$?
21769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21770   (exit $ac_status); }; }; then
21771   glibcxx_cv_func_logl_use=yes
21772 else
21773   echo "$as_me: failed program was:" >&5
21774 sed 's/^/| /' conftest.$ac_ext >&5
21775
21776 glibcxx_cv_func_logl_use=no
21777 fi
21778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21779       ac_ext=c
21780 ac_cpp='$CPP $CPPFLAGS'
21781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21784
21785
21786 fi
21787
21788   fi
21789   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
21790 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
21791
21792   if test x$glibcxx_cv_func_logl_use = x"yes"; then
21793
21794 for ac_func in logl
21795 do
21796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21797 echo "$as_me:$LINENO: checking for $ac_func" >&5
21798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21799 if eval "test \"\${$as_ac_var+set}\" = set"; then
21800   echo $ECHO_N "(cached) $ECHO_C" >&6
21801 else
21802   if test x$gcc_no_link = xyes; then
21803   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21805    { (exit 1); exit 1; }; }
21806 fi
21807 cat >conftest.$ac_ext <<_ACEOF
21808 /* confdefs.h.  */
21809 _ACEOF
21810 cat confdefs.h >>conftest.$ac_ext
21811 cat >>conftest.$ac_ext <<_ACEOF
21812 /* end confdefs.h.  */
21813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21814    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21815 #define $ac_func innocuous_$ac_func
21816
21817 /* System header to define __stub macros and hopefully few prototypes,
21818     which can conflict with char $ac_func (); below.
21819     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21820     <limits.h> exists even on freestanding compilers.  */
21821
21822 #ifdef __STDC__
21823 # include <limits.h>
21824 #else
21825 # include <assert.h>
21826 #endif
21827
21828 #undef $ac_func
21829
21830 /* Override any gcc2 internal prototype to avoid an error.  */
21831 #ifdef __cplusplus
21832 extern "C"
21833 {
21834 #endif
21835 /* We use char because int might match the return type of a gcc2
21836    builtin and then its argument prototype would still apply.  */
21837 char $ac_func ();
21838 /* The GNU C library defines this for functions which it implements
21839     to always fail with ENOSYS.  Some functions are actually named
21840     something starting with __ and the normal name is an alias.  */
21841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21842 choke me
21843 #else
21844 char (*f) () = $ac_func;
21845 #endif
21846 #ifdef __cplusplus
21847 }
21848 #endif
21849
21850 int
21851 main ()
21852 {
21853 return f != $ac_func;
21854   ;
21855   return 0;
21856 }
21857 _ACEOF
21858 rm -f conftest.$ac_objext conftest$ac_exeext
21859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21860   (eval $ac_link) 2>conftest.er1
21861   ac_status=$?
21862   grep -v '^ *+' conftest.er1 >conftest.err
21863   rm -f conftest.er1
21864   cat conftest.err >&5
21865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21866   (exit $ac_status); } &&
21867          { ac_try='test -z "$ac_c_werror_flag"
21868                          || test ! -s conftest.err'
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); }; } &&
21874          { ac_try='test -s conftest$ac_exeext'
21875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21876   (eval $ac_try) 2>&5
21877   ac_status=$?
21878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879   (exit $ac_status); }; }; then
21880   eval "$as_ac_var=yes"
21881 else
21882   echo "$as_me: failed program was:" >&5
21883 sed 's/^/| /' conftest.$ac_ext >&5
21884
21885 eval "$as_ac_var=no"
21886 fi
21887 rm -f conftest.err conftest.$ac_objext \
21888       conftest$ac_exeext conftest.$ac_ext
21889 fi
21890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21892 if test `eval echo '${'$as_ac_var'}'` = yes; then
21893   cat >>confdefs.h <<_ACEOF
21894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21895 _ACEOF
21896
21897 fi
21898 done
21899
21900   else
21901
21902   echo "$as_me:$LINENO: checking for _logl declaration" >&5
21903 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
21904   if test x${glibcxx_cv_func__logl_use+set} != xset; then
21905     if test "${glibcxx_cv_func__logl_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                       #ifdef HAVE_IEEEFP_H
21925                       #include <ieeefp.h>
21926                       #endif
21927
21928 int
21929 main ()
21930 {
21931  _logl(0);
21932   ;
21933   return 0;
21934 }
21935 _ACEOF
21936 rm -f conftest.$ac_objext
21937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21938   (eval $ac_compile) 2>conftest.er1
21939   ac_status=$?
21940   grep -v '^ *+' conftest.er1 >conftest.err
21941   rm -f conftest.er1
21942   cat conftest.err >&5
21943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21944   (exit $ac_status); } &&
21945          { ac_try='test -z "$ac_cxx_werror_flag"
21946                          || test ! -s conftest.err'
21947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21948   (eval $ac_try) 2>&5
21949   ac_status=$?
21950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21951   (exit $ac_status); }; } &&
21952          { ac_try='test -s conftest.$ac_objext'
21953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21954   (eval $ac_try) 2>&5
21955   ac_status=$?
21956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21957   (exit $ac_status); }; }; then
21958   glibcxx_cv_func__logl_use=yes
21959 else
21960   echo "$as_me: failed program was:" >&5
21961 sed 's/^/| /' conftest.$ac_ext >&5
21962
21963 glibcxx_cv_func__logl_use=no
21964 fi
21965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21966       ac_ext=c
21967 ac_cpp='$CPP $CPPFLAGS'
21968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21971
21972
21973 fi
21974
21975   fi
21976   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
21977 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
21978
21979     if test x$glibcxx_cv_func__logl_use = x"yes"; then
21980
21981 for ac_func in _logl
21982 do
21983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21984 echo "$as_me:$LINENO: checking for $ac_func" >&5
21985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21986 if eval "test \"\${$as_ac_var+set}\" = set"; then
21987   echo $ECHO_N "(cached) $ECHO_C" >&6
21988 else
21989   if test x$gcc_no_link = xyes; then
21990   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21992    { (exit 1); exit 1; }; }
21993 fi
21994 cat >conftest.$ac_ext <<_ACEOF
21995 /* confdefs.h.  */
21996 _ACEOF
21997 cat confdefs.h >>conftest.$ac_ext
21998 cat >>conftest.$ac_ext <<_ACEOF
21999 /* end confdefs.h.  */
22000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22001    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22002 #define $ac_func innocuous_$ac_func
22003
22004 /* System header to define __stub macros and hopefully few prototypes,
22005     which can conflict with char $ac_func (); below.
22006     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22007     <limits.h> exists even on freestanding compilers.  */
22008
22009 #ifdef __STDC__
22010 # include <limits.h>
22011 #else
22012 # include <assert.h>
22013 #endif
22014
22015 #undef $ac_func
22016
22017 /* Override any gcc2 internal prototype to avoid an error.  */
22018 #ifdef __cplusplus
22019 extern "C"
22020 {
22021 #endif
22022 /* We use char because int might match the return type of a gcc2
22023    builtin and then its argument prototype would still apply.  */
22024 char $ac_func ();
22025 /* The GNU C library defines this for functions which it implements
22026     to always fail with ENOSYS.  Some functions are actually named
22027     something starting with __ and the normal name is an alias.  */
22028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22029 choke me
22030 #else
22031 char (*f) () = $ac_func;
22032 #endif
22033 #ifdef __cplusplus
22034 }
22035 #endif
22036
22037 int
22038 main ()
22039 {
22040 return f != $ac_func;
22041   ;
22042   return 0;
22043 }
22044 _ACEOF
22045 rm -f conftest.$ac_objext conftest$ac_exeext
22046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22047   (eval $ac_link) 2>conftest.er1
22048   ac_status=$?
22049   grep -v '^ *+' conftest.er1 >conftest.err
22050   rm -f conftest.er1
22051   cat conftest.err >&5
22052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22053   (exit $ac_status); } &&
22054          { ac_try='test -z "$ac_c_werror_flag"
22055                          || test ! -s conftest.err'
22056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22057   (eval $ac_try) 2>&5
22058   ac_status=$?
22059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22060   (exit $ac_status); }; } &&
22061          { ac_try='test -s conftest$ac_exeext'
22062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22063   (eval $ac_try) 2>&5
22064   ac_status=$?
22065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22066   (exit $ac_status); }; }; then
22067   eval "$as_ac_var=yes"
22068 else
22069   echo "$as_me: failed program was:" >&5
22070 sed 's/^/| /' conftest.$ac_ext >&5
22071
22072 eval "$as_ac_var=no"
22073 fi
22074 rm -f conftest.err conftest.$ac_objext \
22075       conftest$ac_exeext conftest.$ac_ext
22076 fi
22077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22079 if test `eval echo '${'$as_ac_var'}'` = yes; then
22080   cat >>confdefs.h <<_ACEOF
22081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22082 _ACEOF
22083
22084 fi
22085 done
22086
22087     fi
22088   fi
22089
22090
22091
22092   echo "$as_me:$LINENO: checking for log10l declaration" >&5
22093 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
22094   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
22095     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
22096   echo $ECHO_N "(cached) $ECHO_C" >&6
22097 else
22098
22099
22100
22101       ac_ext=cc
22102 ac_cpp='$CXXCPP $CPPFLAGS'
22103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22106
22107       cat >conftest.$ac_ext <<_ACEOF
22108 /* confdefs.h.  */
22109 _ACEOF
22110 cat confdefs.h >>conftest.$ac_ext
22111 cat >>conftest.$ac_ext <<_ACEOF
22112 /* end confdefs.h.  */
22113 #include <math.h>
22114                       #ifdef HAVE_IEEEFP_H
22115                       #include <ieeefp.h>
22116                       #endif
22117
22118 int
22119 main ()
22120 {
22121  log10l(0);
22122   ;
22123   return 0;
22124 }
22125 _ACEOF
22126 rm -f conftest.$ac_objext
22127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22128   (eval $ac_compile) 2>conftest.er1
22129   ac_status=$?
22130   grep -v '^ *+' conftest.er1 >conftest.err
22131   rm -f conftest.er1
22132   cat conftest.err >&5
22133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22134   (exit $ac_status); } &&
22135          { ac_try='test -z "$ac_cxx_werror_flag"
22136                          || test ! -s conftest.err'
22137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22138   (eval $ac_try) 2>&5
22139   ac_status=$?
22140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22141   (exit $ac_status); }; } &&
22142          { ac_try='test -s conftest.$ac_objext'
22143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22144   (eval $ac_try) 2>&5
22145   ac_status=$?
22146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22147   (exit $ac_status); }; }; then
22148   glibcxx_cv_func_log10l_use=yes
22149 else
22150   echo "$as_me: failed program was:" >&5
22151 sed 's/^/| /' conftest.$ac_ext >&5
22152
22153 glibcxx_cv_func_log10l_use=no
22154 fi
22155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22156       ac_ext=c
22157 ac_cpp='$CPP $CPPFLAGS'
22158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22161
22162
22163 fi
22164
22165   fi
22166   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
22167 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
22168
22169   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
22170
22171 for ac_func in log10l
22172 do
22173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22174 echo "$as_me:$LINENO: checking for $ac_func" >&5
22175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22176 if eval "test \"\${$as_ac_var+set}\" = set"; then
22177   echo $ECHO_N "(cached) $ECHO_C" >&6
22178 else
22179   if test x$gcc_no_link = xyes; then
22180   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22182    { (exit 1); exit 1; }; }
22183 fi
22184 cat >conftest.$ac_ext <<_ACEOF
22185 /* confdefs.h.  */
22186 _ACEOF
22187 cat confdefs.h >>conftest.$ac_ext
22188 cat >>conftest.$ac_ext <<_ACEOF
22189 /* end confdefs.h.  */
22190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22191    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22192 #define $ac_func innocuous_$ac_func
22193
22194 /* System header to define __stub macros and hopefully few prototypes,
22195     which can conflict with char $ac_func (); below.
22196     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22197     <limits.h> exists even on freestanding compilers.  */
22198
22199 #ifdef __STDC__
22200 # include <limits.h>
22201 #else
22202 # include <assert.h>
22203 #endif
22204
22205 #undef $ac_func
22206
22207 /* Override any gcc2 internal prototype to avoid an error.  */
22208 #ifdef __cplusplus
22209 extern "C"
22210 {
22211 #endif
22212 /* We use char because int might match the return type of a gcc2
22213    builtin and then its argument prototype would still apply.  */
22214 char $ac_func ();
22215 /* The GNU C library defines this for functions which it implements
22216     to always fail with ENOSYS.  Some functions are actually named
22217     something starting with __ and the normal name is an alias.  */
22218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22219 choke me
22220 #else
22221 char (*f) () = $ac_func;
22222 #endif
22223 #ifdef __cplusplus
22224 }
22225 #endif
22226
22227 int
22228 main ()
22229 {
22230 return f != $ac_func;
22231   ;
22232   return 0;
22233 }
22234 _ACEOF
22235 rm -f conftest.$ac_objext conftest$ac_exeext
22236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22237   (eval $ac_link) 2>conftest.er1
22238   ac_status=$?
22239   grep -v '^ *+' conftest.er1 >conftest.err
22240   rm -f conftest.er1
22241   cat conftest.err >&5
22242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22243   (exit $ac_status); } &&
22244          { ac_try='test -z "$ac_c_werror_flag"
22245                          || test ! -s conftest.err'
22246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22247   (eval $ac_try) 2>&5
22248   ac_status=$?
22249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22250   (exit $ac_status); }; } &&
22251          { ac_try='test -s conftest$ac_exeext'
22252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22253   (eval $ac_try) 2>&5
22254   ac_status=$?
22255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256   (exit $ac_status); }; }; then
22257   eval "$as_ac_var=yes"
22258 else
22259   echo "$as_me: failed program was:" >&5
22260 sed 's/^/| /' conftest.$ac_ext >&5
22261
22262 eval "$as_ac_var=no"
22263 fi
22264 rm -f conftest.err conftest.$ac_objext \
22265       conftest$ac_exeext conftest.$ac_ext
22266 fi
22267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22269 if test `eval echo '${'$as_ac_var'}'` = yes; then
22270   cat >>confdefs.h <<_ACEOF
22271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22272 _ACEOF
22273
22274 fi
22275 done
22276
22277   else
22278
22279   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
22280 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
22281   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
22282     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
22283   echo $ECHO_N "(cached) $ECHO_C" >&6
22284 else
22285
22286
22287
22288       ac_ext=cc
22289 ac_cpp='$CXXCPP $CPPFLAGS'
22290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22293
22294       cat >conftest.$ac_ext <<_ACEOF
22295 /* confdefs.h.  */
22296 _ACEOF
22297 cat confdefs.h >>conftest.$ac_ext
22298 cat >>conftest.$ac_ext <<_ACEOF
22299 /* end confdefs.h.  */
22300 #include <math.h>
22301                       #ifdef HAVE_IEEEFP_H
22302                       #include <ieeefp.h>
22303                       #endif
22304
22305 int
22306 main ()
22307 {
22308  _log10l(0);
22309   ;
22310   return 0;
22311 }
22312 _ACEOF
22313 rm -f conftest.$ac_objext
22314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22315   (eval $ac_compile) 2>conftest.er1
22316   ac_status=$?
22317   grep -v '^ *+' conftest.er1 >conftest.err
22318   rm -f conftest.er1
22319   cat conftest.err >&5
22320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22321   (exit $ac_status); } &&
22322          { ac_try='test -z "$ac_cxx_werror_flag"
22323                          || test ! -s conftest.err'
22324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22325   (eval $ac_try) 2>&5
22326   ac_status=$?
22327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22328   (exit $ac_status); }; } &&
22329          { ac_try='test -s conftest.$ac_objext'
22330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22331   (eval $ac_try) 2>&5
22332   ac_status=$?
22333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22334   (exit $ac_status); }; }; then
22335   glibcxx_cv_func__log10l_use=yes
22336 else
22337   echo "$as_me: failed program was:" >&5
22338 sed 's/^/| /' conftest.$ac_ext >&5
22339
22340 glibcxx_cv_func__log10l_use=no
22341 fi
22342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22343       ac_ext=c
22344 ac_cpp='$CPP $CPPFLAGS'
22345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22348
22349
22350 fi
22351
22352   fi
22353   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
22354 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
22355
22356     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
22357
22358 for ac_func in _log10l
22359 do
22360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22361 echo "$as_me:$LINENO: checking for $ac_func" >&5
22362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22363 if eval "test \"\${$as_ac_var+set}\" = set"; then
22364   echo $ECHO_N "(cached) $ECHO_C" >&6
22365 else
22366   if test x$gcc_no_link = xyes; then
22367   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22369    { (exit 1); exit 1; }; }
22370 fi
22371 cat >conftest.$ac_ext <<_ACEOF
22372 /* confdefs.h.  */
22373 _ACEOF
22374 cat confdefs.h >>conftest.$ac_ext
22375 cat >>conftest.$ac_ext <<_ACEOF
22376 /* end confdefs.h.  */
22377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22378    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22379 #define $ac_func innocuous_$ac_func
22380
22381 /* System header to define __stub macros and hopefully few prototypes,
22382     which can conflict with char $ac_func (); below.
22383     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22384     <limits.h> exists even on freestanding compilers.  */
22385
22386 #ifdef __STDC__
22387 # include <limits.h>
22388 #else
22389 # include <assert.h>
22390 #endif
22391
22392 #undef $ac_func
22393
22394 /* Override any gcc2 internal prototype to avoid an error.  */
22395 #ifdef __cplusplus
22396 extern "C"
22397 {
22398 #endif
22399 /* We use char because int might match the return type of a gcc2
22400    builtin and then its argument prototype would still apply.  */
22401 char $ac_func ();
22402 /* The GNU C library defines this for functions which it implements
22403     to always fail with ENOSYS.  Some functions are actually named
22404     something starting with __ and the normal name is an alias.  */
22405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22406 choke me
22407 #else
22408 char (*f) () = $ac_func;
22409 #endif
22410 #ifdef __cplusplus
22411 }
22412 #endif
22413
22414 int
22415 main ()
22416 {
22417 return f != $ac_func;
22418   ;
22419   return 0;
22420 }
22421 _ACEOF
22422 rm -f conftest.$ac_objext conftest$ac_exeext
22423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22424   (eval $ac_link) 2>conftest.er1
22425   ac_status=$?
22426   grep -v '^ *+' conftest.er1 >conftest.err
22427   rm -f conftest.er1
22428   cat conftest.err >&5
22429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22430   (exit $ac_status); } &&
22431          { ac_try='test -z "$ac_c_werror_flag"
22432                          || test ! -s conftest.err'
22433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22434   (eval $ac_try) 2>&5
22435   ac_status=$?
22436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22437   (exit $ac_status); }; } &&
22438          { ac_try='test -s conftest$ac_exeext'
22439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22440   (eval $ac_try) 2>&5
22441   ac_status=$?
22442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22443   (exit $ac_status); }; }; then
22444   eval "$as_ac_var=yes"
22445 else
22446   echo "$as_me: failed program was:" >&5
22447 sed 's/^/| /' conftest.$ac_ext >&5
22448
22449 eval "$as_ac_var=no"
22450 fi
22451 rm -f conftest.err conftest.$ac_objext \
22452       conftest$ac_exeext conftest.$ac_ext
22453 fi
22454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22456 if test `eval echo '${'$as_ac_var'}'` = yes; then
22457   cat >>confdefs.h <<_ACEOF
22458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22459 _ACEOF
22460
22461 fi
22462 done
22463
22464     fi
22465   fi
22466
22467
22468
22469   echo "$as_me:$LINENO: checking for modfl declaration" >&5
22470 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
22471   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
22472     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
22473   echo $ECHO_N "(cached) $ECHO_C" >&6
22474 else
22475
22476
22477
22478       ac_ext=cc
22479 ac_cpp='$CXXCPP $CPPFLAGS'
22480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22483
22484       cat >conftest.$ac_ext <<_ACEOF
22485 /* confdefs.h.  */
22486 _ACEOF
22487 cat confdefs.h >>conftest.$ac_ext
22488 cat >>conftest.$ac_ext <<_ACEOF
22489 /* end confdefs.h.  */
22490 #include <math.h>
22491 int
22492 main ()
22493 {
22494  modfl(0, 0);
22495   ;
22496   return 0;
22497 }
22498 _ACEOF
22499 rm -f conftest.$ac_objext
22500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22501   (eval $ac_compile) 2>conftest.er1
22502   ac_status=$?
22503   grep -v '^ *+' conftest.er1 >conftest.err
22504   rm -f conftest.er1
22505   cat conftest.err >&5
22506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22507   (exit $ac_status); } &&
22508          { ac_try='test -z "$ac_cxx_werror_flag"
22509                          || test ! -s conftest.err'
22510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22511   (eval $ac_try) 2>&5
22512   ac_status=$?
22513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22514   (exit $ac_status); }; } &&
22515          { ac_try='test -s conftest.$ac_objext'
22516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22517   (eval $ac_try) 2>&5
22518   ac_status=$?
22519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22520   (exit $ac_status); }; }; then
22521   glibcxx_cv_func_modfl_use=yes
22522 else
22523   echo "$as_me: failed program was:" >&5
22524 sed 's/^/| /' conftest.$ac_ext >&5
22525
22526 glibcxx_cv_func_modfl_use=no
22527 fi
22528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22529       ac_ext=c
22530 ac_cpp='$CPP $CPPFLAGS'
22531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22534
22535
22536 fi
22537
22538   fi
22539   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
22540 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
22541
22542   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
22543
22544 for ac_func in modfl
22545 do
22546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22547 echo "$as_me:$LINENO: checking for $ac_func" >&5
22548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22549 if eval "test \"\${$as_ac_var+set}\" = set"; then
22550   echo $ECHO_N "(cached) $ECHO_C" >&6
22551 else
22552   if test x$gcc_no_link = xyes; then
22553   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22555    { (exit 1); exit 1; }; }
22556 fi
22557 cat >conftest.$ac_ext <<_ACEOF
22558 /* confdefs.h.  */
22559 _ACEOF
22560 cat confdefs.h >>conftest.$ac_ext
22561 cat >>conftest.$ac_ext <<_ACEOF
22562 /* end confdefs.h.  */
22563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22564    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22565 #define $ac_func innocuous_$ac_func
22566
22567 /* System header to define __stub macros and hopefully few prototypes,
22568     which can conflict with char $ac_func (); below.
22569     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22570     <limits.h> exists even on freestanding compilers.  */
22571
22572 #ifdef __STDC__
22573 # include <limits.h>
22574 #else
22575 # include <assert.h>
22576 #endif
22577
22578 #undef $ac_func
22579
22580 /* Override any gcc2 internal prototype to avoid an error.  */
22581 #ifdef __cplusplus
22582 extern "C"
22583 {
22584 #endif
22585 /* We use char because int might match the return type of a gcc2
22586    builtin and then its argument prototype would still apply.  */
22587 char $ac_func ();
22588 /* The GNU C library defines this for functions which it implements
22589     to always fail with ENOSYS.  Some functions are actually named
22590     something starting with __ and the normal name is an alias.  */
22591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22592 choke me
22593 #else
22594 char (*f) () = $ac_func;
22595 #endif
22596 #ifdef __cplusplus
22597 }
22598 #endif
22599
22600 int
22601 main ()
22602 {
22603 return f != $ac_func;
22604   ;
22605   return 0;
22606 }
22607 _ACEOF
22608 rm -f conftest.$ac_objext conftest$ac_exeext
22609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22610   (eval $ac_link) 2>conftest.er1
22611   ac_status=$?
22612   grep -v '^ *+' conftest.er1 >conftest.err
22613   rm -f conftest.er1
22614   cat conftest.err >&5
22615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22616   (exit $ac_status); } &&
22617          { ac_try='test -z "$ac_c_werror_flag"
22618                          || test ! -s conftest.err'
22619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22620   (eval $ac_try) 2>&5
22621   ac_status=$?
22622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22623   (exit $ac_status); }; } &&
22624          { ac_try='test -s conftest$ac_exeext'
22625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22626   (eval $ac_try) 2>&5
22627   ac_status=$?
22628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22629   (exit $ac_status); }; }; then
22630   eval "$as_ac_var=yes"
22631 else
22632   echo "$as_me: failed program was:" >&5
22633 sed 's/^/| /' conftest.$ac_ext >&5
22634
22635 eval "$as_ac_var=no"
22636 fi
22637 rm -f conftest.err conftest.$ac_objext \
22638       conftest$ac_exeext conftest.$ac_ext
22639 fi
22640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22642 if test `eval echo '${'$as_ac_var'}'` = yes; then
22643   cat >>confdefs.h <<_ACEOF
22644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22645 _ACEOF
22646
22647 fi
22648 done
22649
22650   else
22651
22652   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
22653 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
22654   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
22655     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
22656   echo $ECHO_N "(cached) $ECHO_C" >&6
22657 else
22658
22659
22660
22661       ac_ext=cc
22662 ac_cpp='$CXXCPP $CPPFLAGS'
22663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22666
22667       cat >conftest.$ac_ext <<_ACEOF
22668 /* confdefs.h.  */
22669 _ACEOF
22670 cat confdefs.h >>conftest.$ac_ext
22671 cat >>conftest.$ac_ext <<_ACEOF
22672 /* end confdefs.h.  */
22673 #include <math.h>
22674 int
22675 main ()
22676 {
22677  _modfl(0, 0);
22678   ;
22679   return 0;
22680 }
22681 _ACEOF
22682 rm -f conftest.$ac_objext
22683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22684   (eval $ac_compile) 2>conftest.er1
22685   ac_status=$?
22686   grep -v '^ *+' conftest.er1 >conftest.err
22687   rm -f conftest.er1
22688   cat conftest.err >&5
22689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22690   (exit $ac_status); } &&
22691          { ac_try='test -z "$ac_cxx_werror_flag"
22692                          || test ! -s conftest.err'
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); }; } &&
22698          { ac_try='test -s conftest.$ac_objext'
22699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22700   (eval $ac_try) 2>&5
22701   ac_status=$?
22702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22703   (exit $ac_status); }; }; then
22704   glibcxx_cv_func__modfl_use=yes
22705 else
22706   echo "$as_me: failed program was:" >&5
22707 sed 's/^/| /' conftest.$ac_ext >&5
22708
22709 glibcxx_cv_func__modfl_use=no
22710 fi
22711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22712       ac_ext=c
22713 ac_cpp='$CPP $CPPFLAGS'
22714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22717
22718
22719 fi
22720
22721   fi
22722   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
22723 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
22724
22725     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
22726
22727 for ac_func in _modfl
22728 do
22729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22730 echo "$as_me:$LINENO: checking for $ac_func" >&5
22731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22732 if eval "test \"\${$as_ac_var+set}\" = set"; then
22733   echo $ECHO_N "(cached) $ECHO_C" >&6
22734 else
22735   if test x$gcc_no_link = xyes; then
22736   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22738    { (exit 1); exit 1; }; }
22739 fi
22740 cat >conftest.$ac_ext <<_ACEOF
22741 /* confdefs.h.  */
22742 _ACEOF
22743 cat confdefs.h >>conftest.$ac_ext
22744 cat >>conftest.$ac_ext <<_ACEOF
22745 /* end confdefs.h.  */
22746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22747    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22748 #define $ac_func innocuous_$ac_func
22749
22750 /* System header to define __stub macros and hopefully few prototypes,
22751     which can conflict with char $ac_func (); below.
22752     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22753     <limits.h> exists even on freestanding compilers.  */
22754
22755 #ifdef __STDC__
22756 # include <limits.h>
22757 #else
22758 # include <assert.h>
22759 #endif
22760
22761 #undef $ac_func
22762
22763 /* Override any gcc2 internal prototype to avoid an error.  */
22764 #ifdef __cplusplus
22765 extern "C"
22766 {
22767 #endif
22768 /* We use char because int might match the return type of a gcc2
22769    builtin and then its argument prototype would still apply.  */
22770 char $ac_func ();
22771 /* The GNU C library defines this for functions which it implements
22772     to always fail with ENOSYS.  Some functions are actually named
22773     something starting with __ and the normal name is an alias.  */
22774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22775 choke me
22776 #else
22777 char (*f) () = $ac_func;
22778 #endif
22779 #ifdef __cplusplus
22780 }
22781 #endif
22782
22783 int
22784 main ()
22785 {
22786 return f != $ac_func;
22787   ;
22788   return 0;
22789 }
22790 _ACEOF
22791 rm -f conftest.$ac_objext conftest$ac_exeext
22792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22793   (eval $ac_link) 2>conftest.er1
22794   ac_status=$?
22795   grep -v '^ *+' conftest.er1 >conftest.err
22796   rm -f conftest.er1
22797   cat conftest.err >&5
22798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22799   (exit $ac_status); } &&
22800          { ac_try='test -z "$ac_c_werror_flag"
22801                          || test ! -s conftest.err'
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); }; } &&
22807          { ac_try='test -s conftest$ac_exeext'
22808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22809   (eval $ac_try) 2>&5
22810   ac_status=$?
22811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22812   (exit $ac_status); }; }; then
22813   eval "$as_ac_var=yes"
22814 else
22815   echo "$as_me: failed program was:" >&5
22816 sed 's/^/| /' conftest.$ac_ext >&5
22817
22818 eval "$as_ac_var=no"
22819 fi
22820 rm -f conftest.err conftest.$ac_objext \
22821       conftest$ac_exeext conftest.$ac_ext
22822 fi
22823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22825 if test `eval echo '${'$as_ac_var'}'` = yes; then
22826   cat >>confdefs.h <<_ACEOF
22827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22828 _ACEOF
22829
22830 fi
22831 done
22832
22833     fi
22834   fi
22835
22836
22837
22838   echo "$as_me:$LINENO: checking for powl declaration" >&5
22839 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
22840   if test x${glibcxx_cv_func_powl_use+set} != xset; then
22841     if test "${glibcxx_cv_func_powl_use+set}" = set; then
22842   echo $ECHO_N "(cached) $ECHO_C" >&6
22843 else
22844
22845
22846
22847       ac_ext=cc
22848 ac_cpp='$CXXCPP $CPPFLAGS'
22849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22852
22853       cat >conftest.$ac_ext <<_ACEOF
22854 /* confdefs.h.  */
22855 _ACEOF
22856 cat confdefs.h >>conftest.$ac_ext
22857 cat >>conftest.$ac_ext <<_ACEOF
22858 /* end confdefs.h.  */
22859 #include <math.h>
22860 int
22861 main ()
22862 {
22863  powl(0, 0);
22864   ;
22865   return 0;
22866 }
22867 _ACEOF
22868 rm -f conftest.$ac_objext
22869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22870   (eval $ac_compile) 2>conftest.er1
22871   ac_status=$?
22872   grep -v '^ *+' conftest.er1 >conftest.err
22873   rm -f conftest.er1
22874   cat conftest.err >&5
22875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22876   (exit $ac_status); } &&
22877          { ac_try='test -z "$ac_cxx_werror_flag"
22878                          || test ! -s conftest.err'
22879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22880   (eval $ac_try) 2>&5
22881   ac_status=$?
22882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22883   (exit $ac_status); }; } &&
22884          { ac_try='test -s conftest.$ac_objext'
22885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22886   (eval $ac_try) 2>&5
22887   ac_status=$?
22888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22889   (exit $ac_status); }; }; then
22890   glibcxx_cv_func_powl_use=yes
22891 else
22892   echo "$as_me: failed program was:" >&5
22893 sed 's/^/| /' conftest.$ac_ext >&5
22894
22895 glibcxx_cv_func_powl_use=no
22896 fi
22897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22898       ac_ext=c
22899 ac_cpp='$CPP $CPPFLAGS'
22900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22903
22904
22905 fi
22906
22907   fi
22908   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
22909 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
22910
22911   if test x$glibcxx_cv_func_powl_use = x"yes"; then
22912
22913 for ac_func in powl
22914 do
22915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22916 echo "$as_me:$LINENO: checking for $ac_func" >&5
22917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22918 if eval "test \"\${$as_ac_var+set}\" = set"; then
22919   echo $ECHO_N "(cached) $ECHO_C" >&6
22920 else
22921   if test x$gcc_no_link = xyes; then
22922   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22924    { (exit 1); exit 1; }; }
22925 fi
22926 cat >conftest.$ac_ext <<_ACEOF
22927 /* confdefs.h.  */
22928 _ACEOF
22929 cat confdefs.h >>conftest.$ac_ext
22930 cat >>conftest.$ac_ext <<_ACEOF
22931 /* end confdefs.h.  */
22932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22933    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22934 #define $ac_func innocuous_$ac_func
22935
22936 /* System header to define __stub macros and hopefully few prototypes,
22937     which can conflict with char $ac_func (); below.
22938     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22939     <limits.h> exists even on freestanding compilers.  */
22940
22941 #ifdef __STDC__
22942 # include <limits.h>
22943 #else
22944 # include <assert.h>
22945 #endif
22946
22947 #undef $ac_func
22948
22949 /* Override any gcc2 internal prototype to avoid an error.  */
22950 #ifdef __cplusplus
22951 extern "C"
22952 {
22953 #endif
22954 /* We use char because int might match the return type of a gcc2
22955    builtin and then its argument prototype would still apply.  */
22956 char $ac_func ();
22957 /* The GNU C library defines this for functions which it implements
22958     to always fail with ENOSYS.  Some functions are actually named
22959     something starting with __ and the normal name is an alias.  */
22960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22961 choke me
22962 #else
22963 char (*f) () = $ac_func;
22964 #endif
22965 #ifdef __cplusplus
22966 }
22967 #endif
22968
22969 int
22970 main ()
22971 {
22972 return f != $ac_func;
22973   ;
22974   return 0;
22975 }
22976 _ACEOF
22977 rm -f conftest.$ac_objext conftest$ac_exeext
22978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22979   (eval $ac_link) 2>conftest.er1
22980   ac_status=$?
22981   grep -v '^ *+' conftest.er1 >conftest.err
22982   rm -f conftest.er1
22983   cat conftest.err >&5
22984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22985   (exit $ac_status); } &&
22986          { ac_try='test -z "$ac_c_werror_flag"
22987                          || test ! -s conftest.err'
22988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22989   (eval $ac_try) 2>&5
22990   ac_status=$?
22991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22992   (exit $ac_status); }; } &&
22993          { ac_try='test -s conftest$ac_exeext'
22994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22995   (eval $ac_try) 2>&5
22996   ac_status=$?
22997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22998   (exit $ac_status); }; }; then
22999   eval "$as_ac_var=yes"
23000 else
23001   echo "$as_me: failed program was:" >&5
23002 sed 's/^/| /' conftest.$ac_ext >&5
23003
23004 eval "$as_ac_var=no"
23005 fi
23006 rm -f conftest.err conftest.$ac_objext \
23007       conftest$ac_exeext conftest.$ac_ext
23008 fi
23009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23011 if test `eval echo '${'$as_ac_var'}'` = yes; then
23012   cat >>confdefs.h <<_ACEOF
23013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23014 _ACEOF
23015
23016 fi
23017 done
23018
23019   else
23020
23021   echo "$as_me:$LINENO: checking for _powl declaration" >&5
23022 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
23023   if test x${glibcxx_cv_func__powl_use+set} != xset; then
23024     if test "${glibcxx_cv_func__powl_use+set}" = set; then
23025   echo $ECHO_N "(cached) $ECHO_C" >&6
23026 else
23027
23028
23029
23030       ac_ext=cc
23031 ac_cpp='$CXXCPP $CPPFLAGS'
23032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23035
23036       cat >conftest.$ac_ext <<_ACEOF
23037 /* confdefs.h.  */
23038 _ACEOF
23039 cat confdefs.h >>conftest.$ac_ext
23040 cat >>conftest.$ac_ext <<_ACEOF
23041 /* end confdefs.h.  */
23042 #include <math.h>
23043 int
23044 main ()
23045 {
23046  _powl(0, 0);
23047   ;
23048   return 0;
23049 }
23050 _ACEOF
23051 rm -f conftest.$ac_objext
23052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23053   (eval $ac_compile) 2>conftest.er1
23054   ac_status=$?
23055   grep -v '^ *+' conftest.er1 >conftest.err
23056   rm -f conftest.er1
23057   cat conftest.err >&5
23058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23059   (exit $ac_status); } &&
23060          { ac_try='test -z "$ac_cxx_werror_flag"
23061                          || test ! -s conftest.err'
23062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23063   (eval $ac_try) 2>&5
23064   ac_status=$?
23065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23066   (exit $ac_status); }; } &&
23067          { ac_try='test -s conftest.$ac_objext'
23068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23069   (eval $ac_try) 2>&5
23070   ac_status=$?
23071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23072   (exit $ac_status); }; }; then
23073   glibcxx_cv_func__powl_use=yes
23074 else
23075   echo "$as_me: failed program was:" >&5
23076 sed 's/^/| /' conftest.$ac_ext >&5
23077
23078 glibcxx_cv_func__powl_use=no
23079 fi
23080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23081       ac_ext=c
23082 ac_cpp='$CPP $CPPFLAGS'
23083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23086
23087
23088 fi
23089
23090   fi
23091   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
23092 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
23093
23094     if test x$glibcxx_cv_func__powl_use = x"yes"; then
23095
23096 for ac_func in _powl
23097 do
23098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23099 echo "$as_me:$LINENO: checking for $ac_func" >&5
23100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23101 if eval "test \"\${$as_ac_var+set}\" = set"; then
23102   echo $ECHO_N "(cached) $ECHO_C" >&6
23103 else
23104   if test x$gcc_no_link = xyes; then
23105   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23107    { (exit 1); exit 1; }; }
23108 fi
23109 cat >conftest.$ac_ext <<_ACEOF
23110 /* confdefs.h.  */
23111 _ACEOF
23112 cat confdefs.h >>conftest.$ac_ext
23113 cat >>conftest.$ac_ext <<_ACEOF
23114 /* end confdefs.h.  */
23115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23116    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23117 #define $ac_func innocuous_$ac_func
23118
23119 /* System header to define __stub macros and hopefully few prototypes,
23120     which can conflict with char $ac_func (); below.
23121     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23122     <limits.h> exists even on freestanding compilers.  */
23123
23124 #ifdef __STDC__
23125 # include <limits.h>
23126 #else
23127 # include <assert.h>
23128 #endif
23129
23130 #undef $ac_func
23131
23132 /* Override any gcc2 internal prototype to avoid an error.  */
23133 #ifdef __cplusplus
23134 extern "C"
23135 {
23136 #endif
23137 /* We use char because int might match the return type of a gcc2
23138    builtin and then its argument prototype would still apply.  */
23139 char $ac_func ();
23140 /* The GNU C library defines this for functions which it implements
23141     to always fail with ENOSYS.  Some functions are actually named
23142     something starting with __ and the normal name is an alias.  */
23143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23144 choke me
23145 #else
23146 char (*f) () = $ac_func;
23147 #endif
23148 #ifdef __cplusplus
23149 }
23150 #endif
23151
23152 int
23153 main ()
23154 {
23155 return f != $ac_func;
23156   ;
23157   return 0;
23158 }
23159 _ACEOF
23160 rm -f conftest.$ac_objext conftest$ac_exeext
23161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23162   (eval $ac_link) 2>conftest.er1
23163   ac_status=$?
23164   grep -v '^ *+' conftest.er1 >conftest.err
23165   rm -f conftest.er1
23166   cat conftest.err >&5
23167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23168   (exit $ac_status); } &&
23169          { ac_try='test -z "$ac_c_werror_flag"
23170                          || test ! -s conftest.err'
23171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23172   (eval $ac_try) 2>&5
23173   ac_status=$?
23174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23175   (exit $ac_status); }; } &&
23176          { ac_try='test -s conftest$ac_exeext'
23177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23178   (eval $ac_try) 2>&5
23179   ac_status=$?
23180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23181   (exit $ac_status); }; }; then
23182   eval "$as_ac_var=yes"
23183 else
23184   echo "$as_me: failed program was:" >&5
23185 sed 's/^/| /' conftest.$ac_ext >&5
23186
23187 eval "$as_ac_var=no"
23188 fi
23189 rm -f conftest.err conftest.$ac_objext \
23190       conftest$ac_exeext conftest.$ac_ext
23191 fi
23192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23194 if test `eval echo '${'$as_ac_var'}'` = yes; then
23195   cat >>confdefs.h <<_ACEOF
23196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23197 _ACEOF
23198
23199 fi
23200 done
23201
23202     fi
23203   fi
23204
23205
23206
23207   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
23208 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
23209   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
23210     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
23211   echo $ECHO_N "(cached) $ECHO_C" >&6
23212 else
23213
23214
23215
23216       ac_ext=cc
23217 ac_cpp='$CXXCPP $CPPFLAGS'
23218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23221
23222       cat >conftest.$ac_ext <<_ACEOF
23223 /* confdefs.h.  */
23224 _ACEOF
23225 cat confdefs.h >>conftest.$ac_ext
23226 cat >>conftest.$ac_ext <<_ACEOF
23227 /* end confdefs.h.  */
23228 #include <math.h>
23229                       #ifdef HAVE_IEEEFP_H
23230                       #include <ieeefp.h>
23231                       #endif
23232
23233 int
23234 main ()
23235 {
23236  sqrtl(0);
23237   ;
23238   return 0;
23239 }
23240 _ACEOF
23241 rm -f conftest.$ac_objext
23242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23243   (eval $ac_compile) 2>conftest.er1
23244   ac_status=$?
23245   grep -v '^ *+' conftest.er1 >conftest.err
23246   rm -f conftest.er1
23247   cat conftest.err >&5
23248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23249   (exit $ac_status); } &&
23250          { ac_try='test -z "$ac_cxx_werror_flag"
23251                          || test ! -s conftest.err'
23252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23253   (eval $ac_try) 2>&5
23254   ac_status=$?
23255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23256   (exit $ac_status); }; } &&
23257          { ac_try='test -s conftest.$ac_objext'
23258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23259   (eval $ac_try) 2>&5
23260   ac_status=$?
23261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23262   (exit $ac_status); }; }; then
23263   glibcxx_cv_func_sqrtl_use=yes
23264 else
23265   echo "$as_me: failed program was:" >&5
23266 sed 's/^/| /' conftest.$ac_ext >&5
23267
23268 glibcxx_cv_func_sqrtl_use=no
23269 fi
23270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23271       ac_ext=c
23272 ac_cpp='$CPP $CPPFLAGS'
23273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23276
23277
23278 fi
23279
23280   fi
23281   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
23282 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
23283
23284   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
23285
23286 for ac_func in sqrtl
23287 do
23288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23289 echo "$as_me:$LINENO: checking for $ac_func" >&5
23290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23291 if eval "test \"\${$as_ac_var+set}\" = set"; then
23292   echo $ECHO_N "(cached) $ECHO_C" >&6
23293 else
23294   if test x$gcc_no_link = xyes; then
23295   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23297    { (exit 1); exit 1; }; }
23298 fi
23299 cat >conftest.$ac_ext <<_ACEOF
23300 /* confdefs.h.  */
23301 _ACEOF
23302 cat confdefs.h >>conftest.$ac_ext
23303 cat >>conftest.$ac_ext <<_ACEOF
23304 /* end confdefs.h.  */
23305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23306    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23307 #define $ac_func innocuous_$ac_func
23308
23309 /* System header to define __stub macros and hopefully few prototypes,
23310     which can conflict with char $ac_func (); below.
23311     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23312     <limits.h> exists even on freestanding compilers.  */
23313
23314 #ifdef __STDC__
23315 # include <limits.h>
23316 #else
23317 # include <assert.h>
23318 #endif
23319
23320 #undef $ac_func
23321
23322 /* Override any gcc2 internal prototype to avoid an error.  */
23323 #ifdef __cplusplus
23324 extern "C"
23325 {
23326 #endif
23327 /* We use char because int might match the return type of a gcc2
23328    builtin and then its argument prototype would still apply.  */
23329 char $ac_func ();
23330 /* The GNU C library defines this for functions which it implements
23331     to always fail with ENOSYS.  Some functions are actually named
23332     something starting with __ and the normal name is an alias.  */
23333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23334 choke me
23335 #else
23336 char (*f) () = $ac_func;
23337 #endif
23338 #ifdef __cplusplus
23339 }
23340 #endif
23341
23342 int
23343 main ()
23344 {
23345 return f != $ac_func;
23346   ;
23347   return 0;
23348 }
23349 _ACEOF
23350 rm -f conftest.$ac_objext conftest$ac_exeext
23351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23352   (eval $ac_link) 2>conftest.er1
23353   ac_status=$?
23354   grep -v '^ *+' conftest.er1 >conftest.err
23355   rm -f conftest.er1
23356   cat conftest.err >&5
23357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23358   (exit $ac_status); } &&
23359          { ac_try='test -z "$ac_c_werror_flag"
23360                          || test ! -s conftest.err'
23361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23362   (eval $ac_try) 2>&5
23363   ac_status=$?
23364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23365   (exit $ac_status); }; } &&
23366          { ac_try='test -s conftest$ac_exeext'
23367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23368   (eval $ac_try) 2>&5
23369   ac_status=$?
23370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23371   (exit $ac_status); }; }; then
23372   eval "$as_ac_var=yes"
23373 else
23374   echo "$as_me: failed program was:" >&5
23375 sed 's/^/| /' conftest.$ac_ext >&5
23376
23377 eval "$as_ac_var=no"
23378 fi
23379 rm -f conftest.err conftest.$ac_objext \
23380       conftest$ac_exeext conftest.$ac_ext
23381 fi
23382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23384 if test `eval echo '${'$as_ac_var'}'` = yes; then
23385   cat >>confdefs.h <<_ACEOF
23386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23387 _ACEOF
23388
23389 fi
23390 done
23391
23392   else
23393
23394   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
23395 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
23396   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
23397     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
23398   echo $ECHO_N "(cached) $ECHO_C" >&6
23399 else
23400
23401
23402
23403       ac_ext=cc
23404 ac_cpp='$CXXCPP $CPPFLAGS'
23405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23408
23409       cat >conftest.$ac_ext <<_ACEOF
23410 /* confdefs.h.  */
23411 _ACEOF
23412 cat confdefs.h >>conftest.$ac_ext
23413 cat >>conftest.$ac_ext <<_ACEOF
23414 /* end confdefs.h.  */
23415 #include <math.h>
23416                       #ifdef HAVE_IEEEFP_H
23417                       #include <ieeefp.h>
23418                       #endif
23419
23420 int
23421 main ()
23422 {
23423  _sqrtl(0);
23424   ;
23425   return 0;
23426 }
23427 _ACEOF
23428 rm -f conftest.$ac_objext
23429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23430   (eval $ac_compile) 2>conftest.er1
23431   ac_status=$?
23432   grep -v '^ *+' conftest.er1 >conftest.err
23433   rm -f conftest.er1
23434   cat conftest.err >&5
23435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23436   (exit $ac_status); } &&
23437          { ac_try='test -z "$ac_cxx_werror_flag"
23438                          || test ! -s conftest.err'
23439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23440   (eval $ac_try) 2>&5
23441   ac_status=$?
23442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443   (exit $ac_status); }; } &&
23444          { ac_try='test -s conftest.$ac_objext'
23445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23446   (eval $ac_try) 2>&5
23447   ac_status=$?
23448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23449   (exit $ac_status); }; }; then
23450   glibcxx_cv_func__sqrtl_use=yes
23451 else
23452   echo "$as_me: failed program was:" >&5
23453 sed 's/^/| /' conftest.$ac_ext >&5
23454
23455 glibcxx_cv_func__sqrtl_use=no
23456 fi
23457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23458       ac_ext=c
23459 ac_cpp='$CPP $CPPFLAGS'
23460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23463
23464
23465 fi
23466
23467   fi
23468   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
23469 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
23470
23471     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
23472
23473 for ac_func in _sqrtl
23474 do
23475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23476 echo "$as_me:$LINENO: checking for $ac_func" >&5
23477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23478 if eval "test \"\${$as_ac_var+set}\" = set"; then
23479   echo $ECHO_N "(cached) $ECHO_C" >&6
23480 else
23481   if test x$gcc_no_link = xyes; then
23482   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23484    { (exit 1); exit 1; }; }
23485 fi
23486 cat >conftest.$ac_ext <<_ACEOF
23487 /* confdefs.h.  */
23488 _ACEOF
23489 cat confdefs.h >>conftest.$ac_ext
23490 cat >>conftest.$ac_ext <<_ACEOF
23491 /* end confdefs.h.  */
23492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23493    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23494 #define $ac_func innocuous_$ac_func
23495
23496 /* System header to define __stub macros and hopefully few prototypes,
23497     which can conflict with char $ac_func (); below.
23498     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23499     <limits.h> exists even on freestanding compilers.  */
23500
23501 #ifdef __STDC__
23502 # include <limits.h>
23503 #else
23504 # include <assert.h>
23505 #endif
23506
23507 #undef $ac_func
23508
23509 /* Override any gcc2 internal prototype to avoid an error.  */
23510 #ifdef __cplusplus
23511 extern "C"
23512 {
23513 #endif
23514 /* We use char because int might match the return type of a gcc2
23515    builtin and then its argument prototype would still apply.  */
23516 char $ac_func ();
23517 /* The GNU C library defines this for functions which it implements
23518     to always fail with ENOSYS.  Some functions are actually named
23519     something starting with __ and the normal name is an alias.  */
23520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23521 choke me
23522 #else
23523 char (*f) () = $ac_func;
23524 #endif
23525 #ifdef __cplusplus
23526 }
23527 #endif
23528
23529 int
23530 main ()
23531 {
23532 return f != $ac_func;
23533   ;
23534   return 0;
23535 }
23536 _ACEOF
23537 rm -f conftest.$ac_objext conftest$ac_exeext
23538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23539   (eval $ac_link) 2>conftest.er1
23540   ac_status=$?
23541   grep -v '^ *+' conftest.er1 >conftest.err
23542   rm -f conftest.er1
23543   cat conftest.err >&5
23544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23545   (exit $ac_status); } &&
23546          { ac_try='test -z "$ac_c_werror_flag"
23547                          || test ! -s conftest.err'
23548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23549   (eval $ac_try) 2>&5
23550   ac_status=$?
23551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23552   (exit $ac_status); }; } &&
23553          { ac_try='test -s conftest$ac_exeext'
23554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23555   (eval $ac_try) 2>&5
23556   ac_status=$?
23557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23558   (exit $ac_status); }; }; then
23559   eval "$as_ac_var=yes"
23560 else
23561   echo "$as_me: failed program was:" >&5
23562 sed 's/^/| /' conftest.$ac_ext >&5
23563
23564 eval "$as_ac_var=no"
23565 fi
23566 rm -f conftest.err conftest.$ac_objext \
23567       conftest$ac_exeext conftest.$ac_ext
23568 fi
23569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23571 if test `eval echo '${'$as_ac_var'}'` = yes; then
23572   cat >>confdefs.h <<_ACEOF
23573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23574 _ACEOF
23575
23576 fi
23577 done
23578
23579     fi
23580   fi
23581
23582
23583
23584   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
23585 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
23586   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
23587     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
23588   echo $ECHO_N "(cached) $ECHO_C" >&6
23589 else
23590
23591
23592
23593       ac_ext=cc
23594 ac_cpp='$CXXCPP $CPPFLAGS'
23595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23598
23599       cat >conftest.$ac_ext <<_ACEOF
23600 /* confdefs.h.  */
23601 _ACEOF
23602 cat confdefs.h >>conftest.$ac_ext
23603 cat >>conftest.$ac_ext <<_ACEOF
23604 /* end confdefs.h.  */
23605 #include <math.h>
23606 int
23607 main ()
23608 {
23609  sincosl(0, 0, 0);
23610   ;
23611   return 0;
23612 }
23613 _ACEOF
23614 rm -f conftest.$ac_objext
23615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23616   (eval $ac_compile) 2>conftest.er1
23617   ac_status=$?
23618   grep -v '^ *+' conftest.er1 >conftest.err
23619   rm -f conftest.er1
23620   cat conftest.err >&5
23621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23622   (exit $ac_status); } &&
23623          { ac_try='test -z "$ac_cxx_werror_flag"
23624                          || test ! -s conftest.err'
23625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23626   (eval $ac_try) 2>&5
23627   ac_status=$?
23628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23629   (exit $ac_status); }; } &&
23630          { ac_try='test -s conftest.$ac_objext'
23631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23632   (eval $ac_try) 2>&5
23633   ac_status=$?
23634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23635   (exit $ac_status); }; }; then
23636   glibcxx_cv_func_sincosl_use=yes
23637 else
23638   echo "$as_me: failed program was:" >&5
23639 sed 's/^/| /' conftest.$ac_ext >&5
23640
23641 glibcxx_cv_func_sincosl_use=no
23642 fi
23643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23644       ac_ext=c
23645 ac_cpp='$CPP $CPPFLAGS'
23646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23649
23650
23651 fi
23652
23653   fi
23654   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
23655 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
23656
23657   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
23658
23659 for ac_func in sincosl
23660 do
23661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23662 echo "$as_me:$LINENO: checking for $ac_func" >&5
23663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23664 if eval "test \"\${$as_ac_var+set}\" = set"; then
23665   echo $ECHO_N "(cached) $ECHO_C" >&6
23666 else
23667   if test x$gcc_no_link = xyes; then
23668   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23670    { (exit 1); exit 1; }; }
23671 fi
23672 cat >conftest.$ac_ext <<_ACEOF
23673 /* confdefs.h.  */
23674 _ACEOF
23675 cat confdefs.h >>conftest.$ac_ext
23676 cat >>conftest.$ac_ext <<_ACEOF
23677 /* end confdefs.h.  */
23678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23679    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23680 #define $ac_func innocuous_$ac_func
23681
23682 /* System header to define __stub macros and hopefully few prototypes,
23683     which can conflict with char $ac_func (); below.
23684     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23685     <limits.h> exists even on freestanding compilers.  */
23686
23687 #ifdef __STDC__
23688 # include <limits.h>
23689 #else
23690 # include <assert.h>
23691 #endif
23692
23693 #undef $ac_func
23694
23695 /* Override any gcc2 internal prototype to avoid an error.  */
23696 #ifdef __cplusplus
23697 extern "C"
23698 {
23699 #endif
23700 /* We use char because int might match the return type of a gcc2
23701    builtin and then its argument prototype would still apply.  */
23702 char $ac_func ();
23703 /* The GNU C library defines this for functions which it implements
23704     to always fail with ENOSYS.  Some functions are actually named
23705     something starting with __ and the normal name is an alias.  */
23706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23707 choke me
23708 #else
23709 char (*f) () = $ac_func;
23710 #endif
23711 #ifdef __cplusplus
23712 }
23713 #endif
23714
23715 int
23716 main ()
23717 {
23718 return f != $ac_func;
23719   ;
23720   return 0;
23721 }
23722 _ACEOF
23723 rm -f conftest.$ac_objext conftest$ac_exeext
23724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23725   (eval $ac_link) 2>conftest.er1
23726   ac_status=$?
23727   grep -v '^ *+' conftest.er1 >conftest.err
23728   rm -f conftest.er1
23729   cat conftest.err >&5
23730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23731   (exit $ac_status); } &&
23732          { ac_try='test -z "$ac_c_werror_flag"
23733                          || test ! -s conftest.err'
23734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23735   (eval $ac_try) 2>&5
23736   ac_status=$?
23737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23738   (exit $ac_status); }; } &&
23739          { ac_try='test -s conftest$ac_exeext'
23740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23741   (eval $ac_try) 2>&5
23742   ac_status=$?
23743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23744   (exit $ac_status); }; }; then
23745   eval "$as_ac_var=yes"
23746 else
23747   echo "$as_me: failed program was:" >&5
23748 sed 's/^/| /' conftest.$ac_ext >&5
23749
23750 eval "$as_ac_var=no"
23751 fi
23752 rm -f conftest.err conftest.$ac_objext \
23753       conftest$ac_exeext conftest.$ac_ext
23754 fi
23755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23757 if test `eval echo '${'$as_ac_var'}'` = yes; then
23758   cat >>confdefs.h <<_ACEOF
23759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23760 _ACEOF
23761
23762 fi
23763 done
23764
23765   else
23766
23767   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
23768 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
23769   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
23770     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
23771   echo $ECHO_N "(cached) $ECHO_C" >&6
23772 else
23773
23774
23775
23776       ac_ext=cc
23777 ac_cpp='$CXXCPP $CPPFLAGS'
23778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23781
23782       cat >conftest.$ac_ext <<_ACEOF
23783 /* confdefs.h.  */
23784 _ACEOF
23785 cat confdefs.h >>conftest.$ac_ext
23786 cat >>conftest.$ac_ext <<_ACEOF
23787 /* end confdefs.h.  */
23788 #include <math.h>
23789 int
23790 main ()
23791 {
23792  _sincosl(0, 0, 0);
23793   ;
23794   return 0;
23795 }
23796 _ACEOF
23797 rm -f conftest.$ac_objext
23798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23799   (eval $ac_compile) 2>conftest.er1
23800   ac_status=$?
23801   grep -v '^ *+' conftest.er1 >conftest.err
23802   rm -f conftest.er1
23803   cat conftest.err >&5
23804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23805   (exit $ac_status); } &&
23806          { ac_try='test -z "$ac_cxx_werror_flag"
23807                          || test ! -s conftest.err'
23808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23809   (eval $ac_try) 2>&5
23810   ac_status=$?
23811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23812   (exit $ac_status); }; } &&
23813          { ac_try='test -s conftest.$ac_objext'
23814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23815   (eval $ac_try) 2>&5
23816   ac_status=$?
23817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23818   (exit $ac_status); }; }; then
23819   glibcxx_cv_func__sincosl_use=yes
23820 else
23821   echo "$as_me: failed program was:" >&5
23822 sed 's/^/| /' conftest.$ac_ext >&5
23823
23824 glibcxx_cv_func__sincosl_use=no
23825 fi
23826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23827       ac_ext=c
23828 ac_cpp='$CPP $CPPFLAGS'
23829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23832
23833
23834 fi
23835
23836   fi
23837   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
23838 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
23839
23840     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
23841
23842 for ac_func in _sincosl
23843 do
23844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23845 echo "$as_me:$LINENO: checking for $ac_func" >&5
23846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23847 if eval "test \"\${$as_ac_var+set}\" = set"; then
23848   echo $ECHO_N "(cached) $ECHO_C" >&6
23849 else
23850   if test x$gcc_no_link = xyes; then
23851   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23853    { (exit 1); exit 1; }; }
23854 fi
23855 cat >conftest.$ac_ext <<_ACEOF
23856 /* confdefs.h.  */
23857 _ACEOF
23858 cat confdefs.h >>conftest.$ac_ext
23859 cat >>conftest.$ac_ext <<_ACEOF
23860 /* end confdefs.h.  */
23861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23862    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23863 #define $ac_func innocuous_$ac_func
23864
23865 /* System header to define __stub macros and hopefully few prototypes,
23866     which can conflict with char $ac_func (); below.
23867     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23868     <limits.h> exists even on freestanding compilers.  */
23869
23870 #ifdef __STDC__
23871 # include <limits.h>
23872 #else
23873 # include <assert.h>
23874 #endif
23875
23876 #undef $ac_func
23877
23878 /* Override any gcc2 internal prototype to avoid an error.  */
23879 #ifdef __cplusplus
23880 extern "C"
23881 {
23882 #endif
23883 /* We use char because int might match the return type of a gcc2
23884    builtin and then its argument prototype would still apply.  */
23885 char $ac_func ();
23886 /* The GNU C library defines this for functions which it implements
23887     to always fail with ENOSYS.  Some functions are actually named
23888     something starting with __ and the normal name is an alias.  */
23889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23890 choke me
23891 #else
23892 char (*f) () = $ac_func;
23893 #endif
23894 #ifdef __cplusplus
23895 }
23896 #endif
23897
23898 int
23899 main ()
23900 {
23901 return f != $ac_func;
23902   ;
23903   return 0;
23904 }
23905 _ACEOF
23906 rm -f conftest.$ac_objext conftest$ac_exeext
23907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23908   (eval $ac_link) 2>conftest.er1
23909   ac_status=$?
23910   grep -v '^ *+' conftest.er1 >conftest.err
23911   rm -f conftest.er1
23912   cat conftest.err >&5
23913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23914   (exit $ac_status); } &&
23915          { ac_try='test -z "$ac_c_werror_flag"
23916                          || test ! -s conftest.err'
23917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23918   (eval $ac_try) 2>&5
23919   ac_status=$?
23920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23921   (exit $ac_status); }; } &&
23922          { ac_try='test -s conftest$ac_exeext'
23923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23924   (eval $ac_try) 2>&5
23925   ac_status=$?
23926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23927   (exit $ac_status); }; }; then
23928   eval "$as_ac_var=yes"
23929 else
23930   echo "$as_me: failed program was:" >&5
23931 sed 's/^/| /' conftest.$ac_ext >&5
23932
23933 eval "$as_ac_var=no"
23934 fi
23935 rm -f conftest.err conftest.$ac_objext \
23936       conftest$ac_exeext conftest.$ac_ext
23937 fi
23938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23940 if test `eval echo '${'$as_ac_var'}'` = yes; then
23941   cat >>confdefs.h <<_ACEOF
23942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23943 _ACEOF
23944
23945 fi
23946 done
23947
23948     fi
23949   fi
23950
23951
23952
23953   echo "$as_me:$LINENO: checking for finitel declaration" >&5
23954 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
23955   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
23956     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
23957   echo $ECHO_N "(cached) $ECHO_C" >&6
23958 else
23959
23960
23961
23962       ac_ext=cc
23963 ac_cpp='$CXXCPP $CPPFLAGS'
23964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23967
23968       cat >conftest.$ac_ext <<_ACEOF
23969 /* confdefs.h.  */
23970 _ACEOF
23971 cat confdefs.h >>conftest.$ac_ext
23972 cat >>conftest.$ac_ext <<_ACEOF
23973 /* end confdefs.h.  */
23974 #include <math.h>
23975                       #ifdef HAVE_IEEEFP_H
23976                       #include <ieeefp.h>
23977                       #endif
23978
23979 int
23980 main ()
23981 {
23982  finitel(0);
23983   ;
23984   return 0;
23985 }
23986 _ACEOF
23987 rm -f conftest.$ac_objext
23988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23989   (eval $ac_compile) 2>conftest.er1
23990   ac_status=$?
23991   grep -v '^ *+' conftest.er1 >conftest.err
23992   rm -f conftest.er1
23993   cat conftest.err >&5
23994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23995   (exit $ac_status); } &&
23996          { ac_try='test -z "$ac_cxx_werror_flag"
23997                          || test ! -s conftest.err'
23998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23999   (eval $ac_try) 2>&5
24000   ac_status=$?
24001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24002   (exit $ac_status); }; } &&
24003          { ac_try='test -s conftest.$ac_objext'
24004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24005   (eval $ac_try) 2>&5
24006   ac_status=$?
24007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24008   (exit $ac_status); }; }; then
24009   glibcxx_cv_func_finitel_use=yes
24010 else
24011   echo "$as_me: failed program was:" >&5
24012 sed 's/^/| /' conftest.$ac_ext >&5
24013
24014 glibcxx_cv_func_finitel_use=no
24015 fi
24016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24017       ac_ext=c
24018 ac_cpp='$CPP $CPPFLAGS'
24019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24022
24023
24024 fi
24025
24026   fi
24027   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
24028 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
24029
24030   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
24031
24032 for ac_func in finitel
24033 do
24034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24035 echo "$as_me:$LINENO: checking for $ac_func" >&5
24036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24037 if eval "test \"\${$as_ac_var+set}\" = set"; then
24038   echo $ECHO_N "(cached) $ECHO_C" >&6
24039 else
24040   if test x$gcc_no_link = xyes; then
24041   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24043    { (exit 1); exit 1; }; }
24044 fi
24045 cat >conftest.$ac_ext <<_ACEOF
24046 /* confdefs.h.  */
24047 _ACEOF
24048 cat confdefs.h >>conftest.$ac_ext
24049 cat >>conftest.$ac_ext <<_ACEOF
24050 /* end confdefs.h.  */
24051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24052    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24053 #define $ac_func innocuous_$ac_func
24054
24055 /* System header to define __stub macros and hopefully few prototypes,
24056     which can conflict with char $ac_func (); below.
24057     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24058     <limits.h> exists even on freestanding compilers.  */
24059
24060 #ifdef __STDC__
24061 # include <limits.h>
24062 #else
24063 # include <assert.h>
24064 #endif
24065
24066 #undef $ac_func
24067
24068 /* Override any gcc2 internal prototype to avoid an error.  */
24069 #ifdef __cplusplus
24070 extern "C"
24071 {
24072 #endif
24073 /* We use char because int might match the return type of a gcc2
24074    builtin and then its argument prototype would still apply.  */
24075 char $ac_func ();
24076 /* The GNU C library defines this for functions which it implements
24077     to always fail with ENOSYS.  Some functions are actually named
24078     something starting with __ and the normal name is an alias.  */
24079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24080 choke me
24081 #else
24082 char (*f) () = $ac_func;
24083 #endif
24084 #ifdef __cplusplus
24085 }
24086 #endif
24087
24088 int
24089 main ()
24090 {
24091 return f != $ac_func;
24092   ;
24093   return 0;
24094 }
24095 _ACEOF
24096 rm -f conftest.$ac_objext conftest$ac_exeext
24097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24098   (eval $ac_link) 2>conftest.er1
24099   ac_status=$?
24100   grep -v '^ *+' conftest.er1 >conftest.err
24101   rm -f conftest.er1
24102   cat conftest.err >&5
24103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24104   (exit $ac_status); } &&
24105          { ac_try='test -z "$ac_c_werror_flag"
24106                          || test ! -s conftest.err'
24107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24108   (eval $ac_try) 2>&5
24109   ac_status=$?
24110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24111   (exit $ac_status); }; } &&
24112          { ac_try='test -s conftest$ac_exeext'
24113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24114   (eval $ac_try) 2>&5
24115   ac_status=$?
24116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24117   (exit $ac_status); }; }; then
24118   eval "$as_ac_var=yes"
24119 else
24120   echo "$as_me: failed program was:" >&5
24121 sed 's/^/| /' conftest.$ac_ext >&5
24122
24123 eval "$as_ac_var=no"
24124 fi
24125 rm -f conftest.err conftest.$ac_objext \
24126       conftest$ac_exeext conftest.$ac_ext
24127 fi
24128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24130 if test `eval echo '${'$as_ac_var'}'` = yes; then
24131   cat >>confdefs.h <<_ACEOF
24132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24133 _ACEOF
24134
24135 fi
24136 done
24137
24138   else
24139
24140   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
24141 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
24142   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
24143     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
24144   echo $ECHO_N "(cached) $ECHO_C" >&6
24145 else
24146
24147
24148
24149       ac_ext=cc
24150 ac_cpp='$CXXCPP $CPPFLAGS'
24151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24154
24155       cat >conftest.$ac_ext <<_ACEOF
24156 /* confdefs.h.  */
24157 _ACEOF
24158 cat confdefs.h >>conftest.$ac_ext
24159 cat >>conftest.$ac_ext <<_ACEOF
24160 /* end confdefs.h.  */
24161 #include <math.h>
24162                       #ifdef HAVE_IEEEFP_H
24163                       #include <ieeefp.h>
24164                       #endif
24165
24166 int
24167 main ()
24168 {
24169  _finitel(0);
24170   ;
24171   return 0;
24172 }
24173 _ACEOF
24174 rm -f conftest.$ac_objext
24175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24176   (eval $ac_compile) 2>conftest.er1
24177   ac_status=$?
24178   grep -v '^ *+' conftest.er1 >conftest.err
24179   rm -f conftest.er1
24180   cat conftest.err >&5
24181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24182   (exit $ac_status); } &&
24183          { ac_try='test -z "$ac_cxx_werror_flag"
24184                          || test ! -s conftest.err'
24185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24186   (eval $ac_try) 2>&5
24187   ac_status=$?
24188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24189   (exit $ac_status); }; } &&
24190          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
24196   glibcxx_cv_func__finitel_use=yes
24197 else
24198   echo "$as_me: failed program was:" >&5
24199 sed 's/^/| /' conftest.$ac_ext >&5
24200
24201 glibcxx_cv_func__finitel_use=no
24202 fi
24203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24204       ac_ext=c
24205 ac_cpp='$CPP $CPPFLAGS'
24206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24209
24210
24211 fi
24212
24213   fi
24214   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
24215 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
24216
24217     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
24218
24219 for ac_func in _finitel
24220 do
24221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24222 echo "$as_me:$LINENO: checking for $ac_func" >&5
24223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24224 if eval "test \"\${$as_ac_var+set}\" = set"; then
24225   echo $ECHO_N "(cached) $ECHO_C" >&6
24226 else
24227   if test x$gcc_no_link = xyes; then
24228   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24230    { (exit 1); exit 1; }; }
24231 fi
24232 cat >conftest.$ac_ext <<_ACEOF
24233 /* confdefs.h.  */
24234 _ACEOF
24235 cat confdefs.h >>conftest.$ac_ext
24236 cat >>conftest.$ac_ext <<_ACEOF
24237 /* end confdefs.h.  */
24238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24239    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24240 #define $ac_func innocuous_$ac_func
24241
24242 /* System header to define __stub macros and hopefully few prototypes,
24243     which can conflict with char $ac_func (); below.
24244     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24245     <limits.h> exists even on freestanding compilers.  */
24246
24247 #ifdef __STDC__
24248 # include <limits.h>
24249 #else
24250 # include <assert.h>
24251 #endif
24252
24253 #undef $ac_func
24254
24255 /* Override any gcc2 internal prototype to avoid an error.  */
24256 #ifdef __cplusplus
24257 extern "C"
24258 {
24259 #endif
24260 /* We use char because int might match the return type of a gcc2
24261    builtin and then its argument prototype would still apply.  */
24262 char $ac_func ();
24263 /* The GNU C library defines this for functions which it implements
24264     to always fail with ENOSYS.  Some functions are actually named
24265     something starting with __ and the normal name is an alias.  */
24266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24267 choke me
24268 #else
24269 char (*f) () = $ac_func;
24270 #endif
24271 #ifdef __cplusplus
24272 }
24273 #endif
24274
24275 int
24276 main ()
24277 {
24278 return f != $ac_func;
24279   ;
24280   return 0;
24281 }
24282 _ACEOF
24283 rm -f conftest.$ac_objext conftest$ac_exeext
24284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24285   (eval $ac_link) 2>conftest.er1
24286   ac_status=$?
24287   grep -v '^ *+' conftest.er1 >conftest.err
24288   rm -f conftest.er1
24289   cat conftest.err >&5
24290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24291   (exit $ac_status); } &&
24292          { ac_try='test -z "$ac_c_werror_flag"
24293                          || test ! -s conftest.err'
24294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24295   (eval $ac_try) 2>&5
24296   ac_status=$?
24297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24298   (exit $ac_status); }; } &&
24299          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
24305   eval "$as_ac_var=yes"
24306 else
24307   echo "$as_me: failed program was:" >&5
24308 sed 's/^/| /' conftest.$ac_ext >&5
24309
24310 eval "$as_ac_var=no"
24311 fi
24312 rm -f conftest.err conftest.$ac_objext \
24313       conftest$ac_exeext conftest.$ac_ext
24314 fi
24315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24317 if test `eval echo '${'$as_ac_var'}'` = yes; then
24318   cat >>confdefs.h <<_ACEOF
24319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24320 _ACEOF
24321
24322 fi
24323 done
24324
24325     fi
24326   fi
24327
24328
24329
24330
24331   echo "$as_me:$LINENO: checking for _float trig functions" >&5
24332 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
24333   if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
24334   echo $ECHO_N "(cached) $ECHO_C" >&6
24335 else
24336
24337
24338
24339     ac_ext=cc
24340 ac_cpp='$CXXCPP $CPPFLAGS'
24341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24344
24345     cat >conftest.$ac_ext <<_ACEOF
24346 /* confdefs.h.  */
24347 _ACEOF
24348 cat confdefs.h >>conftest.$ac_ext
24349 cat >>conftest.$ac_ext <<_ACEOF
24350 /* end confdefs.h.  */
24351 #include <math.h>
24352 int
24353 main ()
24354 {
24355  `for x in _acosf _asinf _atanf \
24356                                           _cosf _sinf _tanf \
24357                                           _coshf _sinhf _tanhf; do echo "$x (0);"; done`
24358   ;
24359   return 0;
24360 }
24361 _ACEOF
24362 rm -f conftest.$ac_objext
24363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24364   (eval $ac_compile) 2>conftest.er1
24365   ac_status=$?
24366   grep -v '^ *+' conftest.er1 >conftest.err
24367   rm -f conftest.er1
24368   cat conftest.err >&5
24369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24370   (exit $ac_status); } &&
24371          { ac_try='test -z "$ac_cxx_werror_flag"
24372                          || test ! -s conftest.err'
24373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24374   (eval $ac_try) 2>&5
24375   ac_status=$?
24376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24377   (exit $ac_status); }; } &&
24378          { ac_try='test -s conftest.$ac_objext'
24379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24380   (eval $ac_try) 2>&5
24381   ac_status=$?
24382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24383   (exit $ac_status); }; }; then
24384   glibcxx_cv_func__float_trig_use=yes
24385 else
24386   echo "$as_me: failed program was:" >&5
24387 sed 's/^/| /' conftest.$ac_ext >&5
24388
24389 glibcxx_cv_func__float_trig_use=no
24390 fi
24391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24392     ac_ext=c
24393 ac_cpp='$CPP $CPPFLAGS'
24394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24397
24398 fi
24399
24400   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
24401 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
24402   if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
24403
24404
24405
24406
24407
24408
24409
24410
24411
24412 for ac_func in _acosf _asinf _atanf \
24413                                           _cosf _sinf _tanf \
24414                                           _coshf _sinhf _tanhf
24415 do
24416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24417 echo "$as_me:$LINENO: checking for $ac_func" >&5
24418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24419 if eval "test \"\${$as_ac_var+set}\" = set"; then
24420   echo $ECHO_N "(cached) $ECHO_C" >&6
24421 else
24422   if test x$gcc_no_link = xyes; then
24423   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24425    { (exit 1); exit 1; }; }
24426 fi
24427 cat >conftest.$ac_ext <<_ACEOF
24428 /* confdefs.h.  */
24429 _ACEOF
24430 cat confdefs.h >>conftest.$ac_ext
24431 cat >>conftest.$ac_ext <<_ACEOF
24432 /* end confdefs.h.  */
24433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24434    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24435 #define $ac_func innocuous_$ac_func
24436
24437 /* System header to define __stub macros and hopefully few prototypes,
24438     which can conflict with char $ac_func (); below.
24439     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24440     <limits.h> exists even on freestanding compilers.  */
24441
24442 #ifdef __STDC__
24443 # include <limits.h>
24444 #else
24445 # include <assert.h>
24446 #endif
24447
24448 #undef $ac_func
24449
24450 /* Override any gcc2 internal prototype to avoid an error.  */
24451 #ifdef __cplusplus
24452 extern "C"
24453 {
24454 #endif
24455 /* We use char because int might match the return type of a gcc2
24456    builtin and then its argument prototype would still apply.  */
24457 char $ac_func ();
24458 /* The GNU C library defines this for functions which it implements
24459     to always fail with ENOSYS.  Some functions are actually named
24460     something starting with __ and the normal name is an alias.  */
24461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24462 choke me
24463 #else
24464 char (*f) () = $ac_func;
24465 #endif
24466 #ifdef __cplusplus
24467 }
24468 #endif
24469
24470 int
24471 main ()
24472 {
24473 return f != $ac_func;
24474   ;
24475   return 0;
24476 }
24477 _ACEOF
24478 rm -f conftest.$ac_objext conftest$ac_exeext
24479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24480   (eval $ac_link) 2>conftest.er1
24481   ac_status=$?
24482   grep -v '^ *+' conftest.er1 >conftest.err
24483   rm -f conftest.er1
24484   cat conftest.err >&5
24485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24486   (exit $ac_status); } &&
24487          { ac_try='test -z "$ac_c_werror_flag"
24488                          || test ! -s conftest.err'
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); }; } &&
24494          { ac_try='test -s conftest$ac_exeext'
24495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24496   (eval $ac_try) 2>&5
24497   ac_status=$?
24498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24499   (exit $ac_status); }; }; then
24500   eval "$as_ac_var=yes"
24501 else
24502   echo "$as_me: failed program was:" >&5
24503 sed 's/^/| /' conftest.$ac_ext >&5
24504
24505 eval "$as_ac_var=no"
24506 fi
24507 rm -f conftest.err conftest.$ac_objext \
24508       conftest$ac_exeext conftest.$ac_ext
24509 fi
24510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24512 if test `eval echo '${'$as_ac_var'}'` = yes; then
24513   cat >>confdefs.h <<_ACEOF
24514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24515 _ACEOF
24516
24517 fi
24518 done
24519
24520   fi
24521
24522
24523   echo "$as_me:$LINENO: checking for _float round functions" >&5
24524 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
24525   if test "${glibcxx_cv_func__float_round_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 int
24545 main ()
24546 {
24547  `for x in _ceilf _floorf; do echo "$x (0);"; done`
24548   ;
24549   return 0;
24550 }
24551 _ACEOF
24552 rm -f conftest.$ac_objext
24553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24554   (eval $ac_compile) 2>conftest.er1
24555   ac_status=$?
24556   grep -v '^ *+' conftest.er1 >conftest.err
24557   rm -f conftest.er1
24558   cat conftest.err >&5
24559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24560   (exit $ac_status); } &&
24561          { ac_try='test -z "$ac_cxx_werror_flag"
24562                          || test ! -s conftest.err'
24563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24564   (eval $ac_try) 2>&5
24565   ac_status=$?
24566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24567   (exit $ac_status); }; } &&
24568          { ac_try='test -s conftest.$ac_objext'
24569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24570   (eval $ac_try) 2>&5
24571   ac_status=$?
24572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24573   (exit $ac_status); }; }; then
24574   glibcxx_cv_func__float_round_use=yes
24575 else
24576   echo "$as_me: failed program was:" >&5
24577 sed 's/^/| /' conftest.$ac_ext >&5
24578
24579 glibcxx_cv_func__float_round_use=no
24580 fi
24581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24582     ac_ext=c
24583 ac_cpp='$CPP $CPPFLAGS'
24584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24587
24588 fi
24589
24590   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
24591 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
24592   if test x$glibcxx_cv_func__float_round_use = x"yes"; then
24593
24594
24595 for ac_func in _ceilf _floorf
24596 do
24597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24598 echo "$as_me:$LINENO: checking for $ac_func" >&5
24599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24600 if eval "test \"\${$as_ac_var+set}\" = set"; then
24601   echo $ECHO_N "(cached) $ECHO_C" >&6
24602 else
24603   if test x$gcc_no_link = xyes; then
24604   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24606    { (exit 1); exit 1; }; }
24607 fi
24608 cat >conftest.$ac_ext <<_ACEOF
24609 /* confdefs.h.  */
24610 _ACEOF
24611 cat confdefs.h >>conftest.$ac_ext
24612 cat >>conftest.$ac_ext <<_ACEOF
24613 /* end confdefs.h.  */
24614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24615    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24616 #define $ac_func innocuous_$ac_func
24617
24618 /* System header to define __stub macros and hopefully few prototypes,
24619     which can conflict with char $ac_func (); below.
24620     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24621     <limits.h> exists even on freestanding compilers.  */
24622
24623 #ifdef __STDC__
24624 # include <limits.h>
24625 #else
24626 # include <assert.h>
24627 #endif
24628
24629 #undef $ac_func
24630
24631 /* Override any gcc2 internal prototype to avoid an error.  */
24632 #ifdef __cplusplus
24633 extern "C"
24634 {
24635 #endif
24636 /* We use char because int might match the return type of a gcc2
24637    builtin and then its argument prototype would still apply.  */
24638 char $ac_func ();
24639 /* The GNU C library defines this for functions which it implements
24640     to always fail with ENOSYS.  Some functions are actually named
24641     something starting with __ and the normal name is an alias.  */
24642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24643 choke me
24644 #else
24645 char (*f) () = $ac_func;
24646 #endif
24647 #ifdef __cplusplus
24648 }
24649 #endif
24650
24651 int
24652 main ()
24653 {
24654 return f != $ac_func;
24655   ;
24656   return 0;
24657 }
24658 _ACEOF
24659 rm -f conftest.$ac_objext conftest$ac_exeext
24660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24661   (eval $ac_link) 2>conftest.er1
24662   ac_status=$?
24663   grep -v '^ *+' conftest.er1 >conftest.err
24664   rm -f conftest.er1
24665   cat conftest.err >&5
24666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24667   (exit $ac_status); } &&
24668          { ac_try='test -z "$ac_c_werror_flag"
24669                          || test ! -s conftest.err'
24670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24671   (eval $ac_try) 2>&5
24672   ac_status=$?
24673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24674   (exit $ac_status); }; } &&
24675          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
24681   eval "$as_ac_var=yes"
24682 else
24683   echo "$as_me: failed program was:" >&5
24684 sed 's/^/| /' conftest.$ac_ext >&5
24685
24686 eval "$as_ac_var=no"
24687 fi
24688 rm -f conftest.err conftest.$ac_objext \
24689       conftest$ac_exeext conftest.$ac_ext
24690 fi
24691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24693 if test `eval echo '${'$as_ac_var'}'` = yes; then
24694   cat >>confdefs.h <<_ACEOF
24695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24696 _ACEOF
24697
24698 fi
24699 done
24700
24701   fi
24702
24703
24704
24705   echo "$as_me:$LINENO: checking for _long double trig functions" >&5
24706 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
24707   if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
24708   echo $ECHO_N "(cached) $ECHO_C" >&6
24709 else
24710
24711
24712
24713     ac_ext=cc
24714 ac_cpp='$CXXCPP $CPPFLAGS'
24715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24718
24719     cat >conftest.$ac_ext <<_ACEOF
24720 /* confdefs.h.  */
24721 _ACEOF
24722 cat confdefs.h >>conftest.$ac_ext
24723 cat >>conftest.$ac_ext <<_ACEOF
24724 /* end confdefs.h.  */
24725 #include <math.h>
24726 int
24727 main ()
24728 {
24729  `for x in _acosl _asinl _atanl \
24730                                           _cosl _sinl _tanl \
24731                                           _coshl _sinhl _tanhl; do echo "$x (0);"; done`
24732   ;
24733   return 0;
24734 }
24735 _ACEOF
24736 rm -f conftest.$ac_objext
24737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24738   (eval $ac_compile) 2>conftest.er1
24739   ac_status=$?
24740   grep -v '^ *+' conftest.er1 >conftest.err
24741   rm -f conftest.er1
24742   cat conftest.err >&5
24743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24744   (exit $ac_status); } &&
24745          { ac_try='test -z "$ac_cxx_werror_flag"
24746                          || test ! -s conftest.err'
24747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24748   (eval $ac_try) 2>&5
24749   ac_status=$?
24750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24751   (exit $ac_status); }; } &&
24752          { ac_try='test -s conftest.$ac_objext'
24753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24754   (eval $ac_try) 2>&5
24755   ac_status=$?
24756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24757   (exit $ac_status); }; }; then
24758   glibcxx_cv_func__long_double_trig_use=yes
24759 else
24760   echo "$as_me: failed program was:" >&5
24761 sed 's/^/| /' conftest.$ac_ext >&5
24762
24763 glibcxx_cv_func__long_double_trig_use=no
24764 fi
24765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24766     ac_ext=c
24767 ac_cpp='$CPP $CPPFLAGS'
24768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24771
24772 fi
24773
24774   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
24775 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
24776   if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24777
24778
24779
24780
24781
24782
24783
24784
24785
24786 for ac_func in _acosl _asinl _atanl \
24787                                           _cosl _sinl _tanl \
24788                                           _coshl _sinhl _tanhl
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
24896
24897   echo "$as_me:$LINENO: checking for _long double round functions" >&5
24898 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
24899   if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
24900   echo $ECHO_N "(cached) $ECHO_C" >&6
24901 else
24902
24903
24904
24905     ac_ext=cc
24906 ac_cpp='$CXXCPP $CPPFLAGS'
24907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24910
24911     cat >conftest.$ac_ext <<_ACEOF
24912 /* confdefs.h.  */
24913 _ACEOF
24914 cat confdefs.h >>conftest.$ac_ext
24915 cat >>conftest.$ac_ext <<_ACEOF
24916 /* end confdefs.h.  */
24917 #include <math.h>
24918 int
24919 main ()
24920 {
24921  `for x in _ceill _floorl; do echo "$x (0);"; done`
24922   ;
24923   return 0;
24924 }
24925 _ACEOF
24926 rm -f conftest.$ac_objext
24927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24928   (eval $ac_compile) 2>conftest.er1
24929   ac_status=$?
24930   grep -v '^ *+' conftest.er1 >conftest.err
24931   rm -f conftest.er1
24932   cat conftest.err >&5
24933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24934   (exit $ac_status); } &&
24935          { ac_try='test -z "$ac_cxx_werror_flag"
24936                          || test ! -s conftest.err'
24937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24938   (eval $ac_try) 2>&5
24939   ac_status=$?
24940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24941   (exit $ac_status); }; } &&
24942          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
24948   glibcxx_cv_func__long_double_round_use=yes
24949 else
24950   echo "$as_me: failed program was:" >&5
24951 sed 's/^/| /' conftest.$ac_ext >&5
24952
24953 glibcxx_cv_func__long_double_round_use=no
24954 fi
24955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24956     ac_ext=c
24957 ac_cpp='$CPP $CPPFLAGS'
24958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24961
24962 fi
24963
24964   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
24965 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
24966   if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24967
24968
24969 for ac_func in _ceill _floorl
24970 do
24971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24972 echo "$as_me:$LINENO: checking for $ac_func" >&5
24973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24974 if eval "test \"\${$as_ac_var+set}\" = set"; then
24975   echo $ECHO_N "(cached) $ECHO_C" >&6
24976 else
24977   if test x$gcc_no_link = xyes; then
24978   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24980    { (exit 1); exit 1; }; }
24981 fi
24982 cat >conftest.$ac_ext <<_ACEOF
24983 /* confdefs.h.  */
24984 _ACEOF
24985 cat confdefs.h >>conftest.$ac_ext
24986 cat >>conftest.$ac_ext <<_ACEOF
24987 /* end confdefs.h.  */
24988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24989    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24990 #define $ac_func innocuous_$ac_func
24991
24992 /* System header to define __stub macros and hopefully few prototypes,
24993     which can conflict with char $ac_func (); below.
24994     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24995     <limits.h> exists even on freestanding compilers.  */
24996
24997 #ifdef __STDC__
24998 # include <limits.h>
24999 #else
25000 # include <assert.h>
25001 #endif
25002
25003 #undef $ac_func
25004
25005 /* Override any gcc2 internal prototype to avoid an error.  */
25006 #ifdef __cplusplus
25007 extern "C"
25008 {
25009 #endif
25010 /* We use char because int might match the return type of a gcc2
25011    builtin and then its argument prototype would still apply.  */
25012 char $ac_func ();
25013 /* The GNU C library defines this for functions which it implements
25014     to always fail with ENOSYS.  Some functions are actually named
25015     something starting with __ and the normal name is an alias.  */
25016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25017 choke me
25018 #else
25019 char (*f) () = $ac_func;
25020 #endif
25021 #ifdef __cplusplus
25022 }
25023 #endif
25024
25025 int
25026 main ()
25027 {
25028 return f != $ac_func;
25029   ;
25030   return 0;
25031 }
25032 _ACEOF
25033 rm -f conftest.$ac_objext conftest$ac_exeext
25034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25035   (eval $ac_link) 2>conftest.er1
25036   ac_status=$?
25037   grep -v '^ *+' conftest.er1 >conftest.err
25038   rm -f conftest.er1
25039   cat conftest.err >&5
25040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25041   (exit $ac_status); } &&
25042          { ac_try='test -z "$ac_c_werror_flag"
25043                          || test ! -s conftest.err'
25044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25045   (eval $ac_try) 2>&5
25046   ac_status=$?
25047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25048   (exit $ac_status); }; } &&
25049          { ac_try='test -s conftest$ac_exeext'
25050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25051   (eval $ac_try) 2>&5
25052   ac_status=$?
25053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25054   (exit $ac_status); }; }; then
25055   eval "$as_ac_var=yes"
25056 else
25057   echo "$as_me: failed program was:" >&5
25058 sed 's/^/| /' conftest.$ac_ext >&5
25059
25060 eval "$as_ac_var=no"
25061 fi
25062 rm -f conftest.err conftest.$ac_objext \
25063       conftest$ac_exeext conftest.$ac_ext
25064 fi
25065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25067 if test `eval echo '${'$as_ac_var'}'` = yes; then
25068   cat >>confdefs.h <<_ACEOF
25069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25070 _ACEOF
25071
25072 fi
25073 done
25074
25075   fi
25076
25077
25078   LIBS="$ac_save_LIBS"
25079   CXXFLAGS="$ac_save_CXXFLAGS"
25080
25081
25082
25083   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25084 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25085   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25086     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25087   echo $ECHO_N "(cached) $ECHO_C" >&6
25088 else
25089
25090
25091
25092       ac_ext=cc
25093 ac_cpp='$CXXCPP $CPPFLAGS'
25094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25097
25098       cat >conftest.$ac_ext <<_ACEOF
25099 /* confdefs.h.  */
25100 _ACEOF
25101 cat confdefs.h >>conftest.$ac_ext
25102 cat >>conftest.$ac_ext <<_ACEOF
25103 /* end confdefs.h.  */
25104 #include <math.h>
25105 int
25106 main ()
25107 {
25108  __builtin_abs(0);
25109   ;
25110   return 0;
25111 }
25112 _ACEOF
25113 rm -f conftest.$ac_objext
25114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25115   (eval $ac_compile) 2>conftest.er1
25116   ac_status=$?
25117   grep -v '^ *+' conftest.er1 >conftest.err
25118   rm -f conftest.er1
25119   cat conftest.err >&5
25120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25121   (exit $ac_status); } &&
25122          { ac_try='test -z "$ac_cxx_werror_flag"
25123                          || test ! -s conftest.err'
25124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25125   (eval $ac_try) 2>&5
25126   ac_status=$?
25127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25128   (exit $ac_status); }; } &&
25129          { ac_try='test -s conftest.$ac_objext'
25130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25131   (eval $ac_try) 2>&5
25132   ac_status=$?
25133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25134   (exit $ac_status); }; }; then
25135   glibcxx_cv_func___builtin_abs_use=yes
25136 else
25137   echo "$as_me: failed program was:" >&5
25138 sed 's/^/| /' conftest.$ac_ext >&5
25139
25140 glibcxx_cv_func___builtin_abs_use=no
25141 fi
25142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25143       ac_ext=c
25144 ac_cpp='$CPP $CPPFLAGS'
25145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25148
25149
25150 fi
25151
25152   fi
25153   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25154 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25155   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25156     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25157 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25158     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25159       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25160   echo $ECHO_N "(cached) $ECHO_C" >&6
25161 else
25162
25163         if test x$gcc_no_link = xyes; then
25164   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25166    { (exit 1); exit 1; }; }
25167 fi
25168 cat >conftest.$ac_ext <<_ACEOF
25169 /* confdefs.h.  */
25170 _ACEOF
25171 cat confdefs.h >>conftest.$ac_ext
25172 cat >>conftest.$ac_ext <<_ACEOF
25173 /* end confdefs.h.  */
25174 #include <math.h>
25175 int
25176 main ()
25177 {
25178  __builtin_abs(0);
25179   ;
25180   return 0;
25181 }
25182 _ACEOF
25183 rm -f conftest.$ac_objext conftest$ac_exeext
25184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25185   (eval $ac_link) 2>conftest.er1
25186   ac_status=$?
25187   grep -v '^ *+' conftest.er1 >conftest.err
25188   rm -f conftest.er1
25189   cat conftest.err >&5
25190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25191   (exit $ac_status); } &&
25192          { ac_try='test -z "$ac_c_werror_flag"
25193                          || test ! -s conftest.err'
25194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25195   (eval $ac_try) 2>&5
25196   ac_status=$?
25197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25198   (exit $ac_status); }; } &&
25199          { ac_try='test -s conftest$ac_exeext'
25200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25201   (eval $ac_try) 2>&5
25202   ac_status=$?
25203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25204   (exit $ac_status); }; }; then
25205   glibcxx_cv_func___builtin_abs_link=yes
25206 else
25207   echo "$as_me: failed program was:" >&5
25208 sed 's/^/| /' conftest.$ac_ext >&5
25209
25210 glibcxx_cv_func___builtin_abs_link=no
25211 fi
25212 rm -f conftest.err conftest.$ac_objext \
25213       conftest$ac_exeext conftest.$ac_ext
25214
25215 fi
25216
25217     fi
25218     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25219 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25220     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25221       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25222
25223 cat >>confdefs.h <<_ACEOF
25224 #define ${ac_tr_func} 1
25225 _ACEOF
25226
25227     fi
25228   fi
25229
25230
25231   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25232 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25233   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25234     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25235   echo $ECHO_N "(cached) $ECHO_C" >&6
25236 else
25237
25238
25239
25240       ac_ext=cc
25241 ac_cpp='$CXXCPP $CPPFLAGS'
25242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25245
25246       cat >conftest.$ac_ext <<_ACEOF
25247 /* confdefs.h.  */
25248 _ACEOF
25249 cat confdefs.h >>conftest.$ac_ext
25250 cat >>conftest.$ac_ext <<_ACEOF
25251 /* end confdefs.h.  */
25252 #include <math.h>
25253 int
25254 main ()
25255 {
25256  __builtin_fabsf(0);
25257   ;
25258   return 0;
25259 }
25260 _ACEOF
25261 rm -f conftest.$ac_objext
25262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25263   (eval $ac_compile) 2>conftest.er1
25264   ac_status=$?
25265   grep -v '^ *+' conftest.er1 >conftest.err
25266   rm -f conftest.er1
25267   cat conftest.err >&5
25268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25269   (exit $ac_status); } &&
25270          { ac_try='test -z "$ac_cxx_werror_flag"
25271                          || test ! -s conftest.err'
25272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25273   (eval $ac_try) 2>&5
25274   ac_status=$?
25275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25276   (exit $ac_status); }; } &&
25277          { ac_try='test -s conftest.$ac_objext'
25278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25279   (eval $ac_try) 2>&5
25280   ac_status=$?
25281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25282   (exit $ac_status); }; }; then
25283   glibcxx_cv_func___builtin_fabsf_use=yes
25284 else
25285   echo "$as_me: failed program was:" >&5
25286 sed 's/^/| /' conftest.$ac_ext >&5
25287
25288 glibcxx_cv_func___builtin_fabsf_use=no
25289 fi
25290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25291       ac_ext=c
25292 ac_cpp='$CPP $CPPFLAGS'
25293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25296
25297
25298 fi
25299
25300   fi
25301   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25302 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25303   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25304     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25305 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25306     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25307       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25308   echo $ECHO_N "(cached) $ECHO_C" >&6
25309 else
25310
25311         if test x$gcc_no_link = xyes; then
25312   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25314    { (exit 1); exit 1; }; }
25315 fi
25316 cat >conftest.$ac_ext <<_ACEOF
25317 /* confdefs.h.  */
25318 _ACEOF
25319 cat confdefs.h >>conftest.$ac_ext
25320 cat >>conftest.$ac_ext <<_ACEOF
25321 /* end confdefs.h.  */
25322 #include <math.h>
25323 int
25324 main ()
25325 {
25326  __builtin_fabsf(0);
25327   ;
25328   return 0;
25329 }
25330 _ACEOF
25331 rm -f conftest.$ac_objext conftest$ac_exeext
25332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25333   (eval $ac_link) 2>conftest.er1
25334   ac_status=$?
25335   grep -v '^ *+' conftest.er1 >conftest.err
25336   rm -f conftest.er1
25337   cat conftest.err >&5
25338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25339   (exit $ac_status); } &&
25340          { ac_try='test -z "$ac_c_werror_flag"
25341                          || test ! -s conftest.err'
25342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25343   (eval $ac_try) 2>&5
25344   ac_status=$?
25345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25346   (exit $ac_status); }; } &&
25347          { ac_try='test -s conftest$ac_exeext'
25348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25349   (eval $ac_try) 2>&5
25350   ac_status=$?
25351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25352   (exit $ac_status); }; }; then
25353   glibcxx_cv_func___builtin_fabsf_link=yes
25354 else
25355   echo "$as_me: failed program was:" >&5
25356 sed 's/^/| /' conftest.$ac_ext >&5
25357
25358 glibcxx_cv_func___builtin_fabsf_link=no
25359 fi
25360 rm -f conftest.err conftest.$ac_objext \
25361       conftest$ac_exeext conftest.$ac_ext
25362
25363 fi
25364
25365     fi
25366     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25367 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25368     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25369       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25370
25371 cat >>confdefs.h <<_ACEOF
25372 #define ${ac_tr_func} 1
25373 _ACEOF
25374
25375     fi
25376   fi
25377
25378
25379   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25380 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25381   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25382     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25383   echo $ECHO_N "(cached) $ECHO_C" >&6
25384 else
25385
25386
25387
25388       ac_ext=cc
25389 ac_cpp='$CXXCPP $CPPFLAGS'
25390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25393
25394       cat >conftest.$ac_ext <<_ACEOF
25395 /* confdefs.h.  */
25396 _ACEOF
25397 cat confdefs.h >>conftest.$ac_ext
25398 cat >>conftest.$ac_ext <<_ACEOF
25399 /* end confdefs.h.  */
25400 #include <math.h>
25401 int
25402 main ()
25403 {
25404  __builtin_fabs(0);
25405   ;
25406   return 0;
25407 }
25408 _ACEOF
25409 rm -f conftest.$ac_objext
25410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25411   (eval $ac_compile) 2>conftest.er1
25412   ac_status=$?
25413   grep -v '^ *+' conftest.er1 >conftest.err
25414   rm -f conftest.er1
25415   cat conftest.err >&5
25416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25417   (exit $ac_status); } &&
25418          { ac_try='test -z "$ac_cxx_werror_flag"
25419                          || test ! -s conftest.err'
25420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25421   (eval $ac_try) 2>&5
25422   ac_status=$?
25423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25424   (exit $ac_status); }; } &&
25425          { ac_try='test -s conftest.$ac_objext'
25426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25427   (eval $ac_try) 2>&5
25428   ac_status=$?
25429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25430   (exit $ac_status); }; }; then
25431   glibcxx_cv_func___builtin_fabs_use=yes
25432 else
25433   echo "$as_me: failed program was:" >&5
25434 sed 's/^/| /' conftest.$ac_ext >&5
25435
25436 glibcxx_cv_func___builtin_fabs_use=no
25437 fi
25438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25439       ac_ext=c
25440 ac_cpp='$CPP $CPPFLAGS'
25441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25444
25445
25446 fi
25447
25448   fi
25449   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
25450 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
25451   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
25452     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
25453 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
25454     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
25455       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
25456   echo $ECHO_N "(cached) $ECHO_C" >&6
25457 else
25458
25459         if test x$gcc_no_link = xyes; then
25460   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25462    { (exit 1); exit 1; }; }
25463 fi
25464 cat >conftest.$ac_ext <<_ACEOF
25465 /* confdefs.h.  */
25466 _ACEOF
25467 cat confdefs.h >>conftest.$ac_ext
25468 cat >>conftest.$ac_ext <<_ACEOF
25469 /* end confdefs.h.  */
25470 #include <math.h>
25471 int
25472 main ()
25473 {
25474  __builtin_fabs(0);
25475   ;
25476   return 0;
25477 }
25478 _ACEOF
25479 rm -f conftest.$ac_objext conftest$ac_exeext
25480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25481   (eval $ac_link) 2>conftest.er1
25482   ac_status=$?
25483   grep -v '^ *+' conftest.er1 >conftest.err
25484   rm -f conftest.er1
25485   cat conftest.err >&5
25486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25487   (exit $ac_status); } &&
25488          { ac_try='test -z "$ac_c_werror_flag"
25489                          || test ! -s conftest.err'
25490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25491   (eval $ac_try) 2>&5
25492   ac_status=$?
25493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25494   (exit $ac_status); }; } &&
25495          { ac_try='test -s conftest$ac_exeext'
25496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25497   (eval $ac_try) 2>&5
25498   ac_status=$?
25499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25500   (exit $ac_status); }; }; then
25501   glibcxx_cv_func___builtin_fabs_link=yes
25502 else
25503   echo "$as_me: failed program was:" >&5
25504 sed 's/^/| /' conftest.$ac_ext >&5
25505
25506 glibcxx_cv_func___builtin_fabs_link=no
25507 fi
25508 rm -f conftest.err conftest.$ac_objext \
25509       conftest$ac_exeext conftest.$ac_ext
25510
25511 fi
25512
25513     fi
25514     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
25515 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
25516     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
25517       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25518
25519 cat >>confdefs.h <<_ACEOF
25520 #define ${ac_tr_func} 1
25521 _ACEOF
25522
25523     fi
25524   fi
25525
25526
25527   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
25528 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
25529   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
25530     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
25531   echo $ECHO_N "(cached) $ECHO_C" >&6
25532 else
25533
25534
25535
25536       ac_ext=cc
25537 ac_cpp='$CXXCPP $CPPFLAGS'
25538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25541
25542       cat >conftest.$ac_ext <<_ACEOF
25543 /* confdefs.h.  */
25544 _ACEOF
25545 cat confdefs.h >>conftest.$ac_ext
25546 cat >>conftest.$ac_ext <<_ACEOF
25547 /* end confdefs.h.  */
25548 #include <math.h>
25549 int
25550 main ()
25551 {
25552  __builtin_fabsl(0);
25553   ;
25554   return 0;
25555 }
25556 _ACEOF
25557 rm -f conftest.$ac_objext
25558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25559   (eval $ac_compile) 2>conftest.er1
25560   ac_status=$?
25561   grep -v '^ *+' conftest.er1 >conftest.err
25562   rm -f conftest.er1
25563   cat conftest.err >&5
25564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25565   (exit $ac_status); } &&
25566          { ac_try='test -z "$ac_cxx_werror_flag"
25567                          || test ! -s conftest.err'
25568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25569   (eval $ac_try) 2>&5
25570   ac_status=$?
25571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25572   (exit $ac_status); }; } &&
25573          { ac_try='test -s conftest.$ac_objext'
25574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25575   (eval $ac_try) 2>&5
25576   ac_status=$?
25577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25578   (exit $ac_status); }; }; then
25579   glibcxx_cv_func___builtin_fabsl_use=yes
25580 else
25581   echo "$as_me: failed program was:" >&5
25582 sed 's/^/| /' conftest.$ac_ext >&5
25583
25584 glibcxx_cv_func___builtin_fabsl_use=no
25585 fi
25586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25587       ac_ext=c
25588 ac_cpp='$CPP $CPPFLAGS'
25589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25592
25593
25594 fi
25595
25596   fi
25597   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
25598 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
25599   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
25600     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
25601 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
25602     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
25603       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
25604   echo $ECHO_N "(cached) $ECHO_C" >&6
25605 else
25606
25607         if test x$gcc_no_link = xyes; then
25608   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25610    { (exit 1); exit 1; }; }
25611 fi
25612 cat >conftest.$ac_ext <<_ACEOF
25613 /* confdefs.h.  */
25614 _ACEOF
25615 cat confdefs.h >>conftest.$ac_ext
25616 cat >>conftest.$ac_ext <<_ACEOF
25617 /* end confdefs.h.  */
25618 #include <math.h>
25619 int
25620 main ()
25621 {
25622  __builtin_fabsl(0);
25623   ;
25624   return 0;
25625 }
25626 _ACEOF
25627 rm -f conftest.$ac_objext conftest$ac_exeext
25628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25629   (eval $ac_link) 2>conftest.er1
25630   ac_status=$?
25631   grep -v '^ *+' conftest.er1 >conftest.err
25632   rm -f conftest.er1
25633   cat conftest.err >&5
25634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25635   (exit $ac_status); } &&
25636          { ac_try='test -z "$ac_c_werror_flag"
25637                          || test ! -s conftest.err'
25638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25639   (eval $ac_try) 2>&5
25640   ac_status=$?
25641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25642   (exit $ac_status); }; } &&
25643          { ac_try='test -s conftest$ac_exeext'
25644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25645   (eval $ac_try) 2>&5
25646   ac_status=$?
25647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25648   (exit $ac_status); }; }; then
25649   glibcxx_cv_func___builtin_fabsl_link=yes
25650 else
25651   echo "$as_me: failed program was:" >&5
25652 sed 's/^/| /' conftest.$ac_ext >&5
25653
25654 glibcxx_cv_func___builtin_fabsl_link=no
25655 fi
25656 rm -f conftest.err conftest.$ac_objext \
25657       conftest$ac_exeext conftest.$ac_ext
25658
25659 fi
25660
25661     fi
25662     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
25663 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
25664     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
25665       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25666
25667 cat >>confdefs.h <<_ACEOF
25668 #define ${ac_tr_func} 1
25669 _ACEOF
25670
25671     fi
25672   fi
25673
25674
25675   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
25676 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
25677   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
25678     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
25679   echo $ECHO_N "(cached) $ECHO_C" >&6
25680 else
25681
25682
25683
25684       ac_ext=cc
25685 ac_cpp='$CXXCPP $CPPFLAGS'
25686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25689
25690       cat >conftest.$ac_ext <<_ACEOF
25691 /* confdefs.h.  */
25692 _ACEOF
25693 cat confdefs.h >>conftest.$ac_ext
25694 cat >>conftest.$ac_ext <<_ACEOF
25695 /* end confdefs.h.  */
25696 #include <math.h>
25697 int
25698 main ()
25699 {
25700  __builtin_labs(0);
25701   ;
25702   return 0;
25703 }
25704 _ACEOF
25705 rm -f conftest.$ac_objext
25706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25707   (eval $ac_compile) 2>conftest.er1
25708   ac_status=$?
25709   grep -v '^ *+' conftest.er1 >conftest.err
25710   rm -f conftest.er1
25711   cat conftest.err >&5
25712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25713   (exit $ac_status); } &&
25714          { ac_try='test -z "$ac_cxx_werror_flag"
25715                          || test ! -s conftest.err'
25716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25717   (eval $ac_try) 2>&5
25718   ac_status=$?
25719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25720   (exit $ac_status); }; } &&
25721          { ac_try='test -s conftest.$ac_objext'
25722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25723   (eval $ac_try) 2>&5
25724   ac_status=$?
25725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25726   (exit $ac_status); }; }; then
25727   glibcxx_cv_func___builtin_labs_use=yes
25728 else
25729   echo "$as_me: failed program was:" >&5
25730 sed 's/^/| /' conftest.$ac_ext >&5
25731
25732 glibcxx_cv_func___builtin_labs_use=no
25733 fi
25734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25735       ac_ext=c
25736 ac_cpp='$CPP $CPPFLAGS'
25737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25740
25741
25742 fi
25743
25744   fi
25745   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
25746 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
25747   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
25748     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
25749 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
25750     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
25751       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
25752   echo $ECHO_N "(cached) $ECHO_C" >&6
25753 else
25754
25755         if test x$gcc_no_link = xyes; then
25756   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25758    { (exit 1); exit 1; }; }
25759 fi
25760 cat >conftest.$ac_ext <<_ACEOF
25761 /* confdefs.h.  */
25762 _ACEOF
25763 cat confdefs.h >>conftest.$ac_ext
25764 cat >>conftest.$ac_ext <<_ACEOF
25765 /* end confdefs.h.  */
25766 #include <math.h>
25767 int
25768 main ()
25769 {
25770  __builtin_labs(0);
25771   ;
25772   return 0;
25773 }
25774 _ACEOF
25775 rm -f conftest.$ac_objext conftest$ac_exeext
25776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25777   (eval $ac_link) 2>conftest.er1
25778   ac_status=$?
25779   grep -v '^ *+' conftest.er1 >conftest.err
25780   rm -f conftest.er1
25781   cat conftest.err >&5
25782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25783   (exit $ac_status); } &&
25784          { ac_try='test -z "$ac_c_werror_flag"
25785                          || test ! -s conftest.err'
25786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25787   (eval $ac_try) 2>&5
25788   ac_status=$?
25789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25790   (exit $ac_status); }; } &&
25791          { ac_try='test -s conftest$ac_exeext'
25792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25793   (eval $ac_try) 2>&5
25794   ac_status=$?
25795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25796   (exit $ac_status); }; }; then
25797   glibcxx_cv_func___builtin_labs_link=yes
25798 else
25799   echo "$as_me: failed program was:" >&5
25800 sed 's/^/| /' conftest.$ac_ext >&5
25801
25802 glibcxx_cv_func___builtin_labs_link=no
25803 fi
25804 rm -f conftest.err conftest.$ac_objext \
25805       conftest$ac_exeext conftest.$ac_ext
25806
25807 fi
25808
25809     fi
25810     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
25811 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
25812     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
25813       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25814
25815 cat >>confdefs.h <<_ACEOF
25816 #define ${ac_tr_func} 1
25817 _ACEOF
25818
25819     fi
25820   fi
25821
25822
25823
25824   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
25825 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
25826   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
25827     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
25828   echo $ECHO_N "(cached) $ECHO_C" >&6
25829 else
25830
25831
25832
25833       ac_ext=cc
25834 ac_cpp='$CXXCPP $CPPFLAGS'
25835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25838
25839       cat >conftest.$ac_ext <<_ACEOF
25840 /* confdefs.h.  */
25841 _ACEOF
25842 cat confdefs.h >>conftest.$ac_ext
25843 cat >>conftest.$ac_ext <<_ACEOF
25844 /* end confdefs.h.  */
25845 #include <math.h>
25846 int
25847 main ()
25848 {
25849  __builtin_sqrtf(0);
25850   ;
25851   return 0;
25852 }
25853 _ACEOF
25854 rm -f conftest.$ac_objext
25855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25856   (eval $ac_compile) 2>conftest.er1
25857   ac_status=$?
25858   grep -v '^ *+' conftest.er1 >conftest.err
25859   rm -f conftest.er1
25860   cat conftest.err >&5
25861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25862   (exit $ac_status); } &&
25863          { ac_try='test -z "$ac_cxx_werror_flag"
25864                          || test ! -s conftest.err'
25865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25866   (eval $ac_try) 2>&5
25867   ac_status=$?
25868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25869   (exit $ac_status); }; } &&
25870          { ac_try='test -s conftest.$ac_objext'
25871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25872   (eval $ac_try) 2>&5
25873   ac_status=$?
25874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25875   (exit $ac_status); }; }; then
25876   glibcxx_cv_func___builtin_sqrtf_use=yes
25877 else
25878   echo "$as_me: failed program was:" >&5
25879 sed 's/^/| /' conftest.$ac_ext >&5
25880
25881 glibcxx_cv_func___builtin_sqrtf_use=no
25882 fi
25883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25884       ac_ext=c
25885 ac_cpp='$CPP $CPPFLAGS'
25886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25889
25890
25891 fi
25892
25893   fi
25894   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
25895 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
25896   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
25897     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
25898 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
25899     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
25900       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
25901   echo $ECHO_N "(cached) $ECHO_C" >&6
25902 else
25903
25904         if test x$gcc_no_link = xyes; then
25905   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25907    { (exit 1); exit 1; }; }
25908 fi
25909 cat >conftest.$ac_ext <<_ACEOF
25910 /* confdefs.h.  */
25911 _ACEOF
25912 cat confdefs.h >>conftest.$ac_ext
25913 cat >>conftest.$ac_ext <<_ACEOF
25914 /* end confdefs.h.  */
25915 #include <math.h>
25916 int
25917 main ()
25918 {
25919  __builtin_sqrtf(0);
25920   ;
25921   return 0;
25922 }
25923 _ACEOF
25924 rm -f conftest.$ac_objext conftest$ac_exeext
25925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25926   (eval $ac_link) 2>conftest.er1
25927   ac_status=$?
25928   grep -v '^ *+' conftest.er1 >conftest.err
25929   rm -f conftest.er1
25930   cat conftest.err >&5
25931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25932   (exit $ac_status); } &&
25933          { ac_try='test -z "$ac_c_werror_flag"
25934                          || test ! -s conftest.err'
25935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25936   (eval $ac_try) 2>&5
25937   ac_status=$?
25938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25939   (exit $ac_status); }; } &&
25940          { ac_try='test -s conftest$ac_exeext'
25941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25942   (eval $ac_try) 2>&5
25943   ac_status=$?
25944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25945   (exit $ac_status); }; }; then
25946   glibcxx_cv_func___builtin_sqrtf_link=yes
25947 else
25948   echo "$as_me: failed program was:" >&5
25949 sed 's/^/| /' conftest.$ac_ext >&5
25950
25951 glibcxx_cv_func___builtin_sqrtf_link=no
25952 fi
25953 rm -f conftest.err conftest.$ac_objext \
25954       conftest$ac_exeext conftest.$ac_ext
25955
25956 fi
25957
25958     fi
25959     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
25960 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
25961     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
25962       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25963
25964 cat >>confdefs.h <<_ACEOF
25965 #define ${ac_tr_func} 1
25966 _ACEOF
25967
25968     fi
25969   fi
25970
25971
25972   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
25973 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
25974   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
25975     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
25976   echo $ECHO_N "(cached) $ECHO_C" >&6
25977 else
25978
25979
25980
25981       ac_ext=cc
25982 ac_cpp='$CXXCPP $CPPFLAGS'
25983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25986
25987       cat >conftest.$ac_ext <<_ACEOF
25988 /* confdefs.h.  */
25989 _ACEOF
25990 cat confdefs.h >>conftest.$ac_ext
25991 cat >>conftest.$ac_ext <<_ACEOF
25992 /* end confdefs.h.  */
25993 #include <math.h>
25994 int
25995 main ()
25996 {
25997  __builtin_sqrt(0);
25998   ;
25999   return 0;
26000 }
26001 _ACEOF
26002 rm -f conftest.$ac_objext
26003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26004   (eval $ac_compile) 2>conftest.er1
26005   ac_status=$?
26006   grep -v '^ *+' conftest.er1 >conftest.err
26007   rm -f conftest.er1
26008   cat conftest.err >&5
26009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26010   (exit $ac_status); } &&
26011          { ac_try='test -z "$ac_cxx_werror_flag"
26012                          || test ! -s conftest.err'
26013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26014   (eval $ac_try) 2>&5
26015   ac_status=$?
26016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26017   (exit $ac_status); }; } &&
26018          { ac_try='test -s conftest.$ac_objext'
26019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26020   (eval $ac_try) 2>&5
26021   ac_status=$?
26022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26023   (exit $ac_status); }; }; then
26024   glibcxx_cv_func___builtin_sqrt_use=yes
26025 else
26026   echo "$as_me: failed program was:" >&5
26027 sed 's/^/| /' conftest.$ac_ext >&5
26028
26029 glibcxx_cv_func___builtin_sqrt_use=no
26030 fi
26031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26032       ac_ext=c
26033 ac_cpp='$CPP $CPPFLAGS'
26034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26037
26038
26039 fi
26040
26041   fi
26042   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26043 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26044   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26045     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26046 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26047     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26048       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26049   echo $ECHO_N "(cached) $ECHO_C" >&6
26050 else
26051
26052         if test x$gcc_no_link = xyes; then
26053   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26055    { (exit 1); exit 1; }; }
26056 fi
26057 cat >conftest.$ac_ext <<_ACEOF
26058 /* confdefs.h.  */
26059 _ACEOF
26060 cat confdefs.h >>conftest.$ac_ext
26061 cat >>conftest.$ac_ext <<_ACEOF
26062 /* end confdefs.h.  */
26063 #include <math.h>
26064 int
26065 main ()
26066 {
26067  __builtin_sqrt(0);
26068   ;
26069   return 0;
26070 }
26071 _ACEOF
26072 rm -f conftest.$ac_objext conftest$ac_exeext
26073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26074   (eval $ac_link) 2>conftest.er1
26075   ac_status=$?
26076   grep -v '^ *+' conftest.er1 >conftest.err
26077   rm -f conftest.er1
26078   cat conftest.err >&5
26079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26080   (exit $ac_status); } &&
26081          { ac_try='test -z "$ac_c_werror_flag"
26082                          || test ! -s conftest.err'
26083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26084   (eval $ac_try) 2>&5
26085   ac_status=$?
26086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26087   (exit $ac_status); }; } &&
26088          { ac_try='test -s conftest$ac_exeext'
26089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26090   (eval $ac_try) 2>&5
26091   ac_status=$?
26092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26093   (exit $ac_status); }; }; then
26094   glibcxx_cv_func___builtin_sqrt_link=yes
26095 else
26096   echo "$as_me: failed program was:" >&5
26097 sed 's/^/| /' conftest.$ac_ext >&5
26098
26099 glibcxx_cv_func___builtin_sqrt_link=no
26100 fi
26101 rm -f conftest.err conftest.$ac_objext \
26102       conftest$ac_exeext conftest.$ac_ext
26103
26104 fi
26105
26106     fi
26107     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26108 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26109     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26110       ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26111
26112 cat >>confdefs.h <<_ACEOF
26113 #define ${ac_tr_func} 1
26114 _ACEOF
26115
26116     fi
26117   fi
26118
26119
26120   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26121 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26122   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26123     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26124   echo $ECHO_N "(cached) $ECHO_C" >&6
26125 else
26126
26127
26128
26129       ac_ext=cc
26130 ac_cpp='$CXXCPP $CPPFLAGS'
26131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26134
26135       cat >conftest.$ac_ext <<_ACEOF
26136 /* confdefs.h.  */
26137 _ACEOF
26138 cat confdefs.h >>conftest.$ac_ext
26139 cat >>conftest.$ac_ext <<_ACEOF
26140 /* end confdefs.h.  */
26141 #include <math.h>
26142 int
26143 main ()
26144 {
26145  __builtin_sqrtl(0);
26146   ;
26147   return 0;
26148 }
26149 _ACEOF
26150 rm -f conftest.$ac_objext
26151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26152   (eval $ac_compile) 2>conftest.er1
26153   ac_status=$?
26154   grep -v '^ *+' conftest.er1 >conftest.err
26155   rm -f conftest.er1
26156   cat conftest.err >&5
26157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26158   (exit $ac_status); } &&
26159          { ac_try='test -z "$ac_cxx_werror_flag"
26160                          || test ! -s conftest.err'
26161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26162   (eval $ac_try) 2>&5
26163   ac_status=$?
26164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26165   (exit $ac_status); }; } &&
26166          { ac_try='test -s conftest.$ac_objext'
26167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26168   (eval $ac_try) 2>&5
26169   ac_status=$?
26170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26171   (exit $ac_status); }; }; then
26172   glibcxx_cv_func___builtin_sqrtl_use=yes
26173 else
26174   echo "$as_me: failed program was:" >&5
26175 sed 's/^/| /' conftest.$ac_ext >&5
26176
26177 glibcxx_cv_func___builtin_sqrtl_use=no
26178 fi
26179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26180       ac_ext=c
26181 ac_cpp='$CPP $CPPFLAGS'
26182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26185
26186
26187 fi
26188
26189   fi
26190   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26191 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26192   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26193     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26194 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26195     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26196       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26197   echo $ECHO_N "(cached) $ECHO_C" >&6
26198 else
26199
26200         if test x$gcc_no_link = xyes; then
26201   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26203    { (exit 1); exit 1; }; }
26204 fi
26205 cat >conftest.$ac_ext <<_ACEOF
26206 /* confdefs.h.  */
26207 _ACEOF
26208 cat confdefs.h >>conftest.$ac_ext
26209 cat >>conftest.$ac_ext <<_ACEOF
26210 /* end confdefs.h.  */
26211 #include <math.h>
26212 int
26213 main ()
26214 {
26215  __builtin_sqrtl(0);
26216   ;
26217   return 0;
26218 }
26219 _ACEOF
26220 rm -f conftest.$ac_objext conftest$ac_exeext
26221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26222   (eval $ac_link) 2>conftest.er1
26223   ac_status=$?
26224   grep -v '^ *+' conftest.er1 >conftest.err
26225   rm -f conftest.er1
26226   cat conftest.err >&5
26227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26228   (exit $ac_status); } &&
26229          { ac_try='test -z "$ac_c_werror_flag"
26230                          || test ! -s conftest.err'
26231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26232   (eval $ac_try) 2>&5
26233   ac_status=$?
26234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26235   (exit $ac_status); }; } &&
26236          { ac_try='test -s conftest$ac_exeext'
26237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26238   (eval $ac_try) 2>&5
26239   ac_status=$?
26240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26241   (exit $ac_status); }; }; then
26242   glibcxx_cv_func___builtin_sqrtl_link=yes
26243 else
26244   echo "$as_me: failed program was:" >&5
26245 sed 's/^/| /' conftest.$ac_ext >&5
26246
26247 glibcxx_cv_func___builtin_sqrtl_link=no
26248 fi
26249 rm -f conftest.err conftest.$ac_objext \
26250       conftest$ac_exeext conftest.$ac_ext
26251
26252 fi
26253
26254     fi
26255     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26256 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26257     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26258       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26259
26260 cat >>confdefs.h <<_ACEOF
26261 #define ${ac_tr_func} 1
26262 _ACEOF
26263
26264     fi
26265   fi
26266
26267
26268
26269   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26270 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26271   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26272     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26273   echo $ECHO_N "(cached) $ECHO_C" >&6
26274 else
26275
26276
26277
26278       ac_ext=cc
26279 ac_cpp='$CXXCPP $CPPFLAGS'
26280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26283
26284       cat >conftest.$ac_ext <<_ACEOF
26285 /* confdefs.h.  */
26286 _ACEOF
26287 cat confdefs.h >>conftest.$ac_ext
26288 cat >>conftest.$ac_ext <<_ACEOF
26289 /* end confdefs.h.  */
26290 #include <math.h>
26291 int
26292 main ()
26293 {
26294  __builtin_sinf(0);
26295   ;
26296   return 0;
26297 }
26298 _ACEOF
26299 rm -f conftest.$ac_objext
26300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26301   (eval $ac_compile) 2>conftest.er1
26302   ac_status=$?
26303   grep -v '^ *+' conftest.er1 >conftest.err
26304   rm -f conftest.er1
26305   cat conftest.err >&5
26306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26307   (exit $ac_status); } &&
26308          { ac_try='test -z "$ac_cxx_werror_flag"
26309                          || test ! -s conftest.err'
26310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26311   (eval $ac_try) 2>&5
26312   ac_status=$?
26313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26314   (exit $ac_status); }; } &&
26315          { ac_try='test -s conftest.$ac_objext'
26316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26317   (eval $ac_try) 2>&5
26318   ac_status=$?
26319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26320   (exit $ac_status); }; }; then
26321   glibcxx_cv_func___builtin_sinf_use=yes
26322 else
26323   echo "$as_me: failed program was:" >&5
26324 sed 's/^/| /' conftest.$ac_ext >&5
26325
26326 glibcxx_cv_func___builtin_sinf_use=no
26327 fi
26328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26329       ac_ext=c
26330 ac_cpp='$CPP $CPPFLAGS'
26331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26334
26335
26336 fi
26337
26338   fi
26339   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26340 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26341   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26342     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26343 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26344     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26345       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26346   echo $ECHO_N "(cached) $ECHO_C" >&6
26347 else
26348
26349         if test x$gcc_no_link = xyes; then
26350   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26352    { (exit 1); exit 1; }; }
26353 fi
26354 cat >conftest.$ac_ext <<_ACEOF
26355 /* confdefs.h.  */
26356 _ACEOF
26357 cat confdefs.h >>conftest.$ac_ext
26358 cat >>conftest.$ac_ext <<_ACEOF
26359 /* end confdefs.h.  */
26360 #include <math.h>
26361 int
26362 main ()
26363 {
26364  __builtin_sinf(0);
26365   ;
26366   return 0;
26367 }
26368 _ACEOF
26369 rm -f conftest.$ac_objext conftest$ac_exeext
26370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26371   (eval $ac_link) 2>conftest.er1
26372   ac_status=$?
26373   grep -v '^ *+' conftest.er1 >conftest.err
26374   rm -f conftest.er1
26375   cat conftest.err >&5
26376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26377   (exit $ac_status); } &&
26378          { ac_try='test -z "$ac_c_werror_flag"
26379                          || test ! -s conftest.err'
26380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26381   (eval $ac_try) 2>&5
26382   ac_status=$?
26383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26384   (exit $ac_status); }; } &&
26385          { ac_try='test -s conftest$ac_exeext'
26386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26387   (eval $ac_try) 2>&5
26388   ac_status=$?
26389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26390   (exit $ac_status); }; }; then
26391   glibcxx_cv_func___builtin_sinf_link=yes
26392 else
26393   echo "$as_me: failed program was:" >&5
26394 sed 's/^/| /' conftest.$ac_ext >&5
26395
26396 glibcxx_cv_func___builtin_sinf_link=no
26397 fi
26398 rm -f conftest.err conftest.$ac_objext \
26399       conftest$ac_exeext conftest.$ac_ext
26400
26401 fi
26402
26403     fi
26404     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
26405 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
26406     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
26407       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26408
26409 cat >>confdefs.h <<_ACEOF
26410 #define ${ac_tr_func} 1
26411 _ACEOF
26412
26413     fi
26414   fi
26415
26416
26417   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
26418 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
26419   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
26420     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
26421   echo $ECHO_N "(cached) $ECHO_C" >&6
26422 else
26423
26424
26425
26426       ac_ext=cc
26427 ac_cpp='$CXXCPP $CPPFLAGS'
26428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26431
26432       cat >conftest.$ac_ext <<_ACEOF
26433 /* confdefs.h.  */
26434 _ACEOF
26435 cat confdefs.h >>conftest.$ac_ext
26436 cat >>conftest.$ac_ext <<_ACEOF
26437 /* end confdefs.h.  */
26438 #include <math.h>
26439 int
26440 main ()
26441 {
26442  __builtin_sin(0);
26443   ;
26444   return 0;
26445 }
26446 _ACEOF
26447 rm -f conftest.$ac_objext
26448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26449   (eval $ac_compile) 2>conftest.er1
26450   ac_status=$?
26451   grep -v '^ *+' conftest.er1 >conftest.err
26452   rm -f conftest.er1
26453   cat conftest.err >&5
26454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26455   (exit $ac_status); } &&
26456          { ac_try='test -z "$ac_cxx_werror_flag"
26457                          || test ! -s conftest.err'
26458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26459   (eval $ac_try) 2>&5
26460   ac_status=$?
26461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26462   (exit $ac_status); }; } &&
26463          { ac_try='test -s conftest.$ac_objext'
26464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26465   (eval $ac_try) 2>&5
26466   ac_status=$?
26467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26468   (exit $ac_status); }; }; then
26469   glibcxx_cv_func___builtin_sin_use=yes
26470 else
26471   echo "$as_me: failed program was:" >&5
26472 sed 's/^/| /' conftest.$ac_ext >&5
26473
26474 glibcxx_cv_func___builtin_sin_use=no
26475 fi
26476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26477       ac_ext=c
26478 ac_cpp='$CPP $CPPFLAGS'
26479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26482
26483
26484 fi
26485
26486   fi
26487   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
26488 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
26489   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
26490     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
26491 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
26492     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
26493       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
26494   echo $ECHO_N "(cached) $ECHO_C" >&6
26495 else
26496
26497         if test x$gcc_no_link = xyes; then
26498   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26500    { (exit 1); exit 1; }; }
26501 fi
26502 cat >conftest.$ac_ext <<_ACEOF
26503 /* confdefs.h.  */
26504 _ACEOF
26505 cat confdefs.h >>conftest.$ac_ext
26506 cat >>conftest.$ac_ext <<_ACEOF
26507 /* end confdefs.h.  */
26508 #include <math.h>
26509 int
26510 main ()
26511 {
26512  __builtin_sin(0);
26513   ;
26514   return 0;
26515 }
26516 _ACEOF
26517 rm -f conftest.$ac_objext conftest$ac_exeext
26518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26519   (eval $ac_link) 2>conftest.er1
26520   ac_status=$?
26521   grep -v '^ *+' conftest.er1 >conftest.err
26522   rm -f conftest.er1
26523   cat conftest.err >&5
26524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26525   (exit $ac_status); } &&
26526          { ac_try='test -z "$ac_c_werror_flag"
26527                          || test ! -s conftest.err'
26528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26529   (eval $ac_try) 2>&5
26530   ac_status=$?
26531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26532   (exit $ac_status); }; } &&
26533          { ac_try='test -s conftest$ac_exeext'
26534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26535   (eval $ac_try) 2>&5
26536   ac_status=$?
26537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26538   (exit $ac_status); }; }; then
26539   glibcxx_cv_func___builtin_sin_link=yes
26540 else
26541   echo "$as_me: failed program was:" >&5
26542 sed 's/^/| /' conftest.$ac_ext >&5
26543
26544 glibcxx_cv_func___builtin_sin_link=no
26545 fi
26546 rm -f conftest.err conftest.$ac_objext \
26547       conftest$ac_exeext conftest.$ac_ext
26548
26549 fi
26550
26551     fi
26552     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
26553 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
26554     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
26555       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26556
26557 cat >>confdefs.h <<_ACEOF
26558 #define ${ac_tr_func} 1
26559 _ACEOF
26560
26561     fi
26562   fi
26563
26564
26565   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
26566 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
26567   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
26568     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
26569   echo $ECHO_N "(cached) $ECHO_C" >&6
26570 else
26571
26572
26573
26574       ac_ext=cc
26575 ac_cpp='$CXXCPP $CPPFLAGS'
26576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26579
26580       cat >conftest.$ac_ext <<_ACEOF
26581 /* confdefs.h.  */
26582 _ACEOF
26583 cat confdefs.h >>conftest.$ac_ext
26584 cat >>conftest.$ac_ext <<_ACEOF
26585 /* end confdefs.h.  */
26586 #include <math.h>
26587 int
26588 main ()
26589 {
26590  __builtin_sinl(0);
26591   ;
26592   return 0;
26593 }
26594 _ACEOF
26595 rm -f conftest.$ac_objext
26596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26597   (eval $ac_compile) 2>conftest.er1
26598   ac_status=$?
26599   grep -v '^ *+' conftest.er1 >conftest.err
26600   rm -f conftest.er1
26601   cat conftest.err >&5
26602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26603   (exit $ac_status); } &&
26604          { ac_try='test -z "$ac_cxx_werror_flag"
26605                          || test ! -s conftest.err'
26606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26607   (eval $ac_try) 2>&5
26608   ac_status=$?
26609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26610   (exit $ac_status); }; } &&
26611          { ac_try='test -s conftest.$ac_objext'
26612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26613   (eval $ac_try) 2>&5
26614   ac_status=$?
26615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26616   (exit $ac_status); }; }; then
26617   glibcxx_cv_func___builtin_sinl_use=yes
26618 else
26619   echo "$as_me: failed program was:" >&5
26620 sed 's/^/| /' conftest.$ac_ext >&5
26621
26622 glibcxx_cv_func___builtin_sinl_use=no
26623 fi
26624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26625       ac_ext=c
26626 ac_cpp='$CPP $CPPFLAGS'
26627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26630
26631
26632 fi
26633
26634   fi
26635   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
26636 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
26637   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
26638     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
26639 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
26640     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
26641       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
26642   echo $ECHO_N "(cached) $ECHO_C" >&6
26643 else
26644
26645         if test x$gcc_no_link = xyes; then
26646   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26648    { (exit 1); exit 1; }; }
26649 fi
26650 cat >conftest.$ac_ext <<_ACEOF
26651 /* confdefs.h.  */
26652 _ACEOF
26653 cat confdefs.h >>conftest.$ac_ext
26654 cat >>conftest.$ac_ext <<_ACEOF
26655 /* end confdefs.h.  */
26656 #include <math.h>
26657 int
26658 main ()
26659 {
26660  __builtin_sinl(0);
26661   ;
26662   return 0;
26663 }
26664 _ACEOF
26665 rm -f conftest.$ac_objext conftest$ac_exeext
26666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26667   (eval $ac_link) 2>conftest.er1
26668   ac_status=$?
26669   grep -v '^ *+' conftest.er1 >conftest.err
26670   rm -f conftest.er1
26671   cat conftest.err >&5
26672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26673   (exit $ac_status); } &&
26674          { ac_try='test -z "$ac_c_werror_flag"
26675                          || test ! -s conftest.err'
26676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26677   (eval $ac_try) 2>&5
26678   ac_status=$?
26679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26680   (exit $ac_status); }; } &&
26681          { ac_try='test -s conftest$ac_exeext'
26682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26683   (eval $ac_try) 2>&5
26684   ac_status=$?
26685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26686   (exit $ac_status); }; }; then
26687   glibcxx_cv_func___builtin_sinl_link=yes
26688 else
26689   echo "$as_me: failed program was:" >&5
26690 sed 's/^/| /' conftest.$ac_ext >&5
26691
26692 glibcxx_cv_func___builtin_sinl_link=no
26693 fi
26694 rm -f conftest.err conftest.$ac_objext \
26695       conftest$ac_exeext conftest.$ac_ext
26696
26697 fi
26698
26699     fi
26700     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
26701 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
26702     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
26703       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26704
26705 cat >>confdefs.h <<_ACEOF
26706 #define ${ac_tr_func} 1
26707 _ACEOF
26708
26709     fi
26710   fi
26711
26712
26713
26714   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
26715 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
26716   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
26717     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
26718   echo $ECHO_N "(cached) $ECHO_C" >&6
26719 else
26720
26721
26722
26723       ac_ext=cc
26724 ac_cpp='$CXXCPP $CPPFLAGS'
26725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26728
26729       cat >conftest.$ac_ext <<_ACEOF
26730 /* confdefs.h.  */
26731 _ACEOF
26732 cat confdefs.h >>conftest.$ac_ext
26733 cat >>conftest.$ac_ext <<_ACEOF
26734 /* end confdefs.h.  */
26735 #include <math.h>
26736 int
26737 main ()
26738 {
26739  __builtin_cosf(0);
26740   ;
26741   return 0;
26742 }
26743 _ACEOF
26744 rm -f conftest.$ac_objext
26745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26746   (eval $ac_compile) 2>conftest.er1
26747   ac_status=$?
26748   grep -v '^ *+' conftest.er1 >conftest.err
26749   rm -f conftest.er1
26750   cat conftest.err >&5
26751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26752   (exit $ac_status); } &&
26753          { ac_try='test -z "$ac_cxx_werror_flag"
26754                          || test ! -s conftest.err'
26755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26756   (eval $ac_try) 2>&5
26757   ac_status=$?
26758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26759   (exit $ac_status); }; } &&
26760          { ac_try='test -s conftest.$ac_objext'
26761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26762   (eval $ac_try) 2>&5
26763   ac_status=$?
26764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26765   (exit $ac_status); }; }; then
26766   glibcxx_cv_func___builtin_cosf_use=yes
26767 else
26768   echo "$as_me: failed program was:" >&5
26769 sed 's/^/| /' conftest.$ac_ext >&5
26770
26771 glibcxx_cv_func___builtin_cosf_use=no
26772 fi
26773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26774       ac_ext=c
26775 ac_cpp='$CPP $CPPFLAGS'
26776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26779
26780
26781 fi
26782
26783   fi
26784   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
26785 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
26786   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
26787     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
26788 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
26789     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
26790       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
26791   echo $ECHO_N "(cached) $ECHO_C" >&6
26792 else
26793
26794         if test x$gcc_no_link = xyes; then
26795   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26797    { (exit 1); exit 1; }; }
26798 fi
26799 cat >conftest.$ac_ext <<_ACEOF
26800 /* confdefs.h.  */
26801 _ACEOF
26802 cat confdefs.h >>conftest.$ac_ext
26803 cat >>conftest.$ac_ext <<_ACEOF
26804 /* end confdefs.h.  */
26805 #include <math.h>
26806 int
26807 main ()
26808 {
26809  __builtin_cosf(0);
26810   ;
26811   return 0;
26812 }
26813 _ACEOF
26814 rm -f conftest.$ac_objext conftest$ac_exeext
26815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26816   (eval $ac_link) 2>conftest.er1
26817   ac_status=$?
26818   grep -v '^ *+' conftest.er1 >conftest.err
26819   rm -f conftest.er1
26820   cat conftest.err >&5
26821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26822   (exit $ac_status); } &&
26823          { ac_try='test -z "$ac_c_werror_flag"
26824                          || test ! -s conftest.err'
26825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26826   (eval $ac_try) 2>&5
26827   ac_status=$?
26828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26829   (exit $ac_status); }; } &&
26830          { ac_try='test -s conftest$ac_exeext'
26831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26832   (eval $ac_try) 2>&5
26833   ac_status=$?
26834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26835   (exit $ac_status); }; }; then
26836   glibcxx_cv_func___builtin_cosf_link=yes
26837 else
26838   echo "$as_me: failed program was:" >&5
26839 sed 's/^/| /' conftest.$ac_ext >&5
26840
26841 glibcxx_cv_func___builtin_cosf_link=no
26842 fi
26843 rm -f conftest.err conftest.$ac_objext \
26844       conftest$ac_exeext conftest.$ac_ext
26845
26846 fi
26847
26848     fi
26849     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
26850 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
26851     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
26852       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26853
26854 cat >>confdefs.h <<_ACEOF
26855 #define ${ac_tr_func} 1
26856 _ACEOF
26857
26858     fi
26859   fi
26860
26861
26862   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
26863 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
26864   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
26865     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
26866   echo $ECHO_N "(cached) $ECHO_C" >&6
26867 else
26868
26869
26870
26871       ac_ext=cc
26872 ac_cpp='$CXXCPP $CPPFLAGS'
26873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26876
26877       cat >conftest.$ac_ext <<_ACEOF
26878 /* confdefs.h.  */
26879 _ACEOF
26880 cat confdefs.h >>conftest.$ac_ext
26881 cat >>conftest.$ac_ext <<_ACEOF
26882 /* end confdefs.h.  */
26883 #include <math.h>
26884 int
26885 main ()
26886 {
26887  __builtin_cos(0);
26888   ;
26889   return 0;
26890 }
26891 _ACEOF
26892 rm -f conftest.$ac_objext
26893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26894   (eval $ac_compile) 2>conftest.er1
26895   ac_status=$?
26896   grep -v '^ *+' conftest.er1 >conftest.err
26897   rm -f conftest.er1
26898   cat conftest.err >&5
26899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26900   (exit $ac_status); } &&
26901          { ac_try='test -z "$ac_cxx_werror_flag"
26902                          || test ! -s conftest.err'
26903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26904   (eval $ac_try) 2>&5
26905   ac_status=$?
26906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26907   (exit $ac_status); }; } &&
26908          { ac_try='test -s conftest.$ac_objext'
26909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26910   (eval $ac_try) 2>&5
26911   ac_status=$?
26912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26913   (exit $ac_status); }; }; then
26914   glibcxx_cv_func___builtin_cos_use=yes
26915 else
26916   echo "$as_me: failed program was:" >&5
26917 sed 's/^/| /' conftest.$ac_ext >&5
26918
26919 glibcxx_cv_func___builtin_cos_use=no
26920 fi
26921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26922       ac_ext=c
26923 ac_cpp='$CPP $CPPFLAGS'
26924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26927
26928
26929 fi
26930
26931   fi
26932   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
26933 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
26934   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
26935     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
26936 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
26937     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
26938       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
26939   echo $ECHO_N "(cached) $ECHO_C" >&6
26940 else
26941
26942         if test x$gcc_no_link = xyes; then
26943   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26945    { (exit 1); exit 1; }; }
26946 fi
26947 cat >conftest.$ac_ext <<_ACEOF
26948 /* confdefs.h.  */
26949 _ACEOF
26950 cat confdefs.h >>conftest.$ac_ext
26951 cat >>conftest.$ac_ext <<_ACEOF
26952 /* end confdefs.h.  */
26953 #include <math.h>
26954 int
26955 main ()
26956 {
26957  __builtin_cos(0);
26958   ;
26959   return 0;
26960 }
26961 _ACEOF
26962 rm -f conftest.$ac_objext conftest$ac_exeext
26963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26964   (eval $ac_link) 2>conftest.er1
26965   ac_status=$?
26966   grep -v '^ *+' conftest.er1 >conftest.err
26967   rm -f conftest.er1
26968   cat conftest.err >&5
26969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26970   (exit $ac_status); } &&
26971          { ac_try='test -z "$ac_c_werror_flag"
26972                          || test ! -s conftest.err'
26973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26974   (eval $ac_try) 2>&5
26975   ac_status=$?
26976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26977   (exit $ac_status); }; } &&
26978          { ac_try='test -s conftest$ac_exeext'
26979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26980   (eval $ac_try) 2>&5
26981   ac_status=$?
26982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26983   (exit $ac_status); }; }; then
26984   glibcxx_cv_func___builtin_cos_link=yes
26985 else
26986   echo "$as_me: failed program was:" >&5
26987 sed 's/^/| /' conftest.$ac_ext >&5
26988
26989 glibcxx_cv_func___builtin_cos_link=no
26990 fi
26991 rm -f conftest.err conftest.$ac_objext \
26992       conftest$ac_exeext conftest.$ac_ext
26993
26994 fi
26995
26996     fi
26997     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
26998 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
26999     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27000       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27001
27002 cat >>confdefs.h <<_ACEOF
27003 #define ${ac_tr_func} 1
27004 _ACEOF
27005
27006     fi
27007   fi
27008
27009
27010   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27011 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27012   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27013     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27014   echo $ECHO_N "(cached) $ECHO_C" >&6
27015 else
27016
27017
27018
27019       ac_ext=cc
27020 ac_cpp='$CXXCPP $CPPFLAGS'
27021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27024
27025       cat >conftest.$ac_ext <<_ACEOF
27026 /* confdefs.h.  */
27027 _ACEOF
27028 cat confdefs.h >>conftest.$ac_ext
27029 cat >>conftest.$ac_ext <<_ACEOF
27030 /* end confdefs.h.  */
27031 #include <math.h>
27032 int
27033 main ()
27034 {
27035  __builtin_cosl(0);
27036   ;
27037   return 0;
27038 }
27039 _ACEOF
27040 rm -f conftest.$ac_objext
27041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27042   (eval $ac_compile) 2>conftest.er1
27043   ac_status=$?
27044   grep -v '^ *+' conftest.er1 >conftest.err
27045   rm -f conftest.er1
27046   cat conftest.err >&5
27047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27048   (exit $ac_status); } &&
27049          { ac_try='test -z "$ac_cxx_werror_flag"
27050                          || test ! -s conftest.err'
27051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27052   (eval $ac_try) 2>&5
27053   ac_status=$?
27054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27055   (exit $ac_status); }; } &&
27056          { ac_try='test -s conftest.$ac_objext'
27057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27058   (eval $ac_try) 2>&5
27059   ac_status=$?
27060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27061   (exit $ac_status); }; }; then
27062   glibcxx_cv_func___builtin_cosl_use=yes
27063 else
27064   echo "$as_me: failed program was:" >&5
27065 sed 's/^/| /' conftest.$ac_ext >&5
27066
27067 glibcxx_cv_func___builtin_cosl_use=no
27068 fi
27069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27070       ac_ext=c
27071 ac_cpp='$CPP $CPPFLAGS'
27072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27075
27076
27077 fi
27078
27079   fi
27080   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27081 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27082   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27083     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27084 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27085     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27086       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27087   echo $ECHO_N "(cached) $ECHO_C" >&6
27088 else
27089
27090         if test x$gcc_no_link = xyes; then
27091   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27093    { (exit 1); exit 1; }; }
27094 fi
27095 cat >conftest.$ac_ext <<_ACEOF
27096 /* confdefs.h.  */
27097 _ACEOF
27098 cat confdefs.h >>conftest.$ac_ext
27099 cat >>conftest.$ac_ext <<_ACEOF
27100 /* end confdefs.h.  */
27101 #include <math.h>
27102 int
27103 main ()
27104 {
27105  __builtin_cosl(0);
27106   ;
27107   return 0;
27108 }
27109 _ACEOF
27110 rm -f conftest.$ac_objext conftest$ac_exeext
27111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27112   (eval $ac_link) 2>conftest.er1
27113   ac_status=$?
27114   grep -v '^ *+' conftest.er1 >conftest.err
27115   rm -f conftest.er1
27116   cat conftest.err >&5
27117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27118   (exit $ac_status); } &&
27119          { ac_try='test -z "$ac_c_werror_flag"
27120                          || test ! -s conftest.err'
27121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27122   (eval $ac_try) 2>&5
27123   ac_status=$?
27124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27125   (exit $ac_status); }; } &&
27126          { ac_try='test -s conftest$ac_exeext'
27127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27128   (eval $ac_try) 2>&5
27129   ac_status=$?
27130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27131   (exit $ac_status); }; }; then
27132   glibcxx_cv_func___builtin_cosl_link=yes
27133 else
27134   echo "$as_me: failed program was:" >&5
27135 sed 's/^/| /' conftest.$ac_ext >&5
27136
27137 glibcxx_cv_func___builtin_cosl_link=no
27138 fi
27139 rm -f conftest.err conftest.$ac_objext \
27140       conftest$ac_exeext conftest.$ac_ext
27141
27142 fi
27143
27144     fi
27145     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27146 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27147     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27148       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27149
27150 cat >>confdefs.h <<_ACEOF
27151 #define ${ac_tr_func} 1
27152 _ACEOF
27153
27154     fi
27155   fi
27156
27157
27158
27159
27160 echo "$as_me:$LINENO: checking for main in -lm" >&5
27161 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27162 if test "${ac_cv_lib_m_main+set}" = set; then
27163   echo $ECHO_N "(cached) $ECHO_C" >&6
27164 else
27165   ac_check_lib_save_LIBS=$LIBS
27166 LIBS="-lm  $LIBS"
27167 if test x$gcc_no_link = xyes; then
27168   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27170    { (exit 1); exit 1; }; }
27171 fi
27172 cat >conftest.$ac_ext <<_ACEOF
27173 /* confdefs.h.  */
27174 _ACEOF
27175 cat confdefs.h >>conftest.$ac_ext
27176 cat >>conftest.$ac_ext <<_ACEOF
27177 /* end confdefs.h.  */
27178
27179
27180 int
27181 main ()
27182 {
27183 main ();
27184   ;
27185   return 0;
27186 }
27187 _ACEOF
27188 rm -f conftest.$ac_objext conftest$ac_exeext
27189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27190   (eval $ac_link) 2>conftest.er1
27191   ac_status=$?
27192   grep -v '^ *+' conftest.er1 >conftest.err
27193   rm -f conftest.er1
27194   cat conftest.err >&5
27195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27196   (exit $ac_status); } &&
27197          { ac_try='test -z "$ac_c_werror_flag"
27198                          || test ! -s conftest.err'
27199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27200   (eval $ac_try) 2>&5
27201   ac_status=$?
27202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27203   (exit $ac_status); }; } &&
27204          { ac_try='test -s conftest$ac_exeext'
27205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27206   (eval $ac_try) 2>&5
27207   ac_status=$?
27208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27209   (exit $ac_status); }; }; then
27210   ac_cv_lib_m_main=yes
27211 else
27212   echo "$as_me: failed program was:" >&5
27213 sed 's/^/| /' conftest.$ac_ext >&5
27214
27215 ac_cv_lib_m_main=no
27216 fi
27217 rm -f conftest.err conftest.$ac_objext \
27218       conftest$ac_exeext conftest.$ac_ext
27219 LIBS=$ac_check_lib_save_LIBS
27220 fi
27221 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27222 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27223 if test $ac_cv_lib_m_main = yes; then
27224   cat >>confdefs.h <<_ACEOF
27225 #define HAVE_LIBM 1
27226 _ACEOF
27227
27228   LIBS="-lm $LIBS"
27229
27230 fi
27231
27232
27233 for ac_func in copysignf
27234 do
27235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27236 echo "$as_me:$LINENO: checking for $ac_func" >&5
27237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27238 if eval "test \"\${$as_ac_var+set}\" = set"; then
27239   echo $ECHO_N "(cached) $ECHO_C" >&6
27240 else
27241   if test x$gcc_no_link = xyes; then
27242   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27244    { (exit 1); exit 1; }; }
27245 fi
27246 cat >conftest.$ac_ext <<_ACEOF
27247 /* confdefs.h.  */
27248 _ACEOF
27249 cat confdefs.h >>conftest.$ac_ext
27250 cat >>conftest.$ac_ext <<_ACEOF
27251 /* end confdefs.h.  */
27252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27253    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27254 #define $ac_func innocuous_$ac_func
27255
27256 /* System header to define __stub macros and hopefully few prototypes,
27257     which can conflict with char $ac_func (); below.
27258     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27259     <limits.h> exists even on freestanding compilers.  */
27260
27261 #ifdef __STDC__
27262 # include <limits.h>
27263 #else
27264 # include <assert.h>
27265 #endif
27266
27267 #undef $ac_func
27268
27269 /* Override any gcc2 internal prototype to avoid an error.  */
27270 #ifdef __cplusplus
27271 extern "C"
27272 {
27273 #endif
27274 /* We use char because int might match the return type of a gcc2
27275    builtin and then its argument prototype would still apply.  */
27276 char $ac_func ();
27277 /* The GNU C library defines this for functions which it implements
27278     to always fail with ENOSYS.  Some functions are actually named
27279     something starting with __ and the normal name is an alias.  */
27280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27281 choke me
27282 #else
27283 char (*f) () = $ac_func;
27284 #endif
27285 #ifdef __cplusplus
27286 }
27287 #endif
27288
27289 int
27290 main ()
27291 {
27292 return f != $ac_func;
27293   ;
27294   return 0;
27295 }
27296 _ACEOF
27297 rm -f conftest.$ac_objext conftest$ac_exeext
27298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27299   (eval $ac_link) 2>conftest.er1
27300   ac_status=$?
27301   grep -v '^ *+' conftest.er1 >conftest.err
27302   rm -f conftest.er1
27303   cat conftest.err >&5
27304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27305   (exit $ac_status); } &&
27306          { ac_try='test -z "$ac_c_werror_flag"
27307                          || test ! -s conftest.err'
27308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27309   (eval $ac_try) 2>&5
27310   ac_status=$?
27311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27312   (exit $ac_status); }; } &&
27313          { ac_try='test -s conftest$ac_exeext'
27314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27315   (eval $ac_try) 2>&5
27316   ac_status=$?
27317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27318   (exit $ac_status); }; }; then
27319   eval "$as_ac_var=yes"
27320 else
27321   echo "$as_me: failed program was:" >&5
27322 sed 's/^/| /' conftest.$ac_ext >&5
27323
27324 eval "$as_ac_var=no"
27325 fi
27326 rm -f conftest.err conftest.$ac_objext \
27327       conftest$ac_exeext conftest.$ac_ext
27328 fi
27329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27331 if test `eval echo '${'$as_ac_var'}'` = yes; then
27332   cat >>confdefs.h <<_ACEOF
27333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27334 _ACEOF
27335
27336 else
27337   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27338 fi
27339 done
27340
27341
27342
27343 for ac_func in __signbit
27344 do
27345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27346 echo "$as_me:$LINENO: checking for $ac_func" >&5
27347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27348 if eval "test \"\${$as_ac_var+set}\" = set"; then
27349   echo $ECHO_N "(cached) $ECHO_C" >&6
27350 else
27351   if test x$gcc_no_link = xyes; then
27352   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27354    { (exit 1); exit 1; }; }
27355 fi
27356 cat >conftest.$ac_ext <<_ACEOF
27357 /* confdefs.h.  */
27358 _ACEOF
27359 cat confdefs.h >>conftest.$ac_ext
27360 cat >>conftest.$ac_ext <<_ACEOF
27361 /* end confdefs.h.  */
27362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27363    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27364 #define $ac_func innocuous_$ac_func
27365
27366 /* System header to define __stub macros and hopefully few prototypes,
27367     which can conflict with char $ac_func (); below.
27368     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27369     <limits.h> exists even on freestanding compilers.  */
27370
27371 #ifdef __STDC__
27372 # include <limits.h>
27373 #else
27374 # include <assert.h>
27375 #endif
27376
27377 #undef $ac_func
27378
27379 /* Override any gcc2 internal prototype to avoid an error.  */
27380 #ifdef __cplusplus
27381 extern "C"
27382 {
27383 #endif
27384 /* We use char because int might match the return type of a gcc2
27385    builtin and then its argument prototype would still apply.  */
27386 char $ac_func ();
27387 /* The GNU C library defines this for functions which it implements
27388     to always fail with ENOSYS.  Some functions are actually named
27389     something starting with __ and the normal name is an alias.  */
27390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27391 choke me
27392 #else
27393 char (*f) () = $ac_func;
27394 #endif
27395 #ifdef __cplusplus
27396 }
27397 #endif
27398
27399 int
27400 main ()
27401 {
27402 return f != $ac_func;
27403   ;
27404   return 0;
27405 }
27406 _ACEOF
27407 rm -f conftest.$ac_objext conftest$ac_exeext
27408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27409   (eval $ac_link) 2>conftest.er1
27410   ac_status=$?
27411   grep -v '^ *+' conftest.er1 >conftest.err
27412   rm -f conftest.er1
27413   cat conftest.err >&5
27414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27415   (exit $ac_status); } &&
27416          { ac_try='test -z "$ac_c_werror_flag"
27417                          || test ! -s conftest.err'
27418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27419   (eval $ac_try) 2>&5
27420   ac_status=$?
27421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27422   (exit $ac_status); }; } &&
27423          { ac_try='test -s conftest$ac_exeext'
27424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27425   (eval $ac_try) 2>&5
27426   ac_status=$?
27427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27428   (exit $ac_status); }; }; then
27429   eval "$as_ac_var=yes"
27430 else
27431   echo "$as_me: failed program was:" >&5
27432 sed 's/^/| /' conftest.$ac_ext >&5
27433
27434 eval "$as_ac_var=no"
27435 fi
27436 rm -f conftest.err conftest.$ac_objext \
27437       conftest$ac_exeext conftest.$ac_ext
27438 fi
27439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27441 if test `eval echo '${'$as_ac_var'}'` = yes; then
27442   cat >>confdefs.h <<_ACEOF
27443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27444 _ACEOF
27445
27446 else
27447   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
27448 fi
27449 done
27450
27451
27452
27453 for ac_func in __signbitf
27454 do
27455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27456 echo "$as_me:$LINENO: checking for $ac_func" >&5
27457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27458 if eval "test \"\${$as_ac_var+set}\" = set"; then
27459   echo $ECHO_N "(cached) $ECHO_C" >&6
27460 else
27461   if test x$gcc_no_link = xyes; then
27462   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27464    { (exit 1); exit 1; }; }
27465 fi
27466 cat >conftest.$ac_ext <<_ACEOF
27467 /* confdefs.h.  */
27468 _ACEOF
27469 cat confdefs.h >>conftest.$ac_ext
27470 cat >>conftest.$ac_ext <<_ACEOF
27471 /* end confdefs.h.  */
27472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27473    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27474 #define $ac_func innocuous_$ac_func
27475
27476 /* System header to define __stub macros and hopefully few prototypes,
27477     which can conflict with char $ac_func (); below.
27478     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27479     <limits.h> exists even on freestanding compilers.  */
27480
27481 #ifdef __STDC__
27482 # include <limits.h>
27483 #else
27484 # include <assert.h>
27485 #endif
27486
27487 #undef $ac_func
27488
27489 /* Override any gcc2 internal prototype to avoid an error.  */
27490 #ifdef __cplusplus
27491 extern "C"
27492 {
27493 #endif
27494 /* We use char because int might match the return type of a gcc2
27495    builtin and then its argument prototype would still apply.  */
27496 char $ac_func ();
27497 /* The GNU C library defines this for functions which it implements
27498     to always fail with ENOSYS.  Some functions are actually named
27499     something starting with __ and the normal name is an alias.  */
27500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27501 choke me
27502 #else
27503 char (*f) () = $ac_func;
27504 #endif
27505 #ifdef __cplusplus
27506 }
27507 #endif
27508
27509 int
27510 main ()
27511 {
27512 return f != $ac_func;
27513   ;
27514   return 0;
27515 }
27516 _ACEOF
27517 rm -f conftest.$ac_objext conftest$ac_exeext
27518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27519   (eval $ac_link) 2>conftest.er1
27520   ac_status=$?
27521   grep -v '^ *+' conftest.er1 >conftest.err
27522   rm -f conftest.er1
27523   cat conftest.err >&5
27524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27525   (exit $ac_status); } &&
27526          { ac_try='test -z "$ac_c_werror_flag"
27527                          || test ! -s conftest.err'
27528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27529   (eval $ac_try) 2>&5
27530   ac_status=$?
27531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27532   (exit $ac_status); }; } &&
27533          { ac_try='test -s conftest$ac_exeext'
27534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27535   (eval $ac_try) 2>&5
27536   ac_status=$?
27537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27538   (exit $ac_status); }; }; then
27539   eval "$as_ac_var=yes"
27540 else
27541   echo "$as_me: failed program was:" >&5
27542 sed 's/^/| /' conftest.$ac_ext >&5
27543
27544 eval "$as_ac_var=no"
27545 fi
27546 rm -f conftest.err conftest.$ac_objext \
27547       conftest$ac_exeext conftest.$ac_ext
27548 fi
27549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27551 if test `eval echo '${'$as_ac_var'}'` = yes; then
27552   cat >>confdefs.h <<_ACEOF
27553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27554 _ACEOF
27555
27556 else
27557   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
27558 fi
27559 done
27560
27561
27562           if test x$ac_cv_func_copysignl = x"yes"; then
27563
27564 for ac_func in __signbitl
27565 do
27566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27567 echo "$as_me:$LINENO: checking for $ac_func" >&5
27568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27569 if eval "test \"\${$as_ac_var+set}\" = set"; then
27570   echo $ECHO_N "(cached) $ECHO_C" >&6
27571 else
27572   if test x$gcc_no_link = xyes; then
27573   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27575    { (exit 1); exit 1; }; }
27576 fi
27577 cat >conftest.$ac_ext <<_ACEOF
27578 /* confdefs.h.  */
27579 _ACEOF
27580 cat confdefs.h >>conftest.$ac_ext
27581 cat >>conftest.$ac_ext <<_ACEOF
27582 /* end confdefs.h.  */
27583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27584    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27585 #define $ac_func innocuous_$ac_func
27586
27587 /* System header to define __stub macros and hopefully few prototypes,
27588     which can conflict with char $ac_func (); below.
27589     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27590     <limits.h> exists even on freestanding compilers.  */
27591
27592 #ifdef __STDC__
27593 # include <limits.h>
27594 #else
27595 # include <assert.h>
27596 #endif
27597
27598 #undef $ac_func
27599
27600 /* Override any gcc2 internal prototype to avoid an error.  */
27601 #ifdef __cplusplus
27602 extern "C"
27603 {
27604 #endif
27605 /* We use char because int might match the return type of a gcc2
27606    builtin and then its argument prototype would still apply.  */
27607 char $ac_func ();
27608 /* The GNU C library defines this for functions which it implements
27609     to always fail with ENOSYS.  Some functions are actually named
27610     something starting with __ and the normal name is an alias.  */
27611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27612 choke me
27613 #else
27614 char (*f) () = $ac_func;
27615 #endif
27616 #ifdef __cplusplus
27617 }
27618 #endif
27619
27620 int
27621 main ()
27622 {
27623 return f != $ac_func;
27624   ;
27625   return 0;
27626 }
27627 _ACEOF
27628 rm -f conftest.$ac_objext conftest$ac_exeext
27629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27630   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
27651 else
27652   echo "$as_me: failed program was:" >&5
27653 sed 's/^/| /' conftest.$ac_ext >&5
27654
27655 eval "$as_ac_var=no"
27656 fi
27657 rm -f conftest.err conftest.$ac_objext \
27658       conftest$ac_exeext conftest.$ac_ext
27659 fi
27660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27662 if test `eval echo '${'$as_ac_var'}'` = yes; then
27663   cat >>confdefs.h <<_ACEOF
27664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27665 _ACEOF
27666
27667 else
27668   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
27669 fi
27670 done
27671
27672   fi
27673
27674   # Used in libmath/Makefile.am.
27675   if test -n "$LIBMATHOBJS"; then
27676     need_libmath=yes
27677   fi
27678
27679
27680
27681   # Test wchar.h for mbstate_t, which is needed for char_traits and
27682   # others even if wchar_t support is not on.
27683   echo "$as_me:$LINENO: checking for mbstate_t" >&5
27684 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
27685   cat >conftest.$ac_ext <<_ACEOF
27686 /* confdefs.h.  */
27687 _ACEOF
27688 cat confdefs.h >>conftest.$ac_ext
27689 cat >>conftest.$ac_ext <<_ACEOF
27690 /* end confdefs.h.  */
27691 #include <wchar.h>
27692 int
27693 main ()
27694 {
27695 mbstate_t teststate;
27696   ;
27697   return 0;
27698 }
27699 _ACEOF
27700 rm -f conftest.$ac_objext
27701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27702   (eval $ac_compile) 2>conftest.er1
27703   ac_status=$?
27704   grep -v '^ *+' conftest.er1 >conftest.err
27705   rm -f conftest.er1
27706   cat conftest.err >&5
27707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27708   (exit $ac_status); } &&
27709          { ac_try='test -z "$ac_c_werror_flag"
27710                          || test ! -s conftest.err'
27711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27712   (eval $ac_try) 2>&5
27713   ac_status=$?
27714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27715   (exit $ac_status); }; } &&
27716          { ac_try='test -s conftest.$ac_objext'
27717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27718   (eval $ac_try) 2>&5
27719   ac_status=$?
27720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27721   (exit $ac_status); }; }; then
27722   have_mbstate_t=yes
27723 else
27724   echo "$as_me: failed program was:" >&5
27725 sed 's/^/| /' conftest.$ac_ext >&5
27726
27727 have_mbstate_t=no
27728 fi
27729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27730   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
27731 echo "${ECHO_T}$have_mbstate_t" >&6
27732   if test x"$have_mbstate_t" = xyes; then
27733     cat >>confdefs.h <<\_ACEOF
27734 #define HAVE_MBSTATE_T 1
27735 _ACEOF
27736
27737   fi
27738
27739   # Sanity check for existence of ISO C99 headers for extended encoding.
27740
27741 for ac_header in wchar.h
27742 do
27743 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27744 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27745   echo "$as_me:$LINENO: checking for $ac_header" >&5
27746 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27748   echo $ECHO_N "(cached) $ECHO_C" >&6
27749 fi
27750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27751 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27752 else
27753   # Is the header compilable?
27754 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27755 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27756 cat >conftest.$ac_ext <<_ACEOF
27757 /* confdefs.h.  */
27758 _ACEOF
27759 cat confdefs.h >>conftest.$ac_ext
27760 cat >>conftest.$ac_ext <<_ACEOF
27761 /* end confdefs.h.  */
27762 $ac_includes_default
27763 #include <$ac_header>
27764 _ACEOF
27765 rm -f conftest.$ac_objext
27766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27767   (eval $ac_compile) 2>conftest.er1
27768   ac_status=$?
27769   grep -v '^ *+' conftest.er1 >conftest.err
27770   rm -f conftest.er1
27771   cat conftest.err >&5
27772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27773   (exit $ac_status); } &&
27774          { ac_try='test -z "$ac_c_werror_flag"
27775                          || test ! -s conftest.err'
27776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27777   (eval $ac_try) 2>&5
27778   ac_status=$?
27779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27780   (exit $ac_status); }; } &&
27781          { ac_try='test -s conftest.$ac_objext'
27782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27783   (eval $ac_try) 2>&5
27784   ac_status=$?
27785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27786   (exit $ac_status); }; }; then
27787   ac_header_compiler=yes
27788 else
27789   echo "$as_me: failed program was:" >&5
27790 sed 's/^/| /' conftest.$ac_ext >&5
27791
27792 ac_header_compiler=no
27793 fi
27794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27795 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27796 echo "${ECHO_T}$ac_header_compiler" >&6
27797
27798 # Is the header present?
27799 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27800 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27801 cat >conftest.$ac_ext <<_ACEOF
27802 /* confdefs.h.  */
27803 _ACEOF
27804 cat confdefs.h >>conftest.$ac_ext
27805 cat >>conftest.$ac_ext <<_ACEOF
27806 /* end confdefs.h.  */
27807 #include <$ac_header>
27808 _ACEOF
27809 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27810   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27811   ac_status=$?
27812   grep -v '^ *+' conftest.er1 >conftest.err
27813   rm -f conftest.er1
27814   cat conftest.err >&5
27815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27816   (exit $ac_status); } >/dev/null; then
27817   if test -s conftest.err; then
27818     ac_cpp_err=$ac_c_preproc_warn_flag
27819     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27820   else
27821     ac_cpp_err=
27822   fi
27823 else
27824   ac_cpp_err=yes
27825 fi
27826 if test -z "$ac_cpp_err"; then
27827   ac_header_preproc=yes
27828 else
27829   echo "$as_me: failed program was:" >&5
27830 sed 's/^/| /' conftest.$ac_ext >&5
27831
27832   ac_header_preproc=no
27833 fi
27834 rm -f conftest.err conftest.$ac_ext
27835 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27836 echo "${ECHO_T}$ac_header_preproc" >&6
27837
27838 # So?  What about this header?
27839 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27840   yes:no: )
27841     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27842 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27843     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27844 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27845     ac_header_preproc=yes
27846     ;;
27847   no:yes:* )
27848     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27849 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27850     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
27851 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
27852     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27853 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27854     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
27855 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
27856     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27857 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27858     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27859 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27860     (
27861       cat <<\_ASBOX
27862 ## ----------------------------------------- ##
27863 ## Report this to the package-unused lists.  ##
27864 ## ----------------------------------------- ##
27865 _ASBOX
27866     ) |
27867       sed "s/^/$as_me: WARNING:     /" >&2
27868     ;;
27869 esac
27870 echo "$as_me:$LINENO: checking for $ac_header" >&5
27871 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27872 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27873   echo $ECHO_N "(cached) $ECHO_C" >&6
27874 else
27875   eval "$as_ac_Header=\$ac_header_preproc"
27876 fi
27877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27878 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27879
27880 fi
27881 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27882   cat >>confdefs.h <<_ACEOF
27883 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27884 _ACEOF
27885  ac_has_wchar_h=yes
27886 else
27887   ac_has_wchar_h=no
27888 fi
27889
27890 done
27891
27892
27893 for ac_header in wctype.h
27894 do
27895 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27897   echo "$as_me:$LINENO: checking for $ac_header" >&5
27898 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27899 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27900   echo $ECHO_N "(cached) $ECHO_C" >&6
27901 fi
27902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27903 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27904 else
27905   # Is the header compilable?
27906 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27907 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27908 cat >conftest.$ac_ext <<_ACEOF
27909 /* confdefs.h.  */
27910 _ACEOF
27911 cat confdefs.h >>conftest.$ac_ext
27912 cat >>conftest.$ac_ext <<_ACEOF
27913 /* end confdefs.h.  */
27914 $ac_includes_default
27915 #include <$ac_header>
27916 _ACEOF
27917 rm -f conftest.$ac_objext
27918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27919   (eval $ac_compile) 2>conftest.er1
27920   ac_status=$?
27921   grep -v '^ *+' conftest.er1 >conftest.err
27922   rm -f conftest.er1
27923   cat conftest.err >&5
27924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27925   (exit $ac_status); } &&
27926          { ac_try='test -z "$ac_c_werror_flag"
27927                          || test ! -s conftest.err'
27928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27929   (eval $ac_try) 2>&5
27930   ac_status=$?
27931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27932   (exit $ac_status); }; } &&
27933          { ac_try='test -s conftest.$ac_objext'
27934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27935   (eval $ac_try) 2>&5
27936   ac_status=$?
27937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27938   (exit $ac_status); }; }; then
27939   ac_header_compiler=yes
27940 else
27941   echo "$as_me: failed program was:" >&5
27942 sed 's/^/| /' conftest.$ac_ext >&5
27943
27944 ac_header_compiler=no
27945 fi
27946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27947 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27948 echo "${ECHO_T}$ac_header_compiler" >&6
27949
27950 # Is the header present?
27951 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27952 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27953 cat >conftest.$ac_ext <<_ACEOF
27954 /* confdefs.h.  */
27955 _ACEOF
27956 cat confdefs.h >>conftest.$ac_ext
27957 cat >>conftest.$ac_ext <<_ACEOF
27958 /* end confdefs.h.  */
27959 #include <$ac_header>
27960 _ACEOF
27961 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27962   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27963   ac_status=$?
27964   grep -v '^ *+' conftest.er1 >conftest.err
27965   rm -f conftest.er1
27966   cat conftest.err >&5
27967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27968   (exit $ac_status); } >/dev/null; then
27969   if test -s conftest.err; then
27970     ac_cpp_err=$ac_c_preproc_warn_flag
27971     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27972   else
27973     ac_cpp_err=
27974   fi
27975 else
27976   ac_cpp_err=yes
27977 fi
27978 if test -z "$ac_cpp_err"; then
27979   ac_header_preproc=yes
27980 else
27981   echo "$as_me: failed program was:" >&5
27982 sed 's/^/| /' conftest.$ac_ext >&5
27983
27984   ac_header_preproc=no
27985 fi
27986 rm -f conftest.err conftest.$ac_ext
27987 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27988 echo "${ECHO_T}$ac_header_preproc" >&6
27989
27990 # So?  What about this header?
27991 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27992   yes:no: )
27993     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27994 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27995     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27996 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27997     ac_header_preproc=yes
27998     ;;
27999   no:yes:* )
28000     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28001 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28002     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
28003 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
28004     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28005 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28006     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
28007 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
28008     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28009 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28010     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28011 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28012     (
28013       cat <<\_ASBOX
28014 ## ----------------------------------------- ##
28015 ## Report this to the package-unused lists.  ##
28016 ## ----------------------------------------- ##
28017 _ASBOX
28018     ) |
28019       sed "s/^/$as_me: WARNING:     /" >&2
28020     ;;
28021 esac
28022 echo "$as_me:$LINENO: checking for $ac_header" >&5
28023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28025   echo $ECHO_N "(cached) $ECHO_C" >&6
28026 else
28027   eval "$as_ac_Header=\$ac_header_preproc"
28028 fi
28029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28030 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28031
28032 fi
28033 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28034   cat >>confdefs.h <<_ACEOF
28035 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28036 _ACEOF
28037  ac_has_wctype_h=yes
28038 else
28039   ac_has_wctype_h=no
28040 fi
28041
28042 done
28043
28044
28045   # Only continue checking if the ISO C99 headers exist and support is on.
28046   if test x"$ac_has_wchar_h" = xyes &&
28047      test x"$ac_has_wctype_h" = xyes &&
28048      test x"$enable_c_mbchar" != xno; then
28049
28050     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
28051     # numeric_limits can instantiate type_traits<wchar_t>
28052     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
28053 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
28054     cat >conftest.$ac_ext <<_ACEOF
28055 /* confdefs.h.  */
28056 _ACEOF
28057 cat confdefs.h >>conftest.$ac_ext
28058 cat >>conftest.$ac_ext <<_ACEOF
28059 /* end confdefs.h.  */
28060 #include <wchar.h>
28061 int
28062 main ()
28063 {
28064 int i = WCHAR_MIN; int j = WCHAR_MAX;
28065   ;
28066   return 0;
28067 }
28068 _ACEOF
28069 rm -f conftest.$ac_objext
28070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28071   (eval $ac_compile) 2>conftest.er1
28072   ac_status=$?
28073   grep -v '^ *+' conftest.er1 >conftest.err
28074   rm -f conftest.er1
28075   cat conftest.err >&5
28076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28077   (exit $ac_status); } &&
28078          { ac_try='test -z "$ac_c_werror_flag"
28079                          || test ! -s conftest.err'
28080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28081   (eval $ac_try) 2>&5
28082   ac_status=$?
28083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28084   (exit $ac_status); }; } &&
28085          { ac_try='test -s conftest.$ac_objext'
28086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28087   (eval $ac_try) 2>&5
28088   ac_status=$?
28089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28090   (exit $ac_status); }; }; then
28091   has_wchar_minmax=yes
28092 else
28093   echo "$as_me: failed program was:" >&5
28094 sed 's/^/| /' conftest.$ac_ext >&5
28095
28096 has_wchar_minmax=no
28097 fi
28098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28099     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
28100 echo "${ECHO_T}$has_wchar_minmax" >&6
28101
28102     # Test wchar.h for WEOF, which is what we use to determine whether
28103     # to specialize for char_traits<wchar_t> or not.
28104     echo "$as_me:$LINENO: checking for WEOF" >&5
28105 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
28106     cat >conftest.$ac_ext <<_ACEOF
28107 /* confdefs.h.  */
28108 _ACEOF
28109 cat confdefs.h >>conftest.$ac_ext
28110 cat >>conftest.$ac_ext <<_ACEOF
28111 /* end confdefs.h.  */
28112
28113       #include <wchar.h>
28114       #include <stddef.h>
28115 int
28116 main ()
28117 {
28118 wint_t i = WEOF;
28119   ;
28120   return 0;
28121 }
28122 _ACEOF
28123 rm -f conftest.$ac_objext
28124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28125   (eval $ac_compile) 2>conftest.er1
28126   ac_status=$?
28127   grep -v '^ *+' conftest.er1 >conftest.err
28128   rm -f conftest.er1
28129   cat conftest.err >&5
28130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28131   (exit $ac_status); } &&
28132          { ac_try='test -z "$ac_c_werror_flag"
28133                          || test ! -s conftest.err'
28134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28135   (eval $ac_try) 2>&5
28136   ac_status=$?
28137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28138   (exit $ac_status); }; } &&
28139          { ac_try='test -s conftest.$ac_objext'
28140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28141   (eval $ac_try) 2>&5
28142   ac_status=$?
28143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28144   (exit $ac_status); }; }; then
28145   has_weof=yes
28146 else
28147   echo "$as_me: failed program was:" >&5
28148 sed 's/^/| /' conftest.$ac_ext >&5
28149
28150 has_weof=no
28151 fi
28152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28153     echo "$as_me:$LINENO: result: $has_weof" >&5
28154 echo "${ECHO_T}$has_weof" >&6
28155
28156     # Tests for wide character functions used in char_traits<wchar_t>.
28157     ac_wfuncs=yes
28158
28159
28160
28161
28162
28163
28164 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
28165 do
28166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28167 echo "$as_me:$LINENO: checking for $ac_func" >&5
28168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28169 if eval "test \"\${$as_ac_var+set}\" = set"; then
28170   echo $ECHO_N "(cached) $ECHO_C" >&6
28171 else
28172   if test x$gcc_no_link = xyes; then
28173   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28175    { (exit 1); exit 1; }; }
28176 fi
28177 cat >conftest.$ac_ext <<_ACEOF
28178 /* confdefs.h.  */
28179 _ACEOF
28180 cat confdefs.h >>conftest.$ac_ext
28181 cat >>conftest.$ac_ext <<_ACEOF
28182 /* end confdefs.h.  */
28183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28184    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28185 #define $ac_func innocuous_$ac_func
28186
28187 /* System header to define __stub macros and hopefully few prototypes,
28188     which can conflict with char $ac_func (); below.
28189     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28190     <limits.h> exists even on freestanding compilers.  */
28191
28192 #ifdef __STDC__
28193 # include <limits.h>
28194 #else
28195 # include <assert.h>
28196 #endif
28197
28198 #undef $ac_func
28199
28200 /* Override any gcc2 internal prototype to avoid an error.  */
28201 #ifdef __cplusplus
28202 extern "C"
28203 {
28204 #endif
28205 /* We use char because int might match the return type of a gcc2
28206    builtin and then its argument prototype would still apply.  */
28207 char $ac_func ();
28208 /* The GNU C library defines this for functions which it implements
28209     to always fail with ENOSYS.  Some functions are actually named
28210     something starting with __ and the normal name is an alias.  */
28211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28212 choke me
28213 #else
28214 char (*f) () = $ac_func;
28215 #endif
28216 #ifdef __cplusplus
28217 }
28218 #endif
28219
28220 int
28221 main ()
28222 {
28223 return f != $ac_func;
28224   ;
28225   return 0;
28226 }
28227 _ACEOF
28228 rm -f conftest.$ac_objext conftest$ac_exeext
28229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28230   (eval $ac_link) 2>conftest.er1
28231   ac_status=$?
28232   grep -v '^ *+' conftest.er1 >conftest.err
28233   rm -f conftest.er1
28234   cat conftest.err >&5
28235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28236   (exit $ac_status); } &&
28237          { ac_try='test -z "$ac_c_werror_flag"
28238                          || test ! -s conftest.err'
28239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28240   (eval $ac_try) 2>&5
28241   ac_status=$?
28242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28243   (exit $ac_status); }; } &&
28244          { ac_try='test -s conftest$ac_exeext'
28245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28246   (eval $ac_try) 2>&5
28247   ac_status=$?
28248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28249   (exit $ac_status); }; }; then
28250   eval "$as_ac_var=yes"
28251 else
28252   echo "$as_me: failed program was:" >&5
28253 sed 's/^/| /' conftest.$ac_ext >&5
28254
28255 eval "$as_ac_var=no"
28256 fi
28257 rm -f conftest.err conftest.$ac_objext \
28258       conftest$ac_exeext conftest.$ac_ext
28259 fi
28260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28262 if test `eval echo '${'$as_ac_var'}'` = yes; then
28263   cat >>confdefs.h <<_ACEOF
28264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28265 _ACEOF
28266
28267 else
28268   ac_wfuncs=no
28269 fi
28270 done
28271
28272
28273     # Checks for names injected into std:: by the c_std headers.
28274
28275
28276
28277
28278
28279
28280
28281
28282
28283
28284
28285
28286
28287
28288
28289
28290
28291
28292
28293
28294
28295
28296
28297
28298
28299
28300
28301
28302
28303
28304
28305
28306
28307
28308
28309
28310
28311
28312
28313
28314
28315
28316
28317
28318
28319
28320 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
28321     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
28322     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
28323     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
28324     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
28325     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
28326 do
28327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28328 echo "$as_me:$LINENO: checking for $ac_func" >&5
28329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28330 if eval "test \"\${$as_ac_var+set}\" = set"; then
28331   echo $ECHO_N "(cached) $ECHO_C" >&6
28332 else
28333   if test x$gcc_no_link = xyes; then
28334   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28336    { (exit 1); exit 1; }; }
28337 fi
28338 cat >conftest.$ac_ext <<_ACEOF
28339 /* confdefs.h.  */
28340 _ACEOF
28341 cat confdefs.h >>conftest.$ac_ext
28342 cat >>conftest.$ac_ext <<_ACEOF
28343 /* end confdefs.h.  */
28344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28345    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28346 #define $ac_func innocuous_$ac_func
28347
28348 /* System header to define __stub macros and hopefully few prototypes,
28349     which can conflict with char $ac_func (); below.
28350     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28351     <limits.h> exists even on freestanding compilers.  */
28352
28353 #ifdef __STDC__
28354 # include <limits.h>
28355 #else
28356 # include <assert.h>
28357 #endif
28358
28359 #undef $ac_func
28360
28361 /* Override any gcc2 internal prototype to avoid an error.  */
28362 #ifdef __cplusplus
28363 extern "C"
28364 {
28365 #endif
28366 /* We use char because int might match the return type of a gcc2
28367    builtin and then its argument prototype would still apply.  */
28368 char $ac_func ();
28369 /* The GNU C library defines this for functions which it implements
28370     to always fail with ENOSYS.  Some functions are actually named
28371     something starting with __ and the normal name is an alias.  */
28372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28373 choke me
28374 #else
28375 char (*f) () = $ac_func;
28376 #endif
28377 #ifdef __cplusplus
28378 }
28379 #endif
28380
28381 int
28382 main ()
28383 {
28384 return f != $ac_func;
28385   ;
28386   return 0;
28387 }
28388 _ACEOF
28389 rm -f conftest.$ac_objext conftest$ac_exeext
28390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28391   (eval $ac_link) 2>conftest.er1
28392   ac_status=$?
28393   grep -v '^ *+' conftest.er1 >conftest.err
28394   rm -f conftest.er1
28395   cat conftest.err >&5
28396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28397   (exit $ac_status); } &&
28398          { ac_try='test -z "$ac_c_werror_flag"
28399                          || test ! -s conftest.err'
28400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28401   (eval $ac_try) 2>&5
28402   ac_status=$?
28403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28404   (exit $ac_status); }; } &&
28405          { ac_try='test -s conftest$ac_exeext'
28406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28407   (eval $ac_try) 2>&5
28408   ac_status=$?
28409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28410   (exit $ac_status); }; }; then
28411   eval "$as_ac_var=yes"
28412 else
28413   echo "$as_me: failed program was:" >&5
28414 sed 's/^/| /' conftest.$ac_ext >&5
28415
28416 eval "$as_ac_var=no"
28417 fi
28418 rm -f conftest.err conftest.$ac_objext \
28419       conftest$ac_exeext conftest.$ac_ext
28420 fi
28421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28423 if test `eval echo '${'$as_ac_var'}'` = yes; then
28424   cat >>confdefs.h <<_ACEOF
28425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28426 _ACEOF
28427
28428 else
28429   ac_wfuncs=no
28430 fi
28431 done
28432
28433
28434     # Checks for wide character functions that are not required
28435     # for basic wchar_t support.  Don't disable support if they are missing.
28436     # Injection of these is wrapped with guard macros.
28437
28438
28439
28440
28441
28442 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
28443 do
28444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28445 echo "$as_me:$LINENO: checking for $ac_func" >&5
28446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28447 if eval "test \"\${$as_ac_var+set}\" = set"; then
28448   echo $ECHO_N "(cached) $ECHO_C" >&6
28449 else
28450   if test x$gcc_no_link = xyes; then
28451   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28453    { (exit 1); exit 1; }; }
28454 fi
28455 cat >conftest.$ac_ext <<_ACEOF
28456 /* confdefs.h.  */
28457 _ACEOF
28458 cat confdefs.h >>conftest.$ac_ext
28459 cat >>conftest.$ac_ext <<_ACEOF
28460 /* end confdefs.h.  */
28461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28462    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28463 #define $ac_func innocuous_$ac_func
28464
28465 /* System header to define __stub macros and hopefully few prototypes,
28466     which can conflict with char $ac_func (); below.
28467     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28468     <limits.h> exists even on freestanding compilers.  */
28469
28470 #ifdef __STDC__
28471 # include <limits.h>
28472 #else
28473 # include <assert.h>
28474 #endif
28475
28476 #undef $ac_func
28477
28478 /* Override any gcc2 internal prototype to avoid an error.  */
28479 #ifdef __cplusplus
28480 extern "C"
28481 {
28482 #endif
28483 /* We use char because int might match the return type of a gcc2
28484    builtin and then its argument prototype would still apply.  */
28485 char $ac_func ();
28486 /* The GNU C library defines this for functions which it implements
28487     to always fail with ENOSYS.  Some functions are actually named
28488     something starting with __ and the normal name is an alias.  */
28489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28490 choke me
28491 #else
28492 char (*f) () = $ac_func;
28493 #endif
28494 #ifdef __cplusplus
28495 }
28496 #endif
28497
28498 int
28499 main ()
28500 {
28501 return f != $ac_func;
28502   ;
28503   return 0;
28504 }
28505 _ACEOF
28506 rm -f conftest.$ac_objext conftest$ac_exeext
28507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28508   (eval $ac_link) 2>conftest.er1
28509   ac_status=$?
28510   grep -v '^ *+' conftest.er1 >conftest.err
28511   rm -f conftest.er1
28512   cat conftest.err >&5
28513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28514   (exit $ac_status); } &&
28515          { ac_try='test -z "$ac_c_werror_flag"
28516                          || test ! -s conftest.err'
28517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28518   (eval $ac_try) 2>&5
28519   ac_status=$?
28520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28521   (exit $ac_status); }; } &&
28522          { ac_try='test -s conftest$ac_exeext'
28523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28524   (eval $ac_try) 2>&5
28525   ac_status=$?
28526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28527   (exit $ac_status); }; }; then
28528   eval "$as_ac_var=yes"
28529 else
28530   echo "$as_me: failed program was:" >&5
28531 sed 's/^/| /' conftest.$ac_ext >&5
28532
28533 eval "$as_ac_var=no"
28534 fi
28535 rm -f conftest.err conftest.$ac_objext \
28536       conftest$ac_exeext conftest.$ac_ext
28537 fi
28538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28540 if test `eval echo '${'$as_ac_var'}'` = yes; then
28541   cat >>confdefs.h <<_ACEOF
28542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28543 _ACEOF
28544
28545 fi
28546 done
28547
28548
28549     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
28550 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
28551     if test x"$has_weof" = xyes &&
28552        test x"$has_wchar_minmax" = xyes &&
28553        test x"$ac_wfuncs" = xyes;
28554     then
28555       ac_isoC99_wchar_t=yes
28556     else
28557       ac_isoC99_wchar_t=no
28558     fi
28559     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
28560 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
28561
28562     # Use iconv for wchar_t to char conversions. As such, check for
28563     # X/Open Portability Guide, version 2 features (XPG2).
28564     if test "${ac_cv_header_iconv_h+set}" = set; then
28565   echo "$as_me:$LINENO: checking for iconv.h" >&5
28566 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28567 if test "${ac_cv_header_iconv_h+set}" = set; then
28568   echo $ECHO_N "(cached) $ECHO_C" >&6
28569 fi
28570 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28571 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28572 else
28573   # Is the header compilable?
28574 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28575 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28576 cat >conftest.$ac_ext <<_ACEOF
28577 /* confdefs.h.  */
28578 _ACEOF
28579 cat confdefs.h >>conftest.$ac_ext
28580 cat >>conftest.$ac_ext <<_ACEOF
28581 /* end confdefs.h.  */
28582 $ac_includes_default
28583 #include <iconv.h>
28584 _ACEOF
28585 rm -f conftest.$ac_objext
28586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28587   (eval $ac_compile) 2>conftest.er1
28588   ac_status=$?
28589   grep -v '^ *+' conftest.er1 >conftest.err
28590   rm -f conftest.er1
28591   cat conftest.err >&5
28592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28593   (exit $ac_status); } &&
28594          { ac_try='test -z "$ac_c_werror_flag"
28595                          || test ! -s conftest.err'
28596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28597   (eval $ac_try) 2>&5
28598   ac_status=$?
28599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28600   (exit $ac_status); }; } &&
28601          { ac_try='test -s conftest.$ac_objext'
28602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28603   (eval $ac_try) 2>&5
28604   ac_status=$?
28605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28606   (exit $ac_status); }; }; then
28607   ac_header_compiler=yes
28608 else
28609   echo "$as_me: failed program was:" >&5
28610 sed 's/^/| /' conftest.$ac_ext >&5
28611
28612 ac_header_compiler=no
28613 fi
28614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28615 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28616 echo "${ECHO_T}$ac_header_compiler" >&6
28617
28618 # Is the header present?
28619 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28620 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28621 cat >conftest.$ac_ext <<_ACEOF
28622 /* confdefs.h.  */
28623 _ACEOF
28624 cat confdefs.h >>conftest.$ac_ext
28625 cat >>conftest.$ac_ext <<_ACEOF
28626 /* end confdefs.h.  */
28627 #include <iconv.h>
28628 _ACEOF
28629 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28630   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28631   ac_status=$?
28632   grep -v '^ *+' conftest.er1 >conftest.err
28633   rm -f conftest.er1
28634   cat conftest.err >&5
28635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28636   (exit $ac_status); } >/dev/null; then
28637   if test -s conftest.err; then
28638     ac_cpp_err=$ac_c_preproc_warn_flag
28639     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28640   else
28641     ac_cpp_err=
28642   fi
28643 else
28644   ac_cpp_err=yes
28645 fi
28646 if test -z "$ac_cpp_err"; then
28647   ac_header_preproc=yes
28648 else
28649   echo "$as_me: failed program was:" >&5
28650 sed 's/^/| /' conftest.$ac_ext >&5
28651
28652   ac_header_preproc=no
28653 fi
28654 rm -f conftest.err conftest.$ac_ext
28655 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28656 echo "${ECHO_T}$ac_header_preproc" >&6
28657
28658 # So?  What about this header?
28659 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28660   yes:no: )
28661     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28662 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28663     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28664 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28665     ac_header_preproc=yes
28666     ;;
28667   no:yes:* )
28668     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28669 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28670     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
28671 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
28672     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28673 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28674     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
28675 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28676     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28677 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28678     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28679 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28680     (
28681       cat <<\_ASBOX
28682 ## ----------------------------------------- ##
28683 ## Report this to the package-unused lists.  ##
28684 ## ----------------------------------------- ##
28685 _ASBOX
28686     ) |
28687       sed "s/^/$as_me: WARNING:     /" >&2
28688     ;;
28689 esac
28690 echo "$as_me:$LINENO: checking for iconv.h" >&5
28691 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28692 if test "${ac_cv_header_iconv_h+set}" = set; then
28693   echo $ECHO_N "(cached) $ECHO_C" >&6
28694 else
28695   ac_cv_header_iconv_h=$ac_header_preproc
28696 fi
28697 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28698 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28699
28700 fi
28701 if test $ac_cv_header_iconv_h = yes; then
28702   ac_has_iconv_h=yes
28703 else
28704   ac_has_iconv_h=no
28705 fi
28706
28707
28708     if test "${ac_cv_header_langinfo_h+set}" = set; then
28709   echo "$as_me:$LINENO: checking for langinfo.h" >&5
28710 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28711 if test "${ac_cv_header_langinfo_h+set}" = set; then
28712   echo $ECHO_N "(cached) $ECHO_C" >&6
28713 fi
28714 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28715 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28716 else
28717   # Is the header compilable?
28718 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28719 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28720 cat >conftest.$ac_ext <<_ACEOF
28721 /* confdefs.h.  */
28722 _ACEOF
28723 cat confdefs.h >>conftest.$ac_ext
28724 cat >>conftest.$ac_ext <<_ACEOF
28725 /* end confdefs.h.  */
28726 $ac_includes_default
28727 #include <langinfo.h>
28728 _ACEOF
28729 rm -f conftest.$ac_objext
28730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28731   (eval $ac_compile) 2>conftest.er1
28732   ac_status=$?
28733   grep -v '^ *+' conftest.er1 >conftest.err
28734   rm -f conftest.er1
28735   cat conftest.err >&5
28736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28737   (exit $ac_status); } &&
28738          { ac_try='test -z "$ac_c_werror_flag"
28739                          || test ! -s conftest.err'
28740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28741   (eval $ac_try) 2>&5
28742   ac_status=$?
28743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28744   (exit $ac_status); }; } &&
28745          { ac_try='test -s conftest.$ac_objext'
28746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28747   (eval $ac_try) 2>&5
28748   ac_status=$?
28749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28750   (exit $ac_status); }; }; then
28751   ac_header_compiler=yes
28752 else
28753   echo "$as_me: failed program was:" >&5
28754 sed 's/^/| /' conftest.$ac_ext >&5
28755
28756 ac_header_compiler=no
28757 fi
28758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28759 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28760 echo "${ECHO_T}$ac_header_compiler" >&6
28761
28762 # Is the header present?
28763 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28764 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28765 cat >conftest.$ac_ext <<_ACEOF
28766 /* confdefs.h.  */
28767 _ACEOF
28768 cat confdefs.h >>conftest.$ac_ext
28769 cat >>conftest.$ac_ext <<_ACEOF
28770 /* end confdefs.h.  */
28771 #include <langinfo.h>
28772 _ACEOF
28773 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28774   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28775   ac_status=$?
28776   grep -v '^ *+' conftest.er1 >conftest.err
28777   rm -f conftest.er1
28778   cat conftest.err >&5
28779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28780   (exit $ac_status); } >/dev/null; then
28781   if test -s conftest.err; then
28782     ac_cpp_err=$ac_c_preproc_warn_flag
28783     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28784   else
28785     ac_cpp_err=
28786   fi
28787 else
28788   ac_cpp_err=yes
28789 fi
28790 if test -z "$ac_cpp_err"; then
28791   ac_header_preproc=yes
28792 else
28793   echo "$as_me: failed program was:" >&5
28794 sed 's/^/| /' conftest.$ac_ext >&5
28795
28796   ac_header_preproc=no
28797 fi
28798 rm -f conftest.err conftest.$ac_ext
28799 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28800 echo "${ECHO_T}$ac_header_preproc" >&6
28801
28802 # So?  What about this header?
28803 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28804   yes:no: )
28805     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28806 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28807     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28808 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28809     ac_header_preproc=yes
28810     ;;
28811   no:yes:* )
28812     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28813 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28814     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
28815 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
28816     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28817 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28818     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
28819 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28820     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28821 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28822     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28823 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28824     (
28825       cat <<\_ASBOX
28826 ## ----------------------------------------- ##
28827 ## Report this to the package-unused lists.  ##
28828 ## ----------------------------------------- ##
28829 _ASBOX
28830     ) |
28831       sed "s/^/$as_me: WARNING:     /" >&2
28832     ;;
28833 esac
28834 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28835 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28836 if test "${ac_cv_header_langinfo_h+set}" = set; then
28837   echo $ECHO_N "(cached) $ECHO_C" >&6
28838 else
28839   ac_cv_header_langinfo_h=$ac_header_preproc
28840 fi
28841 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28842 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28843
28844 fi
28845 if test $ac_cv_header_langinfo_h = yes; then
28846   ac_has_langinfo_h=yes
28847 else
28848   ac_has_langinfo_h=no
28849 fi
28850
28851
28852
28853     # Check for existence of libiconv.a providing XPG2 wchar_t support.
28854     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28855 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28856 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28857   echo $ECHO_N "(cached) $ECHO_C" >&6
28858 else
28859   ac_check_lib_save_LIBS=$LIBS
28860 LIBS="-liconv  $LIBS"
28861 if test x$gcc_no_link = xyes; then
28862   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28864    { (exit 1); exit 1; }; }
28865 fi
28866 cat >conftest.$ac_ext <<_ACEOF
28867 /* confdefs.h.  */
28868 _ACEOF
28869 cat confdefs.h >>conftest.$ac_ext
28870 cat >>conftest.$ac_ext <<_ACEOF
28871 /* end confdefs.h.  */
28872
28873 /* Override any gcc2 internal prototype to avoid an error.  */
28874 #ifdef __cplusplus
28875 extern "C"
28876 #endif
28877 /* We use char because int might match the return type of a gcc2
28878    builtin and then its argument prototype would still apply.  */
28879 char iconv ();
28880 int
28881 main ()
28882 {
28883 iconv ();
28884   ;
28885   return 0;
28886 }
28887 _ACEOF
28888 rm -f conftest.$ac_objext conftest$ac_exeext
28889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28890   (eval $ac_link) 2>conftest.er1
28891   ac_status=$?
28892   grep -v '^ *+' conftest.er1 >conftest.err
28893   rm -f conftest.er1
28894   cat conftest.err >&5
28895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28896   (exit $ac_status); } &&
28897          { ac_try='test -z "$ac_c_werror_flag"
28898                          || test ! -s conftest.err'
28899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28900   (eval $ac_try) 2>&5
28901   ac_status=$?
28902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28903   (exit $ac_status); }; } &&
28904          { ac_try='test -s conftest$ac_exeext'
28905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28906   (eval $ac_try) 2>&5
28907   ac_status=$?
28908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28909   (exit $ac_status); }; }; then
28910   ac_cv_lib_iconv_iconv=yes
28911 else
28912   echo "$as_me: failed program was:" >&5
28913 sed 's/^/| /' conftest.$ac_ext >&5
28914
28915 ac_cv_lib_iconv_iconv=no
28916 fi
28917 rm -f conftest.err conftest.$ac_objext \
28918       conftest$ac_exeext conftest.$ac_ext
28919 LIBS=$ac_check_lib_save_LIBS
28920 fi
28921 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28922 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28923 if test $ac_cv_lib_iconv_iconv = yes; then
28924   LIBICONV="-liconv"
28925 fi
28926
28927     ac_save_LIBS="$LIBS"
28928     LIBS="$LIBS $LIBICONV"
28929
28930
28931
28932
28933
28934
28935 for ac_func in iconv_open iconv_close iconv nl_langinfo
28936 do
28937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28938 echo "$as_me:$LINENO: checking for $ac_func" >&5
28939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28940 if eval "test \"\${$as_ac_var+set}\" = set"; then
28941   echo $ECHO_N "(cached) $ECHO_C" >&6
28942 else
28943   if test x$gcc_no_link = xyes; then
28944   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28946    { (exit 1); exit 1; }; }
28947 fi
28948 cat >conftest.$ac_ext <<_ACEOF
28949 /* confdefs.h.  */
28950 _ACEOF
28951 cat confdefs.h >>conftest.$ac_ext
28952 cat >>conftest.$ac_ext <<_ACEOF
28953 /* end confdefs.h.  */
28954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28955    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28956 #define $ac_func innocuous_$ac_func
28957
28958 /* System header to define __stub macros and hopefully few prototypes,
28959     which can conflict with char $ac_func (); below.
28960     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28961     <limits.h> exists even on freestanding compilers.  */
28962
28963 #ifdef __STDC__
28964 # include <limits.h>
28965 #else
28966 # include <assert.h>
28967 #endif
28968
28969 #undef $ac_func
28970
28971 /* Override any gcc2 internal prototype to avoid an error.  */
28972 #ifdef __cplusplus
28973 extern "C"
28974 {
28975 #endif
28976 /* We use char because int might match the return type of a gcc2
28977    builtin and then its argument prototype would still apply.  */
28978 char $ac_func ();
28979 /* The GNU C library defines this for functions which it implements
28980     to always fail with ENOSYS.  Some functions are actually named
28981     something starting with __ and the normal name is an alias.  */
28982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28983 choke me
28984 #else
28985 char (*f) () = $ac_func;
28986 #endif
28987 #ifdef __cplusplus
28988 }
28989 #endif
28990
28991 int
28992 main ()
28993 {
28994 return f != $ac_func;
28995   ;
28996   return 0;
28997 }
28998 _ACEOF
28999 rm -f conftest.$ac_objext conftest$ac_exeext
29000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29001   (eval $ac_link) 2>conftest.er1
29002   ac_status=$?
29003   grep -v '^ *+' conftest.er1 >conftest.err
29004   rm -f conftest.er1
29005   cat conftest.err >&5
29006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29007   (exit $ac_status); } &&
29008          { ac_try='test -z "$ac_c_werror_flag"
29009                          || test ! -s conftest.err'
29010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29011   (eval $ac_try) 2>&5
29012   ac_status=$?
29013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29014   (exit $ac_status); }; } &&
29015          { ac_try='test -s conftest$ac_exeext'
29016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29017   (eval $ac_try) 2>&5
29018   ac_status=$?
29019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29020   (exit $ac_status); }; }; then
29021   eval "$as_ac_var=yes"
29022 else
29023   echo "$as_me: failed program was:" >&5
29024 sed 's/^/| /' conftest.$ac_ext >&5
29025
29026 eval "$as_ac_var=no"
29027 fi
29028 rm -f conftest.err conftest.$ac_objext \
29029       conftest$ac_exeext conftest.$ac_ext
29030 fi
29031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29033 if test `eval echo '${'$as_ac_var'}'` = yes; then
29034   cat >>confdefs.h <<_ACEOF
29035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29036 _ACEOF
29037  ac_XPG2funcs=yes
29038 else
29039   ac_XPG2funcs=no
29040 fi
29041 done
29042
29043
29044     LIBS="$ac_save_LIBS"
29045
29046     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
29047 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
29048     if test x"$ac_has_iconv_h" = xyes &&
29049        test x"$ac_has_langinfo_h" = xyes &&
29050        test x"$ac_XPG2funcs" = xyes;
29051     then
29052       ac_XPG2_wchar_t=yes
29053     else
29054       ac_XPG2_wchar_t=no
29055     fi
29056     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
29057 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
29058
29059     # At the moment, only enable wchar_t specializations if all the
29060     # above support is present.
29061     if test x"$ac_isoC99_wchar_t" = xyes &&
29062        test x"$ac_XPG2_wchar_t" = xyes;
29063     then
29064       cat >>confdefs.h <<\_ACEOF
29065 #define _GLIBCXX_USE_WCHAR_T 1
29066 _ACEOF
29067
29068       enable_wchar_t=yes
29069     fi
29070   fi
29071   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
29072 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
29073   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
29074 echo "${ECHO_T}$enable_wchar_t" >&6
29075
29076
29077   ac_test_CXXFLAGS="${CXXFLAGS+set}"
29078   ac_save_CXXFLAGS="$CXXFLAGS"
29079   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29080
29081
29082   echo "$as_me:$LINENO: checking for strtold declaration" >&5
29083 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
29084   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
29085     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
29086   echo $ECHO_N "(cached) $ECHO_C" >&6
29087 else
29088
29089
29090
29091       ac_ext=cc
29092 ac_cpp='$CXXCPP $CPPFLAGS'
29093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29096
29097       cat >conftest.$ac_ext <<_ACEOF
29098 /* confdefs.h.  */
29099 _ACEOF
29100 cat confdefs.h >>conftest.$ac_ext
29101 cat >>conftest.$ac_ext <<_ACEOF
29102 /* end confdefs.h.  */
29103 #include <stdlib.h>
29104 int
29105 main ()
29106 {
29107  strtold(0, 0);
29108   ;
29109   return 0;
29110 }
29111 _ACEOF
29112 rm -f conftest.$ac_objext
29113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29114   (eval $ac_compile) 2>conftest.er1
29115   ac_status=$?
29116   grep -v '^ *+' conftest.er1 >conftest.err
29117   rm -f conftest.er1
29118   cat conftest.err >&5
29119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29120   (exit $ac_status); } &&
29121          { ac_try='test -z "$ac_cxx_werror_flag"
29122                          || test ! -s conftest.err'
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); }; } &&
29128          { ac_try='test -s conftest.$ac_objext'
29129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29130   (eval $ac_try) 2>&5
29131   ac_status=$?
29132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29133   (exit $ac_status); }; }; then
29134   glibcxx_cv_func_strtold_use=yes
29135 else
29136   echo "$as_me: failed program was:" >&5
29137 sed 's/^/| /' conftest.$ac_ext >&5
29138
29139 glibcxx_cv_func_strtold_use=no
29140 fi
29141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29142       ac_ext=c
29143 ac_cpp='$CPP $CPPFLAGS'
29144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29147
29148
29149 fi
29150
29151   fi
29152   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
29153 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
29154   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
29155
29156 for ac_func in strtold
29157 do
29158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29159 echo "$as_me:$LINENO: checking for $ac_func" >&5
29160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29161 if eval "test \"\${$as_ac_var+set}\" = set"; then
29162   echo $ECHO_N "(cached) $ECHO_C" >&6
29163 else
29164   if test x$gcc_no_link = xyes; then
29165   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29167    { (exit 1); exit 1; }; }
29168 fi
29169 cat >conftest.$ac_ext <<_ACEOF
29170 /* confdefs.h.  */
29171 _ACEOF
29172 cat confdefs.h >>conftest.$ac_ext
29173 cat >>conftest.$ac_ext <<_ACEOF
29174 /* end confdefs.h.  */
29175 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29176    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29177 #define $ac_func innocuous_$ac_func
29178
29179 /* System header to define __stub macros and hopefully few prototypes,
29180     which can conflict with char $ac_func (); below.
29181     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29182     <limits.h> exists even on freestanding compilers.  */
29183
29184 #ifdef __STDC__
29185 # include <limits.h>
29186 #else
29187 # include <assert.h>
29188 #endif
29189
29190 #undef $ac_func
29191
29192 /* Override any gcc2 internal prototype to avoid an error.  */
29193 #ifdef __cplusplus
29194 extern "C"
29195 {
29196 #endif
29197 /* We use char because int might match the return type of a gcc2
29198    builtin and then its argument prototype would still apply.  */
29199 char $ac_func ();
29200 /* The GNU C library defines this for functions which it implements
29201     to always fail with ENOSYS.  Some functions are actually named
29202     something starting with __ and the normal name is an alias.  */
29203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29204 choke me
29205 #else
29206 char (*f) () = $ac_func;
29207 #endif
29208 #ifdef __cplusplus
29209 }
29210 #endif
29211
29212 int
29213 main ()
29214 {
29215 return f != $ac_func;
29216   ;
29217   return 0;
29218 }
29219 _ACEOF
29220 rm -f conftest.$ac_objext conftest$ac_exeext
29221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29222   (eval $ac_link) 2>conftest.er1
29223   ac_status=$?
29224   grep -v '^ *+' conftest.er1 >conftest.err
29225   rm -f conftest.er1
29226   cat conftest.err >&5
29227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29228   (exit $ac_status); } &&
29229          { ac_try='test -z "$ac_c_werror_flag"
29230                          || test ! -s conftest.err'
29231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29232   (eval $ac_try) 2>&5
29233   ac_status=$?
29234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29235   (exit $ac_status); }; } &&
29236          { ac_try='test -s conftest$ac_exeext'
29237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29238   (eval $ac_try) 2>&5
29239   ac_status=$?
29240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29241   (exit $ac_status); }; }; then
29242   eval "$as_ac_var=yes"
29243 else
29244   echo "$as_me: failed program was:" >&5
29245 sed 's/^/| /' conftest.$ac_ext >&5
29246
29247 eval "$as_ac_var=no"
29248 fi
29249 rm -f conftest.err conftest.$ac_objext \
29250       conftest$ac_exeext conftest.$ac_ext
29251 fi
29252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29253 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29254 if test `eval echo '${'$as_ac_var'}'` = yes; then
29255   cat >>confdefs.h <<_ACEOF
29256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29257 _ACEOF
29258
29259 fi
29260 done
29261
29262   fi
29263
29264
29265   echo "$as_me:$LINENO: checking for strtof declaration" >&5
29266 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29267   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29268     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29269   echo $ECHO_N "(cached) $ECHO_C" >&6
29270 else
29271
29272
29273
29274       ac_ext=cc
29275 ac_cpp='$CXXCPP $CPPFLAGS'
29276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29279
29280       cat >conftest.$ac_ext <<_ACEOF
29281 /* confdefs.h.  */
29282 _ACEOF
29283 cat confdefs.h >>conftest.$ac_ext
29284 cat >>conftest.$ac_ext <<_ACEOF
29285 /* end confdefs.h.  */
29286 #include <stdlib.h>
29287 int
29288 main ()
29289 {
29290  strtof(0, 0);
29291   ;
29292   return 0;
29293 }
29294 _ACEOF
29295 rm -f conftest.$ac_objext
29296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29297   (eval $ac_compile) 2>conftest.er1
29298   ac_status=$?
29299   grep -v '^ *+' conftest.er1 >conftest.err
29300   rm -f conftest.er1
29301   cat conftest.err >&5
29302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29303   (exit $ac_status); } &&
29304          { ac_try='test -z "$ac_cxx_werror_flag"
29305                          || test ! -s conftest.err'
29306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29307   (eval $ac_try) 2>&5
29308   ac_status=$?
29309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29310   (exit $ac_status); }; } &&
29311          { ac_try='test -s conftest.$ac_objext'
29312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29313   (eval $ac_try) 2>&5
29314   ac_status=$?
29315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29316   (exit $ac_status); }; }; then
29317   glibcxx_cv_func_strtof_use=yes
29318 else
29319   echo "$as_me: failed program was:" >&5
29320 sed 's/^/| /' conftest.$ac_ext >&5
29321
29322 glibcxx_cv_func_strtof_use=no
29323 fi
29324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29325       ac_ext=c
29326 ac_cpp='$CPP $CPPFLAGS'
29327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29330
29331
29332 fi
29333
29334   fi
29335   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29336 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29337   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29338
29339 for ac_func in strtof
29340 do
29341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29342 echo "$as_me:$LINENO: checking for $ac_func" >&5
29343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29344 if eval "test \"\${$as_ac_var+set}\" = set"; then
29345   echo $ECHO_N "(cached) $ECHO_C" >&6
29346 else
29347   if test x$gcc_no_link = xyes; then
29348   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29350    { (exit 1); exit 1; }; }
29351 fi
29352 cat >conftest.$ac_ext <<_ACEOF
29353 /* confdefs.h.  */
29354 _ACEOF
29355 cat confdefs.h >>conftest.$ac_ext
29356 cat >>conftest.$ac_ext <<_ACEOF
29357 /* end confdefs.h.  */
29358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29359    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29360 #define $ac_func innocuous_$ac_func
29361
29362 /* System header to define __stub macros and hopefully few prototypes,
29363     which can conflict with char $ac_func (); below.
29364     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29365     <limits.h> exists even on freestanding compilers.  */
29366
29367 #ifdef __STDC__
29368 # include <limits.h>
29369 #else
29370 # include <assert.h>
29371 #endif
29372
29373 #undef $ac_func
29374
29375 /* Override any gcc2 internal prototype to avoid an error.  */
29376 #ifdef __cplusplus
29377 extern "C"
29378 {
29379 #endif
29380 /* We use char because int might match the return type of a gcc2
29381    builtin and then its argument prototype would still apply.  */
29382 char $ac_func ();
29383 /* The GNU C library defines this for functions which it implements
29384     to always fail with ENOSYS.  Some functions are actually named
29385     something starting with __ and the normal name is an alias.  */
29386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29387 choke me
29388 #else
29389 char (*f) () = $ac_func;
29390 #endif
29391 #ifdef __cplusplus
29392 }
29393 #endif
29394
29395 int
29396 main ()
29397 {
29398 return f != $ac_func;
29399   ;
29400   return 0;
29401 }
29402 _ACEOF
29403 rm -f conftest.$ac_objext conftest$ac_exeext
29404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29405   (eval $ac_link) 2>conftest.er1
29406   ac_status=$?
29407   grep -v '^ *+' conftest.er1 >conftest.err
29408   rm -f conftest.er1
29409   cat conftest.err >&5
29410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29411   (exit $ac_status); } &&
29412          { ac_try='test -z "$ac_c_werror_flag"
29413                          || test ! -s conftest.err'
29414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29415   (eval $ac_try) 2>&5
29416   ac_status=$?
29417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29418   (exit $ac_status); }; } &&
29419          { ac_try='test -s conftest$ac_exeext'
29420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29421   (eval $ac_try) 2>&5
29422   ac_status=$?
29423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29424   (exit $ac_status); }; }; then
29425   eval "$as_ac_var=yes"
29426 else
29427   echo "$as_me: failed program was:" >&5
29428 sed 's/^/| /' conftest.$ac_ext >&5
29429
29430 eval "$as_ac_var=no"
29431 fi
29432 rm -f conftest.err conftest.$ac_objext \
29433       conftest$ac_exeext conftest.$ac_ext
29434 fi
29435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29437 if test `eval echo '${'$as_ac_var'}'` = yes; then
29438   cat >>confdefs.h <<_ACEOF
29439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29440 _ACEOF
29441
29442 fi
29443 done
29444
29445   fi
29446
29447
29448   CXXFLAGS="$ac_save_CXXFLAGS"
29449
29450
29451   # For showmanyc_helper().
29452
29453
29454 for ac_header in sys/ioctl.h sys/filio.h
29455 do
29456 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29457 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29458   echo "$as_me:$LINENO: checking for $ac_header" >&5
29459 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29461   echo $ECHO_N "(cached) $ECHO_C" >&6
29462 fi
29463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29464 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29465 else
29466   # Is the header compilable?
29467 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29468 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29469 cat >conftest.$ac_ext <<_ACEOF
29470 /* confdefs.h.  */
29471 _ACEOF
29472 cat confdefs.h >>conftest.$ac_ext
29473 cat >>conftest.$ac_ext <<_ACEOF
29474 /* end confdefs.h.  */
29475 $ac_includes_default
29476 #include <$ac_header>
29477 _ACEOF
29478 rm -f conftest.$ac_objext
29479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29480   (eval $ac_compile) 2>conftest.er1
29481   ac_status=$?
29482   grep -v '^ *+' conftest.er1 >conftest.err
29483   rm -f conftest.er1
29484   cat conftest.err >&5
29485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29486   (exit $ac_status); } &&
29487          { ac_try='test -z "$ac_c_werror_flag"
29488                          || test ! -s conftest.err'
29489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29490   (eval $ac_try) 2>&5
29491   ac_status=$?
29492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29493   (exit $ac_status); }; } &&
29494          { ac_try='test -s conftest.$ac_objext'
29495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29496   (eval $ac_try) 2>&5
29497   ac_status=$?
29498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29499   (exit $ac_status); }; }; then
29500   ac_header_compiler=yes
29501 else
29502   echo "$as_me: failed program was:" >&5
29503 sed 's/^/| /' conftest.$ac_ext >&5
29504
29505 ac_header_compiler=no
29506 fi
29507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29508 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29509 echo "${ECHO_T}$ac_header_compiler" >&6
29510
29511 # Is the header present?
29512 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29513 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29514 cat >conftest.$ac_ext <<_ACEOF
29515 /* confdefs.h.  */
29516 _ACEOF
29517 cat confdefs.h >>conftest.$ac_ext
29518 cat >>conftest.$ac_ext <<_ACEOF
29519 /* end confdefs.h.  */
29520 #include <$ac_header>
29521 _ACEOF
29522 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29523   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29524   ac_status=$?
29525   grep -v '^ *+' conftest.er1 >conftest.err
29526   rm -f conftest.er1
29527   cat conftest.err >&5
29528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29529   (exit $ac_status); } >/dev/null; then
29530   if test -s conftest.err; then
29531     ac_cpp_err=$ac_c_preproc_warn_flag
29532     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29533   else
29534     ac_cpp_err=
29535   fi
29536 else
29537   ac_cpp_err=yes
29538 fi
29539 if test -z "$ac_cpp_err"; then
29540   ac_header_preproc=yes
29541 else
29542   echo "$as_me: failed program was:" >&5
29543 sed 's/^/| /' conftest.$ac_ext >&5
29544
29545   ac_header_preproc=no
29546 fi
29547 rm -f conftest.err conftest.$ac_ext
29548 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29549 echo "${ECHO_T}$ac_header_preproc" >&6
29550
29551 # So?  What about this header?
29552 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29553   yes:no: )
29554     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29555 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29556     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29557 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29558     ac_header_preproc=yes
29559     ;;
29560   no:yes:* )
29561     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29562 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29563     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29564 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29565     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29566 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29567     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29568 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29569     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29570 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29571     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29572 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29573     (
29574       cat <<\_ASBOX
29575 ## ----------------------------------------- ##
29576 ## Report this to the package-unused lists.  ##
29577 ## ----------------------------------------- ##
29578 _ASBOX
29579     ) |
29580       sed "s/^/$as_me: WARNING:     /" >&2
29581     ;;
29582 esac
29583 echo "$as_me:$LINENO: checking for $ac_header" >&5
29584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29585 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29586   echo $ECHO_N "(cached) $ECHO_C" >&6
29587 else
29588   eval "$as_ac_Header=\$ac_header_preproc"
29589 fi
29590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29591 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29592
29593 fi
29594 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29595   cat >>confdefs.h <<_ACEOF
29596 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29597 _ACEOF
29598
29599 fi
29600
29601 done
29602
29603
29604   if test "${glibcxx_cv_POLL+set}" = set; then
29605   echo $ECHO_N "(cached) $ECHO_C" >&6
29606 else
29607
29608     if test x$gcc_no_link = xyes; then
29609   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29611    { (exit 1); exit 1; }; }
29612 fi
29613 cat >conftest.$ac_ext <<_ACEOF
29614 /* confdefs.h.  */
29615 _ACEOF
29616 cat confdefs.h >>conftest.$ac_ext
29617 cat >>conftest.$ac_ext <<_ACEOF
29618 /* end confdefs.h.  */
29619 #include <poll.h>
29620 int
29621 main ()
29622 {
29623 struct pollfd pfd[1];
29624        pfd[0].events = POLLIN;
29625        poll(pfd, 1, 0);
29626   ;
29627   return 0;
29628 }
29629 _ACEOF
29630 rm -f conftest.$ac_objext conftest$ac_exeext
29631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29632   (eval $ac_link) 2>conftest.er1
29633   ac_status=$?
29634   grep -v '^ *+' conftest.er1 >conftest.err
29635   rm -f conftest.er1
29636   cat conftest.err >&5
29637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29638   (exit $ac_status); } &&
29639          { ac_try='test -z "$ac_c_werror_flag"
29640                          || test ! -s conftest.err'
29641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29642   (eval $ac_try) 2>&5
29643   ac_status=$?
29644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29645   (exit $ac_status); }; } &&
29646          { ac_try='test -s conftest$ac_exeext'
29647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29648   (eval $ac_try) 2>&5
29649   ac_status=$?
29650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29651   (exit $ac_status); }; }; then
29652   glibcxx_cv_POLL=yes
29653 else
29654   echo "$as_me: failed program was:" >&5
29655 sed 's/^/| /' conftest.$ac_ext >&5
29656
29657 glibcxx_cv_POLL=no
29658 fi
29659 rm -f conftest.err conftest.$ac_objext \
29660       conftest$ac_exeext conftest.$ac_ext
29661
29662 fi
29663
29664   if test $glibcxx_cv_POLL = yes; then
29665     cat >>confdefs.h <<\_ACEOF
29666 #define HAVE_POLL 1
29667 _ACEOF
29668
29669   fi
29670
29671
29672   if test "${glibcxx_cv_S_ISREG+set}" = set; then
29673   echo $ECHO_N "(cached) $ECHO_C" >&6
29674 else
29675
29676     if test x$gcc_no_link = xyes; then
29677   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29679    { (exit 1); exit 1; }; }
29680 fi
29681 cat >conftest.$ac_ext <<_ACEOF
29682 /* confdefs.h.  */
29683 _ACEOF
29684 cat confdefs.h >>conftest.$ac_ext
29685 cat >>conftest.$ac_ext <<_ACEOF
29686 /* end confdefs.h.  */
29687 #include <sys/stat.h>
29688 int
29689 main ()
29690 {
29691 struct stat buffer;
29692        fstat(0, &buffer);
29693        S_ISREG(buffer.st_mode);
29694   ;
29695   return 0;
29696 }
29697 _ACEOF
29698 rm -f conftest.$ac_objext conftest$ac_exeext
29699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29700   (eval $ac_link) 2>conftest.er1
29701   ac_status=$?
29702   grep -v '^ *+' conftest.er1 >conftest.err
29703   rm -f conftest.er1
29704   cat conftest.err >&5
29705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29706   (exit $ac_status); } &&
29707          { ac_try='test -z "$ac_c_werror_flag"
29708                          || test ! -s conftest.err'
29709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29710   (eval $ac_try) 2>&5
29711   ac_status=$?
29712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29713   (exit $ac_status); }; } &&
29714          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
29720   glibcxx_cv_S_ISREG=yes
29721 else
29722   echo "$as_me: failed program was:" >&5
29723 sed 's/^/| /' conftest.$ac_ext >&5
29724
29725 glibcxx_cv_S_ISREG=no
29726 fi
29727 rm -f conftest.err conftest.$ac_objext \
29728       conftest$ac_exeext conftest.$ac_ext
29729
29730 fi
29731
29732   if test "${glibcxx_cv_S_IFREG+set}" = set; then
29733   echo $ECHO_N "(cached) $ECHO_C" >&6
29734 else
29735
29736     if test x$gcc_no_link = xyes; then
29737   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29739    { (exit 1); exit 1; }; }
29740 fi
29741 cat >conftest.$ac_ext <<_ACEOF
29742 /* confdefs.h.  */
29743 _ACEOF
29744 cat confdefs.h >>conftest.$ac_ext
29745 cat >>conftest.$ac_ext <<_ACEOF
29746 /* end confdefs.h.  */
29747 #include <sys/stat.h>
29748 int
29749 main ()
29750 {
29751 struct stat buffer;
29752        fstat(0, &buffer);
29753        S_IFREG & buffer.st_mode;
29754   ;
29755   return 0;
29756 }
29757 _ACEOF
29758 rm -f conftest.$ac_objext conftest$ac_exeext
29759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29760   (eval $ac_link) 2>conftest.er1
29761   ac_status=$?
29762   grep -v '^ *+' conftest.er1 >conftest.err
29763   rm -f conftest.er1
29764   cat conftest.err >&5
29765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29766   (exit $ac_status); } &&
29767          { ac_try='test -z "$ac_c_werror_flag"
29768                          || test ! -s conftest.err'
29769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29770   (eval $ac_try) 2>&5
29771   ac_status=$?
29772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29773   (exit $ac_status); }; } &&
29774          { ac_try='test -s conftest$ac_exeext'
29775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29776   (eval $ac_try) 2>&5
29777   ac_status=$?
29778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29779   (exit $ac_status); }; }; then
29780   glibcxx_cv_S_IFREG=yes
29781 else
29782   echo "$as_me: failed program was:" >&5
29783 sed 's/^/| /' conftest.$ac_ext >&5
29784
29785 glibcxx_cv_S_IFREG=no
29786 fi
29787 rm -f conftest.err conftest.$ac_objext \
29788       conftest$ac_exeext conftest.$ac_ext
29789
29790 fi
29791
29792   if test $glibcxx_cv_S_ISREG = yes; then
29793     cat >>confdefs.h <<\_ACEOF
29794 #define HAVE_S_ISREG 1
29795 _ACEOF
29796
29797   elif test $glibcxx_cv_S_IFREG = yes; then
29798     cat >>confdefs.h <<\_ACEOF
29799 #define HAVE_S_IFREG 1
29800 _ACEOF
29801
29802   fi
29803
29804
29805   # For xsputn_2().
29806
29807 for ac_header in sys/uio.h
29808 do
29809 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29811   echo "$as_me:$LINENO: checking for $ac_header" >&5
29812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29814   echo $ECHO_N "(cached) $ECHO_C" >&6
29815 fi
29816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29817 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29818 else
29819   # Is the header compilable?
29820 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29821 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29822 cat >conftest.$ac_ext <<_ACEOF
29823 /* confdefs.h.  */
29824 _ACEOF
29825 cat confdefs.h >>conftest.$ac_ext
29826 cat >>conftest.$ac_ext <<_ACEOF
29827 /* end confdefs.h.  */
29828 $ac_includes_default
29829 #include <$ac_header>
29830 _ACEOF
29831 rm -f conftest.$ac_objext
29832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29833   (eval $ac_compile) 2>conftest.er1
29834   ac_status=$?
29835   grep -v '^ *+' conftest.er1 >conftest.err
29836   rm -f conftest.er1
29837   cat conftest.err >&5
29838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29839   (exit $ac_status); } &&
29840          { ac_try='test -z "$ac_c_werror_flag"
29841                          || test ! -s conftest.err'
29842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29843   (eval $ac_try) 2>&5
29844   ac_status=$?
29845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29846   (exit $ac_status); }; } &&
29847          { ac_try='test -s conftest.$ac_objext'
29848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29849   (eval $ac_try) 2>&5
29850   ac_status=$?
29851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29852   (exit $ac_status); }; }; then
29853   ac_header_compiler=yes
29854 else
29855   echo "$as_me: failed program was:" >&5
29856 sed 's/^/| /' conftest.$ac_ext >&5
29857
29858 ac_header_compiler=no
29859 fi
29860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29861 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29862 echo "${ECHO_T}$ac_header_compiler" >&6
29863
29864 # Is the header present?
29865 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29866 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29867 cat >conftest.$ac_ext <<_ACEOF
29868 /* confdefs.h.  */
29869 _ACEOF
29870 cat confdefs.h >>conftest.$ac_ext
29871 cat >>conftest.$ac_ext <<_ACEOF
29872 /* end confdefs.h.  */
29873 #include <$ac_header>
29874 _ACEOF
29875 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29876   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29877   ac_status=$?
29878   grep -v '^ *+' conftest.er1 >conftest.err
29879   rm -f conftest.er1
29880   cat conftest.err >&5
29881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29882   (exit $ac_status); } >/dev/null; then
29883   if test -s conftest.err; then
29884     ac_cpp_err=$ac_c_preproc_warn_flag
29885     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29886   else
29887     ac_cpp_err=
29888   fi
29889 else
29890   ac_cpp_err=yes
29891 fi
29892 if test -z "$ac_cpp_err"; then
29893   ac_header_preproc=yes
29894 else
29895   echo "$as_me: failed program was:" >&5
29896 sed 's/^/| /' conftest.$ac_ext >&5
29897
29898   ac_header_preproc=no
29899 fi
29900 rm -f conftest.err conftest.$ac_ext
29901 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29902 echo "${ECHO_T}$ac_header_preproc" >&6
29903
29904 # So?  What about this header?
29905 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29906   yes:no: )
29907     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29908 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29909     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29910 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29911     ac_header_preproc=yes
29912     ;;
29913   no:yes:* )
29914     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29915 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29916     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29917 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29918     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29919 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29920     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29921 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29922     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29923 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29924     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29925 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29926     (
29927       cat <<\_ASBOX
29928 ## ----------------------------------------- ##
29929 ## Report this to the package-unused lists.  ##
29930 ## ----------------------------------------- ##
29931 _ASBOX
29932     ) |
29933       sed "s/^/$as_me: WARNING:     /" >&2
29934     ;;
29935 esac
29936 echo "$as_me:$LINENO: checking for $ac_header" >&5
29937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29939   echo $ECHO_N "(cached) $ECHO_C" >&6
29940 else
29941   eval "$as_ac_Header=\$ac_header_preproc"
29942 fi
29943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29944 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29945
29946 fi
29947 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29948   cat >>confdefs.h <<_ACEOF
29949 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29950 _ACEOF
29951
29952 fi
29953
29954 done
29955
29956
29957   if test "${glibcxx_cv_WRITEV+set}" = set; then
29958   echo $ECHO_N "(cached) $ECHO_C" >&6
29959 else
29960
29961     if test x$gcc_no_link = xyes; then
29962   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29964    { (exit 1); exit 1; }; }
29965 fi
29966 cat >conftest.$ac_ext <<_ACEOF
29967 /* confdefs.h.  */
29968 _ACEOF
29969 cat confdefs.h >>conftest.$ac_ext
29970 cat >>conftest.$ac_ext <<_ACEOF
29971 /* end confdefs.h.  */
29972 #include <sys/uio.h>
29973 int
29974 main ()
29975 {
29976 struct iovec iov[2];
29977        writev(0, iov, 0);
29978   ;
29979   return 0;
29980 }
29981 _ACEOF
29982 rm -f conftest.$ac_objext conftest$ac_exeext
29983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29984   (eval $ac_link) 2>conftest.er1
29985   ac_status=$?
29986   grep -v '^ *+' conftest.er1 >conftest.err
29987   rm -f conftest.er1
29988   cat conftest.err >&5
29989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29990   (exit $ac_status); } &&
29991          { ac_try='test -z "$ac_c_werror_flag"
29992                          || test ! -s conftest.err'
29993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29994   (eval $ac_try) 2>&5
29995   ac_status=$?
29996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29997   (exit $ac_status); }; } &&
29998          { ac_try='test -s conftest$ac_exeext'
29999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30000   (eval $ac_try) 2>&5
30001   ac_status=$?
30002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30003   (exit $ac_status); }; }; then
30004   glibcxx_cv_WRITEV=yes
30005 else
30006   echo "$as_me: failed program was:" >&5
30007 sed 's/^/| /' conftest.$ac_ext >&5
30008
30009 glibcxx_cv_WRITEV=no
30010 fi
30011 rm -f conftest.err conftest.$ac_objext \
30012       conftest$ac_exeext conftest.$ac_ext
30013
30014 fi
30015
30016   if test $glibcxx_cv_WRITEV = yes; then
30017     cat >>confdefs.h <<\_ACEOF
30018 #define HAVE_WRITEV 1
30019 _ACEOF
30020
30021   fi
30022
30023
30024   # For the __streamoff_base_type typedef.
30025
30026   if test "${glibcxx_cv_INT64_T+set}" = set; then
30027   echo $ECHO_N "(cached) $ECHO_C" >&6
30028 else
30029
30030     cat >conftest.$ac_ext <<_ACEOF
30031 /* confdefs.h.  */
30032 _ACEOF
30033 cat confdefs.h >>conftest.$ac_ext
30034 cat >>conftest.$ac_ext <<_ACEOF
30035 /* end confdefs.h.  */
30036 #include <stdint.h>
30037 int
30038 main ()
30039 {
30040 int64_t var;
30041   ;
30042   return 0;
30043 }
30044 _ACEOF
30045 rm -f conftest.$ac_objext
30046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30047   (eval $ac_compile) 2>conftest.er1
30048   ac_status=$?
30049   grep -v '^ *+' conftest.er1 >conftest.err
30050   rm -f conftest.er1
30051   cat conftest.err >&5
30052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30053   (exit $ac_status); } &&
30054          { ac_try='test -z "$ac_c_werror_flag"
30055                          || test ! -s conftest.err'
30056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30057   (eval $ac_try) 2>&5
30058   ac_status=$?
30059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30060   (exit $ac_status); }; } &&
30061          { ac_try='test -s conftest.$ac_objext'
30062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30063   (eval $ac_try) 2>&5
30064   ac_status=$?
30065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30066   (exit $ac_status); }; }; then
30067   glibcxx_cv_INT64_T=yes
30068 else
30069   echo "$as_me: failed program was:" >&5
30070 sed 's/^/| /' conftest.$ac_ext >&5
30071
30072 glibcxx_cv_INT64_T=no
30073 fi
30074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30075
30076 fi
30077
30078   if test $glibcxx_cv_INT64_T = yes; then
30079     cat >>confdefs.h <<\_ACEOF
30080 #define HAVE_INT64_T 1
30081 _ACEOF
30082
30083   fi
30084
30085
30086   # For LFS support.
30087
30088
30089
30090   ac_ext=cc
30091 ac_cpp='$CXXCPP $CPPFLAGS'
30092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30095
30096   ac_save_CXXFLAGS="$CXXFLAGS"
30097   CXXFLAGS="$CXXFLAGS -fno-exceptions"
30098   if test "${glibcxx_cv_LFS+set}" = set; then
30099   echo $ECHO_N "(cached) $ECHO_C" >&6
30100 else
30101
30102     if test x$gcc_no_link = xyes; then
30103   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30105    { (exit 1); exit 1; }; }
30106 fi
30107 cat >conftest.$ac_ext <<_ACEOF
30108 /* confdefs.h.  */
30109 _ACEOF
30110 cat confdefs.h >>conftest.$ac_ext
30111 cat >>conftest.$ac_ext <<_ACEOF
30112 /* end confdefs.h.  */
30113 #include <unistd.h>
30114        #include <stdio.h>
30115
30116 int
30117 main ()
30118 {
30119 FILE* fp;
30120        fopen64("t", "w");
30121        fseeko64(fp, 0, SEEK_CUR);
30122        ftello64(fp);
30123        lseek64(1, 0, SEEK_CUR);
30124   ;
30125   return 0;
30126 }
30127 _ACEOF
30128 rm -f conftest.$ac_objext conftest$ac_exeext
30129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30130   (eval $ac_link) 2>conftest.er1
30131   ac_status=$?
30132   grep -v '^ *+' conftest.er1 >conftest.err
30133   rm -f conftest.er1
30134   cat conftest.err >&5
30135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30136   (exit $ac_status); } &&
30137          { ac_try='test -z "$ac_cxx_werror_flag"
30138                          || test ! -s conftest.err'
30139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30140   (eval $ac_try) 2>&5
30141   ac_status=$?
30142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30143   (exit $ac_status); }; } &&
30144          { ac_try='test -s conftest$ac_exeext'
30145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30146   (eval $ac_try) 2>&5
30147   ac_status=$?
30148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30149   (exit $ac_status); }; }; then
30150   glibcxx_cv_LFS=yes
30151 else
30152   echo "$as_me: failed program was:" >&5
30153 sed 's/^/| /' conftest.$ac_ext >&5
30154
30155 glibcxx_cv_LFS=no
30156 fi
30157 rm -f conftest.err conftest.$ac_objext \
30158       conftest$ac_exeext conftest.$ac_ext
30159
30160 fi
30161
30162   if test $glibcxx_cv_LFS = yes; then
30163     cat >>confdefs.h <<\_ACEOF
30164 #define _GLIBCXX_USE_LFS 1
30165 _ACEOF
30166
30167   fi
30168   CXXFLAGS="$ac_save_CXXFLAGS"
30169   ac_ext=c
30170 ac_cpp='$CPP $CPPFLAGS'
30171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30174
30175
30176
30177
30178   if test "${ac_cv_header_locale_h+set}" = set; then
30179   echo "$as_me:$LINENO: checking for locale.h" >&5
30180 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30181 if test "${ac_cv_header_locale_h+set}" = set; then
30182   echo $ECHO_N "(cached) $ECHO_C" >&6
30183 fi
30184 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30185 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30186 else
30187   # Is the header compilable?
30188 echo "$as_me:$LINENO: checking locale.h usability" >&5
30189 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
30190 cat >conftest.$ac_ext <<_ACEOF
30191 /* confdefs.h.  */
30192 _ACEOF
30193 cat confdefs.h >>conftest.$ac_ext
30194 cat >>conftest.$ac_ext <<_ACEOF
30195 /* end confdefs.h.  */
30196 $ac_includes_default
30197 #include <locale.h>
30198 _ACEOF
30199 rm -f conftest.$ac_objext
30200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30201   (eval $ac_compile) 2>conftest.er1
30202   ac_status=$?
30203   grep -v '^ *+' conftest.er1 >conftest.err
30204   rm -f conftest.er1
30205   cat conftest.err >&5
30206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30207   (exit $ac_status); } &&
30208          { ac_try='test -z "$ac_c_werror_flag"
30209                          || test ! -s conftest.err'
30210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30211   (eval $ac_try) 2>&5
30212   ac_status=$?
30213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30214   (exit $ac_status); }; } &&
30215          { ac_try='test -s conftest.$ac_objext'
30216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30217   (eval $ac_try) 2>&5
30218   ac_status=$?
30219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30220   (exit $ac_status); }; }; then
30221   ac_header_compiler=yes
30222 else
30223   echo "$as_me: failed program was:" >&5
30224 sed 's/^/| /' conftest.$ac_ext >&5
30225
30226 ac_header_compiler=no
30227 fi
30228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30229 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30230 echo "${ECHO_T}$ac_header_compiler" >&6
30231
30232 # Is the header present?
30233 echo "$as_me:$LINENO: checking locale.h presence" >&5
30234 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
30235 cat >conftest.$ac_ext <<_ACEOF
30236 /* confdefs.h.  */
30237 _ACEOF
30238 cat confdefs.h >>conftest.$ac_ext
30239 cat >>conftest.$ac_ext <<_ACEOF
30240 /* end confdefs.h.  */
30241 #include <locale.h>
30242 _ACEOF
30243 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30244   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30245   ac_status=$?
30246   grep -v '^ *+' conftest.er1 >conftest.err
30247   rm -f conftest.er1
30248   cat conftest.err >&5
30249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30250   (exit $ac_status); } >/dev/null; then
30251   if test -s conftest.err; then
30252     ac_cpp_err=$ac_c_preproc_warn_flag
30253     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30254   else
30255     ac_cpp_err=
30256   fi
30257 else
30258   ac_cpp_err=yes
30259 fi
30260 if test -z "$ac_cpp_err"; then
30261   ac_header_preproc=yes
30262 else
30263   echo "$as_me: failed program was:" >&5
30264 sed 's/^/| /' conftest.$ac_ext >&5
30265
30266   ac_header_preproc=no
30267 fi
30268 rm -f conftest.err conftest.$ac_ext
30269 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30270 echo "${ECHO_T}$ac_header_preproc" >&6
30271
30272 # So?  What about this header?
30273 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30274   yes:no: )
30275     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
30276 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30277     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
30278 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
30279     ac_header_preproc=yes
30280     ;;
30281   no:yes:* )
30282     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
30283 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
30284     { echo "$as_me:$LINENO: WARNING: locale.h:     check for missing prerequisite headers?" >&5
30285 echo "$as_me: WARNING: locale.h:     check for missing prerequisite headers?" >&2;}
30286     { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
30287 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
30288     { echo "$as_me:$LINENO: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&5
30289 echo "$as_me: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&2;}
30290     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
30291 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
30292     { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
30293 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
30294     (
30295       cat <<\_ASBOX
30296 ## ----------------------------------------- ##
30297 ## Report this to the package-unused lists.  ##
30298 ## ----------------------------------------- ##
30299 _ASBOX
30300     ) |
30301       sed "s/^/$as_me: WARNING:     /" >&2
30302     ;;
30303 esac
30304 echo "$as_me:$LINENO: checking for locale.h" >&5
30305 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30306 if test "${ac_cv_header_locale_h+set}" = set; then
30307   echo $ECHO_N "(cached) $ECHO_C" >&6
30308 else
30309   ac_cv_header_locale_h=$ac_header_preproc
30310 fi
30311 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30312 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30313
30314 fi
30315 if test $ac_cv_header_locale_h = yes; then
30316
30317     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
30318 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
30319 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
30320   echo $ECHO_N "(cached) $ECHO_C" >&6
30321 else
30322   if test x$gcc_no_link = xyes; then
30323   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30325    { (exit 1); exit 1; }; }
30326 fi
30327 cat >conftest.$ac_ext <<_ACEOF
30328 /* confdefs.h.  */
30329 _ACEOF
30330 cat confdefs.h >>conftest.$ac_ext
30331 cat >>conftest.$ac_ext <<_ACEOF
30332 /* end confdefs.h.  */
30333 #include <locale.h>
30334 int
30335 main ()
30336 {
30337 return LC_MESSAGES
30338   ;
30339   return 0;
30340 }
30341 _ACEOF
30342 rm -f conftest.$ac_objext conftest$ac_exeext
30343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30344   (eval $ac_link) 2>conftest.er1
30345   ac_status=$?
30346   grep -v '^ *+' conftest.er1 >conftest.err
30347   rm -f conftest.er1
30348   cat conftest.err >&5
30349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30350   (exit $ac_status); } &&
30351          { ac_try='test -z "$ac_c_werror_flag"
30352                          || test ! -s conftest.err'
30353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30354   (eval $ac_try) 2>&5
30355   ac_status=$?
30356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30357   (exit $ac_status); }; } &&
30358          { ac_try='test -s conftest$ac_exeext'
30359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30360   (eval $ac_try) 2>&5
30361   ac_status=$?
30362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30363   (exit $ac_status); }; }; then
30364   ac_cv_val_LC_MESSAGES=yes
30365 else
30366   echo "$as_me: failed program was:" >&5
30367 sed 's/^/| /' conftest.$ac_ext >&5
30368
30369 ac_cv_val_LC_MESSAGES=no
30370 fi
30371 rm -f conftest.err conftest.$ac_objext \
30372       conftest$ac_exeext conftest.$ac_ext
30373 fi
30374 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
30375 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
30376     if test $ac_cv_val_LC_MESSAGES = yes; then
30377       cat >>confdefs.h <<\_ACEOF
30378 #define HAVE_LC_MESSAGES 1
30379 _ACEOF
30380
30381     fi
30382
30383 fi
30384
30385
30386
30387
30388   cat >conftest.$ac_ext <<_ACEOF
30389 /* confdefs.h.  */
30390 _ACEOF
30391 cat confdefs.h >>conftest.$ac_ext
30392 cat >>conftest.$ac_ext <<_ACEOF
30393 /* end confdefs.h.  */
30394 #include <setjmp.h>
30395 int
30396 main ()
30397 {
30398 sigjmp_buf env;
30399      while (! sigsetjmp (env, 1))
30400        siglongjmp (env, 1);
30401
30402   ;
30403   return 0;
30404 }
30405 _ACEOF
30406 rm -f conftest.$ac_objext
30407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30408   (eval $ac_compile) 2>conftest.er1
30409   ac_status=$?
30410   grep -v '^ *+' conftest.er1 >conftest.err
30411   rm -f conftest.er1
30412   cat conftest.err >&5
30413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30414   (exit $ac_status); } &&
30415          { ac_try='test -z "$ac_c_werror_flag"
30416                          || test ! -s conftest.err'
30417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30418   (eval $ac_try) 2>&5
30419   ac_status=$?
30420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30421   (exit $ac_status); }; } &&
30422          { ac_try='test -s conftest.$ac_objext'
30423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30424   (eval $ac_try) 2>&5
30425   ac_status=$?
30426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30427   (exit $ac_status); }; }; then
30428
30429 cat >>confdefs.h <<\_ACEOF
30430 #define HAVE_SIGSETJMP 1
30431 _ACEOF
30432
30433 else
30434   echo "$as_me: failed program was:" >&5
30435 sed 's/^/| /' conftest.$ac_ext >&5
30436
30437 fi
30438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30439
30440   if test x$gcc_no_link = xyes; then
30441   if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30442     ac_cv_func_mmap_fixed_mapped=no
30443   fi
30444 fi
30445 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30446
30447
30448 for ac_header in stdlib.h unistd.h
30449 do
30450 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30452   echo "$as_me:$LINENO: checking for $ac_header" >&5
30453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30455   echo $ECHO_N "(cached) $ECHO_C" >&6
30456 fi
30457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30459 else
30460   # Is the header compilable?
30461 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30462 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30463 cat >conftest.$ac_ext <<_ACEOF
30464 /* confdefs.h.  */
30465 _ACEOF
30466 cat confdefs.h >>conftest.$ac_ext
30467 cat >>conftest.$ac_ext <<_ACEOF
30468 /* end confdefs.h.  */
30469 $ac_includes_default
30470 #include <$ac_header>
30471 _ACEOF
30472 rm -f conftest.$ac_objext
30473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30474   (eval $ac_compile) 2>conftest.er1
30475   ac_status=$?
30476   grep -v '^ *+' conftest.er1 >conftest.err
30477   rm -f conftest.er1
30478   cat conftest.err >&5
30479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30480   (exit $ac_status); } &&
30481          { ac_try='test -z "$ac_c_werror_flag"
30482                          || test ! -s conftest.err'
30483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30484   (eval $ac_try) 2>&5
30485   ac_status=$?
30486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30487   (exit $ac_status); }; } &&
30488          { ac_try='test -s conftest.$ac_objext'
30489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30490   (eval $ac_try) 2>&5
30491   ac_status=$?
30492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30493   (exit $ac_status); }; }; then
30494   ac_header_compiler=yes
30495 else
30496   echo "$as_me: failed program was:" >&5
30497 sed 's/^/| /' conftest.$ac_ext >&5
30498
30499 ac_header_compiler=no
30500 fi
30501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30502 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30503 echo "${ECHO_T}$ac_header_compiler" >&6
30504
30505 # Is the header present?
30506 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30507 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30508 cat >conftest.$ac_ext <<_ACEOF
30509 /* confdefs.h.  */
30510 _ACEOF
30511 cat confdefs.h >>conftest.$ac_ext
30512 cat >>conftest.$ac_ext <<_ACEOF
30513 /* end confdefs.h.  */
30514 #include <$ac_header>
30515 _ACEOF
30516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30517   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30518   ac_status=$?
30519   grep -v '^ *+' conftest.er1 >conftest.err
30520   rm -f conftest.er1
30521   cat conftest.err >&5
30522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30523   (exit $ac_status); } >/dev/null; then
30524   if test -s conftest.err; then
30525     ac_cpp_err=$ac_c_preproc_warn_flag
30526     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30527   else
30528     ac_cpp_err=
30529   fi
30530 else
30531   ac_cpp_err=yes
30532 fi
30533 if test -z "$ac_cpp_err"; then
30534   ac_header_preproc=yes
30535 else
30536   echo "$as_me: failed program was:" >&5
30537 sed 's/^/| /' conftest.$ac_ext >&5
30538
30539   ac_header_preproc=no
30540 fi
30541 rm -f conftest.err conftest.$ac_ext
30542 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30543 echo "${ECHO_T}$ac_header_preproc" >&6
30544
30545 # So?  What about this header?
30546 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30547   yes:no: )
30548     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30549 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30550     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30551 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30552     ac_header_preproc=yes
30553     ;;
30554   no:yes:* )
30555     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30556 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30557     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
30558 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
30559     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30560 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30561     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
30562 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
30563     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30564 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30565     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30566 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30567     (
30568       cat <<\_ASBOX
30569 ## ----------------------------------------- ##
30570 ## Report this to the package-unused lists.  ##
30571 ## ----------------------------------------- ##
30572 _ASBOX
30573     ) |
30574       sed "s/^/$as_me: WARNING:     /" >&2
30575     ;;
30576 esac
30577 echo "$as_me:$LINENO: checking for $ac_header" >&5
30578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30580   echo $ECHO_N "(cached) $ECHO_C" >&6
30581 else
30582   eval "$as_ac_Header=\$ac_header_preproc"
30583 fi
30584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30585 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30586
30587 fi
30588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30589   cat >>confdefs.h <<_ACEOF
30590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30591 _ACEOF
30592
30593 fi
30594
30595 done
30596
30597
30598 for ac_func in getpagesize
30599 do
30600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30601 echo "$as_me:$LINENO: checking for $ac_func" >&5
30602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30603 if eval "test \"\${$as_ac_var+set}\" = set"; then
30604   echo $ECHO_N "(cached) $ECHO_C" >&6
30605 else
30606   if test x$gcc_no_link = xyes; then
30607   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30609    { (exit 1); exit 1; }; }
30610 fi
30611 cat >conftest.$ac_ext <<_ACEOF
30612 /* confdefs.h.  */
30613 _ACEOF
30614 cat confdefs.h >>conftest.$ac_ext
30615 cat >>conftest.$ac_ext <<_ACEOF
30616 /* end confdefs.h.  */
30617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30618    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30619 #define $ac_func innocuous_$ac_func
30620
30621 /* System header to define __stub macros and hopefully few prototypes,
30622     which can conflict with char $ac_func (); below.
30623     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30624     <limits.h> exists even on freestanding compilers.  */
30625
30626 #ifdef __STDC__
30627 # include <limits.h>
30628 #else
30629 # include <assert.h>
30630 #endif
30631
30632 #undef $ac_func
30633
30634 /* Override any gcc2 internal prototype to avoid an error.  */
30635 #ifdef __cplusplus
30636 extern "C"
30637 {
30638 #endif
30639 /* We use char because int might match the return type of a gcc2
30640    builtin and then its argument prototype would still apply.  */
30641 char $ac_func ();
30642 /* The GNU C library defines this for functions which it implements
30643     to always fail with ENOSYS.  Some functions are actually named
30644     something starting with __ and the normal name is an alias.  */
30645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30646 choke me
30647 #else
30648 char (*f) () = $ac_func;
30649 #endif
30650 #ifdef __cplusplus
30651 }
30652 #endif
30653
30654 int
30655 main ()
30656 {
30657 return f != $ac_func;
30658   ;
30659   return 0;
30660 }
30661 _ACEOF
30662 rm -f conftest.$ac_objext conftest$ac_exeext
30663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30664   (eval $ac_link) 2>conftest.er1
30665   ac_status=$?
30666   grep -v '^ *+' conftest.er1 >conftest.err
30667   rm -f conftest.er1
30668   cat conftest.err >&5
30669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30670   (exit $ac_status); } &&
30671          { ac_try='test -z "$ac_c_werror_flag"
30672                          || test ! -s conftest.err'
30673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30674   (eval $ac_try) 2>&5
30675   ac_status=$?
30676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30677   (exit $ac_status); }; } &&
30678          { ac_try='test -s conftest$ac_exeext'
30679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30680   (eval $ac_try) 2>&5
30681   ac_status=$?
30682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30683   (exit $ac_status); }; }; then
30684   eval "$as_ac_var=yes"
30685 else
30686   echo "$as_me: failed program was:" >&5
30687 sed 's/^/| /' conftest.$ac_ext >&5
30688
30689 eval "$as_ac_var=no"
30690 fi
30691 rm -f conftest.err conftest.$ac_objext \
30692       conftest$ac_exeext conftest.$ac_ext
30693 fi
30694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30696 if test `eval echo '${'$as_ac_var'}'` = yes; then
30697   cat >>confdefs.h <<_ACEOF
30698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30699 _ACEOF
30700
30701 fi
30702 done
30703
30704 echo "$as_me:$LINENO: checking for working mmap" >&5
30705 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
30706 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
30707   echo $ECHO_N "(cached) $ECHO_C" >&6
30708 else
30709   if test "$cross_compiling" = yes; then
30710   ac_cv_func_mmap_fixed_mapped=no
30711 else
30712   cat >conftest.$ac_ext <<_ACEOF
30713 /* confdefs.h.  */
30714 _ACEOF
30715 cat confdefs.h >>conftest.$ac_ext
30716 cat >>conftest.$ac_ext <<_ACEOF
30717 /* end confdefs.h.  */
30718 $ac_includes_default
30719 /* malloc might have been renamed as rpl_malloc. */
30720 #undef malloc
30721
30722 /* Thanks to Mike Haertel and Jim Avera for this test.
30723    Here is a matrix of mmap possibilities:
30724         mmap private not fixed
30725         mmap private fixed at somewhere currently unmapped
30726         mmap private fixed at somewhere already mapped
30727         mmap shared not fixed
30728         mmap shared fixed at somewhere currently unmapped
30729         mmap shared fixed at somewhere already mapped
30730    For private mappings, we should verify that changes cannot be read()
30731    back from the file, nor mmap's back from the file at a different
30732    address.  (There have been systems where private was not correctly
30733    implemented like the infamous i386 svr4.0, and systems where the
30734    VM page cache was not coherent with the file system buffer cache
30735    like early versions of FreeBSD and possibly contemporary NetBSD.)
30736    For shared mappings, we should conversely verify that changes get
30737    propagated back to all the places they're supposed to be.
30738
30739    Grep wants private fixed already mapped.
30740    The main things grep needs to know about mmap are:
30741    * does it exist and is it safe to write into the mmap'd area
30742    * how to use it (BSD variants)  */
30743
30744 #include <fcntl.h>
30745 #include <sys/mman.h>
30746
30747 #if !STDC_HEADERS && !HAVE_STDLIB_H
30748 char *malloc ();
30749 #endif
30750
30751 /* This mess was copied from the GNU getpagesize.h.  */
30752 #if !HAVE_GETPAGESIZE
30753 /* Assume that all systems that can run configure have sys/param.h.  */
30754 # if !HAVE_SYS_PARAM_H
30755 #  define HAVE_SYS_PARAM_H 1
30756 # endif
30757
30758 # ifdef _SC_PAGESIZE
30759 #  define getpagesize() sysconf(_SC_PAGESIZE)
30760 # else /* no _SC_PAGESIZE */
30761 #  if HAVE_SYS_PARAM_H
30762 #   include <sys/param.h>
30763 #   ifdef EXEC_PAGESIZE
30764 #    define getpagesize() EXEC_PAGESIZE
30765 #   else /* no EXEC_PAGESIZE */
30766 #    ifdef NBPG
30767 #     define getpagesize() NBPG * CLSIZE
30768 #     ifndef CLSIZE
30769 #      define CLSIZE 1
30770 #     endif /* no CLSIZE */
30771 #    else /* no NBPG */
30772 #     ifdef NBPC
30773 #      define getpagesize() NBPC
30774 #     else /* no NBPC */
30775 #      ifdef PAGESIZE
30776 #       define getpagesize() PAGESIZE
30777 #      endif /* PAGESIZE */
30778 #     endif /* no NBPC */
30779 #    endif /* no NBPG */
30780 #   endif /* no EXEC_PAGESIZE */
30781 #  else /* no HAVE_SYS_PARAM_H */
30782 #   define getpagesize() 8192   /* punt totally */
30783 #  endif /* no HAVE_SYS_PARAM_H */
30784 # endif /* no _SC_PAGESIZE */
30785
30786 #endif /* no HAVE_GETPAGESIZE */
30787
30788 int
30789 main ()
30790 {
30791   char *data, *data2, *data3;
30792   int i, pagesize;
30793   int fd;
30794
30795   pagesize = getpagesize ();
30796
30797   /* First, make a file with some known garbage in it. */
30798   data = (char *) malloc (pagesize);
30799   if (!data)
30800     exit (1);
30801   for (i = 0; i < pagesize; ++i)
30802     *(data + i) = rand ();
30803   umask (0);
30804   fd = creat ("conftest.mmap", 0600);
30805   if (fd < 0)
30806     exit (1);
30807   if (write (fd, data, pagesize) != pagesize)
30808     exit (1);
30809   close (fd);
30810
30811   /* Next, try to mmap the file at a fixed address which already has
30812      something else allocated at it.  If we can, also make sure that
30813      we see the same garbage.  */
30814   fd = open ("conftest.mmap", O_RDWR);
30815   if (fd < 0)
30816     exit (1);
30817   data2 = (char *) malloc (2 * pagesize);
30818   if (!data2)
30819     exit (1);
30820   data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
30821   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
30822                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
30823     exit (1);
30824   for (i = 0; i < pagesize; ++i)
30825     if (*(data + i) != *(data2 + i))
30826       exit (1);
30827
30828   /* Finally, make sure that changes to the mapped area do not
30829      percolate back to the file as seen by read().  (This is a bug on
30830      some variants of i386 svr4.0.)  */
30831   for (i = 0; i < pagesize; ++i)
30832     *(data2 + i) = *(data2 + i) + 1;
30833   data3 = (char *) malloc (pagesize);
30834   if (!data3)
30835     exit (1);
30836   if (read (fd, data3, pagesize) != pagesize)
30837     exit (1);
30838   for (i = 0; i < pagesize; ++i)
30839     if (*(data + i) != *(data3 + i))
30840       exit (1);
30841   close (fd);
30842   exit (0);
30843 }
30844 _ACEOF
30845 rm -f conftest$ac_exeext
30846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30847   (eval $ac_link) 2>&5
30848   ac_status=$?
30849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30850   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30852   (eval $ac_try) 2>&5
30853   ac_status=$?
30854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30855   (exit $ac_status); }; }; then
30856   ac_cv_func_mmap_fixed_mapped=yes
30857 else
30858   echo "$as_me: program exited with status $ac_status" >&5
30859 echo "$as_me: failed program was:" >&5
30860 sed 's/^/| /' conftest.$ac_ext >&5
30861
30862 ( exit $ac_status )
30863 ac_cv_func_mmap_fixed_mapped=no
30864 fi
30865 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30866 fi
30867 fi
30868 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
30869 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
30870 if test $ac_cv_func_mmap_fixed_mapped = yes; then
30871
30872 cat >>confdefs.h <<\_ACEOF
30873 #define HAVE_MMAP 1
30874 _ACEOF
30875
30876 fi
30877 rm -f conftest.mmap
30878
30879 fi
30880
30881 else
30882
30883   # This lets us hard-code the functionality we know we'll have in the cross
30884   # target environment.  "Let" is a sugar-coated word placed on an especially
30885   # dull and tedious hack, actually.
30886   #
30887   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
30888   # that involve linking, can't be used:
30889   #    "cannot open sim-crt0.o"
30890   #    "cannot open crt0.o"
30891   # etc.  All this is because there currently exists no unified, consistent
30892   # way for top level CC information to be passed down to target directories:
30893   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
30894   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
30895   # crosses can be removed.
30896
30897   # If Canadian cross, then don't pick up tools from the build directory.
30898   # Used only in GLIBCXX_EXPORT_INCLUDES.
30899   if test -n "$with_cross_host" &&
30900      test x"$build_alias" != x"$with_cross_host" &&
30901      test x"$build" != x"$target";
30902   then
30903     CANADIAN=yes
30904   else
30905     CANADIAN=no
30906   fi
30907
30908   # Construct crosses by hand, eliminating bits that need ld...
30909   # GLIBCXX_CHECK_COMPILER_FEATURES
30910   # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
30911   # GLIBCXX_CHECK_MATH_SUPPORT
30912
30913   # First, test for "known" system libraries.  We may be using newlib even
30914   # on a hosted environment.
30915   if test "x${with_newlib}" = "xyes"; then
30916     os_include_dir="os/newlib"
30917     cat >>confdefs.h <<\_ACEOF
30918 #define HAVE_HYPOT 1
30919 _ACEOF
30920
30921
30922     # GLIBCXX_CHECK_STDLIB_SUPPORT
30923     cat >>confdefs.h <<\_ACEOF
30924 #define HAVE_STRTOF 1
30925 _ACEOF
30926
30927     cat >>confdefs.h <<\_ACEOF
30928 #define HAVE_STRTOLD 1
30929 _ACEOF
30930
30931     # AC_FUNC_MMAP
30932     cat >>confdefs.h <<\_ACEOF
30933 #define HAVE_MMAP 1
30934 _ACEOF
30935
30936
30937     cat >>confdefs.h <<\_ACEOF
30938 #define HAVE_ACOSF 1
30939 _ACEOF
30940
30941     cat >>confdefs.h <<\_ACEOF
30942 #define HAVE_ASINF 1
30943 _ACEOF
30944
30945     cat >>confdefs.h <<\_ACEOF
30946 #define HAVE_ATAN2F 1
30947 _ACEOF
30948
30949     cat >>confdefs.h <<\_ACEOF
30950 #define HAVE_ATANF 1
30951 _ACEOF
30952
30953     cat >>confdefs.h <<\_ACEOF
30954 #define HAVE_CEILF 1
30955 _ACEOF
30956
30957     cat >>confdefs.h <<\_ACEOF
30958 #define HAVE_COPYSIGN 1
30959 _ACEOF
30960
30961     cat >>confdefs.h <<\_ACEOF
30962 #define HAVE_COPYSIGNF 1
30963 _ACEOF
30964
30965     cat >>confdefs.h <<\_ACEOF
30966 #define HAVE_COSF 1
30967 _ACEOF
30968
30969     cat >>confdefs.h <<\_ACEOF
30970 #define HAVE_COSHF 1
30971 _ACEOF
30972
30973     cat >>confdefs.h <<\_ACEOF
30974 #define HAVE_EXPF 1
30975 _ACEOF
30976
30977     cat >>confdefs.h <<\_ACEOF
30978 #define HAVE_FABSF 1
30979 _ACEOF
30980
30981     cat >>confdefs.h <<\_ACEOF
30982 #define HAVE_FLOORF 1
30983 _ACEOF
30984
30985     cat >>confdefs.h <<\_ACEOF
30986 #define HAVE_FMODF 1
30987 _ACEOF
30988
30989     cat >>confdefs.h <<\_ACEOF
30990 #define HAVE_FREXPF 1
30991 _ACEOF
30992
30993     cat >>confdefs.h <<\_ACEOF
30994 #define HAVE_LDEXPF 1
30995 _ACEOF
30996
30997     cat >>confdefs.h <<\_ACEOF
30998 #define HAVE_LOG10F 1
30999 _ACEOF
31000
31001     cat >>confdefs.h <<\_ACEOF
31002 #define HAVE_LOGF 1
31003 _ACEOF
31004
31005     cat >>confdefs.h <<\_ACEOF
31006 #define HAVE_MODFF 1
31007 _ACEOF
31008
31009     cat >>confdefs.h <<\_ACEOF
31010 #define HAVE_POWF 1
31011 _ACEOF
31012
31013     cat >>confdefs.h <<\_ACEOF
31014 #define HAVE_SINF 1
31015 _ACEOF
31016
31017     cat >>confdefs.h <<\_ACEOF
31018 #define HAVE_SINHF 1
31019 _ACEOF
31020
31021     cat >>confdefs.h <<\_ACEOF
31022 #define HAVE_SQRTF 1
31023 _ACEOF
31024
31025     cat >>confdefs.h <<\_ACEOF
31026 #define HAVE_TANF 1
31027 _ACEOF
31028
31029     cat >>confdefs.h <<\_ACEOF
31030 #define HAVE_TANHF 1
31031 _ACEOF
31032
31033
31034     cat >>confdefs.h <<\_ACEOF
31035 #define HAVE_S_ISREG 1
31036 _ACEOF
31037
31038     cat >>confdefs.h <<\_ACEOF
31039 #define HAVE_S_IFREG 1
31040 _ACEOF
31041
31042   else
31043
31044 # Base decisions on target environment.
31045 case "${host}" in
31046   arm*-*-symbianelf*)
31047     # This is a freestanding configuration; there is nothing to do here.
31048     ;;
31049
31050   *-darwin*)
31051     # Darwin versions vary, but the linker should work in a cross environment,
31052     # so we just check for all the features here.
31053     # Check for available headers.
31054
31055
31056
31057
31058
31059
31060
31061
31062
31063
31064
31065
31066
31067 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
31068     machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
31069     sys/types.h
31070 do
31071 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31073   echo "$as_me:$LINENO: checking for $ac_header" >&5
31074 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31076   echo $ECHO_N "(cached) $ECHO_C" >&6
31077 fi
31078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31079 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31080 else
31081   # Is the header compilable?
31082 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31083 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31084 cat >conftest.$ac_ext <<_ACEOF
31085 /* confdefs.h.  */
31086 _ACEOF
31087 cat confdefs.h >>conftest.$ac_ext
31088 cat >>conftest.$ac_ext <<_ACEOF
31089 /* end confdefs.h.  */
31090 $ac_includes_default
31091 #include <$ac_header>
31092 _ACEOF
31093 rm -f conftest.$ac_objext
31094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31095   (eval $ac_compile) 2>conftest.er1
31096   ac_status=$?
31097   grep -v '^ *+' conftest.er1 >conftest.err
31098   rm -f conftest.er1
31099   cat conftest.err >&5
31100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31101   (exit $ac_status); } &&
31102          { ac_try='test -z "$ac_c_werror_flag"
31103                          || test ! -s conftest.err'
31104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31105   (eval $ac_try) 2>&5
31106   ac_status=$?
31107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31108   (exit $ac_status); }; } &&
31109          { ac_try='test -s conftest.$ac_objext'
31110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31111   (eval $ac_try) 2>&5
31112   ac_status=$?
31113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31114   (exit $ac_status); }; }; then
31115   ac_header_compiler=yes
31116 else
31117   echo "$as_me: failed program was:" >&5
31118 sed 's/^/| /' conftest.$ac_ext >&5
31119
31120 ac_header_compiler=no
31121 fi
31122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31123 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31124 echo "${ECHO_T}$ac_header_compiler" >&6
31125
31126 # Is the header present?
31127 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31128 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31129 cat >conftest.$ac_ext <<_ACEOF
31130 /* confdefs.h.  */
31131 _ACEOF
31132 cat confdefs.h >>conftest.$ac_ext
31133 cat >>conftest.$ac_ext <<_ACEOF
31134 /* end confdefs.h.  */
31135 #include <$ac_header>
31136 _ACEOF
31137 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31138   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31139   ac_status=$?
31140   grep -v '^ *+' conftest.er1 >conftest.err
31141   rm -f conftest.er1
31142   cat conftest.err >&5
31143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31144   (exit $ac_status); } >/dev/null; then
31145   if test -s conftest.err; then
31146     ac_cpp_err=$ac_c_preproc_warn_flag
31147     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31148   else
31149     ac_cpp_err=
31150   fi
31151 else
31152   ac_cpp_err=yes
31153 fi
31154 if test -z "$ac_cpp_err"; then
31155   ac_header_preproc=yes
31156 else
31157   echo "$as_me: failed program was:" >&5
31158 sed 's/^/| /' conftest.$ac_ext >&5
31159
31160   ac_header_preproc=no
31161 fi
31162 rm -f conftest.err conftest.$ac_ext
31163 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31164 echo "${ECHO_T}$ac_header_preproc" >&6
31165
31166 # So?  What about this header?
31167 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31168   yes:no: )
31169     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31170 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31171     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31172 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31173     ac_header_preproc=yes
31174     ;;
31175   no:yes:* )
31176     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31177 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31178     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
31179 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
31180     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31181 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31182     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
31183 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
31184     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31185 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31186     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31187 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31188     (
31189       cat <<\_ASBOX
31190 ## ----------------------------------------- ##
31191 ## Report this to the package-unused lists.  ##
31192 ## ----------------------------------------- ##
31193 _ASBOX
31194     ) |
31195       sed "s/^/$as_me: WARNING:     /" >&2
31196     ;;
31197 esac
31198 echo "$as_me:$LINENO: checking for $ac_header" >&5
31199 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31201   echo $ECHO_N "(cached) $ECHO_C" >&6
31202 else
31203   eval "$as_ac_Header=\$ac_header_preproc"
31204 fi
31205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31206 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31207
31208 fi
31209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31210   cat >>confdefs.h <<_ACEOF
31211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31212 _ACEOF
31213
31214 fi
31215
31216 done
31217
31218
31219
31220   # All these tests are for C++; save the language and the compiler flags.
31221   # The CXXFLAGS thing is suspicious, but based on similar bits previously
31222   # found in GLIBCXX_CONFIGURE.
31223
31224
31225   ac_ext=cc
31226 ac_cpp='$CXXCPP $CPPFLAGS'
31227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31230
31231   ac_test_CXXFLAGS="${CXXFLAGS+set}"
31232   ac_save_CXXFLAGS="$CXXFLAGS"
31233
31234   # Check for maintainer-mode bits.
31235   if test x"$USE_MAINTAINER_MODE" = xno; then
31236     WERROR=''
31237   else
31238     WERROR='-Werror'
31239   fi
31240
31241   # Check for -ffunction-sections -fdata-sections
31242   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
31243 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
31244   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
31245   cat >conftest.$ac_ext <<_ACEOF
31246 /* confdefs.h.  */
31247 _ACEOF
31248 cat confdefs.h >>conftest.$ac_ext
31249 cat >>conftest.$ac_ext <<_ACEOF
31250 /* end confdefs.h.  */
31251
31252 int
31253 main ()
31254 {
31255 int foo;
31256   ;
31257   return 0;
31258 }
31259 _ACEOF
31260 rm -f conftest.$ac_objext
31261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31262   (eval $ac_compile) 2>conftest.er1
31263   ac_status=$?
31264   grep -v '^ *+' conftest.er1 >conftest.err
31265   rm -f conftest.er1
31266   cat conftest.err >&5
31267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31268   (exit $ac_status); } &&
31269          { ac_try='test -z "$ac_cxx_werror_flag"
31270                          || test ! -s conftest.err'
31271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31272   (eval $ac_try) 2>&5
31273   ac_status=$?
31274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31275   (exit $ac_status); }; } &&
31276          { ac_try='test -s conftest.$ac_objext'
31277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31278   (eval $ac_try) 2>&5
31279   ac_status=$?
31280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31281   (exit $ac_status); }; }; then
31282   ac_fdsections=yes
31283 else
31284   echo "$as_me: failed program was:" >&5
31285 sed 's/^/| /' conftest.$ac_ext >&5
31286
31287 ac_fdsections=no
31288 fi
31289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31290   if test "$ac_test_CXXFLAGS" = set; then
31291     CXXFLAGS="$ac_save_CXXFLAGS"
31292   else
31293     # this is the suspicious part
31294     CXXFLAGS=''
31295   fi
31296   if test x"$ac_fdsections" = x"yes"; then
31297     SECTION_FLAGS='-ffunction-sections -fdata-sections'
31298   fi
31299   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
31300 echo "${ECHO_T}$ac_fdsections" >&6
31301
31302   ac_ext=c
31303 ac_cpp='$CPP $CPPFLAGS'
31304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31307
31308
31309
31310
31311     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
31312
31313   ac_test_CXXFLAGS="${CXXFLAGS+set}"
31314   ac_save_CXXFLAGS="$CXXFLAGS"
31315   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31316
31317     echo "$as_me:$LINENO: checking for sin in -lm" >&5
31318 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
31319 if test "${ac_cv_lib_m_sin+set}" = set; then
31320   echo $ECHO_N "(cached) $ECHO_C" >&6
31321 else
31322   ac_check_lib_save_LIBS=$LIBS
31323 LIBS="-lm  $LIBS"
31324 if test x$gcc_no_link = xyes; then
31325   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31327    { (exit 1); exit 1; }; }
31328 fi
31329 cat >conftest.$ac_ext <<_ACEOF
31330 /* confdefs.h.  */
31331 _ACEOF
31332 cat confdefs.h >>conftest.$ac_ext
31333 cat >>conftest.$ac_ext <<_ACEOF
31334 /* end confdefs.h.  */
31335
31336 /* Override any gcc2 internal prototype to avoid an error.  */
31337 #ifdef __cplusplus
31338 extern "C"
31339 #endif
31340 /* We use char because int might match the return type of a gcc2
31341    builtin and then its argument prototype would still apply.  */
31342 char sin ();
31343 int
31344 main ()
31345 {
31346 sin ();
31347   ;
31348   return 0;
31349 }
31350 _ACEOF
31351 rm -f conftest.$ac_objext conftest$ac_exeext
31352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31353   (eval $ac_link) 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_c_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_exeext'
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   ac_cv_lib_m_sin=yes
31374 else
31375   echo "$as_me: failed program was:" >&5
31376 sed 's/^/| /' conftest.$ac_ext >&5
31377
31378 ac_cv_lib_m_sin=no
31379 fi
31380 rm -f conftest.err conftest.$ac_objext \
31381       conftest$ac_exeext conftest.$ac_ext
31382 LIBS=$ac_check_lib_save_LIBS
31383 fi
31384 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
31385 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
31386 if test $ac_cv_lib_m_sin = yes; then
31387   libm="-lm"
31388 fi
31389
31390   ac_save_LIBS="$LIBS"
31391   LIBS="$LIBS $libm"
31392
31393
31394
31395   echo "$as_me:$LINENO: checking for isinf declaration" >&5
31396 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
31397   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31398     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
31399   echo $ECHO_N "(cached) $ECHO_C" >&6
31400 else
31401
31402
31403
31404       ac_ext=cc
31405 ac_cpp='$CXXCPP $CPPFLAGS'
31406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31409
31410       cat >conftest.$ac_ext <<_ACEOF
31411 /* confdefs.h.  */
31412 _ACEOF
31413 cat confdefs.h >>conftest.$ac_ext
31414 cat >>conftest.$ac_ext <<_ACEOF
31415 /* end confdefs.h.  */
31416 #include <math.h>
31417                       #ifdef HAVE_IEEEFP_H
31418                       #include <ieeefp.h>
31419                       #endif
31420
31421 int
31422 main ()
31423 {
31424  isinf(0);
31425   ;
31426   return 0;
31427 }
31428 _ACEOF
31429 rm -f conftest.$ac_objext
31430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31431   (eval $ac_compile) 2>conftest.er1
31432   ac_status=$?
31433   grep -v '^ *+' conftest.er1 >conftest.err
31434   rm -f conftest.er1
31435   cat conftest.err >&5
31436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31437   (exit $ac_status); } &&
31438          { ac_try='test -z "$ac_cxx_werror_flag"
31439                          || test ! -s conftest.err'
31440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31441   (eval $ac_try) 2>&5
31442   ac_status=$?
31443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31444   (exit $ac_status); }; } &&
31445          { ac_try='test -s conftest.$ac_objext'
31446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31447   (eval $ac_try) 2>&5
31448   ac_status=$?
31449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31450   (exit $ac_status); }; }; then
31451   glibcxx_cv_func_isinf_use=yes
31452 else
31453   echo "$as_me: failed program was:" >&5
31454 sed 's/^/| /' conftest.$ac_ext >&5
31455
31456 glibcxx_cv_func_isinf_use=no
31457 fi
31458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31459       ac_ext=c
31460 ac_cpp='$CPP $CPPFLAGS'
31461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31464
31465
31466 fi
31467
31468   fi
31469   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
31470 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
31471
31472   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31473
31474 for ac_func in isinf
31475 do
31476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31477 echo "$as_me:$LINENO: checking for $ac_func" >&5
31478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31479 if eval "test \"\${$as_ac_var+set}\" = set"; then
31480   echo $ECHO_N "(cached) $ECHO_C" >&6
31481 else
31482   if test x$gcc_no_link = xyes; then
31483   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31485    { (exit 1); exit 1; }; }
31486 fi
31487 cat >conftest.$ac_ext <<_ACEOF
31488 /* confdefs.h.  */
31489 _ACEOF
31490 cat confdefs.h >>conftest.$ac_ext
31491 cat >>conftest.$ac_ext <<_ACEOF
31492 /* end confdefs.h.  */
31493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31494    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31495 #define $ac_func innocuous_$ac_func
31496
31497 /* System header to define __stub macros and hopefully few prototypes,
31498     which can conflict with char $ac_func (); below.
31499     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31500     <limits.h> exists even on freestanding compilers.  */
31501
31502 #ifdef __STDC__
31503 # include <limits.h>
31504 #else
31505 # include <assert.h>
31506 #endif
31507
31508 #undef $ac_func
31509
31510 /* Override any gcc2 internal prototype to avoid an error.  */
31511 #ifdef __cplusplus
31512 extern "C"
31513 {
31514 #endif
31515 /* We use char because int might match the return type of a gcc2
31516    builtin and then its argument prototype would still apply.  */
31517 char $ac_func ();
31518 /* The GNU C library defines this for functions which it implements
31519     to always fail with ENOSYS.  Some functions are actually named
31520     something starting with __ and the normal name is an alias.  */
31521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31522 choke me
31523 #else
31524 char (*f) () = $ac_func;
31525 #endif
31526 #ifdef __cplusplus
31527 }
31528 #endif
31529
31530 int
31531 main ()
31532 {
31533 return f != $ac_func;
31534   ;
31535   return 0;
31536 }
31537 _ACEOF
31538 rm -f conftest.$ac_objext conftest$ac_exeext
31539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31540   (eval $ac_link) 2>conftest.er1
31541   ac_status=$?
31542   grep -v '^ *+' conftest.er1 >conftest.err
31543   rm -f conftest.er1
31544   cat conftest.err >&5
31545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31546   (exit $ac_status); } &&
31547          { ac_try='test -z "$ac_c_werror_flag"
31548                          || test ! -s conftest.err'
31549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31550   (eval $ac_try) 2>&5
31551   ac_status=$?
31552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31553   (exit $ac_status); }; } &&
31554          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
31560   eval "$as_ac_var=yes"
31561 else
31562   echo "$as_me: failed program was:" >&5
31563 sed 's/^/| /' conftest.$ac_ext >&5
31564
31565 eval "$as_ac_var=no"
31566 fi
31567 rm -f conftest.err conftest.$ac_objext \
31568       conftest$ac_exeext conftest.$ac_ext
31569 fi
31570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31572 if test `eval echo '${'$as_ac_var'}'` = yes; then
31573   cat >>confdefs.h <<_ACEOF
31574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31575 _ACEOF
31576
31577 fi
31578 done
31579
31580   else
31581
31582   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
31583 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
31584   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31585     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
31586   echo $ECHO_N "(cached) $ECHO_C" >&6
31587 else
31588
31589
31590
31591       ac_ext=cc
31592 ac_cpp='$CXXCPP $CPPFLAGS'
31593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31596
31597       cat >conftest.$ac_ext <<_ACEOF
31598 /* confdefs.h.  */
31599 _ACEOF
31600 cat confdefs.h >>conftest.$ac_ext
31601 cat >>conftest.$ac_ext <<_ACEOF
31602 /* end confdefs.h.  */
31603 #include <math.h>
31604                       #ifdef HAVE_IEEEFP_H
31605                       #include <ieeefp.h>
31606                       #endif
31607
31608 int
31609 main ()
31610 {
31611  _isinf(0);
31612   ;
31613   return 0;
31614 }
31615 _ACEOF
31616 rm -f conftest.$ac_objext
31617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31618   (eval $ac_compile) 2>conftest.er1
31619   ac_status=$?
31620   grep -v '^ *+' conftest.er1 >conftest.err
31621   rm -f conftest.er1
31622   cat conftest.err >&5
31623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31624   (exit $ac_status); } &&
31625          { ac_try='test -z "$ac_cxx_werror_flag"
31626                          || test ! -s conftest.err'
31627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31628   (eval $ac_try) 2>&5
31629   ac_status=$?
31630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31631   (exit $ac_status); }; } &&
31632          { ac_try='test -s conftest.$ac_objext'
31633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31634   (eval $ac_try) 2>&5
31635   ac_status=$?
31636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31637   (exit $ac_status); }; }; then
31638   glibcxx_cv_func__isinf_use=yes
31639 else
31640   echo "$as_me: failed program was:" >&5
31641 sed 's/^/| /' conftest.$ac_ext >&5
31642
31643 glibcxx_cv_func__isinf_use=no
31644 fi
31645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31646       ac_ext=c
31647 ac_cpp='$CPP $CPPFLAGS'
31648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31651
31652
31653 fi
31654
31655   fi
31656   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
31657 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
31658
31659     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31660
31661 for ac_func in _isinf
31662 do
31663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31664 echo "$as_me:$LINENO: checking for $ac_func" >&5
31665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31666 if eval "test \"\${$as_ac_var+set}\" = set"; then
31667   echo $ECHO_N "(cached) $ECHO_C" >&6
31668 else
31669   if test x$gcc_no_link = xyes; then
31670   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31672    { (exit 1); exit 1; }; }
31673 fi
31674 cat >conftest.$ac_ext <<_ACEOF
31675 /* confdefs.h.  */
31676 _ACEOF
31677 cat confdefs.h >>conftest.$ac_ext
31678 cat >>conftest.$ac_ext <<_ACEOF
31679 /* end confdefs.h.  */
31680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31681    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31682 #define $ac_func innocuous_$ac_func
31683
31684 /* System header to define __stub macros and hopefully few prototypes,
31685     which can conflict with char $ac_func (); below.
31686     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31687     <limits.h> exists even on freestanding compilers.  */
31688
31689 #ifdef __STDC__
31690 # include <limits.h>
31691 #else
31692 # include <assert.h>
31693 #endif
31694
31695 #undef $ac_func
31696
31697 /* Override any gcc2 internal prototype to avoid an error.  */
31698 #ifdef __cplusplus
31699 extern "C"
31700 {
31701 #endif
31702 /* We use char because int might match the return type of a gcc2
31703    builtin and then its argument prototype would still apply.  */
31704 char $ac_func ();
31705 /* The GNU C library defines this for functions which it implements
31706     to always fail with ENOSYS.  Some functions are actually named
31707     something starting with __ and the normal name is an alias.  */
31708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31709 choke me
31710 #else
31711 char (*f) () = $ac_func;
31712 #endif
31713 #ifdef __cplusplus
31714 }
31715 #endif
31716
31717 int
31718 main ()
31719 {
31720 return f != $ac_func;
31721   ;
31722   return 0;
31723 }
31724 _ACEOF
31725 rm -f conftest.$ac_objext conftest$ac_exeext
31726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31727   (eval $ac_link) 2>conftest.er1
31728   ac_status=$?
31729   grep -v '^ *+' conftest.er1 >conftest.err
31730   rm -f conftest.er1
31731   cat conftest.err >&5
31732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31733   (exit $ac_status); } &&
31734          { ac_try='test -z "$ac_c_werror_flag"
31735                          || test ! -s conftest.err'
31736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31737   (eval $ac_try) 2>&5
31738   ac_status=$?
31739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31740   (exit $ac_status); }; } &&
31741          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
31747   eval "$as_ac_var=yes"
31748 else
31749   echo "$as_me: failed program was:" >&5
31750 sed 's/^/| /' conftest.$ac_ext >&5
31751
31752 eval "$as_ac_var=no"
31753 fi
31754 rm -f conftest.err conftest.$ac_objext \
31755       conftest$ac_exeext conftest.$ac_ext
31756 fi
31757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31759 if test `eval echo '${'$as_ac_var'}'` = yes; then
31760   cat >>confdefs.h <<_ACEOF
31761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31762 _ACEOF
31763
31764 fi
31765 done
31766
31767     fi
31768   fi
31769
31770
31771
31772   echo "$as_me:$LINENO: checking for isnan declaration" >&5
31773 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
31774   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31775     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
31776   echo $ECHO_N "(cached) $ECHO_C" >&6
31777 else
31778
31779
31780
31781       ac_ext=cc
31782 ac_cpp='$CXXCPP $CPPFLAGS'
31783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31786
31787       cat >conftest.$ac_ext <<_ACEOF
31788 /* confdefs.h.  */
31789 _ACEOF
31790 cat confdefs.h >>conftest.$ac_ext
31791 cat >>conftest.$ac_ext <<_ACEOF
31792 /* end confdefs.h.  */
31793 #include <math.h>
31794                       #ifdef HAVE_IEEEFP_H
31795                       #include <ieeefp.h>
31796                       #endif
31797
31798 int
31799 main ()
31800 {
31801  isnan(0);
31802   ;
31803   return 0;
31804 }
31805 _ACEOF
31806 rm -f conftest.$ac_objext
31807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31808   (eval $ac_compile) 2>conftest.er1
31809   ac_status=$?
31810   grep -v '^ *+' conftest.er1 >conftest.err
31811   rm -f conftest.er1
31812   cat conftest.err >&5
31813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31814   (exit $ac_status); } &&
31815          { ac_try='test -z "$ac_cxx_werror_flag"
31816                          || test ! -s conftest.err'
31817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31818   (eval $ac_try) 2>&5
31819   ac_status=$?
31820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31821   (exit $ac_status); }; } &&
31822          { ac_try='test -s conftest.$ac_objext'
31823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31824   (eval $ac_try) 2>&5
31825   ac_status=$?
31826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31827   (exit $ac_status); }; }; then
31828   glibcxx_cv_func_isnan_use=yes
31829 else
31830   echo "$as_me: failed program was:" >&5
31831 sed 's/^/| /' conftest.$ac_ext >&5
31832
31833 glibcxx_cv_func_isnan_use=no
31834 fi
31835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31836       ac_ext=c
31837 ac_cpp='$CPP $CPPFLAGS'
31838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31841
31842
31843 fi
31844
31845   fi
31846   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
31847 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
31848
31849   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31850
31851 for ac_func in isnan
31852 do
31853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31854 echo "$as_me:$LINENO: checking for $ac_func" >&5
31855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31856 if eval "test \"\${$as_ac_var+set}\" = set"; then
31857   echo $ECHO_N "(cached) $ECHO_C" >&6
31858 else
31859   if test x$gcc_no_link = xyes; then
31860   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31862    { (exit 1); exit 1; }; }
31863 fi
31864 cat >conftest.$ac_ext <<_ACEOF
31865 /* confdefs.h.  */
31866 _ACEOF
31867 cat confdefs.h >>conftest.$ac_ext
31868 cat >>conftest.$ac_ext <<_ACEOF
31869 /* end confdefs.h.  */
31870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31871    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31872 #define $ac_func innocuous_$ac_func
31873
31874 /* System header to define __stub macros and hopefully few prototypes,
31875     which can conflict with char $ac_func (); below.
31876     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31877     <limits.h> exists even on freestanding compilers.  */
31878
31879 #ifdef __STDC__
31880 # include <limits.h>
31881 #else
31882 # include <assert.h>
31883 #endif
31884
31885 #undef $ac_func
31886
31887 /* Override any gcc2 internal prototype to avoid an error.  */
31888 #ifdef __cplusplus
31889 extern "C"
31890 {
31891 #endif
31892 /* We use char because int might match the return type of a gcc2
31893    builtin and then its argument prototype would still apply.  */
31894 char $ac_func ();
31895 /* The GNU C library defines this for functions which it implements
31896     to always fail with ENOSYS.  Some functions are actually named
31897     something starting with __ and the normal name is an alias.  */
31898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31899 choke me
31900 #else
31901 char (*f) () = $ac_func;
31902 #endif
31903 #ifdef __cplusplus
31904 }
31905 #endif
31906
31907 int
31908 main ()
31909 {
31910 return f != $ac_func;
31911   ;
31912   return 0;
31913 }
31914 _ACEOF
31915 rm -f conftest.$ac_objext conftest$ac_exeext
31916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31917   (eval $ac_link) 2>conftest.er1
31918   ac_status=$?
31919   grep -v '^ *+' conftest.er1 >conftest.err
31920   rm -f conftest.er1
31921   cat conftest.err >&5
31922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31923   (exit $ac_status); } &&
31924          { ac_try='test -z "$ac_c_werror_flag"
31925                          || test ! -s conftest.err'
31926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31927   (eval $ac_try) 2>&5
31928   ac_status=$?
31929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31930   (exit $ac_status); }; } &&
31931          { ac_try='test -s conftest$ac_exeext'
31932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31933   (eval $ac_try) 2>&5
31934   ac_status=$?
31935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31936   (exit $ac_status); }; }; then
31937   eval "$as_ac_var=yes"
31938 else
31939   echo "$as_me: failed program was:" >&5
31940 sed 's/^/| /' conftest.$ac_ext >&5
31941
31942 eval "$as_ac_var=no"
31943 fi
31944 rm -f conftest.err conftest.$ac_objext \
31945       conftest$ac_exeext conftest.$ac_ext
31946 fi
31947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31949 if test `eval echo '${'$as_ac_var'}'` = yes; then
31950   cat >>confdefs.h <<_ACEOF
31951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31952 _ACEOF
31953
31954 fi
31955 done
31956
31957   else
31958
31959   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
31960 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
31961   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
31962     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
31963   echo $ECHO_N "(cached) $ECHO_C" >&6
31964 else
31965
31966
31967
31968       ac_ext=cc
31969 ac_cpp='$CXXCPP $CPPFLAGS'
31970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31973
31974       cat >conftest.$ac_ext <<_ACEOF
31975 /* confdefs.h.  */
31976 _ACEOF
31977 cat confdefs.h >>conftest.$ac_ext
31978 cat >>conftest.$ac_ext <<_ACEOF
31979 /* end confdefs.h.  */
31980 #include <math.h>
31981                       #ifdef HAVE_IEEEFP_H
31982                       #include <ieeefp.h>
31983                       #endif
31984
31985 int
31986 main ()
31987 {
31988  _isnan(0);
31989   ;
31990   return 0;
31991 }
31992 _ACEOF
31993 rm -f conftest.$ac_objext
31994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31995   (eval $ac_compile) 2>conftest.er1
31996   ac_status=$?
31997   grep -v '^ *+' conftest.er1 >conftest.err
31998   rm -f conftest.er1
31999   cat conftest.err >&5
32000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32001   (exit $ac_status); } &&
32002          { ac_try='test -z "$ac_cxx_werror_flag"
32003                          || test ! -s conftest.err'
32004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32005   (eval $ac_try) 2>&5
32006   ac_status=$?
32007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32008   (exit $ac_status); }; } &&
32009          { ac_try='test -s conftest.$ac_objext'
32010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32011   (eval $ac_try) 2>&5
32012   ac_status=$?
32013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32014   (exit $ac_status); }; }; then
32015   glibcxx_cv_func__isnan_use=yes
32016 else
32017   echo "$as_me: failed program was:" >&5
32018 sed 's/^/| /' conftest.$ac_ext >&5
32019
32020 glibcxx_cv_func__isnan_use=no
32021 fi
32022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32023       ac_ext=c
32024 ac_cpp='$CPP $CPPFLAGS'
32025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32028
32029
32030 fi
32031
32032   fi
32033   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
32034 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
32035
32036     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32037
32038 for ac_func in _isnan
32039 do
32040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32041 echo "$as_me:$LINENO: checking for $ac_func" >&5
32042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32043 if eval "test \"\${$as_ac_var+set}\" = set"; then
32044   echo $ECHO_N "(cached) $ECHO_C" >&6
32045 else
32046   if test x$gcc_no_link = xyes; then
32047   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32049    { (exit 1); exit 1; }; }
32050 fi
32051 cat >conftest.$ac_ext <<_ACEOF
32052 /* confdefs.h.  */
32053 _ACEOF
32054 cat confdefs.h >>conftest.$ac_ext
32055 cat >>conftest.$ac_ext <<_ACEOF
32056 /* end confdefs.h.  */
32057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32058    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32059 #define $ac_func innocuous_$ac_func
32060
32061 /* System header to define __stub macros and hopefully few prototypes,
32062     which can conflict with char $ac_func (); below.
32063     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32064     <limits.h> exists even on freestanding compilers.  */
32065
32066 #ifdef __STDC__
32067 # include <limits.h>
32068 #else
32069 # include <assert.h>
32070 #endif
32071
32072 #undef $ac_func
32073
32074 /* Override any gcc2 internal prototype to avoid an error.  */
32075 #ifdef __cplusplus
32076 extern "C"
32077 {
32078 #endif
32079 /* We use char because int might match the return type of a gcc2
32080    builtin and then its argument prototype would still apply.  */
32081 char $ac_func ();
32082 /* The GNU C library defines this for functions which it implements
32083     to always fail with ENOSYS.  Some functions are actually named
32084     something starting with __ and the normal name is an alias.  */
32085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32086 choke me
32087 #else
32088 char (*f) () = $ac_func;
32089 #endif
32090 #ifdef __cplusplus
32091 }
32092 #endif
32093
32094 int
32095 main ()
32096 {
32097 return f != $ac_func;
32098   ;
32099   return 0;
32100 }
32101 _ACEOF
32102 rm -f conftest.$ac_objext conftest$ac_exeext
32103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32104   (eval $ac_link) 2>conftest.er1
32105   ac_status=$?
32106   grep -v '^ *+' conftest.er1 >conftest.err
32107   rm -f conftest.er1
32108   cat conftest.err >&5
32109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32110   (exit $ac_status); } &&
32111          { ac_try='test -z "$ac_c_werror_flag"
32112                          || test ! -s conftest.err'
32113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32114   (eval $ac_try) 2>&5
32115   ac_status=$?
32116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32117   (exit $ac_status); }; } &&
32118          { ac_try='test -s conftest$ac_exeext'
32119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32120   (eval $ac_try) 2>&5
32121   ac_status=$?
32122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32123   (exit $ac_status); }; }; then
32124   eval "$as_ac_var=yes"
32125 else
32126   echo "$as_me: failed program was:" >&5
32127 sed 's/^/| /' conftest.$ac_ext >&5
32128
32129 eval "$as_ac_var=no"
32130 fi
32131 rm -f conftest.err conftest.$ac_objext \
32132       conftest$ac_exeext conftest.$ac_ext
32133 fi
32134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32136 if test `eval echo '${'$as_ac_var'}'` = yes; then
32137   cat >>confdefs.h <<_ACEOF
32138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32139 _ACEOF
32140
32141 fi
32142 done
32143
32144     fi
32145   fi
32146
32147
32148
32149   echo "$as_me:$LINENO: checking for finite declaration" >&5
32150 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
32151   if test x${glibcxx_cv_func_finite_use+set} != xset; then
32152     if test "${glibcxx_cv_func_finite_use+set}" = set; then
32153   echo $ECHO_N "(cached) $ECHO_C" >&6
32154 else
32155
32156
32157
32158       ac_ext=cc
32159 ac_cpp='$CXXCPP $CPPFLAGS'
32160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32163
32164       cat >conftest.$ac_ext <<_ACEOF
32165 /* confdefs.h.  */
32166 _ACEOF
32167 cat confdefs.h >>conftest.$ac_ext
32168 cat >>conftest.$ac_ext <<_ACEOF
32169 /* end confdefs.h.  */
32170 #include <math.h>
32171                       #ifdef HAVE_IEEEFP_H
32172                       #include <ieeefp.h>
32173                       #endif
32174
32175 int
32176 main ()
32177 {
32178  finite(0);
32179   ;
32180   return 0;
32181 }
32182 _ACEOF
32183 rm -f conftest.$ac_objext
32184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32185   (eval $ac_compile) 2>conftest.er1
32186   ac_status=$?
32187   grep -v '^ *+' conftest.er1 >conftest.err
32188   rm -f conftest.er1
32189   cat conftest.err >&5
32190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32191   (exit $ac_status); } &&
32192          { ac_try='test -z "$ac_cxx_werror_flag"
32193                          || test ! -s conftest.err'
32194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32195   (eval $ac_try) 2>&5
32196   ac_status=$?
32197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32198   (exit $ac_status); }; } &&
32199          { ac_try='test -s conftest.$ac_objext'
32200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32201   (eval $ac_try) 2>&5
32202   ac_status=$?
32203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32204   (exit $ac_status); }; }; then
32205   glibcxx_cv_func_finite_use=yes
32206 else
32207   echo "$as_me: failed program was:" >&5
32208 sed 's/^/| /' conftest.$ac_ext >&5
32209
32210 glibcxx_cv_func_finite_use=no
32211 fi
32212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32213       ac_ext=c
32214 ac_cpp='$CPP $CPPFLAGS'
32215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32218
32219
32220 fi
32221
32222   fi
32223   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
32224 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
32225
32226   if test x$glibcxx_cv_func_finite_use = x"yes"; then
32227
32228 for ac_func in finite
32229 do
32230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32231 echo "$as_me:$LINENO: checking for $ac_func" >&5
32232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32233 if eval "test \"\${$as_ac_var+set}\" = set"; then
32234   echo $ECHO_N "(cached) $ECHO_C" >&6
32235 else
32236   if test x$gcc_no_link = xyes; then
32237   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32239    { (exit 1); exit 1; }; }
32240 fi
32241 cat >conftest.$ac_ext <<_ACEOF
32242 /* confdefs.h.  */
32243 _ACEOF
32244 cat confdefs.h >>conftest.$ac_ext
32245 cat >>conftest.$ac_ext <<_ACEOF
32246 /* end confdefs.h.  */
32247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32248    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32249 #define $ac_func innocuous_$ac_func
32250
32251 /* System header to define __stub macros and hopefully few prototypes,
32252     which can conflict with char $ac_func (); below.
32253     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32254     <limits.h> exists even on freestanding compilers.  */
32255
32256 #ifdef __STDC__
32257 # include <limits.h>
32258 #else
32259 # include <assert.h>
32260 #endif
32261
32262 #undef $ac_func
32263
32264 /* Override any gcc2 internal prototype to avoid an error.  */
32265 #ifdef __cplusplus
32266 extern "C"
32267 {
32268 #endif
32269 /* We use char because int might match the return type of a gcc2
32270    builtin and then its argument prototype would still apply.  */
32271 char $ac_func ();
32272 /* The GNU C library defines this for functions which it implements
32273     to always fail with ENOSYS.  Some functions are actually named
32274     something starting with __ and the normal name is an alias.  */
32275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32276 choke me
32277 #else
32278 char (*f) () = $ac_func;
32279 #endif
32280 #ifdef __cplusplus
32281 }
32282 #endif
32283
32284 int
32285 main ()
32286 {
32287 return f != $ac_func;
32288   ;
32289   return 0;
32290 }
32291 _ACEOF
32292 rm -f conftest.$ac_objext conftest$ac_exeext
32293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32294   (eval $ac_link) 2>conftest.er1
32295   ac_status=$?
32296   grep -v '^ *+' conftest.er1 >conftest.err
32297   rm -f conftest.er1
32298   cat conftest.err >&5
32299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32300   (exit $ac_status); } &&
32301          { ac_try='test -z "$ac_c_werror_flag"
32302                          || test ! -s conftest.err'
32303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32304   (eval $ac_try) 2>&5
32305   ac_status=$?
32306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32307   (exit $ac_status); }; } &&
32308          { ac_try='test -s conftest$ac_exeext'
32309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32310   (eval $ac_try) 2>&5
32311   ac_status=$?
32312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32313   (exit $ac_status); }; }; then
32314   eval "$as_ac_var=yes"
32315 else
32316   echo "$as_me: failed program was:" >&5
32317 sed 's/^/| /' conftest.$ac_ext >&5
32318
32319 eval "$as_ac_var=no"
32320 fi
32321 rm -f conftest.err conftest.$ac_objext \
32322       conftest$ac_exeext conftest.$ac_ext
32323 fi
32324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32326 if test `eval echo '${'$as_ac_var'}'` = yes; then
32327   cat >>confdefs.h <<_ACEOF
32328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32329 _ACEOF
32330
32331 fi
32332 done
32333
32334   else
32335
32336   echo "$as_me:$LINENO: checking for _finite declaration" >&5
32337 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
32338   if test x${glibcxx_cv_func__finite_use+set} != xset; then
32339     if test "${glibcxx_cv_func__finite_use+set}" = set; then
32340   echo $ECHO_N "(cached) $ECHO_C" >&6
32341 else
32342
32343
32344
32345       ac_ext=cc
32346 ac_cpp='$CXXCPP $CPPFLAGS'
32347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32350
32351       cat >conftest.$ac_ext <<_ACEOF
32352 /* confdefs.h.  */
32353 _ACEOF
32354 cat confdefs.h >>conftest.$ac_ext
32355 cat >>conftest.$ac_ext <<_ACEOF
32356 /* end confdefs.h.  */
32357 #include <math.h>
32358                       #ifdef HAVE_IEEEFP_H
32359                       #include <ieeefp.h>
32360                       #endif
32361
32362 int
32363 main ()
32364 {
32365  _finite(0);
32366   ;
32367   return 0;
32368 }
32369 _ACEOF
32370 rm -f conftest.$ac_objext
32371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32372   (eval $ac_compile) 2>conftest.er1
32373   ac_status=$?
32374   grep -v '^ *+' conftest.er1 >conftest.err
32375   rm -f conftest.er1
32376   cat conftest.err >&5
32377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32378   (exit $ac_status); } &&
32379          { ac_try='test -z "$ac_cxx_werror_flag"
32380                          || test ! -s conftest.err'
32381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32382   (eval $ac_try) 2>&5
32383   ac_status=$?
32384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32385   (exit $ac_status); }; } &&
32386          { ac_try='test -s conftest.$ac_objext'
32387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32388   (eval $ac_try) 2>&5
32389   ac_status=$?
32390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32391   (exit $ac_status); }; }; then
32392   glibcxx_cv_func__finite_use=yes
32393 else
32394   echo "$as_me: failed program was:" >&5
32395 sed 's/^/| /' conftest.$ac_ext >&5
32396
32397 glibcxx_cv_func__finite_use=no
32398 fi
32399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32400       ac_ext=c
32401 ac_cpp='$CPP $CPPFLAGS'
32402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32405
32406
32407 fi
32408
32409   fi
32410   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
32411 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
32412
32413     if test x$glibcxx_cv_func__finite_use = x"yes"; then
32414
32415 for ac_func in _finite
32416 do
32417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32418 echo "$as_me:$LINENO: checking for $ac_func" >&5
32419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32420 if eval "test \"\${$as_ac_var+set}\" = set"; then
32421   echo $ECHO_N "(cached) $ECHO_C" >&6
32422 else
32423   if test x$gcc_no_link = xyes; then
32424   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32426    { (exit 1); exit 1; }; }
32427 fi
32428 cat >conftest.$ac_ext <<_ACEOF
32429 /* confdefs.h.  */
32430 _ACEOF
32431 cat confdefs.h >>conftest.$ac_ext
32432 cat >>conftest.$ac_ext <<_ACEOF
32433 /* end confdefs.h.  */
32434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32435    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32436 #define $ac_func innocuous_$ac_func
32437
32438 /* System header to define __stub macros and hopefully few prototypes,
32439     which can conflict with char $ac_func (); below.
32440     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32441     <limits.h> exists even on freestanding compilers.  */
32442
32443 #ifdef __STDC__
32444 # include <limits.h>
32445 #else
32446 # include <assert.h>
32447 #endif
32448
32449 #undef $ac_func
32450
32451 /* Override any gcc2 internal prototype to avoid an error.  */
32452 #ifdef __cplusplus
32453 extern "C"
32454 {
32455 #endif
32456 /* We use char because int might match the return type of a gcc2
32457    builtin and then its argument prototype would still apply.  */
32458 char $ac_func ();
32459 /* The GNU C library defines this for functions which it implements
32460     to always fail with ENOSYS.  Some functions are actually named
32461     something starting with __ and the normal name is an alias.  */
32462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32463 choke me
32464 #else
32465 char (*f) () = $ac_func;
32466 #endif
32467 #ifdef __cplusplus
32468 }
32469 #endif
32470
32471 int
32472 main ()
32473 {
32474 return f != $ac_func;
32475   ;
32476   return 0;
32477 }
32478 _ACEOF
32479 rm -f conftest.$ac_objext conftest$ac_exeext
32480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32481   (eval $ac_link) 2>conftest.er1
32482   ac_status=$?
32483   grep -v '^ *+' conftest.er1 >conftest.err
32484   rm -f conftest.er1
32485   cat conftest.err >&5
32486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32487   (exit $ac_status); } &&
32488          { ac_try='test -z "$ac_c_werror_flag"
32489                          || test ! -s conftest.err'
32490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32491   (eval $ac_try) 2>&5
32492   ac_status=$?
32493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32494   (exit $ac_status); }; } &&
32495          { ac_try='test -s conftest$ac_exeext'
32496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32497   (eval $ac_try) 2>&5
32498   ac_status=$?
32499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32500   (exit $ac_status); }; }; then
32501   eval "$as_ac_var=yes"
32502 else
32503   echo "$as_me: failed program was:" >&5
32504 sed 's/^/| /' conftest.$ac_ext >&5
32505
32506 eval "$as_ac_var=no"
32507 fi
32508 rm -f conftest.err conftest.$ac_objext \
32509       conftest$ac_exeext conftest.$ac_ext
32510 fi
32511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32513 if test `eval echo '${'$as_ac_var'}'` = yes; then
32514   cat >>confdefs.h <<_ACEOF
32515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32516 _ACEOF
32517
32518 fi
32519 done
32520
32521     fi
32522   fi
32523
32524
32525
32526   echo "$as_me:$LINENO: checking for copysign declaration" >&5
32527 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
32528   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
32529     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
32530   echo $ECHO_N "(cached) $ECHO_C" >&6
32531 else
32532
32533
32534
32535       ac_ext=cc
32536 ac_cpp='$CXXCPP $CPPFLAGS'
32537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32540
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 #include <math.h>
32548 int
32549 main ()
32550 {
32551  copysign(0, 0);
32552   ;
32553   return 0;
32554 }
32555 _ACEOF
32556 rm -f conftest.$ac_objext
32557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32558   (eval $ac_compile) 2>conftest.er1
32559   ac_status=$?
32560   grep -v '^ *+' conftest.er1 >conftest.err
32561   rm -f conftest.er1
32562   cat conftest.err >&5
32563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32564   (exit $ac_status); } &&
32565          { ac_try='test -z "$ac_cxx_werror_flag"
32566                          || test ! -s conftest.err'
32567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32568   (eval $ac_try) 2>&5
32569   ac_status=$?
32570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32571   (exit $ac_status); }; } &&
32572          { ac_try='test -s conftest.$ac_objext'
32573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32574   (eval $ac_try) 2>&5
32575   ac_status=$?
32576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32577   (exit $ac_status); }; }; then
32578   glibcxx_cv_func_copysign_use=yes
32579 else
32580   echo "$as_me: failed program was:" >&5
32581 sed 's/^/| /' conftest.$ac_ext >&5
32582
32583 glibcxx_cv_func_copysign_use=no
32584 fi
32585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32586       ac_ext=c
32587 ac_cpp='$CPP $CPPFLAGS'
32588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32591
32592
32593 fi
32594
32595   fi
32596   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
32597 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
32598
32599   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
32600
32601 for ac_func in copysign
32602 do
32603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32604 echo "$as_me:$LINENO: checking for $ac_func" >&5
32605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32606 if eval "test \"\${$as_ac_var+set}\" = set"; then
32607   echo $ECHO_N "(cached) $ECHO_C" >&6
32608 else
32609   if test x$gcc_no_link = xyes; then
32610   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32612    { (exit 1); exit 1; }; }
32613 fi
32614 cat >conftest.$ac_ext <<_ACEOF
32615 /* confdefs.h.  */
32616 _ACEOF
32617 cat confdefs.h >>conftest.$ac_ext
32618 cat >>conftest.$ac_ext <<_ACEOF
32619 /* end confdefs.h.  */
32620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32621    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32622 #define $ac_func innocuous_$ac_func
32623
32624 /* System header to define __stub macros and hopefully few prototypes,
32625     which can conflict with char $ac_func (); below.
32626     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32627     <limits.h> exists even on freestanding compilers.  */
32628
32629 #ifdef __STDC__
32630 # include <limits.h>
32631 #else
32632 # include <assert.h>
32633 #endif
32634
32635 #undef $ac_func
32636
32637 /* Override any gcc2 internal prototype to avoid an error.  */
32638 #ifdef __cplusplus
32639 extern "C"
32640 {
32641 #endif
32642 /* We use char because int might match the return type of a gcc2
32643    builtin and then its argument prototype would still apply.  */
32644 char $ac_func ();
32645 /* The GNU C library defines this for functions which it implements
32646     to always fail with ENOSYS.  Some functions are actually named
32647     something starting with __ and the normal name is an alias.  */
32648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32649 choke me
32650 #else
32651 char (*f) () = $ac_func;
32652 #endif
32653 #ifdef __cplusplus
32654 }
32655 #endif
32656
32657 int
32658 main ()
32659 {
32660 return f != $ac_func;
32661   ;
32662   return 0;
32663 }
32664 _ACEOF
32665 rm -f conftest.$ac_objext conftest$ac_exeext
32666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32667   (eval $ac_link) 2>conftest.er1
32668   ac_status=$?
32669   grep -v '^ *+' conftest.er1 >conftest.err
32670   rm -f conftest.er1
32671   cat conftest.err >&5
32672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32673   (exit $ac_status); } &&
32674          { ac_try='test -z "$ac_c_werror_flag"
32675                          || test ! -s conftest.err'
32676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32677   (eval $ac_try) 2>&5
32678   ac_status=$?
32679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32680   (exit $ac_status); }; } &&
32681          { ac_try='test -s conftest$ac_exeext'
32682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32683   (eval $ac_try) 2>&5
32684   ac_status=$?
32685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32686   (exit $ac_status); }; }; then
32687   eval "$as_ac_var=yes"
32688 else
32689   echo "$as_me: failed program was:" >&5
32690 sed 's/^/| /' conftest.$ac_ext >&5
32691
32692 eval "$as_ac_var=no"
32693 fi
32694 rm -f conftest.err conftest.$ac_objext \
32695       conftest$ac_exeext conftest.$ac_ext
32696 fi
32697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32698 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32699 if test `eval echo '${'$as_ac_var'}'` = yes; then
32700   cat >>confdefs.h <<_ACEOF
32701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32702 _ACEOF
32703
32704 fi
32705 done
32706
32707   else
32708
32709   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
32710 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
32711   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
32712     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
32713   echo $ECHO_N "(cached) $ECHO_C" >&6
32714 else
32715
32716
32717
32718       ac_ext=cc
32719 ac_cpp='$CXXCPP $CPPFLAGS'
32720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32723
32724       cat >conftest.$ac_ext <<_ACEOF
32725 /* confdefs.h.  */
32726 _ACEOF
32727 cat confdefs.h >>conftest.$ac_ext
32728 cat >>conftest.$ac_ext <<_ACEOF
32729 /* end confdefs.h.  */
32730 #include <math.h>
32731 int
32732 main ()
32733 {
32734  _copysign(0, 0);
32735   ;
32736   return 0;
32737 }
32738 _ACEOF
32739 rm -f conftest.$ac_objext
32740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32741   (eval $ac_compile) 2>conftest.er1
32742   ac_status=$?
32743   grep -v '^ *+' conftest.er1 >conftest.err
32744   rm -f conftest.er1
32745   cat conftest.err >&5
32746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32747   (exit $ac_status); } &&
32748          { ac_try='test -z "$ac_cxx_werror_flag"
32749                          || test ! -s conftest.err'
32750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32751   (eval $ac_try) 2>&5
32752   ac_status=$?
32753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32754   (exit $ac_status); }; } &&
32755          { ac_try='test -s conftest.$ac_objext'
32756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32757   (eval $ac_try) 2>&5
32758   ac_status=$?
32759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32760   (exit $ac_status); }; }; then
32761   glibcxx_cv_func__copysign_use=yes
32762 else
32763   echo "$as_me: failed program was:" >&5
32764 sed 's/^/| /' conftest.$ac_ext >&5
32765
32766 glibcxx_cv_func__copysign_use=no
32767 fi
32768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32769       ac_ext=c
32770 ac_cpp='$CPP $CPPFLAGS'
32771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32774
32775
32776 fi
32777
32778   fi
32779   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
32780 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
32781
32782     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
32783
32784 for ac_func in _copysign
32785 do
32786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32787 echo "$as_me:$LINENO: checking for $ac_func" >&5
32788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32789 if eval "test \"\${$as_ac_var+set}\" = set"; then
32790   echo $ECHO_N "(cached) $ECHO_C" >&6
32791 else
32792   if test x$gcc_no_link = xyes; then
32793   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32795    { (exit 1); exit 1; }; }
32796 fi
32797 cat >conftest.$ac_ext <<_ACEOF
32798 /* confdefs.h.  */
32799 _ACEOF
32800 cat confdefs.h >>conftest.$ac_ext
32801 cat >>conftest.$ac_ext <<_ACEOF
32802 /* end confdefs.h.  */
32803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32804    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32805 #define $ac_func innocuous_$ac_func
32806
32807 /* System header to define __stub macros and hopefully few prototypes,
32808     which can conflict with char $ac_func (); below.
32809     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32810     <limits.h> exists even on freestanding compilers.  */
32811
32812 #ifdef __STDC__
32813 # include <limits.h>
32814 #else
32815 # include <assert.h>
32816 #endif
32817
32818 #undef $ac_func
32819
32820 /* Override any gcc2 internal prototype to avoid an error.  */
32821 #ifdef __cplusplus
32822 extern "C"
32823 {
32824 #endif
32825 /* We use char because int might match the return type of a gcc2
32826    builtin and then its argument prototype would still apply.  */
32827 char $ac_func ();
32828 /* The GNU C library defines this for functions which it implements
32829     to always fail with ENOSYS.  Some functions are actually named
32830     something starting with __ and the normal name is an alias.  */
32831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32832 choke me
32833 #else
32834 char (*f) () = $ac_func;
32835 #endif
32836 #ifdef __cplusplus
32837 }
32838 #endif
32839
32840 int
32841 main ()
32842 {
32843 return f != $ac_func;
32844   ;
32845   return 0;
32846 }
32847 _ACEOF
32848 rm -f conftest.$ac_objext conftest$ac_exeext
32849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32850   (eval $ac_link) 2>conftest.er1
32851   ac_status=$?
32852   grep -v '^ *+' conftest.er1 >conftest.err
32853   rm -f conftest.er1
32854   cat conftest.err >&5
32855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32856   (exit $ac_status); } &&
32857          { ac_try='test -z "$ac_c_werror_flag"
32858                          || test ! -s conftest.err'
32859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32860   (eval $ac_try) 2>&5
32861   ac_status=$?
32862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32863   (exit $ac_status); }; } &&
32864          { ac_try='test -s conftest$ac_exeext'
32865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32866   (eval $ac_try) 2>&5
32867   ac_status=$?
32868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32869   (exit $ac_status); }; }; then
32870   eval "$as_ac_var=yes"
32871 else
32872   echo "$as_me: failed program was:" >&5
32873 sed 's/^/| /' conftest.$ac_ext >&5
32874
32875 eval "$as_ac_var=no"
32876 fi
32877 rm -f conftest.err conftest.$ac_objext \
32878       conftest$ac_exeext conftest.$ac_ext
32879 fi
32880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32882 if test `eval echo '${'$as_ac_var'}'` = yes; then
32883   cat >>confdefs.h <<_ACEOF
32884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32885 _ACEOF
32886
32887 fi
32888 done
32889
32890     fi
32891   fi
32892
32893
32894
32895   echo "$as_me:$LINENO: checking for sincos declaration" >&5
32896 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
32897   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32898     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
32899   echo $ECHO_N "(cached) $ECHO_C" >&6
32900 else
32901
32902
32903
32904       ac_ext=cc
32905 ac_cpp='$CXXCPP $CPPFLAGS'
32906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32909
32910       cat >conftest.$ac_ext <<_ACEOF
32911 /* confdefs.h.  */
32912 _ACEOF
32913 cat confdefs.h >>conftest.$ac_ext
32914 cat >>conftest.$ac_ext <<_ACEOF
32915 /* end confdefs.h.  */
32916 #include <math.h>
32917 int
32918 main ()
32919 {
32920  sincos(0, 0, 0);
32921   ;
32922   return 0;
32923 }
32924 _ACEOF
32925 rm -f conftest.$ac_objext
32926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32927   (eval $ac_compile) 2>conftest.er1
32928   ac_status=$?
32929   grep -v '^ *+' conftest.er1 >conftest.err
32930   rm -f conftest.er1
32931   cat conftest.err >&5
32932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32933   (exit $ac_status); } &&
32934          { ac_try='test -z "$ac_cxx_werror_flag"
32935                          || test ! -s conftest.err'
32936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32937   (eval $ac_try) 2>&5
32938   ac_status=$?
32939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32940   (exit $ac_status); }; } &&
32941          { ac_try='test -s conftest.$ac_objext'
32942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32943   (eval $ac_try) 2>&5
32944   ac_status=$?
32945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32946   (exit $ac_status); }; }; then
32947   glibcxx_cv_func_sincos_use=yes
32948 else
32949   echo "$as_me: failed program was:" >&5
32950 sed 's/^/| /' conftest.$ac_ext >&5
32951
32952 glibcxx_cv_func_sincos_use=no
32953 fi
32954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32955       ac_ext=c
32956 ac_cpp='$CPP $CPPFLAGS'
32957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32960
32961
32962 fi
32963
32964   fi
32965   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
32966 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
32967
32968   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32969
32970 for ac_func in sincos
32971 do
32972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32973 echo "$as_me:$LINENO: checking for $ac_func" >&5
32974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32975 if eval "test \"\${$as_ac_var+set}\" = set"; then
32976   echo $ECHO_N "(cached) $ECHO_C" >&6
32977 else
32978   if test x$gcc_no_link = xyes; then
32979   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32981    { (exit 1); exit 1; }; }
32982 fi
32983 cat >conftest.$ac_ext <<_ACEOF
32984 /* confdefs.h.  */
32985 _ACEOF
32986 cat confdefs.h >>conftest.$ac_ext
32987 cat >>conftest.$ac_ext <<_ACEOF
32988 /* end confdefs.h.  */
32989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32990    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32991 #define $ac_func innocuous_$ac_func
32992
32993 /* System header to define __stub macros and hopefully few prototypes,
32994     which can conflict with char $ac_func (); below.
32995     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32996     <limits.h> exists even on freestanding compilers.  */
32997
32998 #ifdef __STDC__
32999 # include <limits.h>
33000 #else
33001 # include <assert.h>
33002 #endif
33003
33004 #undef $ac_func
33005
33006 /* Override any gcc2 internal prototype to avoid an error.  */
33007 #ifdef __cplusplus
33008 extern "C"
33009 {
33010 #endif
33011 /* We use char because int might match the return type of a gcc2
33012    builtin and then its argument prototype would still apply.  */
33013 char $ac_func ();
33014 /* The GNU C library defines this for functions which it implements
33015     to always fail with ENOSYS.  Some functions are actually named
33016     something starting with __ and the normal name is an alias.  */
33017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33018 choke me
33019 #else
33020 char (*f) () = $ac_func;
33021 #endif
33022 #ifdef __cplusplus
33023 }
33024 #endif
33025
33026 int
33027 main ()
33028 {
33029 return f != $ac_func;
33030   ;
33031   return 0;
33032 }
33033 _ACEOF
33034 rm -f conftest.$ac_objext conftest$ac_exeext
33035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33036   (eval $ac_link) 2>conftest.er1
33037   ac_status=$?
33038   grep -v '^ *+' conftest.er1 >conftest.err
33039   rm -f conftest.er1
33040   cat conftest.err >&5
33041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33042   (exit $ac_status); } &&
33043          { ac_try='test -z "$ac_c_werror_flag"
33044                          || test ! -s conftest.err'
33045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33046   (eval $ac_try) 2>&5
33047   ac_status=$?
33048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33049   (exit $ac_status); }; } &&
33050          { ac_try='test -s conftest$ac_exeext'
33051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33052   (eval $ac_try) 2>&5
33053   ac_status=$?
33054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33055   (exit $ac_status); }; }; then
33056   eval "$as_ac_var=yes"
33057 else
33058   echo "$as_me: failed program was:" >&5
33059 sed 's/^/| /' conftest.$ac_ext >&5
33060
33061 eval "$as_ac_var=no"
33062 fi
33063 rm -f conftest.err conftest.$ac_objext \
33064       conftest$ac_exeext conftest.$ac_ext
33065 fi
33066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33068 if test `eval echo '${'$as_ac_var'}'` = yes; then
33069   cat >>confdefs.h <<_ACEOF
33070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33071 _ACEOF
33072
33073 fi
33074 done
33075
33076   else
33077
33078   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
33079 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
33080   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33081     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
33082   echo $ECHO_N "(cached) $ECHO_C" >&6
33083 else
33084
33085
33086
33087       ac_ext=cc
33088 ac_cpp='$CXXCPP $CPPFLAGS'
33089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33092
33093       cat >conftest.$ac_ext <<_ACEOF
33094 /* confdefs.h.  */
33095 _ACEOF
33096 cat confdefs.h >>conftest.$ac_ext
33097 cat >>conftest.$ac_ext <<_ACEOF
33098 /* end confdefs.h.  */
33099 #include <math.h>
33100 int
33101 main ()
33102 {
33103  _sincos(0, 0, 0);
33104   ;
33105   return 0;
33106 }
33107 _ACEOF
33108 rm -f conftest.$ac_objext
33109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33110   (eval $ac_compile) 2>conftest.er1
33111   ac_status=$?
33112   grep -v '^ *+' conftest.er1 >conftest.err
33113   rm -f conftest.er1
33114   cat conftest.err >&5
33115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33116   (exit $ac_status); } &&
33117          { ac_try='test -z "$ac_cxx_werror_flag"
33118                          || test ! -s conftest.err'
33119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33120   (eval $ac_try) 2>&5
33121   ac_status=$?
33122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33123   (exit $ac_status); }; } &&
33124          { ac_try='test -s conftest.$ac_objext'
33125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33126   (eval $ac_try) 2>&5
33127   ac_status=$?
33128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33129   (exit $ac_status); }; }; then
33130   glibcxx_cv_func__sincos_use=yes
33131 else
33132   echo "$as_me: failed program was:" >&5
33133 sed 's/^/| /' conftest.$ac_ext >&5
33134
33135 glibcxx_cv_func__sincos_use=no
33136 fi
33137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33138       ac_ext=c
33139 ac_cpp='$CPP $CPPFLAGS'
33140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33143
33144
33145 fi
33146
33147   fi
33148   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
33149 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
33150
33151     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33152
33153 for ac_func in _sincos
33154 do
33155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33156 echo "$as_me:$LINENO: checking for $ac_func" >&5
33157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33158 if eval "test \"\${$as_ac_var+set}\" = set"; then
33159   echo $ECHO_N "(cached) $ECHO_C" >&6
33160 else
33161   if test x$gcc_no_link = xyes; then
33162   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33164    { (exit 1); exit 1; }; }
33165 fi
33166 cat >conftest.$ac_ext <<_ACEOF
33167 /* confdefs.h.  */
33168 _ACEOF
33169 cat confdefs.h >>conftest.$ac_ext
33170 cat >>conftest.$ac_ext <<_ACEOF
33171 /* end confdefs.h.  */
33172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33173    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33174 #define $ac_func innocuous_$ac_func
33175
33176 /* System header to define __stub macros and hopefully few prototypes,
33177     which can conflict with char $ac_func (); below.
33178     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33179     <limits.h> exists even on freestanding compilers.  */
33180
33181 #ifdef __STDC__
33182 # include <limits.h>
33183 #else
33184 # include <assert.h>
33185 #endif
33186
33187 #undef $ac_func
33188
33189 /* Override any gcc2 internal prototype to avoid an error.  */
33190 #ifdef __cplusplus
33191 extern "C"
33192 {
33193 #endif
33194 /* We use char because int might match the return type of a gcc2
33195    builtin and then its argument prototype would still apply.  */
33196 char $ac_func ();
33197 /* The GNU C library defines this for functions which it implements
33198     to always fail with ENOSYS.  Some functions are actually named
33199     something starting with __ and the normal name is an alias.  */
33200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33201 choke me
33202 #else
33203 char (*f) () = $ac_func;
33204 #endif
33205 #ifdef __cplusplus
33206 }
33207 #endif
33208
33209 int
33210 main ()
33211 {
33212 return f != $ac_func;
33213   ;
33214   return 0;
33215 }
33216 _ACEOF
33217 rm -f conftest.$ac_objext conftest$ac_exeext
33218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33219   (eval $ac_link) 2>conftest.er1
33220   ac_status=$?
33221   grep -v '^ *+' conftest.er1 >conftest.err
33222   rm -f conftest.er1
33223   cat conftest.err >&5
33224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33225   (exit $ac_status); } &&
33226          { ac_try='test -z "$ac_c_werror_flag"
33227                          || test ! -s conftest.err'
33228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33229   (eval $ac_try) 2>&5
33230   ac_status=$?
33231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33232   (exit $ac_status); }; } &&
33233          { ac_try='test -s conftest$ac_exeext'
33234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33235   (eval $ac_try) 2>&5
33236   ac_status=$?
33237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33238   (exit $ac_status); }; }; then
33239   eval "$as_ac_var=yes"
33240 else
33241   echo "$as_me: failed program was:" >&5
33242 sed 's/^/| /' conftest.$ac_ext >&5
33243
33244 eval "$as_ac_var=no"
33245 fi
33246 rm -f conftest.err conftest.$ac_objext \
33247       conftest$ac_exeext conftest.$ac_ext
33248 fi
33249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33251 if test `eval echo '${'$as_ac_var'}'` = yes; then
33252   cat >>confdefs.h <<_ACEOF
33253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33254 _ACEOF
33255
33256 fi
33257 done
33258
33259     fi
33260   fi
33261
33262
33263
33264   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
33265 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
33266   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33267     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
33268   echo $ECHO_N "(cached) $ECHO_C" >&6
33269 else
33270
33271
33272
33273       ac_ext=cc
33274 ac_cpp='$CXXCPP $CPPFLAGS'
33275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33278
33279       cat >conftest.$ac_ext <<_ACEOF
33280 /* confdefs.h.  */
33281 _ACEOF
33282 cat confdefs.h >>conftest.$ac_ext
33283 cat >>conftest.$ac_ext <<_ACEOF
33284 /* end confdefs.h.  */
33285 #include <math.h>
33286                       #ifdef HAVE_IEEEFP_H
33287                       #include <ieeefp.h>
33288                       #endif
33289
33290 int
33291 main ()
33292 {
33293  fpclass(0);
33294   ;
33295   return 0;
33296 }
33297 _ACEOF
33298 rm -f conftest.$ac_objext
33299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33300   (eval $ac_compile) 2>conftest.er1
33301   ac_status=$?
33302   grep -v '^ *+' conftest.er1 >conftest.err
33303   rm -f conftest.er1
33304   cat conftest.err >&5
33305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33306   (exit $ac_status); } &&
33307          { ac_try='test -z "$ac_cxx_werror_flag"
33308                          || test ! -s conftest.err'
33309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33310   (eval $ac_try) 2>&5
33311   ac_status=$?
33312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33313   (exit $ac_status); }; } &&
33314          { ac_try='test -s conftest.$ac_objext'
33315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33316   (eval $ac_try) 2>&5
33317   ac_status=$?
33318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33319   (exit $ac_status); }; }; then
33320   glibcxx_cv_func_fpclass_use=yes
33321 else
33322   echo "$as_me: failed program was:" >&5
33323 sed 's/^/| /' conftest.$ac_ext >&5
33324
33325 glibcxx_cv_func_fpclass_use=no
33326 fi
33327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33328       ac_ext=c
33329 ac_cpp='$CPP $CPPFLAGS'
33330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33333
33334
33335 fi
33336
33337   fi
33338   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
33339 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
33340
33341   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33342
33343 for ac_func in fpclass
33344 do
33345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33346 echo "$as_me:$LINENO: checking for $ac_func" >&5
33347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33348 if eval "test \"\${$as_ac_var+set}\" = set"; then
33349   echo $ECHO_N "(cached) $ECHO_C" >&6
33350 else
33351   if test x$gcc_no_link = xyes; then
33352   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33354    { (exit 1); exit 1; }; }
33355 fi
33356 cat >conftest.$ac_ext <<_ACEOF
33357 /* confdefs.h.  */
33358 _ACEOF
33359 cat confdefs.h >>conftest.$ac_ext
33360 cat >>conftest.$ac_ext <<_ACEOF
33361 /* end confdefs.h.  */
33362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33363    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33364 #define $ac_func innocuous_$ac_func
33365
33366 /* System header to define __stub macros and hopefully few prototypes,
33367     which can conflict with char $ac_func (); below.
33368     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33369     <limits.h> exists even on freestanding compilers.  */
33370
33371 #ifdef __STDC__
33372 # include <limits.h>
33373 #else
33374 # include <assert.h>
33375 #endif
33376
33377 #undef $ac_func
33378
33379 /* Override any gcc2 internal prototype to avoid an error.  */
33380 #ifdef __cplusplus
33381 extern "C"
33382 {
33383 #endif
33384 /* We use char because int might match the return type of a gcc2
33385    builtin and then its argument prototype would still apply.  */
33386 char $ac_func ();
33387 /* The GNU C library defines this for functions which it implements
33388     to always fail with ENOSYS.  Some functions are actually named
33389     something starting with __ and the normal name is an alias.  */
33390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33391 choke me
33392 #else
33393 char (*f) () = $ac_func;
33394 #endif
33395 #ifdef __cplusplus
33396 }
33397 #endif
33398
33399 int
33400 main ()
33401 {
33402 return f != $ac_func;
33403   ;
33404   return 0;
33405 }
33406 _ACEOF
33407 rm -f conftest.$ac_objext conftest$ac_exeext
33408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33409   (eval $ac_link) 2>conftest.er1
33410   ac_status=$?
33411   grep -v '^ *+' conftest.er1 >conftest.err
33412   rm -f conftest.er1
33413   cat conftest.err >&5
33414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33415   (exit $ac_status); } &&
33416          { ac_try='test -z "$ac_c_werror_flag"
33417                          || test ! -s conftest.err'
33418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33419   (eval $ac_try) 2>&5
33420   ac_status=$?
33421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33422   (exit $ac_status); }; } &&
33423          { ac_try='test -s conftest$ac_exeext'
33424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33425   (eval $ac_try) 2>&5
33426   ac_status=$?
33427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33428   (exit $ac_status); }; }; then
33429   eval "$as_ac_var=yes"
33430 else
33431   echo "$as_me: failed program was:" >&5
33432 sed 's/^/| /' conftest.$ac_ext >&5
33433
33434 eval "$as_ac_var=no"
33435 fi
33436 rm -f conftest.err conftest.$ac_objext \
33437       conftest$ac_exeext conftest.$ac_ext
33438 fi
33439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33441 if test `eval echo '${'$as_ac_var'}'` = yes; then
33442   cat >>confdefs.h <<_ACEOF
33443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33444 _ACEOF
33445
33446 fi
33447 done
33448
33449   else
33450
33451   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
33452 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
33453   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33454     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
33455   echo $ECHO_N "(cached) $ECHO_C" >&6
33456 else
33457
33458
33459
33460       ac_ext=cc
33461 ac_cpp='$CXXCPP $CPPFLAGS'
33462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33465
33466       cat >conftest.$ac_ext <<_ACEOF
33467 /* confdefs.h.  */
33468 _ACEOF
33469 cat confdefs.h >>conftest.$ac_ext
33470 cat >>conftest.$ac_ext <<_ACEOF
33471 /* end confdefs.h.  */
33472 #include <math.h>
33473                       #ifdef HAVE_IEEEFP_H
33474                       #include <ieeefp.h>
33475                       #endif
33476
33477 int
33478 main ()
33479 {
33480  _fpclass(0);
33481   ;
33482   return 0;
33483 }
33484 _ACEOF
33485 rm -f conftest.$ac_objext
33486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33487   (eval $ac_compile) 2>conftest.er1
33488   ac_status=$?
33489   grep -v '^ *+' conftest.er1 >conftest.err
33490   rm -f conftest.er1
33491   cat conftest.err >&5
33492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33493   (exit $ac_status); } &&
33494          { ac_try='test -z "$ac_cxx_werror_flag"
33495                          || test ! -s conftest.err'
33496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33497   (eval $ac_try) 2>&5
33498   ac_status=$?
33499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33500   (exit $ac_status); }; } &&
33501          { ac_try='test -s conftest.$ac_objext'
33502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33503   (eval $ac_try) 2>&5
33504   ac_status=$?
33505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33506   (exit $ac_status); }; }; then
33507   glibcxx_cv_func__fpclass_use=yes
33508 else
33509   echo "$as_me: failed program was:" >&5
33510 sed 's/^/| /' conftest.$ac_ext >&5
33511
33512 glibcxx_cv_func__fpclass_use=no
33513 fi
33514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33515       ac_ext=c
33516 ac_cpp='$CPP $CPPFLAGS'
33517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33520
33521
33522 fi
33523
33524   fi
33525   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
33526 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
33527
33528     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33529
33530 for ac_func in _fpclass
33531 do
33532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33533 echo "$as_me:$LINENO: checking for $ac_func" >&5
33534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33535 if eval "test \"\${$as_ac_var+set}\" = set"; then
33536   echo $ECHO_N "(cached) $ECHO_C" >&6
33537 else
33538   if test x$gcc_no_link = xyes; then
33539   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33541    { (exit 1); exit 1; }; }
33542 fi
33543 cat >conftest.$ac_ext <<_ACEOF
33544 /* confdefs.h.  */
33545 _ACEOF
33546 cat confdefs.h >>conftest.$ac_ext
33547 cat >>conftest.$ac_ext <<_ACEOF
33548 /* end confdefs.h.  */
33549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33550    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33551 #define $ac_func innocuous_$ac_func
33552
33553 /* System header to define __stub macros and hopefully few prototypes,
33554     which can conflict with char $ac_func (); below.
33555     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33556     <limits.h> exists even on freestanding compilers.  */
33557
33558 #ifdef __STDC__
33559 # include <limits.h>
33560 #else
33561 # include <assert.h>
33562 #endif
33563
33564 #undef $ac_func
33565
33566 /* Override any gcc2 internal prototype to avoid an error.  */
33567 #ifdef __cplusplus
33568 extern "C"
33569 {
33570 #endif
33571 /* We use char because int might match the return type of a gcc2
33572    builtin and then its argument prototype would still apply.  */
33573 char $ac_func ();
33574 /* The GNU C library defines this for functions which it implements
33575     to always fail with ENOSYS.  Some functions are actually named
33576     something starting with __ and the normal name is an alias.  */
33577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33578 choke me
33579 #else
33580 char (*f) () = $ac_func;
33581 #endif
33582 #ifdef __cplusplus
33583 }
33584 #endif
33585
33586 int
33587 main ()
33588 {
33589 return f != $ac_func;
33590   ;
33591   return 0;
33592 }
33593 _ACEOF
33594 rm -f conftest.$ac_objext conftest$ac_exeext
33595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33596   (eval $ac_link) 2>conftest.er1
33597   ac_status=$?
33598   grep -v '^ *+' conftest.er1 >conftest.err
33599   rm -f conftest.er1
33600   cat conftest.err >&5
33601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33602   (exit $ac_status); } &&
33603          { ac_try='test -z "$ac_c_werror_flag"
33604                          || test ! -s conftest.err'
33605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33606   (eval $ac_try) 2>&5
33607   ac_status=$?
33608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33609   (exit $ac_status); }; } &&
33610          { ac_try='test -s conftest$ac_exeext'
33611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33612   (eval $ac_try) 2>&5
33613   ac_status=$?
33614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33615   (exit $ac_status); }; }; then
33616   eval "$as_ac_var=yes"
33617 else
33618   echo "$as_me: failed program was:" >&5
33619 sed 's/^/| /' conftest.$ac_ext >&5
33620
33621 eval "$as_ac_var=no"
33622 fi
33623 rm -f conftest.err conftest.$ac_objext \
33624       conftest$ac_exeext conftest.$ac_ext
33625 fi
33626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33628 if test `eval echo '${'$as_ac_var'}'` = yes; then
33629   cat >>confdefs.h <<_ACEOF
33630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33631 _ACEOF
33632
33633 fi
33634 done
33635
33636     fi
33637   fi
33638
33639
33640
33641   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
33642 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
33643   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33644     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
33645   echo $ECHO_N "(cached) $ECHO_C" >&6
33646 else
33647
33648
33649
33650       ac_ext=cc
33651 ac_cpp='$CXXCPP $CPPFLAGS'
33652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33655
33656       cat >conftest.$ac_ext <<_ACEOF
33657 /* confdefs.h.  */
33658 _ACEOF
33659 cat confdefs.h >>conftest.$ac_ext
33660 cat >>conftest.$ac_ext <<_ACEOF
33661 /* end confdefs.h.  */
33662 #include <math.h>
33663                       #ifdef HAVE_IEEEFP_H
33664                       #include <ieeefp.h>
33665                       #endif
33666
33667 int
33668 main ()
33669 {
33670  qfpclass(0);
33671   ;
33672   return 0;
33673 }
33674 _ACEOF
33675 rm -f conftest.$ac_objext
33676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33677   (eval $ac_compile) 2>conftest.er1
33678   ac_status=$?
33679   grep -v '^ *+' conftest.er1 >conftest.err
33680   rm -f conftest.er1
33681   cat conftest.err >&5
33682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33683   (exit $ac_status); } &&
33684          { ac_try='test -z "$ac_cxx_werror_flag"
33685                          || test ! -s conftest.err'
33686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33687   (eval $ac_try) 2>&5
33688   ac_status=$?
33689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33690   (exit $ac_status); }; } &&
33691          { ac_try='test -s conftest.$ac_objext'
33692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33693   (eval $ac_try) 2>&5
33694   ac_status=$?
33695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33696   (exit $ac_status); }; }; then
33697   glibcxx_cv_func_qfpclass_use=yes
33698 else
33699   echo "$as_me: failed program was:" >&5
33700 sed 's/^/| /' conftest.$ac_ext >&5
33701
33702 glibcxx_cv_func_qfpclass_use=no
33703 fi
33704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33705       ac_ext=c
33706 ac_cpp='$CPP $CPPFLAGS'
33707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33710
33711
33712 fi
33713
33714   fi
33715   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
33716 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
33717
33718   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33719
33720 for ac_func in qfpclass
33721 do
33722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33723 echo "$as_me:$LINENO: checking for $ac_func" >&5
33724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33725 if eval "test \"\${$as_ac_var+set}\" = set"; then
33726   echo $ECHO_N "(cached) $ECHO_C" >&6
33727 else
33728   if test x$gcc_no_link = xyes; then
33729   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33731    { (exit 1); exit 1; }; }
33732 fi
33733 cat >conftest.$ac_ext <<_ACEOF
33734 /* confdefs.h.  */
33735 _ACEOF
33736 cat confdefs.h >>conftest.$ac_ext
33737 cat >>conftest.$ac_ext <<_ACEOF
33738 /* end confdefs.h.  */
33739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33740    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33741 #define $ac_func innocuous_$ac_func
33742
33743 /* System header to define __stub macros and hopefully few prototypes,
33744     which can conflict with char $ac_func (); below.
33745     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33746     <limits.h> exists even on freestanding compilers.  */
33747
33748 #ifdef __STDC__
33749 # include <limits.h>
33750 #else
33751 # include <assert.h>
33752 #endif
33753
33754 #undef $ac_func
33755
33756 /* Override any gcc2 internal prototype to avoid an error.  */
33757 #ifdef __cplusplus
33758 extern "C"
33759 {
33760 #endif
33761 /* We use char because int might match the return type of a gcc2
33762    builtin and then its argument prototype would still apply.  */
33763 char $ac_func ();
33764 /* The GNU C library defines this for functions which it implements
33765     to always fail with ENOSYS.  Some functions are actually named
33766     something starting with __ and the normal name is an alias.  */
33767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33768 choke me
33769 #else
33770 char (*f) () = $ac_func;
33771 #endif
33772 #ifdef __cplusplus
33773 }
33774 #endif
33775
33776 int
33777 main ()
33778 {
33779 return f != $ac_func;
33780   ;
33781   return 0;
33782 }
33783 _ACEOF
33784 rm -f conftest.$ac_objext conftest$ac_exeext
33785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33786   (eval $ac_link) 2>conftest.er1
33787   ac_status=$?
33788   grep -v '^ *+' conftest.er1 >conftest.err
33789   rm -f conftest.er1
33790   cat conftest.err >&5
33791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33792   (exit $ac_status); } &&
33793          { ac_try='test -z "$ac_c_werror_flag"
33794                          || test ! -s conftest.err'
33795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33796   (eval $ac_try) 2>&5
33797   ac_status=$?
33798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33799   (exit $ac_status); }; } &&
33800          { ac_try='test -s conftest$ac_exeext'
33801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33802   (eval $ac_try) 2>&5
33803   ac_status=$?
33804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33805   (exit $ac_status); }; }; then
33806   eval "$as_ac_var=yes"
33807 else
33808   echo "$as_me: failed program was:" >&5
33809 sed 's/^/| /' conftest.$ac_ext >&5
33810
33811 eval "$as_ac_var=no"
33812 fi
33813 rm -f conftest.err conftest.$ac_objext \
33814       conftest$ac_exeext conftest.$ac_ext
33815 fi
33816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33818 if test `eval echo '${'$as_ac_var'}'` = yes; then
33819   cat >>confdefs.h <<_ACEOF
33820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33821 _ACEOF
33822
33823 fi
33824 done
33825
33826   else
33827
33828   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
33829 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
33830   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33831     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
33832   echo $ECHO_N "(cached) $ECHO_C" >&6
33833 else
33834
33835
33836
33837       ac_ext=cc
33838 ac_cpp='$CXXCPP $CPPFLAGS'
33839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33842
33843       cat >conftest.$ac_ext <<_ACEOF
33844 /* confdefs.h.  */
33845 _ACEOF
33846 cat confdefs.h >>conftest.$ac_ext
33847 cat >>conftest.$ac_ext <<_ACEOF
33848 /* end confdefs.h.  */
33849 #include <math.h>
33850                       #ifdef HAVE_IEEEFP_H
33851                       #include <ieeefp.h>
33852                       #endif
33853
33854 int
33855 main ()
33856 {
33857  _qfpclass(0);
33858   ;
33859   return 0;
33860 }
33861 _ACEOF
33862 rm -f conftest.$ac_objext
33863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33864   (eval $ac_compile) 2>conftest.er1
33865   ac_status=$?
33866   grep -v '^ *+' conftest.er1 >conftest.err
33867   rm -f conftest.er1
33868   cat conftest.err >&5
33869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33870   (exit $ac_status); } &&
33871          { ac_try='test -z "$ac_cxx_werror_flag"
33872                          || test ! -s conftest.err'
33873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33874   (eval $ac_try) 2>&5
33875   ac_status=$?
33876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33877   (exit $ac_status); }; } &&
33878          { ac_try='test -s conftest.$ac_objext'
33879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33880   (eval $ac_try) 2>&5
33881   ac_status=$?
33882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33883   (exit $ac_status); }; }; then
33884   glibcxx_cv_func__qfpclass_use=yes
33885 else
33886   echo "$as_me: failed program was:" >&5
33887 sed 's/^/| /' conftest.$ac_ext >&5
33888
33889 glibcxx_cv_func__qfpclass_use=no
33890 fi
33891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33892       ac_ext=c
33893 ac_cpp='$CPP $CPPFLAGS'
33894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33897
33898
33899 fi
33900
33901   fi
33902   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
33903 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
33904
33905     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33906
33907 for ac_func in _qfpclass
33908 do
33909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33910 echo "$as_me:$LINENO: checking for $ac_func" >&5
33911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33912 if eval "test \"\${$as_ac_var+set}\" = set"; then
33913   echo $ECHO_N "(cached) $ECHO_C" >&6
33914 else
33915   if test x$gcc_no_link = xyes; then
33916   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33918    { (exit 1); exit 1; }; }
33919 fi
33920 cat >conftest.$ac_ext <<_ACEOF
33921 /* confdefs.h.  */
33922 _ACEOF
33923 cat confdefs.h >>conftest.$ac_ext
33924 cat >>conftest.$ac_ext <<_ACEOF
33925 /* end confdefs.h.  */
33926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33927    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33928 #define $ac_func innocuous_$ac_func
33929
33930 /* System header to define __stub macros and hopefully few prototypes,
33931     which can conflict with char $ac_func (); below.
33932     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33933     <limits.h> exists even on freestanding compilers.  */
33934
33935 #ifdef __STDC__
33936 # include <limits.h>
33937 #else
33938 # include <assert.h>
33939 #endif
33940
33941 #undef $ac_func
33942
33943 /* Override any gcc2 internal prototype to avoid an error.  */
33944 #ifdef __cplusplus
33945 extern "C"
33946 {
33947 #endif
33948 /* We use char because int might match the return type of a gcc2
33949    builtin and then its argument prototype would still apply.  */
33950 char $ac_func ();
33951 /* The GNU C library defines this for functions which it implements
33952     to always fail with ENOSYS.  Some functions are actually named
33953     something starting with __ and the normal name is an alias.  */
33954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33955 choke me
33956 #else
33957 char (*f) () = $ac_func;
33958 #endif
33959 #ifdef __cplusplus
33960 }
33961 #endif
33962
33963 int
33964 main ()
33965 {
33966 return f != $ac_func;
33967   ;
33968   return 0;
33969 }
33970 _ACEOF
33971 rm -f conftest.$ac_objext conftest$ac_exeext
33972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33973   (eval $ac_link) 2>conftest.er1
33974   ac_status=$?
33975   grep -v '^ *+' conftest.er1 >conftest.err
33976   rm -f conftest.er1
33977   cat conftest.err >&5
33978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33979   (exit $ac_status); } &&
33980          { ac_try='test -z "$ac_c_werror_flag"
33981                          || test ! -s conftest.err'
33982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33983   (eval $ac_try) 2>&5
33984   ac_status=$?
33985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33986   (exit $ac_status); }; } &&
33987          { ac_try='test -s conftest$ac_exeext'
33988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33989   (eval $ac_try) 2>&5
33990   ac_status=$?
33991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33992   (exit $ac_status); }; }; then
33993   eval "$as_ac_var=yes"
33994 else
33995   echo "$as_me: failed program was:" >&5
33996 sed 's/^/| /' conftest.$ac_ext >&5
33997
33998 eval "$as_ac_var=no"
33999 fi
34000 rm -f conftest.err conftest.$ac_objext \
34001       conftest$ac_exeext conftest.$ac_ext
34002 fi
34003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34005 if test `eval echo '${'$as_ac_var'}'` = yes; then
34006   cat >>confdefs.h <<_ACEOF
34007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34008 _ACEOF
34009
34010 fi
34011 done
34012
34013     fi
34014   fi
34015
34016
34017
34018   echo "$as_me:$LINENO: checking for hypot declaration" >&5
34019 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
34020   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34021     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
34022   echo $ECHO_N "(cached) $ECHO_C" >&6
34023 else
34024
34025
34026
34027       ac_ext=cc
34028 ac_cpp='$CXXCPP $CPPFLAGS'
34029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34032
34033       cat >conftest.$ac_ext <<_ACEOF
34034 /* confdefs.h.  */
34035 _ACEOF
34036 cat confdefs.h >>conftest.$ac_ext
34037 cat >>conftest.$ac_ext <<_ACEOF
34038 /* end confdefs.h.  */
34039 #include <math.h>
34040 int
34041 main ()
34042 {
34043  hypot(0, 0);
34044   ;
34045   return 0;
34046 }
34047 _ACEOF
34048 rm -f conftest.$ac_objext
34049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34050   (eval $ac_compile) 2>conftest.er1
34051   ac_status=$?
34052   grep -v '^ *+' conftest.er1 >conftest.err
34053   rm -f conftest.er1
34054   cat conftest.err >&5
34055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34056   (exit $ac_status); } &&
34057          { ac_try='test -z "$ac_cxx_werror_flag"
34058                          || test ! -s conftest.err'
34059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34060   (eval $ac_try) 2>&5
34061   ac_status=$?
34062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34063   (exit $ac_status); }; } &&
34064          { ac_try='test -s conftest.$ac_objext'
34065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34066   (eval $ac_try) 2>&5
34067   ac_status=$?
34068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34069   (exit $ac_status); }; }; then
34070   glibcxx_cv_func_hypot_use=yes
34071 else
34072   echo "$as_me: failed program was:" >&5
34073 sed 's/^/| /' conftest.$ac_ext >&5
34074
34075 glibcxx_cv_func_hypot_use=no
34076 fi
34077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34078       ac_ext=c
34079 ac_cpp='$CPP $CPPFLAGS'
34080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34083
34084
34085 fi
34086
34087   fi
34088   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
34089 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
34090
34091   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34092
34093 for ac_func in hypot
34094 do
34095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34096 echo "$as_me:$LINENO: checking for $ac_func" >&5
34097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34098 if eval "test \"\${$as_ac_var+set}\" = set"; then
34099   echo $ECHO_N "(cached) $ECHO_C" >&6
34100 else
34101   if test x$gcc_no_link = xyes; then
34102   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34104    { (exit 1); exit 1; }; }
34105 fi
34106 cat >conftest.$ac_ext <<_ACEOF
34107 /* confdefs.h.  */
34108 _ACEOF
34109 cat confdefs.h >>conftest.$ac_ext
34110 cat >>conftest.$ac_ext <<_ACEOF
34111 /* end confdefs.h.  */
34112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34113    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34114 #define $ac_func innocuous_$ac_func
34115
34116 /* System header to define __stub macros and hopefully few prototypes,
34117     which can conflict with char $ac_func (); below.
34118     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34119     <limits.h> exists even on freestanding compilers.  */
34120
34121 #ifdef __STDC__
34122 # include <limits.h>
34123 #else
34124 # include <assert.h>
34125 #endif
34126
34127 #undef $ac_func
34128
34129 /* Override any gcc2 internal prototype to avoid an error.  */
34130 #ifdef __cplusplus
34131 extern "C"
34132 {
34133 #endif
34134 /* We use char because int might match the return type of a gcc2
34135    builtin and then its argument prototype would still apply.  */
34136 char $ac_func ();
34137 /* The GNU C library defines this for functions which it implements
34138     to always fail with ENOSYS.  Some functions are actually named
34139     something starting with __ and the normal name is an alias.  */
34140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34141 choke me
34142 #else
34143 char (*f) () = $ac_func;
34144 #endif
34145 #ifdef __cplusplus
34146 }
34147 #endif
34148
34149 int
34150 main ()
34151 {
34152 return f != $ac_func;
34153   ;
34154   return 0;
34155 }
34156 _ACEOF
34157 rm -f conftest.$ac_objext conftest$ac_exeext
34158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34159   (eval $ac_link) 2>conftest.er1
34160   ac_status=$?
34161   grep -v '^ *+' conftest.er1 >conftest.err
34162   rm -f conftest.er1
34163   cat conftest.err >&5
34164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34165   (exit $ac_status); } &&
34166          { ac_try='test -z "$ac_c_werror_flag"
34167                          || test ! -s conftest.err'
34168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34169   (eval $ac_try) 2>&5
34170   ac_status=$?
34171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34172   (exit $ac_status); }; } &&
34173          { ac_try='test -s conftest$ac_exeext'
34174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34175   (eval $ac_try) 2>&5
34176   ac_status=$?
34177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34178   (exit $ac_status); }; }; then
34179   eval "$as_ac_var=yes"
34180 else
34181   echo "$as_me: failed program was:" >&5
34182 sed 's/^/| /' conftest.$ac_ext >&5
34183
34184 eval "$as_ac_var=no"
34185 fi
34186 rm -f conftest.err conftest.$ac_objext \
34187       conftest$ac_exeext conftest.$ac_ext
34188 fi
34189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34191 if test `eval echo '${'$as_ac_var'}'` = yes; then
34192   cat >>confdefs.h <<_ACEOF
34193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34194 _ACEOF
34195
34196 fi
34197 done
34198
34199   else
34200
34201   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
34202 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
34203   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34204     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
34205   echo $ECHO_N "(cached) $ECHO_C" >&6
34206 else
34207
34208
34209
34210       ac_ext=cc
34211 ac_cpp='$CXXCPP $CPPFLAGS'
34212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34215
34216       cat >conftest.$ac_ext <<_ACEOF
34217 /* confdefs.h.  */
34218 _ACEOF
34219 cat confdefs.h >>conftest.$ac_ext
34220 cat >>conftest.$ac_ext <<_ACEOF
34221 /* end confdefs.h.  */
34222 #include <math.h>
34223 int
34224 main ()
34225 {
34226  _hypot(0, 0);
34227   ;
34228   return 0;
34229 }
34230 _ACEOF
34231 rm -f conftest.$ac_objext
34232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34233   (eval $ac_compile) 2>conftest.er1
34234   ac_status=$?
34235   grep -v '^ *+' conftest.er1 >conftest.err
34236   rm -f conftest.er1
34237   cat conftest.err >&5
34238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34239   (exit $ac_status); } &&
34240          { ac_try='test -z "$ac_cxx_werror_flag"
34241                          || test ! -s conftest.err'
34242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34243   (eval $ac_try) 2>&5
34244   ac_status=$?
34245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34246   (exit $ac_status); }; } &&
34247          { ac_try='test -s conftest.$ac_objext'
34248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34249   (eval $ac_try) 2>&5
34250   ac_status=$?
34251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34252   (exit $ac_status); }; }; then
34253   glibcxx_cv_func__hypot_use=yes
34254 else
34255   echo "$as_me: failed program was:" >&5
34256 sed 's/^/| /' conftest.$ac_ext >&5
34257
34258 glibcxx_cv_func__hypot_use=no
34259 fi
34260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34261       ac_ext=c
34262 ac_cpp='$CPP $CPPFLAGS'
34263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34266
34267
34268 fi
34269
34270   fi
34271   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
34272 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
34273
34274     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34275
34276 for ac_func in _hypot
34277 do
34278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34279 echo "$as_me:$LINENO: checking for $ac_func" >&5
34280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34281 if eval "test \"\${$as_ac_var+set}\" = set"; then
34282   echo $ECHO_N "(cached) $ECHO_C" >&6
34283 else
34284   if test x$gcc_no_link = xyes; then
34285   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34287    { (exit 1); exit 1; }; }
34288 fi
34289 cat >conftest.$ac_ext <<_ACEOF
34290 /* confdefs.h.  */
34291 _ACEOF
34292 cat confdefs.h >>conftest.$ac_ext
34293 cat >>conftest.$ac_ext <<_ACEOF
34294 /* end confdefs.h.  */
34295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34296    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34297 #define $ac_func innocuous_$ac_func
34298
34299 /* System header to define __stub macros and hopefully few prototypes,
34300     which can conflict with char $ac_func (); below.
34301     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34302     <limits.h> exists even on freestanding compilers.  */
34303
34304 #ifdef __STDC__
34305 # include <limits.h>
34306 #else
34307 # include <assert.h>
34308 #endif
34309
34310 #undef $ac_func
34311
34312 /* Override any gcc2 internal prototype to avoid an error.  */
34313 #ifdef __cplusplus
34314 extern "C"
34315 {
34316 #endif
34317 /* We use char because int might match the return type of a gcc2
34318    builtin and then its argument prototype would still apply.  */
34319 char $ac_func ();
34320 /* The GNU C library defines this for functions which it implements
34321     to always fail with ENOSYS.  Some functions are actually named
34322     something starting with __ and the normal name is an alias.  */
34323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34324 choke me
34325 #else
34326 char (*f) () = $ac_func;
34327 #endif
34328 #ifdef __cplusplus
34329 }
34330 #endif
34331
34332 int
34333 main ()
34334 {
34335 return f != $ac_func;
34336   ;
34337   return 0;
34338 }
34339 _ACEOF
34340 rm -f conftest.$ac_objext conftest$ac_exeext
34341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34342   (eval $ac_link) 2>conftest.er1
34343   ac_status=$?
34344   grep -v '^ *+' conftest.er1 >conftest.err
34345   rm -f conftest.er1
34346   cat conftest.err >&5
34347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34348   (exit $ac_status); } &&
34349          { ac_try='test -z "$ac_c_werror_flag"
34350                          || test ! -s conftest.err'
34351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34352   (eval $ac_try) 2>&5
34353   ac_status=$?
34354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34355   (exit $ac_status); }; } &&
34356          { ac_try='test -s conftest$ac_exeext'
34357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34358   (eval $ac_try) 2>&5
34359   ac_status=$?
34360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34361   (exit $ac_status); }; }; then
34362   eval "$as_ac_var=yes"
34363 else
34364   echo "$as_me: failed program was:" >&5
34365 sed 's/^/| /' conftest.$ac_ext >&5
34366
34367 eval "$as_ac_var=no"
34368 fi
34369 rm -f conftest.err conftest.$ac_objext \
34370       conftest$ac_exeext conftest.$ac_ext
34371 fi
34372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34374 if test `eval echo '${'$as_ac_var'}'` = yes; then
34375   cat >>confdefs.h <<_ACEOF
34376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34377 _ACEOF
34378
34379 fi
34380 done
34381
34382     fi
34383   fi
34384
34385
34386
34387   echo "$as_me:$LINENO: checking for float trig functions" >&5
34388 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
34389   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
34390   echo $ECHO_N "(cached) $ECHO_C" >&6
34391 else
34392
34393
34394
34395     ac_ext=cc
34396 ac_cpp='$CXXCPP $CPPFLAGS'
34397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34400
34401     cat >conftest.$ac_ext <<_ACEOF
34402 /* confdefs.h.  */
34403 _ACEOF
34404 cat confdefs.h >>conftest.$ac_ext
34405 cat >>conftest.$ac_ext <<_ACEOF
34406 /* end confdefs.h.  */
34407 #include <math.h>
34408 int
34409 main ()
34410 {
34411  `for x in acosf asinf atanf \
34412                                           cosf sinf tanf \
34413                                           coshf sinhf tanhf; do echo "$x (0);"; done`
34414   ;
34415   return 0;
34416 }
34417 _ACEOF
34418 rm -f conftest.$ac_objext
34419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34420   (eval $ac_compile) 2>conftest.er1
34421   ac_status=$?
34422   grep -v '^ *+' conftest.er1 >conftest.err
34423   rm -f conftest.er1
34424   cat conftest.err >&5
34425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34426   (exit $ac_status); } &&
34427          { ac_try='test -z "$ac_cxx_werror_flag"
34428                          || test ! -s conftest.err'
34429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34430   (eval $ac_try) 2>&5
34431   ac_status=$?
34432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34433   (exit $ac_status); }; } &&
34434          { ac_try='test -s conftest.$ac_objext'
34435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34436   (eval $ac_try) 2>&5
34437   ac_status=$?
34438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34439   (exit $ac_status); }; }; then
34440   glibcxx_cv_func_float_trig_use=yes
34441 else
34442   echo "$as_me: failed program was:" >&5
34443 sed 's/^/| /' conftest.$ac_ext >&5
34444
34445 glibcxx_cv_func_float_trig_use=no
34446 fi
34447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34448     ac_ext=c
34449 ac_cpp='$CPP $CPPFLAGS'
34450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34453
34454 fi
34455
34456   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
34457 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
34458   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34459
34460
34461
34462
34463
34464
34465
34466
34467
34468 for ac_func in acosf asinf atanf \
34469                                           cosf sinf tanf \
34470                                           coshf sinhf tanhf
34471 do
34472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34473 echo "$as_me:$LINENO: checking for $ac_func" >&5
34474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34475 if eval "test \"\${$as_ac_var+set}\" = set"; then
34476   echo $ECHO_N "(cached) $ECHO_C" >&6
34477 else
34478   if test x$gcc_no_link = xyes; then
34479   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34481    { (exit 1); exit 1; }; }
34482 fi
34483 cat >conftest.$ac_ext <<_ACEOF
34484 /* confdefs.h.  */
34485 _ACEOF
34486 cat confdefs.h >>conftest.$ac_ext
34487 cat >>conftest.$ac_ext <<_ACEOF
34488 /* end confdefs.h.  */
34489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34490    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34491 #define $ac_func innocuous_$ac_func
34492
34493 /* System header to define __stub macros and hopefully few prototypes,
34494     which can conflict with char $ac_func (); below.
34495     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34496     <limits.h> exists even on freestanding compilers.  */
34497
34498 #ifdef __STDC__
34499 # include <limits.h>
34500 #else
34501 # include <assert.h>
34502 #endif
34503
34504 #undef $ac_func
34505
34506 /* Override any gcc2 internal prototype to avoid an error.  */
34507 #ifdef __cplusplus
34508 extern "C"
34509 {
34510 #endif
34511 /* We use char because int might match the return type of a gcc2
34512    builtin and then its argument prototype would still apply.  */
34513 char $ac_func ();
34514 /* The GNU C library defines this for functions which it implements
34515     to always fail with ENOSYS.  Some functions are actually named
34516     something starting with __ and the normal name is an alias.  */
34517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34518 choke me
34519 #else
34520 char (*f) () = $ac_func;
34521 #endif
34522 #ifdef __cplusplus
34523 }
34524 #endif
34525
34526 int
34527 main ()
34528 {
34529 return f != $ac_func;
34530   ;
34531   return 0;
34532 }
34533 _ACEOF
34534 rm -f conftest.$ac_objext conftest$ac_exeext
34535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34536   (eval $ac_link) 2>conftest.er1
34537   ac_status=$?
34538   grep -v '^ *+' conftest.er1 >conftest.err
34539   rm -f conftest.er1
34540   cat conftest.err >&5
34541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34542   (exit $ac_status); } &&
34543          { ac_try='test -z "$ac_c_werror_flag"
34544                          || test ! -s conftest.err'
34545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34546   (eval $ac_try) 2>&5
34547   ac_status=$?
34548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34549   (exit $ac_status); }; } &&
34550          { ac_try='test -s conftest$ac_exeext'
34551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34552   (eval $ac_try) 2>&5
34553   ac_status=$?
34554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34555   (exit $ac_status); }; }; then
34556   eval "$as_ac_var=yes"
34557 else
34558   echo "$as_me: failed program was:" >&5
34559 sed 's/^/| /' conftest.$ac_ext >&5
34560
34561 eval "$as_ac_var=no"
34562 fi
34563 rm -f conftest.err conftest.$ac_objext \
34564       conftest$ac_exeext conftest.$ac_ext
34565 fi
34566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34568 if test `eval echo '${'$as_ac_var'}'` = yes; then
34569   cat >>confdefs.h <<_ACEOF
34570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34571 _ACEOF
34572
34573 fi
34574 done
34575
34576   fi
34577
34578
34579   echo "$as_me:$LINENO: checking for float round functions" >&5
34580 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
34581   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
34582   echo $ECHO_N "(cached) $ECHO_C" >&6
34583 else
34584
34585
34586
34587     ac_ext=cc
34588 ac_cpp='$CXXCPP $CPPFLAGS'
34589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34592
34593     cat >conftest.$ac_ext <<_ACEOF
34594 /* confdefs.h.  */
34595 _ACEOF
34596 cat confdefs.h >>conftest.$ac_ext
34597 cat >>conftest.$ac_ext <<_ACEOF
34598 /* end confdefs.h.  */
34599 #include <math.h>
34600 int
34601 main ()
34602 {
34603  `for x in ceilf floorf; do echo "$x (0);"; done`
34604   ;
34605   return 0;
34606 }
34607 _ACEOF
34608 rm -f conftest.$ac_objext
34609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34610   (eval $ac_compile) 2>conftest.er1
34611   ac_status=$?
34612   grep -v '^ *+' conftest.er1 >conftest.err
34613   rm -f conftest.er1
34614   cat conftest.err >&5
34615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34616   (exit $ac_status); } &&
34617          { ac_try='test -z "$ac_cxx_werror_flag"
34618                          || test ! -s conftest.err'
34619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34620   (eval $ac_try) 2>&5
34621   ac_status=$?
34622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34623   (exit $ac_status); }; } &&
34624          { ac_try='test -s conftest.$ac_objext'
34625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34626   (eval $ac_try) 2>&5
34627   ac_status=$?
34628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34629   (exit $ac_status); }; }; then
34630   glibcxx_cv_func_float_round_use=yes
34631 else
34632   echo "$as_me: failed program was:" >&5
34633 sed 's/^/| /' conftest.$ac_ext >&5
34634
34635 glibcxx_cv_func_float_round_use=no
34636 fi
34637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34638     ac_ext=c
34639 ac_cpp='$CPP $CPPFLAGS'
34640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34643
34644 fi
34645
34646   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
34647 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
34648   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34649
34650
34651 for ac_func in ceilf floorf
34652 do
34653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34654 echo "$as_me:$LINENO: checking for $ac_func" >&5
34655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34656 if eval "test \"\${$as_ac_var+set}\" = set"; then
34657   echo $ECHO_N "(cached) $ECHO_C" >&6
34658 else
34659   if test x$gcc_no_link = xyes; then
34660   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34662    { (exit 1); exit 1; }; }
34663 fi
34664 cat >conftest.$ac_ext <<_ACEOF
34665 /* confdefs.h.  */
34666 _ACEOF
34667 cat confdefs.h >>conftest.$ac_ext
34668 cat >>conftest.$ac_ext <<_ACEOF
34669 /* end confdefs.h.  */
34670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34671    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34672 #define $ac_func innocuous_$ac_func
34673
34674 /* System header to define __stub macros and hopefully few prototypes,
34675     which can conflict with char $ac_func (); below.
34676     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34677     <limits.h> exists even on freestanding compilers.  */
34678
34679 #ifdef __STDC__
34680 # include <limits.h>
34681 #else
34682 # include <assert.h>
34683 #endif
34684
34685 #undef $ac_func
34686
34687 /* Override any gcc2 internal prototype to avoid an error.  */
34688 #ifdef __cplusplus
34689 extern "C"
34690 {
34691 #endif
34692 /* We use char because int might match the return type of a gcc2
34693    builtin and then its argument prototype would still apply.  */
34694 char $ac_func ();
34695 /* The GNU C library defines this for functions which it implements
34696     to always fail with ENOSYS.  Some functions are actually named
34697     something starting with __ and the normal name is an alias.  */
34698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34699 choke me
34700 #else
34701 char (*f) () = $ac_func;
34702 #endif
34703 #ifdef __cplusplus
34704 }
34705 #endif
34706
34707 int
34708 main ()
34709 {
34710 return f != $ac_func;
34711   ;
34712   return 0;
34713 }
34714 _ACEOF
34715 rm -f conftest.$ac_objext conftest$ac_exeext
34716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34717   (eval $ac_link) 2>conftest.er1
34718   ac_status=$?
34719   grep -v '^ *+' conftest.er1 >conftest.err
34720   rm -f conftest.er1
34721   cat conftest.err >&5
34722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34723   (exit $ac_status); } &&
34724          { ac_try='test -z "$ac_c_werror_flag"
34725                          || test ! -s conftest.err'
34726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34727   (eval $ac_try) 2>&5
34728   ac_status=$?
34729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34730   (exit $ac_status); }; } &&
34731          { ac_try='test -s conftest$ac_exeext'
34732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34733   (eval $ac_try) 2>&5
34734   ac_status=$?
34735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34736   (exit $ac_status); }; }; then
34737   eval "$as_ac_var=yes"
34738 else
34739   echo "$as_me: failed program was:" >&5
34740 sed 's/^/| /' conftest.$ac_ext >&5
34741
34742 eval "$as_ac_var=no"
34743 fi
34744 rm -f conftest.err conftest.$ac_objext \
34745       conftest$ac_exeext conftest.$ac_ext
34746 fi
34747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34749 if test `eval echo '${'$as_ac_var'}'` = yes; then
34750   cat >>confdefs.h <<_ACEOF
34751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34752 _ACEOF
34753
34754 fi
34755 done
34756
34757   fi
34758
34759
34760
34761   echo "$as_me:$LINENO: checking for expf declaration" >&5
34762 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
34763   if test x${glibcxx_cv_func_expf_use+set} != xset; then
34764     if test "${glibcxx_cv_func_expf_use+set}" = set; then
34765   echo $ECHO_N "(cached) $ECHO_C" >&6
34766 else
34767
34768
34769
34770       ac_ext=cc
34771 ac_cpp='$CXXCPP $CPPFLAGS'
34772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34775
34776       cat >conftest.$ac_ext <<_ACEOF
34777 /* confdefs.h.  */
34778 _ACEOF
34779 cat confdefs.h >>conftest.$ac_ext
34780 cat >>conftest.$ac_ext <<_ACEOF
34781 /* end confdefs.h.  */
34782 #include <math.h>
34783                       #ifdef HAVE_IEEEFP_H
34784                       #include <ieeefp.h>
34785                       #endif
34786
34787 int
34788 main ()
34789 {
34790  expf(0);
34791   ;
34792   return 0;
34793 }
34794 _ACEOF
34795 rm -f conftest.$ac_objext
34796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34797   (eval $ac_compile) 2>conftest.er1
34798   ac_status=$?
34799   grep -v '^ *+' conftest.er1 >conftest.err
34800   rm -f conftest.er1
34801   cat conftest.err >&5
34802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34803   (exit $ac_status); } &&
34804          { ac_try='test -z "$ac_cxx_werror_flag"
34805                          || test ! -s conftest.err'
34806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34807   (eval $ac_try) 2>&5
34808   ac_status=$?
34809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34810   (exit $ac_status); }; } &&
34811          { ac_try='test -s conftest.$ac_objext'
34812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34813   (eval $ac_try) 2>&5
34814   ac_status=$?
34815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34816   (exit $ac_status); }; }; then
34817   glibcxx_cv_func_expf_use=yes
34818 else
34819   echo "$as_me: failed program was:" >&5
34820 sed 's/^/| /' conftest.$ac_ext >&5
34821
34822 glibcxx_cv_func_expf_use=no
34823 fi
34824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34825       ac_ext=c
34826 ac_cpp='$CPP $CPPFLAGS'
34827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34830
34831
34832 fi
34833
34834   fi
34835   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
34836 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
34837
34838   if test x$glibcxx_cv_func_expf_use = x"yes"; then
34839
34840 for ac_func in expf
34841 do
34842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34843 echo "$as_me:$LINENO: checking for $ac_func" >&5
34844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34845 if eval "test \"\${$as_ac_var+set}\" = set"; then
34846   echo $ECHO_N "(cached) $ECHO_C" >&6
34847 else
34848   if test x$gcc_no_link = xyes; then
34849   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34851    { (exit 1); exit 1; }; }
34852 fi
34853 cat >conftest.$ac_ext <<_ACEOF
34854 /* confdefs.h.  */
34855 _ACEOF
34856 cat confdefs.h >>conftest.$ac_ext
34857 cat >>conftest.$ac_ext <<_ACEOF
34858 /* end confdefs.h.  */
34859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34860    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34861 #define $ac_func innocuous_$ac_func
34862
34863 /* System header to define __stub macros and hopefully few prototypes,
34864     which can conflict with char $ac_func (); below.
34865     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34866     <limits.h> exists even on freestanding compilers.  */
34867
34868 #ifdef __STDC__
34869 # include <limits.h>
34870 #else
34871 # include <assert.h>
34872 #endif
34873
34874 #undef $ac_func
34875
34876 /* Override any gcc2 internal prototype to avoid an error.  */
34877 #ifdef __cplusplus
34878 extern "C"
34879 {
34880 #endif
34881 /* We use char because int might match the return type of a gcc2
34882    builtin and then its argument prototype would still apply.  */
34883 char $ac_func ();
34884 /* The GNU C library defines this for functions which it implements
34885     to always fail with ENOSYS.  Some functions are actually named
34886     something starting with __ and the normal name is an alias.  */
34887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34888 choke me
34889 #else
34890 char (*f) () = $ac_func;
34891 #endif
34892 #ifdef __cplusplus
34893 }
34894 #endif
34895
34896 int
34897 main ()
34898 {
34899 return f != $ac_func;
34900   ;
34901   return 0;
34902 }
34903 _ACEOF
34904 rm -f conftest.$ac_objext conftest$ac_exeext
34905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34906   (eval $ac_link) 2>conftest.er1
34907   ac_status=$?
34908   grep -v '^ *+' conftest.er1 >conftest.err
34909   rm -f conftest.er1
34910   cat conftest.err >&5
34911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34912   (exit $ac_status); } &&
34913          { ac_try='test -z "$ac_c_werror_flag"
34914                          || test ! -s conftest.err'
34915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34916   (eval $ac_try) 2>&5
34917   ac_status=$?
34918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34919   (exit $ac_status); }; } &&
34920          { ac_try='test -s conftest$ac_exeext'
34921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34922   (eval $ac_try) 2>&5
34923   ac_status=$?
34924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34925   (exit $ac_status); }; }; then
34926   eval "$as_ac_var=yes"
34927 else
34928   echo "$as_me: failed program was:" >&5
34929 sed 's/^/| /' conftest.$ac_ext >&5
34930
34931 eval "$as_ac_var=no"
34932 fi
34933 rm -f conftest.err conftest.$ac_objext \
34934       conftest$ac_exeext conftest.$ac_ext
34935 fi
34936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34938 if test `eval echo '${'$as_ac_var'}'` = yes; then
34939   cat >>confdefs.h <<_ACEOF
34940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34941 _ACEOF
34942
34943 fi
34944 done
34945
34946   else
34947
34948   echo "$as_me:$LINENO: checking for _expf declaration" >&5
34949 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
34950   if test x${glibcxx_cv_func__expf_use+set} != xset; then
34951     if test "${glibcxx_cv_func__expf_use+set}" = set; then
34952   echo $ECHO_N "(cached) $ECHO_C" >&6
34953 else
34954
34955
34956
34957       ac_ext=cc
34958 ac_cpp='$CXXCPP $CPPFLAGS'
34959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34962
34963       cat >conftest.$ac_ext <<_ACEOF
34964 /* confdefs.h.  */
34965 _ACEOF
34966 cat confdefs.h >>conftest.$ac_ext
34967 cat >>conftest.$ac_ext <<_ACEOF
34968 /* end confdefs.h.  */
34969 #include <math.h>
34970                       #ifdef HAVE_IEEEFP_H
34971                       #include <ieeefp.h>
34972                       #endif
34973
34974 int
34975 main ()
34976 {
34977  _expf(0);
34978   ;
34979   return 0;
34980 }
34981 _ACEOF
34982 rm -f conftest.$ac_objext
34983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34984   (eval $ac_compile) 2>conftest.er1
34985   ac_status=$?
34986   grep -v '^ *+' conftest.er1 >conftest.err
34987   rm -f conftest.er1
34988   cat conftest.err >&5
34989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34990   (exit $ac_status); } &&
34991          { ac_try='test -z "$ac_cxx_werror_flag"
34992                          || test ! -s conftest.err'
34993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34994   (eval $ac_try) 2>&5
34995   ac_status=$?
34996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34997   (exit $ac_status); }; } &&
34998          { ac_try='test -s conftest.$ac_objext'
34999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35000   (eval $ac_try) 2>&5
35001   ac_status=$?
35002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35003   (exit $ac_status); }; }; then
35004   glibcxx_cv_func__expf_use=yes
35005 else
35006   echo "$as_me: failed program was:" >&5
35007 sed 's/^/| /' conftest.$ac_ext >&5
35008
35009 glibcxx_cv_func__expf_use=no
35010 fi
35011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35012       ac_ext=c
35013 ac_cpp='$CPP $CPPFLAGS'
35014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35017
35018
35019 fi
35020
35021   fi
35022   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
35023 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
35024
35025     if test x$glibcxx_cv_func__expf_use = x"yes"; then
35026
35027 for ac_func in _expf
35028 do
35029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35030 echo "$as_me:$LINENO: checking for $ac_func" >&5
35031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35032 if eval "test \"\${$as_ac_var+set}\" = set"; then
35033   echo $ECHO_N "(cached) $ECHO_C" >&6
35034 else
35035   if test x$gcc_no_link = xyes; then
35036   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35038    { (exit 1); exit 1; }; }
35039 fi
35040 cat >conftest.$ac_ext <<_ACEOF
35041 /* confdefs.h.  */
35042 _ACEOF
35043 cat confdefs.h >>conftest.$ac_ext
35044 cat >>conftest.$ac_ext <<_ACEOF
35045 /* end confdefs.h.  */
35046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35047    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35048 #define $ac_func innocuous_$ac_func
35049
35050 /* System header to define __stub macros and hopefully few prototypes,
35051     which can conflict with char $ac_func (); below.
35052     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35053     <limits.h> exists even on freestanding compilers.  */
35054
35055 #ifdef __STDC__
35056 # include <limits.h>
35057 #else
35058 # include <assert.h>
35059 #endif
35060
35061 #undef $ac_func
35062
35063 /* Override any gcc2 internal prototype to avoid an error.  */
35064 #ifdef __cplusplus
35065 extern "C"
35066 {
35067 #endif
35068 /* We use char because int might match the return type of a gcc2
35069    builtin and then its argument prototype would still apply.  */
35070 char $ac_func ();
35071 /* The GNU C library defines this for functions which it implements
35072     to always fail with ENOSYS.  Some functions are actually named
35073     something starting with __ and the normal name is an alias.  */
35074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35075 choke me
35076 #else
35077 char (*f) () = $ac_func;
35078 #endif
35079 #ifdef __cplusplus
35080 }
35081 #endif
35082
35083 int
35084 main ()
35085 {
35086 return f != $ac_func;
35087   ;
35088   return 0;
35089 }
35090 _ACEOF
35091 rm -f conftest.$ac_objext conftest$ac_exeext
35092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35093   (eval $ac_link) 2>conftest.er1
35094   ac_status=$?
35095   grep -v '^ *+' conftest.er1 >conftest.err
35096   rm -f conftest.er1
35097   cat conftest.err >&5
35098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35099   (exit $ac_status); } &&
35100          { ac_try='test -z "$ac_c_werror_flag"
35101                          || test ! -s conftest.err'
35102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35103   (eval $ac_try) 2>&5
35104   ac_status=$?
35105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35106   (exit $ac_status); }; } &&
35107          { ac_try='test -s conftest$ac_exeext'
35108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35109   (eval $ac_try) 2>&5
35110   ac_status=$?
35111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35112   (exit $ac_status); }; }; then
35113   eval "$as_ac_var=yes"
35114 else
35115   echo "$as_me: failed program was:" >&5
35116 sed 's/^/| /' conftest.$ac_ext >&5
35117
35118 eval "$as_ac_var=no"
35119 fi
35120 rm -f conftest.err conftest.$ac_objext \
35121       conftest$ac_exeext conftest.$ac_ext
35122 fi
35123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35125 if test `eval echo '${'$as_ac_var'}'` = yes; then
35126   cat >>confdefs.h <<_ACEOF
35127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35128 _ACEOF
35129
35130 fi
35131 done
35132
35133     fi
35134   fi
35135
35136
35137
35138   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
35139 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
35140   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35141     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
35142   echo $ECHO_N "(cached) $ECHO_C" >&6
35143 else
35144
35145
35146
35147       ac_ext=cc
35148 ac_cpp='$CXXCPP $CPPFLAGS'
35149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35152
35153       cat >conftest.$ac_ext <<_ACEOF
35154 /* confdefs.h.  */
35155 _ACEOF
35156 cat confdefs.h >>conftest.$ac_ext
35157 cat >>conftest.$ac_ext <<_ACEOF
35158 /* end confdefs.h.  */
35159 #include <math.h>
35160                       #ifdef HAVE_IEEEFP_H
35161                       #include <ieeefp.h>
35162                       #endif
35163
35164 int
35165 main ()
35166 {
35167  isnanf(0);
35168   ;
35169   return 0;
35170 }
35171 _ACEOF
35172 rm -f conftest.$ac_objext
35173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35174   (eval $ac_compile) 2>conftest.er1
35175   ac_status=$?
35176   grep -v '^ *+' conftest.er1 >conftest.err
35177   rm -f conftest.er1
35178   cat conftest.err >&5
35179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35180   (exit $ac_status); } &&
35181          { ac_try='test -z "$ac_cxx_werror_flag"
35182                          || test ! -s conftest.err'
35183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35184   (eval $ac_try) 2>&5
35185   ac_status=$?
35186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35187   (exit $ac_status); }; } &&
35188          { ac_try='test -s conftest.$ac_objext'
35189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35190   (eval $ac_try) 2>&5
35191   ac_status=$?
35192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35193   (exit $ac_status); }; }; then
35194   glibcxx_cv_func_isnanf_use=yes
35195 else
35196   echo "$as_me: failed program was:" >&5
35197 sed 's/^/| /' conftest.$ac_ext >&5
35198
35199 glibcxx_cv_func_isnanf_use=no
35200 fi
35201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35202       ac_ext=c
35203 ac_cpp='$CPP $CPPFLAGS'
35204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35207
35208
35209 fi
35210
35211   fi
35212   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
35213 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
35214
35215   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35216
35217 for ac_func in isnanf
35218 do
35219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35220 echo "$as_me:$LINENO: checking for $ac_func" >&5
35221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35222 if eval "test \"\${$as_ac_var+set}\" = set"; then
35223   echo $ECHO_N "(cached) $ECHO_C" >&6
35224 else
35225   if test x$gcc_no_link = xyes; then
35226   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35228    { (exit 1); exit 1; }; }
35229 fi
35230 cat >conftest.$ac_ext <<_ACEOF
35231 /* confdefs.h.  */
35232 _ACEOF
35233 cat confdefs.h >>conftest.$ac_ext
35234 cat >>conftest.$ac_ext <<_ACEOF
35235 /* end confdefs.h.  */
35236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35237    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35238 #define $ac_func innocuous_$ac_func
35239
35240 /* System header to define __stub macros and hopefully few prototypes,
35241     which can conflict with char $ac_func (); below.
35242     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35243     <limits.h> exists even on freestanding compilers.  */
35244
35245 #ifdef __STDC__
35246 # include <limits.h>
35247 #else
35248 # include <assert.h>
35249 #endif
35250
35251 #undef $ac_func
35252
35253 /* Override any gcc2 internal prototype to avoid an error.  */
35254 #ifdef __cplusplus
35255 extern "C"
35256 {
35257 #endif
35258 /* We use char because int might match the return type of a gcc2
35259    builtin and then its argument prototype would still apply.  */
35260 char $ac_func ();
35261 /* The GNU C library defines this for functions which it implements
35262     to always fail with ENOSYS.  Some functions are actually named
35263     something starting with __ and the normal name is an alias.  */
35264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35265 choke me
35266 #else
35267 char (*f) () = $ac_func;
35268 #endif
35269 #ifdef __cplusplus
35270 }
35271 #endif
35272
35273 int
35274 main ()
35275 {
35276 return f != $ac_func;
35277   ;
35278   return 0;
35279 }
35280 _ACEOF
35281 rm -f conftest.$ac_objext conftest$ac_exeext
35282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35283   (eval $ac_link) 2>conftest.er1
35284   ac_status=$?
35285   grep -v '^ *+' conftest.er1 >conftest.err
35286   rm -f conftest.er1
35287   cat conftest.err >&5
35288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35289   (exit $ac_status); } &&
35290          { ac_try='test -z "$ac_c_werror_flag"
35291                          || test ! -s conftest.err'
35292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35293   (eval $ac_try) 2>&5
35294   ac_status=$?
35295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35296   (exit $ac_status); }; } &&
35297          { ac_try='test -s conftest$ac_exeext'
35298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35299   (eval $ac_try) 2>&5
35300   ac_status=$?
35301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35302   (exit $ac_status); }; }; then
35303   eval "$as_ac_var=yes"
35304 else
35305   echo "$as_me: failed program was:" >&5
35306 sed 's/^/| /' conftest.$ac_ext >&5
35307
35308 eval "$as_ac_var=no"
35309 fi
35310 rm -f conftest.err conftest.$ac_objext \
35311       conftest$ac_exeext conftest.$ac_ext
35312 fi
35313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35315 if test `eval echo '${'$as_ac_var'}'` = yes; then
35316   cat >>confdefs.h <<_ACEOF
35317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35318 _ACEOF
35319
35320 fi
35321 done
35322
35323   else
35324
35325   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
35326 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
35327   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35328     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
35329   echo $ECHO_N "(cached) $ECHO_C" >&6
35330 else
35331
35332
35333
35334       ac_ext=cc
35335 ac_cpp='$CXXCPP $CPPFLAGS'
35336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35339
35340       cat >conftest.$ac_ext <<_ACEOF
35341 /* confdefs.h.  */
35342 _ACEOF
35343 cat confdefs.h >>conftest.$ac_ext
35344 cat >>conftest.$ac_ext <<_ACEOF
35345 /* end confdefs.h.  */
35346 #include <math.h>
35347                       #ifdef HAVE_IEEEFP_H
35348                       #include <ieeefp.h>
35349                       #endif
35350
35351 int
35352 main ()
35353 {
35354  _isnanf(0);
35355   ;
35356   return 0;
35357 }
35358 _ACEOF
35359 rm -f conftest.$ac_objext
35360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35361   (eval $ac_compile) 2>conftest.er1
35362   ac_status=$?
35363   grep -v '^ *+' conftest.er1 >conftest.err
35364   rm -f conftest.er1
35365   cat conftest.err >&5
35366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35367   (exit $ac_status); } &&
35368          { ac_try='test -z "$ac_cxx_werror_flag"
35369                          || test ! -s conftest.err'
35370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35371   (eval $ac_try) 2>&5
35372   ac_status=$?
35373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35374   (exit $ac_status); }; } &&
35375          { ac_try='test -s conftest.$ac_objext'
35376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35377   (eval $ac_try) 2>&5
35378   ac_status=$?
35379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35380   (exit $ac_status); }; }; then
35381   glibcxx_cv_func__isnanf_use=yes
35382 else
35383   echo "$as_me: failed program was:" >&5
35384 sed 's/^/| /' conftest.$ac_ext >&5
35385
35386 glibcxx_cv_func__isnanf_use=no
35387 fi
35388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35389       ac_ext=c
35390 ac_cpp='$CPP $CPPFLAGS'
35391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35394
35395
35396 fi
35397
35398   fi
35399   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
35400 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
35401
35402     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35403
35404 for ac_func in _isnanf
35405 do
35406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35407 echo "$as_me:$LINENO: checking for $ac_func" >&5
35408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35409 if eval "test \"\${$as_ac_var+set}\" = set"; then
35410   echo $ECHO_N "(cached) $ECHO_C" >&6
35411 else
35412   if test x$gcc_no_link = xyes; then
35413   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35415    { (exit 1); exit 1; }; }
35416 fi
35417 cat >conftest.$ac_ext <<_ACEOF
35418 /* confdefs.h.  */
35419 _ACEOF
35420 cat confdefs.h >>conftest.$ac_ext
35421 cat >>conftest.$ac_ext <<_ACEOF
35422 /* end confdefs.h.  */
35423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35424    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35425 #define $ac_func innocuous_$ac_func
35426
35427 /* System header to define __stub macros and hopefully few prototypes,
35428     which can conflict with char $ac_func (); below.
35429     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35430     <limits.h> exists even on freestanding compilers.  */
35431
35432 #ifdef __STDC__
35433 # include <limits.h>
35434 #else
35435 # include <assert.h>
35436 #endif
35437
35438 #undef $ac_func
35439
35440 /* Override any gcc2 internal prototype to avoid an error.  */
35441 #ifdef __cplusplus
35442 extern "C"
35443 {
35444 #endif
35445 /* We use char because int might match the return type of a gcc2
35446    builtin and then its argument prototype would still apply.  */
35447 char $ac_func ();
35448 /* The GNU C library defines this for functions which it implements
35449     to always fail with ENOSYS.  Some functions are actually named
35450     something starting with __ and the normal name is an alias.  */
35451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35452 choke me
35453 #else
35454 char (*f) () = $ac_func;
35455 #endif
35456 #ifdef __cplusplus
35457 }
35458 #endif
35459
35460 int
35461 main ()
35462 {
35463 return f != $ac_func;
35464   ;
35465   return 0;
35466 }
35467 _ACEOF
35468 rm -f conftest.$ac_objext conftest$ac_exeext
35469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35470   (eval $ac_link) 2>conftest.er1
35471   ac_status=$?
35472   grep -v '^ *+' conftest.er1 >conftest.err
35473   rm -f conftest.er1
35474   cat conftest.err >&5
35475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35476   (exit $ac_status); } &&
35477          { ac_try='test -z "$ac_c_werror_flag"
35478                          || test ! -s conftest.err'
35479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35480   (eval $ac_try) 2>&5
35481   ac_status=$?
35482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35483   (exit $ac_status); }; } &&
35484          { ac_try='test -s conftest$ac_exeext'
35485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35486   (eval $ac_try) 2>&5
35487   ac_status=$?
35488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35489   (exit $ac_status); }; }; then
35490   eval "$as_ac_var=yes"
35491 else
35492   echo "$as_me: failed program was:" >&5
35493 sed 's/^/| /' conftest.$ac_ext >&5
35494
35495 eval "$as_ac_var=no"
35496 fi
35497 rm -f conftest.err conftest.$ac_objext \
35498       conftest$ac_exeext conftest.$ac_ext
35499 fi
35500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35502 if test `eval echo '${'$as_ac_var'}'` = yes; then
35503   cat >>confdefs.h <<_ACEOF
35504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35505 _ACEOF
35506
35507 fi
35508 done
35509
35510     fi
35511   fi
35512
35513
35514
35515   echo "$as_me:$LINENO: checking for isinff declaration" >&5
35516 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
35517   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35518     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
35519   echo $ECHO_N "(cached) $ECHO_C" >&6
35520 else
35521
35522
35523
35524       ac_ext=cc
35525 ac_cpp='$CXXCPP $CPPFLAGS'
35526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35529
35530       cat >conftest.$ac_ext <<_ACEOF
35531 /* confdefs.h.  */
35532 _ACEOF
35533 cat confdefs.h >>conftest.$ac_ext
35534 cat >>conftest.$ac_ext <<_ACEOF
35535 /* end confdefs.h.  */
35536 #include <math.h>
35537                       #ifdef HAVE_IEEEFP_H
35538                       #include <ieeefp.h>
35539                       #endif
35540
35541 int
35542 main ()
35543 {
35544  isinff(0);
35545   ;
35546   return 0;
35547 }
35548 _ACEOF
35549 rm -f conftest.$ac_objext
35550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35551   (eval $ac_compile) 2>conftest.er1
35552   ac_status=$?
35553   grep -v '^ *+' conftest.er1 >conftest.err
35554   rm -f conftest.er1
35555   cat conftest.err >&5
35556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35557   (exit $ac_status); } &&
35558          { ac_try='test -z "$ac_cxx_werror_flag"
35559                          || test ! -s conftest.err'
35560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35561   (eval $ac_try) 2>&5
35562   ac_status=$?
35563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35564   (exit $ac_status); }; } &&
35565          { ac_try='test -s conftest.$ac_objext'
35566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35567   (eval $ac_try) 2>&5
35568   ac_status=$?
35569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35570   (exit $ac_status); }; }; then
35571   glibcxx_cv_func_isinff_use=yes
35572 else
35573   echo "$as_me: failed program was:" >&5
35574 sed 's/^/| /' conftest.$ac_ext >&5
35575
35576 glibcxx_cv_func_isinff_use=no
35577 fi
35578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35579       ac_ext=c
35580 ac_cpp='$CPP $CPPFLAGS'
35581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35584
35585
35586 fi
35587
35588   fi
35589   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
35590 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
35591
35592   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35593
35594 for ac_func in isinff
35595 do
35596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35597 echo "$as_me:$LINENO: checking for $ac_func" >&5
35598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35599 if eval "test \"\${$as_ac_var+set}\" = set"; then
35600   echo $ECHO_N "(cached) $ECHO_C" >&6
35601 else
35602   if test x$gcc_no_link = xyes; then
35603   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35605    { (exit 1); exit 1; }; }
35606 fi
35607 cat >conftest.$ac_ext <<_ACEOF
35608 /* confdefs.h.  */
35609 _ACEOF
35610 cat confdefs.h >>conftest.$ac_ext
35611 cat >>conftest.$ac_ext <<_ACEOF
35612 /* end confdefs.h.  */
35613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35614    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35615 #define $ac_func innocuous_$ac_func
35616
35617 /* System header to define __stub macros and hopefully few prototypes,
35618     which can conflict with char $ac_func (); below.
35619     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35620     <limits.h> exists even on freestanding compilers.  */
35621
35622 #ifdef __STDC__
35623 # include <limits.h>
35624 #else
35625 # include <assert.h>
35626 #endif
35627
35628 #undef $ac_func
35629
35630 /* Override any gcc2 internal prototype to avoid an error.  */
35631 #ifdef __cplusplus
35632 extern "C"
35633 {
35634 #endif
35635 /* We use char because int might match the return type of a gcc2
35636    builtin and then its argument prototype would still apply.  */
35637 char $ac_func ();
35638 /* The GNU C library defines this for functions which it implements
35639     to always fail with ENOSYS.  Some functions are actually named
35640     something starting with __ and the normal name is an alias.  */
35641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35642 choke me
35643 #else
35644 char (*f) () = $ac_func;
35645 #endif
35646 #ifdef __cplusplus
35647 }
35648 #endif
35649
35650 int
35651 main ()
35652 {
35653 return f != $ac_func;
35654   ;
35655   return 0;
35656 }
35657 _ACEOF
35658 rm -f conftest.$ac_objext conftest$ac_exeext
35659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35660   (eval $ac_link) 2>conftest.er1
35661   ac_status=$?
35662   grep -v '^ *+' conftest.er1 >conftest.err
35663   rm -f conftest.er1
35664   cat conftest.err >&5
35665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35666   (exit $ac_status); } &&
35667          { ac_try='test -z "$ac_c_werror_flag"
35668                          || test ! -s conftest.err'
35669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35670   (eval $ac_try) 2>&5
35671   ac_status=$?
35672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35673   (exit $ac_status); }; } &&
35674          { ac_try='test -s conftest$ac_exeext'
35675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35676   (eval $ac_try) 2>&5
35677   ac_status=$?
35678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35679   (exit $ac_status); }; }; then
35680   eval "$as_ac_var=yes"
35681 else
35682   echo "$as_me: failed program was:" >&5
35683 sed 's/^/| /' conftest.$ac_ext >&5
35684
35685 eval "$as_ac_var=no"
35686 fi
35687 rm -f conftest.err conftest.$ac_objext \
35688       conftest$ac_exeext conftest.$ac_ext
35689 fi
35690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35692 if test `eval echo '${'$as_ac_var'}'` = yes; then
35693   cat >>confdefs.h <<_ACEOF
35694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35695 _ACEOF
35696
35697 fi
35698 done
35699
35700   else
35701
35702   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
35703 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
35704   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35705     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
35706   echo $ECHO_N "(cached) $ECHO_C" >&6
35707 else
35708
35709
35710
35711       ac_ext=cc
35712 ac_cpp='$CXXCPP $CPPFLAGS'
35713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35716
35717       cat >conftest.$ac_ext <<_ACEOF
35718 /* confdefs.h.  */
35719 _ACEOF
35720 cat confdefs.h >>conftest.$ac_ext
35721 cat >>conftest.$ac_ext <<_ACEOF
35722 /* end confdefs.h.  */
35723 #include <math.h>
35724                       #ifdef HAVE_IEEEFP_H
35725                       #include <ieeefp.h>
35726                       #endif
35727
35728 int
35729 main ()
35730 {
35731  _isinff(0);
35732   ;
35733   return 0;
35734 }
35735 _ACEOF
35736 rm -f conftest.$ac_objext
35737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35738   (eval $ac_compile) 2>conftest.er1
35739   ac_status=$?
35740   grep -v '^ *+' conftest.er1 >conftest.err
35741   rm -f conftest.er1
35742   cat conftest.err >&5
35743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35744   (exit $ac_status); } &&
35745          { ac_try='test -z "$ac_cxx_werror_flag"
35746                          || test ! -s conftest.err'
35747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35748   (eval $ac_try) 2>&5
35749   ac_status=$?
35750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35751   (exit $ac_status); }; } &&
35752          { ac_try='test -s conftest.$ac_objext'
35753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35754   (eval $ac_try) 2>&5
35755   ac_status=$?
35756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35757   (exit $ac_status); }; }; then
35758   glibcxx_cv_func__isinff_use=yes
35759 else
35760   echo "$as_me: failed program was:" >&5
35761 sed 's/^/| /' conftest.$ac_ext >&5
35762
35763 glibcxx_cv_func__isinff_use=no
35764 fi
35765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35766       ac_ext=c
35767 ac_cpp='$CPP $CPPFLAGS'
35768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35771
35772
35773 fi
35774
35775   fi
35776   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
35777 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
35778
35779     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35780
35781 for ac_func in _isinff
35782 do
35783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35784 echo "$as_me:$LINENO: checking for $ac_func" >&5
35785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35786 if eval "test \"\${$as_ac_var+set}\" = set"; then
35787   echo $ECHO_N "(cached) $ECHO_C" >&6
35788 else
35789   if test x$gcc_no_link = xyes; then
35790   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35792    { (exit 1); exit 1; }; }
35793 fi
35794 cat >conftest.$ac_ext <<_ACEOF
35795 /* confdefs.h.  */
35796 _ACEOF
35797 cat confdefs.h >>conftest.$ac_ext
35798 cat >>conftest.$ac_ext <<_ACEOF
35799 /* end confdefs.h.  */
35800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35801    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35802 #define $ac_func innocuous_$ac_func
35803
35804 /* System header to define __stub macros and hopefully few prototypes,
35805     which can conflict with char $ac_func (); below.
35806     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35807     <limits.h> exists even on freestanding compilers.  */
35808
35809 #ifdef __STDC__
35810 # include <limits.h>
35811 #else
35812 # include <assert.h>
35813 #endif
35814
35815 #undef $ac_func
35816
35817 /* Override any gcc2 internal prototype to avoid an error.  */
35818 #ifdef __cplusplus
35819 extern "C"
35820 {
35821 #endif
35822 /* We use char because int might match the return type of a gcc2
35823    builtin and then its argument prototype would still apply.  */
35824 char $ac_func ();
35825 /* The GNU C library defines this for functions which it implements
35826     to always fail with ENOSYS.  Some functions are actually named
35827     something starting with __ and the normal name is an alias.  */
35828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35829 choke me
35830 #else
35831 char (*f) () = $ac_func;
35832 #endif
35833 #ifdef __cplusplus
35834 }
35835 #endif
35836
35837 int
35838 main ()
35839 {
35840 return f != $ac_func;
35841   ;
35842   return 0;
35843 }
35844 _ACEOF
35845 rm -f conftest.$ac_objext conftest$ac_exeext
35846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35847   (eval $ac_link) 2>conftest.er1
35848   ac_status=$?
35849   grep -v '^ *+' conftest.er1 >conftest.err
35850   rm -f conftest.er1
35851   cat conftest.err >&5
35852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35853   (exit $ac_status); } &&
35854          { ac_try='test -z "$ac_c_werror_flag"
35855                          || test ! -s conftest.err'
35856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35857   (eval $ac_try) 2>&5
35858   ac_status=$?
35859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35860   (exit $ac_status); }; } &&
35861          { ac_try='test -s conftest$ac_exeext'
35862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35863   (eval $ac_try) 2>&5
35864   ac_status=$?
35865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35866   (exit $ac_status); }; }; then
35867   eval "$as_ac_var=yes"
35868 else
35869   echo "$as_me: failed program was:" >&5
35870 sed 's/^/| /' conftest.$ac_ext >&5
35871
35872 eval "$as_ac_var=no"
35873 fi
35874 rm -f conftest.err conftest.$ac_objext \
35875       conftest$ac_exeext conftest.$ac_ext
35876 fi
35877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35879 if test `eval echo '${'$as_ac_var'}'` = yes; then
35880   cat >>confdefs.h <<_ACEOF
35881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35882 _ACEOF
35883
35884 fi
35885 done
35886
35887     fi
35888   fi
35889
35890
35891
35892   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
35893 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
35894   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35895     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
35896   echo $ECHO_N "(cached) $ECHO_C" >&6
35897 else
35898
35899
35900
35901       ac_ext=cc
35902 ac_cpp='$CXXCPP $CPPFLAGS'
35903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35906
35907       cat >conftest.$ac_ext <<_ACEOF
35908 /* confdefs.h.  */
35909 _ACEOF
35910 cat confdefs.h >>conftest.$ac_ext
35911 cat >>conftest.$ac_ext <<_ACEOF
35912 /* end confdefs.h.  */
35913 #include <math.h>
35914 int
35915 main ()
35916 {
35917  atan2f(0, 0);
35918   ;
35919   return 0;
35920 }
35921 _ACEOF
35922 rm -f conftest.$ac_objext
35923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35924   (eval $ac_compile) 2>conftest.er1
35925   ac_status=$?
35926   grep -v '^ *+' conftest.er1 >conftest.err
35927   rm -f conftest.er1
35928   cat conftest.err >&5
35929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35930   (exit $ac_status); } &&
35931          { ac_try='test -z "$ac_cxx_werror_flag"
35932                          || test ! -s conftest.err'
35933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35934   (eval $ac_try) 2>&5
35935   ac_status=$?
35936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35937   (exit $ac_status); }; } &&
35938          { ac_try='test -s conftest.$ac_objext'
35939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35940   (eval $ac_try) 2>&5
35941   ac_status=$?
35942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35943   (exit $ac_status); }; }; then
35944   glibcxx_cv_func_atan2f_use=yes
35945 else
35946   echo "$as_me: failed program was:" >&5
35947 sed 's/^/| /' conftest.$ac_ext >&5
35948
35949 glibcxx_cv_func_atan2f_use=no
35950 fi
35951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35952       ac_ext=c
35953 ac_cpp='$CPP $CPPFLAGS'
35954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35957
35958
35959 fi
35960
35961   fi
35962   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
35963 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
35964
35965   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35966
35967 for ac_func in atan2f
35968 do
35969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35970 echo "$as_me:$LINENO: checking for $ac_func" >&5
35971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35972 if eval "test \"\${$as_ac_var+set}\" = set"; then
35973   echo $ECHO_N "(cached) $ECHO_C" >&6
35974 else
35975   if test x$gcc_no_link = xyes; then
35976   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35978    { (exit 1); exit 1; }; }
35979 fi
35980 cat >conftest.$ac_ext <<_ACEOF
35981 /* confdefs.h.  */
35982 _ACEOF
35983 cat confdefs.h >>conftest.$ac_ext
35984 cat >>conftest.$ac_ext <<_ACEOF
35985 /* end confdefs.h.  */
35986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35987    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35988 #define $ac_func innocuous_$ac_func
35989
35990 /* System header to define __stub macros and hopefully few prototypes,
35991     which can conflict with char $ac_func (); below.
35992     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35993     <limits.h> exists even on freestanding compilers.  */
35994
35995 #ifdef __STDC__
35996 # include <limits.h>
35997 #else
35998 # include <assert.h>
35999 #endif
36000
36001 #undef $ac_func
36002
36003 /* Override any gcc2 internal prototype to avoid an error.  */
36004 #ifdef __cplusplus
36005 extern "C"
36006 {
36007 #endif
36008 /* We use char because int might match the return type of a gcc2
36009    builtin and then its argument prototype would still apply.  */
36010 char $ac_func ();
36011 /* The GNU C library defines this for functions which it implements
36012     to always fail with ENOSYS.  Some functions are actually named
36013     something starting with __ and the normal name is an alias.  */
36014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36015 choke me
36016 #else
36017 char (*f) () = $ac_func;
36018 #endif
36019 #ifdef __cplusplus
36020 }
36021 #endif
36022
36023 int
36024 main ()
36025 {
36026 return f != $ac_func;
36027   ;
36028   return 0;
36029 }
36030 _ACEOF
36031 rm -f conftest.$ac_objext conftest$ac_exeext
36032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36033   (eval $ac_link) 2>conftest.er1
36034   ac_status=$?
36035   grep -v '^ *+' conftest.er1 >conftest.err
36036   rm -f conftest.er1
36037   cat conftest.err >&5
36038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36039   (exit $ac_status); } &&
36040          { ac_try='test -z "$ac_c_werror_flag"
36041                          || test ! -s conftest.err'
36042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36043   (eval $ac_try) 2>&5
36044   ac_status=$?
36045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36046   (exit $ac_status); }; } &&
36047          { ac_try='test -s conftest$ac_exeext'
36048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36049   (eval $ac_try) 2>&5
36050   ac_status=$?
36051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36052   (exit $ac_status); }; }; then
36053   eval "$as_ac_var=yes"
36054 else
36055   echo "$as_me: failed program was:" >&5
36056 sed 's/^/| /' conftest.$ac_ext >&5
36057
36058 eval "$as_ac_var=no"
36059 fi
36060 rm -f conftest.err conftest.$ac_objext \
36061       conftest$ac_exeext conftest.$ac_ext
36062 fi
36063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36065 if test `eval echo '${'$as_ac_var'}'` = yes; then
36066   cat >>confdefs.h <<_ACEOF
36067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36068 _ACEOF
36069
36070 fi
36071 done
36072
36073   else
36074
36075   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
36076 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
36077   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36078     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
36079   echo $ECHO_N "(cached) $ECHO_C" >&6
36080 else
36081
36082
36083
36084       ac_ext=cc
36085 ac_cpp='$CXXCPP $CPPFLAGS'
36086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36089
36090       cat >conftest.$ac_ext <<_ACEOF
36091 /* confdefs.h.  */
36092 _ACEOF
36093 cat confdefs.h >>conftest.$ac_ext
36094 cat >>conftest.$ac_ext <<_ACEOF
36095 /* end confdefs.h.  */
36096 #include <math.h>
36097 int
36098 main ()
36099 {
36100  _atan2f(0, 0);
36101   ;
36102   return 0;
36103 }
36104 _ACEOF
36105 rm -f conftest.$ac_objext
36106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36107   (eval $ac_compile) 2>conftest.er1
36108   ac_status=$?
36109   grep -v '^ *+' conftest.er1 >conftest.err
36110   rm -f conftest.er1
36111   cat conftest.err >&5
36112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36113   (exit $ac_status); } &&
36114          { ac_try='test -z "$ac_cxx_werror_flag"
36115                          || test ! -s conftest.err'
36116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36117   (eval $ac_try) 2>&5
36118   ac_status=$?
36119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36120   (exit $ac_status); }; } &&
36121          { ac_try='test -s conftest.$ac_objext'
36122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36123   (eval $ac_try) 2>&5
36124   ac_status=$?
36125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36126   (exit $ac_status); }; }; then
36127   glibcxx_cv_func__atan2f_use=yes
36128 else
36129   echo "$as_me: failed program was:" >&5
36130 sed 's/^/| /' conftest.$ac_ext >&5
36131
36132 glibcxx_cv_func__atan2f_use=no
36133 fi
36134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36135       ac_ext=c
36136 ac_cpp='$CPP $CPPFLAGS'
36137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36140
36141
36142 fi
36143
36144   fi
36145   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
36146 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
36147
36148     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36149
36150 for ac_func in _atan2f
36151 do
36152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36153 echo "$as_me:$LINENO: checking for $ac_func" >&5
36154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36155 if eval "test \"\${$as_ac_var+set}\" = set"; then
36156   echo $ECHO_N "(cached) $ECHO_C" >&6
36157 else
36158   if test x$gcc_no_link = xyes; then
36159   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36161    { (exit 1); exit 1; }; }
36162 fi
36163 cat >conftest.$ac_ext <<_ACEOF
36164 /* confdefs.h.  */
36165 _ACEOF
36166 cat confdefs.h >>conftest.$ac_ext
36167 cat >>conftest.$ac_ext <<_ACEOF
36168 /* end confdefs.h.  */
36169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36170    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36171 #define $ac_func innocuous_$ac_func
36172
36173 /* System header to define __stub macros and hopefully few prototypes,
36174     which can conflict with char $ac_func (); below.
36175     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36176     <limits.h> exists even on freestanding compilers.  */
36177
36178 #ifdef __STDC__
36179 # include <limits.h>
36180 #else
36181 # include <assert.h>
36182 #endif
36183
36184 #undef $ac_func
36185
36186 /* Override any gcc2 internal prototype to avoid an error.  */
36187 #ifdef __cplusplus
36188 extern "C"
36189 {
36190 #endif
36191 /* We use char because int might match the return type of a gcc2
36192    builtin and then its argument prototype would still apply.  */
36193 char $ac_func ();
36194 /* The GNU C library defines this for functions which it implements
36195     to always fail with ENOSYS.  Some functions are actually named
36196     something starting with __ and the normal name is an alias.  */
36197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36198 choke me
36199 #else
36200 char (*f) () = $ac_func;
36201 #endif
36202 #ifdef __cplusplus
36203 }
36204 #endif
36205
36206 int
36207 main ()
36208 {
36209 return f != $ac_func;
36210   ;
36211   return 0;
36212 }
36213 _ACEOF
36214 rm -f conftest.$ac_objext conftest$ac_exeext
36215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36216   (eval $ac_link) 2>conftest.er1
36217   ac_status=$?
36218   grep -v '^ *+' conftest.er1 >conftest.err
36219   rm -f conftest.er1
36220   cat conftest.err >&5
36221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36222   (exit $ac_status); } &&
36223          { ac_try='test -z "$ac_c_werror_flag"
36224                          || test ! -s conftest.err'
36225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36226   (eval $ac_try) 2>&5
36227   ac_status=$?
36228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36229   (exit $ac_status); }; } &&
36230          { ac_try='test -s conftest$ac_exeext'
36231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36232   (eval $ac_try) 2>&5
36233   ac_status=$?
36234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36235   (exit $ac_status); }; }; then
36236   eval "$as_ac_var=yes"
36237 else
36238   echo "$as_me: failed program was:" >&5
36239 sed 's/^/| /' conftest.$ac_ext >&5
36240
36241 eval "$as_ac_var=no"
36242 fi
36243 rm -f conftest.err conftest.$ac_objext \
36244       conftest$ac_exeext conftest.$ac_ext
36245 fi
36246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36248 if test `eval echo '${'$as_ac_var'}'` = yes; then
36249   cat >>confdefs.h <<_ACEOF
36250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36251 _ACEOF
36252
36253 fi
36254 done
36255
36256     fi
36257   fi
36258
36259
36260
36261   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
36262 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
36263   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36264     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
36265   echo $ECHO_N "(cached) $ECHO_C" >&6
36266 else
36267
36268
36269
36270       ac_ext=cc
36271 ac_cpp='$CXXCPP $CPPFLAGS'
36272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36275
36276       cat >conftest.$ac_ext <<_ACEOF
36277 /* confdefs.h.  */
36278 _ACEOF
36279 cat confdefs.h >>conftest.$ac_ext
36280 cat >>conftest.$ac_ext <<_ACEOF
36281 /* end confdefs.h.  */
36282 #include <math.h>
36283                       #ifdef HAVE_IEEEFP_H
36284                       #include <ieeefp.h>
36285                       #endif
36286
36287 int
36288 main ()
36289 {
36290  fabsf(0);
36291   ;
36292   return 0;
36293 }
36294 _ACEOF
36295 rm -f conftest.$ac_objext
36296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36297   (eval $ac_compile) 2>conftest.er1
36298   ac_status=$?
36299   grep -v '^ *+' conftest.er1 >conftest.err
36300   rm -f conftest.er1
36301   cat conftest.err >&5
36302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36303   (exit $ac_status); } &&
36304          { ac_try='test -z "$ac_cxx_werror_flag"
36305                          || test ! -s conftest.err'
36306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36307   (eval $ac_try) 2>&5
36308   ac_status=$?
36309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36310   (exit $ac_status); }; } &&
36311          { ac_try='test -s conftest.$ac_objext'
36312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36313   (eval $ac_try) 2>&5
36314   ac_status=$?
36315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36316   (exit $ac_status); }; }; then
36317   glibcxx_cv_func_fabsf_use=yes
36318 else
36319   echo "$as_me: failed program was:" >&5
36320 sed 's/^/| /' conftest.$ac_ext >&5
36321
36322 glibcxx_cv_func_fabsf_use=no
36323 fi
36324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36325       ac_ext=c
36326 ac_cpp='$CPP $CPPFLAGS'
36327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36330
36331
36332 fi
36333
36334   fi
36335   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
36336 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
36337
36338   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36339
36340 for ac_func in fabsf
36341 do
36342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36343 echo "$as_me:$LINENO: checking for $ac_func" >&5
36344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36345 if eval "test \"\${$as_ac_var+set}\" = set"; then
36346   echo $ECHO_N "(cached) $ECHO_C" >&6
36347 else
36348   if test x$gcc_no_link = xyes; then
36349   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36351    { (exit 1); exit 1; }; }
36352 fi
36353 cat >conftest.$ac_ext <<_ACEOF
36354 /* confdefs.h.  */
36355 _ACEOF
36356 cat confdefs.h >>conftest.$ac_ext
36357 cat >>conftest.$ac_ext <<_ACEOF
36358 /* end confdefs.h.  */
36359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36360    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36361 #define $ac_func innocuous_$ac_func
36362
36363 /* System header to define __stub macros and hopefully few prototypes,
36364     which can conflict with char $ac_func (); below.
36365     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36366     <limits.h> exists even on freestanding compilers.  */
36367
36368 #ifdef __STDC__
36369 # include <limits.h>
36370 #else
36371 # include <assert.h>
36372 #endif
36373
36374 #undef $ac_func
36375
36376 /* Override any gcc2 internal prototype to avoid an error.  */
36377 #ifdef __cplusplus
36378 extern "C"
36379 {
36380 #endif
36381 /* We use char because int might match the return type of a gcc2
36382    builtin and then its argument prototype would still apply.  */
36383 char $ac_func ();
36384 /* The GNU C library defines this for functions which it implements
36385     to always fail with ENOSYS.  Some functions are actually named
36386     something starting with __ and the normal name is an alias.  */
36387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36388 choke me
36389 #else
36390 char (*f) () = $ac_func;
36391 #endif
36392 #ifdef __cplusplus
36393 }
36394 #endif
36395
36396 int
36397 main ()
36398 {
36399 return f != $ac_func;
36400   ;
36401   return 0;
36402 }
36403 _ACEOF
36404 rm -f conftest.$ac_objext conftest$ac_exeext
36405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36406   (eval $ac_link) 2>conftest.er1
36407   ac_status=$?
36408   grep -v '^ *+' conftest.er1 >conftest.err
36409   rm -f conftest.er1
36410   cat conftest.err >&5
36411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36412   (exit $ac_status); } &&
36413          { ac_try='test -z "$ac_c_werror_flag"
36414                          || test ! -s conftest.err'
36415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36416   (eval $ac_try) 2>&5
36417   ac_status=$?
36418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36419   (exit $ac_status); }; } &&
36420          { ac_try='test -s conftest$ac_exeext'
36421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36422   (eval $ac_try) 2>&5
36423   ac_status=$?
36424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36425   (exit $ac_status); }; }; then
36426   eval "$as_ac_var=yes"
36427 else
36428   echo "$as_me: failed program was:" >&5
36429 sed 's/^/| /' conftest.$ac_ext >&5
36430
36431 eval "$as_ac_var=no"
36432 fi
36433 rm -f conftest.err conftest.$ac_objext \
36434       conftest$ac_exeext conftest.$ac_ext
36435 fi
36436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36438 if test `eval echo '${'$as_ac_var'}'` = yes; then
36439   cat >>confdefs.h <<_ACEOF
36440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36441 _ACEOF
36442
36443 fi
36444 done
36445
36446   else
36447
36448   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
36449 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
36450   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36451     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
36452   echo $ECHO_N "(cached) $ECHO_C" >&6
36453 else
36454
36455
36456
36457       ac_ext=cc
36458 ac_cpp='$CXXCPP $CPPFLAGS'
36459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36462
36463       cat >conftest.$ac_ext <<_ACEOF
36464 /* confdefs.h.  */
36465 _ACEOF
36466 cat confdefs.h >>conftest.$ac_ext
36467 cat >>conftest.$ac_ext <<_ACEOF
36468 /* end confdefs.h.  */
36469 #include <math.h>
36470                       #ifdef HAVE_IEEEFP_H
36471                       #include <ieeefp.h>
36472                       #endif
36473
36474 int
36475 main ()
36476 {
36477  _fabsf(0);
36478   ;
36479   return 0;
36480 }
36481 _ACEOF
36482 rm -f conftest.$ac_objext
36483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36484   (eval $ac_compile) 2>conftest.er1
36485   ac_status=$?
36486   grep -v '^ *+' conftest.er1 >conftest.err
36487   rm -f conftest.er1
36488   cat conftest.err >&5
36489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36490   (exit $ac_status); } &&
36491          { ac_try='test -z "$ac_cxx_werror_flag"
36492                          || test ! -s conftest.err'
36493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36494   (eval $ac_try) 2>&5
36495   ac_status=$?
36496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36497   (exit $ac_status); }; } &&
36498          { ac_try='test -s conftest.$ac_objext'
36499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36500   (eval $ac_try) 2>&5
36501   ac_status=$?
36502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36503   (exit $ac_status); }; }; then
36504   glibcxx_cv_func__fabsf_use=yes
36505 else
36506   echo "$as_me: failed program was:" >&5
36507 sed 's/^/| /' conftest.$ac_ext >&5
36508
36509 glibcxx_cv_func__fabsf_use=no
36510 fi
36511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36512       ac_ext=c
36513 ac_cpp='$CPP $CPPFLAGS'
36514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36517
36518
36519 fi
36520
36521   fi
36522   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
36523 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
36524
36525     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36526
36527 for ac_func in _fabsf
36528 do
36529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36530 echo "$as_me:$LINENO: checking for $ac_func" >&5
36531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36532 if eval "test \"\${$as_ac_var+set}\" = set"; then
36533   echo $ECHO_N "(cached) $ECHO_C" >&6
36534 else
36535   if test x$gcc_no_link = xyes; then
36536   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36538    { (exit 1); exit 1; }; }
36539 fi
36540 cat >conftest.$ac_ext <<_ACEOF
36541 /* confdefs.h.  */
36542 _ACEOF
36543 cat confdefs.h >>conftest.$ac_ext
36544 cat >>conftest.$ac_ext <<_ACEOF
36545 /* end confdefs.h.  */
36546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36547    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36548 #define $ac_func innocuous_$ac_func
36549
36550 /* System header to define __stub macros and hopefully few prototypes,
36551     which can conflict with char $ac_func (); below.
36552     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36553     <limits.h> exists even on freestanding compilers.  */
36554
36555 #ifdef __STDC__
36556 # include <limits.h>
36557 #else
36558 # include <assert.h>
36559 #endif
36560
36561 #undef $ac_func
36562
36563 /* Override any gcc2 internal prototype to avoid an error.  */
36564 #ifdef __cplusplus
36565 extern "C"
36566 {
36567 #endif
36568 /* We use char because int might match the return type of a gcc2
36569    builtin and then its argument prototype would still apply.  */
36570 char $ac_func ();
36571 /* The GNU C library defines this for functions which it implements
36572     to always fail with ENOSYS.  Some functions are actually named
36573     something starting with __ and the normal name is an alias.  */
36574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36575 choke me
36576 #else
36577 char (*f) () = $ac_func;
36578 #endif
36579 #ifdef __cplusplus
36580 }
36581 #endif
36582
36583 int
36584 main ()
36585 {
36586 return f != $ac_func;
36587   ;
36588   return 0;
36589 }
36590 _ACEOF
36591 rm -f conftest.$ac_objext conftest$ac_exeext
36592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36593   (eval $ac_link) 2>conftest.er1
36594   ac_status=$?
36595   grep -v '^ *+' conftest.er1 >conftest.err
36596   rm -f conftest.er1
36597   cat conftest.err >&5
36598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36599   (exit $ac_status); } &&
36600          { ac_try='test -z "$ac_c_werror_flag"
36601                          || test ! -s conftest.err'
36602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36603   (eval $ac_try) 2>&5
36604   ac_status=$?
36605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36606   (exit $ac_status); }; } &&
36607          { ac_try='test -s conftest$ac_exeext'
36608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36609   (eval $ac_try) 2>&5
36610   ac_status=$?
36611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36612   (exit $ac_status); }; }; then
36613   eval "$as_ac_var=yes"
36614 else
36615   echo "$as_me: failed program was:" >&5
36616 sed 's/^/| /' conftest.$ac_ext >&5
36617
36618 eval "$as_ac_var=no"
36619 fi
36620 rm -f conftest.err conftest.$ac_objext \
36621       conftest$ac_exeext conftest.$ac_ext
36622 fi
36623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36625 if test `eval echo '${'$as_ac_var'}'` = yes; then
36626   cat >>confdefs.h <<_ACEOF
36627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36628 _ACEOF
36629
36630 fi
36631 done
36632
36633     fi
36634   fi
36635
36636
36637
36638   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
36639 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
36640   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36641     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
36642   echo $ECHO_N "(cached) $ECHO_C" >&6
36643 else
36644
36645
36646
36647       ac_ext=cc
36648 ac_cpp='$CXXCPP $CPPFLAGS'
36649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36652
36653       cat >conftest.$ac_ext <<_ACEOF
36654 /* confdefs.h.  */
36655 _ACEOF
36656 cat confdefs.h >>conftest.$ac_ext
36657 cat >>conftest.$ac_ext <<_ACEOF
36658 /* end confdefs.h.  */
36659 #include <math.h>
36660 int
36661 main ()
36662 {
36663  fmodf(0, 0);
36664   ;
36665   return 0;
36666 }
36667 _ACEOF
36668 rm -f conftest.$ac_objext
36669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36670   (eval $ac_compile) 2>conftest.er1
36671   ac_status=$?
36672   grep -v '^ *+' conftest.er1 >conftest.err
36673   rm -f conftest.er1
36674   cat conftest.err >&5
36675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36676   (exit $ac_status); } &&
36677          { ac_try='test -z "$ac_cxx_werror_flag"
36678                          || test ! -s conftest.err'
36679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36680   (eval $ac_try) 2>&5
36681   ac_status=$?
36682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36683   (exit $ac_status); }; } &&
36684          { ac_try='test -s conftest.$ac_objext'
36685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36686   (eval $ac_try) 2>&5
36687   ac_status=$?
36688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36689   (exit $ac_status); }; }; then
36690   glibcxx_cv_func_fmodf_use=yes
36691 else
36692   echo "$as_me: failed program was:" >&5
36693 sed 's/^/| /' conftest.$ac_ext >&5
36694
36695 glibcxx_cv_func_fmodf_use=no
36696 fi
36697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36698       ac_ext=c
36699 ac_cpp='$CPP $CPPFLAGS'
36700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36703
36704
36705 fi
36706
36707   fi
36708   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
36709 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
36710
36711   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36712
36713 for ac_func in fmodf
36714 do
36715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36716 echo "$as_me:$LINENO: checking for $ac_func" >&5
36717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36718 if eval "test \"\${$as_ac_var+set}\" = set"; then
36719   echo $ECHO_N "(cached) $ECHO_C" >&6
36720 else
36721   if test x$gcc_no_link = xyes; then
36722   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36724    { (exit 1); exit 1; }; }
36725 fi
36726 cat >conftest.$ac_ext <<_ACEOF
36727 /* confdefs.h.  */
36728 _ACEOF
36729 cat confdefs.h >>conftest.$ac_ext
36730 cat >>conftest.$ac_ext <<_ACEOF
36731 /* end confdefs.h.  */
36732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36733    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36734 #define $ac_func innocuous_$ac_func
36735
36736 /* System header to define __stub macros and hopefully few prototypes,
36737     which can conflict with char $ac_func (); below.
36738     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36739     <limits.h> exists even on freestanding compilers.  */
36740
36741 #ifdef __STDC__
36742 # include <limits.h>
36743 #else
36744 # include <assert.h>
36745 #endif
36746
36747 #undef $ac_func
36748
36749 /* Override any gcc2 internal prototype to avoid an error.  */
36750 #ifdef __cplusplus
36751 extern "C"
36752 {
36753 #endif
36754 /* We use char because int might match the return type of a gcc2
36755    builtin and then its argument prototype would still apply.  */
36756 char $ac_func ();
36757 /* The GNU C library defines this for functions which it implements
36758     to always fail with ENOSYS.  Some functions are actually named
36759     something starting with __ and the normal name is an alias.  */
36760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36761 choke me
36762 #else
36763 char (*f) () = $ac_func;
36764 #endif
36765 #ifdef __cplusplus
36766 }
36767 #endif
36768
36769 int
36770 main ()
36771 {
36772 return f != $ac_func;
36773   ;
36774   return 0;
36775 }
36776 _ACEOF
36777 rm -f conftest.$ac_objext conftest$ac_exeext
36778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36779   (eval $ac_link) 2>conftest.er1
36780   ac_status=$?
36781   grep -v '^ *+' conftest.er1 >conftest.err
36782   rm -f conftest.er1
36783   cat conftest.err >&5
36784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36785   (exit $ac_status); } &&
36786          { ac_try='test -z "$ac_c_werror_flag"
36787                          || test ! -s conftest.err'
36788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36789   (eval $ac_try) 2>&5
36790   ac_status=$?
36791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36792   (exit $ac_status); }; } &&
36793          { ac_try='test -s conftest$ac_exeext'
36794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36795   (eval $ac_try) 2>&5
36796   ac_status=$?
36797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36798   (exit $ac_status); }; }; then
36799   eval "$as_ac_var=yes"
36800 else
36801   echo "$as_me: failed program was:" >&5
36802 sed 's/^/| /' conftest.$ac_ext >&5
36803
36804 eval "$as_ac_var=no"
36805 fi
36806 rm -f conftest.err conftest.$ac_objext \
36807       conftest$ac_exeext conftest.$ac_ext
36808 fi
36809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36811 if test `eval echo '${'$as_ac_var'}'` = yes; then
36812   cat >>confdefs.h <<_ACEOF
36813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36814 _ACEOF
36815
36816 fi
36817 done
36818
36819   else
36820
36821   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
36822 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
36823   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36824     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
36825   echo $ECHO_N "(cached) $ECHO_C" >&6
36826 else
36827
36828
36829
36830       ac_ext=cc
36831 ac_cpp='$CXXCPP $CPPFLAGS'
36832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36835
36836       cat >conftest.$ac_ext <<_ACEOF
36837 /* confdefs.h.  */
36838 _ACEOF
36839 cat confdefs.h >>conftest.$ac_ext
36840 cat >>conftest.$ac_ext <<_ACEOF
36841 /* end confdefs.h.  */
36842 #include <math.h>
36843 int
36844 main ()
36845 {
36846  _fmodf(0, 0);
36847   ;
36848   return 0;
36849 }
36850 _ACEOF
36851 rm -f conftest.$ac_objext
36852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36853   (eval $ac_compile) 2>conftest.er1
36854   ac_status=$?
36855   grep -v '^ *+' conftest.er1 >conftest.err
36856   rm -f conftest.er1
36857   cat conftest.err >&5
36858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36859   (exit $ac_status); } &&
36860          { ac_try='test -z "$ac_cxx_werror_flag"
36861                          || test ! -s conftest.err'
36862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36863   (eval $ac_try) 2>&5
36864   ac_status=$?
36865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36866   (exit $ac_status); }; } &&
36867          { ac_try='test -s conftest.$ac_objext'
36868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36869   (eval $ac_try) 2>&5
36870   ac_status=$?
36871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36872   (exit $ac_status); }; }; then
36873   glibcxx_cv_func__fmodf_use=yes
36874 else
36875   echo "$as_me: failed program was:" >&5
36876 sed 's/^/| /' conftest.$ac_ext >&5
36877
36878 glibcxx_cv_func__fmodf_use=no
36879 fi
36880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36881       ac_ext=c
36882 ac_cpp='$CPP $CPPFLAGS'
36883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36886
36887
36888 fi
36889
36890   fi
36891   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
36892 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
36893
36894     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36895
36896 for ac_func in _fmodf
36897 do
36898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36899 echo "$as_me:$LINENO: checking for $ac_func" >&5
36900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36901 if eval "test \"\${$as_ac_var+set}\" = set"; then
36902   echo $ECHO_N "(cached) $ECHO_C" >&6
36903 else
36904   if test x$gcc_no_link = xyes; then
36905   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36907    { (exit 1); exit 1; }; }
36908 fi
36909 cat >conftest.$ac_ext <<_ACEOF
36910 /* confdefs.h.  */
36911 _ACEOF
36912 cat confdefs.h >>conftest.$ac_ext
36913 cat >>conftest.$ac_ext <<_ACEOF
36914 /* end confdefs.h.  */
36915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36916    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36917 #define $ac_func innocuous_$ac_func
36918
36919 /* System header to define __stub macros and hopefully few prototypes,
36920     which can conflict with char $ac_func (); below.
36921     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36922     <limits.h> exists even on freestanding compilers.  */
36923
36924 #ifdef __STDC__
36925 # include <limits.h>
36926 #else
36927 # include <assert.h>
36928 #endif
36929
36930 #undef $ac_func
36931
36932 /* Override any gcc2 internal prototype to avoid an error.  */
36933 #ifdef __cplusplus
36934 extern "C"
36935 {
36936 #endif
36937 /* We use char because int might match the return type of a gcc2
36938    builtin and then its argument prototype would still apply.  */
36939 char $ac_func ();
36940 /* The GNU C library defines this for functions which it implements
36941     to always fail with ENOSYS.  Some functions are actually named
36942     something starting with __ and the normal name is an alias.  */
36943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36944 choke me
36945 #else
36946 char (*f) () = $ac_func;
36947 #endif
36948 #ifdef __cplusplus
36949 }
36950 #endif
36951
36952 int
36953 main ()
36954 {
36955 return f != $ac_func;
36956   ;
36957   return 0;
36958 }
36959 _ACEOF
36960 rm -f conftest.$ac_objext conftest$ac_exeext
36961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36962   (eval $ac_link) 2>conftest.er1
36963   ac_status=$?
36964   grep -v '^ *+' conftest.er1 >conftest.err
36965   rm -f conftest.er1
36966   cat conftest.err >&5
36967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36968   (exit $ac_status); } &&
36969          { ac_try='test -z "$ac_c_werror_flag"
36970                          || test ! -s conftest.err'
36971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36972   (eval $ac_try) 2>&5
36973   ac_status=$?
36974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36975   (exit $ac_status); }; } &&
36976          { ac_try='test -s conftest$ac_exeext'
36977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36978   (eval $ac_try) 2>&5
36979   ac_status=$?
36980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36981   (exit $ac_status); }; }; then
36982   eval "$as_ac_var=yes"
36983 else
36984   echo "$as_me: failed program was:" >&5
36985 sed 's/^/| /' conftest.$ac_ext >&5
36986
36987 eval "$as_ac_var=no"
36988 fi
36989 rm -f conftest.err conftest.$ac_objext \
36990       conftest$ac_exeext conftest.$ac_ext
36991 fi
36992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36994 if test `eval echo '${'$as_ac_var'}'` = yes; then
36995   cat >>confdefs.h <<_ACEOF
36996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36997 _ACEOF
36998
36999 fi
37000 done
37001
37002     fi
37003   fi
37004
37005
37006
37007   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
37008 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
37009   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37010     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
37011   echo $ECHO_N "(cached) $ECHO_C" >&6
37012 else
37013
37014
37015
37016       ac_ext=cc
37017 ac_cpp='$CXXCPP $CPPFLAGS'
37018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37021
37022       cat >conftest.$ac_ext <<_ACEOF
37023 /* confdefs.h.  */
37024 _ACEOF
37025 cat confdefs.h >>conftest.$ac_ext
37026 cat >>conftest.$ac_ext <<_ACEOF
37027 /* end confdefs.h.  */
37028 #include <math.h>
37029 int
37030 main ()
37031 {
37032  frexpf(0, 0);
37033   ;
37034   return 0;
37035 }
37036 _ACEOF
37037 rm -f conftest.$ac_objext
37038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37039   (eval $ac_compile) 2>conftest.er1
37040   ac_status=$?
37041   grep -v '^ *+' conftest.er1 >conftest.err
37042   rm -f conftest.er1
37043   cat conftest.err >&5
37044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37045   (exit $ac_status); } &&
37046          { ac_try='test -z "$ac_cxx_werror_flag"
37047                          || test ! -s conftest.err'
37048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37049   (eval $ac_try) 2>&5
37050   ac_status=$?
37051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37052   (exit $ac_status); }; } &&
37053          { ac_try='test -s conftest.$ac_objext'
37054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37055   (eval $ac_try) 2>&5
37056   ac_status=$?
37057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37058   (exit $ac_status); }; }; then
37059   glibcxx_cv_func_frexpf_use=yes
37060 else
37061   echo "$as_me: failed program was:" >&5
37062 sed 's/^/| /' conftest.$ac_ext >&5
37063
37064 glibcxx_cv_func_frexpf_use=no
37065 fi
37066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37067       ac_ext=c
37068 ac_cpp='$CPP $CPPFLAGS'
37069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37072
37073
37074 fi
37075
37076   fi
37077   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
37078 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
37079
37080   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37081
37082 for ac_func in frexpf
37083 do
37084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37085 echo "$as_me:$LINENO: checking for $ac_func" >&5
37086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37087 if eval "test \"\${$as_ac_var+set}\" = set"; then
37088   echo $ECHO_N "(cached) $ECHO_C" >&6
37089 else
37090   if test x$gcc_no_link = xyes; then
37091   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37093    { (exit 1); exit 1; }; }
37094 fi
37095 cat >conftest.$ac_ext <<_ACEOF
37096 /* confdefs.h.  */
37097 _ACEOF
37098 cat confdefs.h >>conftest.$ac_ext
37099 cat >>conftest.$ac_ext <<_ACEOF
37100 /* end confdefs.h.  */
37101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37102    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37103 #define $ac_func innocuous_$ac_func
37104
37105 /* System header to define __stub macros and hopefully few prototypes,
37106     which can conflict with char $ac_func (); below.
37107     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37108     <limits.h> exists even on freestanding compilers.  */
37109
37110 #ifdef __STDC__
37111 # include <limits.h>
37112 #else
37113 # include <assert.h>
37114 #endif
37115
37116 #undef $ac_func
37117
37118 /* Override any gcc2 internal prototype to avoid an error.  */
37119 #ifdef __cplusplus
37120 extern "C"
37121 {
37122 #endif
37123 /* We use char because int might match the return type of a gcc2
37124    builtin and then its argument prototype would still apply.  */
37125 char $ac_func ();
37126 /* The GNU C library defines this for functions which it implements
37127     to always fail with ENOSYS.  Some functions are actually named
37128     something starting with __ and the normal name is an alias.  */
37129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37130 choke me
37131 #else
37132 char (*f) () = $ac_func;
37133 #endif
37134 #ifdef __cplusplus
37135 }
37136 #endif
37137
37138 int
37139 main ()
37140 {
37141 return f != $ac_func;
37142   ;
37143   return 0;
37144 }
37145 _ACEOF
37146 rm -f conftest.$ac_objext conftest$ac_exeext
37147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37148   (eval $ac_link) 2>conftest.er1
37149   ac_status=$?
37150   grep -v '^ *+' conftest.er1 >conftest.err
37151   rm -f conftest.er1
37152   cat conftest.err >&5
37153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37154   (exit $ac_status); } &&
37155          { ac_try='test -z "$ac_c_werror_flag"
37156                          || test ! -s conftest.err'
37157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37158   (eval $ac_try) 2>&5
37159   ac_status=$?
37160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37161   (exit $ac_status); }; } &&
37162          { ac_try='test -s conftest$ac_exeext'
37163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37164   (eval $ac_try) 2>&5
37165   ac_status=$?
37166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37167   (exit $ac_status); }; }; then
37168   eval "$as_ac_var=yes"
37169 else
37170   echo "$as_me: failed program was:" >&5
37171 sed 's/^/| /' conftest.$ac_ext >&5
37172
37173 eval "$as_ac_var=no"
37174 fi
37175 rm -f conftest.err conftest.$ac_objext \
37176       conftest$ac_exeext conftest.$ac_ext
37177 fi
37178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37180 if test `eval echo '${'$as_ac_var'}'` = yes; then
37181   cat >>confdefs.h <<_ACEOF
37182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37183 _ACEOF
37184
37185 fi
37186 done
37187
37188   else
37189
37190   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
37191 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
37192   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37193     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
37194   echo $ECHO_N "(cached) $ECHO_C" >&6
37195 else
37196
37197
37198
37199       ac_ext=cc
37200 ac_cpp='$CXXCPP $CPPFLAGS'
37201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37204
37205       cat >conftest.$ac_ext <<_ACEOF
37206 /* confdefs.h.  */
37207 _ACEOF
37208 cat confdefs.h >>conftest.$ac_ext
37209 cat >>conftest.$ac_ext <<_ACEOF
37210 /* end confdefs.h.  */
37211 #include <math.h>
37212 int
37213 main ()
37214 {
37215  _frexpf(0, 0);
37216   ;
37217   return 0;
37218 }
37219 _ACEOF
37220 rm -f conftest.$ac_objext
37221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37222   (eval $ac_compile) 2>conftest.er1
37223   ac_status=$?
37224   grep -v '^ *+' conftest.er1 >conftest.err
37225   rm -f conftest.er1
37226   cat conftest.err >&5
37227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37228   (exit $ac_status); } &&
37229          { ac_try='test -z "$ac_cxx_werror_flag"
37230                          || test ! -s conftest.err'
37231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37232   (eval $ac_try) 2>&5
37233   ac_status=$?
37234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37235   (exit $ac_status); }; } &&
37236          { ac_try='test -s conftest.$ac_objext'
37237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37238   (eval $ac_try) 2>&5
37239   ac_status=$?
37240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37241   (exit $ac_status); }; }; then
37242   glibcxx_cv_func__frexpf_use=yes
37243 else
37244   echo "$as_me: failed program was:" >&5
37245 sed 's/^/| /' conftest.$ac_ext >&5
37246
37247 glibcxx_cv_func__frexpf_use=no
37248 fi
37249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37250       ac_ext=c
37251 ac_cpp='$CPP $CPPFLAGS'
37252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37255
37256
37257 fi
37258
37259   fi
37260   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
37261 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
37262
37263     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37264
37265 for ac_func in _frexpf
37266 do
37267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37268 echo "$as_me:$LINENO: checking for $ac_func" >&5
37269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37270 if eval "test \"\${$as_ac_var+set}\" = set"; then
37271   echo $ECHO_N "(cached) $ECHO_C" >&6
37272 else
37273   if test x$gcc_no_link = xyes; then
37274   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37276    { (exit 1); exit 1; }; }
37277 fi
37278 cat >conftest.$ac_ext <<_ACEOF
37279 /* confdefs.h.  */
37280 _ACEOF
37281 cat confdefs.h >>conftest.$ac_ext
37282 cat >>conftest.$ac_ext <<_ACEOF
37283 /* end confdefs.h.  */
37284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37285    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37286 #define $ac_func innocuous_$ac_func
37287
37288 /* System header to define __stub macros and hopefully few prototypes,
37289     which can conflict with char $ac_func (); below.
37290     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37291     <limits.h> exists even on freestanding compilers.  */
37292
37293 #ifdef __STDC__
37294 # include <limits.h>
37295 #else
37296 # include <assert.h>
37297 #endif
37298
37299 #undef $ac_func
37300
37301 /* Override any gcc2 internal prototype to avoid an error.  */
37302 #ifdef __cplusplus
37303 extern "C"
37304 {
37305 #endif
37306 /* We use char because int might match the return type of a gcc2
37307    builtin and then its argument prototype would still apply.  */
37308 char $ac_func ();
37309 /* The GNU C library defines this for functions which it implements
37310     to always fail with ENOSYS.  Some functions are actually named
37311     something starting with __ and the normal name is an alias.  */
37312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37313 choke me
37314 #else
37315 char (*f) () = $ac_func;
37316 #endif
37317 #ifdef __cplusplus
37318 }
37319 #endif
37320
37321 int
37322 main ()
37323 {
37324 return f != $ac_func;
37325   ;
37326   return 0;
37327 }
37328 _ACEOF
37329 rm -f conftest.$ac_objext conftest$ac_exeext
37330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37331   (eval $ac_link) 2>conftest.er1
37332   ac_status=$?
37333   grep -v '^ *+' conftest.er1 >conftest.err
37334   rm -f conftest.er1
37335   cat conftest.err >&5
37336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37337   (exit $ac_status); } &&
37338          { ac_try='test -z "$ac_c_werror_flag"
37339                          || test ! -s conftest.err'
37340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37341   (eval $ac_try) 2>&5
37342   ac_status=$?
37343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37344   (exit $ac_status); }; } &&
37345          { ac_try='test -s conftest$ac_exeext'
37346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37347   (eval $ac_try) 2>&5
37348   ac_status=$?
37349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37350   (exit $ac_status); }; }; then
37351   eval "$as_ac_var=yes"
37352 else
37353   echo "$as_me: failed program was:" >&5
37354 sed 's/^/| /' conftest.$ac_ext >&5
37355
37356 eval "$as_ac_var=no"
37357 fi
37358 rm -f conftest.err conftest.$ac_objext \
37359       conftest$ac_exeext conftest.$ac_ext
37360 fi
37361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37363 if test `eval echo '${'$as_ac_var'}'` = yes; then
37364   cat >>confdefs.h <<_ACEOF
37365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37366 _ACEOF
37367
37368 fi
37369 done
37370
37371     fi
37372   fi
37373
37374
37375
37376   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
37377 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
37378   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37379     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
37380   echo $ECHO_N "(cached) $ECHO_C" >&6
37381 else
37382
37383
37384
37385       ac_ext=cc
37386 ac_cpp='$CXXCPP $CPPFLAGS'
37387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37390
37391       cat >conftest.$ac_ext <<_ACEOF
37392 /* confdefs.h.  */
37393 _ACEOF
37394 cat confdefs.h >>conftest.$ac_ext
37395 cat >>conftest.$ac_ext <<_ACEOF
37396 /* end confdefs.h.  */
37397 #include <math.h>
37398 int
37399 main ()
37400 {
37401  hypotf(0, 0);
37402   ;
37403   return 0;
37404 }
37405 _ACEOF
37406 rm -f conftest.$ac_objext
37407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37408   (eval $ac_compile) 2>conftest.er1
37409   ac_status=$?
37410   grep -v '^ *+' conftest.er1 >conftest.err
37411   rm -f conftest.er1
37412   cat conftest.err >&5
37413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37414   (exit $ac_status); } &&
37415          { ac_try='test -z "$ac_cxx_werror_flag"
37416                          || test ! -s conftest.err'
37417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37418   (eval $ac_try) 2>&5
37419   ac_status=$?
37420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37421   (exit $ac_status); }; } &&
37422          { ac_try='test -s conftest.$ac_objext'
37423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37424   (eval $ac_try) 2>&5
37425   ac_status=$?
37426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37427   (exit $ac_status); }; }; then
37428   glibcxx_cv_func_hypotf_use=yes
37429 else
37430   echo "$as_me: failed program was:" >&5
37431 sed 's/^/| /' conftest.$ac_ext >&5
37432
37433 glibcxx_cv_func_hypotf_use=no
37434 fi
37435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37436       ac_ext=c
37437 ac_cpp='$CPP $CPPFLAGS'
37438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37441
37442
37443 fi
37444
37445   fi
37446   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
37447 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
37448
37449   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37450
37451 for ac_func in hypotf
37452 do
37453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37454 echo "$as_me:$LINENO: checking for $ac_func" >&5
37455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37456 if eval "test \"\${$as_ac_var+set}\" = set"; then
37457   echo $ECHO_N "(cached) $ECHO_C" >&6
37458 else
37459   if test x$gcc_no_link = xyes; then
37460   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37462    { (exit 1); exit 1; }; }
37463 fi
37464 cat >conftest.$ac_ext <<_ACEOF
37465 /* confdefs.h.  */
37466 _ACEOF
37467 cat confdefs.h >>conftest.$ac_ext
37468 cat >>conftest.$ac_ext <<_ACEOF
37469 /* end confdefs.h.  */
37470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37471    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37472 #define $ac_func innocuous_$ac_func
37473
37474 /* System header to define __stub macros and hopefully few prototypes,
37475     which can conflict with char $ac_func (); below.
37476     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37477     <limits.h> exists even on freestanding compilers.  */
37478
37479 #ifdef __STDC__
37480 # include <limits.h>
37481 #else
37482 # include <assert.h>
37483 #endif
37484
37485 #undef $ac_func
37486
37487 /* Override any gcc2 internal prototype to avoid an error.  */
37488 #ifdef __cplusplus
37489 extern "C"
37490 {
37491 #endif
37492 /* We use char because int might match the return type of a gcc2
37493    builtin and then its argument prototype would still apply.  */
37494 char $ac_func ();
37495 /* The GNU C library defines this for functions which it implements
37496     to always fail with ENOSYS.  Some functions are actually named
37497     something starting with __ and the normal name is an alias.  */
37498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37499 choke me
37500 #else
37501 char (*f) () = $ac_func;
37502 #endif
37503 #ifdef __cplusplus
37504 }
37505 #endif
37506
37507 int
37508 main ()
37509 {
37510 return f != $ac_func;
37511   ;
37512   return 0;
37513 }
37514 _ACEOF
37515 rm -f conftest.$ac_objext conftest$ac_exeext
37516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37517   (eval $ac_link) 2>conftest.er1
37518   ac_status=$?
37519   grep -v '^ *+' conftest.er1 >conftest.err
37520   rm -f conftest.er1
37521   cat conftest.err >&5
37522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37523   (exit $ac_status); } &&
37524          { ac_try='test -z "$ac_c_werror_flag"
37525                          || test ! -s conftest.err'
37526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37527   (eval $ac_try) 2>&5
37528   ac_status=$?
37529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37530   (exit $ac_status); }; } &&
37531          { ac_try='test -s conftest$ac_exeext'
37532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37533   (eval $ac_try) 2>&5
37534   ac_status=$?
37535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37536   (exit $ac_status); }; }; then
37537   eval "$as_ac_var=yes"
37538 else
37539   echo "$as_me: failed program was:" >&5
37540 sed 's/^/| /' conftest.$ac_ext >&5
37541
37542 eval "$as_ac_var=no"
37543 fi
37544 rm -f conftest.err conftest.$ac_objext \
37545       conftest$ac_exeext conftest.$ac_ext
37546 fi
37547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37549 if test `eval echo '${'$as_ac_var'}'` = yes; then
37550   cat >>confdefs.h <<_ACEOF
37551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37552 _ACEOF
37553
37554 fi
37555 done
37556
37557   else
37558
37559   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
37560 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
37561   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37562     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
37563   echo $ECHO_N "(cached) $ECHO_C" >&6
37564 else
37565
37566
37567
37568       ac_ext=cc
37569 ac_cpp='$CXXCPP $CPPFLAGS'
37570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37573
37574       cat >conftest.$ac_ext <<_ACEOF
37575 /* confdefs.h.  */
37576 _ACEOF
37577 cat confdefs.h >>conftest.$ac_ext
37578 cat >>conftest.$ac_ext <<_ACEOF
37579 /* end confdefs.h.  */
37580 #include <math.h>
37581 int
37582 main ()
37583 {
37584  _hypotf(0, 0);
37585   ;
37586   return 0;
37587 }
37588 _ACEOF
37589 rm -f conftest.$ac_objext
37590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37591   (eval $ac_compile) 2>conftest.er1
37592   ac_status=$?
37593   grep -v '^ *+' conftest.er1 >conftest.err
37594   rm -f conftest.er1
37595   cat conftest.err >&5
37596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37597   (exit $ac_status); } &&
37598          { ac_try='test -z "$ac_cxx_werror_flag"
37599                          || test ! -s conftest.err'
37600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37601   (eval $ac_try) 2>&5
37602   ac_status=$?
37603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37604   (exit $ac_status); }; } &&
37605          { ac_try='test -s conftest.$ac_objext'
37606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37607   (eval $ac_try) 2>&5
37608   ac_status=$?
37609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37610   (exit $ac_status); }; }; then
37611   glibcxx_cv_func__hypotf_use=yes
37612 else
37613   echo "$as_me: failed program was:" >&5
37614 sed 's/^/| /' conftest.$ac_ext >&5
37615
37616 glibcxx_cv_func__hypotf_use=no
37617 fi
37618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37619       ac_ext=c
37620 ac_cpp='$CPP $CPPFLAGS'
37621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37624
37625
37626 fi
37627
37628   fi
37629   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
37630 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
37631
37632     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37633
37634 for ac_func in _hypotf
37635 do
37636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37637 echo "$as_me:$LINENO: checking for $ac_func" >&5
37638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37639 if eval "test \"\${$as_ac_var+set}\" = set"; then
37640   echo $ECHO_N "(cached) $ECHO_C" >&6
37641 else
37642   if test x$gcc_no_link = xyes; then
37643   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37645    { (exit 1); exit 1; }; }
37646 fi
37647 cat >conftest.$ac_ext <<_ACEOF
37648 /* confdefs.h.  */
37649 _ACEOF
37650 cat confdefs.h >>conftest.$ac_ext
37651 cat >>conftest.$ac_ext <<_ACEOF
37652 /* end confdefs.h.  */
37653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37654    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37655 #define $ac_func innocuous_$ac_func
37656
37657 /* System header to define __stub macros and hopefully few prototypes,
37658     which can conflict with char $ac_func (); below.
37659     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37660     <limits.h> exists even on freestanding compilers.  */
37661
37662 #ifdef __STDC__
37663 # include <limits.h>
37664 #else
37665 # include <assert.h>
37666 #endif
37667
37668 #undef $ac_func
37669
37670 /* Override any gcc2 internal prototype to avoid an error.  */
37671 #ifdef __cplusplus
37672 extern "C"
37673 {
37674 #endif
37675 /* We use char because int might match the return type of a gcc2
37676    builtin and then its argument prototype would still apply.  */
37677 char $ac_func ();
37678 /* The GNU C library defines this for functions which it implements
37679     to always fail with ENOSYS.  Some functions are actually named
37680     something starting with __ and the normal name is an alias.  */
37681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37682 choke me
37683 #else
37684 char (*f) () = $ac_func;
37685 #endif
37686 #ifdef __cplusplus
37687 }
37688 #endif
37689
37690 int
37691 main ()
37692 {
37693 return f != $ac_func;
37694   ;
37695   return 0;
37696 }
37697 _ACEOF
37698 rm -f conftest.$ac_objext conftest$ac_exeext
37699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37700   (eval $ac_link) 2>conftest.er1
37701   ac_status=$?
37702   grep -v '^ *+' conftest.er1 >conftest.err
37703   rm -f conftest.er1
37704   cat conftest.err >&5
37705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37706   (exit $ac_status); } &&
37707          { ac_try='test -z "$ac_c_werror_flag"
37708                          || test ! -s conftest.err'
37709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37710   (eval $ac_try) 2>&5
37711   ac_status=$?
37712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37713   (exit $ac_status); }; } &&
37714          { ac_try='test -s conftest$ac_exeext'
37715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37716   (eval $ac_try) 2>&5
37717   ac_status=$?
37718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37719   (exit $ac_status); }; }; then
37720   eval "$as_ac_var=yes"
37721 else
37722   echo "$as_me: failed program was:" >&5
37723 sed 's/^/| /' conftest.$ac_ext >&5
37724
37725 eval "$as_ac_var=no"
37726 fi
37727 rm -f conftest.err conftest.$ac_objext \
37728       conftest$ac_exeext conftest.$ac_ext
37729 fi
37730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37732 if test `eval echo '${'$as_ac_var'}'` = yes; then
37733   cat >>confdefs.h <<_ACEOF
37734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37735 _ACEOF
37736
37737 fi
37738 done
37739
37740     fi
37741   fi
37742
37743
37744
37745   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
37746 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
37747   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37748     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
37749   echo $ECHO_N "(cached) $ECHO_C" >&6
37750 else
37751
37752
37753
37754       ac_ext=cc
37755 ac_cpp='$CXXCPP $CPPFLAGS'
37756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37759
37760       cat >conftest.$ac_ext <<_ACEOF
37761 /* confdefs.h.  */
37762 _ACEOF
37763 cat confdefs.h >>conftest.$ac_ext
37764 cat >>conftest.$ac_ext <<_ACEOF
37765 /* end confdefs.h.  */
37766 #include <math.h>
37767 int
37768 main ()
37769 {
37770  ldexpf(0, 0);
37771   ;
37772   return 0;
37773 }
37774 _ACEOF
37775 rm -f conftest.$ac_objext
37776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37777   (eval $ac_compile) 2>conftest.er1
37778   ac_status=$?
37779   grep -v '^ *+' conftest.er1 >conftest.err
37780   rm -f conftest.er1
37781   cat conftest.err >&5
37782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37783   (exit $ac_status); } &&
37784          { ac_try='test -z "$ac_cxx_werror_flag"
37785                          || test ! -s conftest.err'
37786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37787   (eval $ac_try) 2>&5
37788   ac_status=$?
37789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37790   (exit $ac_status); }; } &&
37791          { ac_try='test -s conftest.$ac_objext'
37792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37793   (eval $ac_try) 2>&5
37794   ac_status=$?
37795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37796   (exit $ac_status); }; }; then
37797   glibcxx_cv_func_ldexpf_use=yes
37798 else
37799   echo "$as_me: failed program was:" >&5
37800 sed 's/^/| /' conftest.$ac_ext >&5
37801
37802 glibcxx_cv_func_ldexpf_use=no
37803 fi
37804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37805       ac_ext=c
37806 ac_cpp='$CPP $CPPFLAGS'
37807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37810
37811
37812 fi
37813
37814   fi
37815   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
37816 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
37817
37818   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37819
37820 for ac_func in ldexpf
37821 do
37822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37823 echo "$as_me:$LINENO: checking for $ac_func" >&5
37824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37825 if eval "test \"\${$as_ac_var+set}\" = set"; then
37826   echo $ECHO_N "(cached) $ECHO_C" >&6
37827 else
37828   if test x$gcc_no_link = xyes; then
37829   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37831    { (exit 1); exit 1; }; }
37832 fi
37833 cat >conftest.$ac_ext <<_ACEOF
37834 /* confdefs.h.  */
37835 _ACEOF
37836 cat confdefs.h >>conftest.$ac_ext
37837 cat >>conftest.$ac_ext <<_ACEOF
37838 /* end confdefs.h.  */
37839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37840    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37841 #define $ac_func innocuous_$ac_func
37842
37843 /* System header to define __stub macros and hopefully few prototypes,
37844     which can conflict with char $ac_func (); below.
37845     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37846     <limits.h> exists even on freestanding compilers.  */
37847
37848 #ifdef __STDC__
37849 # include <limits.h>
37850 #else
37851 # include <assert.h>
37852 #endif
37853
37854 #undef $ac_func
37855
37856 /* Override any gcc2 internal prototype to avoid an error.  */
37857 #ifdef __cplusplus
37858 extern "C"
37859 {
37860 #endif
37861 /* We use char because int might match the return type of a gcc2
37862    builtin and then its argument prototype would still apply.  */
37863 char $ac_func ();
37864 /* The GNU C library defines this for functions which it implements
37865     to always fail with ENOSYS.  Some functions are actually named
37866     something starting with __ and the normal name is an alias.  */
37867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37868 choke me
37869 #else
37870 char (*f) () = $ac_func;
37871 #endif
37872 #ifdef __cplusplus
37873 }
37874 #endif
37875
37876 int
37877 main ()
37878 {
37879 return f != $ac_func;
37880   ;
37881   return 0;
37882 }
37883 _ACEOF
37884 rm -f conftest.$ac_objext conftest$ac_exeext
37885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37886   (eval $ac_link) 2>conftest.er1
37887   ac_status=$?
37888   grep -v '^ *+' conftest.er1 >conftest.err
37889   rm -f conftest.er1
37890   cat conftest.err >&5
37891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37892   (exit $ac_status); } &&
37893          { ac_try='test -z "$ac_c_werror_flag"
37894                          || test ! -s conftest.err'
37895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37896   (eval $ac_try) 2>&5
37897   ac_status=$?
37898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37899   (exit $ac_status); }; } &&
37900          { ac_try='test -s conftest$ac_exeext'
37901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37902   (eval $ac_try) 2>&5
37903   ac_status=$?
37904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37905   (exit $ac_status); }; }; then
37906   eval "$as_ac_var=yes"
37907 else
37908   echo "$as_me: failed program was:" >&5
37909 sed 's/^/| /' conftest.$ac_ext >&5
37910
37911 eval "$as_ac_var=no"
37912 fi
37913 rm -f conftest.err conftest.$ac_objext \
37914       conftest$ac_exeext conftest.$ac_ext
37915 fi
37916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37918 if test `eval echo '${'$as_ac_var'}'` = yes; then
37919   cat >>confdefs.h <<_ACEOF
37920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37921 _ACEOF
37922
37923 fi
37924 done
37925
37926   else
37927
37928   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
37929 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
37930   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37931     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
37932   echo $ECHO_N "(cached) $ECHO_C" >&6
37933 else
37934
37935
37936
37937       ac_ext=cc
37938 ac_cpp='$CXXCPP $CPPFLAGS'
37939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37942
37943       cat >conftest.$ac_ext <<_ACEOF
37944 /* confdefs.h.  */
37945 _ACEOF
37946 cat confdefs.h >>conftest.$ac_ext
37947 cat >>conftest.$ac_ext <<_ACEOF
37948 /* end confdefs.h.  */
37949 #include <math.h>
37950 int
37951 main ()
37952 {
37953  _ldexpf(0, 0);
37954   ;
37955   return 0;
37956 }
37957 _ACEOF
37958 rm -f conftest.$ac_objext
37959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37960   (eval $ac_compile) 2>conftest.er1
37961   ac_status=$?
37962   grep -v '^ *+' conftest.er1 >conftest.err
37963   rm -f conftest.er1
37964   cat conftest.err >&5
37965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37966   (exit $ac_status); } &&
37967          { ac_try='test -z "$ac_cxx_werror_flag"
37968                          || test ! -s conftest.err'
37969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37970   (eval $ac_try) 2>&5
37971   ac_status=$?
37972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37973   (exit $ac_status); }; } &&
37974          { ac_try='test -s conftest.$ac_objext'
37975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37976   (eval $ac_try) 2>&5
37977   ac_status=$?
37978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37979   (exit $ac_status); }; }; then
37980   glibcxx_cv_func__ldexpf_use=yes
37981 else
37982   echo "$as_me: failed program was:" >&5
37983 sed 's/^/| /' conftest.$ac_ext >&5
37984
37985 glibcxx_cv_func__ldexpf_use=no
37986 fi
37987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37988       ac_ext=c
37989 ac_cpp='$CPP $CPPFLAGS'
37990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37993
37994
37995 fi
37996
37997   fi
37998   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
37999 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
38000
38001     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38002
38003 for ac_func in _ldexpf
38004 do
38005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38006 echo "$as_me:$LINENO: checking for $ac_func" >&5
38007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38008 if eval "test \"\${$as_ac_var+set}\" = set"; then
38009   echo $ECHO_N "(cached) $ECHO_C" >&6
38010 else
38011   if test x$gcc_no_link = xyes; then
38012   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38014    { (exit 1); exit 1; }; }
38015 fi
38016 cat >conftest.$ac_ext <<_ACEOF
38017 /* confdefs.h.  */
38018 _ACEOF
38019 cat confdefs.h >>conftest.$ac_ext
38020 cat >>conftest.$ac_ext <<_ACEOF
38021 /* end confdefs.h.  */
38022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38023    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38024 #define $ac_func innocuous_$ac_func
38025
38026 /* System header to define __stub macros and hopefully few prototypes,
38027     which can conflict with char $ac_func (); below.
38028     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38029     <limits.h> exists even on freestanding compilers.  */
38030
38031 #ifdef __STDC__
38032 # include <limits.h>
38033 #else
38034 # include <assert.h>
38035 #endif
38036
38037 #undef $ac_func
38038
38039 /* Override any gcc2 internal prototype to avoid an error.  */
38040 #ifdef __cplusplus
38041 extern "C"
38042 {
38043 #endif
38044 /* We use char because int might match the return type of a gcc2
38045    builtin and then its argument prototype would still apply.  */
38046 char $ac_func ();
38047 /* The GNU C library defines this for functions which it implements
38048     to always fail with ENOSYS.  Some functions are actually named
38049     something starting with __ and the normal name is an alias.  */
38050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38051 choke me
38052 #else
38053 char (*f) () = $ac_func;
38054 #endif
38055 #ifdef __cplusplus
38056 }
38057 #endif
38058
38059 int
38060 main ()
38061 {
38062 return f != $ac_func;
38063   ;
38064   return 0;
38065 }
38066 _ACEOF
38067 rm -f conftest.$ac_objext conftest$ac_exeext
38068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38069   (eval $ac_link) 2>conftest.er1
38070   ac_status=$?
38071   grep -v '^ *+' conftest.er1 >conftest.err
38072   rm -f conftest.er1
38073   cat conftest.err >&5
38074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38075   (exit $ac_status); } &&
38076          { ac_try='test -z "$ac_c_werror_flag"
38077                          || test ! -s conftest.err'
38078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38079   (eval $ac_try) 2>&5
38080   ac_status=$?
38081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38082   (exit $ac_status); }; } &&
38083          { ac_try='test -s conftest$ac_exeext'
38084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38085   (eval $ac_try) 2>&5
38086   ac_status=$?
38087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38088   (exit $ac_status); }; }; then
38089   eval "$as_ac_var=yes"
38090 else
38091   echo "$as_me: failed program was:" >&5
38092 sed 's/^/| /' conftest.$ac_ext >&5
38093
38094 eval "$as_ac_var=no"
38095 fi
38096 rm -f conftest.err conftest.$ac_objext \
38097       conftest$ac_exeext conftest.$ac_ext
38098 fi
38099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38101 if test `eval echo '${'$as_ac_var'}'` = yes; then
38102   cat >>confdefs.h <<_ACEOF
38103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38104 _ACEOF
38105
38106 fi
38107 done
38108
38109     fi
38110   fi
38111
38112
38113
38114   echo "$as_me:$LINENO: checking for logf declaration" >&5
38115 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
38116   if test x${glibcxx_cv_func_logf_use+set} != xset; then
38117     if test "${glibcxx_cv_func_logf_use+set}" = set; then
38118   echo $ECHO_N "(cached) $ECHO_C" >&6
38119 else
38120
38121
38122
38123       ac_ext=cc
38124 ac_cpp='$CXXCPP $CPPFLAGS'
38125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38128
38129       cat >conftest.$ac_ext <<_ACEOF
38130 /* confdefs.h.  */
38131 _ACEOF
38132 cat confdefs.h >>conftest.$ac_ext
38133 cat >>conftest.$ac_ext <<_ACEOF
38134 /* end confdefs.h.  */
38135 #include <math.h>
38136                       #ifdef HAVE_IEEEFP_H
38137                       #include <ieeefp.h>
38138                       #endif
38139
38140 int
38141 main ()
38142 {
38143  logf(0);
38144   ;
38145   return 0;
38146 }
38147 _ACEOF
38148 rm -f conftest.$ac_objext
38149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38150   (eval $ac_compile) 2>conftest.er1
38151   ac_status=$?
38152   grep -v '^ *+' conftest.er1 >conftest.err
38153   rm -f conftest.er1
38154   cat conftest.err >&5
38155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38156   (exit $ac_status); } &&
38157          { ac_try='test -z "$ac_cxx_werror_flag"
38158                          || test ! -s conftest.err'
38159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38160   (eval $ac_try) 2>&5
38161   ac_status=$?
38162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38163   (exit $ac_status); }; } &&
38164          { ac_try='test -s conftest.$ac_objext'
38165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38166   (eval $ac_try) 2>&5
38167   ac_status=$?
38168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38169   (exit $ac_status); }; }; then
38170   glibcxx_cv_func_logf_use=yes
38171 else
38172   echo "$as_me: failed program was:" >&5
38173 sed 's/^/| /' conftest.$ac_ext >&5
38174
38175 glibcxx_cv_func_logf_use=no
38176 fi
38177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38178       ac_ext=c
38179 ac_cpp='$CPP $CPPFLAGS'
38180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38183
38184
38185 fi
38186
38187   fi
38188   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
38189 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
38190
38191   if test x$glibcxx_cv_func_logf_use = x"yes"; then
38192
38193 for ac_func in logf
38194 do
38195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38196 echo "$as_me:$LINENO: checking for $ac_func" >&5
38197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38198 if eval "test \"\${$as_ac_var+set}\" = set"; then
38199   echo $ECHO_N "(cached) $ECHO_C" >&6
38200 else
38201   if test x$gcc_no_link = xyes; then
38202   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38204    { (exit 1); exit 1; }; }
38205 fi
38206 cat >conftest.$ac_ext <<_ACEOF
38207 /* confdefs.h.  */
38208 _ACEOF
38209 cat confdefs.h >>conftest.$ac_ext
38210 cat >>conftest.$ac_ext <<_ACEOF
38211 /* end confdefs.h.  */
38212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38213    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38214 #define $ac_func innocuous_$ac_func
38215
38216 /* System header to define __stub macros and hopefully few prototypes,
38217     which can conflict with char $ac_func (); below.
38218     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38219     <limits.h> exists even on freestanding compilers.  */
38220
38221 #ifdef __STDC__
38222 # include <limits.h>
38223 #else
38224 # include <assert.h>
38225 #endif
38226
38227 #undef $ac_func
38228
38229 /* Override any gcc2 internal prototype to avoid an error.  */
38230 #ifdef __cplusplus
38231 extern "C"
38232 {
38233 #endif
38234 /* We use char because int might match the return type of a gcc2
38235    builtin and then its argument prototype would still apply.  */
38236 char $ac_func ();
38237 /* The GNU C library defines this for functions which it implements
38238     to always fail with ENOSYS.  Some functions are actually named
38239     something starting with __ and the normal name is an alias.  */
38240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38241 choke me
38242 #else
38243 char (*f) () = $ac_func;
38244 #endif
38245 #ifdef __cplusplus
38246 }
38247 #endif
38248
38249 int
38250 main ()
38251 {
38252 return f != $ac_func;
38253   ;
38254   return 0;
38255 }
38256 _ACEOF
38257 rm -f conftest.$ac_objext conftest$ac_exeext
38258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38259   (eval $ac_link) 2>conftest.er1
38260   ac_status=$?
38261   grep -v '^ *+' conftest.er1 >conftest.err
38262   rm -f conftest.er1
38263   cat conftest.err >&5
38264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38265   (exit $ac_status); } &&
38266          { ac_try='test -z "$ac_c_werror_flag"
38267                          || test ! -s conftest.err'
38268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38269   (eval $ac_try) 2>&5
38270   ac_status=$?
38271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38272   (exit $ac_status); }; } &&
38273          { ac_try='test -s conftest$ac_exeext'
38274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38275   (eval $ac_try) 2>&5
38276   ac_status=$?
38277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38278   (exit $ac_status); }; }; then
38279   eval "$as_ac_var=yes"
38280 else
38281   echo "$as_me: failed program was:" >&5
38282 sed 's/^/| /' conftest.$ac_ext >&5
38283
38284 eval "$as_ac_var=no"
38285 fi
38286 rm -f conftest.err conftest.$ac_objext \
38287       conftest$ac_exeext conftest.$ac_ext
38288 fi
38289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38291 if test `eval echo '${'$as_ac_var'}'` = yes; then
38292   cat >>confdefs.h <<_ACEOF
38293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38294 _ACEOF
38295
38296 fi
38297 done
38298
38299   else
38300
38301   echo "$as_me:$LINENO: checking for _logf declaration" >&5
38302 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
38303   if test x${glibcxx_cv_func__logf_use+set} != xset; then
38304     if test "${glibcxx_cv_func__logf_use+set}" = set; then
38305   echo $ECHO_N "(cached) $ECHO_C" >&6
38306 else
38307
38308
38309
38310       ac_ext=cc
38311 ac_cpp='$CXXCPP $CPPFLAGS'
38312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38315
38316       cat >conftest.$ac_ext <<_ACEOF
38317 /* confdefs.h.  */
38318 _ACEOF
38319 cat confdefs.h >>conftest.$ac_ext
38320 cat >>conftest.$ac_ext <<_ACEOF
38321 /* end confdefs.h.  */
38322 #include <math.h>
38323                       #ifdef HAVE_IEEEFP_H
38324                       #include <ieeefp.h>
38325                       #endif
38326
38327 int
38328 main ()
38329 {
38330  _logf(0);
38331   ;
38332   return 0;
38333 }
38334 _ACEOF
38335 rm -f conftest.$ac_objext
38336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38337   (eval $ac_compile) 2>conftest.er1
38338   ac_status=$?
38339   grep -v '^ *+' conftest.er1 >conftest.err
38340   rm -f conftest.er1
38341   cat conftest.err >&5
38342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38343   (exit $ac_status); } &&
38344          { ac_try='test -z "$ac_cxx_werror_flag"
38345                          || test ! -s conftest.err'
38346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38347   (eval $ac_try) 2>&5
38348   ac_status=$?
38349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38350   (exit $ac_status); }; } &&
38351          { ac_try='test -s conftest.$ac_objext'
38352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38353   (eval $ac_try) 2>&5
38354   ac_status=$?
38355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38356   (exit $ac_status); }; }; then
38357   glibcxx_cv_func__logf_use=yes
38358 else
38359   echo "$as_me: failed program was:" >&5
38360 sed 's/^/| /' conftest.$ac_ext >&5
38361
38362 glibcxx_cv_func__logf_use=no
38363 fi
38364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38365       ac_ext=c
38366 ac_cpp='$CPP $CPPFLAGS'
38367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38370
38371
38372 fi
38373
38374   fi
38375   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
38376 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
38377
38378     if test x$glibcxx_cv_func__logf_use = x"yes"; then
38379
38380 for ac_func in _logf
38381 do
38382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38383 echo "$as_me:$LINENO: checking for $ac_func" >&5
38384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38385 if eval "test \"\${$as_ac_var+set}\" = set"; then
38386   echo $ECHO_N "(cached) $ECHO_C" >&6
38387 else
38388   if test x$gcc_no_link = xyes; then
38389   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38391    { (exit 1); exit 1; }; }
38392 fi
38393 cat >conftest.$ac_ext <<_ACEOF
38394 /* confdefs.h.  */
38395 _ACEOF
38396 cat confdefs.h >>conftest.$ac_ext
38397 cat >>conftest.$ac_ext <<_ACEOF
38398 /* end confdefs.h.  */
38399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38400    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38401 #define $ac_func innocuous_$ac_func
38402
38403 /* System header to define __stub macros and hopefully few prototypes,
38404     which can conflict with char $ac_func (); below.
38405     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38406     <limits.h> exists even on freestanding compilers.  */
38407
38408 #ifdef __STDC__
38409 # include <limits.h>
38410 #else
38411 # include <assert.h>
38412 #endif
38413
38414 #undef $ac_func
38415
38416 /* Override any gcc2 internal prototype to avoid an error.  */
38417 #ifdef __cplusplus
38418 extern "C"
38419 {
38420 #endif
38421 /* We use char because int might match the return type of a gcc2
38422    builtin and then its argument prototype would still apply.  */
38423 char $ac_func ();
38424 /* The GNU C library defines this for functions which it implements
38425     to always fail with ENOSYS.  Some functions are actually named
38426     something starting with __ and the normal name is an alias.  */
38427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38428 choke me
38429 #else
38430 char (*f) () = $ac_func;
38431 #endif
38432 #ifdef __cplusplus
38433 }
38434 #endif
38435
38436 int
38437 main ()
38438 {
38439 return f != $ac_func;
38440   ;
38441   return 0;
38442 }
38443 _ACEOF
38444 rm -f conftest.$ac_objext conftest$ac_exeext
38445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38446   (eval $ac_link) 2>conftest.er1
38447   ac_status=$?
38448   grep -v '^ *+' conftest.er1 >conftest.err
38449   rm -f conftest.er1
38450   cat conftest.err >&5
38451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38452   (exit $ac_status); } &&
38453          { ac_try='test -z "$ac_c_werror_flag"
38454                          || test ! -s conftest.err'
38455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38456   (eval $ac_try) 2>&5
38457   ac_status=$?
38458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38459   (exit $ac_status); }; } &&
38460          { ac_try='test -s conftest$ac_exeext'
38461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38462   (eval $ac_try) 2>&5
38463   ac_status=$?
38464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38465   (exit $ac_status); }; }; then
38466   eval "$as_ac_var=yes"
38467 else
38468   echo "$as_me: failed program was:" >&5
38469 sed 's/^/| /' conftest.$ac_ext >&5
38470
38471 eval "$as_ac_var=no"
38472 fi
38473 rm -f conftest.err conftest.$ac_objext \
38474       conftest$ac_exeext conftest.$ac_ext
38475 fi
38476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38478 if test `eval echo '${'$as_ac_var'}'` = yes; then
38479   cat >>confdefs.h <<_ACEOF
38480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38481 _ACEOF
38482
38483 fi
38484 done
38485
38486     fi
38487   fi
38488
38489
38490
38491   echo "$as_me:$LINENO: checking for log10f declaration" >&5
38492 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
38493   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38494     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
38495   echo $ECHO_N "(cached) $ECHO_C" >&6
38496 else
38497
38498
38499
38500       ac_ext=cc
38501 ac_cpp='$CXXCPP $CPPFLAGS'
38502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38505
38506       cat >conftest.$ac_ext <<_ACEOF
38507 /* confdefs.h.  */
38508 _ACEOF
38509 cat confdefs.h >>conftest.$ac_ext
38510 cat >>conftest.$ac_ext <<_ACEOF
38511 /* end confdefs.h.  */
38512 #include <math.h>
38513                       #ifdef HAVE_IEEEFP_H
38514                       #include <ieeefp.h>
38515                       #endif
38516
38517 int
38518 main ()
38519 {
38520  log10f(0);
38521   ;
38522   return 0;
38523 }
38524 _ACEOF
38525 rm -f conftest.$ac_objext
38526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38527   (eval $ac_compile) 2>conftest.er1
38528   ac_status=$?
38529   grep -v '^ *+' conftest.er1 >conftest.err
38530   rm -f conftest.er1
38531   cat conftest.err >&5
38532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38533   (exit $ac_status); } &&
38534          { ac_try='test -z "$ac_cxx_werror_flag"
38535                          || test ! -s conftest.err'
38536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38537   (eval $ac_try) 2>&5
38538   ac_status=$?
38539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38540   (exit $ac_status); }; } &&
38541          { ac_try='test -s conftest.$ac_objext'
38542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38543   (eval $ac_try) 2>&5
38544   ac_status=$?
38545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38546   (exit $ac_status); }; }; then
38547   glibcxx_cv_func_log10f_use=yes
38548 else
38549   echo "$as_me: failed program was:" >&5
38550 sed 's/^/| /' conftest.$ac_ext >&5
38551
38552 glibcxx_cv_func_log10f_use=no
38553 fi
38554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38555       ac_ext=c
38556 ac_cpp='$CPP $CPPFLAGS'
38557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38560
38561
38562 fi
38563
38564   fi
38565   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
38566 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
38567
38568   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38569
38570 for ac_func in log10f
38571 do
38572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38573 echo "$as_me:$LINENO: checking for $ac_func" >&5
38574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38575 if eval "test \"\${$as_ac_var+set}\" = set"; then
38576   echo $ECHO_N "(cached) $ECHO_C" >&6
38577 else
38578   if test x$gcc_no_link = xyes; then
38579   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38581    { (exit 1); exit 1; }; }
38582 fi
38583 cat >conftest.$ac_ext <<_ACEOF
38584 /* confdefs.h.  */
38585 _ACEOF
38586 cat confdefs.h >>conftest.$ac_ext
38587 cat >>conftest.$ac_ext <<_ACEOF
38588 /* end confdefs.h.  */
38589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38590    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38591 #define $ac_func innocuous_$ac_func
38592
38593 /* System header to define __stub macros and hopefully few prototypes,
38594     which can conflict with char $ac_func (); below.
38595     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38596     <limits.h> exists even on freestanding compilers.  */
38597
38598 #ifdef __STDC__
38599 # include <limits.h>
38600 #else
38601 # include <assert.h>
38602 #endif
38603
38604 #undef $ac_func
38605
38606 /* Override any gcc2 internal prototype to avoid an error.  */
38607 #ifdef __cplusplus
38608 extern "C"
38609 {
38610 #endif
38611 /* We use char because int might match the return type of a gcc2
38612    builtin and then its argument prototype would still apply.  */
38613 char $ac_func ();
38614 /* The GNU C library defines this for functions which it implements
38615     to always fail with ENOSYS.  Some functions are actually named
38616     something starting with __ and the normal name is an alias.  */
38617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38618 choke me
38619 #else
38620 char (*f) () = $ac_func;
38621 #endif
38622 #ifdef __cplusplus
38623 }
38624 #endif
38625
38626 int
38627 main ()
38628 {
38629 return f != $ac_func;
38630   ;
38631   return 0;
38632 }
38633 _ACEOF
38634 rm -f conftest.$ac_objext conftest$ac_exeext
38635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38636   (eval $ac_link) 2>conftest.er1
38637   ac_status=$?
38638   grep -v '^ *+' conftest.er1 >conftest.err
38639   rm -f conftest.er1
38640   cat conftest.err >&5
38641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38642   (exit $ac_status); } &&
38643          { ac_try='test -z "$ac_c_werror_flag"
38644                          || test ! -s conftest.err'
38645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38646   (eval $ac_try) 2>&5
38647   ac_status=$?
38648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38649   (exit $ac_status); }; } &&
38650          { ac_try='test -s conftest$ac_exeext'
38651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38652   (eval $ac_try) 2>&5
38653   ac_status=$?
38654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38655   (exit $ac_status); }; }; then
38656   eval "$as_ac_var=yes"
38657 else
38658   echo "$as_me: failed program was:" >&5
38659 sed 's/^/| /' conftest.$ac_ext >&5
38660
38661 eval "$as_ac_var=no"
38662 fi
38663 rm -f conftest.err conftest.$ac_objext \
38664       conftest$ac_exeext conftest.$ac_ext
38665 fi
38666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38668 if test `eval echo '${'$as_ac_var'}'` = yes; then
38669   cat >>confdefs.h <<_ACEOF
38670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38671 _ACEOF
38672
38673 fi
38674 done
38675
38676   else
38677
38678   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
38679 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
38680   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38681     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
38682   echo $ECHO_N "(cached) $ECHO_C" >&6
38683 else
38684
38685
38686
38687       ac_ext=cc
38688 ac_cpp='$CXXCPP $CPPFLAGS'
38689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38692
38693       cat >conftest.$ac_ext <<_ACEOF
38694 /* confdefs.h.  */
38695 _ACEOF
38696 cat confdefs.h >>conftest.$ac_ext
38697 cat >>conftest.$ac_ext <<_ACEOF
38698 /* end confdefs.h.  */
38699 #include <math.h>
38700                       #ifdef HAVE_IEEEFP_H
38701                       #include <ieeefp.h>
38702                       #endif
38703
38704 int
38705 main ()
38706 {
38707  _log10f(0);
38708   ;
38709   return 0;
38710 }
38711 _ACEOF
38712 rm -f conftest.$ac_objext
38713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38714   (eval $ac_compile) 2>conftest.er1
38715   ac_status=$?
38716   grep -v '^ *+' conftest.er1 >conftest.err
38717   rm -f conftest.er1
38718   cat conftest.err >&5
38719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38720   (exit $ac_status); } &&
38721          { ac_try='test -z "$ac_cxx_werror_flag"
38722                          || test ! -s conftest.err'
38723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38724   (eval $ac_try) 2>&5
38725   ac_status=$?
38726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38727   (exit $ac_status); }; } &&
38728          { ac_try='test -s conftest.$ac_objext'
38729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38730   (eval $ac_try) 2>&5
38731   ac_status=$?
38732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38733   (exit $ac_status); }; }; then
38734   glibcxx_cv_func__log10f_use=yes
38735 else
38736   echo "$as_me: failed program was:" >&5
38737 sed 's/^/| /' conftest.$ac_ext >&5
38738
38739 glibcxx_cv_func__log10f_use=no
38740 fi
38741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38742       ac_ext=c
38743 ac_cpp='$CPP $CPPFLAGS'
38744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38747
38748
38749 fi
38750
38751   fi
38752   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
38753 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
38754
38755     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38756
38757 for ac_func in _log10f
38758 do
38759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38760 echo "$as_me:$LINENO: checking for $ac_func" >&5
38761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38762 if eval "test \"\${$as_ac_var+set}\" = set"; then
38763   echo $ECHO_N "(cached) $ECHO_C" >&6
38764 else
38765   if test x$gcc_no_link = xyes; then
38766   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38768    { (exit 1); exit 1; }; }
38769 fi
38770 cat >conftest.$ac_ext <<_ACEOF
38771 /* confdefs.h.  */
38772 _ACEOF
38773 cat confdefs.h >>conftest.$ac_ext
38774 cat >>conftest.$ac_ext <<_ACEOF
38775 /* end confdefs.h.  */
38776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38777    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38778 #define $ac_func innocuous_$ac_func
38779
38780 /* System header to define __stub macros and hopefully few prototypes,
38781     which can conflict with char $ac_func (); below.
38782     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38783     <limits.h> exists even on freestanding compilers.  */
38784
38785 #ifdef __STDC__
38786 # include <limits.h>
38787 #else
38788 # include <assert.h>
38789 #endif
38790
38791 #undef $ac_func
38792
38793 /* Override any gcc2 internal prototype to avoid an error.  */
38794 #ifdef __cplusplus
38795 extern "C"
38796 {
38797 #endif
38798 /* We use char because int might match the return type of a gcc2
38799    builtin and then its argument prototype would still apply.  */
38800 char $ac_func ();
38801 /* The GNU C library defines this for functions which it implements
38802     to always fail with ENOSYS.  Some functions are actually named
38803     something starting with __ and the normal name is an alias.  */
38804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38805 choke me
38806 #else
38807 char (*f) () = $ac_func;
38808 #endif
38809 #ifdef __cplusplus
38810 }
38811 #endif
38812
38813 int
38814 main ()
38815 {
38816 return f != $ac_func;
38817   ;
38818   return 0;
38819 }
38820 _ACEOF
38821 rm -f conftest.$ac_objext conftest$ac_exeext
38822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38823   (eval $ac_link) 2>conftest.er1
38824   ac_status=$?
38825   grep -v '^ *+' conftest.er1 >conftest.err
38826   rm -f conftest.er1
38827   cat conftest.err >&5
38828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38829   (exit $ac_status); } &&
38830          { ac_try='test -z "$ac_c_werror_flag"
38831                          || test ! -s conftest.err'
38832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38833   (eval $ac_try) 2>&5
38834   ac_status=$?
38835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38836   (exit $ac_status); }; } &&
38837          { ac_try='test -s conftest$ac_exeext'
38838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38839   (eval $ac_try) 2>&5
38840   ac_status=$?
38841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38842   (exit $ac_status); }; }; then
38843   eval "$as_ac_var=yes"
38844 else
38845   echo "$as_me: failed program was:" >&5
38846 sed 's/^/| /' conftest.$ac_ext >&5
38847
38848 eval "$as_ac_var=no"
38849 fi
38850 rm -f conftest.err conftest.$ac_objext \
38851       conftest$ac_exeext conftest.$ac_ext
38852 fi
38853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38855 if test `eval echo '${'$as_ac_var'}'` = yes; then
38856   cat >>confdefs.h <<_ACEOF
38857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38858 _ACEOF
38859
38860 fi
38861 done
38862
38863     fi
38864   fi
38865
38866
38867
38868   echo "$as_me:$LINENO: checking for modff declaration" >&5
38869 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
38870   if test x${glibcxx_cv_func_modff_use+set} != xset; then
38871     if test "${glibcxx_cv_func_modff_use+set}" = set; then
38872   echo $ECHO_N "(cached) $ECHO_C" >&6
38873 else
38874
38875
38876
38877       ac_ext=cc
38878 ac_cpp='$CXXCPP $CPPFLAGS'
38879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38882
38883       cat >conftest.$ac_ext <<_ACEOF
38884 /* confdefs.h.  */
38885 _ACEOF
38886 cat confdefs.h >>conftest.$ac_ext
38887 cat >>conftest.$ac_ext <<_ACEOF
38888 /* end confdefs.h.  */
38889 #include <math.h>
38890 int
38891 main ()
38892 {
38893  modff(0, 0);
38894   ;
38895   return 0;
38896 }
38897 _ACEOF
38898 rm -f conftest.$ac_objext
38899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38900   (eval $ac_compile) 2>conftest.er1
38901   ac_status=$?
38902   grep -v '^ *+' conftest.er1 >conftest.err
38903   rm -f conftest.er1
38904   cat conftest.err >&5
38905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38906   (exit $ac_status); } &&
38907          { ac_try='test -z "$ac_cxx_werror_flag"
38908                          || test ! -s conftest.err'
38909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38910   (eval $ac_try) 2>&5
38911   ac_status=$?
38912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38913   (exit $ac_status); }; } &&
38914          { ac_try='test -s conftest.$ac_objext'
38915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38916   (eval $ac_try) 2>&5
38917   ac_status=$?
38918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38919   (exit $ac_status); }; }; then
38920   glibcxx_cv_func_modff_use=yes
38921 else
38922   echo "$as_me: failed program was:" >&5
38923 sed 's/^/| /' conftest.$ac_ext >&5
38924
38925 glibcxx_cv_func_modff_use=no
38926 fi
38927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38928       ac_ext=c
38929 ac_cpp='$CPP $CPPFLAGS'
38930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38933
38934
38935 fi
38936
38937   fi
38938   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
38939 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
38940
38941   if test x$glibcxx_cv_func_modff_use = x"yes"; then
38942
38943 for ac_func in modff
38944 do
38945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38946 echo "$as_me:$LINENO: checking for $ac_func" >&5
38947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38948 if eval "test \"\${$as_ac_var+set}\" = set"; then
38949   echo $ECHO_N "(cached) $ECHO_C" >&6
38950 else
38951   if test x$gcc_no_link = xyes; then
38952   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38954    { (exit 1); exit 1; }; }
38955 fi
38956 cat >conftest.$ac_ext <<_ACEOF
38957 /* confdefs.h.  */
38958 _ACEOF
38959 cat confdefs.h >>conftest.$ac_ext
38960 cat >>conftest.$ac_ext <<_ACEOF
38961 /* end confdefs.h.  */
38962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38963    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38964 #define $ac_func innocuous_$ac_func
38965
38966 /* System header to define __stub macros and hopefully few prototypes,
38967     which can conflict with char $ac_func (); below.
38968     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38969     <limits.h> exists even on freestanding compilers.  */
38970
38971 #ifdef __STDC__
38972 # include <limits.h>
38973 #else
38974 # include <assert.h>
38975 #endif
38976
38977 #undef $ac_func
38978
38979 /* Override any gcc2 internal prototype to avoid an error.  */
38980 #ifdef __cplusplus
38981 extern "C"
38982 {
38983 #endif
38984 /* We use char because int might match the return type of a gcc2
38985    builtin and then its argument prototype would still apply.  */
38986 char $ac_func ();
38987 /* The GNU C library defines this for functions which it implements
38988     to always fail with ENOSYS.  Some functions are actually named
38989     something starting with __ and the normal name is an alias.  */
38990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38991 choke me
38992 #else
38993 char (*f) () = $ac_func;
38994 #endif
38995 #ifdef __cplusplus
38996 }
38997 #endif
38998
38999 int
39000 main ()
39001 {
39002 return f != $ac_func;
39003   ;
39004   return 0;
39005 }
39006 _ACEOF
39007 rm -f conftest.$ac_objext conftest$ac_exeext
39008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39009   (eval $ac_link) 2>conftest.er1
39010   ac_status=$?
39011   grep -v '^ *+' conftest.er1 >conftest.err
39012   rm -f conftest.er1
39013   cat conftest.err >&5
39014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39015   (exit $ac_status); } &&
39016          { ac_try='test -z "$ac_c_werror_flag"
39017                          || test ! -s conftest.err'
39018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39019   (eval $ac_try) 2>&5
39020   ac_status=$?
39021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39022   (exit $ac_status); }; } &&
39023          { ac_try='test -s conftest$ac_exeext'
39024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39025   (eval $ac_try) 2>&5
39026   ac_status=$?
39027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39028   (exit $ac_status); }; }; then
39029   eval "$as_ac_var=yes"
39030 else
39031   echo "$as_me: failed program was:" >&5
39032 sed 's/^/| /' conftest.$ac_ext >&5
39033
39034 eval "$as_ac_var=no"
39035 fi
39036 rm -f conftest.err conftest.$ac_objext \
39037       conftest$ac_exeext conftest.$ac_ext
39038 fi
39039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39041 if test `eval echo '${'$as_ac_var'}'` = yes; then
39042   cat >>confdefs.h <<_ACEOF
39043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39044 _ACEOF
39045
39046 fi
39047 done
39048
39049   else
39050
39051   echo "$as_me:$LINENO: checking for _modff declaration" >&5
39052 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
39053   if test x${glibcxx_cv_func__modff_use+set} != xset; then
39054     if test "${glibcxx_cv_func__modff_use+set}" = set; then
39055   echo $ECHO_N "(cached) $ECHO_C" >&6
39056 else
39057
39058
39059
39060       ac_ext=cc
39061 ac_cpp='$CXXCPP $CPPFLAGS'
39062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39065
39066       cat >conftest.$ac_ext <<_ACEOF
39067 /* confdefs.h.  */
39068 _ACEOF
39069 cat confdefs.h >>conftest.$ac_ext
39070 cat >>conftest.$ac_ext <<_ACEOF
39071 /* end confdefs.h.  */
39072 #include <math.h>
39073 int
39074 main ()
39075 {
39076  _modff(0, 0);
39077   ;
39078   return 0;
39079 }
39080 _ACEOF
39081 rm -f conftest.$ac_objext
39082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39083   (eval $ac_compile) 2>conftest.er1
39084   ac_status=$?
39085   grep -v '^ *+' conftest.er1 >conftest.err
39086   rm -f conftest.er1
39087   cat conftest.err >&5
39088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39089   (exit $ac_status); } &&
39090          { ac_try='test -z "$ac_cxx_werror_flag"
39091                          || test ! -s conftest.err'
39092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39093   (eval $ac_try) 2>&5
39094   ac_status=$?
39095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39096   (exit $ac_status); }; } &&
39097          { ac_try='test -s conftest.$ac_objext'
39098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39099   (eval $ac_try) 2>&5
39100   ac_status=$?
39101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39102   (exit $ac_status); }; }; then
39103   glibcxx_cv_func__modff_use=yes
39104 else
39105   echo "$as_me: failed program was:" >&5
39106 sed 's/^/| /' conftest.$ac_ext >&5
39107
39108 glibcxx_cv_func__modff_use=no
39109 fi
39110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39111       ac_ext=c
39112 ac_cpp='$CPP $CPPFLAGS'
39113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39116
39117
39118 fi
39119
39120   fi
39121   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
39122 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
39123
39124     if test x$glibcxx_cv_func__modff_use = x"yes"; then
39125
39126 for ac_func in _modff
39127 do
39128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39129 echo "$as_me:$LINENO: checking for $ac_func" >&5
39130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39131 if eval "test \"\${$as_ac_var+set}\" = set"; then
39132   echo $ECHO_N "(cached) $ECHO_C" >&6
39133 else
39134   if test x$gcc_no_link = xyes; then
39135   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39137    { (exit 1); exit 1; }; }
39138 fi
39139 cat >conftest.$ac_ext <<_ACEOF
39140 /* confdefs.h.  */
39141 _ACEOF
39142 cat confdefs.h >>conftest.$ac_ext
39143 cat >>conftest.$ac_ext <<_ACEOF
39144 /* end confdefs.h.  */
39145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39146    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39147 #define $ac_func innocuous_$ac_func
39148
39149 /* System header to define __stub macros and hopefully few prototypes,
39150     which can conflict with char $ac_func (); below.
39151     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39152     <limits.h> exists even on freestanding compilers.  */
39153
39154 #ifdef __STDC__
39155 # include <limits.h>
39156 #else
39157 # include <assert.h>
39158 #endif
39159
39160 #undef $ac_func
39161
39162 /* Override any gcc2 internal prototype to avoid an error.  */
39163 #ifdef __cplusplus
39164 extern "C"
39165 {
39166 #endif
39167 /* We use char because int might match the return type of a gcc2
39168    builtin and then its argument prototype would still apply.  */
39169 char $ac_func ();
39170 /* The GNU C library defines this for functions which it implements
39171     to always fail with ENOSYS.  Some functions are actually named
39172     something starting with __ and the normal name is an alias.  */
39173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39174 choke me
39175 #else
39176 char (*f) () = $ac_func;
39177 #endif
39178 #ifdef __cplusplus
39179 }
39180 #endif
39181
39182 int
39183 main ()
39184 {
39185 return f != $ac_func;
39186   ;
39187   return 0;
39188 }
39189 _ACEOF
39190 rm -f conftest.$ac_objext conftest$ac_exeext
39191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39192   (eval $ac_link) 2>conftest.er1
39193   ac_status=$?
39194   grep -v '^ *+' conftest.er1 >conftest.err
39195   rm -f conftest.er1
39196   cat conftest.err >&5
39197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39198   (exit $ac_status); } &&
39199          { ac_try='test -z "$ac_c_werror_flag"
39200                          || test ! -s conftest.err'
39201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39202   (eval $ac_try) 2>&5
39203   ac_status=$?
39204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39205   (exit $ac_status); }; } &&
39206          { ac_try='test -s conftest$ac_exeext'
39207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39208   (eval $ac_try) 2>&5
39209   ac_status=$?
39210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39211   (exit $ac_status); }; }; then
39212   eval "$as_ac_var=yes"
39213 else
39214   echo "$as_me: failed program was:" >&5
39215 sed 's/^/| /' conftest.$ac_ext >&5
39216
39217 eval "$as_ac_var=no"
39218 fi
39219 rm -f conftest.err conftest.$ac_objext \
39220       conftest$ac_exeext conftest.$ac_ext
39221 fi
39222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39224 if test `eval echo '${'$as_ac_var'}'` = yes; then
39225   cat >>confdefs.h <<_ACEOF
39226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39227 _ACEOF
39228
39229 fi
39230 done
39231
39232     fi
39233   fi
39234
39235
39236
39237   echo "$as_me:$LINENO: checking for powf declaration" >&5
39238 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
39239   if test x${glibcxx_cv_func_powf_use+set} != xset; then
39240     if test "${glibcxx_cv_func_powf_use+set}" = set; then
39241   echo $ECHO_N "(cached) $ECHO_C" >&6
39242 else
39243
39244
39245
39246       ac_ext=cc
39247 ac_cpp='$CXXCPP $CPPFLAGS'
39248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39251
39252       cat >conftest.$ac_ext <<_ACEOF
39253 /* confdefs.h.  */
39254 _ACEOF
39255 cat confdefs.h >>conftest.$ac_ext
39256 cat >>conftest.$ac_ext <<_ACEOF
39257 /* end confdefs.h.  */
39258 #include <math.h>
39259 int
39260 main ()
39261 {
39262  powf(0, 0);
39263   ;
39264   return 0;
39265 }
39266 _ACEOF
39267 rm -f conftest.$ac_objext
39268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39269   (eval $ac_compile) 2>conftest.er1
39270   ac_status=$?
39271   grep -v '^ *+' conftest.er1 >conftest.err
39272   rm -f conftest.er1
39273   cat conftest.err >&5
39274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39275   (exit $ac_status); } &&
39276          { ac_try='test -z "$ac_cxx_werror_flag"
39277                          || test ! -s conftest.err'
39278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39279   (eval $ac_try) 2>&5
39280   ac_status=$?
39281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39282   (exit $ac_status); }; } &&
39283          { ac_try='test -s conftest.$ac_objext'
39284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39285   (eval $ac_try) 2>&5
39286   ac_status=$?
39287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39288   (exit $ac_status); }; }; then
39289   glibcxx_cv_func_powf_use=yes
39290 else
39291   echo "$as_me: failed program was:" >&5
39292 sed 's/^/| /' conftest.$ac_ext >&5
39293
39294 glibcxx_cv_func_powf_use=no
39295 fi
39296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39297       ac_ext=c
39298 ac_cpp='$CPP $CPPFLAGS'
39299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39302
39303
39304 fi
39305
39306   fi
39307   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
39308 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
39309
39310   if test x$glibcxx_cv_func_powf_use = x"yes"; then
39311
39312 for ac_func in powf
39313 do
39314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39315 echo "$as_me:$LINENO: checking for $ac_func" >&5
39316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39317 if eval "test \"\${$as_ac_var+set}\" = set"; then
39318   echo $ECHO_N "(cached) $ECHO_C" >&6
39319 else
39320   if test x$gcc_no_link = xyes; then
39321   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39323    { (exit 1); exit 1; }; }
39324 fi
39325 cat >conftest.$ac_ext <<_ACEOF
39326 /* confdefs.h.  */
39327 _ACEOF
39328 cat confdefs.h >>conftest.$ac_ext
39329 cat >>conftest.$ac_ext <<_ACEOF
39330 /* end confdefs.h.  */
39331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39332    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39333 #define $ac_func innocuous_$ac_func
39334
39335 /* System header to define __stub macros and hopefully few prototypes,
39336     which can conflict with char $ac_func (); below.
39337     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39338     <limits.h> exists even on freestanding compilers.  */
39339
39340 #ifdef __STDC__
39341 # include <limits.h>
39342 #else
39343 # include <assert.h>
39344 #endif
39345
39346 #undef $ac_func
39347
39348 /* Override any gcc2 internal prototype to avoid an error.  */
39349 #ifdef __cplusplus
39350 extern "C"
39351 {
39352 #endif
39353 /* We use char because int might match the return type of a gcc2
39354    builtin and then its argument prototype would still apply.  */
39355 char $ac_func ();
39356 /* The GNU C library defines this for functions which it implements
39357     to always fail with ENOSYS.  Some functions are actually named
39358     something starting with __ and the normal name is an alias.  */
39359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39360 choke me
39361 #else
39362 char (*f) () = $ac_func;
39363 #endif
39364 #ifdef __cplusplus
39365 }
39366 #endif
39367
39368 int
39369 main ()
39370 {
39371 return f != $ac_func;
39372   ;
39373   return 0;
39374 }
39375 _ACEOF
39376 rm -f conftest.$ac_objext conftest$ac_exeext
39377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39378   (eval $ac_link) 2>conftest.er1
39379   ac_status=$?
39380   grep -v '^ *+' conftest.er1 >conftest.err
39381   rm -f conftest.er1
39382   cat conftest.err >&5
39383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39384   (exit $ac_status); } &&
39385          { ac_try='test -z "$ac_c_werror_flag"
39386                          || test ! -s conftest.err'
39387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39388   (eval $ac_try) 2>&5
39389   ac_status=$?
39390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39391   (exit $ac_status); }; } &&
39392          { ac_try='test -s conftest$ac_exeext'
39393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39394   (eval $ac_try) 2>&5
39395   ac_status=$?
39396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39397   (exit $ac_status); }; }; then
39398   eval "$as_ac_var=yes"
39399 else
39400   echo "$as_me: failed program was:" >&5
39401 sed 's/^/| /' conftest.$ac_ext >&5
39402
39403 eval "$as_ac_var=no"
39404 fi
39405 rm -f conftest.err conftest.$ac_objext \
39406       conftest$ac_exeext conftest.$ac_ext
39407 fi
39408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39410 if test `eval echo '${'$as_ac_var'}'` = yes; then
39411   cat >>confdefs.h <<_ACEOF
39412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39413 _ACEOF
39414
39415 fi
39416 done
39417
39418   else
39419
39420   echo "$as_me:$LINENO: checking for _powf declaration" >&5
39421 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
39422   if test x${glibcxx_cv_func__powf_use+set} != xset; then
39423     if test "${glibcxx_cv_func__powf_use+set}" = set; then
39424   echo $ECHO_N "(cached) $ECHO_C" >&6
39425 else
39426
39427
39428
39429       ac_ext=cc
39430 ac_cpp='$CXXCPP $CPPFLAGS'
39431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39434
39435       cat >conftest.$ac_ext <<_ACEOF
39436 /* confdefs.h.  */
39437 _ACEOF
39438 cat confdefs.h >>conftest.$ac_ext
39439 cat >>conftest.$ac_ext <<_ACEOF
39440 /* end confdefs.h.  */
39441 #include <math.h>
39442 int
39443 main ()
39444 {
39445  _powf(0, 0);
39446   ;
39447   return 0;
39448 }
39449 _ACEOF
39450 rm -f conftest.$ac_objext
39451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39452   (eval $ac_compile) 2>conftest.er1
39453   ac_status=$?
39454   grep -v '^ *+' conftest.er1 >conftest.err
39455   rm -f conftest.er1
39456   cat conftest.err >&5
39457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39458   (exit $ac_status); } &&
39459          { ac_try='test -z "$ac_cxx_werror_flag"
39460                          || test ! -s conftest.err'
39461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39462   (eval $ac_try) 2>&5
39463   ac_status=$?
39464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39465   (exit $ac_status); }; } &&
39466          { ac_try='test -s conftest.$ac_objext'
39467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39468   (eval $ac_try) 2>&5
39469   ac_status=$?
39470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39471   (exit $ac_status); }; }; then
39472   glibcxx_cv_func__powf_use=yes
39473 else
39474   echo "$as_me: failed program was:" >&5
39475 sed 's/^/| /' conftest.$ac_ext >&5
39476
39477 glibcxx_cv_func__powf_use=no
39478 fi
39479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39480       ac_ext=c
39481 ac_cpp='$CPP $CPPFLAGS'
39482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39485
39486
39487 fi
39488
39489   fi
39490   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
39491 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
39492
39493     if test x$glibcxx_cv_func__powf_use = x"yes"; then
39494
39495 for ac_func in _powf
39496 do
39497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39498 echo "$as_me:$LINENO: checking for $ac_func" >&5
39499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39500 if eval "test \"\${$as_ac_var+set}\" = set"; then
39501   echo $ECHO_N "(cached) $ECHO_C" >&6
39502 else
39503   if test x$gcc_no_link = xyes; then
39504   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39506    { (exit 1); exit 1; }; }
39507 fi
39508 cat >conftest.$ac_ext <<_ACEOF
39509 /* confdefs.h.  */
39510 _ACEOF
39511 cat confdefs.h >>conftest.$ac_ext
39512 cat >>conftest.$ac_ext <<_ACEOF
39513 /* end confdefs.h.  */
39514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39515    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39516 #define $ac_func innocuous_$ac_func
39517
39518 /* System header to define __stub macros and hopefully few prototypes,
39519     which can conflict with char $ac_func (); below.
39520     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39521     <limits.h> exists even on freestanding compilers.  */
39522
39523 #ifdef __STDC__
39524 # include <limits.h>
39525 #else
39526 # include <assert.h>
39527 #endif
39528
39529 #undef $ac_func
39530
39531 /* Override any gcc2 internal prototype to avoid an error.  */
39532 #ifdef __cplusplus
39533 extern "C"
39534 {
39535 #endif
39536 /* We use char because int might match the return type of a gcc2
39537    builtin and then its argument prototype would still apply.  */
39538 char $ac_func ();
39539 /* The GNU C library defines this for functions which it implements
39540     to always fail with ENOSYS.  Some functions are actually named
39541     something starting with __ and the normal name is an alias.  */
39542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39543 choke me
39544 #else
39545 char (*f) () = $ac_func;
39546 #endif
39547 #ifdef __cplusplus
39548 }
39549 #endif
39550
39551 int
39552 main ()
39553 {
39554 return f != $ac_func;
39555   ;
39556   return 0;
39557 }
39558 _ACEOF
39559 rm -f conftest.$ac_objext conftest$ac_exeext
39560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39561   (eval $ac_link) 2>conftest.er1
39562   ac_status=$?
39563   grep -v '^ *+' conftest.er1 >conftest.err
39564   rm -f conftest.er1
39565   cat conftest.err >&5
39566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39567   (exit $ac_status); } &&
39568          { ac_try='test -z "$ac_c_werror_flag"
39569                          || test ! -s conftest.err'
39570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39571   (eval $ac_try) 2>&5
39572   ac_status=$?
39573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39574   (exit $ac_status); }; } &&
39575          { ac_try='test -s conftest$ac_exeext'
39576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39577   (eval $ac_try) 2>&5
39578   ac_status=$?
39579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39580   (exit $ac_status); }; }; then
39581   eval "$as_ac_var=yes"
39582 else
39583   echo "$as_me: failed program was:" >&5
39584 sed 's/^/| /' conftest.$ac_ext >&5
39585
39586 eval "$as_ac_var=no"
39587 fi
39588 rm -f conftest.err conftest.$ac_objext \
39589       conftest$ac_exeext conftest.$ac_ext
39590 fi
39591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39593 if test `eval echo '${'$as_ac_var'}'` = yes; then
39594   cat >>confdefs.h <<_ACEOF
39595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39596 _ACEOF
39597
39598 fi
39599 done
39600
39601     fi
39602   fi
39603
39604
39605
39606   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
39607 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
39608   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
39609     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
39610   echo $ECHO_N "(cached) $ECHO_C" >&6
39611 else
39612
39613
39614
39615       ac_ext=cc
39616 ac_cpp='$CXXCPP $CPPFLAGS'
39617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39620
39621       cat >conftest.$ac_ext <<_ACEOF
39622 /* confdefs.h.  */
39623 _ACEOF
39624 cat confdefs.h >>conftest.$ac_ext
39625 cat >>conftest.$ac_ext <<_ACEOF
39626 /* end confdefs.h.  */
39627 #include <math.h>
39628                       #ifdef HAVE_IEEEFP_H
39629                       #include <ieeefp.h>
39630                       #endif
39631
39632 int
39633 main ()
39634 {
39635  sqrtf(0);
39636   ;
39637   return 0;
39638 }
39639 _ACEOF
39640 rm -f conftest.$ac_objext
39641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39642   (eval $ac_compile) 2>conftest.er1
39643   ac_status=$?
39644   grep -v '^ *+' conftest.er1 >conftest.err
39645   rm -f conftest.er1
39646   cat conftest.err >&5
39647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39648   (exit $ac_status); } &&
39649          { ac_try='test -z "$ac_cxx_werror_flag"
39650                          || test ! -s conftest.err'
39651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39652   (eval $ac_try) 2>&5
39653   ac_status=$?
39654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39655   (exit $ac_status); }; } &&
39656          { ac_try='test -s conftest.$ac_objext'
39657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39658   (eval $ac_try) 2>&5
39659   ac_status=$?
39660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39661   (exit $ac_status); }; }; then
39662   glibcxx_cv_func_sqrtf_use=yes
39663 else
39664   echo "$as_me: failed program was:" >&5
39665 sed 's/^/| /' conftest.$ac_ext >&5
39666
39667 glibcxx_cv_func_sqrtf_use=no
39668 fi
39669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39670       ac_ext=c
39671 ac_cpp='$CPP $CPPFLAGS'
39672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39675
39676
39677 fi
39678
39679   fi
39680   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
39681 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
39682
39683   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
39684
39685 for ac_func in sqrtf
39686 do
39687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39688 echo "$as_me:$LINENO: checking for $ac_func" >&5
39689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39690 if eval "test \"\${$as_ac_var+set}\" = set"; then
39691   echo $ECHO_N "(cached) $ECHO_C" >&6
39692 else
39693   if test x$gcc_no_link = xyes; then
39694   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39696    { (exit 1); exit 1; }; }
39697 fi
39698 cat >conftest.$ac_ext <<_ACEOF
39699 /* confdefs.h.  */
39700 _ACEOF
39701 cat confdefs.h >>conftest.$ac_ext
39702 cat >>conftest.$ac_ext <<_ACEOF
39703 /* end confdefs.h.  */
39704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39705    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39706 #define $ac_func innocuous_$ac_func
39707
39708 /* System header to define __stub macros and hopefully few prototypes,
39709     which can conflict with char $ac_func (); below.
39710     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39711     <limits.h> exists even on freestanding compilers.  */
39712
39713 #ifdef __STDC__
39714 # include <limits.h>
39715 #else
39716 # include <assert.h>
39717 #endif
39718
39719 #undef $ac_func
39720
39721 /* Override any gcc2 internal prototype to avoid an error.  */
39722 #ifdef __cplusplus
39723 extern "C"
39724 {
39725 #endif
39726 /* We use char because int might match the return type of a gcc2
39727    builtin and then its argument prototype would still apply.  */
39728 char $ac_func ();
39729 /* The GNU C library defines this for functions which it implements
39730     to always fail with ENOSYS.  Some functions are actually named
39731     something starting with __ and the normal name is an alias.  */
39732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39733 choke me
39734 #else
39735 char (*f) () = $ac_func;
39736 #endif
39737 #ifdef __cplusplus
39738 }
39739 #endif
39740
39741 int
39742 main ()
39743 {
39744 return f != $ac_func;
39745   ;
39746   return 0;
39747 }
39748 _ACEOF
39749 rm -f conftest.$ac_objext conftest$ac_exeext
39750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39751   (eval $ac_link) 2>conftest.er1
39752   ac_status=$?
39753   grep -v '^ *+' conftest.er1 >conftest.err
39754   rm -f conftest.er1
39755   cat conftest.err >&5
39756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39757   (exit $ac_status); } &&
39758          { ac_try='test -z "$ac_c_werror_flag"
39759                          || test ! -s conftest.err'
39760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39761   (eval $ac_try) 2>&5
39762   ac_status=$?
39763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39764   (exit $ac_status); }; } &&
39765          { ac_try='test -s conftest$ac_exeext'
39766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39767   (eval $ac_try) 2>&5
39768   ac_status=$?
39769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39770   (exit $ac_status); }; }; then
39771   eval "$as_ac_var=yes"
39772 else
39773   echo "$as_me: failed program was:" >&5
39774 sed 's/^/| /' conftest.$ac_ext >&5
39775
39776 eval "$as_ac_var=no"
39777 fi
39778 rm -f conftest.err conftest.$ac_objext \
39779       conftest$ac_exeext conftest.$ac_ext
39780 fi
39781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39783 if test `eval echo '${'$as_ac_var'}'` = yes; then
39784   cat >>confdefs.h <<_ACEOF
39785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39786 _ACEOF
39787
39788 fi
39789 done
39790
39791   else
39792
39793   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
39794 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
39795   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
39796     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
39797   echo $ECHO_N "(cached) $ECHO_C" >&6
39798 else
39799
39800
39801
39802       ac_ext=cc
39803 ac_cpp='$CXXCPP $CPPFLAGS'
39804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39807
39808       cat >conftest.$ac_ext <<_ACEOF
39809 /* confdefs.h.  */
39810 _ACEOF
39811 cat confdefs.h >>conftest.$ac_ext
39812 cat >>conftest.$ac_ext <<_ACEOF
39813 /* end confdefs.h.  */
39814 #include <math.h>
39815                       #ifdef HAVE_IEEEFP_H
39816                       #include <ieeefp.h>
39817                       #endif
39818
39819 int
39820 main ()
39821 {
39822  _sqrtf(0);
39823   ;
39824   return 0;
39825 }
39826 _ACEOF
39827 rm -f conftest.$ac_objext
39828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39829   (eval $ac_compile) 2>conftest.er1
39830   ac_status=$?
39831   grep -v '^ *+' conftest.er1 >conftest.err
39832   rm -f conftest.er1
39833   cat conftest.err >&5
39834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39835   (exit $ac_status); } &&
39836          { ac_try='test -z "$ac_cxx_werror_flag"
39837                          || test ! -s conftest.err'
39838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39839   (eval $ac_try) 2>&5
39840   ac_status=$?
39841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39842   (exit $ac_status); }; } &&
39843          { ac_try='test -s conftest.$ac_objext'
39844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39845   (eval $ac_try) 2>&5
39846   ac_status=$?
39847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39848   (exit $ac_status); }; }; then
39849   glibcxx_cv_func__sqrtf_use=yes
39850 else
39851   echo "$as_me: failed program was:" >&5
39852 sed 's/^/| /' conftest.$ac_ext >&5
39853
39854 glibcxx_cv_func__sqrtf_use=no
39855 fi
39856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39857       ac_ext=c
39858 ac_cpp='$CPP $CPPFLAGS'
39859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39862
39863
39864 fi
39865
39866   fi
39867   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
39868 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
39869
39870     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
39871
39872 for ac_func in _sqrtf
39873 do
39874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39875 echo "$as_me:$LINENO: checking for $ac_func" >&5
39876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39877 if eval "test \"\${$as_ac_var+set}\" = set"; then
39878   echo $ECHO_N "(cached) $ECHO_C" >&6
39879 else
39880   if test x$gcc_no_link = xyes; then
39881   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39883    { (exit 1); exit 1; }; }
39884 fi
39885 cat >conftest.$ac_ext <<_ACEOF
39886 /* confdefs.h.  */
39887 _ACEOF
39888 cat confdefs.h >>conftest.$ac_ext
39889 cat >>conftest.$ac_ext <<_ACEOF
39890 /* end confdefs.h.  */
39891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39892    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39893 #define $ac_func innocuous_$ac_func
39894
39895 /* System header to define __stub macros and hopefully few prototypes,
39896     which can conflict with char $ac_func (); below.
39897     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39898     <limits.h> exists even on freestanding compilers.  */
39899
39900 #ifdef __STDC__
39901 # include <limits.h>
39902 #else
39903 # include <assert.h>
39904 #endif
39905
39906 #undef $ac_func
39907
39908 /* Override any gcc2 internal prototype to avoid an error.  */
39909 #ifdef __cplusplus
39910 extern "C"
39911 {
39912 #endif
39913 /* We use char because int might match the return type of a gcc2
39914    builtin and then its argument prototype would still apply.  */
39915 char $ac_func ();
39916 /* The GNU C library defines this for functions which it implements
39917     to always fail with ENOSYS.  Some functions are actually named
39918     something starting with __ and the normal name is an alias.  */
39919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39920 choke me
39921 #else
39922 char (*f) () = $ac_func;
39923 #endif
39924 #ifdef __cplusplus
39925 }
39926 #endif
39927
39928 int
39929 main ()
39930 {
39931 return f != $ac_func;
39932   ;
39933   return 0;
39934 }
39935 _ACEOF
39936 rm -f conftest.$ac_objext conftest$ac_exeext
39937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39938   (eval $ac_link) 2>conftest.er1
39939   ac_status=$?
39940   grep -v '^ *+' conftest.er1 >conftest.err
39941   rm -f conftest.er1
39942   cat conftest.err >&5
39943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39944   (exit $ac_status); } &&
39945          { ac_try='test -z "$ac_c_werror_flag"
39946                          || test ! -s conftest.err'
39947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39948   (eval $ac_try) 2>&5
39949   ac_status=$?
39950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39951   (exit $ac_status); }; } &&
39952          { ac_try='test -s conftest$ac_exeext'
39953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39954   (eval $ac_try) 2>&5
39955   ac_status=$?
39956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39957   (exit $ac_status); }; }; then
39958   eval "$as_ac_var=yes"
39959 else
39960   echo "$as_me: failed program was:" >&5
39961 sed 's/^/| /' conftest.$ac_ext >&5
39962
39963 eval "$as_ac_var=no"
39964 fi
39965 rm -f conftest.err conftest.$ac_objext \
39966       conftest$ac_exeext conftest.$ac_ext
39967 fi
39968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39970 if test `eval echo '${'$as_ac_var'}'` = yes; then
39971   cat >>confdefs.h <<_ACEOF
39972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39973 _ACEOF
39974
39975 fi
39976 done
39977
39978     fi
39979   fi
39980
39981
39982
39983   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
39984 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
39985   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
39986     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
39987   echo $ECHO_N "(cached) $ECHO_C" >&6
39988 else
39989
39990
39991
39992       ac_ext=cc
39993 ac_cpp='$CXXCPP $CPPFLAGS'
39994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39997
39998       cat >conftest.$ac_ext <<_ACEOF
39999 /* confdefs.h.  */
40000 _ACEOF
40001 cat confdefs.h >>conftest.$ac_ext
40002 cat >>conftest.$ac_ext <<_ACEOF
40003 /* end confdefs.h.  */
40004 #include <math.h>
40005 int
40006 main ()
40007 {
40008  sincosf(0, 0, 0);
40009   ;
40010   return 0;
40011 }
40012 _ACEOF
40013 rm -f conftest.$ac_objext
40014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40015   (eval $ac_compile) 2>conftest.er1
40016   ac_status=$?
40017   grep -v '^ *+' conftest.er1 >conftest.err
40018   rm -f conftest.er1
40019   cat conftest.err >&5
40020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40021   (exit $ac_status); } &&
40022          { ac_try='test -z "$ac_cxx_werror_flag"
40023                          || test ! -s conftest.err'
40024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40025   (eval $ac_try) 2>&5
40026   ac_status=$?
40027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40028   (exit $ac_status); }; } &&
40029          { ac_try='test -s conftest.$ac_objext'
40030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40031   (eval $ac_try) 2>&5
40032   ac_status=$?
40033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40034   (exit $ac_status); }; }; then
40035   glibcxx_cv_func_sincosf_use=yes
40036 else
40037   echo "$as_me: failed program was:" >&5
40038 sed 's/^/| /' conftest.$ac_ext >&5
40039
40040 glibcxx_cv_func_sincosf_use=no
40041 fi
40042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40043       ac_ext=c
40044 ac_cpp='$CPP $CPPFLAGS'
40045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40048
40049
40050 fi
40051
40052   fi
40053   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
40054 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
40055
40056   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40057
40058 for ac_func in sincosf
40059 do
40060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40061 echo "$as_me:$LINENO: checking for $ac_func" >&5
40062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40063 if eval "test \"\${$as_ac_var+set}\" = set"; then
40064   echo $ECHO_N "(cached) $ECHO_C" >&6
40065 else
40066   if test x$gcc_no_link = xyes; then
40067   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40069    { (exit 1); exit 1; }; }
40070 fi
40071 cat >conftest.$ac_ext <<_ACEOF
40072 /* confdefs.h.  */
40073 _ACEOF
40074 cat confdefs.h >>conftest.$ac_ext
40075 cat >>conftest.$ac_ext <<_ACEOF
40076 /* end confdefs.h.  */
40077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40078    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40079 #define $ac_func innocuous_$ac_func
40080
40081 /* System header to define __stub macros and hopefully few prototypes,
40082     which can conflict with char $ac_func (); below.
40083     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40084     <limits.h> exists even on freestanding compilers.  */
40085
40086 #ifdef __STDC__
40087 # include <limits.h>
40088 #else
40089 # include <assert.h>
40090 #endif
40091
40092 #undef $ac_func
40093
40094 /* Override any gcc2 internal prototype to avoid an error.  */
40095 #ifdef __cplusplus
40096 extern "C"
40097 {
40098 #endif
40099 /* We use char because int might match the return type of a gcc2
40100    builtin and then its argument prototype would still apply.  */
40101 char $ac_func ();
40102 /* The GNU C library defines this for functions which it implements
40103     to always fail with ENOSYS.  Some functions are actually named
40104     something starting with __ and the normal name is an alias.  */
40105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40106 choke me
40107 #else
40108 char (*f) () = $ac_func;
40109 #endif
40110 #ifdef __cplusplus
40111 }
40112 #endif
40113
40114 int
40115 main ()
40116 {
40117 return f != $ac_func;
40118   ;
40119   return 0;
40120 }
40121 _ACEOF
40122 rm -f conftest.$ac_objext conftest$ac_exeext
40123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40124   (eval $ac_link) 2>conftest.er1
40125   ac_status=$?
40126   grep -v '^ *+' conftest.er1 >conftest.err
40127   rm -f conftest.er1
40128   cat conftest.err >&5
40129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40130   (exit $ac_status); } &&
40131          { ac_try='test -z "$ac_c_werror_flag"
40132                          || test ! -s conftest.err'
40133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40134   (eval $ac_try) 2>&5
40135   ac_status=$?
40136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40137   (exit $ac_status); }; } &&
40138          { ac_try='test -s conftest$ac_exeext'
40139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40140   (eval $ac_try) 2>&5
40141   ac_status=$?
40142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40143   (exit $ac_status); }; }; then
40144   eval "$as_ac_var=yes"
40145 else
40146   echo "$as_me: failed program was:" >&5
40147 sed 's/^/| /' conftest.$ac_ext >&5
40148
40149 eval "$as_ac_var=no"
40150 fi
40151 rm -f conftest.err conftest.$ac_objext \
40152       conftest$ac_exeext conftest.$ac_ext
40153 fi
40154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40156 if test `eval echo '${'$as_ac_var'}'` = yes; then
40157   cat >>confdefs.h <<_ACEOF
40158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40159 _ACEOF
40160
40161 fi
40162 done
40163
40164   else
40165
40166   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
40167 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
40168   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40169     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
40170   echo $ECHO_N "(cached) $ECHO_C" >&6
40171 else
40172
40173
40174
40175       ac_ext=cc
40176 ac_cpp='$CXXCPP $CPPFLAGS'
40177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40180
40181       cat >conftest.$ac_ext <<_ACEOF
40182 /* confdefs.h.  */
40183 _ACEOF
40184 cat confdefs.h >>conftest.$ac_ext
40185 cat >>conftest.$ac_ext <<_ACEOF
40186 /* end confdefs.h.  */
40187 #include <math.h>
40188 int
40189 main ()
40190 {
40191  _sincosf(0, 0, 0);
40192   ;
40193   return 0;
40194 }
40195 _ACEOF
40196 rm -f conftest.$ac_objext
40197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40198   (eval $ac_compile) 2>conftest.er1
40199   ac_status=$?
40200   grep -v '^ *+' conftest.er1 >conftest.err
40201   rm -f conftest.er1
40202   cat conftest.err >&5
40203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40204   (exit $ac_status); } &&
40205          { ac_try='test -z "$ac_cxx_werror_flag"
40206                          || test ! -s conftest.err'
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); }; } &&
40212          { ac_try='test -s conftest.$ac_objext'
40213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40214   (eval $ac_try) 2>&5
40215   ac_status=$?
40216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40217   (exit $ac_status); }; }; then
40218   glibcxx_cv_func__sincosf_use=yes
40219 else
40220   echo "$as_me: failed program was:" >&5
40221 sed 's/^/| /' conftest.$ac_ext >&5
40222
40223 glibcxx_cv_func__sincosf_use=no
40224 fi
40225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40226       ac_ext=c
40227 ac_cpp='$CPP $CPPFLAGS'
40228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40231
40232
40233 fi
40234
40235   fi
40236   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
40237 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
40238
40239     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40240
40241 for ac_func in _sincosf
40242 do
40243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40244 echo "$as_me:$LINENO: checking for $ac_func" >&5
40245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40246 if eval "test \"\${$as_ac_var+set}\" = set"; then
40247   echo $ECHO_N "(cached) $ECHO_C" >&6
40248 else
40249   if test x$gcc_no_link = xyes; then
40250   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40252    { (exit 1); exit 1; }; }
40253 fi
40254 cat >conftest.$ac_ext <<_ACEOF
40255 /* confdefs.h.  */
40256 _ACEOF
40257 cat confdefs.h >>conftest.$ac_ext
40258 cat >>conftest.$ac_ext <<_ACEOF
40259 /* end confdefs.h.  */
40260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40261    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40262 #define $ac_func innocuous_$ac_func
40263
40264 /* System header to define __stub macros and hopefully few prototypes,
40265     which can conflict with char $ac_func (); below.
40266     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40267     <limits.h> exists even on freestanding compilers.  */
40268
40269 #ifdef __STDC__
40270 # include <limits.h>
40271 #else
40272 # include <assert.h>
40273 #endif
40274
40275 #undef $ac_func
40276
40277 /* Override any gcc2 internal prototype to avoid an error.  */
40278 #ifdef __cplusplus
40279 extern "C"
40280 {
40281 #endif
40282 /* We use char because int might match the return type of a gcc2
40283    builtin and then its argument prototype would still apply.  */
40284 char $ac_func ();
40285 /* The GNU C library defines this for functions which it implements
40286     to always fail with ENOSYS.  Some functions are actually named
40287     something starting with __ and the normal name is an alias.  */
40288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40289 choke me
40290 #else
40291 char (*f) () = $ac_func;
40292 #endif
40293 #ifdef __cplusplus
40294 }
40295 #endif
40296
40297 int
40298 main ()
40299 {
40300 return f != $ac_func;
40301   ;
40302   return 0;
40303 }
40304 _ACEOF
40305 rm -f conftest.$ac_objext conftest$ac_exeext
40306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40307   (eval $ac_link) 2>conftest.er1
40308   ac_status=$?
40309   grep -v '^ *+' conftest.er1 >conftest.err
40310   rm -f conftest.er1
40311   cat conftest.err >&5
40312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40313   (exit $ac_status); } &&
40314          { ac_try='test -z "$ac_c_werror_flag"
40315                          || test ! -s conftest.err'
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); }; } &&
40321          { ac_try='test -s conftest$ac_exeext'
40322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40323   (eval $ac_try) 2>&5
40324   ac_status=$?
40325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40326   (exit $ac_status); }; }; then
40327   eval "$as_ac_var=yes"
40328 else
40329   echo "$as_me: failed program was:" >&5
40330 sed 's/^/| /' conftest.$ac_ext >&5
40331
40332 eval "$as_ac_var=no"
40333 fi
40334 rm -f conftest.err conftest.$ac_objext \
40335       conftest$ac_exeext conftest.$ac_ext
40336 fi
40337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40339 if test `eval echo '${'$as_ac_var'}'` = yes; then
40340   cat >>confdefs.h <<_ACEOF
40341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40342 _ACEOF
40343
40344 fi
40345 done
40346
40347     fi
40348   fi
40349
40350
40351
40352   echo "$as_me:$LINENO: checking for finitef declaration" >&5
40353 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
40354   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
40355     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
40356   echo $ECHO_N "(cached) $ECHO_C" >&6
40357 else
40358
40359
40360
40361       ac_ext=cc
40362 ac_cpp='$CXXCPP $CPPFLAGS'
40363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40366
40367       cat >conftest.$ac_ext <<_ACEOF
40368 /* confdefs.h.  */
40369 _ACEOF
40370 cat confdefs.h >>conftest.$ac_ext
40371 cat >>conftest.$ac_ext <<_ACEOF
40372 /* end confdefs.h.  */
40373 #include <math.h>
40374                       #ifdef HAVE_IEEEFP_H
40375                       #include <ieeefp.h>
40376                       #endif
40377
40378 int
40379 main ()
40380 {
40381  finitef(0);
40382   ;
40383   return 0;
40384 }
40385 _ACEOF
40386 rm -f conftest.$ac_objext
40387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40388   (eval $ac_compile) 2>conftest.er1
40389   ac_status=$?
40390   grep -v '^ *+' conftest.er1 >conftest.err
40391   rm -f conftest.er1
40392   cat conftest.err >&5
40393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40394   (exit $ac_status); } &&
40395          { ac_try='test -z "$ac_cxx_werror_flag"
40396                          || test ! -s conftest.err'
40397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40398   (eval $ac_try) 2>&5
40399   ac_status=$?
40400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40401   (exit $ac_status); }; } &&
40402          { ac_try='test -s conftest.$ac_objext'
40403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40404   (eval $ac_try) 2>&5
40405   ac_status=$?
40406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40407   (exit $ac_status); }; }; then
40408   glibcxx_cv_func_finitef_use=yes
40409 else
40410   echo "$as_me: failed program was:" >&5
40411 sed 's/^/| /' conftest.$ac_ext >&5
40412
40413 glibcxx_cv_func_finitef_use=no
40414 fi
40415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40416       ac_ext=c
40417 ac_cpp='$CPP $CPPFLAGS'
40418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40421
40422
40423 fi
40424
40425   fi
40426   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
40427 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
40428
40429   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
40430
40431 for ac_func in finitef
40432 do
40433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40434 echo "$as_me:$LINENO: checking for $ac_func" >&5
40435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40436 if eval "test \"\${$as_ac_var+set}\" = set"; then
40437   echo $ECHO_N "(cached) $ECHO_C" >&6
40438 else
40439   if test x$gcc_no_link = xyes; then
40440   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40442    { (exit 1); exit 1; }; }
40443 fi
40444 cat >conftest.$ac_ext <<_ACEOF
40445 /* confdefs.h.  */
40446 _ACEOF
40447 cat confdefs.h >>conftest.$ac_ext
40448 cat >>conftest.$ac_ext <<_ACEOF
40449 /* end confdefs.h.  */
40450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40451    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40452 #define $ac_func innocuous_$ac_func
40453
40454 /* System header to define __stub macros and hopefully few prototypes,
40455     which can conflict with char $ac_func (); below.
40456     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40457     <limits.h> exists even on freestanding compilers.  */
40458
40459 #ifdef __STDC__
40460 # include <limits.h>
40461 #else
40462 # include <assert.h>
40463 #endif
40464
40465 #undef $ac_func
40466
40467 /* Override any gcc2 internal prototype to avoid an error.  */
40468 #ifdef __cplusplus
40469 extern "C"
40470 {
40471 #endif
40472 /* We use char because int might match the return type of a gcc2
40473    builtin and then its argument prototype would still apply.  */
40474 char $ac_func ();
40475 /* The GNU C library defines this for functions which it implements
40476     to always fail with ENOSYS.  Some functions are actually named
40477     something starting with __ and the normal name is an alias.  */
40478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40479 choke me
40480 #else
40481 char (*f) () = $ac_func;
40482 #endif
40483 #ifdef __cplusplus
40484 }
40485 #endif
40486
40487 int
40488 main ()
40489 {
40490 return f != $ac_func;
40491   ;
40492   return 0;
40493 }
40494 _ACEOF
40495 rm -f conftest.$ac_objext conftest$ac_exeext
40496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40497   (eval $ac_link) 2>conftest.er1
40498   ac_status=$?
40499   grep -v '^ *+' conftest.er1 >conftest.err
40500   rm -f conftest.er1
40501   cat conftest.err >&5
40502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40503   (exit $ac_status); } &&
40504          { ac_try='test -z "$ac_c_werror_flag"
40505                          || test ! -s conftest.err'
40506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40507   (eval $ac_try) 2>&5
40508   ac_status=$?
40509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40510   (exit $ac_status); }; } &&
40511          { ac_try='test -s conftest$ac_exeext'
40512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40513   (eval $ac_try) 2>&5
40514   ac_status=$?
40515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40516   (exit $ac_status); }; }; then
40517   eval "$as_ac_var=yes"
40518 else
40519   echo "$as_me: failed program was:" >&5
40520 sed 's/^/| /' conftest.$ac_ext >&5
40521
40522 eval "$as_ac_var=no"
40523 fi
40524 rm -f conftest.err conftest.$ac_objext \
40525       conftest$ac_exeext conftest.$ac_ext
40526 fi
40527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40529 if test `eval echo '${'$as_ac_var'}'` = yes; then
40530   cat >>confdefs.h <<_ACEOF
40531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40532 _ACEOF
40533
40534 fi
40535 done
40536
40537   else
40538
40539   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
40540 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
40541   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
40542     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
40543   echo $ECHO_N "(cached) $ECHO_C" >&6
40544 else
40545
40546
40547
40548       ac_ext=cc
40549 ac_cpp='$CXXCPP $CPPFLAGS'
40550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40553
40554       cat >conftest.$ac_ext <<_ACEOF
40555 /* confdefs.h.  */
40556 _ACEOF
40557 cat confdefs.h >>conftest.$ac_ext
40558 cat >>conftest.$ac_ext <<_ACEOF
40559 /* end confdefs.h.  */
40560 #include <math.h>
40561                       #ifdef HAVE_IEEEFP_H
40562                       #include <ieeefp.h>
40563                       #endif
40564
40565 int
40566 main ()
40567 {
40568  _finitef(0);
40569   ;
40570   return 0;
40571 }
40572 _ACEOF
40573 rm -f conftest.$ac_objext
40574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40575   (eval $ac_compile) 2>conftest.er1
40576   ac_status=$?
40577   grep -v '^ *+' conftest.er1 >conftest.err
40578   rm -f conftest.er1
40579   cat conftest.err >&5
40580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40581   (exit $ac_status); } &&
40582          { ac_try='test -z "$ac_cxx_werror_flag"
40583                          || test ! -s conftest.err'
40584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40585   (eval $ac_try) 2>&5
40586   ac_status=$?
40587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40588   (exit $ac_status); }; } &&
40589          { ac_try='test -s conftest.$ac_objext'
40590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40591   (eval $ac_try) 2>&5
40592   ac_status=$?
40593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40594   (exit $ac_status); }; }; then
40595   glibcxx_cv_func__finitef_use=yes
40596 else
40597   echo "$as_me: failed program was:" >&5
40598 sed 's/^/| /' conftest.$ac_ext >&5
40599
40600 glibcxx_cv_func__finitef_use=no
40601 fi
40602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40603       ac_ext=c
40604 ac_cpp='$CPP $CPPFLAGS'
40605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40608
40609
40610 fi
40611
40612   fi
40613   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
40614 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
40615
40616     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
40617
40618 for ac_func in _finitef
40619 do
40620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40621 echo "$as_me:$LINENO: checking for $ac_func" >&5
40622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40623 if eval "test \"\${$as_ac_var+set}\" = set"; then
40624   echo $ECHO_N "(cached) $ECHO_C" >&6
40625 else
40626   if test x$gcc_no_link = xyes; then
40627   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40629    { (exit 1); exit 1; }; }
40630 fi
40631 cat >conftest.$ac_ext <<_ACEOF
40632 /* confdefs.h.  */
40633 _ACEOF
40634 cat confdefs.h >>conftest.$ac_ext
40635 cat >>conftest.$ac_ext <<_ACEOF
40636 /* end confdefs.h.  */
40637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40638    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40639 #define $ac_func innocuous_$ac_func
40640
40641 /* System header to define __stub macros and hopefully few prototypes,
40642     which can conflict with char $ac_func (); below.
40643     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40644     <limits.h> exists even on freestanding compilers.  */
40645
40646 #ifdef __STDC__
40647 # include <limits.h>
40648 #else
40649 # include <assert.h>
40650 #endif
40651
40652 #undef $ac_func
40653
40654 /* Override any gcc2 internal prototype to avoid an error.  */
40655 #ifdef __cplusplus
40656 extern "C"
40657 {
40658 #endif
40659 /* We use char because int might match the return type of a gcc2
40660    builtin and then its argument prototype would still apply.  */
40661 char $ac_func ();
40662 /* The GNU C library defines this for functions which it implements
40663     to always fail with ENOSYS.  Some functions are actually named
40664     something starting with __ and the normal name is an alias.  */
40665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40666 choke me
40667 #else
40668 char (*f) () = $ac_func;
40669 #endif
40670 #ifdef __cplusplus
40671 }
40672 #endif
40673
40674 int
40675 main ()
40676 {
40677 return f != $ac_func;
40678   ;
40679   return 0;
40680 }
40681 _ACEOF
40682 rm -f conftest.$ac_objext conftest$ac_exeext
40683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40684   (eval $ac_link) 2>conftest.er1
40685   ac_status=$?
40686   grep -v '^ *+' conftest.er1 >conftest.err
40687   rm -f conftest.er1
40688   cat conftest.err >&5
40689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40690   (exit $ac_status); } &&
40691          { ac_try='test -z "$ac_c_werror_flag"
40692                          || test ! -s conftest.err'
40693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40694   (eval $ac_try) 2>&5
40695   ac_status=$?
40696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40697   (exit $ac_status); }; } &&
40698          { ac_try='test -s conftest$ac_exeext'
40699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40700   (eval $ac_try) 2>&5
40701   ac_status=$?
40702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40703   (exit $ac_status); }; }; then
40704   eval "$as_ac_var=yes"
40705 else
40706   echo "$as_me: failed program was:" >&5
40707 sed 's/^/| /' conftest.$ac_ext >&5
40708
40709 eval "$as_ac_var=no"
40710 fi
40711 rm -f conftest.err conftest.$ac_objext \
40712       conftest$ac_exeext conftest.$ac_ext
40713 fi
40714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40716 if test `eval echo '${'$as_ac_var'}'` = yes; then
40717   cat >>confdefs.h <<_ACEOF
40718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40719 _ACEOF
40720
40721 fi
40722 done
40723
40724     fi
40725   fi
40726
40727
40728
40729   echo "$as_me:$LINENO: checking for long double trig functions" >&5
40730 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
40731   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
40732   echo $ECHO_N "(cached) $ECHO_C" >&6
40733 else
40734
40735
40736
40737     ac_ext=cc
40738 ac_cpp='$CXXCPP $CPPFLAGS'
40739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40742
40743     cat >conftest.$ac_ext <<_ACEOF
40744 /* confdefs.h.  */
40745 _ACEOF
40746 cat confdefs.h >>conftest.$ac_ext
40747 cat >>conftest.$ac_ext <<_ACEOF
40748 /* end confdefs.h.  */
40749 #include <math.h>
40750 int
40751 main ()
40752 {
40753  `for x in acosl asinl atanl \
40754                                           cosl sinl tanl \
40755                                           coshl sinhl tanhl; do echo "$x (0);"; done`
40756   ;
40757   return 0;
40758 }
40759 _ACEOF
40760 rm -f conftest.$ac_objext
40761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40762   (eval $ac_compile) 2>conftest.er1
40763   ac_status=$?
40764   grep -v '^ *+' conftest.er1 >conftest.err
40765   rm -f conftest.er1
40766   cat conftest.err >&5
40767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40768   (exit $ac_status); } &&
40769          { ac_try='test -z "$ac_cxx_werror_flag"
40770                          || test ! -s conftest.err'
40771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40772   (eval $ac_try) 2>&5
40773   ac_status=$?
40774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40775   (exit $ac_status); }; } &&
40776          { ac_try='test -s conftest.$ac_objext'
40777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40778   (eval $ac_try) 2>&5
40779   ac_status=$?
40780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40781   (exit $ac_status); }; }; then
40782   glibcxx_cv_func_long_double_trig_use=yes
40783 else
40784   echo "$as_me: failed program was:" >&5
40785 sed 's/^/| /' conftest.$ac_ext >&5
40786
40787 glibcxx_cv_func_long_double_trig_use=no
40788 fi
40789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40790     ac_ext=c
40791 ac_cpp='$CPP $CPPFLAGS'
40792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40795
40796 fi
40797
40798   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
40799 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
40800   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
40801
40802
40803
40804
40805
40806
40807
40808
40809
40810 for ac_func in acosl asinl atanl \
40811                                           cosl sinl tanl \
40812                                           coshl sinhl tanhl
40813 do
40814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40815 echo "$as_me:$LINENO: checking for $ac_func" >&5
40816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40817 if eval "test \"\${$as_ac_var+set}\" = set"; then
40818   echo $ECHO_N "(cached) $ECHO_C" >&6
40819 else
40820   if test x$gcc_no_link = xyes; then
40821   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40823    { (exit 1); exit 1; }; }
40824 fi
40825 cat >conftest.$ac_ext <<_ACEOF
40826 /* confdefs.h.  */
40827 _ACEOF
40828 cat confdefs.h >>conftest.$ac_ext
40829 cat >>conftest.$ac_ext <<_ACEOF
40830 /* end confdefs.h.  */
40831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40832    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40833 #define $ac_func innocuous_$ac_func
40834
40835 /* System header to define __stub macros and hopefully few prototypes,
40836     which can conflict with char $ac_func (); below.
40837     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40838     <limits.h> exists even on freestanding compilers.  */
40839
40840 #ifdef __STDC__
40841 # include <limits.h>
40842 #else
40843 # include <assert.h>
40844 #endif
40845
40846 #undef $ac_func
40847
40848 /* Override any gcc2 internal prototype to avoid an error.  */
40849 #ifdef __cplusplus
40850 extern "C"
40851 {
40852 #endif
40853 /* We use char because int might match the return type of a gcc2
40854    builtin and then its argument prototype would still apply.  */
40855 char $ac_func ();
40856 /* The GNU C library defines this for functions which it implements
40857     to always fail with ENOSYS.  Some functions are actually named
40858     something starting with __ and the normal name is an alias.  */
40859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40860 choke me
40861 #else
40862 char (*f) () = $ac_func;
40863 #endif
40864 #ifdef __cplusplus
40865 }
40866 #endif
40867
40868 int
40869 main ()
40870 {
40871 return f != $ac_func;
40872   ;
40873   return 0;
40874 }
40875 _ACEOF
40876 rm -f conftest.$ac_objext conftest$ac_exeext
40877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40878   (eval $ac_link) 2>conftest.er1
40879   ac_status=$?
40880   grep -v '^ *+' conftest.er1 >conftest.err
40881   rm -f conftest.er1
40882   cat conftest.err >&5
40883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40884   (exit $ac_status); } &&
40885          { ac_try='test -z "$ac_c_werror_flag"
40886                          || test ! -s conftest.err'
40887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40888   (eval $ac_try) 2>&5
40889   ac_status=$?
40890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40891   (exit $ac_status); }; } &&
40892          { ac_try='test -s conftest$ac_exeext'
40893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40894   (eval $ac_try) 2>&5
40895   ac_status=$?
40896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40897   (exit $ac_status); }; }; then
40898   eval "$as_ac_var=yes"
40899 else
40900   echo "$as_me: failed program was:" >&5
40901 sed 's/^/| /' conftest.$ac_ext >&5
40902
40903 eval "$as_ac_var=no"
40904 fi
40905 rm -f conftest.err conftest.$ac_objext \
40906       conftest$ac_exeext conftest.$ac_ext
40907 fi
40908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40910 if test `eval echo '${'$as_ac_var'}'` = yes; then
40911   cat >>confdefs.h <<_ACEOF
40912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40913 _ACEOF
40914
40915 fi
40916 done
40917
40918   fi
40919
40920
40921   echo "$as_me:$LINENO: checking for long double round functions" >&5
40922 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
40923   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
40924   echo $ECHO_N "(cached) $ECHO_C" >&6
40925 else
40926
40927
40928
40929     ac_ext=cc
40930 ac_cpp='$CXXCPP $CPPFLAGS'
40931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40934
40935     cat >conftest.$ac_ext <<_ACEOF
40936 /* confdefs.h.  */
40937 _ACEOF
40938 cat confdefs.h >>conftest.$ac_ext
40939 cat >>conftest.$ac_ext <<_ACEOF
40940 /* end confdefs.h.  */
40941 #include <math.h>
40942 int
40943 main ()
40944 {
40945  `for x in ceill floorl; do echo "$x (0);"; done`
40946   ;
40947   return 0;
40948 }
40949 _ACEOF
40950 rm -f conftest.$ac_objext
40951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40952   (eval $ac_compile) 2>conftest.er1
40953   ac_status=$?
40954   grep -v '^ *+' conftest.er1 >conftest.err
40955   rm -f conftest.er1
40956   cat conftest.err >&5
40957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40958   (exit $ac_status); } &&
40959          { ac_try='test -z "$ac_cxx_werror_flag"
40960                          || test ! -s conftest.err'
40961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40962   (eval $ac_try) 2>&5
40963   ac_status=$?
40964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40965   (exit $ac_status); }; } &&
40966          { ac_try='test -s conftest.$ac_objext'
40967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40968   (eval $ac_try) 2>&5
40969   ac_status=$?
40970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40971   (exit $ac_status); }; }; then
40972   glibcxx_cv_func_long_double_round_use=yes
40973 else
40974   echo "$as_me: failed program was:" >&5
40975 sed 's/^/| /' conftest.$ac_ext >&5
40976
40977 glibcxx_cv_func_long_double_round_use=no
40978 fi
40979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40980     ac_ext=c
40981 ac_cpp='$CPP $CPPFLAGS'
40982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40985
40986 fi
40987
40988   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
40989 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
40990   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
40991
40992
40993 for ac_func in ceill floorl
40994 do
40995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40996 echo "$as_me:$LINENO: checking for $ac_func" >&5
40997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40998 if eval "test \"\${$as_ac_var+set}\" = set"; then
40999   echo $ECHO_N "(cached) $ECHO_C" >&6
41000 else
41001   if test x$gcc_no_link = xyes; then
41002   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41004    { (exit 1); exit 1; }; }
41005 fi
41006 cat >conftest.$ac_ext <<_ACEOF
41007 /* confdefs.h.  */
41008 _ACEOF
41009 cat confdefs.h >>conftest.$ac_ext
41010 cat >>conftest.$ac_ext <<_ACEOF
41011 /* end confdefs.h.  */
41012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41013    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41014 #define $ac_func innocuous_$ac_func
41015
41016 /* System header to define __stub macros and hopefully few prototypes,
41017     which can conflict with char $ac_func (); below.
41018     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41019     <limits.h> exists even on freestanding compilers.  */
41020
41021 #ifdef __STDC__
41022 # include <limits.h>
41023 #else
41024 # include <assert.h>
41025 #endif
41026
41027 #undef $ac_func
41028
41029 /* Override any gcc2 internal prototype to avoid an error.  */
41030 #ifdef __cplusplus
41031 extern "C"
41032 {
41033 #endif
41034 /* We use char because int might match the return type of a gcc2
41035    builtin and then its argument prototype would still apply.  */
41036 char $ac_func ();
41037 /* The GNU C library defines this for functions which it implements
41038     to always fail with ENOSYS.  Some functions are actually named
41039     something starting with __ and the normal name is an alias.  */
41040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41041 choke me
41042 #else
41043 char (*f) () = $ac_func;
41044 #endif
41045 #ifdef __cplusplus
41046 }
41047 #endif
41048
41049 int
41050 main ()
41051 {
41052 return f != $ac_func;
41053   ;
41054   return 0;
41055 }
41056 _ACEOF
41057 rm -f conftest.$ac_objext conftest$ac_exeext
41058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41059   (eval $ac_link) 2>conftest.er1
41060   ac_status=$?
41061   grep -v '^ *+' conftest.er1 >conftest.err
41062   rm -f conftest.er1
41063   cat conftest.err >&5
41064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41065   (exit $ac_status); } &&
41066          { ac_try='test -z "$ac_c_werror_flag"
41067                          || test ! -s conftest.err'
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); }; } &&
41073          { ac_try='test -s conftest$ac_exeext'
41074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41075   (eval $ac_try) 2>&5
41076   ac_status=$?
41077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41078   (exit $ac_status); }; }; then
41079   eval "$as_ac_var=yes"
41080 else
41081   echo "$as_me: failed program was:" >&5
41082 sed 's/^/| /' conftest.$ac_ext >&5
41083
41084 eval "$as_ac_var=no"
41085 fi
41086 rm -f conftest.err conftest.$ac_objext \
41087       conftest$ac_exeext conftest.$ac_ext
41088 fi
41089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41091 if test `eval echo '${'$as_ac_var'}'` = yes; then
41092   cat >>confdefs.h <<_ACEOF
41093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41094 _ACEOF
41095
41096 fi
41097 done
41098
41099   fi
41100
41101
41102
41103   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
41104 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
41105   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41106     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
41107   echo $ECHO_N "(cached) $ECHO_C" >&6
41108 else
41109
41110
41111
41112       ac_ext=cc
41113 ac_cpp='$CXXCPP $CPPFLAGS'
41114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41117
41118       cat >conftest.$ac_ext <<_ACEOF
41119 /* confdefs.h.  */
41120 _ACEOF
41121 cat confdefs.h >>conftest.$ac_ext
41122 cat >>conftest.$ac_ext <<_ACEOF
41123 /* end confdefs.h.  */
41124 #include <math.h>
41125                       #ifdef HAVE_IEEEFP_H
41126                       #include <ieeefp.h>
41127                       #endif
41128
41129 int
41130 main ()
41131 {
41132  isnanl(0);
41133   ;
41134   return 0;
41135 }
41136 _ACEOF
41137 rm -f conftest.$ac_objext
41138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41139   (eval $ac_compile) 2>conftest.er1
41140   ac_status=$?
41141   grep -v '^ *+' conftest.er1 >conftest.err
41142   rm -f conftest.er1
41143   cat conftest.err >&5
41144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41145   (exit $ac_status); } &&
41146          { ac_try='test -z "$ac_cxx_werror_flag"
41147                          || test ! -s conftest.err'
41148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41149   (eval $ac_try) 2>&5
41150   ac_status=$?
41151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41152   (exit $ac_status); }; } &&
41153          { ac_try='test -s conftest.$ac_objext'
41154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41155   (eval $ac_try) 2>&5
41156   ac_status=$?
41157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41158   (exit $ac_status); }; }; then
41159   glibcxx_cv_func_isnanl_use=yes
41160 else
41161   echo "$as_me: failed program was:" >&5
41162 sed 's/^/| /' conftest.$ac_ext >&5
41163
41164 glibcxx_cv_func_isnanl_use=no
41165 fi
41166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41167       ac_ext=c
41168 ac_cpp='$CPP $CPPFLAGS'
41169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41172
41173
41174 fi
41175
41176   fi
41177   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
41178 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
41179
41180   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41181
41182 for ac_func in isnanl
41183 do
41184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41185 echo "$as_me:$LINENO: checking for $ac_func" >&5
41186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41187 if eval "test \"\${$as_ac_var+set}\" = set"; then
41188   echo $ECHO_N "(cached) $ECHO_C" >&6
41189 else
41190   if test x$gcc_no_link = xyes; then
41191   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41193    { (exit 1); exit 1; }; }
41194 fi
41195 cat >conftest.$ac_ext <<_ACEOF
41196 /* confdefs.h.  */
41197 _ACEOF
41198 cat confdefs.h >>conftest.$ac_ext
41199 cat >>conftest.$ac_ext <<_ACEOF
41200 /* end confdefs.h.  */
41201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41202    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41203 #define $ac_func innocuous_$ac_func
41204
41205 /* System header to define __stub macros and hopefully few prototypes,
41206     which can conflict with char $ac_func (); below.
41207     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41208     <limits.h> exists even on freestanding compilers.  */
41209
41210 #ifdef __STDC__
41211 # include <limits.h>
41212 #else
41213 # include <assert.h>
41214 #endif
41215
41216 #undef $ac_func
41217
41218 /* Override any gcc2 internal prototype to avoid an error.  */
41219 #ifdef __cplusplus
41220 extern "C"
41221 {
41222 #endif
41223 /* We use char because int might match the return type of a gcc2
41224    builtin and then its argument prototype would still apply.  */
41225 char $ac_func ();
41226 /* The GNU C library defines this for functions which it implements
41227     to always fail with ENOSYS.  Some functions are actually named
41228     something starting with __ and the normal name is an alias.  */
41229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41230 choke me
41231 #else
41232 char (*f) () = $ac_func;
41233 #endif
41234 #ifdef __cplusplus
41235 }
41236 #endif
41237
41238 int
41239 main ()
41240 {
41241 return f != $ac_func;
41242   ;
41243   return 0;
41244 }
41245 _ACEOF
41246 rm -f conftest.$ac_objext conftest$ac_exeext
41247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41248   (eval $ac_link) 2>conftest.er1
41249   ac_status=$?
41250   grep -v '^ *+' conftest.er1 >conftest.err
41251   rm -f conftest.er1
41252   cat conftest.err >&5
41253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41254   (exit $ac_status); } &&
41255          { ac_try='test -z "$ac_c_werror_flag"
41256                          || test ! -s conftest.err'
41257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41258   (eval $ac_try) 2>&5
41259   ac_status=$?
41260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41261   (exit $ac_status); }; } &&
41262          { ac_try='test -s conftest$ac_exeext'
41263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41264   (eval $ac_try) 2>&5
41265   ac_status=$?
41266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41267   (exit $ac_status); }; }; then
41268   eval "$as_ac_var=yes"
41269 else
41270   echo "$as_me: failed program was:" >&5
41271 sed 's/^/| /' conftest.$ac_ext >&5
41272
41273 eval "$as_ac_var=no"
41274 fi
41275 rm -f conftest.err conftest.$ac_objext \
41276       conftest$ac_exeext conftest.$ac_ext
41277 fi
41278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41280 if test `eval echo '${'$as_ac_var'}'` = yes; then
41281   cat >>confdefs.h <<_ACEOF
41282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41283 _ACEOF
41284
41285 fi
41286 done
41287
41288   else
41289
41290   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
41291 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
41292   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41293     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
41294   echo $ECHO_N "(cached) $ECHO_C" >&6
41295 else
41296
41297
41298
41299       ac_ext=cc
41300 ac_cpp='$CXXCPP $CPPFLAGS'
41301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41304
41305       cat >conftest.$ac_ext <<_ACEOF
41306 /* confdefs.h.  */
41307 _ACEOF
41308 cat confdefs.h >>conftest.$ac_ext
41309 cat >>conftest.$ac_ext <<_ACEOF
41310 /* end confdefs.h.  */
41311 #include <math.h>
41312                       #ifdef HAVE_IEEEFP_H
41313                       #include <ieeefp.h>
41314                       #endif
41315
41316 int
41317 main ()
41318 {
41319  _isnanl(0);
41320   ;
41321   return 0;
41322 }
41323 _ACEOF
41324 rm -f conftest.$ac_objext
41325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41326   (eval $ac_compile) 2>conftest.er1
41327   ac_status=$?
41328   grep -v '^ *+' conftest.er1 >conftest.err
41329   rm -f conftest.er1
41330   cat conftest.err >&5
41331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41332   (exit $ac_status); } &&
41333          { ac_try='test -z "$ac_cxx_werror_flag"
41334                          || test ! -s conftest.err'
41335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41336   (eval $ac_try) 2>&5
41337   ac_status=$?
41338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41339   (exit $ac_status); }; } &&
41340          { ac_try='test -s conftest.$ac_objext'
41341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41342   (eval $ac_try) 2>&5
41343   ac_status=$?
41344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41345   (exit $ac_status); }; }; then
41346   glibcxx_cv_func__isnanl_use=yes
41347 else
41348   echo "$as_me: failed program was:" >&5
41349 sed 's/^/| /' conftest.$ac_ext >&5
41350
41351 glibcxx_cv_func__isnanl_use=no
41352 fi
41353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41354       ac_ext=c
41355 ac_cpp='$CPP $CPPFLAGS'
41356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41359
41360
41361 fi
41362
41363   fi
41364   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
41365 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
41366
41367     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41368
41369 for ac_func in _isnanl
41370 do
41371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41372 echo "$as_me:$LINENO: checking for $ac_func" >&5
41373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41374 if eval "test \"\${$as_ac_var+set}\" = set"; then
41375   echo $ECHO_N "(cached) $ECHO_C" >&6
41376 else
41377   if test x$gcc_no_link = xyes; then
41378   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41380    { (exit 1); exit 1; }; }
41381 fi
41382 cat >conftest.$ac_ext <<_ACEOF
41383 /* confdefs.h.  */
41384 _ACEOF
41385 cat confdefs.h >>conftest.$ac_ext
41386 cat >>conftest.$ac_ext <<_ACEOF
41387 /* end confdefs.h.  */
41388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41389    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41390 #define $ac_func innocuous_$ac_func
41391
41392 /* System header to define __stub macros and hopefully few prototypes,
41393     which can conflict with char $ac_func (); below.
41394     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41395     <limits.h> exists even on freestanding compilers.  */
41396
41397 #ifdef __STDC__
41398 # include <limits.h>
41399 #else
41400 # include <assert.h>
41401 #endif
41402
41403 #undef $ac_func
41404
41405 /* Override any gcc2 internal prototype to avoid an error.  */
41406 #ifdef __cplusplus
41407 extern "C"
41408 {
41409 #endif
41410 /* We use char because int might match the return type of a gcc2
41411    builtin and then its argument prototype would still apply.  */
41412 char $ac_func ();
41413 /* The GNU C library defines this for functions which it implements
41414     to always fail with ENOSYS.  Some functions are actually named
41415     something starting with __ and the normal name is an alias.  */
41416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41417 choke me
41418 #else
41419 char (*f) () = $ac_func;
41420 #endif
41421 #ifdef __cplusplus
41422 }
41423 #endif
41424
41425 int
41426 main ()
41427 {
41428 return f != $ac_func;
41429   ;
41430   return 0;
41431 }
41432 _ACEOF
41433 rm -f conftest.$ac_objext conftest$ac_exeext
41434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41435   (eval $ac_link) 2>conftest.er1
41436   ac_status=$?
41437   grep -v '^ *+' conftest.er1 >conftest.err
41438   rm -f conftest.er1
41439   cat conftest.err >&5
41440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41441   (exit $ac_status); } &&
41442          { ac_try='test -z "$ac_c_werror_flag"
41443                          || test ! -s conftest.err'
41444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41445   (eval $ac_try) 2>&5
41446   ac_status=$?
41447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41448   (exit $ac_status); }; } &&
41449          { ac_try='test -s conftest$ac_exeext'
41450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41451   (eval $ac_try) 2>&5
41452   ac_status=$?
41453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41454   (exit $ac_status); }; }; then
41455   eval "$as_ac_var=yes"
41456 else
41457   echo "$as_me: failed program was:" >&5
41458 sed 's/^/| /' conftest.$ac_ext >&5
41459
41460 eval "$as_ac_var=no"
41461 fi
41462 rm -f conftest.err conftest.$ac_objext \
41463       conftest$ac_exeext conftest.$ac_ext
41464 fi
41465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41467 if test `eval echo '${'$as_ac_var'}'` = yes; then
41468   cat >>confdefs.h <<_ACEOF
41469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41470 _ACEOF
41471
41472 fi
41473 done
41474
41475     fi
41476   fi
41477
41478
41479
41480   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
41481 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
41482   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41483     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
41484   echo $ECHO_N "(cached) $ECHO_C" >&6
41485 else
41486
41487
41488
41489       ac_ext=cc
41490 ac_cpp='$CXXCPP $CPPFLAGS'
41491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41494
41495       cat >conftest.$ac_ext <<_ACEOF
41496 /* confdefs.h.  */
41497 _ACEOF
41498 cat confdefs.h >>conftest.$ac_ext
41499 cat >>conftest.$ac_ext <<_ACEOF
41500 /* end confdefs.h.  */
41501 #include <math.h>
41502                       #ifdef HAVE_IEEEFP_H
41503                       #include <ieeefp.h>
41504                       #endif
41505
41506 int
41507 main ()
41508 {
41509  isinfl(0);
41510   ;
41511   return 0;
41512 }
41513 _ACEOF
41514 rm -f conftest.$ac_objext
41515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41516   (eval $ac_compile) 2>conftest.er1
41517   ac_status=$?
41518   grep -v '^ *+' conftest.er1 >conftest.err
41519   rm -f conftest.er1
41520   cat conftest.err >&5
41521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41522   (exit $ac_status); } &&
41523          { ac_try='test -z "$ac_cxx_werror_flag"
41524                          || test ! -s conftest.err'
41525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41526   (eval $ac_try) 2>&5
41527   ac_status=$?
41528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41529   (exit $ac_status); }; } &&
41530          { ac_try='test -s conftest.$ac_objext'
41531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41532   (eval $ac_try) 2>&5
41533   ac_status=$?
41534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41535   (exit $ac_status); }; }; then
41536   glibcxx_cv_func_isinfl_use=yes
41537 else
41538   echo "$as_me: failed program was:" >&5
41539 sed 's/^/| /' conftest.$ac_ext >&5
41540
41541 glibcxx_cv_func_isinfl_use=no
41542 fi
41543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41544       ac_ext=c
41545 ac_cpp='$CPP $CPPFLAGS'
41546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41549
41550
41551 fi
41552
41553   fi
41554   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
41555 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
41556
41557   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41558
41559 for ac_func in isinfl
41560 do
41561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41562 echo "$as_me:$LINENO: checking for $ac_func" >&5
41563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41564 if eval "test \"\${$as_ac_var+set}\" = set"; then
41565   echo $ECHO_N "(cached) $ECHO_C" >&6
41566 else
41567   if test x$gcc_no_link = xyes; then
41568   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41570    { (exit 1); exit 1; }; }
41571 fi
41572 cat >conftest.$ac_ext <<_ACEOF
41573 /* confdefs.h.  */
41574 _ACEOF
41575 cat confdefs.h >>conftest.$ac_ext
41576 cat >>conftest.$ac_ext <<_ACEOF
41577 /* end confdefs.h.  */
41578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41579    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41580 #define $ac_func innocuous_$ac_func
41581
41582 /* System header to define __stub macros and hopefully few prototypes,
41583     which can conflict with char $ac_func (); below.
41584     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41585     <limits.h> exists even on freestanding compilers.  */
41586
41587 #ifdef __STDC__
41588 # include <limits.h>
41589 #else
41590 # include <assert.h>
41591 #endif
41592
41593 #undef $ac_func
41594
41595 /* Override any gcc2 internal prototype to avoid an error.  */
41596 #ifdef __cplusplus
41597 extern "C"
41598 {
41599 #endif
41600 /* We use char because int might match the return type of a gcc2
41601    builtin and then its argument prototype would still apply.  */
41602 char $ac_func ();
41603 /* The GNU C library defines this for functions which it implements
41604     to always fail with ENOSYS.  Some functions are actually named
41605     something starting with __ and the normal name is an alias.  */
41606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41607 choke me
41608 #else
41609 char (*f) () = $ac_func;
41610 #endif
41611 #ifdef __cplusplus
41612 }
41613 #endif
41614
41615 int
41616 main ()
41617 {
41618 return f != $ac_func;
41619   ;
41620   return 0;
41621 }
41622 _ACEOF
41623 rm -f conftest.$ac_objext conftest$ac_exeext
41624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41625   (eval $ac_link) 2>conftest.er1
41626   ac_status=$?
41627   grep -v '^ *+' conftest.er1 >conftest.err
41628   rm -f conftest.er1
41629   cat conftest.err >&5
41630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41631   (exit $ac_status); } &&
41632          { ac_try='test -z "$ac_c_werror_flag"
41633                          || test ! -s conftest.err'
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); }; } &&
41639          { ac_try='test -s conftest$ac_exeext'
41640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41641   (eval $ac_try) 2>&5
41642   ac_status=$?
41643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41644   (exit $ac_status); }; }; then
41645   eval "$as_ac_var=yes"
41646 else
41647   echo "$as_me: failed program was:" >&5
41648 sed 's/^/| /' conftest.$ac_ext >&5
41649
41650 eval "$as_ac_var=no"
41651 fi
41652 rm -f conftest.err conftest.$ac_objext \
41653       conftest$ac_exeext conftest.$ac_ext
41654 fi
41655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41657 if test `eval echo '${'$as_ac_var'}'` = yes; then
41658   cat >>confdefs.h <<_ACEOF
41659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41660 _ACEOF
41661
41662 fi
41663 done
41664
41665   else
41666
41667   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
41668 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
41669   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41670     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
41671   echo $ECHO_N "(cached) $ECHO_C" >&6
41672 else
41673
41674
41675
41676       ac_ext=cc
41677 ac_cpp='$CXXCPP $CPPFLAGS'
41678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41681
41682       cat >conftest.$ac_ext <<_ACEOF
41683 /* confdefs.h.  */
41684 _ACEOF
41685 cat confdefs.h >>conftest.$ac_ext
41686 cat >>conftest.$ac_ext <<_ACEOF
41687 /* end confdefs.h.  */
41688 #include <math.h>
41689                       #ifdef HAVE_IEEEFP_H
41690                       #include <ieeefp.h>
41691                       #endif
41692
41693 int
41694 main ()
41695 {
41696  _isinfl(0);
41697   ;
41698   return 0;
41699 }
41700 _ACEOF
41701 rm -f conftest.$ac_objext
41702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41703   (eval $ac_compile) 2>conftest.er1
41704   ac_status=$?
41705   grep -v '^ *+' conftest.er1 >conftest.err
41706   rm -f conftest.er1
41707   cat conftest.err >&5
41708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41709   (exit $ac_status); } &&
41710          { ac_try='test -z "$ac_cxx_werror_flag"
41711                          || test ! -s conftest.err'
41712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41713   (eval $ac_try) 2>&5
41714   ac_status=$?
41715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41716   (exit $ac_status); }; } &&
41717          { ac_try='test -s conftest.$ac_objext'
41718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41719   (eval $ac_try) 2>&5
41720   ac_status=$?
41721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41722   (exit $ac_status); }; }; then
41723   glibcxx_cv_func__isinfl_use=yes
41724 else
41725   echo "$as_me: failed program was:" >&5
41726 sed 's/^/| /' conftest.$ac_ext >&5
41727
41728 glibcxx_cv_func__isinfl_use=no
41729 fi
41730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41731       ac_ext=c
41732 ac_cpp='$CPP $CPPFLAGS'
41733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41736
41737
41738 fi
41739
41740   fi
41741   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
41742 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
41743
41744     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
41745
41746 for ac_func in _isinfl
41747 do
41748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41749 echo "$as_me:$LINENO: checking for $ac_func" >&5
41750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41751 if eval "test \"\${$as_ac_var+set}\" = set"; then
41752   echo $ECHO_N "(cached) $ECHO_C" >&6
41753 else
41754   if test x$gcc_no_link = xyes; then
41755   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41757    { (exit 1); exit 1; }; }
41758 fi
41759 cat >conftest.$ac_ext <<_ACEOF
41760 /* confdefs.h.  */
41761 _ACEOF
41762 cat confdefs.h >>conftest.$ac_ext
41763 cat >>conftest.$ac_ext <<_ACEOF
41764 /* end confdefs.h.  */
41765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41766    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41767 #define $ac_func innocuous_$ac_func
41768
41769 /* System header to define __stub macros and hopefully few prototypes,
41770     which can conflict with char $ac_func (); below.
41771     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41772     <limits.h> exists even on freestanding compilers.  */
41773
41774 #ifdef __STDC__
41775 # include <limits.h>
41776 #else
41777 # include <assert.h>
41778 #endif
41779
41780 #undef $ac_func
41781
41782 /* Override any gcc2 internal prototype to avoid an error.  */
41783 #ifdef __cplusplus
41784 extern "C"
41785 {
41786 #endif
41787 /* We use char because int might match the return type of a gcc2
41788    builtin and then its argument prototype would still apply.  */
41789 char $ac_func ();
41790 /* The GNU C library defines this for functions which it implements
41791     to always fail with ENOSYS.  Some functions are actually named
41792     something starting with __ and the normal name is an alias.  */
41793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41794 choke me
41795 #else
41796 char (*f) () = $ac_func;
41797 #endif
41798 #ifdef __cplusplus
41799 }
41800 #endif
41801
41802 int
41803 main ()
41804 {
41805 return f != $ac_func;
41806   ;
41807   return 0;
41808 }
41809 _ACEOF
41810 rm -f conftest.$ac_objext conftest$ac_exeext
41811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41812   (eval $ac_link) 2>conftest.er1
41813   ac_status=$?
41814   grep -v '^ *+' conftest.er1 >conftest.err
41815   rm -f conftest.er1
41816   cat conftest.err >&5
41817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41818   (exit $ac_status); } &&
41819          { ac_try='test -z "$ac_c_werror_flag"
41820                          || test ! -s conftest.err'
41821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41822   (eval $ac_try) 2>&5
41823   ac_status=$?
41824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41825   (exit $ac_status); }; } &&
41826          { ac_try='test -s conftest$ac_exeext'
41827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41828   (eval $ac_try) 2>&5
41829   ac_status=$?
41830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41831   (exit $ac_status); }; }; then
41832   eval "$as_ac_var=yes"
41833 else
41834   echo "$as_me: failed program was:" >&5
41835 sed 's/^/| /' conftest.$ac_ext >&5
41836
41837 eval "$as_ac_var=no"
41838 fi
41839 rm -f conftest.err conftest.$ac_objext \
41840       conftest$ac_exeext conftest.$ac_ext
41841 fi
41842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41844 if test `eval echo '${'$as_ac_var'}'` = yes; then
41845   cat >>confdefs.h <<_ACEOF
41846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41847 _ACEOF
41848
41849 fi
41850 done
41851
41852     fi
41853   fi
41854
41855
41856
41857   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
41858 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
41859   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
41860     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
41861   echo $ECHO_N "(cached) $ECHO_C" >&6
41862 else
41863
41864
41865
41866       ac_ext=cc
41867 ac_cpp='$CXXCPP $CPPFLAGS'
41868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41871
41872       cat >conftest.$ac_ext <<_ACEOF
41873 /* confdefs.h.  */
41874 _ACEOF
41875 cat confdefs.h >>conftest.$ac_ext
41876 cat >>conftest.$ac_ext <<_ACEOF
41877 /* end confdefs.h.  */
41878 #include <math.h>
41879 int
41880 main ()
41881 {
41882  copysignl(0, 0);
41883   ;
41884   return 0;
41885 }
41886 _ACEOF
41887 rm -f conftest.$ac_objext
41888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41889   (eval $ac_compile) 2>conftest.er1
41890   ac_status=$?
41891   grep -v '^ *+' conftest.er1 >conftest.err
41892   rm -f conftest.er1
41893   cat conftest.err >&5
41894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41895   (exit $ac_status); } &&
41896          { ac_try='test -z "$ac_cxx_werror_flag"
41897                          || test ! -s conftest.err'
41898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41899   (eval $ac_try) 2>&5
41900   ac_status=$?
41901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41902   (exit $ac_status); }; } &&
41903          { ac_try='test -s conftest.$ac_objext'
41904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41905   (eval $ac_try) 2>&5
41906   ac_status=$?
41907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41908   (exit $ac_status); }; }; then
41909   glibcxx_cv_func_copysignl_use=yes
41910 else
41911   echo "$as_me: failed program was:" >&5
41912 sed 's/^/| /' conftest.$ac_ext >&5
41913
41914 glibcxx_cv_func_copysignl_use=no
41915 fi
41916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41917       ac_ext=c
41918 ac_cpp='$CPP $CPPFLAGS'
41919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41922
41923
41924 fi
41925
41926   fi
41927   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
41928 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
41929
41930   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
41931
41932 for ac_func in copysignl
41933 do
41934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41935 echo "$as_me:$LINENO: checking for $ac_func" >&5
41936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41937 if eval "test \"\${$as_ac_var+set}\" = set"; then
41938   echo $ECHO_N "(cached) $ECHO_C" >&6
41939 else
41940   if test x$gcc_no_link = xyes; then
41941   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41943    { (exit 1); exit 1; }; }
41944 fi
41945 cat >conftest.$ac_ext <<_ACEOF
41946 /* confdefs.h.  */
41947 _ACEOF
41948 cat confdefs.h >>conftest.$ac_ext
41949 cat >>conftest.$ac_ext <<_ACEOF
41950 /* end confdefs.h.  */
41951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41952    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41953 #define $ac_func innocuous_$ac_func
41954
41955 /* System header to define __stub macros and hopefully few prototypes,
41956     which can conflict with char $ac_func (); below.
41957     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41958     <limits.h> exists even on freestanding compilers.  */
41959
41960 #ifdef __STDC__
41961 # include <limits.h>
41962 #else
41963 # include <assert.h>
41964 #endif
41965
41966 #undef $ac_func
41967
41968 /* Override any gcc2 internal prototype to avoid an error.  */
41969 #ifdef __cplusplus
41970 extern "C"
41971 {
41972 #endif
41973 /* We use char because int might match the return type of a gcc2
41974    builtin and then its argument prototype would still apply.  */
41975 char $ac_func ();
41976 /* The GNU C library defines this for functions which it implements
41977     to always fail with ENOSYS.  Some functions are actually named
41978     something starting with __ and the normal name is an alias.  */
41979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41980 choke me
41981 #else
41982 char (*f) () = $ac_func;
41983 #endif
41984 #ifdef __cplusplus
41985 }
41986 #endif
41987
41988 int
41989 main ()
41990 {
41991 return f != $ac_func;
41992   ;
41993   return 0;
41994 }
41995 _ACEOF
41996 rm -f conftest.$ac_objext conftest$ac_exeext
41997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41998   (eval $ac_link) 2>conftest.er1
41999   ac_status=$?
42000   grep -v '^ *+' conftest.er1 >conftest.err
42001   rm -f conftest.er1
42002   cat conftest.err >&5
42003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42004   (exit $ac_status); } &&
42005          { ac_try='test -z "$ac_c_werror_flag"
42006                          || test ! -s conftest.err'
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); }; } &&
42012          { ac_try='test -s conftest$ac_exeext'
42013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42014   (eval $ac_try) 2>&5
42015   ac_status=$?
42016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42017   (exit $ac_status); }; }; then
42018   eval "$as_ac_var=yes"
42019 else
42020   echo "$as_me: failed program was:" >&5
42021 sed 's/^/| /' conftest.$ac_ext >&5
42022
42023 eval "$as_ac_var=no"
42024 fi
42025 rm -f conftest.err conftest.$ac_objext \
42026       conftest$ac_exeext conftest.$ac_ext
42027 fi
42028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42030 if test `eval echo '${'$as_ac_var'}'` = yes; then
42031   cat >>confdefs.h <<_ACEOF
42032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42033 _ACEOF
42034
42035 fi
42036 done
42037
42038   else
42039
42040   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
42041 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
42042   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
42043     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
42044   echo $ECHO_N "(cached) $ECHO_C" >&6
42045 else
42046
42047
42048
42049       ac_ext=cc
42050 ac_cpp='$CXXCPP $CPPFLAGS'
42051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42054
42055       cat >conftest.$ac_ext <<_ACEOF
42056 /* confdefs.h.  */
42057 _ACEOF
42058 cat confdefs.h >>conftest.$ac_ext
42059 cat >>conftest.$ac_ext <<_ACEOF
42060 /* end confdefs.h.  */
42061 #include <math.h>
42062 int
42063 main ()
42064 {
42065  _copysignl(0, 0);
42066   ;
42067   return 0;
42068 }
42069 _ACEOF
42070 rm -f conftest.$ac_objext
42071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42072   (eval $ac_compile) 2>conftest.er1
42073   ac_status=$?
42074   grep -v '^ *+' conftest.er1 >conftest.err
42075   rm -f conftest.er1
42076   cat conftest.err >&5
42077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42078   (exit $ac_status); } &&
42079          { ac_try='test -z "$ac_cxx_werror_flag"
42080                          || test ! -s conftest.err'
42081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42082   (eval $ac_try) 2>&5
42083   ac_status=$?
42084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42085   (exit $ac_status); }; } &&
42086          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
42092   glibcxx_cv_func__copysignl_use=yes
42093 else
42094   echo "$as_me: failed program was:" >&5
42095 sed 's/^/| /' conftest.$ac_ext >&5
42096
42097 glibcxx_cv_func__copysignl_use=no
42098 fi
42099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42100       ac_ext=c
42101 ac_cpp='$CPP $CPPFLAGS'
42102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42105
42106
42107 fi
42108
42109   fi
42110   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
42111 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
42112
42113     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
42114
42115 for ac_func in _copysignl
42116 do
42117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42118 echo "$as_me:$LINENO: checking for $ac_func" >&5
42119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42120 if eval "test \"\${$as_ac_var+set}\" = set"; then
42121   echo $ECHO_N "(cached) $ECHO_C" >&6
42122 else
42123   if test x$gcc_no_link = xyes; then
42124   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42126    { (exit 1); exit 1; }; }
42127 fi
42128 cat >conftest.$ac_ext <<_ACEOF
42129 /* confdefs.h.  */
42130 _ACEOF
42131 cat confdefs.h >>conftest.$ac_ext
42132 cat >>conftest.$ac_ext <<_ACEOF
42133 /* end confdefs.h.  */
42134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42135    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42136 #define $ac_func innocuous_$ac_func
42137
42138 /* System header to define __stub macros and hopefully few prototypes,
42139     which can conflict with char $ac_func (); below.
42140     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42141     <limits.h> exists even on freestanding compilers.  */
42142
42143 #ifdef __STDC__
42144 # include <limits.h>
42145 #else
42146 # include <assert.h>
42147 #endif
42148
42149 #undef $ac_func
42150
42151 /* Override any gcc2 internal prototype to avoid an error.  */
42152 #ifdef __cplusplus
42153 extern "C"
42154 {
42155 #endif
42156 /* We use char because int might match the return type of a gcc2
42157    builtin and then its argument prototype would still apply.  */
42158 char $ac_func ();
42159 /* The GNU C library defines this for functions which it implements
42160     to always fail with ENOSYS.  Some functions are actually named
42161     something starting with __ and the normal name is an alias.  */
42162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42163 choke me
42164 #else
42165 char (*f) () = $ac_func;
42166 #endif
42167 #ifdef __cplusplus
42168 }
42169 #endif
42170
42171 int
42172 main ()
42173 {
42174 return f != $ac_func;
42175   ;
42176   return 0;
42177 }
42178 _ACEOF
42179 rm -f conftest.$ac_objext conftest$ac_exeext
42180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42181   (eval $ac_link) 2>conftest.er1
42182   ac_status=$?
42183   grep -v '^ *+' conftest.er1 >conftest.err
42184   rm -f conftest.er1
42185   cat conftest.err >&5
42186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42187   (exit $ac_status); } &&
42188          { ac_try='test -z "$ac_c_werror_flag"
42189                          || test ! -s conftest.err'
42190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42191   (eval $ac_try) 2>&5
42192   ac_status=$?
42193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42194   (exit $ac_status); }; } &&
42195          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
42201   eval "$as_ac_var=yes"
42202 else
42203   echo "$as_me: failed program was:" >&5
42204 sed 's/^/| /' conftest.$ac_ext >&5
42205
42206 eval "$as_ac_var=no"
42207 fi
42208 rm -f conftest.err conftest.$ac_objext \
42209       conftest$ac_exeext conftest.$ac_ext
42210 fi
42211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42213 if test `eval echo '${'$as_ac_var'}'` = yes; then
42214   cat >>confdefs.h <<_ACEOF
42215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42216 _ACEOF
42217
42218 fi
42219 done
42220
42221     fi
42222   fi
42223
42224
42225
42226   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
42227 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
42228   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42229     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
42230   echo $ECHO_N "(cached) $ECHO_C" >&6
42231 else
42232
42233
42234
42235       ac_ext=cc
42236 ac_cpp='$CXXCPP $CPPFLAGS'
42237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42240
42241       cat >conftest.$ac_ext <<_ACEOF
42242 /* confdefs.h.  */
42243 _ACEOF
42244 cat confdefs.h >>conftest.$ac_ext
42245 cat >>conftest.$ac_ext <<_ACEOF
42246 /* end confdefs.h.  */
42247 #include <math.h>
42248 int
42249 main ()
42250 {
42251  atan2l(0, 0);
42252   ;
42253   return 0;
42254 }
42255 _ACEOF
42256 rm -f conftest.$ac_objext
42257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42258   (eval $ac_compile) 2>conftest.er1
42259   ac_status=$?
42260   grep -v '^ *+' conftest.er1 >conftest.err
42261   rm -f conftest.er1
42262   cat conftest.err >&5
42263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42264   (exit $ac_status); } &&
42265          { ac_try='test -z "$ac_cxx_werror_flag"
42266                          || test ! -s conftest.err'
42267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42268   (eval $ac_try) 2>&5
42269   ac_status=$?
42270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42271   (exit $ac_status); }; } &&
42272          { ac_try='test -s conftest.$ac_objext'
42273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42274   (eval $ac_try) 2>&5
42275   ac_status=$?
42276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42277   (exit $ac_status); }; }; then
42278   glibcxx_cv_func_atan2l_use=yes
42279 else
42280   echo "$as_me: failed program was:" >&5
42281 sed 's/^/| /' conftest.$ac_ext >&5
42282
42283 glibcxx_cv_func_atan2l_use=no
42284 fi
42285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42286       ac_ext=c
42287 ac_cpp='$CPP $CPPFLAGS'
42288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42291
42292
42293 fi
42294
42295   fi
42296   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
42297 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
42298
42299   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42300
42301 for ac_func in atan2l
42302 do
42303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42304 echo "$as_me:$LINENO: checking for $ac_func" >&5
42305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42306 if eval "test \"\${$as_ac_var+set}\" = set"; then
42307   echo $ECHO_N "(cached) $ECHO_C" >&6
42308 else
42309   if test x$gcc_no_link = xyes; then
42310   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42312    { (exit 1); exit 1; }; }
42313 fi
42314 cat >conftest.$ac_ext <<_ACEOF
42315 /* confdefs.h.  */
42316 _ACEOF
42317 cat confdefs.h >>conftest.$ac_ext
42318 cat >>conftest.$ac_ext <<_ACEOF
42319 /* end confdefs.h.  */
42320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42321    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42322 #define $ac_func innocuous_$ac_func
42323
42324 /* System header to define __stub macros and hopefully few prototypes,
42325     which can conflict with char $ac_func (); below.
42326     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42327     <limits.h> exists even on freestanding compilers.  */
42328
42329 #ifdef __STDC__
42330 # include <limits.h>
42331 #else
42332 # include <assert.h>
42333 #endif
42334
42335 #undef $ac_func
42336
42337 /* Override any gcc2 internal prototype to avoid an error.  */
42338 #ifdef __cplusplus
42339 extern "C"
42340 {
42341 #endif
42342 /* We use char because int might match the return type of a gcc2
42343    builtin and then its argument prototype would still apply.  */
42344 char $ac_func ();
42345 /* The GNU C library defines this for functions which it implements
42346     to always fail with ENOSYS.  Some functions are actually named
42347     something starting with __ and the normal name is an alias.  */
42348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42349 choke me
42350 #else
42351 char (*f) () = $ac_func;
42352 #endif
42353 #ifdef __cplusplus
42354 }
42355 #endif
42356
42357 int
42358 main ()
42359 {
42360 return f != $ac_func;
42361   ;
42362   return 0;
42363 }
42364 _ACEOF
42365 rm -f conftest.$ac_objext conftest$ac_exeext
42366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42367   (eval $ac_link) 2>conftest.er1
42368   ac_status=$?
42369   grep -v '^ *+' conftest.er1 >conftest.err
42370   rm -f conftest.er1
42371   cat conftest.err >&5
42372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42373   (exit $ac_status); } &&
42374          { ac_try='test -z "$ac_c_werror_flag"
42375                          || test ! -s conftest.err'
42376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42377   (eval $ac_try) 2>&5
42378   ac_status=$?
42379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42380   (exit $ac_status); }; } &&
42381          { ac_try='test -s conftest$ac_exeext'
42382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42383   (eval $ac_try) 2>&5
42384   ac_status=$?
42385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42386   (exit $ac_status); }; }; then
42387   eval "$as_ac_var=yes"
42388 else
42389   echo "$as_me: failed program was:" >&5
42390 sed 's/^/| /' conftest.$ac_ext >&5
42391
42392 eval "$as_ac_var=no"
42393 fi
42394 rm -f conftest.err conftest.$ac_objext \
42395       conftest$ac_exeext conftest.$ac_ext
42396 fi
42397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42399 if test `eval echo '${'$as_ac_var'}'` = yes; then
42400   cat >>confdefs.h <<_ACEOF
42401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42402 _ACEOF
42403
42404 fi
42405 done
42406
42407   else
42408
42409   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
42410 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
42411   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42412     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
42413   echo $ECHO_N "(cached) $ECHO_C" >&6
42414 else
42415
42416
42417
42418       ac_ext=cc
42419 ac_cpp='$CXXCPP $CPPFLAGS'
42420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42423
42424       cat >conftest.$ac_ext <<_ACEOF
42425 /* confdefs.h.  */
42426 _ACEOF
42427 cat confdefs.h >>conftest.$ac_ext
42428 cat >>conftest.$ac_ext <<_ACEOF
42429 /* end confdefs.h.  */
42430 #include <math.h>
42431 int
42432 main ()
42433 {
42434  _atan2l(0, 0);
42435   ;
42436   return 0;
42437 }
42438 _ACEOF
42439 rm -f conftest.$ac_objext
42440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42441   (eval $ac_compile) 2>conftest.er1
42442   ac_status=$?
42443   grep -v '^ *+' conftest.er1 >conftest.err
42444   rm -f conftest.er1
42445   cat conftest.err >&5
42446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42447   (exit $ac_status); } &&
42448          { ac_try='test -z "$ac_cxx_werror_flag"
42449                          || test ! -s conftest.err'
42450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42451   (eval $ac_try) 2>&5
42452   ac_status=$?
42453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42454   (exit $ac_status); }; } &&
42455          { ac_try='test -s conftest.$ac_objext'
42456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42457   (eval $ac_try) 2>&5
42458   ac_status=$?
42459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42460   (exit $ac_status); }; }; then
42461   glibcxx_cv_func__atan2l_use=yes
42462 else
42463   echo "$as_me: failed program was:" >&5
42464 sed 's/^/| /' conftest.$ac_ext >&5
42465
42466 glibcxx_cv_func__atan2l_use=no
42467 fi
42468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42469       ac_ext=c
42470 ac_cpp='$CPP $CPPFLAGS'
42471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42474
42475
42476 fi
42477
42478   fi
42479   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
42480 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
42481
42482     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42483
42484 for ac_func in _atan2l
42485 do
42486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42487 echo "$as_me:$LINENO: checking for $ac_func" >&5
42488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42489 if eval "test \"\${$as_ac_var+set}\" = set"; then
42490   echo $ECHO_N "(cached) $ECHO_C" >&6
42491 else
42492   if test x$gcc_no_link = xyes; then
42493   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42495    { (exit 1); exit 1; }; }
42496 fi
42497 cat >conftest.$ac_ext <<_ACEOF
42498 /* confdefs.h.  */
42499 _ACEOF
42500 cat confdefs.h >>conftest.$ac_ext
42501 cat >>conftest.$ac_ext <<_ACEOF
42502 /* end confdefs.h.  */
42503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42504    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42505 #define $ac_func innocuous_$ac_func
42506
42507 /* System header to define __stub macros and hopefully few prototypes,
42508     which can conflict with char $ac_func (); below.
42509     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42510     <limits.h> exists even on freestanding compilers.  */
42511
42512 #ifdef __STDC__
42513 # include <limits.h>
42514 #else
42515 # include <assert.h>
42516 #endif
42517
42518 #undef $ac_func
42519
42520 /* Override any gcc2 internal prototype to avoid an error.  */
42521 #ifdef __cplusplus
42522 extern "C"
42523 {
42524 #endif
42525 /* We use char because int might match the return type of a gcc2
42526    builtin and then its argument prototype would still apply.  */
42527 char $ac_func ();
42528 /* The GNU C library defines this for functions which it implements
42529     to always fail with ENOSYS.  Some functions are actually named
42530     something starting with __ and the normal name is an alias.  */
42531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42532 choke me
42533 #else
42534 char (*f) () = $ac_func;
42535 #endif
42536 #ifdef __cplusplus
42537 }
42538 #endif
42539
42540 int
42541 main ()
42542 {
42543 return f != $ac_func;
42544   ;
42545   return 0;
42546 }
42547 _ACEOF
42548 rm -f conftest.$ac_objext conftest$ac_exeext
42549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42550   (eval $ac_link) 2>conftest.er1
42551   ac_status=$?
42552   grep -v '^ *+' conftest.er1 >conftest.err
42553   rm -f conftest.er1
42554   cat conftest.err >&5
42555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42556   (exit $ac_status); } &&
42557          { ac_try='test -z "$ac_c_werror_flag"
42558                          || test ! -s conftest.err'
42559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42560   (eval $ac_try) 2>&5
42561   ac_status=$?
42562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42563   (exit $ac_status); }; } &&
42564          { ac_try='test -s conftest$ac_exeext'
42565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42566   (eval $ac_try) 2>&5
42567   ac_status=$?
42568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42569   (exit $ac_status); }; }; then
42570   eval "$as_ac_var=yes"
42571 else
42572   echo "$as_me: failed program was:" >&5
42573 sed 's/^/| /' conftest.$ac_ext >&5
42574
42575 eval "$as_ac_var=no"
42576 fi
42577 rm -f conftest.err conftest.$ac_objext \
42578       conftest$ac_exeext conftest.$ac_ext
42579 fi
42580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42582 if test `eval echo '${'$as_ac_var'}'` = yes; then
42583   cat >>confdefs.h <<_ACEOF
42584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42585 _ACEOF
42586
42587 fi
42588 done
42589
42590     fi
42591   fi
42592
42593
42594
42595   echo "$as_me:$LINENO: checking for expl declaration" >&5
42596 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
42597   if test x${glibcxx_cv_func_expl_use+set} != xset; then
42598     if test "${glibcxx_cv_func_expl_use+set}" = set; then
42599   echo $ECHO_N "(cached) $ECHO_C" >&6
42600 else
42601
42602
42603
42604       ac_ext=cc
42605 ac_cpp='$CXXCPP $CPPFLAGS'
42606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42609
42610       cat >conftest.$ac_ext <<_ACEOF
42611 /* confdefs.h.  */
42612 _ACEOF
42613 cat confdefs.h >>conftest.$ac_ext
42614 cat >>conftest.$ac_ext <<_ACEOF
42615 /* end confdefs.h.  */
42616 #include <math.h>
42617                       #ifdef HAVE_IEEEFP_H
42618                       #include <ieeefp.h>
42619                       #endif
42620
42621 int
42622 main ()
42623 {
42624  expl(0);
42625   ;
42626   return 0;
42627 }
42628 _ACEOF
42629 rm -f conftest.$ac_objext
42630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42631   (eval $ac_compile) 2>conftest.er1
42632   ac_status=$?
42633   grep -v '^ *+' conftest.er1 >conftest.err
42634   rm -f conftest.er1
42635   cat conftest.err >&5
42636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42637   (exit $ac_status); } &&
42638          { ac_try='test -z "$ac_cxx_werror_flag"
42639                          || test ! -s conftest.err'
42640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42641   (eval $ac_try) 2>&5
42642   ac_status=$?
42643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42644   (exit $ac_status); }; } &&
42645          { ac_try='test -s conftest.$ac_objext'
42646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42647   (eval $ac_try) 2>&5
42648   ac_status=$?
42649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42650   (exit $ac_status); }; }; then
42651   glibcxx_cv_func_expl_use=yes
42652 else
42653   echo "$as_me: failed program was:" >&5
42654 sed 's/^/| /' conftest.$ac_ext >&5
42655
42656 glibcxx_cv_func_expl_use=no
42657 fi
42658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42659       ac_ext=c
42660 ac_cpp='$CPP $CPPFLAGS'
42661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42664
42665
42666 fi
42667
42668   fi
42669   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
42670 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
42671
42672   if test x$glibcxx_cv_func_expl_use = x"yes"; then
42673
42674 for ac_func in expl
42675 do
42676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42677 echo "$as_me:$LINENO: checking for $ac_func" >&5
42678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42679 if eval "test \"\${$as_ac_var+set}\" = set"; then
42680   echo $ECHO_N "(cached) $ECHO_C" >&6
42681 else
42682   if test x$gcc_no_link = xyes; then
42683   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42685    { (exit 1); exit 1; }; }
42686 fi
42687 cat >conftest.$ac_ext <<_ACEOF
42688 /* confdefs.h.  */
42689 _ACEOF
42690 cat confdefs.h >>conftest.$ac_ext
42691 cat >>conftest.$ac_ext <<_ACEOF
42692 /* end confdefs.h.  */
42693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42694    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42695 #define $ac_func innocuous_$ac_func
42696
42697 /* System header to define __stub macros and hopefully few prototypes,
42698     which can conflict with char $ac_func (); below.
42699     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42700     <limits.h> exists even on freestanding compilers.  */
42701
42702 #ifdef __STDC__
42703 # include <limits.h>
42704 #else
42705 # include <assert.h>
42706 #endif
42707
42708 #undef $ac_func
42709
42710 /* Override any gcc2 internal prototype to avoid an error.  */
42711 #ifdef __cplusplus
42712 extern "C"
42713 {
42714 #endif
42715 /* We use char because int might match the return type of a gcc2
42716    builtin and then its argument prototype would still apply.  */
42717 char $ac_func ();
42718 /* The GNU C library defines this for functions which it implements
42719     to always fail with ENOSYS.  Some functions are actually named
42720     something starting with __ and the normal name is an alias.  */
42721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42722 choke me
42723 #else
42724 char (*f) () = $ac_func;
42725 #endif
42726 #ifdef __cplusplus
42727 }
42728 #endif
42729
42730 int
42731 main ()
42732 {
42733 return f != $ac_func;
42734   ;
42735   return 0;
42736 }
42737 _ACEOF
42738 rm -f conftest.$ac_objext conftest$ac_exeext
42739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42740   (eval $ac_link) 2>conftest.er1
42741   ac_status=$?
42742   grep -v '^ *+' conftest.er1 >conftest.err
42743   rm -f conftest.er1
42744   cat conftest.err >&5
42745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42746   (exit $ac_status); } &&
42747          { ac_try='test -z "$ac_c_werror_flag"
42748                          || test ! -s conftest.err'
42749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42750   (eval $ac_try) 2>&5
42751   ac_status=$?
42752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42753   (exit $ac_status); }; } &&
42754          { ac_try='test -s conftest$ac_exeext'
42755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42756   (eval $ac_try) 2>&5
42757   ac_status=$?
42758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42759   (exit $ac_status); }; }; then
42760   eval "$as_ac_var=yes"
42761 else
42762   echo "$as_me: failed program was:" >&5
42763 sed 's/^/| /' conftest.$ac_ext >&5
42764
42765 eval "$as_ac_var=no"
42766 fi
42767 rm -f conftest.err conftest.$ac_objext \
42768       conftest$ac_exeext conftest.$ac_ext
42769 fi
42770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42772 if test `eval echo '${'$as_ac_var'}'` = yes; then
42773   cat >>confdefs.h <<_ACEOF
42774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42775 _ACEOF
42776
42777 fi
42778 done
42779
42780   else
42781
42782   echo "$as_me:$LINENO: checking for _expl declaration" >&5
42783 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
42784   if test x${glibcxx_cv_func__expl_use+set} != xset; then
42785     if test "${glibcxx_cv_func__expl_use+set}" = set; then
42786   echo $ECHO_N "(cached) $ECHO_C" >&6
42787 else
42788
42789
42790
42791       ac_ext=cc
42792 ac_cpp='$CXXCPP $CPPFLAGS'
42793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42796
42797       cat >conftest.$ac_ext <<_ACEOF
42798 /* confdefs.h.  */
42799 _ACEOF
42800 cat confdefs.h >>conftest.$ac_ext
42801 cat >>conftest.$ac_ext <<_ACEOF
42802 /* end confdefs.h.  */
42803 #include <math.h>
42804                       #ifdef HAVE_IEEEFP_H
42805                       #include <ieeefp.h>
42806                       #endif
42807
42808 int
42809 main ()
42810 {
42811  _expl(0);
42812   ;
42813   return 0;
42814 }
42815 _ACEOF
42816 rm -f conftest.$ac_objext
42817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42818   (eval $ac_compile) 2>conftest.er1
42819   ac_status=$?
42820   grep -v '^ *+' conftest.er1 >conftest.err
42821   rm -f conftest.er1
42822   cat conftest.err >&5
42823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42824   (exit $ac_status); } &&
42825          { ac_try='test -z "$ac_cxx_werror_flag"
42826                          || test ! -s conftest.err'
42827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42828   (eval $ac_try) 2>&5
42829   ac_status=$?
42830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42831   (exit $ac_status); }; } &&
42832          { ac_try='test -s conftest.$ac_objext'
42833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42834   (eval $ac_try) 2>&5
42835   ac_status=$?
42836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42837   (exit $ac_status); }; }; then
42838   glibcxx_cv_func__expl_use=yes
42839 else
42840   echo "$as_me: failed program was:" >&5
42841 sed 's/^/| /' conftest.$ac_ext >&5
42842
42843 glibcxx_cv_func__expl_use=no
42844 fi
42845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42846       ac_ext=c
42847 ac_cpp='$CPP $CPPFLAGS'
42848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42851
42852
42853 fi
42854
42855   fi
42856   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
42857 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
42858
42859     if test x$glibcxx_cv_func__expl_use = x"yes"; then
42860
42861 for ac_func in _expl
42862 do
42863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42864 echo "$as_me:$LINENO: checking for $ac_func" >&5
42865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42866 if eval "test \"\${$as_ac_var+set}\" = set"; then
42867   echo $ECHO_N "(cached) $ECHO_C" >&6
42868 else
42869   if test x$gcc_no_link = xyes; then
42870   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42872    { (exit 1); exit 1; }; }
42873 fi
42874 cat >conftest.$ac_ext <<_ACEOF
42875 /* confdefs.h.  */
42876 _ACEOF
42877 cat confdefs.h >>conftest.$ac_ext
42878 cat >>conftest.$ac_ext <<_ACEOF
42879 /* end confdefs.h.  */
42880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42881    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42882 #define $ac_func innocuous_$ac_func
42883
42884 /* System header to define __stub macros and hopefully few prototypes,
42885     which can conflict with char $ac_func (); below.
42886     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42887     <limits.h> exists even on freestanding compilers.  */
42888
42889 #ifdef __STDC__
42890 # include <limits.h>
42891 #else
42892 # include <assert.h>
42893 #endif
42894
42895 #undef $ac_func
42896
42897 /* Override any gcc2 internal prototype to avoid an error.  */
42898 #ifdef __cplusplus
42899 extern "C"
42900 {
42901 #endif
42902 /* We use char because int might match the return type of a gcc2
42903    builtin and then its argument prototype would still apply.  */
42904 char $ac_func ();
42905 /* The GNU C library defines this for functions which it implements
42906     to always fail with ENOSYS.  Some functions are actually named
42907     something starting with __ and the normal name is an alias.  */
42908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42909 choke me
42910 #else
42911 char (*f) () = $ac_func;
42912 #endif
42913 #ifdef __cplusplus
42914 }
42915 #endif
42916
42917 int
42918 main ()
42919 {
42920 return f != $ac_func;
42921   ;
42922   return 0;
42923 }
42924 _ACEOF
42925 rm -f conftest.$ac_objext conftest$ac_exeext
42926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42927   (eval $ac_link) 2>conftest.er1
42928   ac_status=$?
42929   grep -v '^ *+' conftest.er1 >conftest.err
42930   rm -f conftest.er1
42931   cat conftest.err >&5
42932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42933   (exit $ac_status); } &&
42934          { ac_try='test -z "$ac_c_werror_flag"
42935                          || test ! -s conftest.err'
42936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42937   (eval $ac_try) 2>&5
42938   ac_status=$?
42939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42940   (exit $ac_status); }; } &&
42941          { ac_try='test -s conftest$ac_exeext'
42942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42943   (eval $ac_try) 2>&5
42944   ac_status=$?
42945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42946   (exit $ac_status); }; }; then
42947   eval "$as_ac_var=yes"
42948 else
42949   echo "$as_me: failed program was:" >&5
42950 sed 's/^/| /' conftest.$ac_ext >&5
42951
42952 eval "$as_ac_var=no"
42953 fi
42954 rm -f conftest.err conftest.$ac_objext \
42955       conftest$ac_exeext conftest.$ac_ext
42956 fi
42957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42959 if test `eval echo '${'$as_ac_var'}'` = yes; then
42960   cat >>confdefs.h <<_ACEOF
42961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42962 _ACEOF
42963
42964 fi
42965 done
42966
42967     fi
42968   fi
42969
42970
42971
42972   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
42973 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
42974   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42975     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
42976   echo $ECHO_N "(cached) $ECHO_C" >&6
42977 else
42978
42979
42980
42981       ac_ext=cc
42982 ac_cpp='$CXXCPP $CPPFLAGS'
42983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42986
42987       cat >conftest.$ac_ext <<_ACEOF
42988 /* confdefs.h.  */
42989 _ACEOF
42990 cat confdefs.h >>conftest.$ac_ext
42991 cat >>conftest.$ac_ext <<_ACEOF
42992 /* end confdefs.h.  */
42993 #include <math.h>
42994                       #ifdef HAVE_IEEEFP_H
42995                       #include <ieeefp.h>
42996                       #endif
42997
42998 int
42999 main ()
43000 {
43001  fabsl(0);
43002   ;
43003   return 0;
43004 }
43005 _ACEOF
43006 rm -f conftest.$ac_objext
43007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43008   (eval $ac_compile) 2>conftest.er1
43009   ac_status=$?
43010   grep -v '^ *+' conftest.er1 >conftest.err
43011   rm -f conftest.er1
43012   cat conftest.err >&5
43013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43014   (exit $ac_status); } &&
43015          { ac_try='test -z "$ac_cxx_werror_flag"
43016                          || test ! -s conftest.err'
43017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43018   (eval $ac_try) 2>&5
43019   ac_status=$?
43020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43021   (exit $ac_status); }; } &&
43022          { ac_try='test -s conftest.$ac_objext'
43023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43024   (eval $ac_try) 2>&5
43025   ac_status=$?
43026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43027   (exit $ac_status); }; }; then
43028   glibcxx_cv_func_fabsl_use=yes
43029 else
43030   echo "$as_me: failed program was:" >&5
43031 sed 's/^/| /' conftest.$ac_ext >&5
43032
43033 glibcxx_cv_func_fabsl_use=no
43034 fi
43035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43036       ac_ext=c
43037 ac_cpp='$CPP $CPPFLAGS'
43038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43041
43042
43043 fi
43044
43045   fi
43046   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
43047 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
43048
43049   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43050
43051 for ac_func in fabsl
43052 do
43053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43054 echo "$as_me:$LINENO: checking for $ac_func" >&5
43055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43056 if eval "test \"\${$as_ac_var+set}\" = set"; then
43057   echo $ECHO_N "(cached) $ECHO_C" >&6
43058 else
43059   if test x$gcc_no_link = xyes; then
43060   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43062    { (exit 1); exit 1; }; }
43063 fi
43064 cat >conftest.$ac_ext <<_ACEOF
43065 /* confdefs.h.  */
43066 _ACEOF
43067 cat confdefs.h >>conftest.$ac_ext
43068 cat >>conftest.$ac_ext <<_ACEOF
43069 /* end confdefs.h.  */
43070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43071    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43072 #define $ac_func innocuous_$ac_func
43073
43074 /* System header to define __stub macros and hopefully few prototypes,
43075     which can conflict with char $ac_func (); below.
43076     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43077     <limits.h> exists even on freestanding compilers.  */
43078
43079 #ifdef __STDC__
43080 # include <limits.h>
43081 #else
43082 # include <assert.h>
43083 #endif
43084
43085 #undef $ac_func
43086
43087 /* Override any gcc2 internal prototype to avoid an error.  */
43088 #ifdef __cplusplus
43089 extern "C"
43090 {
43091 #endif
43092 /* We use char because int might match the return type of a gcc2
43093    builtin and then its argument prototype would still apply.  */
43094 char $ac_func ();
43095 /* The GNU C library defines this for functions which it implements
43096     to always fail with ENOSYS.  Some functions are actually named
43097     something starting with __ and the normal name is an alias.  */
43098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43099 choke me
43100 #else
43101 char (*f) () = $ac_func;
43102 #endif
43103 #ifdef __cplusplus
43104 }
43105 #endif
43106
43107 int
43108 main ()
43109 {
43110 return f != $ac_func;
43111   ;
43112   return 0;
43113 }
43114 _ACEOF
43115 rm -f conftest.$ac_objext conftest$ac_exeext
43116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43117   (eval $ac_link) 2>conftest.er1
43118   ac_status=$?
43119   grep -v '^ *+' conftest.er1 >conftest.err
43120   rm -f conftest.er1
43121   cat conftest.err >&5
43122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43123   (exit $ac_status); } &&
43124          { ac_try='test -z "$ac_c_werror_flag"
43125                          || test ! -s conftest.err'
43126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43127   (eval $ac_try) 2>&5
43128   ac_status=$?
43129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43130   (exit $ac_status); }; } &&
43131          { ac_try='test -s conftest$ac_exeext'
43132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43133   (eval $ac_try) 2>&5
43134   ac_status=$?
43135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43136   (exit $ac_status); }; }; then
43137   eval "$as_ac_var=yes"
43138 else
43139   echo "$as_me: failed program was:" >&5
43140 sed 's/^/| /' conftest.$ac_ext >&5
43141
43142 eval "$as_ac_var=no"
43143 fi
43144 rm -f conftest.err conftest.$ac_objext \
43145       conftest$ac_exeext conftest.$ac_ext
43146 fi
43147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43149 if test `eval echo '${'$as_ac_var'}'` = yes; then
43150   cat >>confdefs.h <<_ACEOF
43151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43152 _ACEOF
43153
43154 fi
43155 done
43156
43157   else
43158
43159   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
43160 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
43161   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43162     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
43163   echo $ECHO_N "(cached) $ECHO_C" >&6
43164 else
43165
43166
43167
43168       ac_ext=cc
43169 ac_cpp='$CXXCPP $CPPFLAGS'
43170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43173
43174       cat >conftest.$ac_ext <<_ACEOF
43175 /* confdefs.h.  */
43176 _ACEOF
43177 cat confdefs.h >>conftest.$ac_ext
43178 cat >>conftest.$ac_ext <<_ACEOF
43179 /* end confdefs.h.  */
43180 #include <math.h>
43181                       #ifdef HAVE_IEEEFP_H
43182                       #include <ieeefp.h>
43183                       #endif
43184
43185 int
43186 main ()
43187 {
43188  _fabsl(0);
43189   ;
43190   return 0;
43191 }
43192 _ACEOF
43193 rm -f conftest.$ac_objext
43194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43195   (eval $ac_compile) 2>conftest.er1
43196   ac_status=$?
43197   grep -v '^ *+' conftest.er1 >conftest.err
43198   rm -f conftest.er1
43199   cat conftest.err >&5
43200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43201   (exit $ac_status); } &&
43202          { ac_try='test -z "$ac_cxx_werror_flag"
43203                          || test ! -s conftest.err'
43204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43205   (eval $ac_try) 2>&5
43206   ac_status=$?
43207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43208   (exit $ac_status); }; } &&
43209          { ac_try='test -s conftest.$ac_objext'
43210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43211   (eval $ac_try) 2>&5
43212   ac_status=$?
43213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43214   (exit $ac_status); }; }; then
43215   glibcxx_cv_func__fabsl_use=yes
43216 else
43217   echo "$as_me: failed program was:" >&5
43218 sed 's/^/| /' conftest.$ac_ext >&5
43219
43220 glibcxx_cv_func__fabsl_use=no
43221 fi
43222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43223       ac_ext=c
43224 ac_cpp='$CPP $CPPFLAGS'
43225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43228
43229
43230 fi
43231
43232   fi
43233   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
43234 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
43235
43236     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43237
43238 for ac_func in _fabsl
43239 do
43240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43241 echo "$as_me:$LINENO: checking for $ac_func" >&5
43242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43243 if eval "test \"\${$as_ac_var+set}\" = set"; then
43244   echo $ECHO_N "(cached) $ECHO_C" >&6
43245 else
43246   if test x$gcc_no_link = xyes; then
43247   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43249    { (exit 1); exit 1; }; }
43250 fi
43251 cat >conftest.$ac_ext <<_ACEOF
43252 /* confdefs.h.  */
43253 _ACEOF
43254 cat confdefs.h >>conftest.$ac_ext
43255 cat >>conftest.$ac_ext <<_ACEOF
43256 /* end confdefs.h.  */
43257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43258    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43259 #define $ac_func innocuous_$ac_func
43260
43261 /* System header to define __stub macros and hopefully few prototypes,
43262     which can conflict with char $ac_func (); below.
43263     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43264     <limits.h> exists even on freestanding compilers.  */
43265
43266 #ifdef __STDC__
43267 # include <limits.h>
43268 #else
43269 # include <assert.h>
43270 #endif
43271
43272 #undef $ac_func
43273
43274 /* Override any gcc2 internal prototype to avoid an error.  */
43275 #ifdef __cplusplus
43276 extern "C"
43277 {
43278 #endif
43279 /* We use char because int might match the return type of a gcc2
43280    builtin and then its argument prototype would still apply.  */
43281 char $ac_func ();
43282 /* The GNU C library defines this for functions which it implements
43283     to always fail with ENOSYS.  Some functions are actually named
43284     something starting with __ and the normal name is an alias.  */
43285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43286 choke me
43287 #else
43288 char (*f) () = $ac_func;
43289 #endif
43290 #ifdef __cplusplus
43291 }
43292 #endif
43293
43294 int
43295 main ()
43296 {
43297 return f != $ac_func;
43298   ;
43299   return 0;
43300 }
43301 _ACEOF
43302 rm -f conftest.$ac_objext conftest$ac_exeext
43303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43304   (eval $ac_link) 2>conftest.er1
43305   ac_status=$?
43306   grep -v '^ *+' conftest.er1 >conftest.err
43307   rm -f conftest.er1
43308   cat conftest.err >&5
43309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43310   (exit $ac_status); } &&
43311          { ac_try='test -z "$ac_c_werror_flag"
43312                          || test ! -s conftest.err'
43313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43314   (eval $ac_try) 2>&5
43315   ac_status=$?
43316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43317   (exit $ac_status); }; } &&
43318          { ac_try='test -s conftest$ac_exeext'
43319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43320   (eval $ac_try) 2>&5
43321   ac_status=$?
43322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43323   (exit $ac_status); }; }; then
43324   eval "$as_ac_var=yes"
43325 else
43326   echo "$as_me: failed program was:" >&5
43327 sed 's/^/| /' conftest.$ac_ext >&5
43328
43329 eval "$as_ac_var=no"
43330 fi
43331 rm -f conftest.err conftest.$ac_objext \
43332       conftest$ac_exeext conftest.$ac_ext
43333 fi
43334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43336 if test `eval echo '${'$as_ac_var'}'` = yes; then
43337   cat >>confdefs.h <<_ACEOF
43338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43339 _ACEOF
43340
43341 fi
43342 done
43343
43344     fi
43345   fi
43346
43347
43348
43349   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
43350 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
43351   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43352     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
43353   echo $ECHO_N "(cached) $ECHO_C" >&6
43354 else
43355
43356
43357
43358       ac_ext=cc
43359 ac_cpp='$CXXCPP $CPPFLAGS'
43360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43363
43364       cat >conftest.$ac_ext <<_ACEOF
43365 /* confdefs.h.  */
43366 _ACEOF
43367 cat confdefs.h >>conftest.$ac_ext
43368 cat >>conftest.$ac_ext <<_ACEOF
43369 /* end confdefs.h.  */
43370 #include <math.h>
43371 int
43372 main ()
43373 {
43374  fmodl(0, 0);
43375   ;
43376   return 0;
43377 }
43378 _ACEOF
43379 rm -f conftest.$ac_objext
43380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43381   (eval $ac_compile) 2>conftest.er1
43382   ac_status=$?
43383   grep -v '^ *+' conftest.er1 >conftest.err
43384   rm -f conftest.er1
43385   cat conftest.err >&5
43386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43387   (exit $ac_status); } &&
43388          { ac_try='test -z "$ac_cxx_werror_flag"
43389                          || test ! -s conftest.err'
43390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43391   (eval $ac_try) 2>&5
43392   ac_status=$?
43393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43394   (exit $ac_status); }; } &&
43395          { ac_try='test -s conftest.$ac_objext'
43396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43397   (eval $ac_try) 2>&5
43398   ac_status=$?
43399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43400   (exit $ac_status); }; }; then
43401   glibcxx_cv_func_fmodl_use=yes
43402 else
43403   echo "$as_me: failed program was:" >&5
43404 sed 's/^/| /' conftest.$ac_ext >&5
43405
43406 glibcxx_cv_func_fmodl_use=no
43407 fi
43408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43409       ac_ext=c
43410 ac_cpp='$CPP $CPPFLAGS'
43411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43414
43415
43416 fi
43417
43418   fi
43419   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
43420 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
43421
43422   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43423
43424 for ac_func in fmodl
43425 do
43426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43427 echo "$as_me:$LINENO: checking for $ac_func" >&5
43428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43429 if eval "test \"\${$as_ac_var+set}\" = set"; then
43430   echo $ECHO_N "(cached) $ECHO_C" >&6
43431 else
43432   if test x$gcc_no_link = xyes; then
43433   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43435    { (exit 1); exit 1; }; }
43436 fi
43437 cat >conftest.$ac_ext <<_ACEOF
43438 /* confdefs.h.  */
43439 _ACEOF
43440 cat confdefs.h >>conftest.$ac_ext
43441 cat >>conftest.$ac_ext <<_ACEOF
43442 /* end confdefs.h.  */
43443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43444    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43445 #define $ac_func innocuous_$ac_func
43446
43447 /* System header to define __stub macros and hopefully few prototypes,
43448     which can conflict with char $ac_func (); below.
43449     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43450     <limits.h> exists even on freestanding compilers.  */
43451
43452 #ifdef __STDC__
43453 # include <limits.h>
43454 #else
43455 # include <assert.h>
43456 #endif
43457
43458 #undef $ac_func
43459
43460 /* Override any gcc2 internal prototype to avoid an error.  */
43461 #ifdef __cplusplus
43462 extern "C"
43463 {
43464 #endif
43465 /* We use char because int might match the return type of a gcc2
43466    builtin and then its argument prototype would still apply.  */
43467 char $ac_func ();
43468 /* The GNU C library defines this for functions which it implements
43469     to always fail with ENOSYS.  Some functions are actually named
43470     something starting with __ and the normal name is an alias.  */
43471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43472 choke me
43473 #else
43474 char (*f) () = $ac_func;
43475 #endif
43476 #ifdef __cplusplus
43477 }
43478 #endif
43479
43480 int
43481 main ()
43482 {
43483 return f != $ac_func;
43484   ;
43485   return 0;
43486 }
43487 _ACEOF
43488 rm -f conftest.$ac_objext conftest$ac_exeext
43489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43490   (eval $ac_link) 2>conftest.er1
43491   ac_status=$?
43492   grep -v '^ *+' conftest.er1 >conftest.err
43493   rm -f conftest.er1
43494   cat conftest.err >&5
43495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43496   (exit $ac_status); } &&
43497          { ac_try='test -z "$ac_c_werror_flag"
43498                          || test ! -s conftest.err'
43499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43500   (eval $ac_try) 2>&5
43501   ac_status=$?
43502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43503   (exit $ac_status); }; } &&
43504          { ac_try='test -s conftest$ac_exeext'
43505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43506   (eval $ac_try) 2>&5
43507   ac_status=$?
43508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43509   (exit $ac_status); }; }; then
43510   eval "$as_ac_var=yes"
43511 else
43512   echo "$as_me: failed program was:" >&5
43513 sed 's/^/| /' conftest.$ac_ext >&5
43514
43515 eval "$as_ac_var=no"
43516 fi
43517 rm -f conftest.err conftest.$ac_objext \
43518       conftest$ac_exeext conftest.$ac_ext
43519 fi
43520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43522 if test `eval echo '${'$as_ac_var'}'` = yes; then
43523   cat >>confdefs.h <<_ACEOF
43524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43525 _ACEOF
43526
43527 fi
43528 done
43529
43530   else
43531
43532   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
43533 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
43534   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43535     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
43536   echo $ECHO_N "(cached) $ECHO_C" >&6
43537 else
43538
43539
43540
43541       ac_ext=cc
43542 ac_cpp='$CXXCPP $CPPFLAGS'
43543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43546
43547       cat >conftest.$ac_ext <<_ACEOF
43548 /* confdefs.h.  */
43549 _ACEOF
43550 cat confdefs.h >>conftest.$ac_ext
43551 cat >>conftest.$ac_ext <<_ACEOF
43552 /* end confdefs.h.  */
43553 #include <math.h>
43554 int
43555 main ()
43556 {
43557  _fmodl(0, 0);
43558   ;
43559   return 0;
43560 }
43561 _ACEOF
43562 rm -f conftest.$ac_objext
43563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43564   (eval $ac_compile) 2>conftest.er1
43565   ac_status=$?
43566   grep -v '^ *+' conftest.er1 >conftest.err
43567   rm -f conftest.er1
43568   cat conftest.err >&5
43569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43570   (exit $ac_status); } &&
43571          { ac_try='test -z "$ac_cxx_werror_flag"
43572                          || test ! -s conftest.err'
43573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43574   (eval $ac_try) 2>&5
43575   ac_status=$?
43576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43577   (exit $ac_status); }; } &&
43578          { ac_try='test -s conftest.$ac_objext'
43579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43580   (eval $ac_try) 2>&5
43581   ac_status=$?
43582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43583   (exit $ac_status); }; }; then
43584   glibcxx_cv_func__fmodl_use=yes
43585 else
43586   echo "$as_me: failed program was:" >&5
43587 sed 's/^/| /' conftest.$ac_ext >&5
43588
43589 glibcxx_cv_func__fmodl_use=no
43590 fi
43591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43592       ac_ext=c
43593 ac_cpp='$CPP $CPPFLAGS'
43594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43597
43598
43599 fi
43600
43601   fi
43602   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
43603 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
43604
43605     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43606
43607 for ac_func in _fmodl
43608 do
43609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43610 echo "$as_me:$LINENO: checking for $ac_func" >&5
43611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43612 if eval "test \"\${$as_ac_var+set}\" = set"; then
43613   echo $ECHO_N "(cached) $ECHO_C" >&6
43614 else
43615   if test x$gcc_no_link = xyes; then
43616   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43618    { (exit 1); exit 1; }; }
43619 fi
43620 cat >conftest.$ac_ext <<_ACEOF
43621 /* confdefs.h.  */
43622 _ACEOF
43623 cat confdefs.h >>conftest.$ac_ext
43624 cat >>conftest.$ac_ext <<_ACEOF
43625 /* end confdefs.h.  */
43626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43627    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43628 #define $ac_func innocuous_$ac_func
43629
43630 /* System header to define __stub macros and hopefully few prototypes,
43631     which can conflict with char $ac_func (); below.
43632     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43633     <limits.h> exists even on freestanding compilers.  */
43634
43635 #ifdef __STDC__
43636 # include <limits.h>
43637 #else
43638 # include <assert.h>
43639 #endif
43640
43641 #undef $ac_func
43642
43643 /* Override any gcc2 internal prototype to avoid an error.  */
43644 #ifdef __cplusplus
43645 extern "C"
43646 {
43647 #endif
43648 /* We use char because int might match the return type of a gcc2
43649    builtin and then its argument prototype would still apply.  */
43650 char $ac_func ();
43651 /* The GNU C library defines this for functions which it implements
43652     to always fail with ENOSYS.  Some functions are actually named
43653     something starting with __ and the normal name is an alias.  */
43654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43655 choke me
43656 #else
43657 char (*f) () = $ac_func;
43658 #endif
43659 #ifdef __cplusplus
43660 }
43661 #endif
43662
43663 int
43664 main ()
43665 {
43666 return f != $ac_func;
43667   ;
43668   return 0;
43669 }
43670 _ACEOF
43671 rm -f conftest.$ac_objext conftest$ac_exeext
43672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43673   (eval $ac_link) 2>conftest.er1
43674   ac_status=$?
43675   grep -v '^ *+' conftest.er1 >conftest.err
43676   rm -f conftest.er1
43677   cat conftest.err >&5
43678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43679   (exit $ac_status); } &&
43680          { ac_try='test -z "$ac_c_werror_flag"
43681                          || test ! -s conftest.err'
43682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43683   (eval $ac_try) 2>&5
43684   ac_status=$?
43685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43686   (exit $ac_status); }; } &&
43687          { ac_try='test -s conftest$ac_exeext'
43688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43689   (eval $ac_try) 2>&5
43690   ac_status=$?
43691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43692   (exit $ac_status); }; }; then
43693   eval "$as_ac_var=yes"
43694 else
43695   echo "$as_me: failed program was:" >&5
43696 sed 's/^/| /' conftest.$ac_ext >&5
43697
43698 eval "$as_ac_var=no"
43699 fi
43700 rm -f conftest.err conftest.$ac_objext \
43701       conftest$ac_exeext conftest.$ac_ext
43702 fi
43703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43705 if test `eval echo '${'$as_ac_var'}'` = yes; then
43706   cat >>confdefs.h <<_ACEOF
43707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43708 _ACEOF
43709
43710 fi
43711 done
43712
43713     fi
43714   fi
43715
43716
43717
43718   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
43719 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
43720   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43721     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
43722   echo $ECHO_N "(cached) $ECHO_C" >&6
43723 else
43724
43725
43726
43727       ac_ext=cc
43728 ac_cpp='$CXXCPP $CPPFLAGS'
43729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43732
43733       cat >conftest.$ac_ext <<_ACEOF
43734 /* confdefs.h.  */
43735 _ACEOF
43736 cat confdefs.h >>conftest.$ac_ext
43737 cat >>conftest.$ac_ext <<_ACEOF
43738 /* end confdefs.h.  */
43739 #include <math.h>
43740 int
43741 main ()
43742 {
43743  frexpl(0, 0);
43744   ;
43745   return 0;
43746 }
43747 _ACEOF
43748 rm -f conftest.$ac_objext
43749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43750   (eval $ac_compile) 2>conftest.er1
43751   ac_status=$?
43752   grep -v '^ *+' conftest.er1 >conftest.err
43753   rm -f conftest.er1
43754   cat conftest.err >&5
43755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43756   (exit $ac_status); } &&
43757          { ac_try='test -z "$ac_cxx_werror_flag"
43758                          || test ! -s conftest.err'
43759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43760   (eval $ac_try) 2>&5
43761   ac_status=$?
43762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43763   (exit $ac_status); }; } &&
43764          { ac_try='test -s conftest.$ac_objext'
43765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43766   (eval $ac_try) 2>&5
43767   ac_status=$?
43768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43769   (exit $ac_status); }; }; then
43770   glibcxx_cv_func_frexpl_use=yes
43771 else
43772   echo "$as_me: failed program was:" >&5
43773 sed 's/^/| /' conftest.$ac_ext >&5
43774
43775 glibcxx_cv_func_frexpl_use=no
43776 fi
43777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43778       ac_ext=c
43779 ac_cpp='$CPP $CPPFLAGS'
43780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43783
43784
43785 fi
43786
43787   fi
43788   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
43789 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
43790
43791   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43792
43793 for ac_func in frexpl
43794 do
43795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43796 echo "$as_me:$LINENO: checking for $ac_func" >&5
43797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43798 if eval "test \"\${$as_ac_var+set}\" = set"; then
43799   echo $ECHO_N "(cached) $ECHO_C" >&6
43800 else
43801   if test x$gcc_no_link = xyes; then
43802   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43804    { (exit 1); exit 1; }; }
43805 fi
43806 cat >conftest.$ac_ext <<_ACEOF
43807 /* confdefs.h.  */
43808 _ACEOF
43809 cat confdefs.h >>conftest.$ac_ext
43810 cat >>conftest.$ac_ext <<_ACEOF
43811 /* end confdefs.h.  */
43812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43813    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43814 #define $ac_func innocuous_$ac_func
43815
43816 /* System header to define __stub macros and hopefully few prototypes,
43817     which can conflict with char $ac_func (); below.
43818     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43819     <limits.h> exists even on freestanding compilers.  */
43820
43821 #ifdef __STDC__
43822 # include <limits.h>
43823 #else
43824 # include <assert.h>
43825 #endif
43826
43827 #undef $ac_func
43828
43829 /* Override any gcc2 internal prototype to avoid an error.  */
43830 #ifdef __cplusplus
43831 extern "C"
43832 {
43833 #endif
43834 /* We use char because int might match the return type of a gcc2
43835    builtin and then its argument prototype would still apply.  */
43836 char $ac_func ();
43837 /* The GNU C library defines this for functions which it implements
43838     to always fail with ENOSYS.  Some functions are actually named
43839     something starting with __ and the normal name is an alias.  */
43840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43841 choke me
43842 #else
43843 char (*f) () = $ac_func;
43844 #endif
43845 #ifdef __cplusplus
43846 }
43847 #endif
43848
43849 int
43850 main ()
43851 {
43852 return f != $ac_func;
43853   ;
43854   return 0;
43855 }
43856 _ACEOF
43857 rm -f conftest.$ac_objext conftest$ac_exeext
43858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43859   (eval $ac_link) 2>conftest.er1
43860   ac_status=$?
43861   grep -v '^ *+' conftest.er1 >conftest.err
43862   rm -f conftest.er1
43863   cat conftest.err >&5
43864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43865   (exit $ac_status); } &&
43866          { ac_try='test -z "$ac_c_werror_flag"
43867                          || test ! -s conftest.err'
43868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43869   (eval $ac_try) 2>&5
43870   ac_status=$?
43871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43872   (exit $ac_status); }; } &&
43873          { ac_try='test -s conftest$ac_exeext'
43874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43875   (eval $ac_try) 2>&5
43876   ac_status=$?
43877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43878   (exit $ac_status); }; }; then
43879   eval "$as_ac_var=yes"
43880 else
43881   echo "$as_me: failed program was:" >&5
43882 sed 's/^/| /' conftest.$ac_ext >&5
43883
43884 eval "$as_ac_var=no"
43885 fi
43886 rm -f conftest.err conftest.$ac_objext \
43887       conftest$ac_exeext conftest.$ac_ext
43888 fi
43889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43891 if test `eval echo '${'$as_ac_var'}'` = yes; then
43892   cat >>confdefs.h <<_ACEOF
43893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43894 _ACEOF
43895
43896 fi
43897 done
43898
43899   else
43900
43901   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
43902 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
43903   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43904     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
43905   echo $ECHO_N "(cached) $ECHO_C" >&6
43906 else
43907
43908
43909
43910       ac_ext=cc
43911 ac_cpp='$CXXCPP $CPPFLAGS'
43912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43915
43916       cat >conftest.$ac_ext <<_ACEOF
43917 /* confdefs.h.  */
43918 _ACEOF
43919 cat confdefs.h >>conftest.$ac_ext
43920 cat >>conftest.$ac_ext <<_ACEOF
43921 /* end confdefs.h.  */
43922 #include <math.h>
43923 int
43924 main ()
43925 {
43926  _frexpl(0, 0);
43927   ;
43928   return 0;
43929 }
43930 _ACEOF
43931 rm -f conftest.$ac_objext
43932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43933   (eval $ac_compile) 2>conftest.er1
43934   ac_status=$?
43935   grep -v '^ *+' conftest.er1 >conftest.err
43936   rm -f conftest.er1
43937   cat conftest.err >&5
43938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43939   (exit $ac_status); } &&
43940          { ac_try='test -z "$ac_cxx_werror_flag"
43941                          || test ! -s conftest.err'
43942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43943   (eval $ac_try) 2>&5
43944   ac_status=$?
43945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43946   (exit $ac_status); }; } &&
43947          { ac_try='test -s conftest.$ac_objext'
43948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43949   (eval $ac_try) 2>&5
43950   ac_status=$?
43951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43952   (exit $ac_status); }; }; then
43953   glibcxx_cv_func__frexpl_use=yes
43954 else
43955   echo "$as_me: failed program was:" >&5
43956 sed 's/^/| /' conftest.$ac_ext >&5
43957
43958 glibcxx_cv_func__frexpl_use=no
43959 fi
43960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43961       ac_ext=c
43962 ac_cpp='$CPP $CPPFLAGS'
43963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43966
43967
43968 fi
43969
43970   fi
43971   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
43972 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
43973
43974     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43975
43976 for ac_func in _frexpl
43977 do
43978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43979 echo "$as_me:$LINENO: checking for $ac_func" >&5
43980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43981 if eval "test \"\${$as_ac_var+set}\" = set"; then
43982   echo $ECHO_N "(cached) $ECHO_C" >&6
43983 else
43984   if test x$gcc_no_link = xyes; then
43985   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43987    { (exit 1); exit 1; }; }
43988 fi
43989 cat >conftest.$ac_ext <<_ACEOF
43990 /* confdefs.h.  */
43991 _ACEOF
43992 cat confdefs.h >>conftest.$ac_ext
43993 cat >>conftest.$ac_ext <<_ACEOF
43994 /* end confdefs.h.  */
43995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43996    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43997 #define $ac_func innocuous_$ac_func
43998
43999 /* System header to define __stub macros and hopefully few prototypes,
44000     which can conflict with char $ac_func (); below.
44001     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44002     <limits.h> exists even on freestanding compilers.  */
44003
44004 #ifdef __STDC__
44005 # include <limits.h>
44006 #else
44007 # include <assert.h>
44008 #endif
44009
44010 #undef $ac_func
44011
44012 /* Override any gcc2 internal prototype to avoid an error.  */
44013 #ifdef __cplusplus
44014 extern "C"
44015 {
44016 #endif
44017 /* We use char because int might match the return type of a gcc2
44018    builtin and then its argument prototype would still apply.  */
44019 char $ac_func ();
44020 /* The GNU C library defines this for functions which it implements
44021     to always fail with ENOSYS.  Some functions are actually named
44022     something starting with __ and the normal name is an alias.  */
44023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44024 choke me
44025 #else
44026 char (*f) () = $ac_func;
44027 #endif
44028 #ifdef __cplusplus
44029 }
44030 #endif
44031
44032 int
44033 main ()
44034 {
44035 return f != $ac_func;
44036   ;
44037   return 0;
44038 }
44039 _ACEOF
44040 rm -f conftest.$ac_objext conftest$ac_exeext
44041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44042   (eval $ac_link) 2>conftest.er1
44043   ac_status=$?
44044   grep -v '^ *+' conftest.er1 >conftest.err
44045   rm -f conftest.er1
44046   cat conftest.err >&5
44047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44048   (exit $ac_status); } &&
44049          { ac_try='test -z "$ac_c_werror_flag"
44050                          || test ! -s conftest.err'
44051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44052   (eval $ac_try) 2>&5
44053   ac_status=$?
44054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44055   (exit $ac_status); }; } &&
44056          { ac_try='test -s conftest$ac_exeext'
44057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44058   (eval $ac_try) 2>&5
44059   ac_status=$?
44060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44061   (exit $ac_status); }; }; then
44062   eval "$as_ac_var=yes"
44063 else
44064   echo "$as_me: failed program was:" >&5
44065 sed 's/^/| /' conftest.$ac_ext >&5
44066
44067 eval "$as_ac_var=no"
44068 fi
44069 rm -f conftest.err conftest.$ac_objext \
44070       conftest$ac_exeext conftest.$ac_ext
44071 fi
44072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44074 if test `eval echo '${'$as_ac_var'}'` = yes; then
44075   cat >>confdefs.h <<_ACEOF
44076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44077 _ACEOF
44078
44079 fi
44080 done
44081
44082     fi
44083   fi
44084
44085
44086
44087   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
44088 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
44089   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44090     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
44091   echo $ECHO_N "(cached) $ECHO_C" >&6
44092 else
44093
44094
44095
44096       ac_ext=cc
44097 ac_cpp='$CXXCPP $CPPFLAGS'
44098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44101
44102       cat >conftest.$ac_ext <<_ACEOF
44103 /* confdefs.h.  */
44104 _ACEOF
44105 cat confdefs.h >>conftest.$ac_ext
44106 cat >>conftest.$ac_ext <<_ACEOF
44107 /* end confdefs.h.  */
44108 #include <math.h>
44109 int
44110 main ()
44111 {
44112  hypotl(0, 0);
44113   ;
44114   return 0;
44115 }
44116 _ACEOF
44117 rm -f conftest.$ac_objext
44118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44119   (eval $ac_compile) 2>conftest.er1
44120   ac_status=$?
44121   grep -v '^ *+' conftest.er1 >conftest.err
44122   rm -f conftest.er1
44123   cat conftest.err >&5
44124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44125   (exit $ac_status); } &&
44126          { ac_try='test -z "$ac_cxx_werror_flag"
44127                          || test ! -s conftest.err'
44128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44129   (eval $ac_try) 2>&5
44130   ac_status=$?
44131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44132   (exit $ac_status); }; } &&
44133          { ac_try='test -s conftest.$ac_objext'
44134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44135   (eval $ac_try) 2>&5
44136   ac_status=$?
44137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44138   (exit $ac_status); }; }; then
44139   glibcxx_cv_func_hypotl_use=yes
44140 else
44141   echo "$as_me: failed program was:" >&5
44142 sed 's/^/| /' conftest.$ac_ext >&5
44143
44144 glibcxx_cv_func_hypotl_use=no
44145 fi
44146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44147       ac_ext=c
44148 ac_cpp='$CPP $CPPFLAGS'
44149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44152
44153
44154 fi
44155
44156   fi
44157   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
44158 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
44159
44160   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44161
44162 for ac_func in hypotl
44163 do
44164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44165 echo "$as_me:$LINENO: checking for $ac_func" >&5
44166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44167 if eval "test \"\${$as_ac_var+set}\" = set"; then
44168   echo $ECHO_N "(cached) $ECHO_C" >&6
44169 else
44170   if test x$gcc_no_link = xyes; then
44171   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44173    { (exit 1); exit 1; }; }
44174 fi
44175 cat >conftest.$ac_ext <<_ACEOF
44176 /* confdefs.h.  */
44177 _ACEOF
44178 cat confdefs.h >>conftest.$ac_ext
44179 cat >>conftest.$ac_ext <<_ACEOF
44180 /* end confdefs.h.  */
44181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44182    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44183 #define $ac_func innocuous_$ac_func
44184
44185 /* System header to define __stub macros and hopefully few prototypes,
44186     which can conflict with char $ac_func (); below.
44187     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44188     <limits.h> exists even on freestanding compilers.  */
44189
44190 #ifdef __STDC__
44191 # include <limits.h>
44192 #else
44193 # include <assert.h>
44194 #endif
44195
44196 #undef $ac_func
44197
44198 /* Override any gcc2 internal prototype to avoid an error.  */
44199 #ifdef __cplusplus
44200 extern "C"
44201 {
44202 #endif
44203 /* We use char because int might match the return type of a gcc2
44204    builtin and then its argument prototype would still apply.  */
44205 char $ac_func ();
44206 /* The GNU C library defines this for functions which it implements
44207     to always fail with ENOSYS.  Some functions are actually named
44208     something starting with __ and the normal name is an alias.  */
44209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44210 choke me
44211 #else
44212 char (*f) () = $ac_func;
44213 #endif
44214 #ifdef __cplusplus
44215 }
44216 #endif
44217
44218 int
44219 main ()
44220 {
44221 return f != $ac_func;
44222   ;
44223   return 0;
44224 }
44225 _ACEOF
44226 rm -f conftest.$ac_objext conftest$ac_exeext
44227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44228   (eval $ac_link) 2>conftest.er1
44229   ac_status=$?
44230   grep -v '^ *+' conftest.er1 >conftest.err
44231   rm -f conftest.er1
44232   cat conftest.err >&5
44233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44234   (exit $ac_status); } &&
44235          { ac_try='test -z "$ac_c_werror_flag"
44236                          || test ! -s conftest.err'
44237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44238   (eval $ac_try) 2>&5
44239   ac_status=$?
44240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44241   (exit $ac_status); }; } &&
44242          { ac_try='test -s conftest$ac_exeext'
44243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44244   (eval $ac_try) 2>&5
44245   ac_status=$?
44246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44247   (exit $ac_status); }; }; then
44248   eval "$as_ac_var=yes"
44249 else
44250   echo "$as_me: failed program was:" >&5
44251 sed 's/^/| /' conftest.$ac_ext >&5
44252
44253 eval "$as_ac_var=no"
44254 fi
44255 rm -f conftest.err conftest.$ac_objext \
44256       conftest$ac_exeext conftest.$ac_ext
44257 fi
44258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44260 if test `eval echo '${'$as_ac_var'}'` = yes; then
44261   cat >>confdefs.h <<_ACEOF
44262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44263 _ACEOF
44264
44265 fi
44266 done
44267
44268   else
44269
44270   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
44271 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
44272   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44273     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
44274   echo $ECHO_N "(cached) $ECHO_C" >&6
44275 else
44276
44277
44278
44279       ac_ext=cc
44280 ac_cpp='$CXXCPP $CPPFLAGS'
44281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44284
44285       cat >conftest.$ac_ext <<_ACEOF
44286 /* confdefs.h.  */
44287 _ACEOF
44288 cat confdefs.h >>conftest.$ac_ext
44289 cat >>conftest.$ac_ext <<_ACEOF
44290 /* end confdefs.h.  */
44291 #include <math.h>
44292 int
44293 main ()
44294 {
44295  _hypotl(0, 0);
44296   ;
44297   return 0;
44298 }
44299 _ACEOF
44300 rm -f conftest.$ac_objext
44301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44302   (eval $ac_compile) 2>conftest.er1
44303   ac_status=$?
44304   grep -v '^ *+' conftest.er1 >conftest.err
44305   rm -f conftest.er1
44306   cat conftest.err >&5
44307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44308   (exit $ac_status); } &&
44309          { ac_try='test -z "$ac_cxx_werror_flag"
44310                          || test ! -s conftest.err'
44311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44312   (eval $ac_try) 2>&5
44313   ac_status=$?
44314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44315   (exit $ac_status); }; } &&
44316          { ac_try='test -s conftest.$ac_objext'
44317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44318   (eval $ac_try) 2>&5
44319   ac_status=$?
44320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44321   (exit $ac_status); }; }; then
44322   glibcxx_cv_func__hypotl_use=yes
44323 else
44324   echo "$as_me: failed program was:" >&5
44325 sed 's/^/| /' conftest.$ac_ext >&5
44326
44327 glibcxx_cv_func__hypotl_use=no
44328 fi
44329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44330       ac_ext=c
44331 ac_cpp='$CPP $CPPFLAGS'
44332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44335
44336
44337 fi
44338
44339   fi
44340   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
44341 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
44342
44343     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44344
44345 for ac_func in _hypotl
44346 do
44347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44348 echo "$as_me:$LINENO: checking for $ac_func" >&5
44349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44350 if eval "test \"\${$as_ac_var+set}\" = set"; then
44351   echo $ECHO_N "(cached) $ECHO_C" >&6
44352 else
44353   if test x$gcc_no_link = xyes; then
44354   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44356    { (exit 1); exit 1; }; }
44357 fi
44358 cat >conftest.$ac_ext <<_ACEOF
44359 /* confdefs.h.  */
44360 _ACEOF
44361 cat confdefs.h >>conftest.$ac_ext
44362 cat >>conftest.$ac_ext <<_ACEOF
44363 /* end confdefs.h.  */
44364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44365    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44366 #define $ac_func innocuous_$ac_func
44367
44368 /* System header to define __stub macros and hopefully few prototypes,
44369     which can conflict with char $ac_func (); below.
44370     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44371     <limits.h> exists even on freestanding compilers.  */
44372
44373 #ifdef __STDC__
44374 # include <limits.h>
44375 #else
44376 # include <assert.h>
44377 #endif
44378
44379 #undef $ac_func
44380
44381 /* Override any gcc2 internal prototype to avoid an error.  */
44382 #ifdef __cplusplus
44383 extern "C"
44384 {
44385 #endif
44386 /* We use char because int might match the return type of a gcc2
44387    builtin and then its argument prototype would still apply.  */
44388 char $ac_func ();
44389 /* The GNU C library defines this for functions which it implements
44390     to always fail with ENOSYS.  Some functions are actually named
44391     something starting with __ and the normal name is an alias.  */
44392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44393 choke me
44394 #else
44395 char (*f) () = $ac_func;
44396 #endif
44397 #ifdef __cplusplus
44398 }
44399 #endif
44400
44401 int
44402 main ()
44403 {
44404 return f != $ac_func;
44405   ;
44406   return 0;
44407 }
44408 _ACEOF
44409 rm -f conftest.$ac_objext conftest$ac_exeext
44410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44411   (eval $ac_link) 2>conftest.er1
44412   ac_status=$?
44413   grep -v '^ *+' conftest.er1 >conftest.err
44414   rm -f conftest.er1
44415   cat conftest.err >&5
44416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44417   (exit $ac_status); } &&
44418          { ac_try='test -z "$ac_c_werror_flag"
44419                          || test ! -s conftest.err'
44420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44421   (eval $ac_try) 2>&5
44422   ac_status=$?
44423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44424   (exit $ac_status); }; } &&
44425          { ac_try='test -s conftest$ac_exeext'
44426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44427   (eval $ac_try) 2>&5
44428   ac_status=$?
44429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44430   (exit $ac_status); }; }; then
44431   eval "$as_ac_var=yes"
44432 else
44433   echo "$as_me: failed program was:" >&5
44434 sed 's/^/| /' conftest.$ac_ext >&5
44435
44436 eval "$as_ac_var=no"
44437 fi
44438 rm -f conftest.err conftest.$ac_objext \
44439       conftest$ac_exeext conftest.$ac_ext
44440 fi
44441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44443 if test `eval echo '${'$as_ac_var'}'` = yes; then
44444   cat >>confdefs.h <<_ACEOF
44445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44446 _ACEOF
44447
44448 fi
44449 done
44450
44451     fi
44452   fi
44453
44454
44455
44456   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
44457 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
44458   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44459     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
44460   echo $ECHO_N "(cached) $ECHO_C" >&6
44461 else
44462
44463
44464
44465       ac_ext=cc
44466 ac_cpp='$CXXCPP $CPPFLAGS'
44467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44470
44471       cat >conftest.$ac_ext <<_ACEOF
44472 /* confdefs.h.  */
44473 _ACEOF
44474 cat confdefs.h >>conftest.$ac_ext
44475 cat >>conftest.$ac_ext <<_ACEOF
44476 /* end confdefs.h.  */
44477 #include <math.h>
44478 int
44479 main ()
44480 {
44481  ldexpl(0, 0);
44482   ;
44483   return 0;
44484 }
44485 _ACEOF
44486 rm -f conftest.$ac_objext
44487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44488   (eval $ac_compile) 2>conftest.er1
44489   ac_status=$?
44490   grep -v '^ *+' conftest.er1 >conftest.err
44491   rm -f conftest.er1
44492   cat conftest.err >&5
44493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44494   (exit $ac_status); } &&
44495          { ac_try='test -z "$ac_cxx_werror_flag"
44496                          || test ! -s conftest.err'
44497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44498   (eval $ac_try) 2>&5
44499   ac_status=$?
44500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44501   (exit $ac_status); }; } &&
44502          { ac_try='test -s conftest.$ac_objext'
44503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44504   (eval $ac_try) 2>&5
44505   ac_status=$?
44506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44507   (exit $ac_status); }; }; then
44508   glibcxx_cv_func_ldexpl_use=yes
44509 else
44510   echo "$as_me: failed program was:" >&5
44511 sed 's/^/| /' conftest.$ac_ext >&5
44512
44513 glibcxx_cv_func_ldexpl_use=no
44514 fi
44515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44516       ac_ext=c
44517 ac_cpp='$CPP $CPPFLAGS'
44518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44521
44522
44523 fi
44524
44525   fi
44526   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
44527 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
44528
44529   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44530
44531 for ac_func in ldexpl
44532 do
44533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44534 echo "$as_me:$LINENO: checking for $ac_func" >&5
44535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44536 if eval "test \"\${$as_ac_var+set}\" = set"; then
44537   echo $ECHO_N "(cached) $ECHO_C" >&6
44538 else
44539   if test x$gcc_no_link = xyes; then
44540   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44542    { (exit 1); exit 1; }; }
44543 fi
44544 cat >conftest.$ac_ext <<_ACEOF
44545 /* confdefs.h.  */
44546 _ACEOF
44547 cat confdefs.h >>conftest.$ac_ext
44548 cat >>conftest.$ac_ext <<_ACEOF
44549 /* end confdefs.h.  */
44550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44551    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44552 #define $ac_func innocuous_$ac_func
44553
44554 /* System header to define __stub macros and hopefully few prototypes,
44555     which can conflict with char $ac_func (); below.
44556     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44557     <limits.h> exists even on freestanding compilers.  */
44558
44559 #ifdef __STDC__
44560 # include <limits.h>
44561 #else
44562 # include <assert.h>
44563 #endif
44564
44565 #undef $ac_func
44566
44567 /* Override any gcc2 internal prototype to avoid an error.  */
44568 #ifdef __cplusplus
44569 extern "C"
44570 {
44571 #endif
44572 /* We use char because int might match the return type of a gcc2
44573    builtin and then its argument prototype would still apply.  */
44574 char $ac_func ();
44575 /* The GNU C library defines this for functions which it implements
44576     to always fail with ENOSYS.  Some functions are actually named
44577     something starting with __ and the normal name is an alias.  */
44578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44579 choke me
44580 #else
44581 char (*f) () = $ac_func;
44582 #endif
44583 #ifdef __cplusplus
44584 }
44585 #endif
44586
44587 int
44588 main ()
44589 {
44590 return f != $ac_func;
44591   ;
44592   return 0;
44593 }
44594 _ACEOF
44595 rm -f conftest.$ac_objext conftest$ac_exeext
44596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44597   (eval $ac_link) 2>conftest.er1
44598   ac_status=$?
44599   grep -v '^ *+' conftest.er1 >conftest.err
44600   rm -f conftest.er1
44601   cat conftest.err >&5
44602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44603   (exit $ac_status); } &&
44604          { ac_try='test -z "$ac_c_werror_flag"
44605                          || test ! -s conftest.err'
44606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44607   (eval $ac_try) 2>&5
44608   ac_status=$?
44609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44610   (exit $ac_status); }; } &&
44611          { ac_try='test -s conftest$ac_exeext'
44612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44613   (eval $ac_try) 2>&5
44614   ac_status=$?
44615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44616   (exit $ac_status); }; }; then
44617   eval "$as_ac_var=yes"
44618 else
44619   echo "$as_me: failed program was:" >&5
44620 sed 's/^/| /' conftest.$ac_ext >&5
44621
44622 eval "$as_ac_var=no"
44623 fi
44624 rm -f conftest.err conftest.$ac_objext \
44625       conftest$ac_exeext conftest.$ac_ext
44626 fi
44627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44629 if test `eval echo '${'$as_ac_var'}'` = yes; then
44630   cat >>confdefs.h <<_ACEOF
44631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44632 _ACEOF
44633
44634 fi
44635 done
44636
44637   else
44638
44639   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
44640 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
44641   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44642     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
44643   echo $ECHO_N "(cached) $ECHO_C" >&6
44644 else
44645
44646
44647
44648       ac_ext=cc
44649 ac_cpp='$CXXCPP $CPPFLAGS'
44650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44653
44654       cat >conftest.$ac_ext <<_ACEOF
44655 /* confdefs.h.  */
44656 _ACEOF
44657 cat confdefs.h >>conftest.$ac_ext
44658 cat >>conftest.$ac_ext <<_ACEOF
44659 /* end confdefs.h.  */
44660 #include <math.h>
44661 int
44662 main ()
44663 {
44664  _ldexpl(0, 0);
44665   ;
44666   return 0;
44667 }
44668 _ACEOF
44669 rm -f conftest.$ac_objext
44670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44671   (eval $ac_compile) 2>conftest.er1
44672   ac_status=$?
44673   grep -v '^ *+' conftest.er1 >conftest.err
44674   rm -f conftest.er1
44675   cat conftest.err >&5
44676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44677   (exit $ac_status); } &&
44678          { ac_try='test -z "$ac_cxx_werror_flag"
44679                          || test ! -s conftest.err'
44680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44681   (eval $ac_try) 2>&5
44682   ac_status=$?
44683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44684   (exit $ac_status); }; } &&
44685          { ac_try='test -s conftest.$ac_objext'
44686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44687   (eval $ac_try) 2>&5
44688   ac_status=$?
44689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44690   (exit $ac_status); }; }; then
44691   glibcxx_cv_func__ldexpl_use=yes
44692 else
44693   echo "$as_me: failed program was:" >&5
44694 sed 's/^/| /' conftest.$ac_ext >&5
44695
44696 glibcxx_cv_func__ldexpl_use=no
44697 fi
44698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44699       ac_ext=c
44700 ac_cpp='$CPP $CPPFLAGS'
44701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44704
44705
44706 fi
44707
44708   fi
44709   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
44710 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
44711
44712     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44713
44714 for ac_func in _ldexpl
44715 do
44716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44717 echo "$as_me:$LINENO: checking for $ac_func" >&5
44718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44719 if eval "test \"\${$as_ac_var+set}\" = set"; then
44720   echo $ECHO_N "(cached) $ECHO_C" >&6
44721 else
44722   if test x$gcc_no_link = xyes; then
44723   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44725    { (exit 1); exit 1; }; }
44726 fi
44727 cat >conftest.$ac_ext <<_ACEOF
44728 /* confdefs.h.  */
44729 _ACEOF
44730 cat confdefs.h >>conftest.$ac_ext
44731 cat >>conftest.$ac_ext <<_ACEOF
44732 /* end confdefs.h.  */
44733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44734    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44735 #define $ac_func innocuous_$ac_func
44736
44737 /* System header to define __stub macros and hopefully few prototypes,
44738     which can conflict with char $ac_func (); below.
44739     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44740     <limits.h> exists even on freestanding compilers.  */
44741
44742 #ifdef __STDC__
44743 # include <limits.h>
44744 #else
44745 # include <assert.h>
44746 #endif
44747
44748 #undef $ac_func
44749
44750 /* Override any gcc2 internal prototype to avoid an error.  */
44751 #ifdef __cplusplus
44752 extern "C"
44753 {
44754 #endif
44755 /* We use char because int might match the return type of a gcc2
44756    builtin and then its argument prototype would still apply.  */
44757 char $ac_func ();
44758 /* The GNU C library defines this for functions which it implements
44759     to always fail with ENOSYS.  Some functions are actually named
44760     something starting with __ and the normal name is an alias.  */
44761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44762 choke me
44763 #else
44764 char (*f) () = $ac_func;
44765 #endif
44766 #ifdef __cplusplus
44767 }
44768 #endif
44769
44770 int
44771 main ()
44772 {
44773 return f != $ac_func;
44774   ;
44775   return 0;
44776 }
44777 _ACEOF
44778 rm -f conftest.$ac_objext conftest$ac_exeext
44779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44780   (eval $ac_link) 2>conftest.er1
44781   ac_status=$?
44782   grep -v '^ *+' conftest.er1 >conftest.err
44783   rm -f conftest.er1
44784   cat conftest.err >&5
44785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44786   (exit $ac_status); } &&
44787          { ac_try='test -z "$ac_c_werror_flag"
44788                          || test ! -s conftest.err'
44789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44790   (eval $ac_try) 2>&5
44791   ac_status=$?
44792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44793   (exit $ac_status); }; } &&
44794          { ac_try='test -s conftest$ac_exeext'
44795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44796   (eval $ac_try) 2>&5
44797   ac_status=$?
44798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44799   (exit $ac_status); }; }; then
44800   eval "$as_ac_var=yes"
44801 else
44802   echo "$as_me: failed program was:" >&5
44803 sed 's/^/| /' conftest.$ac_ext >&5
44804
44805 eval "$as_ac_var=no"
44806 fi
44807 rm -f conftest.err conftest.$ac_objext \
44808       conftest$ac_exeext conftest.$ac_ext
44809 fi
44810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44812 if test `eval echo '${'$as_ac_var'}'` = yes; then
44813   cat >>confdefs.h <<_ACEOF
44814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44815 _ACEOF
44816
44817 fi
44818 done
44819
44820     fi
44821   fi
44822
44823
44824
44825   echo "$as_me:$LINENO: checking for logl declaration" >&5
44826 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
44827   if test x${glibcxx_cv_func_logl_use+set} != xset; then
44828     if test "${glibcxx_cv_func_logl_use+set}" = set; then
44829   echo $ECHO_N "(cached) $ECHO_C" >&6
44830 else
44831
44832
44833
44834       ac_ext=cc
44835 ac_cpp='$CXXCPP $CPPFLAGS'
44836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44839
44840       cat >conftest.$ac_ext <<_ACEOF
44841 /* confdefs.h.  */
44842 _ACEOF
44843 cat confdefs.h >>conftest.$ac_ext
44844 cat >>conftest.$ac_ext <<_ACEOF
44845 /* end confdefs.h.  */
44846 #include <math.h>
44847                       #ifdef HAVE_IEEEFP_H
44848                       #include <ieeefp.h>
44849                       #endif
44850
44851 int
44852 main ()
44853 {
44854  logl(0);
44855   ;
44856   return 0;
44857 }
44858 _ACEOF
44859 rm -f conftest.$ac_objext
44860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44861   (eval $ac_compile) 2>conftest.er1
44862   ac_status=$?
44863   grep -v '^ *+' conftest.er1 >conftest.err
44864   rm -f conftest.er1
44865   cat conftest.err >&5
44866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44867   (exit $ac_status); } &&
44868          { ac_try='test -z "$ac_cxx_werror_flag"
44869                          || test ! -s conftest.err'
44870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44871   (eval $ac_try) 2>&5
44872   ac_status=$?
44873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44874   (exit $ac_status); }; } &&
44875          { ac_try='test -s conftest.$ac_objext'
44876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44877   (eval $ac_try) 2>&5
44878   ac_status=$?
44879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44880   (exit $ac_status); }; }; then
44881   glibcxx_cv_func_logl_use=yes
44882 else
44883   echo "$as_me: failed program was:" >&5
44884 sed 's/^/| /' conftest.$ac_ext >&5
44885
44886 glibcxx_cv_func_logl_use=no
44887 fi
44888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44889       ac_ext=c
44890 ac_cpp='$CPP $CPPFLAGS'
44891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44894
44895
44896 fi
44897
44898   fi
44899   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
44900 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
44901
44902   if test x$glibcxx_cv_func_logl_use = x"yes"; then
44903
44904 for ac_func in logl
44905 do
44906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44907 echo "$as_me:$LINENO: checking for $ac_func" >&5
44908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44909 if eval "test \"\${$as_ac_var+set}\" = set"; then
44910   echo $ECHO_N "(cached) $ECHO_C" >&6
44911 else
44912   if test x$gcc_no_link = xyes; then
44913   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44915    { (exit 1); exit 1; }; }
44916 fi
44917 cat >conftest.$ac_ext <<_ACEOF
44918 /* confdefs.h.  */
44919 _ACEOF
44920 cat confdefs.h >>conftest.$ac_ext
44921 cat >>conftest.$ac_ext <<_ACEOF
44922 /* end confdefs.h.  */
44923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44924    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44925 #define $ac_func innocuous_$ac_func
44926
44927 /* System header to define __stub macros and hopefully few prototypes,
44928     which can conflict with char $ac_func (); below.
44929     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44930     <limits.h> exists even on freestanding compilers.  */
44931
44932 #ifdef __STDC__
44933 # include <limits.h>
44934 #else
44935 # include <assert.h>
44936 #endif
44937
44938 #undef $ac_func
44939
44940 /* Override any gcc2 internal prototype to avoid an error.  */
44941 #ifdef __cplusplus
44942 extern "C"
44943 {
44944 #endif
44945 /* We use char because int might match the return type of a gcc2
44946    builtin and then its argument prototype would still apply.  */
44947 char $ac_func ();
44948 /* The GNU C library defines this for functions which it implements
44949     to always fail with ENOSYS.  Some functions are actually named
44950     something starting with __ and the normal name is an alias.  */
44951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44952 choke me
44953 #else
44954 char (*f) () = $ac_func;
44955 #endif
44956 #ifdef __cplusplus
44957 }
44958 #endif
44959
44960 int
44961 main ()
44962 {
44963 return f != $ac_func;
44964   ;
44965   return 0;
44966 }
44967 _ACEOF
44968 rm -f conftest.$ac_objext conftest$ac_exeext
44969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44970   (eval $ac_link) 2>conftest.er1
44971   ac_status=$?
44972   grep -v '^ *+' conftest.er1 >conftest.err
44973   rm -f conftest.er1
44974   cat conftest.err >&5
44975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44976   (exit $ac_status); } &&
44977          { ac_try='test -z "$ac_c_werror_flag"
44978                          || test ! -s conftest.err'
44979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44980   (eval $ac_try) 2>&5
44981   ac_status=$?
44982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44983   (exit $ac_status); }; } &&
44984          { ac_try='test -s conftest$ac_exeext'
44985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44986   (eval $ac_try) 2>&5
44987   ac_status=$?
44988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44989   (exit $ac_status); }; }; then
44990   eval "$as_ac_var=yes"
44991 else
44992   echo "$as_me: failed program was:" >&5
44993 sed 's/^/| /' conftest.$ac_ext >&5
44994
44995 eval "$as_ac_var=no"
44996 fi
44997 rm -f conftest.err conftest.$ac_objext \
44998       conftest$ac_exeext conftest.$ac_ext
44999 fi
45000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45002 if test `eval echo '${'$as_ac_var'}'` = yes; then
45003   cat >>confdefs.h <<_ACEOF
45004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45005 _ACEOF
45006
45007 fi
45008 done
45009
45010   else
45011
45012   echo "$as_me:$LINENO: checking for _logl declaration" >&5
45013 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
45014   if test x${glibcxx_cv_func__logl_use+set} != xset; then
45015     if test "${glibcxx_cv_func__logl_use+set}" = set; then
45016   echo $ECHO_N "(cached) $ECHO_C" >&6
45017 else
45018
45019
45020
45021       ac_ext=cc
45022 ac_cpp='$CXXCPP $CPPFLAGS'
45023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45026
45027       cat >conftest.$ac_ext <<_ACEOF
45028 /* confdefs.h.  */
45029 _ACEOF
45030 cat confdefs.h >>conftest.$ac_ext
45031 cat >>conftest.$ac_ext <<_ACEOF
45032 /* end confdefs.h.  */
45033 #include <math.h>
45034                       #ifdef HAVE_IEEEFP_H
45035                       #include <ieeefp.h>
45036                       #endif
45037
45038 int
45039 main ()
45040 {
45041  _logl(0);
45042   ;
45043   return 0;
45044 }
45045 _ACEOF
45046 rm -f conftest.$ac_objext
45047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45048   (eval $ac_compile) 2>conftest.er1
45049   ac_status=$?
45050   grep -v '^ *+' conftest.er1 >conftest.err
45051   rm -f conftest.er1
45052   cat conftest.err >&5
45053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45054   (exit $ac_status); } &&
45055          { ac_try='test -z "$ac_cxx_werror_flag"
45056                          || test ! -s conftest.err'
45057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45058   (eval $ac_try) 2>&5
45059   ac_status=$?
45060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45061   (exit $ac_status); }; } &&
45062          { ac_try='test -s conftest.$ac_objext'
45063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45064   (eval $ac_try) 2>&5
45065   ac_status=$?
45066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45067   (exit $ac_status); }; }; then
45068   glibcxx_cv_func__logl_use=yes
45069 else
45070   echo "$as_me: failed program was:" >&5
45071 sed 's/^/| /' conftest.$ac_ext >&5
45072
45073 glibcxx_cv_func__logl_use=no
45074 fi
45075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45076       ac_ext=c
45077 ac_cpp='$CPP $CPPFLAGS'
45078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45081
45082
45083 fi
45084
45085   fi
45086   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
45087 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
45088
45089     if test x$glibcxx_cv_func__logl_use = x"yes"; then
45090
45091 for ac_func in _logl
45092 do
45093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45094 echo "$as_me:$LINENO: checking for $ac_func" >&5
45095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45096 if eval "test \"\${$as_ac_var+set}\" = set"; then
45097   echo $ECHO_N "(cached) $ECHO_C" >&6
45098 else
45099   if test x$gcc_no_link = xyes; then
45100   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45102    { (exit 1); exit 1; }; }
45103 fi
45104 cat >conftest.$ac_ext <<_ACEOF
45105 /* confdefs.h.  */
45106 _ACEOF
45107 cat confdefs.h >>conftest.$ac_ext
45108 cat >>conftest.$ac_ext <<_ACEOF
45109 /* end confdefs.h.  */
45110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45111    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45112 #define $ac_func innocuous_$ac_func
45113
45114 /* System header to define __stub macros and hopefully few prototypes,
45115     which can conflict with char $ac_func (); below.
45116     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45117     <limits.h> exists even on freestanding compilers.  */
45118
45119 #ifdef __STDC__
45120 # include <limits.h>
45121 #else
45122 # include <assert.h>
45123 #endif
45124
45125 #undef $ac_func
45126
45127 /* Override any gcc2 internal prototype to avoid an error.  */
45128 #ifdef __cplusplus
45129 extern "C"
45130 {
45131 #endif
45132 /* We use char because int might match the return type of a gcc2
45133    builtin and then its argument prototype would still apply.  */
45134 char $ac_func ();
45135 /* The GNU C library defines this for functions which it implements
45136     to always fail with ENOSYS.  Some functions are actually named
45137     something starting with __ and the normal name is an alias.  */
45138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45139 choke me
45140 #else
45141 char (*f) () = $ac_func;
45142 #endif
45143 #ifdef __cplusplus
45144 }
45145 #endif
45146
45147 int
45148 main ()
45149 {
45150 return f != $ac_func;
45151   ;
45152   return 0;
45153 }
45154 _ACEOF
45155 rm -f conftest.$ac_objext conftest$ac_exeext
45156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45157   (eval $ac_link) 2>conftest.er1
45158   ac_status=$?
45159   grep -v '^ *+' conftest.er1 >conftest.err
45160   rm -f conftest.er1
45161   cat conftest.err >&5
45162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45163   (exit $ac_status); } &&
45164          { ac_try='test -z "$ac_c_werror_flag"
45165                          || test ! -s conftest.err'
45166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45167   (eval $ac_try) 2>&5
45168   ac_status=$?
45169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45170   (exit $ac_status); }; } &&
45171          { ac_try='test -s conftest$ac_exeext'
45172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45173   (eval $ac_try) 2>&5
45174   ac_status=$?
45175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45176   (exit $ac_status); }; }; then
45177   eval "$as_ac_var=yes"
45178 else
45179   echo "$as_me: failed program was:" >&5
45180 sed 's/^/| /' conftest.$ac_ext >&5
45181
45182 eval "$as_ac_var=no"
45183 fi
45184 rm -f conftest.err conftest.$ac_objext \
45185       conftest$ac_exeext conftest.$ac_ext
45186 fi
45187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45189 if test `eval echo '${'$as_ac_var'}'` = yes; then
45190   cat >>confdefs.h <<_ACEOF
45191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45192 _ACEOF
45193
45194 fi
45195 done
45196
45197     fi
45198   fi
45199
45200
45201
45202   echo "$as_me:$LINENO: checking for log10l declaration" >&5
45203 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
45204   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45205     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
45206   echo $ECHO_N "(cached) $ECHO_C" >&6
45207 else
45208
45209
45210
45211       ac_ext=cc
45212 ac_cpp='$CXXCPP $CPPFLAGS'
45213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45216
45217       cat >conftest.$ac_ext <<_ACEOF
45218 /* confdefs.h.  */
45219 _ACEOF
45220 cat confdefs.h >>conftest.$ac_ext
45221 cat >>conftest.$ac_ext <<_ACEOF
45222 /* end confdefs.h.  */
45223 #include <math.h>
45224                       #ifdef HAVE_IEEEFP_H
45225                       #include <ieeefp.h>
45226                       #endif
45227
45228 int
45229 main ()
45230 {
45231  log10l(0);
45232   ;
45233   return 0;
45234 }
45235 _ACEOF
45236 rm -f conftest.$ac_objext
45237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45238   (eval $ac_compile) 2>conftest.er1
45239   ac_status=$?
45240   grep -v '^ *+' conftest.er1 >conftest.err
45241   rm -f conftest.er1
45242   cat conftest.err >&5
45243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45244   (exit $ac_status); } &&
45245          { ac_try='test -z "$ac_cxx_werror_flag"
45246                          || test ! -s conftest.err'
45247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45248   (eval $ac_try) 2>&5
45249   ac_status=$?
45250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45251   (exit $ac_status); }; } &&
45252          { ac_try='test -s conftest.$ac_objext'
45253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45254   (eval $ac_try) 2>&5
45255   ac_status=$?
45256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45257   (exit $ac_status); }; }; then
45258   glibcxx_cv_func_log10l_use=yes
45259 else
45260   echo "$as_me: failed program was:" >&5
45261 sed 's/^/| /' conftest.$ac_ext >&5
45262
45263 glibcxx_cv_func_log10l_use=no
45264 fi
45265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45266       ac_ext=c
45267 ac_cpp='$CPP $CPPFLAGS'
45268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45271
45272
45273 fi
45274
45275   fi
45276   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
45277 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
45278
45279   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45280
45281 for ac_func in log10l
45282 do
45283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45284 echo "$as_me:$LINENO: checking for $ac_func" >&5
45285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45286 if eval "test \"\${$as_ac_var+set}\" = set"; then
45287   echo $ECHO_N "(cached) $ECHO_C" >&6
45288 else
45289   if test x$gcc_no_link = xyes; then
45290   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45292    { (exit 1); exit 1; }; }
45293 fi
45294 cat >conftest.$ac_ext <<_ACEOF
45295 /* confdefs.h.  */
45296 _ACEOF
45297 cat confdefs.h >>conftest.$ac_ext
45298 cat >>conftest.$ac_ext <<_ACEOF
45299 /* end confdefs.h.  */
45300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45301    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45302 #define $ac_func innocuous_$ac_func
45303
45304 /* System header to define __stub macros and hopefully few prototypes,
45305     which can conflict with char $ac_func (); below.
45306     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45307     <limits.h> exists even on freestanding compilers.  */
45308
45309 #ifdef __STDC__
45310 # include <limits.h>
45311 #else
45312 # include <assert.h>
45313 #endif
45314
45315 #undef $ac_func
45316
45317 /* Override any gcc2 internal prototype to avoid an error.  */
45318 #ifdef __cplusplus
45319 extern "C"
45320 {
45321 #endif
45322 /* We use char because int might match the return type of a gcc2
45323    builtin and then its argument prototype would still apply.  */
45324 char $ac_func ();
45325 /* The GNU C library defines this for functions which it implements
45326     to always fail with ENOSYS.  Some functions are actually named
45327     something starting with __ and the normal name is an alias.  */
45328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45329 choke me
45330 #else
45331 char (*f) () = $ac_func;
45332 #endif
45333 #ifdef __cplusplus
45334 }
45335 #endif
45336
45337 int
45338 main ()
45339 {
45340 return f != $ac_func;
45341   ;
45342   return 0;
45343 }
45344 _ACEOF
45345 rm -f conftest.$ac_objext conftest$ac_exeext
45346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45347   (eval $ac_link) 2>conftest.er1
45348   ac_status=$?
45349   grep -v '^ *+' conftest.er1 >conftest.err
45350   rm -f conftest.er1
45351   cat conftest.err >&5
45352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45353   (exit $ac_status); } &&
45354          { ac_try='test -z "$ac_c_werror_flag"
45355                          || test ! -s conftest.err'
45356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45357   (eval $ac_try) 2>&5
45358   ac_status=$?
45359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45360   (exit $ac_status); }; } &&
45361          { ac_try='test -s conftest$ac_exeext'
45362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45363   (eval $ac_try) 2>&5
45364   ac_status=$?
45365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45366   (exit $ac_status); }; }; then
45367   eval "$as_ac_var=yes"
45368 else
45369   echo "$as_me: failed program was:" >&5
45370 sed 's/^/| /' conftest.$ac_ext >&5
45371
45372 eval "$as_ac_var=no"
45373 fi
45374 rm -f conftest.err conftest.$ac_objext \
45375       conftest$ac_exeext conftest.$ac_ext
45376 fi
45377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45379 if test `eval echo '${'$as_ac_var'}'` = yes; then
45380   cat >>confdefs.h <<_ACEOF
45381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45382 _ACEOF
45383
45384 fi
45385 done
45386
45387   else
45388
45389   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
45390 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
45391   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45392     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
45393   echo $ECHO_N "(cached) $ECHO_C" >&6
45394 else
45395
45396
45397
45398       ac_ext=cc
45399 ac_cpp='$CXXCPP $CPPFLAGS'
45400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45403
45404       cat >conftest.$ac_ext <<_ACEOF
45405 /* confdefs.h.  */
45406 _ACEOF
45407 cat confdefs.h >>conftest.$ac_ext
45408 cat >>conftest.$ac_ext <<_ACEOF
45409 /* end confdefs.h.  */
45410 #include <math.h>
45411                       #ifdef HAVE_IEEEFP_H
45412                       #include <ieeefp.h>
45413                       #endif
45414
45415 int
45416 main ()
45417 {
45418  _log10l(0);
45419   ;
45420   return 0;
45421 }
45422 _ACEOF
45423 rm -f conftest.$ac_objext
45424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45425   (eval $ac_compile) 2>conftest.er1
45426   ac_status=$?
45427   grep -v '^ *+' conftest.er1 >conftest.err
45428   rm -f conftest.er1
45429   cat conftest.err >&5
45430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45431   (exit $ac_status); } &&
45432          { ac_try='test -z "$ac_cxx_werror_flag"
45433                          || test ! -s conftest.err'
45434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45435   (eval $ac_try) 2>&5
45436   ac_status=$?
45437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45438   (exit $ac_status); }; } &&
45439          { ac_try='test -s conftest.$ac_objext'
45440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45441   (eval $ac_try) 2>&5
45442   ac_status=$?
45443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45444   (exit $ac_status); }; }; then
45445   glibcxx_cv_func__log10l_use=yes
45446 else
45447   echo "$as_me: failed program was:" >&5
45448 sed 's/^/| /' conftest.$ac_ext >&5
45449
45450 glibcxx_cv_func__log10l_use=no
45451 fi
45452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45453       ac_ext=c
45454 ac_cpp='$CPP $CPPFLAGS'
45455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45458
45459
45460 fi
45461
45462   fi
45463   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
45464 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
45465
45466     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45467
45468 for ac_func in _log10l
45469 do
45470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45471 echo "$as_me:$LINENO: checking for $ac_func" >&5
45472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45473 if eval "test \"\${$as_ac_var+set}\" = set"; then
45474   echo $ECHO_N "(cached) $ECHO_C" >&6
45475 else
45476   if test x$gcc_no_link = xyes; then
45477   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45479    { (exit 1); exit 1; }; }
45480 fi
45481 cat >conftest.$ac_ext <<_ACEOF
45482 /* confdefs.h.  */
45483 _ACEOF
45484 cat confdefs.h >>conftest.$ac_ext
45485 cat >>conftest.$ac_ext <<_ACEOF
45486 /* end confdefs.h.  */
45487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45488    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45489 #define $ac_func innocuous_$ac_func
45490
45491 /* System header to define __stub macros and hopefully few prototypes,
45492     which can conflict with char $ac_func (); below.
45493     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45494     <limits.h> exists even on freestanding compilers.  */
45495
45496 #ifdef __STDC__
45497 # include <limits.h>
45498 #else
45499 # include <assert.h>
45500 #endif
45501
45502 #undef $ac_func
45503
45504 /* Override any gcc2 internal prototype to avoid an error.  */
45505 #ifdef __cplusplus
45506 extern "C"
45507 {
45508 #endif
45509 /* We use char because int might match the return type of a gcc2
45510    builtin and then its argument prototype would still apply.  */
45511 char $ac_func ();
45512 /* The GNU C library defines this for functions which it implements
45513     to always fail with ENOSYS.  Some functions are actually named
45514     something starting with __ and the normal name is an alias.  */
45515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45516 choke me
45517 #else
45518 char (*f) () = $ac_func;
45519 #endif
45520 #ifdef __cplusplus
45521 }
45522 #endif
45523
45524 int
45525 main ()
45526 {
45527 return f != $ac_func;
45528   ;
45529   return 0;
45530 }
45531 _ACEOF
45532 rm -f conftest.$ac_objext conftest$ac_exeext
45533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45534   (eval $ac_link) 2>conftest.er1
45535   ac_status=$?
45536   grep -v '^ *+' conftest.er1 >conftest.err
45537   rm -f conftest.er1
45538   cat conftest.err >&5
45539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45540   (exit $ac_status); } &&
45541          { ac_try='test -z "$ac_c_werror_flag"
45542                          || test ! -s conftest.err'
45543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45544   (eval $ac_try) 2>&5
45545   ac_status=$?
45546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45547   (exit $ac_status); }; } &&
45548          { ac_try='test -s conftest$ac_exeext'
45549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45550   (eval $ac_try) 2>&5
45551   ac_status=$?
45552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45553   (exit $ac_status); }; }; then
45554   eval "$as_ac_var=yes"
45555 else
45556   echo "$as_me: failed program was:" >&5
45557 sed 's/^/| /' conftest.$ac_ext >&5
45558
45559 eval "$as_ac_var=no"
45560 fi
45561 rm -f conftest.err conftest.$ac_objext \
45562       conftest$ac_exeext conftest.$ac_ext
45563 fi
45564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45566 if test `eval echo '${'$as_ac_var'}'` = yes; then
45567   cat >>confdefs.h <<_ACEOF
45568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45569 _ACEOF
45570
45571 fi
45572 done
45573
45574     fi
45575   fi
45576
45577
45578
45579   echo "$as_me:$LINENO: checking for modfl declaration" >&5
45580 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
45581   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45582     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
45583   echo $ECHO_N "(cached) $ECHO_C" >&6
45584 else
45585
45586
45587
45588       ac_ext=cc
45589 ac_cpp='$CXXCPP $CPPFLAGS'
45590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45593
45594       cat >conftest.$ac_ext <<_ACEOF
45595 /* confdefs.h.  */
45596 _ACEOF
45597 cat confdefs.h >>conftest.$ac_ext
45598 cat >>conftest.$ac_ext <<_ACEOF
45599 /* end confdefs.h.  */
45600 #include <math.h>
45601 int
45602 main ()
45603 {
45604  modfl(0, 0);
45605   ;
45606   return 0;
45607 }
45608 _ACEOF
45609 rm -f conftest.$ac_objext
45610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45611   (eval $ac_compile) 2>conftest.er1
45612   ac_status=$?
45613   grep -v '^ *+' conftest.er1 >conftest.err
45614   rm -f conftest.er1
45615   cat conftest.err >&5
45616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45617   (exit $ac_status); } &&
45618          { ac_try='test -z "$ac_cxx_werror_flag"
45619                          || test ! -s conftest.err'
45620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45621   (eval $ac_try) 2>&5
45622   ac_status=$?
45623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45624   (exit $ac_status); }; } &&
45625          { ac_try='test -s conftest.$ac_objext'
45626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45627   (eval $ac_try) 2>&5
45628   ac_status=$?
45629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45630   (exit $ac_status); }; }; then
45631   glibcxx_cv_func_modfl_use=yes
45632 else
45633   echo "$as_me: failed program was:" >&5
45634 sed 's/^/| /' conftest.$ac_ext >&5
45635
45636 glibcxx_cv_func_modfl_use=no
45637 fi
45638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45639       ac_ext=c
45640 ac_cpp='$CPP $CPPFLAGS'
45641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45644
45645
45646 fi
45647
45648   fi
45649   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
45650 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
45651
45652   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45653
45654 for ac_func in modfl
45655 do
45656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45657 echo "$as_me:$LINENO: checking for $ac_func" >&5
45658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45659 if eval "test \"\${$as_ac_var+set}\" = set"; then
45660   echo $ECHO_N "(cached) $ECHO_C" >&6
45661 else
45662   if test x$gcc_no_link = xyes; then
45663   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45665    { (exit 1); exit 1; }; }
45666 fi
45667 cat >conftest.$ac_ext <<_ACEOF
45668 /* confdefs.h.  */
45669 _ACEOF
45670 cat confdefs.h >>conftest.$ac_ext
45671 cat >>conftest.$ac_ext <<_ACEOF
45672 /* end confdefs.h.  */
45673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45674    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45675 #define $ac_func innocuous_$ac_func
45676
45677 /* System header to define __stub macros and hopefully few prototypes,
45678     which can conflict with char $ac_func (); below.
45679     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45680     <limits.h> exists even on freestanding compilers.  */
45681
45682 #ifdef __STDC__
45683 # include <limits.h>
45684 #else
45685 # include <assert.h>
45686 #endif
45687
45688 #undef $ac_func
45689
45690 /* Override any gcc2 internal prototype to avoid an error.  */
45691 #ifdef __cplusplus
45692 extern "C"
45693 {
45694 #endif
45695 /* We use char because int might match the return type of a gcc2
45696    builtin and then its argument prototype would still apply.  */
45697 char $ac_func ();
45698 /* The GNU C library defines this for functions which it implements
45699     to always fail with ENOSYS.  Some functions are actually named
45700     something starting with __ and the normal name is an alias.  */
45701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45702 choke me
45703 #else
45704 char (*f) () = $ac_func;
45705 #endif
45706 #ifdef __cplusplus
45707 }
45708 #endif
45709
45710 int
45711 main ()
45712 {
45713 return f != $ac_func;
45714   ;
45715   return 0;
45716 }
45717 _ACEOF
45718 rm -f conftest.$ac_objext conftest$ac_exeext
45719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45720   (eval $ac_link) 2>conftest.er1
45721   ac_status=$?
45722   grep -v '^ *+' conftest.er1 >conftest.err
45723   rm -f conftest.er1
45724   cat conftest.err >&5
45725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45726   (exit $ac_status); } &&
45727          { ac_try='test -z "$ac_c_werror_flag"
45728                          || test ! -s conftest.err'
45729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45730   (eval $ac_try) 2>&5
45731   ac_status=$?
45732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45733   (exit $ac_status); }; } &&
45734          { ac_try='test -s conftest$ac_exeext'
45735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45736   (eval $ac_try) 2>&5
45737   ac_status=$?
45738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45739   (exit $ac_status); }; }; then
45740   eval "$as_ac_var=yes"
45741 else
45742   echo "$as_me: failed program was:" >&5
45743 sed 's/^/| /' conftest.$ac_ext >&5
45744
45745 eval "$as_ac_var=no"
45746 fi
45747 rm -f conftest.err conftest.$ac_objext \
45748       conftest$ac_exeext conftest.$ac_ext
45749 fi
45750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45752 if test `eval echo '${'$as_ac_var'}'` = yes; then
45753   cat >>confdefs.h <<_ACEOF
45754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45755 _ACEOF
45756
45757 fi
45758 done
45759
45760   else
45761
45762   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
45763 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
45764   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45765     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
45766   echo $ECHO_N "(cached) $ECHO_C" >&6
45767 else
45768
45769
45770
45771       ac_ext=cc
45772 ac_cpp='$CXXCPP $CPPFLAGS'
45773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45776
45777       cat >conftest.$ac_ext <<_ACEOF
45778 /* confdefs.h.  */
45779 _ACEOF
45780 cat confdefs.h >>conftest.$ac_ext
45781 cat >>conftest.$ac_ext <<_ACEOF
45782 /* end confdefs.h.  */
45783 #include <math.h>
45784 int
45785 main ()
45786 {
45787  _modfl(0, 0);
45788   ;
45789   return 0;
45790 }
45791 _ACEOF
45792 rm -f conftest.$ac_objext
45793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45794   (eval $ac_compile) 2>conftest.er1
45795   ac_status=$?
45796   grep -v '^ *+' conftest.er1 >conftest.err
45797   rm -f conftest.er1
45798   cat conftest.err >&5
45799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45800   (exit $ac_status); } &&
45801          { ac_try='test -z "$ac_cxx_werror_flag"
45802                          || test ! -s conftest.err'
45803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45804   (eval $ac_try) 2>&5
45805   ac_status=$?
45806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45807   (exit $ac_status); }; } &&
45808          { ac_try='test -s conftest.$ac_objext'
45809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45810   (eval $ac_try) 2>&5
45811   ac_status=$?
45812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45813   (exit $ac_status); }; }; then
45814   glibcxx_cv_func__modfl_use=yes
45815 else
45816   echo "$as_me: failed program was:" >&5
45817 sed 's/^/| /' conftest.$ac_ext >&5
45818
45819 glibcxx_cv_func__modfl_use=no
45820 fi
45821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45822       ac_ext=c
45823 ac_cpp='$CPP $CPPFLAGS'
45824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45827
45828
45829 fi
45830
45831   fi
45832   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
45833 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
45834
45835     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45836
45837 for ac_func in _modfl
45838 do
45839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45840 echo "$as_me:$LINENO: checking for $ac_func" >&5
45841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45842 if eval "test \"\${$as_ac_var+set}\" = set"; then
45843   echo $ECHO_N "(cached) $ECHO_C" >&6
45844 else
45845   if test x$gcc_no_link = xyes; then
45846   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45848    { (exit 1); exit 1; }; }
45849 fi
45850 cat >conftest.$ac_ext <<_ACEOF
45851 /* confdefs.h.  */
45852 _ACEOF
45853 cat confdefs.h >>conftest.$ac_ext
45854 cat >>conftest.$ac_ext <<_ACEOF
45855 /* end confdefs.h.  */
45856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45857    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45858 #define $ac_func innocuous_$ac_func
45859
45860 /* System header to define __stub macros and hopefully few prototypes,
45861     which can conflict with char $ac_func (); below.
45862     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45863     <limits.h> exists even on freestanding compilers.  */
45864
45865 #ifdef __STDC__
45866 # include <limits.h>
45867 #else
45868 # include <assert.h>
45869 #endif
45870
45871 #undef $ac_func
45872
45873 /* Override any gcc2 internal prototype to avoid an error.  */
45874 #ifdef __cplusplus
45875 extern "C"
45876 {
45877 #endif
45878 /* We use char because int might match the return type of a gcc2
45879    builtin and then its argument prototype would still apply.  */
45880 char $ac_func ();
45881 /* The GNU C library defines this for functions which it implements
45882     to always fail with ENOSYS.  Some functions are actually named
45883     something starting with __ and the normal name is an alias.  */
45884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45885 choke me
45886 #else
45887 char (*f) () = $ac_func;
45888 #endif
45889 #ifdef __cplusplus
45890 }
45891 #endif
45892
45893 int
45894 main ()
45895 {
45896 return f != $ac_func;
45897   ;
45898   return 0;
45899 }
45900 _ACEOF
45901 rm -f conftest.$ac_objext conftest$ac_exeext
45902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45903   (eval $ac_link) 2>conftest.er1
45904   ac_status=$?
45905   grep -v '^ *+' conftest.er1 >conftest.err
45906   rm -f conftest.er1
45907   cat conftest.err >&5
45908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45909   (exit $ac_status); } &&
45910          { ac_try='test -z "$ac_c_werror_flag"
45911                          || test ! -s conftest.err'
45912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45913   (eval $ac_try) 2>&5
45914   ac_status=$?
45915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45916   (exit $ac_status); }; } &&
45917          { ac_try='test -s conftest$ac_exeext'
45918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45919   (eval $ac_try) 2>&5
45920   ac_status=$?
45921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45922   (exit $ac_status); }; }; then
45923   eval "$as_ac_var=yes"
45924 else
45925   echo "$as_me: failed program was:" >&5
45926 sed 's/^/| /' conftest.$ac_ext >&5
45927
45928 eval "$as_ac_var=no"
45929 fi
45930 rm -f conftest.err conftest.$ac_objext \
45931       conftest$ac_exeext conftest.$ac_ext
45932 fi
45933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45935 if test `eval echo '${'$as_ac_var'}'` = yes; then
45936   cat >>confdefs.h <<_ACEOF
45937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45938 _ACEOF
45939
45940 fi
45941 done
45942
45943     fi
45944   fi
45945
45946
45947
45948   echo "$as_me:$LINENO: checking for powl declaration" >&5
45949 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
45950   if test x${glibcxx_cv_func_powl_use+set} != xset; then
45951     if test "${glibcxx_cv_func_powl_use+set}" = set; then
45952   echo $ECHO_N "(cached) $ECHO_C" >&6
45953 else
45954
45955
45956
45957       ac_ext=cc
45958 ac_cpp='$CXXCPP $CPPFLAGS'
45959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45962
45963       cat >conftest.$ac_ext <<_ACEOF
45964 /* confdefs.h.  */
45965 _ACEOF
45966 cat confdefs.h >>conftest.$ac_ext
45967 cat >>conftest.$ac_ext <<_ACEOF
45968 /* end confdefs.h.  */
45969 #include <math.h>
45970 int
45971 main ()
45972 {
45973  powl(0, 0);
45974   ;
45975   return 0;
45976 }
45977 _ACEOF
45978 rm -f conftest.$ac_objext
45979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45980   (eval $ac_compile) 2>conftest.er1
45981   ac_status=$?
45982   grep -v '^ *+' conftest.er1 >conftest.err
45983   rm -f conftest.er1
45984   cat conftest.err >&5
45985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45986   (exit $ac_status); } &&
45987          { ac_try='test -z "$ac_cxx_werror_flag"
45988                          || test ! -s conftest.err'
45989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45990   (eval $ac_try) 2>&5
45991   ac_status=$?
45992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45993   (exit $ac_status); }; } &&
45994          { ac_try='test -s conftest.$ac_objext'
45995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45996   (eval $ac_try) 2>&5
45997   ac_status=$?
45998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45999   (exit $ac_status); }; }; then
46000   glibcxx_cv_func_powl_use=yes
46001 else
46002   echo "$as_me: failed program was:" >&5
46003 sed 's/^/| /' conftest.$ac_ext >&5
46004
46005 glibcxx_cv_func_powl_use=no
46006 fi
46007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46008       ac_ext=c
46009 ac_cpp='$CPP $CPPFLAGS'
46010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46013
46014
46015 fi
46016
46017   fi
46018   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
46019 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
46020
46021   if test x$glibcxx_cv_func_powl_use = x"yes"; then
46022
46023 for ac_func in powl
46024 do
46025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46026 echo "$as_me:$LINENO: checking for $ac_func" >&5
46027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46028 if eval "test \"\${$as_ac_var+set}\" = set"; then
46029   echo $ECHO_N "(cached) $ECHO_C" >&6
46030 else
46031   if test x$gcc_no_link = xyes; then
46032   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46034    { (exit 1); exit 1; }; }
46035 fi
46036 cat >conftest.$ac_ext <<_ACEOF
46037 /* confdefs.h.  */
46038 _ACEOF
46039 cat confdefs.h >>conftest.$ac_ext
46040 cat >>conftest.$ac_ext <<_ACEOF
46041 /* end confdefs.h.  */
46042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46043    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46044 #define $ac_func innocuous_$ac_func
46045
46046 /* System header to define __stub macros and hopefully few prototypes,
46047     which can conflict with char $ac_func (); below.
46048     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46049     <limits.h> exists even on freestanding compilers.  */
46050
46051 #ifdef __STDC__
46052 # include <limits.h>
46053 #else
46054 # include <assert.h>
46055 #endif
46056
46057 #undef $ac_func
46058
46059 /* Override any gcc2 internal prototype to avoid an error.  */
46060 #ifdef __cplusplus
46061 extern "C"
46062 {
46063 #endif
46064 /* We use char because int might match the return type of a gcc2
46065    builtin and then its argument prototype would still apply.  */
46066 char $ac_func ();
46067 /* The GNU C library defines this for functions which it implements
46068     to always fail with ENOSYS.  Some functions are actually named
46069     something starting with __ and the normal name is an alias.  */
46070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46071 choke me
46072 #else
46073 char (*f) () = $ac_func;
46074 #endif
46075 #ifdef __cplusplus
46076 }
46077 #endif
46078
46079 int
46080 main ()
46081 {
46082 return f != $ac_func;
46083   ;
46084   return 0;
46085 }
46086 _ACEOF
46087 rm -f conftest.$ac_objext conftest$ac_exeext
46088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46089   (eval $ac_link) 2>conftest.er1
46090   ac_status=$?
46091   grep -v '^ *+' conftest.er1 >conftest.err
46092   rm -f conftest.er1
46093   cat conftest.err >&5
46094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46095   (exit $ac_status); } &&
46096          { ac_try='test -z "$ac_c_werror_flag"
46097                          || test ! -s conftest.err'
46098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46099   (eval $ac_try) 2>&5
46100   ac_status=$?
46101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46102   (exit $ac_status); }; } &&
46103          { ac_try='test -s conftest$ac_exeext'
46104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46105   (eval $ac_try) 2>&5
46106   ac_status=$?
46107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46108   (exit $ac_status); }; }; then
46109   eval "$as_ac_var=yes"
46110 else
46111   echo "$as_me: failed program was:" >&5
46112 sed 's/^/| /' conftest.$ac_ext >&5
46113
46114 eval "$as_ac_var=no"
46115 fi
46116 rm -f conftest.err conftest.$ac_objext \
46117       conftest$ac_exeext conftest.$ac_ext
46118 fi
46119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46121 if test `eval echo '${'$as_ac_var'}'` = yes; then
46122   cat >>confdefs.h <<_ACEOF
46123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46124 _ACEOF
46125
46126 fi
46127 done
46128
46129   else
46130
46131   echo "$as_me:$LINENO: checking for _powl declaration" >&5
46132 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
46133   if test x${glibcxx_cv_func__powl_use+set} != xset; then
46134     if test "${glibcxx_cv_func__powl_use+set}" = set; then
46135   echo $ECHO_N "(cached) $ECHO_C" >&6
46136 else
46137
46138
46139
46140       ac_ext=cc
46141 ac_cpp='$CXXCPP $CPPFLAGS'
46142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46145
46146       cat >conftest.$ac_ext <<_ACEOF
46147 /* confdefs.h.  */
46148 _ACEOF
46149 cat confdefs.h >>conftest.$ac_ext
46150 cat >>conftest.$ac_ext <<_ACEOF
46151 /* end confdefs.h.  */
46152 #include <math.h>
46153 int
46154 main ()
46155 {
46156  _powl(0, 0);
46157   ;
46158   return 0;
46159 }
46160 _ACEOF
46161 rm -f conftest.$ac_objext
46162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46163   (eval $ac_compile) 2>conftest.er1
46164   ac_status=$?
46165   grep -v '^ *+' conftest.er1 >conftest.err
46166   rm -f conftest.er1
46167   cat conftest.err >&5
46168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46169   (exit $ac_status); } &&
46170          { ac_try='test -z "$ac_cxx_werror_flag"
46171                          || test ! -s conftest.err'
46172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46173   (eval $ac_try) 2>&5
46174   ac_status=$?
46175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46176   (exit $ac_status); }; } &&
46177          { ac_try='test -s conftest.$ac_objext'
46178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46179   (eval $ac_try) 2>&5
46180   ac_status=$?
46181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46182   (exit $ac_status); }; }; then
46183   glibcxx_cv_func__powl_use=yes
46184 else
46185   echo "$as_me: failed program was:" >&5
46186 sed 's/^/| /' conftest.$ac_ext >&5
46187
46188 glibcxx_cv_func__powl_use=no
46189 fi
46190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46191       ac_ext=c
46192 ac_cpp='$CPP $CPPFLAGS'
46193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46196
46197
46198 fi
46199
46200   fi
46201   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
46202 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
46203
46204     if test x$glibcxx_cv_func__powl_use = x"yes"; then
46205
46206 for ac_func in _powl
46207 do
46208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46209 echo "$as_me:$LINENO: checking for $ac_func" >&5
46210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46211 if eval "test \"\${$as_ac_var+set}\" = set"; then
46212   echo $ECHO_N "(cached) $ECHO_C" >&6
46213 else
46214   if test x$gcc_no_link = xyes; then
46215   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46217    { (exit 1); exit 1; }; }
46218 fi
46219 cat >conftest.$ac_ext <<_ACEOF
46220 /* confdefs.h.  */
46221 _ACEOF
46222 cat confdefs.h >>conftest.$ac_ext
46223 cat >>conftest.$ac_ext <<_ACEOF
46224 /* end confdefs.h.  */
46225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46226    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46227 #define $ac_func innocuous_$ac_func
46228
46229 /* System header to define __stub macros and hopefully few prototypes,
46230     which can conflict with char $ac_func (); below.
46231     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46232     <limits.h> exists even on freestanding compilers.  */
46233
46234 #ifdef __STDC__
46235 # include <limits.h>
46236 #else
46237 # include <assert.h>
46238 #endif
46239
46240 #undef $ac_func
46241
46242 /* Override any gcc2 internal prototype to avoid an error.  */
46243 #ifdef __cplusplus
46244 extern "C"
46245 {
46246 #endif
46247 /* We use char because int might match the return type of a gcc2
46248    builtin and then its argument prototype would still apply.  */
46249 char $ac_func ();
46250 /* The GNU C library defines this for functions which it implements
46251     to always fail with ENOSYS.  Some functions are actually named
46252     something starting with __ and the normal name is an alias.  */
46253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46254 choke me
46255 #else
46256 char (*f) () = $ac_func;
46257 #endif
46258 #ifdef __cplusplus
46259 }
46260 #endif
46261
46262 int
46263 main ()
46264 {
46265 return f != $ac_func;
46266   ;
46267   return 0;
46268 }
46269 _ACEOF
46270 rm -f conftest.$ac_objext conftest$ac_exeext
46271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46272   (eval $ac_link) 2>conftest.er1
46273   ac_status=$?
46274   grep -v '^ *+' conftest.er1 >conftest.err
46275   rm -f conftest.er1
46276   cat conftest.err >&5
46277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46278   (exit $ac_status); } &&
46279          { ac_try='test -z "$ac_c_werror_flag"
46280                          || test ! -s conftest.err'
46281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46282   (eval $ac_try) 2>&5
46283   ac_status=$?
46284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46285   (exit $ac_status); }; } &&
46286          { ac_try='test -s conftest$ac_exeext'
46287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46288   (eval $ac_try) 2>&5
46289   ac_status=$?
46290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46291   (exit $ac_status); }; }; then
46292   eval "$as_ac_var=yes"
46293 else
46294   echo "$as_me: failed program was:" >&5
46295 sed 's/^/| /' conftest.$ac_ext >&5
46296
46297 eval "$as_ac_var=no"
46298 fi
46299 rm -f conftest.err conftest.$ac_objext \
46300       conftest$ac_exeext conftest.$ac_ext
46301 fi
46302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46304 if test `eval echo '${'$as_ac_var'}'` = yes; then
46305   cat >>confdefs.h <<_ACEOF
46306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46307 _ACEOF
46308
46309 fi
46310 done
46311
46312     fi
46313   fi
46314
46315
46316
46317   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
46318 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
46319   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46320     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
46321   echo $ECHO_N "(cached) $ECHO_C" >&6
46322 else
46323
46324
46325
46326       ac_ext=cc
46327 ac_cpp='$CXXCPP $CPPFLAGS'
46328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46331
46332       cat >conftest.$ac_ext <<_ACEOF
46333 /* confdefs.h.  */
46334 _ACEOF
46335 cat confdefs.h >>conftest.$ac_ext
46336 cat >>conftest.$ac_ext <<_ACEOF
46337 /* end confdefs.h.  */
46338 #include <math.h>
46339                       #ifdef HAVE_IEEEFP_H
46340                       #include <ieeefp.h>
46341                       #endif
46342
46343 int
46344 main ()
46345 {
46346  sqrtl(0);
46347   ;
46348   return 0;
46349 }
46350 _ACEOF
46351 rm -f conftest.$ac_objext
46352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46353   (eval $ac_compile) 2>conftest.er1
46354   ac_status=$?
46355   grep -v '^ *+' conftest.er1 >conftest.err
46356   rm -f conftest.er1
46357   cat conftest.err >&5
46358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46359   (exit $ac_status); } &&
46360          { ac_try='test -z "$ac_cxx_werror_flag"
46361                          || test ! -s conftest.err'
46362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46363   (eval $ac_try) 2>&5
46364   ac_status=$?
46365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46366   (exit $ac_status); }; } &&
46367          { ac_try='test -s conftest.$ac_objext'
46368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46369   (eval $ac_try) 2>&5
46370   ac_status=$?
46371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46372   (exit $ac_status); }; }; then
46373   glibcxx_cv_func_sqrtl_use=yes
46374 else
46375   echo "$as_me: failed program was:" >&5
46376 sed 's/^/| /' conftest.$ac_ext >&5
46377
46378 glibcxx_cv_func_sqrtl_use=no
46379 fi
46380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46381       ac_ext=c
46382 ac_cpp='$CPP $CPPFLAGS'
46383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46386
46387
46388 fi
46389
46390   fi
46391   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
46392 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
46393
46394   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46395
46396 for ac_func in sqrtl
46397 do
46398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46399 echo "$as_me:$LINENO: checking for $ac_func" >&5
46400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46401 if eval "test \"\${$as_ac_var+set}\" = set"; then
46402   echo $ECHO_N "(cached) $ECHO_C" >&6
46403 else
46404   if test x$gcc_no_link = xyes; then
46405   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46407    { (exit 1); exit 1; }; }
46408 fi
46409 cat >conftest.$ac_ext <<_ACEOF
46410 /* confdefs.h.  */
46411 _ACEOF
46412 cat confdefs.h >>conftest.$ac_ext
46413 cat >>conftest.$ac_ext <<_ACEOF
46414 /* end confdefs.h.  */
46415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46416    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46417 #define $ac_func innocuous_$ac_func
46418
46419 /* System header to define __stub macros and hopefully few prototypes,
46420     which can conflict with char $ac_func (); below.
46421     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46422     <limits.h> exists even on freestanding compilers.  */
46423
46424 #ifdef __STDC__
46425 # include <limits.h>
46426 #else
46427 # include <assert.h>
46428 #endif
46429
46430 #undef $ac_func
46431
46432 /* Override any gcc2 internal prototype to avoid an error.  */
46433 #ifdef __cplusplus
46434 extern "C"
46435 {
46436 #endif
46437 /* We use char because int might match the return type of a gcc2
46438    builtin and then its argument prototype would still apply.  */
46439 char $ac_func ();
46440 /* The GNU C library defines this for functions which it implements
46441     to always fail with ENOSYS.  Some functions are actually named
46442     something starting with __ and the normal name is an alias.  */
46443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46444 choke me
46445 #else
46446 char (*f) () = $ac_func;
46447 #endif
46448 #ifdef __cplusplus
46449 }
46450 #endif
46451
46452 int
46453 main ()
46454 {
46455 return f != $ac_func;
46456   ;
46457   return 0;
46458 }
46459 _ACEOF
46460 rm -f conftest.$ac_objext conftest$ac_exeext
46461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46462   (eval $ac_link) 2>conftest.er1
46463   ac_status=$?
46464   grep -v '^ *+' conftest.er1 >conftest.err
46465   rm -f conftest.er1
46466   cat conftest.err >&5
46467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46468   (exit $ac_status); } &&
46469          { ac_try='test -z "$ac_c_werror_flag"
46470                          || test ! -s conftest.err'
46471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46472   (eval $ac_try) 2>&5
46473   ac_status=$?
46474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46475   (exit $ac_status); }; } &&
46476          { ac_try='test -s conftest$ac_exeext'
46477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46478   (eval $ac_try) 2>&5
46479   ac_status=$?
46480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46481   (exit $ac_status); }; }; then
46482   eval "$as_ac_var=yes"
46483 else
46484   echo "$as_me: failed program was:" >&5
46485 sed 's/^/| /' conftest.$ac_ext >&5
46486
46487 eval "$as_ac_var=no"
46488 fi
46489 rm -f conftest.err conftest.$ac_objext \
46490       conftest$ac_exeext conftest.$ac_ext
46491 fi
46492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46494 if test `eval echo '${'$as_ac_var'}'` = yes; then
46495   cat >>confdefs.h <<_ACEOF
46496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46497 _ACEOF
46498
46499 fi
46500 done
46501
46502   else
46503
46504   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
46505 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
46506   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46507     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
46508   echo $ECHO_N "(cached) $ECHO_C" >&6
46509 else
46510
46511
46512
46513       ac_ext=cc
46514 ac_cpp='$CXXCPP $CPPFLAGS'
46515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46518
46519       cat >conftest.$ac_ext <<_ACEOF
46520 /* confdefs.h.  */
46521 _ACEOF
46522 cat confdefs.h >>conftest.$ac_ext
46523 cat >>conftest.$ac_ext <<_ACEOF
46524 /* end confdefs.h.  */
46525 #include <math.h>
46526                       #ifdef HAVE_IEEEFP_H
46527                       #include <ieeefp.h>
46528                       #endif
46529
46530 int
46531 main ()
46532 {
46533  _sqrtl(0);
46534   ;
46535   return 0;
46536 }
46537 _ACEOF
46538 rm -f conftest.$ac_objext
46539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46540   (eval $ac_compile) 2>conftest.er1
46541   ac_status=$?
46542   grep -v '^ *+' conftest.er1 >conftest.err
46543   rm -f conftest.er1
46544   cat conftest.err >&5
46545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46546   (exit $ac_status); } &&
46547          { ac_try='test -z "$ac_cxx_werror_flag"
46548                          || test ! -s conftest.err'
46549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46550   (eval $ac_try) 2>&5
46551   ac_status=$?
46552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46553   (exit $ac_status); }; } &&
46554          { ac_try='test -s conftest.$ac_objext'
46555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46556   (eval $ac_try) 2>&5
46557   ac_status=$?
46558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46559   (exit $ac_status); }; }; then
46560   glibcxx_cv_func__sqrtl_use=yes
46561 else
46562   echo "$as_me: failed program was:" >&5
46563 sed 's/^/| /' conftest.$ac_ext >&5
46564
46565 glibcxx_cv_func__sqrtl_use=no
46566 fi
46567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46568       ac_ext=c
46569 ac_cpp='$CPP $CPPFLAGS'
46570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46573
46574
46575 fi
46576
46577   fi
46578   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
46579 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
46580
46581     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46582
46583 for ac_func in _sqrtl
46584 do
46585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46586 echo "$as_me:$LINENO: checking for $ac_func" >&5
46587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46588 if eval "test \"\${$as_ac_var+set}\" = set"; then
46589   echo $ECHO_N "(cached) $ECHO_C" >&6
46590 else
46591   if test x$gcc_no_link = xyes; then
46592   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46594    { (exit 1); exit 1; }; }
46595 fi
46596 cat >conftest.$ac_ext <<_ACEOF
46597 /* confdefs.h.  */
46598 _ACEOF
46599 cat confdefs.h >>conftest.$ac_ext
46600 cat >>conftest.$ac_ext <<_ACEOF
46601 /* end confdefs.h.  */
46602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46603    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46604 #define $ac_func innocuous_$ac_func
46605
46606 /* System header to define __stub macros and hopefully few prototypes,
46607     which can conflict with char $ac_func (); below.
46608     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46609     <limits.h> exists even on freestanding compilers.  */
46610
46611 #ifdef __STDC__
46612 # include <limits.h>
46613 #else
46614 # include <assert.h>
46615 #endif
46616
46617 #undef $ac_func
46618
46619 /* Override any gcc2 internal prototype to avoid an error.  */
46620 #ifdef __cplusplus
46621 extern "C"
46622 {
46623 #endif
46624 /* We use char because int might match the return type of a gcc2
46625    builtin and then its argument prototype would still apply.  */
46626 char $ac_func ();
46627 /* The GNU C library defines this for functions which it implements
46628     to always fail with ENOSYS.  Some functions are actually named
46629     something starting with __ and the normal name is an alias.  */
46630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46631 choke me
46632 #else
46633 char (*f) () = $ac_func;
46634 #endif
46635 #ifdef __cplusplus
46636 }
46637 #endif
46638
46639 int
46640 main ()
46641 {
46642 return f != $ac_func;
46643   ;
46644   return 0;
46645 }
46646 _ACEOF
46647 rm -f conftest.$ac_objext conftest$ac_exeext
46648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46649   (eval $ac_link) 2>conftest.er1
46650   ac_status=$?
46651   grep -v '^ *+' conftest.er1 >conftest.err
46652   rm -f conftest.er1
46653   cat conftest.err >&5
46654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46655   (exit $ac_status); } &&
46656          { ac_try='test -z "$ac_c_werror_flag"
46657                          || test ! -s conftest.err'
46658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46659   (eval $ac_try) 2>&5
46660   ac_status=$?
46661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46662   (exit $ac_status); }; } &&
46663          { ac_try='test -s conftest$ac_exeext'
46664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46665   (eval $ac_try) 2>&5
46666   ac_status=$?
46667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46668   (exit $ac_status); }; }; then
46669   eval "$as_ac_var=yes"
46670 else
46671   echo "$as_me: failed program was:" >&5
46672 sed 's/^/| /' conftest.$ac_ext >&5
46673
46674 eval "$as_ac_var=no"
46675 fi
46676 rm -f conftest.err conftest.$ac_objext \
46677       conftest$ac_exeext conftest.$ac_ext
46678 fi
46679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46681 if test `eval echo '${'$as_ac_var'}'` = yes; then
46682   cat >>confdefs.h <<_ACEOF
46683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46684 _ACEOF
46685
46686 fi
46687 done
46688
46689     fi
46690   fi
46691
46692
46693
46694   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
46695 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
46696   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46697     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
46698   echo $ECHO_N "(cached) $ECHO_C" >&6
46699 else
46700
46701
46702
46703       ac_ext=cc
46704 ac_cpp='$CXXCPP $CPPFLAGS'
46705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46708
46709       cat >conftest.$ac_ext <<_ACEOF
46710 /* confdefs.h.  */
46711 _ACEOF
46712 cat confdefs.h >>conftest.$ac_ext
46713 cat >>conftest.$ac_ext <<_ACEOF
46714 /* end confdefs.h.  */
46715 #include <math.h>
46716 int
46717 main ()
46718 {
46719  sincosl(0, 0, 0);
46720   ;
46721   return 0;
46722 }
46723 _ACEOF
46724 rm -f conftest.$ac_objext
46725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46726   (eval $ac_compile) 2>conftest.er1
46727   ac_status=$?
46728   grep -v '^ *+' conftest.er1 >conftest.err
46729   rm -f conftest.er1
46730   cat conftest.err >&5
46731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46732   (exit $ac_status); } &&
46733          { ac_try='test -z "$ac_cxx_werror_flag"
46734                          || test ! -s conftest.err'
46735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46736   (eval $ac_try) 2>&5
46737   ac_status=$?
46738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46739   (exit $ac_status); }; } &&
46740          { ac_try='test -s conftest.$ac_objext'
46741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46742   (eval $ac_try) 2>&5
46743   ac_status=$?
46744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46745   (exit $ac_status); }; }; then
46746   glibcxx_cv_func_sincosl_use=yes
46747 else
46748   echo "$as_me: failed program was:" >&5
46749 sed 's/^/| /' conftest.$ac_ext >&5
46750
46751 glibcxx_cv_func_sincosl_use=no
46752 fi
46753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46754       ac_ext=c
46755 ac_cpp='$CPP $CPPFLAGS'
46756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46759
46760
46761 fi
46762
46763   fi
46764   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
46765 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
46766
46767   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46768
46769 for ac_func in sincosl
46770 do
46771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46772 echo "$as_me:$LINENO: checking for $ac_func" >&5
46773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46774 if eval "test \"\${$as_ac_var+set}\" = set"; then
46775   echo $ECHO_N "(cached) $ECHO_C" >&6
46776 else
46777   if test x$gcc_no_link = xyes; then
46778   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46780    { (exit 1); exit 1; }; }
46781 fi
46782 cat >conftest.$ac_ext <<_ACEOF
46783 /* confdefs.h.  */
46784 _ACEOF
46785 cat confdefs.h >>conftest.$ac_ext
46786 cat >>conftest.$ac_ext <<_ACEOF
46787 /* end confdefs.h.  */
46788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46789    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46790 #define $ac_func innocuous_$ac_func
46791
46792 /* System header to define __stub macros and hopefully few prototypes,
46793     which can conflict with char $ac_func (); below.
46794     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46795     <limits.h> exists even on freestanding compilers.  */
46796
46797 #ifdef __STDC__
46798 # include <limits.h>
46799 #else
46800 # include <assert.h>
46801 #endif
46802
46803 #undef $ac_func
46804
46805 /* Override any gcc2 internal prototype to avoid an error.  */
46806 #ifdef __cplusplus
46807 extern "C"
46808 {
46809 #endif
46810 /* We use char because int might match the return type of a gcc2
46811    builtin and then its argument prototype would still apply.  */
46812 char $ac_func ();
46813 /* The GNU C library defines this for functions which it implements
46814     to always fail with ENOSYS.  Some functions are actually named
46815     something starting with __ and the normal name is an alias.  */
46816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46817 choke me
46818 #else
46819 char (*f) () = $ac_func;
46820 #endif
46821 #ifdef __cplusplus
46822 }
46823 #endif
46824
46825 int
46826 main ()
46827 {
46828 return f != $ac_func;
46829   ;
46830   return 0;
46831 }
46832 _ACEOF
46833 rm -f conftest.$ac_objext conftest$ac_exeext
46834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46835   (eval $ac_link) 2>conftest.er1
46836   ac_status=$?
46837   grep -v '^ *+' conftest.er1 >conftest.err
46838   rm -f conftest.er1
46839   cat conftest.err >&5
46840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46841   (exit $ac_status); } &&
46842          { ac_try='test -z "$ac_c_werror_flag"
46843                          || test ! -s conftest.err'
46844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46845   (eval $ac_try) 2>&5
46846   ac_status=$?
46847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46848   (exit $ac_status); }; } &&
46849          { ac_try='test -s conftest$ac_exeext'
46850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46851   (eval $ac_try) 2>&5
46852   ac_status=$?
46853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46854   (exit $ac_status); }; }; then
46855   eval "$as_ac_var=yes"
46856 else
46857   echo "$as_me: failed program was:" >&5
46858 sed 's/^/| /' conftest.$ac_ext >&5
46859
46860 eval "$as_ac_var=no"
46861 fi
46862 rm -f conftest.err conftest.$ac_objext \
46863       conftest$ac_exeext conftest.$ac_ext
46864 fi
46865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46867 if test `eval echo '${'$as_ac_var'}'` = yes; then
46868   cat >>confdefs.h <<_ACEOF
46869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46870 _ACEOF
46871
46872 fi
46873 done
46874
46875   else
46876
46877   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
46878 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
46879   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46880     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
46881   echo $ECHO_N "(cached) $ECHO_C" >&6
46882 else
46883
46884
46885
46886       ac_ext=cc
46887 ac_cpp='$CXXCPP $CPPFLAGS'
46888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46891
46892       cat >conftest.$ac_ext <<_ACEOF
46893 /* confdefs.h.  */
46894 _ACEOF
46895 cat confdefs.h >>conftest.$ac_ext
46896 cat >>conftest.$ac_ext <<_ACEOF
46897 /* end confdefs.h.  */
46898 #include <math.h>
46899 int
46900 main ()
46901 {
46902  _sincosl(0, 0, 0);
46903   ;
46904   return 0;
46905 }
46906 _ACEOF
46907 rm -f conftest.$ac_objext
46908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46909   (eval $ac_compile) 2>conftest.er1
46910   ac_status=$?
46911   grep -v '^ *+' conftest.er1 >conftest.err
46912   rm -f conftest.er1
46913   cat conftest.err >&5
46914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46915   (exit $ac_status); } &&
46916          { ac_try='test -z "$ac_cxx_werror_flag"
46917                          || test ! -s conftest.err'
46918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46919   (eval $ac_try) 2>&5
46920   ac_status=$?
46921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46922   (exit $ac_status); }; } &&
46923          { ac_try='test -s conftest.$ac_objext'
46924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46925   (eval $ac_try) 2>&5
46926   ac_status=$?
46927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46928   (exit $ac_status); }; }; then
46929   glibcxx_cv_func__sincosl_use=yes
46930 else
46931   echo "$as_me: failed program was:" >&5
46932 sed 's/^/| /' conftest.$ac_ext >&5
46933
46934 glibcxx_cv_func__sincosl_use=no
46935 fi
46936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46937       ac_ext=c
46938 ac_cpp='$CPP $CPPFLAGS'
46939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46942
46943
46944 fi
46945
46946   fi
46947   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
46948 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
46949
46950     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46951
46952 for ac_func in _sincosl
46953 do
46954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46955 echo "$as_me:$LINENO: checking for $ac_func" >&5
46956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46957 if eval "test \"\${$as_ac_var+set}\" = set"; then
46958   echo $ECHO_N "(cached) $ECHO_C" >&6
46959 else
46960   if test x$gcc_no_link = xyes; then
46961   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46963    { (exit 1); exit 1; }; }
46964 fi
46965 cat >conftest.$ac_ext <<_ACEOF
46966 /* confdefs.h.  */
46967 _ACEOF
46968 cat confdefs.h >>conftest.$ac_ext
46969 cat >>conftest.$ac_ext <<_ACEOF
46970 /* end confdefs.h.  */
46971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46972    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46973 #define $ac_func innocuous_$ac_func
46974
46975 /* System header to define __stub macros and hopefully few prototypes,
46976     which can conflict with char $ac_func (); below.
46977     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46978     <limits.h> exists even on freestanding compilers.  */
46979
46980 #ifdef __STDC__
46981 # include <limits.h>
46982 #else
46983 # include <assert.h>
46984 #endif
46985
46986 #undef $ac_func
46987
46988 /* Override any gcc2 internal prototype to avoid an error.  */
46989 #ifdef __cplusplus
46990 extern "C"
46991 {
46992 #endif
46993 /* We use char because int might match the return type of a gcc2
46994    builtin and then its argument prototype would still apply.  */
46995 char $ac_func ();
46996 /* The GNU C library defines this for functions which it implements
46997     to always fail with ENOSYS.  Some functions are actually named
46998     something starting with __ and the normal name is an alias.  */
46999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47000 choke me
47001 #else
47002 char (*f) () = $ac_func;
47003 #endif
47004 #ifdef __cplusplus
47005 }
47006 #endif
47007
47008 int
47009 main ()
47010 {
47011 return f != $ac_func;
47012   ;
47013   return 0;
47014 }
47015 _ACEOF
47016 rm -f conftest.$ac_objext conftest$ac_exeext
47017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47018   (eval $ac_link) 2>conftest.er1
47019   ac_status=$?
47020   grep -v '^ *+' conftest.er1 >conftest.err
47021   rm -f conftest.er1
47022   cat conftest.err >&5
47023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47024   (exit $ac_status); } &&
47025          { ac_try='test -z "$ac_c_werror_flag"
47026                          || test ! -s conftest.err'
47027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47028   (eval $ac_try) 2>&5
47029   ac_status=$?
47030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47031   (exit $ac_status); }; } &&
47032          { ac_try='test -s conftest$ac_exeext'
47033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47034   (eval $ac_try) 2>&5
47035   ac_status=$?
47036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47037   (exit $ac_status); }; }; then
47038   eval "$as_ac_var=yes"
47039 else
47040   echo "$as_me: failed program was:" >&5
47041 sed 's/^/| /' conftest.$ac_ext >&5
47042
47043 eval "$as_ac_var=no"
47044 fi
47045 rm -f conftest.err conftest.$ac_objext \
47046       conftest$ac_exeext conftest.$ac_ext
47047 fi
47048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47050 if test `eval echo '${'$as_ac_var'}'` = yes; then
47051   cat >>confdefs.h <<_ACEOF
47052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47053 _ACEOF
47054
47055 fi
47056 done
47057
47058     fi
47059   fi
47060
47061
47062
47063   echo "$as_me:$LINENO: checking for finitel declaration" >&5
47064 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
47065   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
47066     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
47067   echo $ECHO_N "(cached) $ECHO_C" >&6
47068 else
47069
47070
47071
47072       ac_ext=cc
47073 ac_cpp='$CXXCPP $CPPFLAGS'
47074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47077
47078       cat >conftest.$ac_ext <<_ACEOF
47079 /* confdefs.h.  */
47080 _ACEOF
47081 cat confdefs.h >>conftest.$ac_ext
47082 cat >>conftest.$ac_ext <<_ACEOF
47083 /* end confdefs.h.  */
47084 #include <math.h>
47085                       #ifdef HAVE_IEEEFP_H
47086                       #include <ieeefp.h>
47087                       #endif
47088
47089 int
47090 main ()
47091 {
47092  finitel(0);
47093   ;
47094   return 0;
47095 }
47096 _ACEOF
47097 rm -f conftest.$ac_objext
47098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47099   (eval $ac_compile) 2>conftest.er1
47100   ac_status=$?
47101   grep -v '^ *+' conftest.er1 >conftest.err
47102   rm -f conftest.er1
47103   cat conftest.err >&5
47104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47105   (exit $ac_status); } &&
47106          { ac_try='test -z "$ac_cxx_werror_flag"
47107                          || test ! -s conftest.err'
47108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47109   (eval $ac_try) 2>&5
47110   ac_status=$?
47111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47112   (exit $ac_status); }; } &&
47113          { ac_try='test -s conftest.$ac_objext'
47114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47115   (eval $ac_try) 2>&5
47116   ac_status=$?
47117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47118   (exit $ac_status); }; }; then
47119   glibcxx_cv_func_finitel_use=yes
47120 else
47121   echo "$as_me: failed program was:" >&5
47122 sed 's/^/| /' conftest.$ac_ext >&5
47123
47124 glibcxx_cv_func_finitel_use=no
47125 fi
47126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47127       ac_ext=c
47128 ac_cpp='$CPP $CPPFLAGS'
47129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47132
47133
47134 fi
47135
47136   fi
47137   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
47138 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
47139
47140   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
47141
47142 for ac_func in finitel
47143 do
47144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47145 echo "$as_me:$LINENO: checking for $ac_func" >&5
47146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47147 if eval "test \"\${$as_ac_var+set}\" = set"; then
47148   echo $ECHO_N "(cached) $ECHO_C" >&6
47149 else
47150   if test x$gcc_no_link = xyes; then
47151   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47153    { (exit 1); exit 1; }; }
47154 fi
47155 cat >conftest.$ac_ext <<_ACEOF
47156 /* confdefs.h.  */
47157 _ACEOF
47158 cat confdefs.h >>conftest.$ac_ext
47159 cat >>conftest.$ac_ext <<_ACEOF
47160 /* end confdefs.h.  */
47161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47162    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47163 #define $ac_func innocuous_$ac_func
47164
47165 /* System header to define __stub macros and hopefully few prototypes,
47166     which can conflict with char $ac_func (); below.
47167     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47168     <limits.h> exists even on freestanding compilers.  */
47169
47170 #ifdef __STDC__
47171 # include <limits.h>
47172 #else
47173 # include <assert.h>
47174 #endif
47175
47176 #undef $ac_func
47177
47178 /* Override any gcc2 internal prototype to avoid an error.  */
47179 #ifdef __cplusplus
47180 extern "C"
47181 {
47182 #endif
47183 /* We use char because int might match the return type of a gcc2
47184    builtin and then its argument prototype would still apply.  */
47185 char $ac_func ();
47186 /* The GNU C library defines this for functions which it implements
47187     to always fail with ENOSYS.  Some functions are actually named
47188     something starting with __ and the normal name is an alias.  */
47189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47190 choke me
47191 #else
47192 char (*f) () = $ac_func;
47193 #endif
47194 #ifdef __cplusplus
47195 }
47196 #endif
47197
47198 int
47199 main ()
47200 {
47201 return f != $ac_func;
47202   ;
47203   return 0;
47204 }
47205 _ACEOF
47206 rm -f conftest.$ac_objext conftest$ac_exeext
47207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47208   (eval $ac_link) 2>conftest.er1
47209   ac_status=$?
47210   grep -v '^ *+' conftest.er1 >conftest.err
47211   rm -f conftest.er1
47212   cat conftest.err >&5
47213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47214   (exit $ac_status); } &&
47215          { ac_try='test -z "$ac_c_werror_flag"
47216                          || test ! -s conftest.err'
47217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47218   (eval $ac_try) 2>&5
47219   ac_status=$?
47220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47221   (exit $ac_status); }; } &&
47222          { ac_try='test -s conftest$ac_exeext'
47223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47224   (eval $ac_try) 2>&5
47225   ac_status=$?
47226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47227   (exit $ac_status); }; }; then
47228   eval "$as_ac_var=yes"
47229 else
47230   echo "$as_me: failed program was:" >&5
47231 sed 's/^/| /' conftest.$ac_ext >&5
47232
47233 eval "$as_ac_var=no"
47234 fi
47235 rm -f conftest.err conftest.$ac_objext \
47236       conftest$ac_exeext conftest.$ac_ext
47237 fi
47238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47240 if test `eval echo '${'$as_ac_var'}'` = yes; then
47241   cat >>confdefs.h <<_ACEOF
47242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47243 _ACEOF
47244
47245 fi
47246 done
47247
47248   else
47249
47250   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
47251 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
47252   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47253     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
47254   echo $ECHO_N "(cached) $ECHO_C" >&6
47255 else
47256
47257
47258
47259       ac_ext=cc
47260 ac_cpp='$CXXCPP $CPPFLAGS'
47261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47264
47265       cat >conftest.$ac_ext <<_ACEOF
47266 /* confdefs.h.  */
47267 _ACEOF
47268 cat confdefs.h >>conftest.$ac_ext
47269 cat >>conftest.$ac_ext <<_ACEOF
47270 /* end confdefs.h.  */
47271 #include <math.h>
47272                       #ifdef HAVE_IEEEFP_H
47273                       #include <ieeefp.h>
47274                       #endif
47275
47276 int
47277 main ()
47278 {
47279  _finitel(0);
47280   ;
47281   return 0;
47282 }
47283 _ACEOF
47284 rm -f conftest.$ac_objext
47285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47286   (eval $ac_compile) 2>conftest.er1
47287   ac_status=$?
47288   grep -v '^ *+' conftest.er1 >conftest.err
47289   rm -f conftest.er1
47290   cat conftest.err >&5
47291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47292   (exit $ac_status); } &&
47293          { ac_try='test -z "$ac_cxx_werror_flag"
47294                          || test ! -s conftest.err'
47295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47296   (eval $ac_try) 2>&5
47297   ac_status=$?
47298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47299   (exit $ac_status); }; } &&
47300          { ac_try='test -s conftest.$ac_objext'
47301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47302   (eval $ac_try) 2>&5
47303   ac_status=$?
47304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47305   (exit $ac_status); }; }; then
47306   glibcxx_cv_func__finitel_use=yes
47307 else
47308   echo "$as_me: failed program was:" >&5
47309 sed 's/^/| /' conftest.$ac_ext >&5
47310
47311 glibcxx_cv_func__finitel_use=no
47312 fi
47313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47314       ac_ext=c
47315 ac_cpp='$CPP $CPPFLAGS'
47316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47319
47320
47321 fi
47322
47323   fi
47324   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
47325 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
47326
47327     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47328
47329 for ac_func in _finitel
47330 do
47331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47332 echo "$as_me:$LINENO: checking for $ac_func" >&5
47333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47334 if eval "test \"\${$as_ac_var+set}\" = set"; then
47335   echo $ECHO_N "(cached) $ECHO_C" >&6
47336 else
47337   if test x$gcc_no_link = xyes; then
47338   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47340    { (exit 1); exit 1; }; }
47341 fi
47342 cat >conftest.$ac_ext <<_ACEOF
47343 /* confdefs.h.  */
47344 _ACEOF
47345 cat confdefs.h >>conftest.$ac_ext
47346 cat >>conftest.$ac_ext <<_ACEOF
47347 /* end confdefs.h.  */
47348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47349    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47350 #define $ac_func innocuous_$ac_func
47351
47352 /* System header to define __stub macros and hopefully few prototypes,
47353     which can conflict with char $ac_func (); below.
47354     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47355     <limits.h> exists even on freestanding compilers.  */
47356
47357 #ifdef __STDC__
47358 # include <limits.h>
47359 #else
47360 # include <assert.h>
47361 #endif
47362
47363 #undef $ac_func
47364
47365 /* Override any gcc2 internal prototype to avoid an error.  */
47366 #ifdef __cplusplus
47367 extern "C"
47368 {
47369 #endif
47370 /* We use char because int might match the return type of a gcc2
47371    builtin and then its argument prototype would still apply.  */
47372 char $ac_func ();
47373 /* The GNU C library defines this for functions which it implements
47374     to always fail with ENOSYS.  Some functions are actually named
47375     something starting with __ and the normal name is an alias.  */
47376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47377 choke me
47378 #else
47379 char (*f) () = $ac_func;
47380 #endif
47381 #ifdef __cplusplus
47382 }
47383 #endif
47384
47385 int
47386 main ()
47387 {
47388 return f != $ac_func;
47389   ;
47390   return 0;
47391 }
47392 _ACEOF
47393 rm -f conftest.$ac_objext conftest$ac_exeext
47394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47395   (eval $ac_link) 2>conftest.er1
47396   ac_status=$?
47397   grep -v '^ *+' conftest.er1 >conftest.err
47398   rm -f conftest.er1
47399   cat conftest.err >&5
47400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47401   (exit $ac_status); } &&
47402          { ac_try='test -z "$ac_c_werror_flag"
47403                          || test ! -s conftest.err'
47404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47405   (eval $ac_try) 2>&5
47406   ac_status=$?
47407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47408   (exit $ac_status); }; } &&
47409          { ac_try='test -s conftest$ac_exeext'
47410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47411   (eval $ac_try) 2>&5
47412   ac_status=$?
47413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47414   (exit $ac_status); }; }; then
47415   eval "$as_ac_var=yes"
47416 else
47417   echo "$as_me: failed program was:" >&5
47418 sed 's/^/| /' conftest.$ac_ext >&5
47419
47420 eval "$as_ac_var=no"
47421 fi
47422 rm -f conftest.err conftest.$ac_objext \
47423       conftest$ac_exeext conftest.$ac_ext
47424 fi
47425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47427 if test `eval echo '${'$as_ac_var'}'` = yes; then
47428   cat >>confdefs.h <<_ACEOF
47429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47430 _ACEOF
47431
47432 fi
47433 done
47434
47435     fi
47436   fi
47437
47438
47439
47440
47441   echo "$as_me:$LINENO: checking for _float trig functions" >&5
47442 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
47443   if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
47444   echo $ECHO_N "(cached) $ECHO_C" >&6
47445 else
47446
47447
47448
47449     ac_ext=cc
47450 ac_cpp='$CXXCPP $CPPFLAGS'
47451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47454
47455     cat >conftest.$ac_ext <<_ACEOF
47456 /* confdefs.h.  */
47457 _ACEOF
47458 cat confdefs.h >>conftest.$ac_ext
47459 cat >>conftest.$ac_ext <<_ACEOF
47460 /* end confdefs.h.  */
47461 #include <math.h>
47462 int
47463 main ()
47464 {
47465  `for x in _acosf _asinf _atanf \
47466                                           _cosf _sinf _tanf \
47467                                           _coshf _sinhf _tanhf; do echo "$x (0);"; done`
47468   ;
47469   return 0;
47470 }
47471 _ACEOF
47472 rm -f conftest.$ac_objext
47473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47474   (eval $ac_compile) 2>conftest.er1
47475   ac_status=$?
47476   grep -v '^ *+' conftest.er1 >conftest.err
47477   rm -f conftest.er1
47478   cat conftest.err >&5
47479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47480   (exit $ac_status); } &&
47481          { ac_try='test -z "$ac_cxx_werror_flag"
47482                          || test ! -s conftest.err'
47483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47484   (eval $ac_try) 2>&5
47485   ac_status=$?
47486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47487   (exit $ac_status); }; } &&
47488          { ac_try='test -s conftest.$ac_objext'
47489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47490   (eval $ac_try) 2>&5
47491   ac_status=$?
47492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47493   (exit $ac_status); }; }; then
47494   glibcxx_cv_func__float_trig_use=yes
47495 else
47496   echo "$as_me: failed program was:" >&5
47497 sed 's/^/| /' conftest.$ac_ext >&5
47498
47499 glibcxx_cv_func__float_trig_use=no
47500 fi
47501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47502     ac_ext=c
47503 ac_cpp='$CPP $CPPFLAGS'
47504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47507
47508 fi
47509
47510   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
47511 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
47512   if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47513
47514
47515
47516
47517
47518
47519
47520
47521
47522 for ac_func in _acosf _asinf _atanf \
47523                                           _cosf _sinf _tanf \
47524                                           _coshf _sinhf _tanhf
47525 do
47526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47527 echo "$as_me:$LINENO: checking for $ac_func" >&5
47528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47529 if eval "test \"\${$as_ac_var+set}\" = set"; then
47530   echo $ECHO_N "(cached) $ECHO_C" >&6
47531 else
47532   if test x$gcc_no_link = xyes; then
47533   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47535    { (exit 1); exit 1; }; }
47536 fi
47537 cat >conftest.$ac_ext <<_ACEOF
47538 /* confdefs.h.  */
47539 _ACEOF
47540 cat confdefs.h >>conftest.$ac_ext
47541 cat >>conftest.$ac_ext <<_ACEOF
47542 /* end confdefs.h.  */
47543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47544    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47545 #define $ac_func innocuous_$ac_func
47546
47547 /* System header to define __stub macros and hopefully few prototypes,
47548     which can conflict with char $ac_func (); below.
47549     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47550     <limits.h> exists even on freestanding compilers.  */
47551
47552 #ifdef __STDC__
47553 # include <limits.h>
47554 #else
47555 # include <assert.h>
47556 #endif
47557
47558 #undef $ac_func
47559
47560 /* Override any gcc2 internal prototype to avoid an error.  */
47561 #ifdef __cplusplus
47562 extern "C"
47563 {
47564 #endif
47565 /* We use char because int might match the return type of a gcc2
47566    builtin and then its argument prototype would still apply.  */
47567 char $ac_func ();
47568 /* The GNU C library defines this for functions which it implements
47569     to always fail with ENOSYS.  Some functions are actually named
47570     something starting with __ and the normal name is an alias.  */
47571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47572 choke me
47573 #else
47574 char (*f) () = $ac_func;
47575 #endif
47576 #ifdef __cplusplus
47577 }
47578 #endif
47579
47580 int
47581 main ()
47582 {
47583 return f != $ac_func;
47584   ;
47585   return 0;
47586 }
47587 _ACEOF
47588 rm -f conftest.$ac_objext conftest$ac_exeext
47589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47590   (eval $ac_link) 2>conftest.er1
47591   ac_status=$?
47592   grep -v '^ *+' conftest.er1 >conftest.err
47593   rm -f conftest.er1
47594   cat conftest.err >&5
47595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47596   (exit $ac_status); } &&
47597          { ac_try='test -z "$ac_c_werror_flag"
47598                          || test ! -s conftest.err'
47599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47600   (eval $ac_try) 2>&5
47601   ac_status=$?
47602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47603   (exit $ac_status); }; } &&
47604          { ac_try='test -s conftest$ac_exeext'
47605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47606   (eval $ac_try) 2>&5
47607   ac_status=$?
47608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47609   (exit $ac_status); }; }; then
47610   eval "$as_ac_var=yes"
47611 else
47612   echo "$as_me: failed program was:" >&5
47613 sed 's/^/| /' conftest.$ac_ext >&5
47614
47615 eval "$as_ac_var=no"
47616 fi
47617 rm -f conftest.err conftest.$ac_objext \
47618       conftest$ac_exeext conftest.$ac_ext
47619 fi
47620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47622 if test `eval echo '${'$as_ac_var'}'` = yes; then
47623   cat >>confdefs.h <<_ACEOF
47624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47625 _ACEOF
47626
47627 fi
47628 done
47629
47630   fi
47631
47632
47633   echo "$as_me:$LINENO: checking for _float round functions" >&5
47634 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
47635   if test "${glibcxx_cv_func__float_round_use+set}" = set; then
47636   echo $ECHO_N "(cached) $ECHO_C" >&6
47637 else
47638
47639
47640
47641     ac_ext=cc
47642 ac_cpp='$CXXCPP $CPPFLAGS'
47643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47646
47647     cat >conftest.$ac_ext <<_ACEOF
47648 /* confdefs.h.  */
47649 _ACEOF
47650 cat confdefs.h >>conftest.$ac_ext
47651 cat >>conftest.$ac_ext <<_ACEOF
47652 /* end confdefs.h.  */
47653 #include <math.h>
47654 int
47655 main ()
47656 {
47657  `for x in _ceilf _floorf; do echo "$x (0);"; done`
47658   ;
47659   return 0;
47660 }
47661 _ACEOF
47662 rm -f conftest.$ac_objext
47663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47664   (eval $ac_compile) 2>conftest.er1
47665   ac_status=$?
47666   grep -v '^ *+' conftest.er1 >conftest.err
47667   rm -f conftest.er1
47668   cat conftest.err >&5
47669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47670   (exit $ac_status); } &&
47671          { ac_try='test -z "$ac_cxx_werror_flag"
47672                          || test ! -s conftest.err'
47673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47674   (eval $ac_try) 2>&5
47675   ac_status=$?
47676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47677   (exit $ac_status); }; } &&
47678          { ac_try='test -s conftest.$ac_objext'
47679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47680   (eval $ac_try) 2>&5
47681   ac_status=$?
47682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47683   (exit $ac_status); }; }; then
47684   glibcxx_cv_func__float_round_use=yes
47685 else
47686   echo "$as_me: failed program was:" >&5
47687 sed 's/^/| /' conftest.$ac_ext >&5
47688
47689 glibcxx_cv_func__float_round_use=no
47690 fi
47691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47692     ac_ext=c
47693 ac_cpp='$CPP $CPPFLAGS'
47694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47697
47698 fi
47699
47700   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
47701 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
47702   if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47703
47704
47705 for ac_func in _ceilf _floorf
47706 do
47707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47708 echo "$as_me:$LINENO: checking for $ac_func" >&5
47709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47710 if eval "test \"\${$as_ac_var+set}\" = set"; then
47711   echo $ECHO_N "(cached) $ECHO_C" >&6
47712 else
47713   if test x$gcc_no_link = xyes; then
47714   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47716    { (exit 1); exit 1; }; }
47717 fi
47718 cat >conftest.$ac_ext <<_ACEOF
47719 /* confdefs.h.  */
47720 _ACEOF
47721 cat confdefs.h >>conftest.$ac_ext
47722 cat >>conftest.$ac_ext <<_ACEOF
47723 /* end confdefs.h.  */
47724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47725    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47726 #define $ac_func innocuous_$ac_func
47727
47728 /* System header to define __stub macros and hopefully few prototypes,
47729     which can conflict with char $ac_func (); below.
47730     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47731     <limits.h> exists even on freestanding compilers.  */
47732
47733 #ifdef __STDC__
47734 # include <limits.h>
47735 #else
47736 # include <assert.h>
47737 #endif
47738
47739 #undef $ac_func
47740
47741 /* Override any gcc2 internal prototype to avoid an error.  */
47742 #ifdef __cplusplus
47743 extern "C"
47744 {
47745 #endif
47746 /* We use char because int might match the return type of a gcc2
47747    builtin and then its argument prototype would still apply.  */
47748 char $ac_func ();
47749 /* The GNU C library defines this for functions which it implements
47750     to always fail with ENOSYS.  Some functions are actually named
47751     something starting with __ and the normal name is an alias.  */
47752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47753 choke me
47754 #else
47755 char (*f) () = $ac_func;
47756 #endif
47757 #ifdef __cplusplus
47758 }
47759 #endif
47760
47761 int
47762 main ()
47763 {
47764 return f != $ac_func;
47765   ;
47766   return 0;
47767 }
47768 _ACEOF
47769 rm -f conftest.$ac_objext conftest$ac_exeext
47770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47771   (eval $ac_link) 2>conftest.er1
47772   ac_status=$?
47773   grep -v '^ *+' conftest.er1 >conftest.err
47774   rm -f conftest.er1
47775   cat conftest.err >&5
47776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47777   (exit $ac_status); } &&
47778          { ac_try='test -z "$ac_c_werror_flag"
47779                          || test ! -s conftest.err'
47780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47781   (eval $ac_try) 2>&5
47782   ac_status=$?
47783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47784   (exit $ac_status); }; } &&
47785          { ac_try='test -s conftest$ac_exeext'
47786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47787   (eval $ac_try) 2>&5
47788   ac_status=$?
47789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47790   (exit $ac_status); }; }; then
47791   eval "$as_ac_var=yes"
47792 else
47793   echo "$as_me: failed program was:" >&5
47794 sed 's/^/| /' conftest.$ac_ext >&5
47795
47796 eval "$as_ac_var=no"
47797 fi
47798 rm -f conftest.err conftest.$ac_objext \
47799       conftest$ac_exeext conftest.$ac_ext
47800 fi
47801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47803 if test `eval echo '${'$as_ac_var'}'` = yes; then
47804   cat >>confdefs.h <<_ACEOF
47805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47806 _ACEOF
47807
47808 fi
47809 done
47810
47811   fi
47812
47813
47814
47815   echo "$as_me:$LINENO: checking for _long double trig functions" >&5
47816 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
47817   if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
47818   echo $ECHO_N "(cached) $ECHO_C" >&6
47819 else
47820
47821
47822
47823     ac_ext=cc
47824 ac_cpp='$CXXCPP $CPPFLAGS'
47825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47828
47829     cat >conftest.$ac_ext <<_ACEOF
47830 /* confdefs.h.  */
47831 _ACEOF
47832 cat confdefs.h >>conftest.$ac_ext
47833 cat >>conftest.$ac_ext <<_ACEOF
47834 /* end confdefs.h.  */
47835 #include <math.h>
47836 int
47837 main ()
47838 {
47839  `for x in _acosl _asinl _atanl \
47840                                           _cosl _sinl _tanl \
47841                                           _coshl _sinhl _tanhl; do echo "$x (0);"; done`
47842   ;
47843   return 0;
47844 }
47845 _ACEOF
47846 rm -f conftest.$ac_objext
47847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47848   (eval $ac_compile) 2>conftest.er1
47849   ac_status=$?
47850   grep -v '^ *+' conftest.er1 >conftest.err
47851   rm -f conftest.er1
47852   cat conftest.err >&5
47853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47854   (exit $ac_status); } &&
47855          { ac_try='test -z "$ac_cxx_werror_flag"
47856                          || test ! -s conftest.err'
47857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47858   (eval $ac_try) 2>&5
47859   ac_status=$?
47860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47861   (exit $ac_status); }; } &&
47862          { ac_try='test -s conftest.$ac_objext'
47863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47864   (eval $ac_try) 2>&5
47865   ac_status=$?
47866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47867   (exit $ac_status); }; }; then
47868   glibcxx_cv_func__long_double_trig_use=yes
47869 else
47870   echo "$as_me: failed program was:" >&5
47871 sed 's/^/| /' conftest.$ac_ext >&5
47872
47873 glibcxx_cv_func__long_double_trig_use=no
47874 fi
47875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47876     ac_ext=c
47877 ac_cpp='$CPP $CPPFLAGS'
47878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47881
47882 fi
47883
47884   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
47885 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
47886   if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
47887
47888
47889
47890
47891
47892
47893
47894
47895
47896 for ac_func in _acosl _asinl _atanl \
47897                                           _cosl _sinl _tanl \
47898                                           _coshl _sinhl _tanhl
47899 do
47900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47901 echo "$as_me:$LINENO: checking for $ac_func" >&5
47902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47903 if eval "test \"\${$as_ac_var+set}\" = set"; then
47904   echo $ECHO_N "(cached) $ECHO_C" >&6
47905 else
47906   if test x$gcc_no_link = xyes; then
47907   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47909    { (exit 1); exit 1; }; }
47910 fi
47911 cat >conftest.$ac_ext <<_ACEOF
47912 /* confdefs.h.  */
47913 _ACEOF
47914 cat confdefs.h >>conftest.$ac_ext
47915 cat >>conftest.$ac_ext <<_ACEOF
47916 /* end confdefs.h.  */
47917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47918    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47919 #define $ac_func innocuous_$ac_func
47920
47921 /* System header to define __stub macros and hopefully few prototypes,
47922     which can conflict with char $ac_func (); below.
47923     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47924     <limits.h> exists even on freestanding compilers.  */
47925
47926 #ifdef __STDC__
47927 # include <limits.h>
47928 #else
47929 # include <assert.h>
47930 #endif
47931
47932 #undef $ac_func
47933
47934 /* Override any gcc2 internal prototype to avoid an error.  */
47935 #ifdef __cplusplus
47936 extern "C"
47937 {
47938 #endif
47939 /* We use char because int might match the return type of a gcc2
47940    builtin and then its argument prototype would still apply.  */
47941 char $ac_func ();
47942 /* The GNU C library defines this for functions which it implements
47943     to always fail with ENOSYS.  Some functions are actually named
47944     something starting with __ and the normal name is an alias.  */
47945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47946 choke me
47947 #else
47948 char (*f) () = $ac_func;
47949 #endif
47950 #ifdef __cplusplus
47951 }
47952 #endif
47953
47954 int
47955 main ()
47956 {
47957 return f != $ac_func;
47958   ;
47959   return 0;
47960 }
47961 _ACEOF
47962 rm -f conftest.$ac_objext conftest$ac_exeext
47963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47964   (eval $ac_link) 2>conftest.er1
47965   ac_status=$?
47966   grep -v '^ *+' conftest.er1 >conftest.err
47967   rm -f conftest.er1
47968   cat conftest.err >&5
47969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47970   (exit $ac_status); } &&
47971          { ac_try='test -z "$ac_c_werror_flag"
47972                          || test ! -s conftest.err'
47973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47974   (eval $ac_try) 2>&5
47975   ac_status=$?
47976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47977   (exit $ac_status); }; } &&
47978          { ac_try='test -s conftest$ac_exeext'
47979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47980   (eval $ac_try) 2>&5
47981   ac_status=$?
47982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47983   (exit $ac_status); }; }; then
47984   eval "$as_ac_var=yes"
47985 else
47986   echo "$as_me: failed program was:" >&5
47987 sed 's/^/| /' conftest.$ac_ext >&5
47988
47989 eval "$as_ac_var=no"
47990 fi
47991 rm -f conftest.err conftest.$ac_objext \
47992       conftest$ac_exeext conftest.$ac_ext
47993 fi
47994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47995 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47996 if test `eval echo '${'$as_ac_var'}'` = yes; then
47997   cat >>confdefs.h <<_ACEOF
47998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47999 _ACEOF
48000
48001 fi
48002 done
48003
48004   fi
48005
48006
48007   echo "$as_me:$LINENO: checking for _long double round functions" >&5
48008 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
48009   if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
48010   echo $ECHO_N "(cached) $ECHO_C" >&6
48011 else
48012
48013
48014
48015     ac_ext=cc
48016 ac_cpp='$CXXCPP $CPPFLAGS'
48017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48020
48021     cat >conftest.$ac_ext <<_ACEOF
48022 /* confdefs.h.  */
48023 _ACEOF
48024 cat confdefs.h >>conftest.$ac_ext
48025 cat >>conftest.$ac_ext <<_ACEOF
48026 /* end confdefs.h.  */
48027 #include <math.h>
48028 int
48029 main ()
48030 {
48031  `for x in _ceill _floorl; do echo "$x (0);"; done`
48032   ;
48033   return 0;
48034 }
48035 _ACEOF
48036 rm -f conftest.$ac_objext
48037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48038   (eval $ac_compile) 2>conftest.er1
48039   ac_status=$?
48040   grep -v '^ *+' conftest.er1 >conftest.err
48041   rm -f conftest.er1
48042   cat conftest.err >&5
48043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48044   (exit $ac_status); } &&
48045          { ac_try='test -z "$ac_cxx_werror_flag"
48046                          || test ! -s conftest.err'
48047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48048   (eval $ac_try) 2>&5
48049   ac_status=$?
48050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48051   (exit $ac_status); }; } &&
48052          { ac_try='test -s conftest.$ac_objext'
48053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48054   (eval $ac_try) 2>&5
48055   ac_status=$?
48056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48057   (exit $ac_status); }; }; then
48058   glibcxx_cv_func__long_double_round_use=yes
48059 else
48060   echo "$as_me: failed program was:" >&5
48061 sed 's/^/| /' conftest.$ac_ext >&5
48062
48063 glibcxx_cv_func__long_double_round_use=no
48064 fi
48065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48066     ac_ext=c
48067 ac_cpp='$CPP $CPPFLAGS'
48068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48071
48072 fi
48073
48074   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
48075 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
48076   if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48077
48078
48079 for ac_func in _ceill _floorl
48080 do
48081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48082 echo "$as_me:$LINENO: checking for $ac_func" >&5
48083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48084 if eval "test \"\${$as_ac_var+set}\" = set"; then
48085   echo $ECHO_N "(cached) $ECHO_C" >&6
48086 else
48087   if test x$gcc_no_link = xyes; then
48088   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48090    { (exit 1); exit 1; }; }
48091 fi
48092 cat >conftest.$ac_ext <<_ACEOF
48093 /* confdefs.h.  */
48094 _ACEOF
48095 cat confdefs.h >>conftest.$ac_ext
48096 cat >>conftest.$ac_ext <<_ACEOF
48097 /* end confdefs.h.  */
48098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48099    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48100 #define $ac_func innocuous_$ac_func
48101
48102 /* System header to define __stub macros and hopefully few prototypes,
48103     which can conflict with char $ac_func (); below.
48104     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48105     <limits.h> exists even on freestanding compilers.  */
48106
48107 #ifdef __STDC__
48108 # include <limits.h>
48109 #else
48110 # include <assert.h>
48111 #endif
48112
48113 #undef $ac_func
48114
48115 /* Override any gcc2 internal prototype to avoid an error.  */
48116 #ifdef __cplusplus
48117 extern "C"
48118 {
48119 #endif
48120 /* We use char because int might match the return type of a gcc2
48121    builtin and then its argument prototype would still apply.  */
48122 char $ac_func ();
48123 /* The GNU C library defines this for functions which it implements
48124     to always fail with ENOSYS.  Some functions are actually named
48125     something starting with __ and the normal name is an alias.  */
48126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48127 choke me
48128 #else
48129 char (*f) () = $ac_func;
48130 #endif
48131 #ifdef __cplusplus
48132 }
48133 #endif
48134
48135 int
48136 main ()
48137 {
48138 return f != $ac_func;
48139   ;
48140   return 0;
48141 }
48142 _ACEOF
48143 rm -f conftest.$ac_objext conftest$ac_exeext
48144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48145   (eval $ac_link) 2>conftest.er1
48146   ac_status=$?
48147   grep -v '^ *+' conftest.er1 >conftest.err
48148   rm -f conftest.er1
48149   cat conftest.err >&5
48150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48151   (exit $ac_status); } &&
48152          { ac_try='test -z "$ac_c_werror_flag"
48153                          || test ! -s conftest.err'
48154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48155   (eval $ac_try) 2>&5
48156   ac_status=$?
48157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48158   (exit $ac_status); }; } &&
48159          { ac_try='test -s conftest$ac_exeext'
48160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48161   (eval $ac_try) 2>&5
48162   ac_status=$?
48163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48164   (exit $ac_status); }; }; then
48165   eval "$as_ac_var=yes"
48166 else
48167   echo "$as_me: failed program was:" >&5
48168 sed 's/^/| /' conftest.$ac_ext >&5
48169
48170 eval "$as_ac_var=no"
48171 fi
48172 rm -f conftest.err conftest.$ac_objext \
48173       conftest$ac_exeext conftest.$ac_ext
48174 fi
48175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48177 if test `eval echo '${'$as_ac_var'}'` = yes; then
48178   cat >>confdefs.h <<_ACEOF
48179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48180 _ACEOF
48181
48182 fi
48183 done
48184
48185   fi
48186
48187
48188   LIBS="$ac_save_LIBS"
48189   CXXFLAGS="$ac_save_CXXFLAGS"
48190
48191
48192
48193   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
48194 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
48195   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
48196     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
48197   echo $ECHO_N "(cached) $ECHO_C" >&6
48198 else
48199
48200
48201
48202       ac_ext=cc
48203 ac_cpp='$CXXCPP $CPPFLAGS'
48204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48207
48208       cat >conftest.$ac_ext <<_ACEOF
48209 /* confdefs.h.  */
48210 _ACEOF
48211 cat confdefs.h >>conftest.$ac_ext
48212 cat >>conftest.$ac_ext <<_ACEOF
48213 /* end confdefs.h.  */
48214 #include <math.h>
48215 int
48216 main ()
48217 {
48218  __builtin_abs(0);
48219   ;
48220   return 0;
48221 }
48222 _ACEOF
48223 rm -f conftest.$ac_objext
48224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48225   (eval $ac_compile) 2>conftest.er1
48226   ac_status=$?
48227   grep -v '^ *+' conftest.er1 >conftest.err
48228   rm -f conftest.er1
48229   cat conftest.err >&5
48230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48231   (exit $ac_status); } &&
48232          { ac_try='test -z "$ac_cxx_werror_flag"
48233                          || test ! -s conftest.err'
48234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48235   (eval $ac_try) 2>&5
48236   ac_status=$?
48237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48238   (exit $ac_status); }; } &&
48239          { ac_try='test -s conftest.$ac_objext'
48240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48241   (eval $ac_try) 2>&5
48242   ac_status=$?
48243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48244   (exit $ac_status); }; }; then
48245   glibcxx_cv_func___builtin_abs_use=yes
48246 else
48247   echo "$as_me: failed program was:" >&5
48248 sed 's/^/| /' conftest.$ac_ext >&5
48249
48250 glibcxx_cv_func___builtin_abs_use=no
48251 fi
48252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48253       ac_ext=c
48254 ac_cpp='$CPP $CPPFLAGS'
48255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48258
48259
48260 fi
48261
48262   fi
48263   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
48264 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
48265   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
48266     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
48267 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
48268     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
48269       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
48270   echo $ECHO_N "(cached) $ECHO_C" >&6
48271 else
48272
48273         if test x$gcc_no_link = xyes; then
48274   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48276    { (exit 1); exit 1; }; }
48277 fi
48278 cat >conftest.$ac_ext <<_ACEOF
48279 /* confdefs.h.  */
48280 _ACEOF
48281 cat confdefs.h >>conftest.$ac_ext
48282 cat >>conftest.$ac_ext <<_ACEOF
48283 /* end confdefs.h.  */
48284 #include <math.h>
48285 int
48286 main ()
48287 {
48288  __builtin_abs(0);
48289   ;
48290   return 0;
48291 }
48292 _ACEOF
48293 rm -f conftest.$ac_objext conftest$ac_exeext
48294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48295   (eval $ac_link) 2>conftest.er1
48296   ac_status=$?
48297   grep -v '^ *+' conftest.er1 >conftest.err
48298   rm -f conftest.er1
48299   cat conftest.err >&5
48300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48301   (exit $ac_status); } &&
48302          { ac_try='test -z "$ac_c_werror_flag"
48303                          || test ! -s conftest.err'
48304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48305   (eval $ac_try) 2>&5
48306   ac_status=$?
48307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48308   (exit $ac_status); }; } &&
48309          { ac_try='test -s conftest$ac_exeext'
48310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48311   (eval $ac_try) 2>&5
48312   ac_status=$?
48313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48314   (exit $ac_status); }; }; then
48315   glibcxx_cv_func___builtin_abs_link=yes
48316 else
48317   echo "$as_me: failed program was:" >&5
48318 sed 's/^/| /' conftest.$ac_ext >&5
48319
48320 glibcxx_cv_func___builtin_abs_link=no
48321 fi
48322 rm -f conftest.err conftest.$ac_objext \
48323       conftest$ac_exeext conftest.$ac_ext
48324
48325 fi
48326
48327     fi
48328     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
48329 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
48330     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
48331       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48332
48333 cat >>confdefs.h <<_ACEOF
48334 #define ${ac_tr_func} 1
48335 _ACEOF
48336
48337     fi
48338   fi
48339
48340
48341   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
48342 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
48343   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
48344     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
48345   echo $ECHO_N "(cached) $ECHO_C" >&6
48346 else
48347
48348
48349
48350       ac_ext=cc
48351 ac_cpp='$CXXCPP $CPPFLAGS'
48352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48355
48356       cat >conftest.$ac_ext <<_ACEOF
48357 /* confdefs.h.  */
48358 _ACEOF
48359 cat confdefs.h >>conftest.$ac_ext
48360 cat >>conftest.$ac_ext <<_ACEOF
48361 /* end confdefs.h.  */
48362 #include <math.h>
48363 int
48364 main ()
48365 {
48366  __builtin_fabsf(0);
48367   ;
48368   return 0;
48369 }
48370 _ACEOF
48371 rm -f conftest.$ac_objext
48372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48373   (eval $ac_compile) 2>conftest.er1
48374   ac_status=$?
48375   grep -v '^ *+' conftest.er1 >conftest.err
48376   rm -f conftest.er1
48377   cat conftest.err >&5
48378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48379   (exit $ac_status); } &&
48380          { ac_try='test -z "$ac_cxx_werror_flag"
48381                          || test ! -s conftest.err'
48382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48383   (eval $ac_try) 2>&5
48384   ac_status=$?
48385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48386   (exit $ac_status); }; } &&
48387          { ac_try='test -s conftest.$ac_objext'
48388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48389   (eval $ac_try) 2>&5
48390   ac_status=$?
48391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48392   (exit $ac_status); }; }; then
48393   glibcxx_cv_func___builtin_fabsf_use=yes
48394 else
48395   echo "$as_me: failed program was:" >&5
48396 sed 's/^/| /' conftest.$ac_ext >&5
48397
48398 glibcxx_cv_func___builtin_fabsf_use=no
48399 fi
48400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48401       ac_ext=c
48402 ac_cpp='$CPP $CPPFLAGS'
48403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48406
48407
48408 fi
48409
48410   fi
48411   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
48412 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
48413   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
48414     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
48415 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
48416     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
48417       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
48418   echo $ECHO_N "(cached) $ECHO_C" >&6
48419 else
48420
48421         if test x$gcc_no_link = xyes; then
48422   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48424    { (exit 1); exit 1; }; }
48425 fi
48426 cat >conftest.$ac_ext <<_ACEOF
48427 /* confdefs.h.  */
48428 _ACEOF
48429 cat confdefs.h >>conftest.$ac_ext
48430 cat >>conftest.$ac_ext <<_ACEOF
48431 /* end confdefs.h.  */
48432 #include <math.h>
48433 int
48434 main ()
48435 {
48436  __builtin_fabsf(0);
48437   ;
48438   return 0;
48439 }
48440 _ACEOF
48441 rm -f conftest.$ac_objext conftest$ac_exeext
48442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48443   (eval $ac_link) 2>conftest.er1
48444   ac_status=$?
48445   grep -v '^ *+' conftest.er1 >conftest.err
48446   rm -f conftest.er1
48447   cat conftest.err >&5
48448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48449   (exit $ac_status); } &&
48450          { ac_try='test -z "$ac_c_werror_flag"
48451                          || test ! -s conftest.err'
48452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48453   (eval $ac_try) 2>&5
48454   ac_status=$?
48455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48456   (exit $ac_status); }; } &&
48457          { ac_try='test -s conftest$ac_exeext'
48458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48459   (eval $ac_try) 2>&5
48460   ac_status=$?
48461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48462   (exit $ac_status); }; }; then
48463   glibcxx_cv_func___builtin_fabsf_link=yes
48464 else
48465   echo "$as_me: failed program was:" >&5
48466 sed 's/^/| /' conftest.$ac_ext >&5
48467
48468 glibcxx_cv_func___builtin_fabsf_link=no
48469 fi
48470 rm -f conftest.err conftest.$ac_objext \
48471       conftest$ac_exeext conftest.$ac_ext
48472
48473 fi
48474
48475     fi
48476     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
48477 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
48478     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
48479       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48480
48481 cat >>confdefs.h <<_ACEOF
48482 #define ${ac_tr_func} 1
48483 _ACEOF
48484
48485     fi
48486   fi
48487
48488
48489   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
48490 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
48491   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
48492     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
48493   echo $ECHO_N "(cached) $ECHO_C" >&6
48494 else
48495
48496
48497
48498       ac_ext=cc
48499 ac_cpp='$CXXCPP $CPPFLAGS'
48500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48503
48504       cat >conftest.$ac_ext <<_ACEOF
48505 /* confdefs.h.  */
48506 _ACEOF
48507 cat confdefs.h >>conftest.$ac_ext
48508 cat >>conftest.$ac_ext <<_ACEOF
48509 /* end confdefs.h.  */
48510 #include <math.h>
48511 int
48512 main ()
48513 {
48514  __builtin_fabs(0);
48515   ;
48516   return 0;
48517 }
48518 _ACEOF
48519 rm -f conftest.$ac_objext
48520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48521   (eval $ac_compile) 2>conftest.er1
48522   ac_status=$?
48523   grep -v '^ *+' conftest.er1 >conftest.err
48524   rm -f conftest.er1
48525   cat conftest.err >&5
48526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48527   (exit $ac_status); } &&
48528          { ac_try='test -z "$ac_cxx_werror_flag"
48529                          || test ! -s conftest.err'
48530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48531   (eval $ac_try) 2>&5
48532   ac_status=$?
48533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48534   (exit $ac_status); }; } &&
48535          { ac_try='test -s conftest.$ac_objext'
48536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48537   (eval $ac_try) 2>&5
48538   ac_status=$?
48539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48540   (exit $ac_status); }; }; then
48541   glibcxx_cv_func___builtin_fabs_use=yes
48542 else
48543   echo "$as_me: failed program was:" >&5
48544 sed 's/^/| /' conftest.$ac_ext >&5
48545
48546 glibcxx_cv_func___builtin_fabs_use=no
48547 fi
48548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48549       ac_ext=c
48550 ac_cpp='$CPP $CPPFLAGS'
48551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48554
48555
48556 fi
48557
48558   fi
48559   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
48560 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
48561   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
48562     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
48563 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
48564     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
48565       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
48566   echo $ECHO_N "(cached) $ECHO_C" >&6
48567 else
48568
48569         if test x$gcc_no_link = xyes; then
48570   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48572    { (exit 1); exit 1; }; }
48573 fi
48574 cat >conftest.$ac_ext <<_ACEOF
48575 /* confdefs.h.  */
48576 _ACEOF
48577 cat confdefs.h >>conftest.$ac_ext
48578 cat >>conftest.$ac_ext <<_ACEOF
48579 /* end confdefs.h.  */
48580 #include <math.h>
48581 int
48582 main ()
48583 {
48584  __builtin_fabs(0);
48585   ;
48586   return 0;
48587 }
48588 _ACEOF
48589 rm -f conftest.$ac_objext conftest$ac_exeext
48590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48591   (eval $ac_link) 2>conftest.er1
48592   ac_status=$?
48593   grep -v '^ *+' conftest.er1 >conftest.err
48594   rm -f conftest.er1
48595   cat conftest.err >&5
48596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48597   (exit $ac_status); } &&
48598          { ac_try='test -z "$ac_c_werror_flag"
48599                          || test ! -s conftest.err'
48600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48601   (eval $ac_try) 2>&5
48602   ac_status=$?
48603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48604   (exit $ac_status); }; } &&
48605          { ac_try='test -s conftest$ac_exeext'
48606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48607   (eval $ac_try) 2>&5
48608   ac_status=$?
48609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48610   (exit $ac_status); }; }; then
48611   glibcxx_cv_func___builtin_fabs_link=yes
48612 else
48613   echo "$as_me: failed program was:" >&5
48614 sed 's/^/| /' conftest.$ac_ext >&5
48615
48616 glibcxx_cv_func___builtin_fabs_link=no
48617 fi
48618 rm -f conftest.err conftest.$ac_objext \
48619       conftest$ac_exeext conftest.$ac_ext
48620
48621 fi
48622
48623     fi
48624     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
48625 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
48626     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
48627       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48628
48629 cat >>confdefs.h <<_ACEOF
48630 #define ${ac_tr_func} 1
48631 _ACEOF
48632
48633     fi
48634   fi
48635
48636
48637   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
48638 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
48639   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
48640     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
48641   echo $ECHO_N "(cached) $ECHO_C" >&6
48642 else
48643
48644
48645
48646       ac_ext=cc
48647 ac_cpp='$CXXCPP $CPPFLAGS'
48648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48651
48652       cat >conftest.$ac_ext <<_ACEOF
48653 /* confdefs.h.  */
48654 _ACEOF
48655 cat confdefs.h >>conftest.$ac_ext
48656 cat >>conftest.$ac_ext <<_ACEOF
48657 /* end confdefs.h.  */
48658 #include <math.h>
48659 int
48660 main ()
48661 {
48662  __builtin_fabsl(0);
48663   ;
48664   return 0;
48665 }
48666 _ACEOF
48667 rm -f conftest.$ac_objext
48668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48669   (eval $ac_compile) 2>conftest.er1
48670   ac_status=$?
48671   grep -v '^ *+' conftest.er1 >conftest.err
48672   rm -f conftest.er1
48673   cat conftest.err >&5
48674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48675   (exit $ac_status); } &&
48676          { ac_try='test -z "$ac_cxx_werror_flag"
48677                          || test ! -s conftest.err'
48678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48679   (eval $ac_try) 2>&5
48680   ac_status=$?
48681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48682   (exit $ac_status); }; } &&
48683          { ac_try='test -s conftest.$ac_objext'
48684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48685   (eval $ac_try) 2>&5
48686   ac_status=$?
48687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48688   (exit $ac_status); }; }; then
48689   glibcxx_cv_func___builtin_fabsl_use=yes
48690 else
48691   echo "$as_me: failed program was:" >&5
48692 sed 's/^/| /' conftest.$ac_ext >&5
48693
48694 glibcxx_cv_func___builtin_fabsl_use=no
48695 fi
48696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48697       ac_ext=c
48698 ac_cpp='$CPP $CPPFLAGS'
48699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48702
48703
48704 fi
48705
48706   fi
48707   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
48708 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
48709   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
48710     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
48711 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
48712     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
48713       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
48714   echo $ECHO_N "(cached) $ECHO_C" >&6
48715 else
48716
48717         if test x$gcc_no_link = xyes; then
48718   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48720    { (exit 1); exit 1; }; }
48721 fi
48722 cat >conftest.$ac_ext <<_ACEOF
48723 /* confdefs.h.  */
48724 _ACEOF
48725 cat confdefs.h >>conftest.$ac_ext
48726 cat >>conftest.$ac_ext <<_ACEOF
48727 /* end confdefs.h.  */
48728 #include <math.h>
48729 int
48730 main ()
48731 {
48732  __builtin_fabsl(0);
48733   ;
48734   return 0;
48735 }
48736 _ACEOF
48737 rm -f conftest.$ac_objext conftest$ac_exeext
48738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48739   (eval $ac_link) 2>conftest.er1
48740   ac_status=$?
48741   grep -v '^ *+' conftest.er1 >conftest.err
48742   rm -f conftest.er1
48743   cat conftest.err >&5
48744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48745   (exit $ac_status); } &&
48746          { ac_try='test -z "$ac_c_werror_flag"
48747                          || test ! -s conftest.err'
48748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48749   (eval $ac_try) 2>&5
48750   ac_status=$?
48751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48752   (exit $ac_status); }; } &&
48753          { ac_try='test -s conftest$ac_exeext'
48754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48755   (eval $ac_try) 2>&5
48756   ac_status=$?
48757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48758   (exit $ac_status); }; }; then
48759   glibcxx_cv_func___builtin_fabsl_link=yes
48760 else
48761   echo "$as_me: failed program was:" >&5
48762 sed 's/^/| /' conftest.$ac_ext >&5
48763
48764 glibcxx_cv_func___builtin_fabsl_link=no
48765 fi
48766 rm -f conftest.err conftest.$ac_objext \
48767       conftest$ac_exeext conftest.$ac_ext
48768
48769 fi
48770
48771     fi
48772     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
48773 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
48774     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
48775       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48776
48777 cat >>confdefs.h <<_ACEOF
48778 #define ${ac_tr_func} 1
48779 _ACEOF
48780
48781     fi
48782   fi
48783
48784
48785   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
48786 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
48787   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
48788     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
48789   echo $ECHO_N "(cached) $ECHO_C" >&6
48790 else
48791
48792
48793
48794       ac_ext=cc
48795 ac_cpp='$CXXCPP $CPPFLAGS'
48796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48799
48800       cat >conftest.$ac_ext <<_ACEOF
48801 /* confdefs.h.  */
48802 _ACEOF
48803 cat confdefs.h >>conftest.$ac_ext
48804 cat >>conftest.$ac_ext <<_ACEOF
48805 /* end confdefs.h.  */
48806 #include <math.h>
48807 int
48808 main ()
48809 {
48810  __builtin_labs(0);
48811   ;
48812   return 0;
48813 }
48814 _ACEOF
48815 rm -f conftest.$ac_objext
48816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48817   (eval $ac_compile) 2>conftest.er1
48818   ac_status=$?
48819   grep -v '^ *+' conftest.er1 >conftest.err
48820   rm -f conftest.er1
48821   cat conftest.err >&5
48822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48823   (exit $ac_status); } &&
48824          { ac_try='test -z "$ac_cxx_werror_flag"
48825                          || test ! -s conftest.err'
48826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48827   (eval $ac_try) 2>&5
48828   ac_status=$?
48829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48830   (exit $ac_status); }; } &&
48831          { ac_try='test -s conftest.$ac_objext'
48832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48833   (eval $ac_try) 2>&5
48834   ac_status=$?
48835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48836   (exit $ac_status); }; }; then
48837   glibcxx_cv_func___builtin_labs_use=yes
48838 else
48839   echo "$as_me: failed program was:" >&5
48840 sed 's/^/| /' conftest.$ac_ext >&5
48841
48842 glibcxx_cv_func___builtin_labs_use=no
48843 fi
48844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48845       ac_ext=c
48846 ac_cpp='$CPP $CPPFLAGS'
48847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48850
48851
48852 fi
48853
48854   fi
48855   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
48856 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
48857   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
48858     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
48859 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
48860     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
48861       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
48862   echo $ECHO_N "(cached) $ECHO_C" >&6
48863 else
48864
48865         if test x$gcc_no_link = xyes; then
48866   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48868    { (exit 1); exit 1; }; }
48869 fi
48870 cat >conftest.$ac_ext <<_ACEOF
48871 /* confdefs.h.  */
48872 _ACEOF
48873 cat confdefs.h >>conftest.$ac_ext
48874 cat >>conftest.$ac_ext <<_ACEOF
48875 /* end confdefs.h.  */
48876 #include <math.h>
48877 int
48878 main ()
48879 {
48880  __builtin_labs(0);
48881   ;
48882   return 0;
48883 }
48884 _ACEOF
48885 rm -f conftest.$ac_objext conftest$ac_exeext
48886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48887   (eval $ac_link) 2>conftest.er1
48888   ac_status=$?
48889   grep -v '^ *+' conftest.er1 >conftest.err
48890   rm -f conftest.er1
48891   cat conftest.err >&5
48892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48893   (exit $ac_status); } &&
48894          { ac_try='test -z "$ac_c_werror_flag"
48895                          || test ! -s conftest.err'
48896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48897   (eval $ac_try) 2>&5
48898   ac_status=$?
48899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48900   (exit $ac_status); }; } &&
48901          { ac_try='test -s conftest$ac_exeext'
48902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48903   (eval $ac_try) 2>&5
48904   ac_status=$?
48905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48906   (exit $ac_status); }; }; then
48907   glibcxx_cv_func___builtin_labs_link=yes
48908 else
48909   echo "$as_me: failed program was:" >&5
48910 sed 's/^/| /' conftest.$ac_ext >&5
48911
48912 glibcxx_cv_func___builtin_labs_link=no
48913 fi
48914 rm -f conftest.err conftest.$ac_objext \
48915       conftest$ac_exeext conftest.$ac_ext
48916
48917 fi
48918
48919     fi
48920     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
48921 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
48922     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
48923       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48924
48925 cat >>confdefs.h <<_ACEOF
48926 #define ${ac_tr_func} 1
48927 _ACEOF
48928
48929     fi
48930   fi
48931
48932
48933
48934   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
48935 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
48936   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
48937     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
48938   echo $ECHO_N "(cached) $ECHO_C" >&6
48939 else
48940
48941
48942
48943       ac_ext=cc
48944 ac_cpp='$CXXCPP $CPPFLAGS'
48945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48948
48949       cat >conftest.$ac_ext <<_ACEOF
48950 /* confdefs.h.  */
48951 _ACEOF
48952 cat confdefs.h >>conftest.$ac_ext
48953 cat >>conftest.$ac_ext <<_ACEOF
48954 /* end confdefs.h.  */
48955 #include <math.h>
48956 int
48957 main ()
48958 {
48959  __builtin_sqrtf(0);
48960   ;
48961   return 0;
48962 }
48963 _ACEOF
48964 rm -f conftest.$ac_objext
48965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48966   (eval $ac_compile) 2>conftest.er1
48967   ac_status=$?
48968   grep -v '^ *+' conftest.er1 >conftest.err
48969   rm -f conftest.er1
48970   cat conftest.err >&5
48971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48972   (exit $ac_status); } &&
48973          { ac_try='test -z "$ac_cxx_werror_flag"
48974                          || test ! -s conftest.err'
48975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48976   (eval $ac_try) 2>&5
48977   ac_status=$?
48978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48979   (exit $ac_status); }; } &&
48980          { ac_try='test -s conftest.$ac_objext'
48981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48982   (eval $ac_try) 2>&5
48983   ac_status=$?
48984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48985   (exit $ac_status); }; }; then
48986   glibcxx_cv_func___builtin_sqrtf_use=yes
48987 else
48988   echo "$as_me: failed program was:" >&5
48989 sed 's/^/| /' conftest.$ac_ext >&5
48990
48991 glibcxx_cv_func___builtin_sqrtf_use=no
48992 fi
48993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48994       ac_ext=c
48995 ac_cpp='$CPP $CPPFLAGS'
48996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48999
49000
49001 fi
49002
49003   fi
49004   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
49005 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
49006   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
49007     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
49008 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
49009     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
49010       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
49011   echo $ECHO_N "(cached) $ECHO_C" >&6
49012 else
49013
49014         if test x$gcc_no_link = xyes; then
49015   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49017    { (exit 1); exit 1; }; }
49018 fi
49019 cat >conftest.$ac_ext <<_ACEOF
49020 /* confdefs.h.  */
49021 _ACEOF
49022 cat confdefs.h >>conftest.$ac_ext
49023 cat >>conftest.$ac_ext <<_ACEOF
49024 /* end confdefs.h.  */
49025 #include <math.h>
49026 int
49027 main ()
49028 {
49029  __builtin_sqrtf(0);
49030   ;
49031   return 0;
49032 }
49033 _ACEOF
49034 rm -f conftest.$ac_objext conftest$ac_exeext
49035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49036   (eval $ac_link) 2>conftest.er1
49037   ac_status=$?
49038   grep -v '^ *+' conftest.er1 >conftest.err
49039   rm -f conftest.er1
49040   cat conftest.err >&5
49041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49042   (exit $ac_status); } &&
49043          { ac_try='test -z "$ac_c_werror_flag"
49044                          || test ! -s conftest.err'
49045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49046   (eval $ac_try) 2>&5
49047   ac_status=$?
49048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49049   (exit $ac_status); }; } &&
49050          { ac_try='test -s conftest$ac_exeext'
49051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49052   (eval $ac_try) 2>&5
49053   ac_status=$?
49054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49055   (exit $ac_status); }; }; then
49056   glibcxx_cv_func___builtin_sqrtf_link=yes
49057 else
49058   echo "$as_me: failed program was:" >&5
49059 sed 's/^/| /' conftest.$ac_ext >&5
49060
49061 glibcxx_cv_func___builtin_sqrtf_link=no
49062 fi
49063 rm -f conftest.err conftest.$ac_objext \
49064       conftest$ac_exeext conftest.$ac_ext
49065
49066 fi
49067
49068     fi
49069     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
49070 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
49071     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
49072       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49073
49074 cat >>confdefs.h <<_ACEOF
49075 #define ${ac_tr_func} 1
49076 _ACEOF
49077
49078     fi
49079   fi
49080
49081
49082   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
49083 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
49084   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
49085     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
49086   echo $ECHO_N "(cached) $ECHO_C" >&6
49087 else
49088
49089
49090
49091       ac_ext=cc
49092 ac_cpp='$CXXCPP $CPPFLAGS'
49093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49096
49097       cat >conftest.$ac_ext <<_ACEOF
49098 /* confdefs.h.  */
49099 _ACEOF
49100 cat confdefs.h >>conftest.$ac_ext
49101 cat >>conftest.$ac_ext <<_ACEOF
49102 /* end confdefs.h.  */
49103 #include <math.h>
49104 int
49105 main ()
49106 {
49107  __builtin_sqrt(0);
49108   ;
49109   return 0;
49110 }
49111 _ACEOF
49112 rm -f conftest.$ac_objext
49113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49114   (eval $ac_compile) 2>conftest.er1
49115   ac_status=$?
49116   grep -v '^ *+' conftest.er1 >conftest.err
49117   rm -f conftest.er1
49118   cat conftest.err >&5
49119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49120   (exit $ac_status); } &&
49121          { ac_try='test -z "$ac_cxx_werror_flag"
49122                          || test ! -s conftest.err'
49123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49124   (eval $ac_try) 2>&5
49125   ac_status=$?
49126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49127   (exit $ac_status); }; } &&
49128          { ac_try='test -s conftest.$ac_objext'
49129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49130   (eval $ac_try) 2>&5
49131   ac_status=$?
49132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49133   (exit $ac_status); }; }; then
49134   glibcxx_cv_func___builtin_sqrt_use=yes
49135 else
49136   echo "$as_me: failed program was:" >&5
49137 sed 's/^/| /' conftest.$ac_ext >&5
49138
49139 glibcxx_cv_func___builtin_sqrt_use=no
49140 fi
49141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49142       ac_ext=c
49143 ac_cpp='$CPP $CPPFLAGS'
49144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49147
49148
49149 fi
49150
49151   fi
49152   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
49153 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
49154   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
49155     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
49156 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
49157     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
49158       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
49159   echo $ECHO_N "(cached) $ECHO_C" >&6
49160 else
49161
49162         if test x$gcc_no_link = xyes; then
49163   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49165    { (exit 1); exit 1; }; }
49166 fi
49167 cat >conftest.$ac_ext <<_ACEOF
49168 /* confdefs.h.  */
49169 _ACEOF
49170 cat confdefs.h >>conftest.$ac_ext
49171 cat >>conftest.$ac_ext <<_ACEOF
49172 /* end confdefs.h.  */
49173 #include <math.h>
49174 int
49175 main ()
49176 {
49177  __builtin_sqrt(0);
49178   ;
49179   return 0;
49180 }
49181 _ACEOF
49182 rm -f conftest.$ac_objext conftest$ac_exeext
49183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49184   (eval $ac_link) 2>conftest.er1
49185   ac_status=$?
49186   grep -v '^ *+' conftest.er1 >conftest.err
49187   rm -f conftest.er1
49188   cat conftest.err >&5
49189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49190   (exit $ac_status); } &&
49191          { ac_try='test -z "$ac_c_werror_flag"
49192                          || test ! -s conftest.err'
49193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49194   (eval $ac_try) 2>&5
49195   ac_status=$?
49196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49197   (exit $ac_status); }; } &&
49198          { ac_try='test -s conftest$ac_exeext'
49199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49200   (eval $ac_try) 2>&5
49201   ac_status=$?
49202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49203   (exit $ac_status); }; }; then
49204   glibcxx_cv_func___builtin_sqrt_link=yes
49205 else
49206   echo "$as_me: failed program was:" >&5
49207 sed 's/^/| /' conftest.$ac_ext >&5
49208
49209 glibcxx_cv_func___builtin_sqrt_link=no
49210 fi
49211 rm -f conftest.err conftest.$ac_objext \
49212       conftest$ac_exeext conftest.$ac_ext
49213
49214 fi
49215
49216     fi
49217     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
49218 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
49219     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
49220       ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49221
49222 cat >>confdefs.h <<_ACEOF
49223 #define ${ac_tr_func} 1
49224 _ACEOF
49225
49226     fi
49227   fi
49228
49229
49230   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
49231 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
49232   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
49233     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
49234   echo $ECHO_N "(cached) $ECHO_C" >&6
49235 else
49236
49237
49238
49239       ac_ext=cc
49240 ac_cpp='$CXXCPP $CPPFLAGS'
49241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49244
49245       cat >conftest.$ac_ext <<_ACEOF
49246 /* confdefs.h.  */
49247 _ACEOF
49248 cat confdefs.h >>conftest.$ac_ext
49249 cat >>conftest.$ac_ext <<_ACEOF
49250 /* end confdefs.h.  */
49251 #include <math.h>
49252 int
49253 main ()
49254 {
49255  __builtin_sqrtl(0);
49256   ;
49257   return 0;
49258 }
49259 _ACEOF
49260 rm -f conftest.$ac_objext
49261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49262   (eval $ac_compile) 2>conftest.er1
49263   ac_status=$?
49264   grep -v '^ *+' conftest.er1 >conftest.err
49265   rm -f conftest.er1
49266   cat conftest.err >&5
49267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49268   (exit $ac_status); } &&
49269          { ac_try='test -z "$ac_cxx_werror_flag"
49270                          || test ! -s conftest.err'
49271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49272   (eval $ac_try) 2>&5
49273   ac_status=$?
49274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49275   (exit $ac_status); }; } &&
49276          { ac_try='test -s conftest.$ac_objext'
49277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49278   (eval $ac_try) 2>&5
49279   ac_status=$?
49280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49281   (exit $ac_status); }; }; then
49282   glibcxx_cv_func___builtin_sqrtl_use=yes
49283 else
49284   echo "$as_me: failed program was:" >&5
49285 sed 's/^/| /' conftest.$ac_ext >&5
49286
49287 glibcxx_cv_func___builtin_sqrtl_use=no
49288 fi
49289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49290       ac_ext=c
49291 ac_cpp='$CPP $CPPFLAGS'
49292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49295
49296
49297 fi
49298
49299   fi
49300   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
49301 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
49302   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
49303     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
49304 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
49305     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
49306       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
49307   echo $ECHO_N "(cached) $ECHO_C" >&6
49308 else
49309
49310         if test x$gcc_no_link = xyes; then
49311   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49313    { (exit 1); exit 1; }; }
49314 fi
49315 cat >conftest.$ac_ext <<_ACEOF
49316 /* confdefs.h.  */
49317 _ACEOF
49318 cat confdefs.h >>conftest.$ac_ext
49319 cat >>conftest.$ac_ext <<_ACEOF
49320 /* end confdefs.h.  */
49321 #include <math.h>
49322 int
49323 main ()
49324 {
49325  __builtin_sqrtl(0);
49326   ;
49327   return 0;
49328 }
49329 _ACEOF
49330 rm -f conftest.$ac_objext conftest$ac_exeext
49331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49332   (eval $ac_link) 2>conftest.er1
49333   ac_status=$?
49334   grep -v '^ *+' conftest.er1 >conftest.err
49335   rm -f conftest.er1
49336   cat conftest.err >&5
49337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49338   (exit $ac_status); } &&
49339          { ac_try='test -z "$ac_c_werror_flag"
49340                          || test ! -s conftest.err'
49341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49342   (eval $ac_try) 2>&5
49343   ac_status=$?
49344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49345   (exit $ac_status); }; } &&
49346          { ac_try='test -s conftest$ac_exeext'
49347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49348   (eval $ac_try) 2>&5
49349   ac_status=$?
49350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49351   (exit $ac_status); }; }; then
49352   glibcxx_cv_func___builtin_sqrtl_link=yes
49353 else
49354   echo "$as_me: failed program was:" >&5
49355 sed 's/^/| /' conftest.$ac_ext >&5
49356
49357 glibcxx_cv_func___builtin_sqrtl_link=no
49358 fi
49359 rm -f conftest.err conftest.$ac_objext \
49360       conftest$ac_exeext conftest.$ac_ext
49361
49362 fi
49363
49364     fi
49365     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
49366 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
49367     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
49368       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49369
49370 cat >>confdefs.h <<_ACEOF
49371 #define ${ac_tr_func} 1
49372 _ACEOF
49373
49374     fi
49375   fi
49376
49377
49378
49379   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
49380 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
49381   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
49382     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
49383   echo $ECHO_N "(cached) $ECHO_C" >&6
49384 else
49385
49386
49387
49388       ac_ext=cc
49389 ac_cpp='$CXXCPP $CPPFLAGS'
49390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49393
49394       cat >conftest.$ac_ext <<_ACEOF
49395 /* confdefs.h.  */
49396 _ACEOF
49397 cat confdefs.h >>conftest.$ac_ext
49398 cat >>conftest.$ac_ext <<_ACEOF
49399 /* end confdefs.h.  */
49400 #include <math.h>
49401 int
49402 main ()
49403 {
49404  __builtin_sinf(0);
49405   ;
49406   return 0;
49407 }
49408 _ACEOF
49409 rm -f conftest.$ac_objext
49410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49411   (eval $ac_compile) 2>conftest.er1
49412   ac_status=$?
49413   grep -v '^ *+' conftest.er1 >conftest.err
49414   rm -f conftest.er1
49415   cat conftest.err >&5
49416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49417   (exit $ac_status); } &&
49418          { ac_try='test -z "$ac_cxx_werror_flag"
49419                          || test ! -s conftest.err'
49420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49421   (eval $ac_try) 2>&5
49422   ac_status=$?
49423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49424   (exit $ac_status); }; } &&
49425          { ac_try='test -s conftest.$ac_objext'
49426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49427   (eval $ac_try) 2>&5
49428   ac_status=$?
49429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49430   (exit $ac_status); }; }; then
49431   glibcxx_cv_func___builtin_sinf_use=yes
49432 else
49433   echo "$as_me: failed program was:" >&5
49434 sed 's/^/| /' conftest.$ac_ext >&5
49435
49436 glibcxx_cv_func___builtin_sinf_use=no
49437 fi
49438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49439       ac_ext=c
49440 ac_cpp='$CPP $CPPFLAGS'
49441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49444
49445
49446 fi
49447
49448   fi
49449   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
49450 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
49451   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
49452     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
49453 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
49454     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
49455       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
49456   echo $ECHO_N "(cached) $ECHO_C" >&6
49457 else
49458
49459         if test x$gcc_no_link = xyes; then
49460   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49462    { (exit 1); exit 1; }; }
49463 fi
49464 cat >conftest.$ac_ext <<_ACEOF
49465 /* confdefs.h.  */
49466 _ACEOF
49467 cat confdefs.h >>conftest.$ac_ext
49468 cat >>conftest.$ac_ext <<_ACEOF
49469 /* end confdefs.h.  */
49470 #include <math.h>
49471 int
49472 main ()
49473 {
49474  __builtin_sinf(0);
49475   ;
49476   return 0;
49477 }
49478 _ACEOF
49479 rm -f conftest.$ac_objext conftest$ac_exeext
49480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49481   (eval $ac_link) 2>conftest.er1
49482   ac_status=$?
49483   grep -v '^ *+' conftest.er1 >conftest.err
49484   rm -f conftest.er1
49485   cat conftest.err >&5
49486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49487   (exit $ac_status); } &&
49488          { ac_try='test -z "$ac_c_werror_flag"
49489                          || test ! -s conftest.err'
49490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49491   (eval $ac_try) 2>&5
49492   ac_status=$?
49493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49494   (exit $ac_status); }; } &&
49495          { ac_try='test -s conftest$ac_exeext'
49496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49497   (eval $ac_try) 2>&5
49498   ac_status=$?
49499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49500   (exit $ac_status); }; }; then
49501   glibcxx_cv_func___builtin_sinf_link=yes
49502 else
49503   echo "$as_me: failed program was:" >&5
49504 sed 's/^/| /' conftest.$ac_ext >&5
49505
49506 glibcxx_cv_func___builtin_sinf_link=no
49507 fi
49508 rm -f conftest.err conftest.$ac_objext \
49509       conftest$ac_exeext conftest.$ac_ext
49510
49511 fi
49512
49513     fi
49514     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
49515 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
49516     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
49517       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49518
49519 cat >>confdefs.h <<_ACEOF
49520 #define ${ac_tr_func} 1
49521 _ACEOF
49522
49523     fi
49524   fi
49525
49526
49527   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
49528 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
49529   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
49530     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
49531   echo $ECHO_N "(cached) $ECHO_C" >&6
49532 else
49533
49534
49535
49536       ac_ext=cc
49537 ac_cpp='$CXXCPP $CPPFLAGS'
49538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49541
49542       cat >conftest.$ac_ext <<_ACEOF
49543 /* confdefs.h.  */
49544 _ACEOF
49545 cat confdefs.h >>conftest.$ac_ext
49546 cat >>conftest.$ac_ext <<_ACEOF
49547 /* end confdefs.h.  */
49548 #include <math.h>
49549 int
49550 main ()
49551 {
49552  __builtin_sin(0);
49553   ;
49554   return 0;
49555 }
49556 _ACEOF
49557 rm -f conftest.$ac_objext
49558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49559   (eval $ac_compile) 2>conftest.er1
49560   ac_status=$?
49561   grep -v '^ *+' conftest.er1 >conftest.err
49562   rm -f conftest.er1
49563   cat conftest.err >&5
49564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49565   (exit $ac_status); } &&
49566          { ac_try='test -z "$ac_cxx_werror_flag"
49567                          || test ! -s conftest.err'
49568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49569   (eval $ac_try) 2>&5
49570   ac_status=$?
49571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49572   (exit $ac_status); }; } &&
49573          { ac_try='test -s conftest.$ac_objext'
49574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49575   (eval $ac_try) 2>&5
49576   ac_status=$?
49577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49578   (exit $ac_status); }; }; then
49579   glibcxx_cv_func___builtin_sin_use=yes
49580 else
49581   echo "$as_me: failed program was:" >&5
49582 sed 's/^/| /' conftest.$ac_ext >&5
49583
49584 glibcxx_cv_func___builtin_sin_use=no
49585 fi
49586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49587       ac_ext=c
49588 ac_cpp='$CPP $CPPFLAGS'
49589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49592
49593
49594 fi
49595
49596   fi
49597   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
49598 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
49599   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
49600     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
49601 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
49602     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
49603       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
49604   echo $ECHO_N "(cached) $ECHO_C" >&6
49605 else
49606
49607         if test x$gcc_no_link = xyes; then
49608   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49610    { (exit 1); exit 1; }; }
49611 fi
49612 cat >conftest.$ac_ext <<_ACEOF
49613 /* confdefs.h.  */
49614 _ACEOF
49615 cat confdefs.h >>conftest.$ac_ext
49616 cat >>conftest.$ac_ext <<_ACEOF
49617 /* end confdefs.h.  */
49618 #include <math.h>
49619 int
49620 main ()
49621 {
49622  __builtin_sin(0);
49623   ;
49624   return 0;
49625 }
49626 _ACEOF
49627 rm -f conftest.$ac_objext conftest$ac_exeext
49628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49629   (eval $ac_link) 2>conftest.er1
49630   ac_status=$?
49631   grep -v '^ *+' conftest.er1 >conftest.err
49632   rm -f conftest.er1
49633   cat conftest.err >&5
49634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49635   (exit $ac_status); } &&
49636          { ac_try='test -z "$ac_c_werror_flag"
49637                          || test ! -s conftest.err'
49638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49639   (eval $ac_try) 2>&5
49640   ac_status=$?
49641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49642   (exit $ac_status); }; } &&
49643          { ac_try='test -s conftest$ac_exeext'
49644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49645   (eval $ac_try) 2>&5
49646   ac_status=$?
49647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49648   (exit $ac_status); }; }; then
49649   glibcxx_cv_func___builtin_sin_link=yes
49650 else
49651   echo "$as_me: failed program was:" >&5
49652 sed 's/^/| /' conftest.$ac_ext >&5
49653
49654 glibcxx_cv_func___builtin_sin_link=no
49655 fi
49656 rm -f conftest.err conftest.$ac_objext \
49657       conftest$ac_exeext conftest.$ac_ext
49658
49659 fi
49660
49661     fi
49662     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
49663 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
49664     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
49665       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49666
49667 cat >>confdefs.h <<_ACEOF
49668 #define ${ac_tr_func} 1
49669 _ACEOF
49670
49671     fi
49672   fi
49673
49674
49675   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
49676 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
49677   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
49678     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
49679   echo $ECHO_N "(cached) $ECHO_C" >&6
49680 else
49681
49682
49683
49684       ac_ext=cc
49685 ac_cpp='$CXXCPP $CPPFLAGS'
49686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49689
49690       cat >conftest.$ac_ext <<_ACEOF
49691 /* confdefs.h.  */
49692 _ACEOF
49693 cat confdefs.h >>conftest.$ac_ext
49694 cat >>conftest.$ac_ext <<_ACEOF
49695 /* end confdefs.h.  */
49696 #include <math.h>
49697 int
49698 main ()
49699 {
49700  __builtin_sinl(0);
49701   ;
49702   return 0;
49703 }
49704 _ACEOF
49705 rm -f conftest.$ac_objext
49706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49707   (eval $ac_compile) 2>conftest.er1
49708   ac_status=$?
49709   grep -v '^ *+' conftest.er1 >conftest.err
49710   rm -f conftest.er1
49711   cat conftest.err >&5
49712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49713   (exit $ac_status); } &&
49714          { ac_try='test -z "$ac_cxx_werror_flag"
49715                          || test ! -s conftest.err'
49716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49717   (eval $ac_try) 2>&5
49718   ac_status=$?
49719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49720   (exit $ac_status); }; } &&
49721          { ac_try='test -s conftest.$ac_objext'
49722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49723   (eval $ac_try) 2>&5
49724   ac_status=$?
49725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49726   (exit $ac_status); }; }; then
49727   glibcxx_cv_func___builtin_sinl_use=yes
49728 else
49729   echo "$as_me: failed program was:" >&5
49730 sed 's/^/| /' conftest.$ac_ext >&5
49731
49732 glibcxx_cv_func___builtin_sinl_use=no
49733 fi
49734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49735       ac_ext=c
49736 ac_cpp='$CPP $CPPFLAGS'
49737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49740
49741
49742 fi
49743
49744   fi
49745   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
49746 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
49747   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
49748     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
49749 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
49750     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
49751       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
49752   echo $ECHO_N "(cached) $ECHO_C" >&6
49753 else
49754
49755         if test x$gcc_no_link = xyes; then
49756   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49758    { (exit 1); exit 1; }; }
49759 fi
49760 cat >conftest.$ac_ext <<_ACEOF
49761 /* confdefs.h.  */
49762 _ACEOF
49763 cat confdefs.h >>conftest.$ac_ext
49764 cat >>conftest.$ac_ext <<_ACEOF
49765 /* end confdefs.h.  */
49766 #include <math.h>
49767 int
49768 main ()
49769 {
49770  __builtin_sinl(0);
49771   ;
49772   return 0;
49773 }
49774 _ACEOF
49775 rm -f conftest.$ac_objext conftest$ac_exeext
49776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49777   (eval $ac_link) 2>conftest.er1
49778   ac_status=$?
49779   grep -v '^ *+' conftest.er1 >conftest.err
49780   rm -f conftest.er1
49781   cat conftest.err >&5
49782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49783   (exit $ac_status); } &&
49784          { ac_try='test -z "$ac_c_werror_flag"
49785                          || test ! -s conftest.err'
49786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49787   (eval $ac_try) 2>&5
49788   ac_status=$?
49789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49790   (exit $ac_status); }; } &&
49791          { ac_try='test -s conftest$ac_exeext'
49792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49793   (eval $ac_try) 2>&5
49794   ac_status=$?
49795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49796   (exit $ac_status); }; }; then
49797   glibcxx_cv_func___builtin_sinl_link=yes
49798 else
49799   echo "$as_me: failed program was:" >&5
49800 sed 's/^/| /' conftest.$ac_ext >&5
49801
49802 glibcxx_cv_func___builtin_sinl_link=no
49803 fi
49804 rm -f conftest.err conftest.$ac_objext \
49805       conftest$ac_exeext conftest.$ac_ext
49806
49807 fi
49808
49809     fi
49810     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
49811 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
49812     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
49813       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49814
49815 cat >>confdefs.h <<_ACEOF
49816 #define ${ac_tr_func} 1
49817 _ACEOF
49818
49819     fi
49820   fi
49821
49822
49823
49824   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
49825 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
49826   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
49827     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
49828   echo $ECHO_N "(cached) $ECHO_C" >&6
49829 else
49830
49831
49832
49833       ac_ext=cc
49834 ac_cpp='$CXXCPP $CPPFLAGS'
49835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49838
49839       cat >conftest.$ac_ext <<_ACEOF
49840 /* confdefs.h.  */
49841 _ACEOF
49842 cat confdefs.h >>conftest.$ac_ext
49843 cat >>conftest.$ac_ext <<_ACEOF
49844 /* end confdefs.h.  */
49845 #include <math.h>
49846 int
49847 main ()
49848 {
49849  __builtin_cosf(0);
49850   ;
49851   return 0;
49852 }
49853 _ACEOF
49854 rm -f conftest.$ac_objext
49855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49856   (eval $ac_compile) 2>conftest.er1
49857   ac_status=$?
49858   grep -v '^ *+' conftest.er1 >conftest.err
49859   rm -f conftest.er1
49860   cat conftest.err >&5
49861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49862   (exit $ac_status); } &&
49863          { ac_try='test -z "$ac_cxx_werror_flag"
49864                          || test ! -s conftest.err'
49865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49866   (eval $ac_try) 2>&5
49867   ac_status=$?
49868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49869   (exit $ac_status); }; } &&
49870          { ac_try='test -s conftest.$ac_objext'
49871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49872   (eval $ac_try) 2>&5
49873   ac_status=$?
49874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49875   (exit $ac_status); }; }; then
49876   glibcxx_cv_func___builtin_cosf_use=yes
49877 else
49878   echo "$as_me: failed program was:" >&5
49879 sed 's/^/| /' conftest.$ac_ext >&5
49880
49881 glibcxx_cv_func___builtin_cosf_use=no
49882 fi
49883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49884       ac_ext=c
49885 ac_cpp='$CPP $CPPFLAGS'
49886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49889
49890
49891 fi
49892
49893   fi
49894   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
49895 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
49896   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
49897     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
49898 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
49899     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
49900       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
49901   echo $ECHO_N "(cached) $ECHO_C" >&6
49902 else
49903
49904         if test x$gcc_no_link = xyes; then
49905   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49907    { (exit 1); exit 1; }; }
49908 fi
49909 cat >conftest.$ac_ext <<_ACEOF
49910 /* confdefs.h.  */
49911 _ACEOF
49912 cat confdefs.h >>conftest.$ac_ext
49913 cat >>conftest.$ac_ext <<_ACEOF
49914 /* end confdefs.h.  */
49915 #include <math.h>
49916 int
49917 main ()
49918 {
49919  __builtin_cosf(0);
49920   ;
49921   return 0;
49922 }
49923 _ACEOF
49924 rm -f conftest.$ac_objext conftest$ac_exeext
49925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49926   (eval $ac_link) 2>conftest.er1
49927   ac_status=$?
49928   grep -v '^ *+' conftest.er1 >conftest.err
49929   rm -f conftest.er1
49930   cat conftest.err >&5
49931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49932   (exit $ac_status); } &&
49933          { ac_try='test -z "$ac_c_werror_flag"
49934                          || test ! -s conftest.err'
49935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49936   (eval $ac_try) 2>&5
49937   ac_status=$?
49938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49939   (exit $ac_status); }; } &&
49940          { ac_try='test -s conftest$ac_exeext'
49941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49942   (eval $ac_try) 2>&5
49943   ac_status=$?
49944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49945   (exit $ac_status); }; }; then
49946   glibcxx_cv_func___builtin_cosf_link=yes
49947 else
49948   echo "$as_me: failed program was:" >&5
49949 sed 's/^/| /' conftest.$ac_ext >&5
49950
49951 glibcxx_cv_func___builtin_cosf_link=no
49952 fi
49953 rm -f conftest.err conftest.$ac_objext \
49954       conftest$ac_exeext conftest.$ac_ext
49955
49956 fi
49957
49958     fi
49959     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
49960 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
49961     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
49962       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49963
49964 cat >>confdefs.h <<_ACEOF
49965 #define ${ac_tr_func} 1
49966 _ACEOF
49967
49968     fi
49969   fi
49970
49971
49972   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
49973 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
49974   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
49975     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
49976   echo $ECHO_N "(cached) $ECHO_C" >&6
49977 else
49978
49979
49980
49981       ac_ext=cc
49982 ac_cpp='$CXXCPP $CPPFLAGS'
49983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49986
49987       cat >conftest.$ac_ext <<_ACEOF
49988 /* confdefs.h.  */
49989 _ACEOF
49990 cat confdefs.h >>conftest.$ac_ext
49991 cat >>conftest.$ac_ext <<_ACEOF
49992 /* end confdefs.h.  */
49993 #include <math.h>
49994 int
49995 main ()
49996 {
49997  __builtin_cos(0);
49998   ;
49999   return 0;
50000 }
50001 _ACEOF
50002 rm -f conftest.$ac_objext
50003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50004   (eval $ac_compile) 2>conftest.er1
50005   ac_status=$?
50006   grep -v '^ *+' conftest.er1 >conftest.err
50007   rm -f conftest.er1
50008   cat conftest.err >&5
50009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50010   (exit $ac_status); } &&
50011          { ac_try='test -z "$ac_cxx_werror_flag"
50012                          || test ! -s conftest.err'
50013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50014   (eval $ac_try) 2>&5
50015   ac_status=$?
50016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50017   (exit $ac_status); }; } &&
50018          { ac_try='test -s conftest.$ac_objext'
50019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50020   (eval $ac_try) 2>&5
50021   ac_status=$?
50022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50023   (exit $ac_status); }; }; then
50024   glibcxx_cv_func___builtin_cos_use=yes
50025 else
50026   echo "$as_me: failed program was:" >&5
50027 sed 's/^/| /' conftest.$ac_ext >&5
50028
50029 glibcxx_cv_func___builtin_cos_use=no
50030 fi
50031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50032       ac_ext=c
50033 ac_cpp='$CPP $CPPFLAGS'
50034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50037
50038
50039 fi
50040
50041   fi
50042   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
50043 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
50044   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
50045     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
50046 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
50047     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
50048       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
50049   echo $ECHO_N "(cached) $ECHO_C" >&6
50050 else
50051
50052         if test x$gcc_no_link = xyes; then
50053   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50055    { (exit 1); exit 1; }; }
50056 fi
50057 cat >conftest.$ac_ext <<_ACEOF
50058 /* confdefs.h.  */
50059 _ACEOF
50060 cat confdefs.h >>conftest.$ac_ext
50061 cat >>conftest.$ac_ext <<_ACEOF
50062 /* end confdefs.h.  */
50063 #include <math.h>
50064 int
50065 main ()
50066 {
50067  __builtin_cos(0);
50068   ;
50069   return 0;
50070 }
50071 _ACEOF
50072 rm -f conftest.$ac_objext conftest$ac_exeext
50073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50074   (eval $ac_link) 2>conftest.er1
50075   ac_status=$?
50076   grep -v '^ *+' conftest.er1 >conftest.err
50077   rm -f conftest.er1
50078   cat conftest.err >&5
50079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50080   (exit $ac_status); } &&
50081          { ac_try='test -z "$ac_c_werror_flag"
50082                          || test ! -s conftest.err'
50083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50084   (eval $ac_try) 2>&5
50085   ac_status=$?
50086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50087   (exit $ac_status); }; } &&
50088          { ac_try='test -s conftest$ac_exeext'
50089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50090   (eval $ac_try) 2>&5
50091   ac_status=$?
50092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50093   (exit $ac_status); }; }; then
50094   glibcxx_cv_func___builtin_cos_link=yes
50095 else
50096   echo "$as_me: failed program was:" >&5
50097 sed 's/^/| /' conftest.$ac_ext >&5
50098
50099 glibcxx_cv_func___builtin_cos_link=no
50100 fi
50101 rm -f conftest.err conftest.$ac_objext \
50102       conftest$ac_exeext conftest.$ac_ext
50103
50104 fi
50105
50106     fi
50107     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
50108 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
50109     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
50110       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50111
50112 cat >>confdefs.h <<_ACEOF
50113 #define ${ac_tr_func} 1
50114 _ACEOF
50115
50116     fi
50117   fi
50118
50119
50120   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
50121 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
50122   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
50123     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
50124   echo $ECHO_N "(cached) $ECHO_C" >&6
50125 else
50126
50127
50128
50129       ac_ext=cc
50130 ac_cpp='$CXXCPP $CPPFLAGS'
50131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50134
50135       cat >conftest.$ac_ext <<_ACEOF
50136 /* confdefs.h.  */
50137 _ACEOF
50138 cat confdefs.h >>conftest.$ac_ext
50139 cat >>conftest.$ac_ext <<_ACEOF
50140 /* end confdefs.h.  */
50141 #include <math.h>
50142 int
50143 main ()
50144 {
50145  __builtin_cosl(0);
50146   ;
50147   return 0;
50148 }
50149 _ACEOF
50150 rm -f conftest.$ac_objext
50151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50152   (eval $ac_compile) 2>conftest.er1
50153   ac_status=$?
50154   grep -v '^ *+' conftest.er1 >conftest.err
50155   rm -f conftest.er1
50156   cat conftest.err >&5
50157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50158   (exit $ac_status); } &&
50159          { ac_try='test -z "$ac_cxx_werror_flag"
50160                          || test ! -s conftest.err'
50161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50162   (eval $ac_try) 2>&5
50163   ac_status=$?
50164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50165   (exit $ac_status); }; } &&
50166          { ac_try='test -s conftest.$ac_objext'
50167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50168   (eval $ac_try) 2>&5
50169   ac_status=$?
50170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50171   (exit $ac_status); }; }; then
50172   glibcxx_cv_func___builtin_cosl_use=yes
50173 else
50174   echo "$as_me: failed program was:" >&5
50175 sed 's/^/| /' conftest.$ac_ext >&5
50176
50177 glibcxx_cv_func___builtin_cosl_use=no
50178 fi
50179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50180       ac_ext=c
50181 ac_cpp='$CPP $CPPFLAGS'
50182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50185
50186
50187 fi
50188
50189   fi
50190   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
50191 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
50192   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
50193     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
50194 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
50195     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
50196       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
50197   echo $ECHO_N "(cached) $ECHO_C" >&6
50198 else
50199
50200         if test x$gcc_no_link = xyes; then
50201   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50203    { (exit 1); exit 1; }; }
50204 fi
50205 cat >conftest.$ac_ext <<_ACEOF
50206 /* confdefs.h.  */
50207 _ACEOF
50208 cat confdefs.h >>conftest.$ac_ext
50209 cat >>conftest.$ac_ext <<_ACEOF
50210 /* end confdefs.h.  */
50211 #include <math.h>
50212 int
50213 main ()
50214 {
50215  __builtin_cosl(0);
50216   ;
50217   return 0;
50218 }
50219 _ACEOF
50220 rm -f conftest.$ac_objext conftest$ac_exeext
50221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50222   (eval $ac_link) 2>conftest.er1
50223   ac_status=$?
50224   grep -v '^ *+' conftest.er1 >conftest.err
50225   rm -f conftest.er1
50226   cat conftest.err >&5
50227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50228   (exit $ac_status); } &&
50229          { ac_try='test -z "$ac_c_werror_flag"
50230                          || test ! -s conftest.err'
50231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50232   (eval $ac_try) 2>&5
50233   ac_status=$?
50234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50235   (exit $ac_status); }; } &&
50236          { ac_try='test -s conftest$ac_exeext'
50237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50238   (eval $ac_try) 2>&5
50239   ac_status=$?
50240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50241   (exit $ac_status); }; }; then
50242   glibcxx_cv_func___builtin_cosl_link=yes
50243 else
50244   echo "$as_me: failed program was:" >&5
50245 sed 's/^/| /' conftest.$ac_ext >&5
50246
50247 glibcxx_cv_func___builtin_cosl_link=no
50248 fi
50249 rm -f conftest.err conftest.$ac_objext \
50250       conftest$ac_exeext conftest.$ac_ext
50251
50252 fi
50253
50254     fi
50255     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
50256 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
50257     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
50258       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50259
50260 cat >>confdefs.h <<_ACEOF
50261 #define ${ac_tr_func} 1
50262 _ACEOF
50263
50264     fi
50265   fi
50266
50267
50268
50269
50270 echo "$as_me:$LINENO: checking for main in -lm" >&5
50271 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
50272 if test "${ac_cv_lib_m_main+set}" = set; then
50273   echo $ECHO_N "(cached) $ECHO_C" >&6
50274 else
50275   ac_check_lib_save_LIBS=$LIBS
50276 LIBS="-lm  $LIBS"
50277 if test x$gcc_no_link = xyes; then
50278   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50280    { (exit 1); exit 1; }; }
50281 fi
50282 cat >conftest.$ac_ext <<_ACEOF
50283 /* confdefs.h.  */
50284 _ACEOF
50285 cat confdefs.h >>conftest.$ac_ext
50286 cat >>conftest.$ac_ext <<_ACEOF
50287 /* end confdefs.h.  */
50288
50289
50290 int
50291 main ()
50292 {
50293 main ();
50294   ;
50295   return 0;
50296 }
50297 _ACEOF
50298 rm -f conftest.$ac_objext conftest$ac_exeext
50299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50300   (eval $ac_link) 2>conftest.er1
50301   ac_status=$?
50302   grep -v '^ *+' conftest.er1 >conftest.err
50303   rm -f conftest.er1
50304   cat conftest.err >&5
50305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50306   (exit $ac_status); } &&
50307          { ac_try='test -z "$ac_c_werror_flag"
50308                          || test ! -s conftest.err'
50309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50310   (eval $ac_try) 2>&5
50311   ac_status=$?
50312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50313   (exit $ac_status); }; } &&
50314          { ac_try='test -s conftest$ac_exeext'
50315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50316   (eval $ac_try) 2>&5
50317   ac_status=$?
50318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50319   (exit $ac_status); }; }; then
50320   ac_cv_lib_m_main=yes
50321 else
50322   echo "$as_me: failed program was:" >&5
50323 sed 's/^/| /' conftest.$ac_ext >&5
50324
50325 ac_cv_lib_m_main=no
50326 fi
50327 rm -f conftest.err conftest.$ac_objext \
50328       conftest$ac_exeext conftest.$ac_ext
50329 LIBS=$ac_check_lib_save_LIBS
50330 fi
50331 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
50332 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
50333 if test $ac_cv_lib_m_main = yes; then
50334   cat >>confdefs.h <<_ACEOF
50335 #define HAVE_LIBM 1
50336 _ACEOF
50337
50338   LIBS="-lm $LIBS"
50339
50340 fi
50341
50342
50343 for ac_func in copysignf
50344 do
50345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50346 echo "$as_me:$LINENO: checking for $ac_func" >&5
50347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50348 if eval "test \"\${$as_ac_var+set}\" = set"; then
50349   echo $ECHO_N "(cached) $ECHO_C" >&6
50350 else
50351   if test x$gcc_no_link = xyes; then
50352   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50354    { (exit 1); exit 1; }; }
50355 fi
50356 cat >conftest.$ac_ext <<_ACEOF
50357 /* confdefs.h.  */
50358 _ACEOF
50359 cat confdefs.h >>conftest.$ac_ext
50360 cat >>conftest.$ac_ext <<_ACEOF
50361 /* end confdefs.h.  */
50362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50363    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50364 #define $ac_func innocuous_$ac_func
50365
50366 /* System header to define __stub macros and hopefully few prototypes,
50367     which can conflict with char $ac_func (); below.
50368     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50369     <limits.h> exists even on freestanding compilers.  */
50370
50371 #ifdef __STDC__
50372 # include <limits.h>
50373 #else
50374 # include <assert.h>
50375 #endif
50376
50377 #undef $ac_func
50378
50379 /* Override any gcc2 internal prototype to avoid an error.  */
50380 #ifdef __cplusplus
50381 extern "C"
50382 {
50383 #endif
50384 /* We use char because int might match the return type of a gcc2
50385    builtin and then its argument prototype would still apply.  */
50386 char $ac_func ();
50387 /* The GNU C library defines this for functions which it implements
50388     to always fail with ENOSYS.  Some functions are actually named
50389     something starting with __ and the normal name is an alias.  */
50390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50391 choke me
50392 #else
50393 char (*f) () = $ac_func;
50394 #endif
50395 #ifdef __cplusplus
50396 }
50397 #endif
50398
50399 int
50400 main ()
50401 {
50402 return f != $ac_func;
50403   ;
50404   return 0;
50405 }
50406 _ACEOF
50407 rm -f conftest.$ac_objext conftest$ac_exeext
50408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50409   (eval $ac_link) 2>conftest.er1
50410   ac_status=$?
50411   grep -v '^ *+' conftest.er1 >conftest.err
50412   rm -f conftest.er1
50413   cat conftest.err >&5
50414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50415   (exit $ac_status); } &&
50416          { ac_try='test -z "$ac_c_werror_flag"
50417                          || test ! -s conftest.err'
50418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50419   (eval $ac_try) 2>&5
50420   ac_status=$?
50421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50422   (exit $ac_status); }; } &&
50423          { ac_try='test -s conftest$ac_exeext'
50424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50425   (eval $ac_try) 2>&5
50426   ac_status=$?
50427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50428   (exit $ac_status); }; }; then
50429   eval "$as_ac_var=yes"
50430 else
50431   echo "$as_me: failed program was:" >&5
50432 sed 's/^/| /' conftest.$ac_ext >&5
50433
50434 eval "$as_ac_var=no"
50435 fi
50436 rm -f conftest.err conftest.$ac_objext \
50437       conftest$ac_exeext conftest.$ac_ext
50438 fi
50439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50441 if test `eval echo '${'$as_ac_var'}'` = yes; then
50442   cat >>confdefs.h <<_ACEOF
50443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50444 _ACEOF
50445
50446 else
50447   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
50448 fi
50449 done
50450
50451
50452
50453 for ac_func in __signbit
50454 do
50455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50456 echo "$as_me:$LINENO: checking for $ac_func" >&5
50457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50458 if eval "test \"\${$as_ac_var+set}\" = set"; then
50459   echo $ECHO_N "(cached) $ECHO_C" >&6
50460 else
50461   if test x$gcc_no_link = xyes; then
50462   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50464    { (exit 1); exit 1; }; }
50465 fi
50466 cat >conftest.$ac_ext <<_ACEOF
50467 /* confdefs.h.  */
50468 _ACEOF
50469 cat confdefs.h >>conftest.$ac_ext
50470 cat >>conftest.$ac_ext <<_ACEOF
50471 /* end confdefs.h.  */
50472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50473    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50474 #define $ac_func innocuous_$ac_func
50475
50476 /* System header to define __stub macros and hopefully few prototypes,
50477     which can conflict with char $ac_func (); below.
50478     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50479     <limits.h> exists even on freestanding compilers.  */
50480
50481 #ifdef __STDC__
50482 # include <limits.h>
50483 #else
50484 # include <assert.h>
50485 #endif
50486
50487 #undef $ac_func
50488
50489 /* Override any gcc2 internal prototype to avoid an error.  */
50490 #ifdef __cplusplus
50491 extern "C"
50492 {
50493 #endif
50494 /* We use char because int might match the return type of a gcc2
50495    builtin and then its argument prototype would still apply.  */
50496 char $ac_func ();
50497 /* The GNU C library defines this for functions which it implements
50498     to always fail with ENOSYS.  Some functions are actually named
50499     something starting with __ and the normal name is an alias.  */
50500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50501 choke me
50502 #else
50503 char (*f) () = $ac_func;
50504 #endif
50505 #ifdef __cplusplus
50506 }
50507 #endif
50508
50509 int
50510 main ()
50511 {
50512 return f != $ac_func;
50513   ;
50514   return 0;
50515 }
50516 _ACEOF
50517 rm -f conftest.$ac_objext conftest$ac_exeext
50518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50519   (eval $ac_link) 2>conftest.er1
50520   ac_status=$?
50521   grep -v '^ *+' conftest.er1 >conftest.err
50522   rm -f conftest.er1
50523   cat conftest.err >&5
50524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50525   (exit $ac_status); } &&
50526          { ac_try='test -z "$ac_c_werror_flag"
50527                          || test ! -s conftest.err'
50528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50529   (eval $ac_try) 2>&5
50530   ac_status=$?
50531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50532   (exit $ac_status); }; } &&
50533          { ac_try='test -s conftest$ac_exeext'
50534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50535   (eval $ac_try) 2>&5
50536   ac_status=$?
50537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50538   (exit $ac_status); }; }; then
50539   eval "$as_ac_var=yes"
50540 else
50541   echo "$as_me: failed program was:" >&5
50542 sed 's/^/| /' conftest.$ac_ext >&5
50543
50544 eval "$as_ac_var=no"
50545 fi
50546 rm -f conftest.err conftest.$ac_objext \
50547       conftest$ac_exeext conftest.$ac_ext
50548 fi
50549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50551 if test `eval echo '${'$as_ac_var'}'` = yes; then
50552   cat >>confdefs.h <<_ACEOF
50553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50554 _ACEOF
50555
50556 else
50557   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
50558 fi
50559 done
50560
50561
50562
50563 for ac_func in __signbitf
50564 do
50565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50566 echo "$as_me:$LINENO: checking for $ac_func" >&5
50567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50568 if eval "test \"\${$as_ac_var+set}\" = set"; then
50569   echo $ECHO_N "(cached) $ECHO_C" >&6
50570 else
50571   if test x$gcc_no_link = xyes; then
50572   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50574    { (exit 1); exit 1; }; }
50575 fi
50576 cat >conftest.$ac_ext <<_ACEOF
50577 /* confdefs.h.  */
50578 _ACEOF
50579 cat confdefs.h >>conftest.$ac_ext
50580 cat >>conftest.$ac_ext <<_ACEOF
50581 /* end confdefs.h.  */
50582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50583    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50584 #define $ac_func innocuous_$ac_func
50585
50586 /* System header to define __stub macros and hopefully few prototypes,
50587     which can conflict with char $ac_func (); below.
50588     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50589     <limits.h> exists even on freestanding compilers.  */
50590
50591 #ifdef __STDC__
50592 # include <limits.h>
50593 #else
50594 # include <assert.h>
50595 #endif
50596
50597 #undef $ac_func
50598
50599 /* Override any gcc2 internal prototype to avoid an error.  */
50600 #ifdef __cplusplus
50601 extern "C"
50602 {
50603 #endif
50604 /* We use char because int might match the return type of a gcc2
50605    builtin and then its argument prototype would still apply.  */
50606 char $ac_func ();
50607 /* The GNU C library defines this for functions which it implements
50608     to always fail with ENOSYS.  Some functions are actually named
50609     something starting with __ and the normal name is an alias.  */
50610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50611 choke me
50612 #else
50613 char (*f) () = $ac_func;
50614 #endif
50615 #ifdef __cplusplus
50616 }
50617 #endif
50618
50619 int
50620 main ()
50621 {
50622 return f != $ac_func;
50623   ;
50624   return 0;
50625 }
50626 _ACEOF
50627 rm -f conftest.$ac_objext conftest$ac_exeext
50628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50629   (eval $ac_link) 2>conftest.er1
50630   ac_status=$?
50631   grep -v '^ *+' conftest.er1 >conftest.err
50632   rm -f conftest.er1
50633   cat conftest.err >&5
50634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50635   (exit $ac_status); } &&
50636          { ac_try='test -z "$ac_c_werror_flag"
50637                          || test ! -s conftest.err'
50638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50639   (eval $ac_try) 2>&5
50640   ac_status=$?
50641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50642   (exit $ac_status); }; } &&
50643          { ac_try='test -s conftest$ac_exeext'
50644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50645   (eval $ac_try) 2>&5
50646   ac_status=$?
50647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50648   (exit $ac_status); }; }; then
50649   eval "$as_ac_var=yes"
50650 else
50651   echo "$as_me: failed program was:" >&5
50652 sed 's/^/| /' conftest.$ac_ext >&5
50653
50654 eval "$as_ac_var=no"
50655 fi
50656 rm -f conftest.err conftest.$ac_objext \
50657       conftest$ac_exeext conftest.$ac_ext
50658 fi
50659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50661 if test `eval echo '${'$as_ac_var'}'` = yes; then
50662   cat >>confdefs.h <<_ACEOF
50663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50664 _ACEOF
50665
50666 else
50667   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
50668 fi
50669 done
50670
50671
50672           if test x$ac_cv_func_copysignl = x"yes"; then
50673
50674 for ac_func in __signbitl
50675 do
50676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50677 echo "$as_me:$LINENO: checking for $ac_func" >&5
50678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50679 if eval "test \"\${$as_ac_var+set}\" = set"; then
50680   echo $ECHO_N "(cached) $ECHO_C" >&6
50681 else
50682   if test x$gcc_no_link = xyes; then
50683   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50685    { (exit 1); exit 1; }; }
50686 fi
50687 cat >conftest.$ac_ext <<_ACEOF
50688 /* confdefs.h.  */
50689 _ACEOF
50690 cat confdefs.h >>conftest.$ac_ext
50691 cat >>conftest.$ac_ext <<_ACEOF
50692 /* end confdefs.h.  */
50693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50694    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50695 #define $ac_func innocuous_$ac_func
50696
50697 /* System header to define __stub macros and hopefully few prototypes,
50698     which can conflict with char $ac_func (); below.
50699     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50700     <limits.h> exists even on freestanding compilers.  */
50701
50702 #ifdef __STDC__
50703 # include <limits.h>
50704 #else
50705 # include <assert.h>
50706 #endif
50707
50708 #undef $ac_func
50709
50710 /* Override any gcc2 internal prototype to avoid an error.  */
50711 #ifdef __cplusplus
50712 extern "C"
50713 {
50714 #endif
50715 /* We use char because int might match the return type of a gcc2
50716    builtin and then its argument prototype would still apply.  */
50717 char $ac_func ();
50718 /* The GNU C library defines this for functions which it implements
50719     to always fail with ENOSYS.  Some functions are actually named
50720     something starting with __ and the normal name is an alias.  */
50721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50722 choke me
50723 #else
50724 char (*f) () = $ac_func;
50725 #endif
50726 #ifdef __cplusplus
50727 }
50728 #endif
50729
50730 int
50731 main ()
50732 {
50733 return f != $ac_func;
50734   ;
50735   return 0;
50736 }
50737 _ACEOF
50738 rm -f conftest.$ac_objext conftest$ac_exeext
50739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50740   (eval $ac_link) 2>conftest.er1
50741   ac_status=$?
50742   grep -v '^ *+' conftest.er1 >conftest.err
50743   rm -f conftest.er1
50744   cat conftest.err >&5
50745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50746   (exit $ac_status); } &&
50747          { ac_try='test -z "$ac_c_werror_flag"
50748                          || test ! -s conftest.err'
50749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50750   (eval $ac_try) 2>&5
50751   ac_status=$?
50752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50753   (exit $ac_status); }; } &&
50754          { ac_try='test -s conftest$ac_exeext'
50755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50756   (eval $ac_try) 2>&5
50757   ac_status=$?
50758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50759   (exit $ac_status); }; }; then
50760   eval "$as_ac_var=yes"
50761 else
50762   echo "$as_me: failed program was:" >&5
50763 sed 's/^/| /' conftest.$ac_ext >&5
50764
50765 eval "$as_ac_var=no"
50766 fi
50767 rm -f conftest.err conftest.$ac_objext \
50768       conftest$ac_exeext conftest.$ac_ext
50769 fi
50770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50772 if test `eval echo '${'$as_ac_var'}'` = yes; then
50773   cat >>confdefs.h <<_ACEOF
50774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50775 _ACEOF
50776
50777 else
50778   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
50779 fi
50780 done
50781
50782   fi
50783
50784   # Used in libmath/Makefile.am.
50785   if test -n "$LIBMATHOBJS"; then
50786     need_libmath=yes
50787   fi
50788
50789
50790
50791   # Test wchar.h for mbstate_t, which is needed for char_traits and
50792   # others even if wchar_t support is not on.
50793   echo "$as_me:$LINENO: checking for mbstate_t" >&5
50794 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
50795   cat >conftest.$ac_ext <<_ACEOF
50796 /* confdefs.h.  */
50797 _ACEOF
50798 cat confdefs.h >>conftest.$ac_ext
50799 cat >>conftest.$ac_ext <<_ACEOF
50800 /* end confdefs.h.  */
50801 #include <wchar.h>
50802 int
50803 main ()
50804 {
50805 mbstate_t teststate;
50806   ;
50807   return 0;
50808 }
50809 _ACEOF
50810 rm -f conftest.$ac_objext
50811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50812   (eval $ac_compile) 2>conftest.er1
50813   ac_status=$?
50814   grep -v '^ *+' conftest.er1 >conftest.err
50815   rm -f conftest.er1
50816   cat conftest.err >&5
50817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50818   (exit $ac_status); } &&
50819          { ac_try='test -z "$ac_c_werror_flag"
50820                          || test ! -s conftest.err'
50821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50822   (eval $ac_try) 2>&5
50823   ac_status=$?
50824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50825   (exit $ac_status); }; } &&
50826          { ac_try='test -s conftest.$ac_objext'
50827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50828   (eval $ac_try) 2>&5
50829   ac_status=$?
50830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50831   (exit $ac_status); }; }; then
50832   have_mbstate_t=yes
50833 else
50834   echo "$as_me: failed program was:" >&5
50835 sed 's/^/| /' conftest.$ac_ext >&5
50836
50837 have_mbstate_t=no
50838 fi
50839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50840   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
50841 echo "${ECHO_T}$have_mbstate_t" >&6
50842   if test x"$have_mbstate_t" = xyes; then
50843     cat >>confdefs.h <<\_ACEOF
50844 #define HAVE_MBSTATE_T 1
50845 _ACEOF
50846
50847   fi
50848
50849   # Sanity check for existence of ISO C99 headers for extended encoding.
50850
50851 for ac_header in wchar.h
50852 do
50853 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
50854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50855   echo "$as_me:$LINENO: checking for $ac_header" >&5
50856 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50858   echo $ECHO_N "(cached) $ECHO_C" >&6
50859 fi
50860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50862 else
50863   # Is the header compilable?
50864 echo "$as_me:$LINENO: checking $ac_header usability" >&5
50865 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
50866 cat >conftest.$ac_ext <<_ACEOF
50867 /* confdefs.h.  */
50868 _ACEOF
50869 cat confdefs.h >>conftest.$ac_ext
50870 cat >>conftest.$ac_ext <<_ACEOF
50871 /* end confdefs.h.  */
50872 $ac_includes_default
50873 #include <$ac_header>
50874 _ACEOF
50875 rm -f conftest.$ac_objext
50876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50877   (eval $ac_compile) 2>conftest.er1
50878   ac_status=$?
50879   grep -v '^ *+' conftest.er1 >conftest.err
50880   rm -f conftest.er1
50881   cat conftest.err >&5
50882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50883   (exit $ac_status); } &&
50884          { ac_try='test -z "$ac_c_werror_flag"
50885                          || test ! -s conftest.err'
50886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50887   (eval $ac_try) 2>&5
50888   ac_status=$?
50889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50890   (exit $ac_status); }; } &&
50891          { ac_try='test -s conftest.$ac_objext'
50892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50893   (eval $ac_try) 2>&5
50894   ac_status=$?
50895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50896   (exit $ac_status); }; }; then
50897   ac_header_compiler=yes
50898 else
50899   echo "$as_me: failed program was:" >&5
50900 sed 's/^/| /' conftest.$ac_ext >&5
50901
50902 ac_header_compiler=no
50903 fi
50904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50905 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50906 echo "${ECHO_T}$ac_header_compiler" >&6
50907
50908 # Is the header present?
50909 echo "$as_me:$LINENO: checking $ac_header presence" >&5
50910 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
50911 cat >conftest.$ac_ext <<_ACEOF
50912 /* confdefs.h.  */
50913 _ACEOF
50914 cat confdefs.h >>conftest.$ac_ext
50915 cat >>conftest.$ac_ext <<_ACEOF
50916 /* end confdefs.h.  */
50917 #include <$ac_header>
50918 _ACEOF
50919 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50920   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50921   ac_status=$?
50922   grep -v '^ *+' conftest.er1 >conftest.err
50923   rm -f conftest.er1
50924   cat conftest.err >&5
50925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50926   (exit $ac_status); } >/dev/null; then
50927   if test -s conftest.err; then
50928     ac_cpp_err=$ac_c_preproc_warn_flag
50929     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
50930   else
50931     ac_cpp_err=
50932   fi
50933 else
50934   ac_cpp_err=yes
50935 fi
50936 if test -z "$ac_cpp_err"; then
50937   ac_header_preproc=yes
50938 else
50939   echo "$as_me: failed program was:" >&5
50940 sed 's/^/| /' conftest.$ac_ext >&5
50941
50942   ac_header_preproc=no
50943 fi
50944 rm -f conftest.err conftest.$ac_ext
50945 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50946 echo "${ECHO_T}$ac_header_preproc" >&6
50947
50948 # So?  What about this header?
50949 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
50950   yes:no: )
50951     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
50952 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
50953     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
50954 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
50955     ac_header_preproc=yes
50956     ;;
50957   no:yes:* )
50958     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
50959 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
50960     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
50961 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
50962     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
50963 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
50964     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
50965 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
50966     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50967 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50968     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
50969 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
50970     (
50971       cat <<\_ASBOX
50972 ## ----------------------------------------- ##
50973 ## Report this to the package-unused lists.  ##
50974 ## ----------------------------------------- ##
50975 _ASBOX
50976     ) |
50977       sed "s/^/$as_me: WARNING:     /" >&2
50978     ;;
50979 esac
50980 echo "$as_me:$LINENO: checking for $ac_header" >&5
50981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50983   echo $ECHO_N "(cached) $ECHO_C" >&6
50984 else
50985   eval "$as_ac_Header=\$ac_header_preproc"
50986 fi
50987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50988 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50989
50990 fi
50991 if test `eval echo '${'$as_ac_Header'}'` = yes; then
50992   cat >>confdefs.h <<_ACEOF
50993 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
50994 _ACEOF
50995  ac_has_wchar_h=yes
50996 else
50997   ac_has_wchar_h=no
50998 fi
50999
51000 done
51001
51002
51003 for ac_header in wctype.h
51004 do
51005 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51006 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51007   echo "$as_me:$LINENO: checking for $ac_header" >&5
51008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51009 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51010   echo $ECHO_N "(cached) $ECHO_C" >&6
51011 fi
51012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51013 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51014 else
51015   # Is the header compilable?
51016 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51017 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51018 cat >conftest.$ac_ext <<_ACEOF
51019 /* confdefs.h.  */
51020 _ACEOF
51021 cat confdefs.h >>conftest.$ac_ext
51022 cat >>conftest.$ac_ext <<_ACEOF
51023 /* end confdefs.h.  */
51024 $ac_includes_default
51025 #include <$ac_header>
51026 _ACEOF
51027 rm -f conftest.$ac_objext
51028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51029   (eval $ac_compile) 2>conftest.er1
51030   ac_status=$?
51031   grep -v '^ *+' conftest.er1 >conftest.err
51032   rm -f conftest.er1
51033   cat conftest.err >&5
51034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51035   (exit $ac_status); } &&
51036          { ac_try='test -z "$ac_c_werror_flag"
51037                          || test ! -s conftest.err'
51038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51039   (eval $ac_try) 2>&5
51040   ac_status=$?
51041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51042   (exit $ac_status); }; } &&
51043          { ac_try='test -s conftest.$ac_objext'
51044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51045   (eval $ac_try) 2>&5
51046   ac_status=$?
51047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51048   (exit $ac_status); }; }; then
51049   ac_header_compiler=yes
51050 else
51051   echo "$as_me: failed program was:" >&5
51052 sed 's/^/| /' conftest.$ac_ext >&5
51053
51054 ac_header_compiler=no
51055 fi
51056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51057 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51058 echo "${ECHO_T}$ac_header_compiler" >&6
51059
51060 # Is the header present?
51061 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51062 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51063 cat >conftest.$ac_ext <<_ACEOF
51064 /* confdefs.h.  */
51065 _ACEOF
51066 cat confdefs.h >>conftest.$ac_ext
51067 cat >>conftest.$ac_ext <<_ACEOF
51068 /* end confdefs.h.  */
51069 #include <$ac_header>
51070 _ACEOF
51071 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51072   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51073   ac_status=$?
51074   grep -v '^ *+' conftest.er1 >conftest.err
51075   rm -f conftest.er1
51076   cat conftest.err >&5
51077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51078   (exit $ac_status); } >/dev/null; then
51079   if test -s conftest.err; then
51080     ac_cpp_err=$ac_c_preproc_warn_flag
51081     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51082   else
51083     ac_cpp_err=
51084   fi
51085 else
51086   ac_cpp_err=yes
51087 fi
51088 if test -z "$ac_cpp_err"; then
51089   ac_header_preproc=yes
51090 else
51091   echo "$as_me: failed program was:" >&5
51092 sed 's/^/| /' conftest.$ac_ext >&5
51093
51094   ac_header_preproc=no
51095 fi
51096 rm -f conftest.err conftest.$ac_ext
51097 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51098 echo "${ECHO_T}$ac_header_preproc" >&6
51099
51100 # So?  What about this header?
51101 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51102   yes:no: )
51103     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51104 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51105     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51106 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51107     ac_header_preproc=yes
51108     ;;
51109   no:yes:* )
51110     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51111 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51112     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
51113 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
51114     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51115 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51116     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
51117 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
51118     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51119 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51120     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51121 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51122     (
51123       cat <<\_ASBOX
51124 ## ----------------------------------------- ##
51125 ## Report this to the package-unused lists.  ##
51126 ## ----------------------------------------- ##
51127 _ASBOX
51128     ) |
51129       sed "s/^/$as_me: WARNING:     /" >&2
51130     ;;
51131 esac
51132 echo "$as_me:$LINENO: checking for $ac_header" >&5
51133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51134 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51135   echo $ECHO_N "(cached) $ECHO_C" >&6
51136 else
51137   eval "$as_ac_Header=\$ac_header_preproc"
51138 fi
51139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51140 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51141
51142 fi
51143 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51144   cat >>confdefs.h <<_ACEOF
51145 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51146 _ACEOF
51147  ac_has_wctype_h=yes
51148 else
51149   ac_has_wctype_h=no
51150 fi
51151
51152 done
51153
51154
51155   # Only continue checking if the ISO C99 headers exist and support is on.
51156   if test x"$ac_has_wchar_h" = xyes &&
51157      test x"$ac_has_wctype_h" = xyes &&
51158      test x"$enable_c_mbchar" != xno; then
51159
51160     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
51161     # numeric_limits can instantiate type_traits<wchar_t>
51162     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
51163 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
51164     cat >conftest.$ac_ext <<_ACEOF
51165 /* confdefs.h.  */
51166 _ACEOF
51167 cat confdefs.h >>conftest.$ac_ext
51168 cat >>conftest.$ac_ext <<_ACEOF
51169 /* end confdefs.h.  */
51170 #include <wchar.h>
51171 int
51172 main ()
51173 {
51174 int i = WCHAR_MIN; int j = WCHAR_MAX;
51175   ;
51176   return 0;
51177 }
51178 _ACEOF
51179 rm -f conftest.$ac_objext
51180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51181   (eval $ac_compile) 2>conftest.er1
51182   ac_status=$?
51183   grep -v '^ *+' conftest.er1 >conftest.err
51184   rm -f conftest.er1
51185   cat conftest.err >&5
51186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51187   (exit $ac_status); } &&
51188          { ac_try='test -z "$ac_c_werror_flag"
51189                          || test ! -s conftest.err'
51190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51191   (eval $ac_try) 2>&5
51192   ac_status=$?
51193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51194   (exit $ac_status); }; } &&
51195          { ac_try='test -s conftest.$ac_objext'
51196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51197   (eval $ac_try) 2>&5
51198   ac_status=$?
51199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51200   (exit $ac_status); }; }; then
51201   has_wchar_minmax=yes
51202 else
51203   echo "$as_me: failed program was:" >&5
51204 sed 's/^/| /' conftest.$ac_ext >&5
51205
51206 has_wchar_minmax=no
51207 fi
51208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51209     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
51210 echo "${ECHO_T}$has_wchar_minmax" >&6
51211
51212     # Test wchar.h for WEOF, which is what we use to determine whether
51213     # to specialize for char_traits<wchar_t> or not.
51214     echo "$as_me:$LINENO: checking for WEOF" >&5
51215 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
51216     cat >conftest.$ac_ext <<_ACEOF
51217 /* confdefs.h.  */
51218 _ACEOF
51219 cat confdefs.h >>conftest.$ac_ext
51220 cat >>conftest.$ac_ext <<_ACEOF
51221 /* end confdefs.h.  */
51222
51223       #include <wchar.h>
51224       #include <stddef.h>
51225 int
51226 main ()
51227 {
51228 wint_t i = WEOF;
51229   ;
51230   return 0;
51231 }
51232 _ACEOF
51233 rm -f conftest.$ac_objext
51234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51235   (eval $ac_compile) 2>conftest.er1
51236   ac_status=$?
51237   grep -v '^ *+' conftest.er1 >conftest.err
51238   rm -f conftest.er1
51239   cat conftest.err >&5
51240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51241   (exit $ac_status); } &&
51242          { ac_try='test -z "$ac_c_werror_flag"
51243                          || test ! -s conftest.err'
51244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51245   (eval $ac_try) 2>&5
51246   ac_status=$?
51247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51248   (exit $ac_status); }; } &&
51249          { ac_try='test -s conftest.$ac_objext'
51250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51251   (eval $ac_try) 2>&5
51252   ac_status=$?
51253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51254   (exit $ac_status); }; }; then
51255   has_weof=yes
51256 else
51257   echo "$as_me: failed program was:" >&5
51258 sed 's/^/| /' conftest.$ac_ext >&5
51259
51260 has_weof=no
51261 fi
51262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51263     echo "$as_me:$LINENO: result: $has_weof" >&5
51264 echo "${ECHO_T}$has_weof" >&6
51265
51266     # Tests for wide character functions used in char_traits<wchar_t>.
51267     ac_wfuncs=yes
51268
51269
51270
51271
51272
51273
51274 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
51275 do
51276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51277 echo "$as_me:$LINENO: checking for $ac_func" >&5
51278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51279 if eval "test \"\${$as_ac_var+set}\" = set"; then
51280   echo $ECHO_N "(cached) $ECHO_C" >&6
51281 else
51282   if test x$gcc_no_link = xyes; then
51283   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51285    { (exit 1); exit 1; }; }
51286 fi
51287 cat >conftest.$ac_ext <<_ACEOF
51288 /* confdefs.h.  */
51289 _ACEOF
51290 cat confdefs.h >>conftest.$ac_ext
51291 cat >>conftest.$ac_ext <<_ACEOF
51292 /* end confdefs.h.  */
51293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51294    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51295 #define $ac_func innocuous_$ac_func
51296
51297 /* System header to define __stub macros and hopefully few prototypes,
51298     which can conflict with char $ac_func (); below.
51299     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51300     <limits.h> exists even on freestanding compilers.  */
51301
51302 #ifdef __STDC__
51303 # include <limits.h>
51304 #else
51305 # include <assert.h>
51306 #endif
51307
51308 #undef $ac_func
51309
51310 /* Override any gcc2 internal prototype to avoid an error.  */
51311 #ifdef __cplusplus
51312 extern "C"
51313 {
51314 #endif
51315 /* We use char because int might match the return type of a gcc2
51316    builtin and then its argument prototype would still apply.  */
51317 char $ac_func ();
51318 /* The GNU C library defines this for functions which it implements
51319     to always fail with ENOSYS.  Some functions are actually named
51320     something starting with __ and the normal name is an alias.  */
51321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51322 choke me
51323 #else
51324 char (*f) () = $ac_func;
51325 #endif
51326 #ifdef __cplusplus
51327 }
51328 #endif
51329
51330 int
51331 main ()
51332 {
51333 return f != $ac_func;
51334   ;
51335   return 0;
51336 }
51337 _ACEOF
51338 rm -f conftest.$ac_objext conftest$ac_exeext
51339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51340   (eval $ac_link) 2>conftest.er1
51341   ac_status=$?
51342   grep -v '^ *+' conftest.er1 >conftest.err
51343   rm -f conftest.er1
51344   cat conftest.err >&5
51345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51346   (exit $ac_status); } &&
51347          { ac_try='test -z "$ac_c_werror_flag"
51348                          || test ! -s conftest.err'
51349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51350   (eval $ac_try) 2>&5
51351   ac_status=$?
51352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51353   (exit $ac_status); }; } &&
51354          { ac_try='test -s conftest$ac_exeext'
51355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51356   (eval $ac_try) 2>&5
51357   ac_status=$?
51358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51359   (exit $ac_status); }; }; then
51360   eval "$as_ac_var=yes"
51361 else
51362   echo "$as_me: failed program was:" >&5
51363 sed 's/^/| /' conftest.$ac_ext >&5
51364
51365 eval "$as_ac_var=no"
51366 fi
51367 rm -f conftest.err conftest.$ac_objext \
51368       conftest$ac_exeext conftest.$ac_ext
51369 fi
51370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51372 if test `eval echo '${'$as_ac_var'}'` = yes; then
51373   cat >>confdefs.h <<_ACEOF
51374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51375 _ACEOF
51376
51377 else
51378   ac_wfuncs=no
51379 fi
51380 done
51381
51382
51383     # Checks for names injected into std:: by the c_std headers.
51384
51385
51386
51387
51388
51389
51390
51391
51392
51393
51394
51395
51396
51397
51398
51399
51400
51401
51402
51403
51404
51405
51406
51407
51408
51409
51410
51411
51412
51413
51414
51415
51416
51417
51418
51419
51420
51421
51422
51423
51424
51425
51426
51427
51428
51429
51430 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
51431     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
51432     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
51433     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
51434     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
51435     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
51436 do
51437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51438 echo "$as_me:$LINENO: checking for $ac_func" >&5
51439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51440 if eval "test \"\${$as_ac_var+set}\" = set"; then
51441   echo $ECHO_N "(cached) $ECHO_C" >&6
51442 else
51443   if test x$gcc_no_link = xyes; then
51444   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51446    { (exit 1); exit 1; }; }
51447 fi
51448 cat >conftest.$ac_ext <<_ACEOF
51449 /* confdefs.h.  */
51450 _ACEOF
51451 cat confdefs.h >>conftest.$ac_ext
51452 cat >>conftest.$ac_ext <<_ACEOF
51453 /* end confdefs.h.  */
51454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51455    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51456 #define $ac_func innocuous_$ac_func
51457
51458 /* System header to define __stub macros and hopefully few prototypes,
51459     which can conflict with char $ac_func (); below.
51460     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51461     <limits.h> exists even on freestanding compilers.  */
51462
51463 #ifdef __STDC__
51464 # include <limits.h>
51465 #else
51466 # include <assert.h>
51467 #endif
51468
51469 #undef $ac_func
51470
51471 /* Override any gcc2 internal prototype to avoid an error.  */
51472 #ifdef __cplusplus
51473 extern "C"
51474 {
51475 #endif
51476 /* We use char because int might match the return type of a gcc2
51477    builtin and then its argument prototype would still apply.  */
51478 char $ac_func ();
51479 /* The GNU C library defines this for functions which it implements
51480     to always fail with ENOSYS.  Some functions are actually named
51481     something starting with __ and the normal name is an alias.  */
51482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51483 choke me
51484 #else
51485 char (*f) () = $ac_func;
51486 #endif
51487 #ifdef __cplusplus
51488 }
51489 #endif
51490
51491 int
51492 main ()
51493 {
51494 return f != $ac_func;
51495   ;
51496   return 0;
51497 }
51498 _ACEOF
51499 rm -f conftest.$ac_objext conftest$ac_exeext
51500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51501   (eval $ac_link) 2>conftest.er1
51502   ac_status=$?
51503   grep -v '^ *+' conftest.er1 >conftest.err
51504   rm -f conftest.er1
51505   cat conftest.err >&5
51506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51507   (exit $ac_status); } &&
51508          { ac_try='test -z "$ac_c_werror_flag"
51509                          || test ! -s conftest.err'
51510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51511   (eval $ac_try) 2>&5
51512   ac_status=$?
51513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51514   (exit $ac_status); }; } &&
51515          { ac_try='test -s conftest$ac_exeext'
51516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51517   (eval $ac_try) 2>&5
51518   ac_status=$?
51519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51520   (exit $ac_status); }; }; then
51521   eval "$as_ac_var=yes"
51522 else
51523   echo "$as_me: failed program was:" >&5
51524 sed 's/^/| /' conftest.$ac_ext >&5
51525
51526 eval "$as_ac_var=no"
51527 fi
51528 rm -f conftest.err conftest.$ac_objext \
51529       conftest$ac_exeext conftest.$ac_ext
51530 fi
51531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51533 if test `eval echo '${'$as_ac_var'}'` = yes; then
51534   cat >>confdefs.h <<_ACEOF
51535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51536 _ACEOF
51537
51538 else
51539   ac_wfuncs=no
51540 fi
51541 done
51542
51543
51544     # Checks for wide character functions that are not required
51545     # for basic wchar_t support.  Don't disable support if they are missing.
51546     # Injection of these is wrapped with guard macros.
51547
51548
51549
51550
51551
51552 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
51553 do
51554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51555 echo "$as_me:$LINENO: checking for $ac_func" >&5
51556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51557 if eval "test \"\${$as_ac_var+set}\" = set"; then
51558   echo $ECHO_N "(cached) $ECHO_C" >&6
51559 else
51560   if test x$gcc_no_link = xyes; then
51561   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51563    { (exit 1); exit 1; }; }
51564 fi
51565 cat >conftest.$ac_ext <<_ACEOF
51566 /* confdefs.h.  */
51567 _ACEOF
51568 cat confdefs.h >>conftest.$ac_ext
51569 cat >>conftest.$ac_ext <<_ACEOF
51570 /* end confdefs.h.  */
51571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51572    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51573 #define $ac_func innocuous_$ac_func
51574
51575 /* System header to define __stub macros and hopefully few prototypes,
51576     which can conflict with char $ac_func (); below.
51577     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51578     <limits.h> exists even on freestanding compilers.  */
51579
51580 #ifdef __STDC__
51581 # include <limits.h>
51582 #else
51583 # include <assert.h>
51584 #endif
51585
51586 #undef $ac_func
51587
51588 /* Override any gcc2 internal prototype to avoid an error.  */
51589 #ifdef __cplusplus
51590 extern "C"
51591 {
51592 #endif
51593 /* We use char because int might match the return type of a gcc2
51594    builtin and then its argument prototype would still apply.  */
51595 char $ac_func ();
51596 /* The GNU C library defines this for functions which it implements
51597     to always fail with ENOSYS.  Some functions are actually named
51598     something starting with __ and the normal name is an alias.  */
51599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51600 choke me
51601 #else
51602 char (*f) () = $ac_func;
51603 #endif
51604 #ifdef __cplusplus
51605 }
51606 #endif
51607
51608 int
51609 main ()
51610 {
51611 return f != $ac_func;
51612   ;
51613   return 0;
51614 }
51615 _ACEOF
51616 rm -f conftest.$ac_objext conftest$ac_exeext
51617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51618   (eval $ac_link) 2>conftest.er1
51619   ac_status=$?
51620   grep -v '^ *+' conftest.er1 >conftest.err
51621   rm -f conftest.er1
51622   cat conftest.err >&5
51623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51624   (exit $ac_status); } &&
51625          { ac_try='test -z "$ac_c_werror_flag"
51626                          || test ! -s conftest.err'
51627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51628   (eval $ac_try) 2>&5
51629   ac_status=$?
51630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51631   (exit $ac_status); }; } &&
51632          { ac_try='test -s conftest$ac_exeext'
51633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51634   (eval $ac_try) 2>&5
51635   ac_status=$?
51636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51637   (exit $ac_status); }; }; then
51638   eval "$as_ac_var=yes"
51639 else
51640   echo "$as_me: failed program was:" >&5
51641 sed 's/^/| /' conftest.$ac_ext >&5
51642
51643 eval "$as_ac_var=no"
51644 fi
51645 rm -f conftest.err conftest.$ac_objext \
51646       conftest$ac_exeext conftest.$ac_ext
51647 fi
51648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51650 if test `eval echo '${'$as_ac_var'}'` = yes; then
51651   cat >>confdefs.h <<_ACEOF
51652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51653 _ACEOF
51654
51655 fi
51656 done
51657
51658
51659     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
51660 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
51661     if test x"$has_weof" = xyes &&
51662        test x"$has_wchar_minmax" = xyes &&
51663        test x"$ac_wfuncs" = xyes;
51664     then
51665       ac_isoC99_wchar_t=yes
51666     else
51667       ac_isoC99_wchar_t=no
51668     fi
51669     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
51670 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
51671
51672     # Use iconv for wchar_t to char conversions. As such, check for
51673     # X/Open Portability Guide, version 2 features (XPG2).
51674     if test "${ac_cv_header_iconv_h+set}" = set; then
51675   echo "$as_me:$LINENO: checking for iconv.h" >&5
51676 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51677 if test "${ac_cv_header_iconv_h+set}" = set; then
51678   echo $ECHO_N "(cached) $ECHO_C" >&6
51679 fi
51680 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51681 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51682 else
51683   # Is the header compilable?
51684 echo "$as_me:$LINENO: checking iconv.h usability" >&5
51685 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
51686 cat >conftest.$ac_ext <<_ACEOF
51687 /* confdefs.h.  */
51688 _ACEOF
51689 cat confdefs.h >>conftest.$ac_ext
51690 cat >>conftest.$ac_ext <<_ACEOF
51691 /* end confdefs.h.  */
51692 $ac_includes_default
51693 #include <iconv.h>
51694 _ACEOF
51695 rm -f conftest.$ac_objext
51696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51697   (eval $ac_compile) 2>conftest.er1
51698   ac_status=$?
51699   grep -v '^ *+' conftest.er1 >conftest.err
51700   rm -f conftest.er1
51701   cat conftest.err >&5
51702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51703   (exit $ac_status); } &&
51704          { ac_try='test -z "$ac_c_werror_flag"
51705                          || test ! -s conftest.err'
51706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51707   (eval $ac_try) 2>&5
51708   ac_status=$?
51709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51710   (exit $ac_status); }; } &&
51711          { ac_try='test -s conftest.$ac_objext'
51712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51713   (eval $ac_try) 2>&5
51714   ac_status=$?
51715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51716   (exit $ac_status); }; }; then
51717   ac_header_compiler=yes
51718 else
51719   echo "$as_me: failed program was:" >&5
51720 sed 's/^/| /' conftest.$ac_ext >&5
51721
51722 ac_header_compiler=no
51723 fi
51724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51725 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51726 echo "${ECHO_T}$ac_header_compiler" >&6
51727
51728 # Is the header present?
51729 echo "$as_me:$LINENO: checking iconv.h presence" >&5
51730 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
51731 cat >conftest.$ac_ext <<_ACEOF
51732 /* confdefs.h.  */
51733 _ACEOF
51734 cat confdefs.h >>conftest.$ac_ext
51735 cat >>conftest.$ac_ext <<_ACEOF
51736 /* end confdefs.h.  */
51737 #include <iconv.h>
51738 _ACEOF
51739 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51740   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51741   ac_status=$?
51742   grep -v '^ *+' conftest.er1 >conftest.err
51743   rm -f conftest.er1
51744   cat conftest.err >&5
51745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51746   (exit $ac_status); } >/dev/null; then
51747   if test -s conftest.err; then
51748     ac_cpp_err=$ac_c_preproc_warn_flag
51749     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51750   else
51751     ac_cpp_err=
51752   fi
51753 else
51754   ac_cpp_err=yes
51755 fi
51756 if test -z "$ac_cpp_err"; then
51757   ac_header_preproc=yes
51758 else
51759   echo "$as_me: failed program was:" >&5
51760 sed 's/^/| /' conftest.$ac_ext >&5
51761
51762   ac_header_preproc=no
51763 fi
51764 rm -f conftest.err conftest.$ac_ext
51765 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51766 echo "${ECHO_T}$ac_header_preproc" >&6
51767
51768 # So?  What about this header?
51769 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51770   yes:no: )
51771     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
51772 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51773     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
51774 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
51775     ac_header_preproc=yes
51776     ;;
51777   no:yes:* )
51778     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
51779 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
51780     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
51781 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
51782     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
51783 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
51784     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
51785 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
51786     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
51787 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
51788     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
51789 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
51790     (
51791       cat <<\_ASBOX
51792 ## ----------------------------------------- ##
51793 ## Report this to the package-unused lists.  ##
51794 ## ----------------------------------------- ##
51795 _ASBOX
51796     ) |
51797       sed "s/^/$as_me: WARNING:     /" >&2
51798     ;;
51799 esac
51800 echo "$as_me:$LINENO: checking for iconv.h" >&5
51801 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51802 if test "${ac_cv_header_iconv_h+set}" = set; then
51803   echo $ECHO_N "(cached) $ECHO_C" >&6
51804 else
51805   ac_cv_header_iconv_h=$ac_header_preproc
51806 fi
51807 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51808 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51809
51810 fi
51811 if test $ac_cv_header_iconv_h = yes; then
51812   ac_has_iconv_h=yes
51813 else
51814   ac_has_iconv_h=no
51815 fi
51816
51817
51818     if test "${ac_cv_header_langinfo_h+set}" = set; then
51819   echo "$as_me:$LINENO: checking for langinfo.h" >&5
51820 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51821 if test "${ac_cv_header_langinfo_h+set}" = set; then
51822   echo $ECHO_N "(cached) $ECHO_C" >&6
51823 fi
51824 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51825 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51826 else
51827   # Is the header compilable?
51828 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
51829 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
51830 cat >conftest.$ac_ext <<_ACEOF
51831 /* confdefs.h.  */
51832 _ACEOF
51833 cat confdefs.h >>conftest.$ac_ext
51834 cat >>conftest.$ac_ext <<_ACEOF
51835 /* end confdefs.h.  */
51836 $ac_includes_default
51837 #include <langinfo.h>
51838 _ACEOF
51839 rm -f conftest.$ac_objext
51840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51841   (eval $ac_compile) 2>conftest.er1
51842   ac_status=$?
51843   grep -v '^ *+' conftest.er1 >conftest.err
51844   rm -f conftest.er1
51845   cat conftest.err >&5
51846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51847   (exit $ac_status); } &&
51848          { ac_try='test -z "$ac_c_werror_flag"
51849                          || test ! -s conftest.err'
51850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51851   (eval $ac_try) 2>&5
51852   ac_status=$?
51853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51854   (exit $ac_status); }; } &&
51855          { ac_try='test -s conftest.$ac_objext'
51856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51857   (eval $ac_try) 2>&5
51858   ac_status=$?
51859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51860   (exit $ac_status); }; }; then
51861   ac_header_compiler=yes
51862 else
51863   echo "$as_me: failed program was:" >&5
51864 sed 's/^/| /' conftest.$ac_ext >&5
51865
51866 ac_header_compiler=no
51867 fi
51868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51869 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51870 echo "${ECHO_T}$ac_header_compiler" >&6
51871
51872 # Is the header present?
51873 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
51874 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
51875 cat >conftest.$ac_ext <<_ACEOF
51876 /* confdefs.h.  */
51877 _ACEOF
51878 cat confdefs.h >>conftest.$ac_ext
51879 cat >>conftest.$ac_ext <<_ACEOF
51880 /* end confdefs.h.  */
51881 #include <langinfo.h>
51882 _ACEOF
51883 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51884   (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
51891   if test -s conftest.err; then
51892     ac_cpp_err=$ac_c_preproc_warn_flag
51893     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51894   else
51895     ac_cpp_err=
51896   fi
51897 else
51898   ac_cpp_err=yes
51899 fi
51900 if test -z "$ac_cpp_err"; then
51901   ac_header_preproc=yes
51902 else
51903   echo "$as_me: failed program was:" >&5
51904 sed 's/^/| /' conftest.$ac_ext >&5
51905
51906   ac_header_preproc=no
51907 fi
51908 rm -f conftest.err conftest.$ac_ext
51909 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51910 echo "${ECHO_T}$ac_header_preproc" >&6
51911
51912 # So?  What about this header?
51913 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51914   yes:no: )
51915     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
51916 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51917     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
51918 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
51919     ac_header_preproc=yes
51920     ;;
51921   no:yes:* )
51922     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
51923 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
51924     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
51925 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
51926     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
51927 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
51928     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
51929 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
51930     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
51931 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
51932     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
51933 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
51934     (
51935       cat <<\_ASBOX
51936 ## ----------------------------------------- ##
51937 ## Report this to the package-unused lists.  ##
51938 ## ----------------------------------------- ##
51939 _ASBOX
51940     ) |
51941       sed "s/^/$as_me: WARNING:     /" >&2
51942     ;;
51943 esac
51944 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51945 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51946 if test "${ac_cv_header_langinfo_h+set}" = set; then
51947   echo $ECHO_N "(cached) $ECHO_C" >&6
51948 else
51949   ac_cv_header_langinfo_h=$ac_header_preproc
51950 fi
51951 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51952 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51953
51954 fi
51955 if test $ac_cv_header_langinfo_h = yes; then
51956   ac_has_langinfo_h=yes
51957 else
51958   ac_has_langinfo_h=no
51959 fi
51960
51961
51962
51963     # Check for existence of libiconv.a providing XPG2 wchar_t support.
51964     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
51965 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
51966 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
51967   echo $ECHO_N "(cached) $ECHO_C" >&6
51968 else
51969   ac_check_lib_save_LIBS=$LIBS
51970 LIBS="-liconv  $LIBS"
51971 if test x$gcc_no_link = xyes; then
51972   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51974    { (exit 1); exit 1; }; }
51975 fi
51976 cat >conftest.$ac_ext <<_ACEOF
51977 /* confdefs.h.  */
51978 _ACEOF
51979 cat confdefs.h >>conftest.$ac_ext
51980 cat >>conftest.$ac_ext <<_ACEOF
51981 /* end confdefs.h.  */
51982
51983 /* Override any gcc2 internal prototype to avoid an error.  */
51984 #ifdef __cplusplus
51985 extern "C"
51986 #endif
51987 /* We use char because int might match the return type of a gcc2
51988    builtin and then its argument prototype would still apply.  */
51989 char iconv ();
51990 int
51991 main ()
51992 {
51993 iconv ();
51994   ;
51995   return 0;
51996 }
51997 _ACEOF
51998 rm -f conftest.$ac_objext conftest$ac_exeext
51999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52000   (eval $ac_link) 2>conftest.er1
52001   ac_status=$?
52002   grep -v '^ *+' conftest.er1 >conftest.err
52003   rm -f conftest.er1
52004   cat conftest.err >&5
52005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52006   (exit $ac_status); } &&
52007          { ac_try='test -z "$ac_c_werror_flag"
52008                          || test ! -s conftest.err'
52009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52010   (eval $ac_try) 2>&5
52011   ac_status=$?
52012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52013   (exit $ac_status); }; } &&
52014          { ac_try='test -s conftest$ac_exeext'
52015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52016   (eval $ac_try) 2>&5
52017   ac_status=$?
52018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52019   (exit $ac_status); }; }; then
52020   ac_cv_lib_iconv_iconv=yes
52021 else
52022   echo "$as_me: failed program was:" >&5
52023 sed 's/^/| /' conftest.$ac_ext >&5
52024
52025 ac_cv_lib_iconv_iconv=no
52026 fi
52027 rm -f conftest.err conftest.$ac_objext \
52028       conftest$ac_exeext conftest.$ac_ext
52029 LIBS=$ac_check_lib_save_LIBS
52030 fi
52031 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52032 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52033 if test $ac_cv_lib_iconv_iconv = yes; then
52034   LIBICONV="-liconv"
52035 fi
52036
52037     ac_save_LIBS="$LIBS"
52038     LIBS="$LIBS $LIBICONV"
52039
52040
52041
52042
52043
52044
52045 for ac_func in iconv_open iconv_close iconv nl_langinfo
52046 do
52047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52048 echo "$as_me:$LINENO: checking for $ac_func" >&5
52049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52050 if eval "test \"\${$as_ac_var+set}\" = set"; then
52051   echo $ECHO_N "(cached) $ECHO_C" >&6
52052 else
52053   if test x$gcc_no_link = xyes; then
52054   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52056    { (exit 1); exit 1; }; }
52057 fi
52058 cat >conftest.$ac_ext <<_ACEOF
52059 /* confdefs.h.  */
52060 _ACEOF
52061 cat confdefs.h >>conftest.$ac_ext
52062 cat >>conftest.$ac_ext <<_ACEOF
52063 /* end confdefs.h.  */
52064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52065    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52066 #define $ac_func innocuous_$ac_func
52067
52068 /* System header to define __stub macros and hopefully few prototypes,
52069     which can conflict with char $ac_func (); below.
52070     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52071     <limits.h> exists even on freestanding compilers.  */
52072
52073 #ifdef __STDC__
52074 # include <limits.h>
52075 #else
52076 # include <assert.h>
52077 #endif
52078
52079 #undef $ac_func
52080
52081 /* Override any gcc2 internal prototype to avoid an error.  */
52082 #ifdef __cplusplus
52083 extern "C"
52084 {
52085 #endif
52086 /* We use char because int might match the return type of a gcc2
52087    builtin and then its argument prototype would still apply.  */
52088 char $ac_func ();
52089 /* The GNU C library defines this for functions which it implements
52090     to always fail with ENOSYS.  Some functions are actually named
52091     something starting with __ and the normal name is an alias.  */
52092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52093 choke me
52094 #else
52095 char (*f) () = $ac_func;
52096 #endif
52097 #ifdef __cplusplus
52098 }
52099 #endif
52100
52101 int
52102 main ()
52103 {
52104 return f != $ac_func;
52105   ;
52106   return 0;
52107 }
52108 _ACEOF
52109 rm -f conftest.$ac_objext conftest$ac_exeext
52110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52111   (eval $ac_link) 2>conftest.er1
52112   ac_status=$?
52113   grep -v '^ *+' conftest.er1 >conftest.err
52114   rm -f conftest.er1
52115   cat conftest.err >&5
52116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52117   (exit $ac_status); } &&
52118          { ac_try='test -z "$ac_c_werror_flag"
52119                          || test ! -s conftest.err'
52120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52121   (eval $ac_try) 2>&5
52122   ac_status=$?
52123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52124   (exit $ac_status); }; } &&
52125          { ac_try='test -s conftest$ac_exeext'
52126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52127   (eval $ac_try) 2>&5
52128   ac_status=$?
52129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52130   (exit $ac_status); }; }; then
52131   eval "$as_ac_var=yes"
52132 else
52133   echo "$as_me: failed program was:" >&5
52134 sed 's/^/| /' conftest.$ac_ext >&5
52135
52136 eval "$as_ac_var=no"
52137 fi
52138 rm -f conftest.err conftest.$ac_objext \
52139       conftest$ac_exeext conftest.$ac_ext
52140 fi
52141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52143 if test `eval echo '${'$as_ac_var'}'` = yes; then
52144   cat >>confdefs.h <<_ACEOF
52145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52146 _ACEOF
52147  ac_XPG2funcs=yes
52148 else
52149   ac_XPG2funcs=no
52150 fi
52151 done
52152
52153
52154     LIBS="$ac_save_LIBS"
52155
52156     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
52157 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
52158     if test x"$ac_has_iconv_h" = xyes &&
52159        test x"$ac_has_langinfo_h" = xyes &&
52160        test x"$ac_XPG2funcs" = xyes;
52161     then
52162       ac_XPG2_wchar_t=yes
52163     else
52164       ac_XPG2_wchar_t=no
52165     fi
52166     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
52167 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
52168
52169     # At the moment, only enable wchar_t specializations if all the
52170     # above support is present.
52171     if test x"$ac_isoC99_wchar_t" = xyes &&
52172        test x"$ac_XPG2_wchar_t" = xyes;
52173     then
52174       cat >>confdefs.h <<\_ACEOF
52175 #define _GLIBCXX_USE_WCHAR_T 1
52176 _ACEOF
52177
52178       enable_wchar_t=yes
52179     fi
52180   fi
52181   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
52182 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
52183   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
52184 echo "${ECHO_T}$enable_wchar_t" >&6
52185
52186
52187   ac_test_CXXFLAGS="${CXXFLAGS+set}"
52188   ac_save_CXXFLAGS="$CXXFLAGS"
52189   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52190
52191
52192   echo "$as_me:$LINENO: checking for strtold declaration" >&5
52193 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
52194   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52195     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
52196   echo $ECHO_N "(cached) $ECHO_C" >&6
52197 else
52198
52199
52200
52201       ac_ext=cc
52202 ac_cpp='$CXXCPP $CPPFLAGS'
52203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52206
52207       cat >conftest.$ac_ext <<_ACEOF
52208 /* confdefs.h.  */
52209 _ACEOF
52210 cat confdefs.h >>conftest.$ac_ext
52211 cat >>conftest.$ac_ext <<_ACEOF
52212 /* end confdefs.h.  */
52213 #include <stdlib.h>
52214 int
52215 main ()
52216 {
52217  strtold(0, 0);
52218   ;
52219   return 0;
52220 }
52221 _ACEOF
52222 rm -f conftest.$ac_objext
52223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52224   (eval $ac_compile) 2>conftest.er1
52225   ac_status=$?
52226   grep -v '^ *+' conftest.er1 >conftest.err
52227   rm -f conftest.er1
52228   cat conftest.err >&5
52229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52230   (exit $ac_status); } &&
52231          { ac_try='test -z "$ac_cxx_werror_flag"
52232                          || test ! -s conftest.err'
52233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52234   (eval $ac_try) 2>&5
52235   ac_status=$?
52236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52237   (exit $ac_status); }; } &&
52238          { ac_try='test -s conftest.$ac_objext'
52239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52240   (eval $ac_try) 2>&5
52241   ac_status=$?
52242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52243   (exit $ac_status); }; }; then
52244   glibcxx_cv_func_strtold_use=yes
52245 else
52246   echo "$as_me: failed program was:" >&5
52247 sed 's/^/| /' conftest.$ac_ext >&5
52248
52249 glibcxx_cv_func_strtold_use=no
52250 fi
52251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52252       ac_ext=c
52253 ac_cpp='$CPP $CPPFLAGS'
52254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52257
52258
52259 fi
52260
52261   fi
52262   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
52263 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
52264   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52265
52266 for ac_func in strtold
52267 do
52268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52269 echo "$as_me:$LINENO: checking for $ac_func" >&5
52270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52271 if eval "test \"\${$as_ac_var+set}\" = set"; then
52272   echo $ECHO_N "(cached) $ECHO_C" >&6
52273 else
52274   if test x$gcc_no_link = xyes; then
52275   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52277    { (exit 1); exit 1; }; }
52278 fi
52279 cat >conftest.$ac_ext <<_ACEOF
52280 /* confdefs.h.  */
52281 _ACEOF
52282 cat confdefs.h >>conftest.$ac_ext
52283 cat >>conftest.$ac_ext <<_ACEOF
52284 /* end confdefs.h.  */
52285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52286    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52287 #define $ac_func innocuous_$ac_func
52288
52289 /* System header to define __stub macros and hopefully few prototypes,
52290     which can conflict with char $ac_func (); below.
52291     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52292     <limits.h> exists even on freestanding compilers.  */
52293
52294 #ifdef __STDC__
52295 # include <limits.h>
52296 #else
52297 # include <assert.h>
52298 #endif
52299
52300 #undef $ac_func
52301
52302 /* Override any gcc2 internal prototype to avoid an error.  */
52303 #ifdef __cplusplus
52304 extern "C"
52305 {
52306 #endif
52307 /* We use char because int might match the return type of a gcc2
52308    builtin and then its argument prototype would still apply.  */
52309 char $ac_func ();
52310 /* The GNU C library defines this for functions which it implements
52311     to always fail with ENOSYS.  Some functions are actually named
52312     something starting with __ and the normal name is an alias.  */
52313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52314 choke me
52315 #else
52316 char (*f) () = $ac_func;
52317 #endif
52318 #ifdef __cplusplus
52319 }
52320 #endif
52321
52322 int
52323 main ()
52324 {
52325 return f != $ac_func;
52326   ;
52327   return 0;
52328 }
52329 _ACEOF
52330 rm -f conftest.$ac_objext conftest$ac_exeext
52331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52332   (eval $ac_link) 2>conftest.er1
52333   ac_status=$?
52334   grep -v '^ *+' conftest.er1 >conftest.err
52335   rm -f conftest.er1
52336   cat conftest.err >&5
52337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52338   (exit $ac_status); } &&
52339          { ac_try='test -z "$ac_c_werror_flag"
52340                          || test ! -s conftest.err'
52341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52342   (eval $ac_try) 2>&5
52343   ac_status=$?
52344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52345   (exit $ac_status); }; } &&
52346          { ac_try='test -s conftest$ac_exeext'
52347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52348   (eval $ac_try) 2>&5
52349   ac_status=$?
52350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52351   (exit $ac_status); }; }; then
52352   eval "$as_ac_var=yes"
52353 else
52354   echo "$as_me: failed program was:" >&5
52355 sed 's/^/| /' conftest.$ac_ext >&5
52356
52357 eval "$as_ac_var=no"
52358 fi
52359 rm -f conftest.err conftest.$ac_objext \
52360       conftest$ac_exeext conftest.$ac_ext
52361 fi
52362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52364 if test `eval echo '${'$as_ac_var'}'` = yes; then
52365   cat >>confdefs.h <<_ACEOF
52366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52367 _ACEOF
52368
52369 fi
52370 done
52371
52372   fi
52373
52374
52375   echo "$as_me:$LINENO: checking for strtof declaration" >&5
52376 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
52377   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52378     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
52379   echo $ECHO_N "(cached) $ECHO_C" >&6
52380 else
52381
52382
52383
52384       ac_ext=cc
52385 ac_cpp='$CXXCPP $CPPFLAGS'
52386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52389
52390       cat >conftest.$ac_ext <<_ACEOF
52391 /* confdefs.h.  */
52392 _ACEOF
52393 cat confdefs.h >>conftest.$ac_ext
52394 cat >>conftest.$ac_ext <<_ACEOF
52395 /* end confdefs.h.  */
52396 #include <stdlib.h>
52397 int
52398 main ()
52399 {
52400  strtof(0, 0);
52401   ;
52402   return 0;
52403 }
52404 _ACEOF
52405 rm -f conftest.$ac_objext
52406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52407   (eval $ac_compile) 2>conftest.er1
52408   ac_status=$?
52409   grep -v '^ *+' conftest.er1 >conftest.err
52410   rm -f conftest.er1
52411   cat conftest.err >&5
52412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52413   (exit $ac_status); } &&
52414          { ac_try='test -z "$ac_cxx_werror_flag"
52415                          || test ! -s conftest.err'
52416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52417   (eval $ac_try) 2>&5
52418   ac_status=$?
52419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52420   (exit $ac_status); }; } &&
52421          { ac_try='test -s conftest.$ac_objext'
52422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52423   (eval $ac_try) 2>&5
52424   ac_status=$?
52425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52426   (exit $ac_status); }; }; then
52427   glibcxx_cv_func_strtof_use=yes
52428 else
52429   echo "$as_me: failed program was:" >&5
52430 sed 's/^/| /' conftest.$ac_ext >&5
52431
52432 glibcxx_cv_func_strtof_use=no
52433 fi
52434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52435       ac_ext=c
52436 ac_cpp='$CPP $CPPFLAGS'
52437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52440
52441
52442 fi
52443
52444   fi
52445   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
52446 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
52447   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52448
52449 for ac_func in strtof
52450 do
52451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52452 echo "$as_me:$LINENO: checking for $ac_func" >&5
52453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52454 if eval "test \"\${$as_ac_var+set}\" = set"; then
52455   echo $ECHO_N "(cached) $ECHO_C" >&6
52456 else
52457   if test x$gcc_no_link = xyes; then
52458   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52460    { (exit 1); exit 1; }; }
52461 fi
52462 cat >conftest.$ac_ext <<_ACEOF
52463 /* confdefs.h.  */
52464 _ACEOF
52465 cat confdefs.h >>conftest.$ac_ext
52466 cat >>conftest.$ac_ext <<_ACEOF
52467 /* end confdefs.h.  */
52468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52469    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52470 #define $ac_func innocuous_$ac_func
52471
52472 /* System header to define __stub macros and hopefully few prototypes,
52473     which can conflict with char $ac_func (); below.
52474     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52475     <limits.h> exists even on freestanding compilers.  */
52476
52477 #ifdef __STDC__
52478 # include <limits.h>
52479 #else
52480 # include <assert.h>
52481 #endif
52482
52483 #undef $ac_func
52484
52485 /* Override any gcc2 internal prototype to avoid an error.  */
52486 #ifdef __cplusplus
52487 extern "C"
52488 {
52489 #endif
52490 /* We use char because int might match the return type of a gcc2
52491    builtin and then its argument prototype would still apply.  */
52492 char $ac_func ();
52493 /* The GNU C library defines this for functions which it implements
52494     to always fail with ENOSYS.  Some functions are actually named
52495     something starting with __ and the normal name is an alias.  */
52496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52497 choke me
52498 #else
52499 char (*f) () = $ac_func;
52500 #endif
52501 #ifdef __cplusplus
52502 }
52503 #endif
52504
52505 int
52506 main ()
52507 {
52508 return f != $ac_func;
52509   ;
52510   return 0;
52511 }
52512 _ACEOF
52513 rm -f conftest.$ac_objext conftest$ac_exeext
52514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52515   (eval $ac_link) 2>conftest.er1
52516   ac_status=$?
52517   grep -v '^ *+' conftest.er1 >conftest.err
52518   rm -f conftest.er1
52519   cat conftest.err >&5
52520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52521   (exit $ac_status); } &&
52522          { ac_try='test -z "$ac_c_werror_flag"
52523                          || test ! -s conftest.err'
52524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52525   (eval $ac_try) 2>&5
52526   ac_status=$?
52527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52528   (exit $ac_status); }; } &&
52529          { ac_try='test -s conftest$ac_exeext'
52530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52531   (eval $ac_try) 2>&5
52532   ac_status=$?
52533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52534   (exit $ac_status); }; }; then
52535   eval "$as_ac_var=yes"
52536 else
52537   echo "$as_me: failed program was:" >&5
52538 sed 's/^/| /' conftest.$ac_ext >&5
52539
52540 eval "$as_ac_var=no"
52541 fi
52542 rm -f conftest.err conftest.$ac_objext \
52543       conftest$ac_exeext conftest.$ac_ext
52544 fi
52545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52547 if test `eval echo '${'$as_ac_var'}'` = yes; then
52548   cat >>confdefs.h <<_ACEOF
52549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52550 _ACEOF
52551
52552 fi
52553 done
52554
52555   fi
52556
52557
52558   CXXFLAGS="$ac_save_CXXFLAGS"
52559
52560
52561     # For showmanyc_helper().
52562
52563
52564 for ac_header in sys/ioctl.h sys/filio.h
52565 do
52566 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52568   echo "$as_me:$LINENO: checking for $ac_header" >&5
52569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52570 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52571   echo $ECHO_N "(cached) $ECHO_C" >&6
52572 fi
52573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52574 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52575 else
52576   # Is the header compilable?
52577 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52578 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52579 cat >conftest.$ac_ext <<_ACEOF
52580 /* confdefs.h.  */
52581 _ACEOF
52582 cat confdefs.h >>conftest.$ac_ext
52583 cat >>conftest.$ac_ext <<_ACEOF
52584 /* end confdefs.h.  */
52585 $ac_includes_default
52586 #include <$ac_header>
52587 _ACEOF
52588 rm -f conftest.$ac_objext
52589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52590   (eval $ac_compile) 2>conftest.er1
52591   ac_status=$?
52592   grep -v '^ *+' conftest.er1 >conftest.err
52593   rm -f conftest.er1
52594   cat conftest.err >&5
52595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52596   (exit $ac_status); } &&
52597          { ac_try='test -z "$ac_c_werror_flag"
52598                          || test ! -s conftest.err'
52599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52600   (eval $ac_try) 2>&5
52601   ac_status=$?
52602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52603   (exit $ac_status); }; } &&
52604          { ac_try='test -s conftest.$ac_objext'
52605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52606   (eval $ac_try) 2>&5
52607   ac_status=$?
52608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52609   (exit $ac_status); }; }; then
52610   ac_header_compiler=yes
52611 else
52612   echo "$as_me: failed program was:" >&5
52613 sed 's/^/| /' conftest.$ac_ext >&5
52614
52615 ac_header_compiler=no
52616 fi
52617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52618 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52619 echo "${ECHO_T}$ac_header_compiler" >&6
52620
52621 # Is the header present?
52622 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52623 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52624 cat >conftest.$ac_ext <<_ACEOF
52625 /* confdefs.h.  */
52626 _ACEOF
52627 cat confdefs.h >>conftest.$ac_ext
52628 cat >>conftest.$ac_ext <<_ACEOF
52629 /* end confdefs.h.  */
52630 #include <$ac_header>
52631 _ACEOF
52632 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52633   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52634   ac_status=$?
52635   grep -v '^ *+' conftest.er1 >conftest.err
52636   rm -f conftest.er1
52637   cat conftest.err >&5
52638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52639   (exit $ac_status); } >/dev/null; then
52640   if test -s conftest.err; then
52641     ac_cpp_err=$ac_c_preproc_warn_flag
52642     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52643   else
52644     ac_cpp_err=
52645   fi
52646 else
52647   ac_cpp_err=yes
52648 fi
52649 if test -z "$ac_cpp_err"; then
52650   ac_header_preproc=yes
52651 else
52652   echo "$as_me: failed program was:" >&5
52653 sed 's/^/| /' conftest.$ac_ext >&5
52654
52655   ac_header_preproc=no
52656 fi
52657 rm -f conftest.err conftest.$ac_ext
52658 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52659 echo "${ECHO_T}$ac_header_preproc" >&6
52660
52661 # So?  What about this header?
52662 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52663   yes:no: )
52664     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52665 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52666     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52667 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52668     ac_header_preproc=yes
52669     ;;
52670   no:yes:* )
52671     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52672 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52673     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
52674 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
52675     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52676 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52677     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
52678 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
52679     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52680 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52681     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52682 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52683     (
52684       cat <<\_ASBOX
52685 ## ----------------------------------------- ##
52686 ## Report this to the package-unused lists.  ##
52687 ## ----------------------------------------- ##
52688 _ASBOX
52689     ) |
52690       sed "s/^/$as_me: WARNING:     /" >&2
52691     ;;
52692 esac
52693 echo "$as_me:$LINENO: checking for $ac_header" >&5
52694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52695 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52696   echo $ECHO_N "(cached) $ECHO_C" >&6
52697 else
52698   eval "$as_ac_Header=\$ac_header_preproc"
52699 fi
52700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52701 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52702
52703 fi
52704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52705   cat >>confdefs.h <<_ACEOF
52706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52707 _ACEOF
52708
52709 fi
52710
52711 done
52712
52713
52714   if test "${glibcxx_cv_POLL+set}" = set; then
52715   echo $ECHO_N "(cached) $ECHO_C" >&6
52716 else
52717
52718     if test x$gcc_no_link = xyes; then
52719   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52721    { (exit 1); exit 1; }; }
52722 fi
52723 cat >conftest.$ac_ext <<_ACEOF
52724 /* confdefs.h.  */
52725 _ACEOF
52726 cat confdefs.h >>conftest.$ac_ext
52727 cat >>conftest.$ac_ext <<_ACEOF
52728 /* end confdefs.h.  */
52729 #include <poll.h>
52730 int
52731 main ()
52732 {
52733 struct pollfd pfd[1];
52734        pfd[0].events = POLLIN;
52735        poll(pfd, 1, 0);
52736   ;
52737   return 0;
52738 }
52739 _ACEOF
52740 rm -f conftest.$ac_objext conftest$ac_exeext
52741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52742   (eval $ac_link) 2>conftest.er1
52743   ac_status=$?
52744   grep -v '^ *+' conftest.er1 >conftest.err
52745   rm -f conftest.er1
52746   cat conftest.err >&5
52747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52748   (exit $ac_status); } &&
52749          { ac_try='test -z "$ac_c_werror_flag"
52750                          || test ! -s conftest.err'
52751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52752   (eval $ac_try) 2>&5
52753   ac_status=$?
52754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52755   (exit $ac_status); }; } &&
52756          { ac_try='test -s conftest$ac_exeext'
52757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52758   (eval $ac_try) 2>&5
52759   ac_status=$?
52760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52761   (exit $ac_status); }; }; then
52762   glibcxx_cv_POLL=yes
52763 else
52764   echo "$as_me: failed program was:" >&5
52765 sed 's/^/| /' conftest.$ac_ext >&5
52766
52767 glibcxx_cv_POLL=no
52768 fi
52769 rm -f conftest.err conftest.$ac_objext \
52770       conftest$ac_exeext conftest.$ac_ext
52771
52772 fi
52773
52774   if test $glibcxx_cv_POLL = yes; then
52775     cat >>confdefs.h <<\_ACEOF
52776 #define HAVE_POLL 1
52777 _ACEOF
52778
52779   fi
52780
52781
52782   if test "${glibcxx_cv_S_ISREG+set}" = set; then
52783   echo $ECHO_N "(cached) $ECHO_C" >&6
52784 else
52785
52786     if test x$gcc_no_link = xyes; then
52787   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52789    { (exit 1); exit 1; }; }
52790 fi
52791 cat >conftest.$ac_ext <<_ACEOF
52792 /* confdefs.h.  */
52793 _ACEOF
52794 cat confdefs.h >>conftest.$ac_ext
52795 cat >>conftest.$ac_ext <<_ACEOF
52796 /* end confdefs.h.  */
52797 #include <sys/stat.h>
52798 int
52799 main ()
52800 {
52801 struct stat buffer;
52802        fstat(0, &buffer);
52803        S_ISREG(buffer.st_mode);
52804   ;
52805   return 0;
52806 }
52807 _ACEOF
52808 rm -f conftest.$ac_objext conftest$ac_exeext
52809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52810   (eval $ac_link) 2>conftest.er1
52811   ac_status=$?
52812   grep -v '^ *+' conftest.er1 >conftest.err
52813   rm -f conftest.er1
52814   cat conftest.err >&5
52815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52816   (exit $ac_status); } &&
52817          { ac_try='test -z "$ac_c_werror_flag"
52818                          || test ! -s conftest.err'
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); }; } &&
52824          { ac_try='test -s conftest$ac_exeext'
52825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52826   (eval $ac_try) 2>&5
52827   ac_status=$?
52828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52829   (exit $ac_status); }; }; then
52830   glibcxx_cv_S_ISREG=yes
52831 else
52832   echo "$as_me: failed program was:" >&5
52833 sed 's/^/| /' conftest.$ac_ext >&5
52834
52835 glibcxx_cv_S_ISREG=no
52836 fi
52837 rm -f conftest.err conftest.$ac_objext \
52838       conftest$ac_exeext conftest.$ac_ext
52839
52840 fi
52841
52842   if test "${glibcxx_cv_S_IFREG+set}" = set; then
52843   echo $ECHO_N "(cached) $ECHO_C" >&6
52844 else
52845
52846     if test x$gcc_no_link = xyes; then
52847   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52849    { (exit 1); exit 1; }; }
52850 fi
52851 cat >conftest.$ac_ext <<_ACEOF
52852 /* confdefs.h.  */
52853 _ACEOF
52854 cat confdefs.h >>conftest.$ac_ext
52855 cat >>conftest.$ac_ext <<_ACEOF
52856 /* end confdefs.h.  */
52857 #include <sys/stat.h>
52858 int
52859 main ()
52860 {
52861 struct stat buffer;
52862        fstat(0, &buffer);
52863        S_IFREG & buffer.st_mode;
52864   ;
52865   return 0;
52866 }
52867 _ACEOF
52868 rm -f conftest.$ac_objext conftest$ac_exeext
52869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52870   (eval $ac_link) 2>conftest.er1
52871   ac_status=$?
52872   grep -v '^ *+' conftest.er1 >conftest.err
52873   rm -f conftest.er1
52874   cat conftest.err >&5
52875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52876   (exit $ac_status); } &&
52877          { ac_try='test -z "$ac_c_werror_flag"
52878                          || test ! -s conftest.err'
52879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52880   (eval $ac_try) 2>&5
52881   ac_status=$?
52882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52883   (exit $ac_status); }; } &&
52884          { ac_try='test -s conftest$ac_exeext'
52885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52886   (eval $ac_try) 2>&5
52887   ac_status=$?
52888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52889   (exit $ac_status); }; }; then
52890   glibcxx_cv_S_IFREG=yes
52891 else
52892   echo "$as_me: failed program was:" >&5
52893 sed 's/^/| /' conftest.$ac_ext >&5
52894
52895 glibcxx_cv_S_IFREG=no
52896 fi
52897 rm -f conftest.err conftest.$ac_objext \
52898       conftest$ac_exeext conftest.$ac_ext
52899
52900 fi
52901
52902   if test $glibcxx_cv_S_ISREG = yes; then
52903     cat >>confdefs.h <<\_ACEOF
52904 #define HAVE_S_ISREG 1
52905 _ACEOF
52906
52907   elif test $glibcxx_cv_S_IFREG = yes; then
52908     cat >>confdefs.h <<\_ACEOF
52909 #define HAVE_S_IFREG 1
52910 _ACEOF
52911
52912   fi
52913
52914
52915     # For xsputn_2().
52916
52917 for ac_header in sys/uio.h
52918 do
52919 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52921   echo "$as_me:$LINENO: checking for $ac_header" >&5
52922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52924   echo $ECHO_N "(cached) $ECHO_C" >&6
52925 fi
52926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52928 else
52929   # Is the header compilable?
52930 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52931 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52932 cat >conftest.$ac_ext <<_ACEOF
52933 /* confdefs.h.  */
52934 _ACEOF
52935 cat confdefs.h >>conftest.$ac_ext
52936 cat >>conftest.$ac_ext <<_ACEOF
52937 /* end confdefs.h.  */
52938 $ac_includes_default
52939 #include <$ac_header>
52940 _ACEOF
52941 rm -f conftest.$ac_objext
52942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52943   (eval $ac_compile) 2>conftest.er1
52944   ac_status=$?
52945   grep -v '^ *+' conftest.er1 >conftest.err
52946   rm -f conftest.er1
52947   cat conftest.err >&5
52948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52949   (exit $ac_status); } &&
52950          { ac_try='test -z "$ac_c_werror_flag"
52951                          || test ! -s conftest.err'
52952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52953   (eval $ac_try) 2>&5
52954   ac_status=$?
52955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52956   (exit $ac_status); }; } &&
52957          { ac_try='test -s conftest.$ac_objext'
52958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52959   (eval $ac_try) 2>&5
52960   ac_status=$?
52961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52962   (exit $ac_status); }; }; then
52963   ac_header_compiler=yes
52964 else
52965   echo "$as_me: failed program was:" >&5
52966 sed 's/^/| /' conftest.$ac_ext >&5
52967
52968 ac_header_compiler=no
52969 fi
52970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52971 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52972 echo "${ECHO_T}$ac_header_compiler" >&6
52973
52974 # Is the header present?
52975 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52976 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52977 cat >conftest.$ac_ext <<_ACEOF
52978 /* confdefs.h.  */
52979 _ACEOF
52980 cat confdefs.h >>conftest.$ac_ext
52981 cat >>conftest.$ac_ext <<_ACEOF
52982 /* end confdefs.h.  */
52983 #include <$ac_header>
52984 _ACEOF
52985 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52986   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52987   ac_status=$?
52988   grep -v '^ *+' conftest.er1 >conftest.err
52989   rm -f conftest.er1
52990   cat conftest.err >&5
52991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52992   (exit $ac_status); } >/dev/null; then
52993   if test -s conftest.err; then
52994     ac_cpp_err=$ac_c_preproc_warn_flag
52995     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52996   else
52997     ac_cpp_err=
52998   fi
52999 else
53000   ac_cpp_err=yes
53001 fi
53002 if test -z "$ac_cpp_err"; then
53003   ac_header_preproc=yes
53004 else
53005   echo "$as_me: failed program was:" >&5
53006 sed 's/^/| /' conftest.$ac_ext >&5
53007
53008   ac_header_preproc=no
53009 fi
53010 rm -f conftest.err conftest.$ac_ext
53011 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53012 echo "${ECHO_T}$ac_header_preproc" >&6
53013
53014 # So?  What about this header?
53015 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53016   yes:no: )
53017     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53018 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53019     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53020 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53021     ac_header_preproc=yes
53022     ;;
53023   no:yes:* )
53024     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53025 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53026     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
53027 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
53028     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53029 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53030     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
53031 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
53032     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53033 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53034     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53035 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53036     (
53037       cat <<\_ASBOX
53038 ## ----------------------------------------- ##
53039 ## Report this to the package-unused lists.  ##
53040 ## ----------------------------------------- ##
53041 _ASBOX
53042     ) |
53043       sed "s/^/$as_me: WARNING:     /" >&2
53044     ;;
53045 esac
53046 echo "$as_me:$LINENO: checking for $ac_header" >&5
53047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53049   echo $ECHO_N "(cached) $ECHO_C" >&6
53050 else
53051   eval "$as_ac_Header=\$ac_header_preproc"
53052 fi
53053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53054 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53055
53056 fi
53057 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53058   cat >>confdefs.h <<_ACEOF
53059 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53060 _ACEOF
53061
53062 fi
53063
53064 done
53065
53066
53067   if test "${glibcxx_cv_WRITEV+set}" = set; then
53068   echo $ECHO_N "(cached) $ECHO_C" >&6
53069 else
53070
53071     if test x$gcc_no_link = xyes; then
53072   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53074    { (exit 1); exit 1; }; }
53075 fi
53076 cat >conftest.$ac_ext <<_ACEOF
53077 /* confdefs.h.  */
53078 _ACEOF
53079 cat confdefs.h >>conftest.$ac_ext
53080 cat >>conftest.$ac_ext <<_ACEOF
53081 /* end confdefs.h.  */
53082 #include <sys/uio.h>
53083 int
53084 main ()
53085 {
53086 struct iovec iov[2];
53087        writev(0, iov, 0);
53088   ;
53089   return 0;
53090 }
53091 _ACEOF
53092 rm -f conftest.$ac_objext conftest$ac_exeext
53093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53094   (eval $ac_link) 2>conftest.er1
53095   ac_status=$?
53096   grep -v '^ *+' conftest.er1 >conftest.err
53097   rm -f conftest.er1
53098   cat conftest.err >&5
53099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53100   (exit $ac_status); } &&
53101          { ac_try='test -z "$ac_c_werror_flag"
53102                          || test ! -s conftest.err'
53103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53104   (eval $ac_try) 2>&5
53105   ac_status=$?
53106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53107   (exit $ac_status); }; } &&
53108          { ac_try='test -s conftest$ac_exeext'
53109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53110   (eval $ac_try) 2>&5
53111   ac_status=$?
53112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53113   (exit $ac_status); }; }; then
53114   glibcxx_cv_WRITEV=yes
53115 else
53116   echo "$as_me: failed program was:" >&5
53117 sed 's/^/| /' conftest.$ac_ext >&5
53118
53119 glibcxx_cv_WRITEV=no
53120 fi
53121 rm -f conftest.err conftest.$ac_objext \
53122       conftest$ac_exeext conftest.$ac_ext
53123
53124 fi
53125
53126   if test $glibcxx_cv_WRITEV = yes; then
53127     cat >>confdefs.h <<\_ACEOF
53128 #define HAVE_WRITEV 1
53129 _ACEOF
53130
53131   fi
53132
53133
53134     cat >>confdefs.h <<\_ACEOF
53135 #define HAVE_LC_MESSAGES 1
53136 _ACEOF
53137
53138
53139     cat >conftest.$ac_ext <<_ACEOF
53140 /* confdefs.h.  */
53141 _ACEOF
53142 cat confdefs.h >>conftest.$ac_ext
53143 cat >>conftest.$ac_ext <<_ACEOF
53144 /* end confdefs.h.  */
53145 #include <setjmp.h>
53146 int
53147 main ()
53148 {
53149 sigjmp_buf env;
53150        while (! sigsetjmp (env, 1))
53151          siglongjmp (env, 1);
53152
53153   ;
53154   return 0;
53155 }
53156 _ACEOF
53157 rm -f conftest.$ac_objext
53158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53159   (eval $ac_compile) 2>conftest.er1
53160   ac_status=$?
53161   grep -v '^ *+' conftest.er1 >conftest.err
53162   rm -f conftest.er1
53163   cat conftest.err >&5
53164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53165   (exit $ac_status); } &&
53166          { ac_try='test -z "$ac_c_werror_flag"
53167                          || test ! -s conftest.err'
53168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53169   (eval $ac_try) 2>&5
53170   ac_status=$?
53171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53172   (exit $ac_status); }; } &&
53173          { ac_try='test -s conftest.$ac_objext'
53174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53175   (eval $ac_try) 2>&5
53176   ac_status=$?
53177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53178   (exit $ac_status); }; }; then
53179
53180 cat >>confdefs.h <<\_ACEOF
53181 #define HAVE_SIGSETJMP 1
53182 _ACEOF
53183
53184 else
53185   echo "$as_me: failed program was:" >&5
53186 sed 's/^/| /' conftest.$ac_ext >&5
53187
53188 fi
53189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53190
53191     cat >>confdefs.h <<\_ACEOF
53192 #define HAVE_MMAP 1
53193 _ACEOF
53194
53195     ;;
53196
53197   *djgpp)
53198
53199
53200
53201
53202
53203
53204
53205
53206
53207
53208
53209
53210
53211
53212
53213
53214
53215
53216
53217
53218 for ac_header in float.h ieeefp.h inttypes.h locale.h \
53219       memory.h stdint.h stdlib.h strings.h string.h unistd.h \
53220       wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
53221       sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
53222 do
53223 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53225   echo "$as_me:$LINENO: checking for $ac_header" >&5
53226 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53227 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53228   echo $ECHO_N "(cached) $ECHO_C" >&6
53229 fi
53230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53231 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53232 else
53233   # Is the header compilable?
53234 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53235 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53236 cat >conftest.$ac_ext <<_ACEOF
53237 /* confdefs.h.  */
53238 _ACEOF
53239 cat confdefs.h >>conftest.$ac_ext
53240 cat >>conftest.$ac_ext <<_ACEOF
53241 /* end confdefs.h.  */
53242 $ac_includes_default
53243 #include <$ac_header>
53244 _ACEOF
53245 rm -f conftest.$ac_objext
53246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53247   (eval $ac_compile) 2>conftest.er1
53248   ac_status=$?
53249   grep -v '^ *+' conftest.er1 >conftest.err
53250   rm -f conftest.er1
53251   cat conftest.err >&5
53252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53253   (exit $ac_status); } &&
53254          { ac_try='test -z "$ac_c_werror_flag"
53255                          || test ! -s conftest.err'
53256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53257   (eval $ac_try) 2>&5
53258   ac_status=$?
53259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53260   (exit $ac_status); }; } &&
53261          { ac_try='test -s conftest.$ac_objext'
53262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53263   (eval $ac_try) 2>&5
53264   ac_status=$?
53265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53266   (exit $ac_status); }; }; then
53267   ac_header_compiler=yes
53268 else
53269   echo "$as_me: failed program was:" >&5
53270 sed 's/^/| /' conftest.$ac_ext >&5
53271
53272 ac_header_compiler=no
53273 fi
53274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53275 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53276 echo "${ECHO_T}$ac_header_compiler" >&6
53277
53278 # Is the header present?
53279 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53280 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53281 cat >conftest.$ac_ext <<_ACEOF
53282 /* confdefs.h.  */
53283 _ACEOF
53284 cat confdefs.h >>conftest.$ac_ext
53285 cat >>conftest.$ac_ext <<_ACEOF
53286 /* end confdefs.h.  */
53287 #include <$ac_header>
53288 _ACEOF
53289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53290   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53291   ac_status=$?
53292   grep -v '^ *+' conftest.er1 >conftest.err
53293   rm -f conftest.er1
53294   cat conftest.err >&5
53295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53296   (exit $ac_status); } >/dev/null; then
53297   if test -s conftest.err; then
53298     ac_cpp_err=$ac_c_preproc_warn_flag
53299     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53300   else
53301     ac_cpp_err=
53302   fi
53303 else
53304   ac_cpp_err=yes
53305 fi
53306 if test -z "$ac_cpp_err"; then
53307   ac_header_preproc=yes
53308 else
53309   echo "$as_me: failed program was:" >&5
53310 sed 's/^/| /' conftest.$ac_ext >&5
53311
53312   ac_header_preproc=no
53313 fi
53314 rm -f conftest.err conftest.$ac_ext
53315 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53316 echo "${ECHO_T}$ac_header_preproc" >&6
53317
53318 # So?  What about this header?
53319 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53320   yes:no: )
53321     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53322 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53323     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53324 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53325     ac_header_preproc=yes
53326     ;;
53327   no:yes:* )
53328     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53329 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53330     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
53331 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
53332     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53333 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53334     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
53335 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
53336     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53337 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53338     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53339 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53340     (
53341       cat <<\_ASBOX
53342 ## ----------------------------------------- ##
53343 ## Report this to the package-unused lists.  ##
53344 ## ----------------------------------------- ##
53345 _ASBOX
53346     ) |
53347       sed "s/^/$as_me: WARNING:     /" >&2
53348     ;;
53349 esac
53350 echo "$as_me:$LINENO: checking for $ac_header" >&5
53351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53353   echo $ECHO_N "(cached) $ECHO_C" >&6
53354 else
53355   eval "$as_ac_Header=\$ac_header_preproc"
53356 fi
53357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53359
53360 fi
53361 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53362   cat >>confdefs.h <<_ACEOF
53363 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53364 _ACEOF
53365
53366 fi
53367
53368 done
53369
53370
53371   # All these tests are for C++; save the language and the compiler flags.
53372   # The CXXFLAGS thing is suspicious, but based on similar bits previously
53373   # found in GLIBCXX_CONFIGURE.
53374
53375
53376   ac_ext=cc
53377 ac_cpp='$CXXCPP $CPPFLAGS'
53378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53381
53382   ac_test_CXXFLAGS="${CXXFLAGS+set}"
53383   ac_save_CXXFLAGS="$CXXFLAGS"
53384
53385   # Check for maintainer-mode bits.
53386   if test x"$USE_MAINTAINER_MODE" = xno; then
53387     WERROR=''
53388   else
53389     WERROR='-Werror'
53390   fi
53391
53392   # Check for -ffunction-sections -fdata-sections
53393   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53394 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
53395   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
53396   cat >conftest.$ac_ext <<_ACEOF
53397 /* confdefs.h.  */
53398 _ACEOF
53399 cat confdefs.h >>conftest.$ac_ext
53400 cat >>conftest.$ac_ext <<_ACEOF
53401 /* end confdefs.h.  */
53402
53403 int
53404 main ()
53405 {
53406 int foo;
53407   ;
53408   return 0;
53409 }
53410 _ACEOF
53411 rm -f conftest.$ac_objext
53412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53413   (eval $ac_compile) 2>conftest.er1
53414   ac_status=$?
53415   grep -v '^ *+' conftest.er1 >conftest.err
53416   rm -f conftest.er1
53417   cat conftest.err >&5
53418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53419   (exit $ac_status); } &&
53420          { ac_try='test -z "$ac_cxx_werror_flag"
53421                          || test ! -s conftest.err'
53422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53423   (eval $ac_try) 2>&5
53424   ac_status=$?
53425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53426   (exit $ac_status); }; } &&
53427          { ac_try='test -s conftest.$ac_objext'
53428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53429   (eval $ac_try) 2>&5
53430   ac_status=$?
53431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53432   (exit $ac_status); }; }; then
53433   ac_fdsections=yes
53434 else
53435   echo "$as_me: failed program was:" >&5
53436 sed 's/^/| /' conftest.$ac_ext >&5
53437
53438 ac_fdsections=no
53439 fi
53440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53441   if test "$ac_test_CXXFLAGS" = set; then
53442     CXXFLAGS="$ac_save_CXXFLAGS"
53443   else
53444     # this is the suspicious part
53445     CXXFLAGS=''
53446   fi
53447   if test x"$ac_fdsections" = x"yes"; then
53448     SECTION_FLAGS='-ffunction-sections -fdata-sections'
53449   fi
53450   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
53451 echo "${ECHO_T}$ac_fdsections" >&6
53452
53453   ac_ext=c
53454 ac_cpp='$CPP $CPPFLAGS'
53455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53458
53459
53460
53461
53462
53463   # If we're not using GNU ld, then there's no point in even trying these
53464   # tests.  Check for that first.  We should have already tested for gld
53465   # by now (in libtool), but require it now just to be safe...
53466   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53467   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53468
53469
53470
53471   # The name set by libtool depends on the version of libtool.  Shame on us
53472   # for depending on an impl detail, but c'est la vie.  Older versions used
53473   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53474   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53475   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
53476   # set (hence we're using an older libtool), then set it.
53477   if test x${with_gnu_ld+set} != xset; then
53478     if test x${ac_cv_prog_gnu_ld+set} != xset; then
53479       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
53480       with_gnu_ld=no
53481     else
53482       with_gnu_ld=$ac_cv_prog_gnu_ld
53483     fi
53484   fi
53485
53486   # Start by getting the version number.  I think the libtool test already
53487   # does some of this, but throws away the result.
53488
53489   ldver=`$LD --version 2>/dev/null | head -1 | \
53490          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53491
53492   glibcxx_gnu_ld_version=`echo $ldver | \
53493          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53494
53495   # Set --gc-sections.
53496   if test "$with_gnu_ld" = "notbroken"; then
53497     # GNU ld it is!  Joy and bunny rabbits!
53498
53499     # All these tests are for C++; save the language and the compiler flags.
53500     # Need to do this so that g++ won't try to link in libstdc++
53501     ac_test_CFLAGS="${CFLAGS+set}"
53502     ac_save_CFLAGS="$CFLAGS"
53503     CFLAGS='-x c++  -Wl,--gc-sections'
53504
53505     # Check for -Wl,--gc-sections
53506     # XXX This test is broken at the moment, as symbols required for linking
53507     # are now in libsupc++ (not built yet).  In addition, this test has
53508     # cored on solaris in the past.  In addition, --gc-sections doesn't
53509     # really work at the moment (keeps on discarding used sections, first
53510     # .eh_frame and now some of the glibc sections for iconv).
53511     # Bzzzzt.  Thanks for playing, maybe next time.
53512     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
53513 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
53514     if test "$cross_compiling" = yes; then
53515   ac_sectionLDflags=yes
53516 else
53517   cat >conftest.$ac_ext <<_ACEOF
53518 /* confdefs.h.  */
53519 _ACEOF
53520 cat confdefs.h >>conftest.$ac_ext
53521 cat >>conftest.$ac_ext <<_ACEOF
53522 /* end confdefs.h.  */
53523
53524      int main(void)
53525      {
53526        try { throw 1; }
53527        catch (...) { };
53528        return 0;
53529      }
53530
53531 _ACEOF
53532 rm -f conftest$ac_exeext
53533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53534   (eval $ac_link) 2>&5
53535   ac_status=$?
53536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53537   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
53538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53539   (eval $ac_try) 2>&5
53540   ac_status=$?
53541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53542   (exit $ac_status); }; }; then
53543   ac_sectionLDflags=yes
53544 else
53545   echo "$as_me: program exited with status $ac_status" >&5
53546 echo "$as_me: failed program was:" >&5
53547 sed 's/^/| /' conftest.$ac_ext >&5
53548
53549 ( exit $ac_status )
53550 ac_sectionLDflags=no
53551 fi
53552 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
53553 fi
53554     if test "$ac_test_CFLAGS" = set; then
53555       CFLAGS="$ac_save_CFLAGS"
53556     else
53557       # this is the suspicious part
53558       CFLAGS=''
53559     fi
53560     if test "$ac_sectionLDflags" = "yes"; then
53561       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53562     fi
53563     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
53564 echo "${ECHO_T}$ac_sectionLDflags" >&6
53565   fi
53566
53567   # Set linker optimization flags.
53568   if test x"$with_gnu_ld" = x"yes"; then
53569     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53570   fi
53571
53572
53573
53574
53575
53576   ac_test_CXXFLAGS="${CXXFLAGS+set}"
53577   ac_save_CXXFLAGS="$CXXFLAGS"
53578   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53579
53580     echo "$as_me:$LINENO: checking for sin in -lm" >&5
53581 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
53582 if test "${ac_cv_lib_m_sin+set}" = set; then
53583   echo $ECHO_N "(cached) $ECHO_C" >&6
53584 else
53585   ac_check_lib_save_LIBS=$LIBS
53586 LIBS="-lm  $LIBS"
53587 if test x$gcc_no_link = xyes; then
53588   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53590    { (exit 1); exit 1; }; }
53591 fi
53592 cat >conftest.$ac_ext <<_ACEOF
53593 /* confdefs.h.  */
53594 _ACEOF
53595 cat confdefs.h >>conftest.$ac_ext
53596 cat >>conftest.$ac_ext <<_ACEOF
53597 /* end confdefs.h.  */
53598
53599 /* Override any gcc2 internal prototype to avoid an error.  */
53600 #ifdef __cplusplus
53601 extern "C"
53602 #endif
53603 /* We use char because int might match the return type of a gcc2
53604    builtin and then its argument prototype would still apply.  */
53605 char sin ();
53606 int
53607 main ()
53608 {
53609 sin ();
53610   ;
53611   return 0;
53612 }
53613 _ACEOF
53614 rm -f conftest.$ac_objext conftest$ac_exeext
53615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53616   (eval $ac_link) 2>conftest.er1
53617   ac_status=$?
53618   grep -v '^ *+' conftest.er1 >conftest.err
53619   rm -f conftest.er1
53620   cat conftest.err >&5
53621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53622   (exit $ac_status); } &&
53623          { ac_try='test -z "$ac_c_werror_flag"
53624                          || test ! -s conftest.err'
53625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53626   (eval $ac_try) 2>&5
53627   ac_status=$?
53628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53629   (exit $ac_status); }; } &&
53630          { ac_try='test -s conftest$ac_exeext'
53631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53632   (eval $ac_try) 2>&5
53633   ac_status=$?
53634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53635   (exit $ac_status); }; }; then
53636   ac_cv_lib_m_sin=yes
53637 else
53638   echo "$as_me: failed program was:" >&5
53639 sed 's/^/| /' conftest.$ac_ext >&5
53640
53641 ac_cv_lib_m_sin=no
53642 fi
53643 rm -f conftest.err conftest.$ac_objext \
53644       conftest$ac_exeext conftest.$ac_ext
53645 LIBS=$ac_check_lib_save_LIBS
53646 fi
53647 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
53648 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
53649 if test $ac_cv_lib_m_sin = yes; then
53650   libm="-lm"
53651 fi
53652
53653   ac_save_LIBS="$LIBS"
53654   LIBS="$LIBS $libm"
53655
53656
53657
53658   echo "$as_me:$LINENO: checking for isinf declaration" >&5
53659 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
53660   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53661     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
53662   echo $ECHO_N "(cached) $ECHO_C" >&6
53663 else
53664
53665
53666
53667       ac_ext=cc
53668 ac_cpp='$CXXCPP $CPPFLAGS'
53669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53672
53673       cat >conftest.$ac_ext <<_ACEOF
53674 /* confdefs.h.  */
53675 _ACEOF
53676 cat confdefs.h >>conftest.$ac_ext
53677 cat >>conftest.$ac_ext <<_ACEOF
53678 /* end confdefs.h.  */
53679 #include <math.h>
53680                       #ifdef HAVE_IEEEFP_H
53681                       #include <ieeefp.h>
53682                       #endif
53683
53684 int
53685 main ()
53686 {
53687  isinf(0);
53688   ;
53689   return 0;
53690 }
53691 _ACEOF
53692 rm -f conftest.$ac_objext
53693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53694   (eval $ac_compile) 2>conftest.er1
53695   ac_status=$?
53696   grep -v '^ *+' conftest.er1 >conftest.err
53697   rm -f conftest.er1
53698   cat conftest.err >&5
53699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53700   (exit $ac_status); } &&
53701          { ac_try='test -z "$ac_cxx_werror_flag"
53702                          || test ! -s conftest.err'
53703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53704   (eval $ac_try) 2>&5
53705   ac_status=$?
53706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53707   (exit $ac_status); }; } &&
53708          { ac_try='test -s conftest.$ac_objext'
53709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53710   (eval $ac_try) 2>&5
53711   ac_status=$?
53712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53713   (exit $ac_status); }; }; then
53714   glibcxx_cv_func_isinf_use=yes
53715 else
53716   echo "$as_me: failed program was:" >&5
53717 sed 's/^/| /' conftest.$ac_ext >&5
53718
53719 glibcxx_cv_func_isinf_use=no
53720 fi
53721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53722       ac_ext=c
53723 ac_cpp='$CPP $CPPFLAGS'
53724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53727
53728
53729 fi
53730
53731   fi
53732   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
53733 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
53734
53735   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53736
53737 for ac_func in isinf
53738 do
53739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53740 echo "$as_me:$LINENO: checking for $ac_func" >&5
53741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53742 if eval "test \"\${$as_ac_var+set}\" = set"; then
53743   echo $ECHO_N "(cached) $ECHO_C" >&6
53744 else
53745   if test x$gcc_no_link = xyes; then
53746   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53748    { (exit 1); exit 1; }; }
53749 fi
53750 cat >conftest.$ac_ext <<_ACEOF
53751 /* confdefs.h.  */
53752 _ACEOF
53753 cat confdefs.h >>conftest.$ac_ext
53754 cat >>conftest.$ac_ext <<_ACEOF
53755 /* end confdefs.h.  */
53756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53757    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53758 #define $ac_func innocuous_$ac_func
53759
53760 /* System header to define __stub macros and hopefully few prototypes,
53761     which can conflict with char $ac_func (); below.
53762     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53763     <limits.h> exists even on freestanding compilers.  */
53764
53765 #ifdef __STDC__
53766 # include <limits.h>
53767 #else
53768 # include <assert.h>
53769 #endif
53770
53771 #undef $ac_func
53772
53773 /* Override any gcc2 internal prototype to avoid an error.  */
53774 #ifdef __cplusplus
53775 extern "C"
53776 {
53777 #endif
53778 /* We use char because int might match the return type of a gcc2
53779    builtin and then its argument prototype would still apply.  */
53780 char $ac_func ();
53781 /* The GNU C library defines this for functions which it implements
53782     to always fail with ENOSYS.  Some functions are actually named
53783     something starting with __ and the normal name is an alias.  */
53784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53785 choke me
53786 #else
53787 char (*f) () = $ac_func;
53788 #endif
53789 #ifdef __cplusplus
53790 }
53791 #endif
53792
53793 int
53794 main ()
53795 {
53796 return f != $ac_func;
53797   ;
53798   return 0;
53799 }
53800 _ACEOF
53801 rm -f conftest.$ac_objext conftest$ac_exeext
53802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53803   (eval $ac_link) 2>conftest.er1
53804   ac_status=$?
53805   grep -v '^ *+' conftest.er1 >conftest.err
53806   rm -f conftest.er1
53807   cat conftest.err >&5
53808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53809   (exit $ac_status); } &&
53810          { ac_try='test -z "$ac_c_werror_flag"
53811                          || test ! -s conftest.err'
53812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53813   (eval $ac_try) 2>&5
53814   ac_status=$?
53815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53816   (exit $ac_status); }; } &&
53817          { ac_try='test -s conftest$ac_exeext'
53818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53819   (eval $ac_try) 2>&5
53820   ac_status=$?
53821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53822   (exit $ac_status); }; }; then
53823   eval "$as_ac_var=yes"
53824 else
53825   echo "$as_me: failed program was:" >&5
53826 sed 's/^/| /' conftest.$ac_ext >&5
53827
53828 eval "$as_ac_var=no"
53829 fi
53830 rm -f conftest.err conftest.$ac_objext \
53831       conftest$ac_exeext conftest.$ac_ext
53832 fi
53833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53835 if test `eval echo '${'$as_ac_var'}'` = yes; then
53836   cat >>confdefs.h <<_ACEOF
53837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53838 _ACEOF
53839
53840 fi
53841 done
53842
53843   else
53844
53845   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
53846 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
53847   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53848     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
53849   echo $ECHO_N "(cached) $ECHO_C" >&6
53850 else
53851
53852
53853
53854       ac_ext=cc
53855 ac_cpp='$CXXCPP $CPPFLAGS'
53856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53859
53860       cat >conftest.$ac_ext <<_ACEOF
53861 /* confdefs.h.  */
53862 _ACEOF
53863 cat confdefs.h >>conftest.$ac_ext
53864 cat >>conftest.$ac_ext <<_ACEOF
53865 /* end confdefs.h.  */
53866 #include <math.h>
53867                       #ifdef HAVE_IEEEFP_H
53868                       #include <ieeefp.h>
53869                       #endif
53870
53871 int
53872 main ()
53873 {
53874  _isinf(0);
53875   ;
53876   return 0;
53877 }
53878 _ACEOF
53879 rm -f conftest.$ac_objext
53880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53881   (eval $ac_compile) 2>conftest.er1
53882   ac_status=$?
53883   grep -v '^ *+' conftest.er1 >conftest.err
53884   rm -f conftest.er1
53885   cat conftest.err >&5
53886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53887   (exit $ac_status); } &&
53888          { ac_try='test -z "$ac_cxx_werror_flag"
53889                          || test ! -s conftest.err'
53890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53891   (eval $ac_try) 2>&5
53892   ac_status=$?
53893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53894   (exit $ac_status); }; } &&
53895          { ac_try='test -s conftest.$ac_objext'
53896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53897   (eval $ac_try) 2>&5
53898   ac_status=$?
53899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53900   (exit $ac_status); }; }; then
53901   glibcxx_cv_func__isinf_use=yes
53902 else
53903   echo "$as_me: failed program was:" >&5
53904 sed 's/^/| /' conftest.$ac_ext >&5
53905
53906 glibcxx_cv_func__isinf_use=no
53907 fi
53908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53909       ac_ext=c
53910 ac_cpp='$CPP $CPPFLAGS'
53911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53914
53915
53916 fi
53917
53918   fi
53919   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
53920 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
53921
53922     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53923
53924 for ac_func in _isinf
53925 do
53926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53927 echo "$as_me:$LINENO: checking for $ac_func" >&5
53928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53929 if eval "test \"\${$as_ac_var+set}\" = set"; then
53930   echo $ECHO_N "(cached) $ECHO_C" >&6
53931 else
53932   if test x$gcc_no_link = xyes; then
53933   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53935    { (exit 1); exit 1; }; }
53936 fi
53937 cat >conftest.$ac_ext <<_ACEOF
53938 /* confdefs.h.  */
53939 _ACEOF
53940 cat confdefs.h >>conftest.$ac_ext
53941 cat >>conftest.$ac_ext <<_ACEOF
53942 /* end confdefs.h.  */
53943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53944    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53945 #define $ac_func innocuous_$ac_func
53946
53947 /* System header to define __stub macros and hopefully few prototypes,
53948     which can conflict with char $ac_func (); below.
53949     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53950     <limits.h> exists even on freestanding compilers.  */
53951
53952 #ifdef __STDC__
53953 # include <limits.h>
53954 #else
53955 # include <assert.h>
53956 #endif
53957
53958 #undef $ac_func
53959
53960 /* Override any gcc2 internal prototype to avoid an error.  */
53961 #ifdef __cplusplus
53962 extern "C"
53963 {
53964 #endif
53965 /* We use char because int might match the return type of a gcc2
53966    builtin and then its argument prototype would still apply.  */
53967 char $ac_func ();
53968 /* The GNU C library defines this for functions which it implements
53969     to always fail with ENOSYS.  Some functions are actually named
53970     something starting with __ and the normal name is an alias.  */
53971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53972 choke me
53973 #else
53974 char (*f) () = $ac_func;
53975 #endif
53976 #ifdef __cplusplus
53977 }
53978 #endif
53979
53980 int
53981 main ()
53982 {
53983 return f != $ac_func;
53984   ;
53985   return 0;
53986 }
53987 _ACEOF
53988 rm -f conftest.$ac_objext conftest$ac_exeext
53989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53990   (eval $ac_link) 2>conftest.er1
53991   ac_status=$?
53992   grep -v '^ *+' conftest.er1 >conftest.err
53993   rm -f conftest.er1
53994   cat conftest.err >&5
53995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53996   (exit $ac_status); } &&
53997          { ac_try='test -z "$ac_c_werror_flag"
53998                          || test ! -s conftest.err'
53999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54000   (eval $ac_try) 2>&5
54001   ac_status=$?
54002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54003   (exit $ac_status); }; } &&
54004          { ac_try='test -s conftest$ac_exeext'
54005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54006   (eval $ac_try) 2>&5
54007   ac_status=$?
54008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54009   (exit $ac_status); }; }; then
54010   eval "$as_ac_var=yes"
54011 else
54012   echo "$as_me: failed program was:" >&5
54013 sed 's/^/| /' conftest.$ac_ext >&5
54014
54015 eval "$as_ac_var=no"
54016 fi
54017 rm -f conftest.err conftest.$ac_objext \
54018       conftest$ac_exeext conftest.$ac_ext
54019 fi
54020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54022 if test `eval echo '${'$as_ac_var'}'` = yes; then
54023   cat >>confdefs.h <<_ACEOF
54024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54025 _ACEOF
54026
54027 fi
54028 done
54029
54030     fi
54031   fi
54032
54033
54034
54035   echo "$as_me:$LINENO: checking for isnan declaration" >&5
54036 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
54037   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54038     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
54039   echo $ECHO_N "(cached) $ECHO_C" >&6
54040 else
54041
54042
54043
54044       ac_ext=cc
54045 ac_cpp='$CXXCPP $CPPFLAGS'
54046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54049
54050       cat >conftest.$ac_ext <<_ACEOF
54051 /* confdefs.h.  */
54052 _ACEOF
54053 cat confdefs.h >>conftest.$ac_ext
54054 cat >>conftest.$ac_ext <<_ACEOF
54055 /* end confdefs.h.  */
54056 #include <math.h>
54057                       #ifdef HAVE_IEEEFP_H
54058                       #include <ieeefp.h>
54059                       #endif
54060
54061 int
54062 main ()
54063 {
54064  isnan(0);
54065   ;
54066   return 0;
54067 }
54068 _ACEOF
54069 rm -f conftest.$ac_objext
54070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54071   (eval $ac_compile) 2>conftest.er1
54072   ac_status=$?
54073   grep -v '^ *+' conftest.er1 >conftest.err
54074   rm -f conftest.er1
54075   cat conftest.err >&5
54076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54077   (exit $ac_status); } &&
54078          { ac_try='test -z "$ac_cxx_werror_flag"
54079                          || test ! -s conftest.err'
54080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54081   (eval $ac_try) 2>&5
54082   ac_status=$?
54083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54084   (exit $ac_status); }; } &&
54085          { ac_try='test -s conftest.$ac_objext'
54086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54087   (eval $ac_try) 2>&5
54088   ac_status=$?
54089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54090   (exit $ac_status); }; }; then
54091   glibcxx_cv_func_isnan_use=yes
54092 else
54093   echo "$as_me: failed program was:" >&5
54094 sed 's/^/| /' conftest.$ac_ext >&5
54095
54096 glibcxx_cv_func_isnan_use=no
54097 fi
54098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54099       ac_ext=c
54100 ac_cpp='$CPP $CPPFLAGS'
54101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54104
54105
54106 fi
54107
54108   fi
54109   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
54110 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
54111
54112   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54113
54114 for ac_func in isnan
54115 do
54116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54117 echo "$as_me:$LINENO: checking for $ac_func" >&5
54118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54119 if eval "test \"\${$as_ac_var+set}\" = set"; then
54120   echo $ECHO_N "(cached) $ECHO_C" >&6
54121 else
54122   if test x$gcc_no_link = xyes; then
54123   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54125    { (exit 1); exit 1; }; }
54126 fi
54127 cat >conftest.$ac_ext <<_ACEOF
54128 /* confdefs.h.  */
54129 _ACEOF
54130 cat confdefs.h >>conftest.$ac_ext
54131 cat >>conftest.$ac_ext <<_ACEOF
54132 /* end confdefs.h.  */
54133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54134    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54135 #define $ac_func innocuous_$ac_func
54136
54137 /* System header to define __stub macros and hopefully few prototypes,
54138     which can conflict with char $ac_func (); below.
54139     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54140     <limits.h> exists even on freestanding compilers.  */
54141
54142 #ifdef __STDC__
54143 # include <limits.h>
54144 #else
54145 # include <assert.h>
54146 #endif
54147
54148 #undef $ac_func
54149
54150 /* Override any gcc2 internal prototype to avoid an error.  */
54151 #ifdef __cplusplus
54152 extern "C"
54153 {
54154 #endif
54155 /* We use char because int might match the return type of a gcc2
54156    builtin and then its argument prototype would still apply.  */
54157 char $ac_func ();
54158 /* The GNU C library defines this for functions which it implements
54159     to always fail with ENOSYS.  Some functions are actually named
54160     something starting with __ and the normal name is an alias.  */
54161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54162 choke me
54163 #else
54164 char (*f) () = $ac_func;
54165 #endif
54166 #ifdef __cplusplus
54167 }
54168 #endif
54169
54170 int
54171 main ()
54172 {
54173 return f != $ac_func;
54174   ;
54175   return 0;
54176 }
54177 _ACEOF
54178 rm -f conftest.$ac_objext conftest$ac_exeext
54179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54180   (eval $ac_link) 2>conftest.er1
54181   ac_status=$?
54182   grep -v '^ *+' conftest.er1 >conftest.err
54183   rm -f conftest.er1
54184   cat conftest.err >&5
54185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54186   (exit $ac_status); } &&
54187          { ac_try='test -z "$ac_c_werror_flag"
54188                          || test ! -s conftest.err'
54189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54190   (eval $ac_try) 2>&5
54191   ac_status=$?
54192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54193   (exit $ac_status); }; } &&
54194          { ac_try='test -s conftest$ac_exeext'
54195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54196   (eval $ac_try) 2>&5
54197   ac_status=$?
54198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54199   (exit $ac_status); }; }; then
54200   eval "$as_ac_var=yes"
54201 else
54202   echo "$as_me: failed program was:" >&5
54203 sed 's/^/| /' conftest.$ac_ext >&5
54204
54205 eval "$as_ac_var=no"
54206 fi
54207 rm -f conftest.err conftest.$ac_objext \
54208       conftest$ac_exeext conftest.$ac_ext
54209 fi
54210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54212 if test `eval echo '${'$as_ac_var'}'` = yes; then
54213   cat >>confdefs.h <<_ACEOF
54214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54215 _ACEOF
54216
54217 fi
54218 done
54219
54220   else
54221
54222   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
54223 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
54224   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54225     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
54226   echo $ECHO_N "(cached) $ECHO_C" >&6
54227 else
54228
54229
54230
54231       ac_ext=cc
54232 ac_cpp='$CXXCPP $CPPFLAGS'
54233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54236
54237       cat >conftest.$ac_ext <<_ACEOF
54238 /* confdefs.h.  */
54239 _ACEOF
54240 cat confdefs.h >>conftest.$ac_ext
54241 cat >>conftest.$ac_ext <<_ACEOF
54242 /* end confdefs.h.  */
54243 #include <math.h>
54244                       #ifdef HAVE_IEEEFP_H
54245                       #include <ieeefp.h>
54246                       #endif
54247
54248 int
54249 main ()
54250 {
54251  _isnan(0);
54252   ;
54253   return 0;
54254 }
54255 _ACEOF
54256 rm -f conftest.$ac_objext
54257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54258   (eval $ac_compile) 2>conftest.er1
54259   ac_status=$?
54260   grep -v '^ *+' conftest.er1 >conftest.err
54261   rm -f conftest.er1
54262   cat conftest.err >&5
54263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54264   (exit $ac_status); } &&
54265          { ac_try='test -z "$ac_cxx_werror_flag"
54266                          || test ! -s conftest.err'
54267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54268   (eval $ac_try) 2>&5
54269   ac_status=$?
54270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54271   (exit $ac_status); }; } &&
54272          { ac_try='test -s conftest.$ac_objext'
54273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54274   (eval $ac_try) 2>&5
54275   ac_status=$?
54276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54277   (exit $ac_status); }; }; then
54278   glibcxx_cv_func__isnan_use=yes
54279 else
54280   echo "$as_me: failed program was:" >&5
54281 sed 's/^/| /' conftest.$ac_ext >&5
54282
54283 glibcxx_cv_func__isnan_use=no
54284 fi
54285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54286       ac_ext=c
54287 ac_cpp='$CPP $CPPFLAGS'
54288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54291
54292
54293 fi
54294
54295   fi
54296   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
54297 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
54298
54299     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54300
54301 for ac_func in _isnan
54302 do
54303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54304 echo "$as_me:$LINENO: checking for $ac_func" >&5
54305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54306 if eval "test \"\${$as_ac_var+set}\" = set"; then
54307   echo $ECHO_N "(cached) $ECHO_C" >&6
54308 else
54309   if test x$gcc_no_link = xyes; then
54310   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54312    { (exit 1); exit 1; }; }
54313 fi
54314 cat >conftest.$ac_ext <<_ACEOF
54315 /* confdefs.h.  */
54316 _ACEOF
54317 cat confdefs.h >>conftest.$ac_ext
54318 cat >>conftest.$ac_ext <<_ACEOF
54319 /* end confdefs.h.  */
54320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54321    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54322 #define $ac_func innocuous_$ac_func
54323
54324 /* System header to define __stub macros and hopefully few prototypes,
54325     which can conflict with char $ac_func (); below.
54326     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54327     <limits.h> exists even on freestanding compilers.  */
54328
54329 #ifdef __STDC__
54330 # include <limits.h>
54331 #else
54332 # include <assert.h>
54333 #endif
54334
54335 #undef $ac_func
54336
54337 /* Override any gcc2 internal prototype to avoid an error.  */
54338 #ifdef __cplusplus
54339 extern "C"
54340 {
54341 #endif
54342 /* We use char because int might match the return type of a gcc2
54343    builtin and then its argument prototype would still apply.  */
54344 char $ac_func ();
54345 /* The GNU C library defines this for functions which it implements
54346     to always fail with ENOSYS.  Some functions are actually named
54347     something starting with __ and the normal name is an alias.  */
54348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54349 choke me
54350 #else
54351 char (*f) () = $ac_func;
54352 #endif
54353 #ifdef __cplusplus
54354 }
54355 #endif
54356
54357 int
54358 main ()
54359 {
54360 return f != $ac_func;
54361   ;
54362   return 0;
54363 }
54364 _ACEOF
54365 rm -f conftest.$ac_objext conftest$ac_exeext
54366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54367   (eval $ac_link) 2>conftest.er1
54368   ac_status=$?
54369   grep -v '^ *+' conftest.er1 >conftest.err
54370   rm -f conftest.er1
54371   cat conftest.err >&5
54372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54373   (exit $ac_status); } &&
54374          { ac_try='test -z "$ac_c_werror_flag"
54375                          || test ! -s conftest.err'
54376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54377   (eval $ac_try) 2>&5
54378   ac_status=$?
54379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54380   (exit $ac_status); }; } &&
54381          { ac_try='test -s conftest$ac_exeext'
54382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54383   (eval $ac_try) 2>&5
54384   ac_status=$?
54385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54386   (exit $ac_status); }; }; then
54387   eval "$as_ac_var=yes"
54388 else
54389   echo "$as_me: failed program was:" >&5
54390 sed 's/^/| /' conftest.$ac_ext >&5
54391
54392 eval "$as_ac_var=no"
54393 fi
54394 rm -f conftest.err conftest.$ac_objext \
54395       conftest$ac_exeext conftest.$ac_ext
54396 fi
54397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54399 if test `eval echo '${'$as_ac_var'}'` = yes; then
54400   cat >>confdefs.h <<_ACEOF
54401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54402 _ACEOF
54403
54404 fi
54405 done
54406
54407     fi
54408   fi
54409
54410
54411
54412   echo "$as_me:$LINENO: checking for finite declaration" >&5
54413 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
54414   if test x${glibcxx_cv_func_finite_use+set} != xset; then
54415     if test "${glibcxx_cv_func_finite_use+set}" = set; then
54416   echo $ECHO_N "(cached) $ECHO_C" >&6
54417 else
54418
54419
54420
54421       ac_ext=cc
54422 ac_cpp='$CXXCPP $CPPFLAGS'
54423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54426
54427       cat >conftest.$ac_ext <<_ACEOF
54428 /* confdefs.h.  */
54429 _ACEOF
54430 cat confdefs.h >>conftest.$ac_ext
54431 cat >>conftest.$ac_ext <<_ACEOF
54432 /* end confdefs.h.  */
54433 #include <math.h>
54434                       #ifdef HAVE_IEEEFP_H
54435                       #include <ieeefp.h>
54436                       #endif
54437
54438 int
54439 main ()
54440 {
54441  finite(0);
54442   ;
54443   return 0;
54444 }
54445 _ACEOF
54446 rm -f conftest.$ac_objext
54447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54448   (eval $ac_compile) 2>conftest.er1
54449   ac_status=$?
54450   grep -v '^ *+' conftest.er1 >conftest.err
54451   rm -f conftest.er1
54452   cat conftest.err >&5
54453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54454   (exit $ac_status); } &&
54455          { ac_try='test -z "$ac_cxx_werror_flag"
54456                          || test ! -s conftest.err'
54457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54458   (eval $ac_try) 2>&5
54459   ac_status=$?
54460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54461   (exit $ac_status); }; } &&
54462          { ac_try='test -s conftest.$ac_objext'
54463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54464   (eval $ac_try) 2>&5
54465   ac_status=$?
54466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54467   (exit $ac_status); }; }; then
54468   glibcxx_cv_func_finite_use=yes
54469 else
54470   echo "$as_me: failed program was:" >&5
54471 sed 's/^/| /' conftest.$ac_ext >&5
54472
54473 glibcxx_cv_func_finite_use=no
54474 fi
54475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54476       ac_ext=c
54477 ac_cpp='$CPP $CPPFLAGS'
54478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54481
54482
54483 fi
54484
54485   fi
54486   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
54487 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
54488
54489   if test x$glibcxx_cv_func_finite_use = x"yes"; then
54490
54491 for ac_func in finite
54492 do
54493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54494 echo "$as_me:$LINENO: checking for $ac_func" >&5
54495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54496 if eval "test \"\${$as_ac_var+set}\" = set"; then
54497   echo $ECHO_N "(cached) $ECHO_C" >&6
54498 else
54499   if test x$gcc_no_link = xyes; then
54500   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54502    { (exit 1); exit 1; }; }
54503 fi
54504 cat >conftest.$ac_ext <<_ACEOF
54505 /* confdefs.h.  */
54506 _ACEOF
54507 cat confdefs.h >>conftest.$ac_ext
54508 cat >>conftest.$ac_ext <<_ACEOF
54509 /* end confdefs.h.  */
54510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54511    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54512 #define $ac_func innocuous_$ac_func
54513
54514 /* System header to define __stub macros and hopefully few prototypes,
54515     which can conflict with char $ac_func (); below.
54516     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54517     <limits.h> exists even on freestanding compilers.  */
54518
54519 #ifdef __STDC__
54520 # include <limits.h>
54521 #else
54522 # include <assert.h>
54523 #endif
54524
54525 #undef $ac_func
54526
54527 /* Override any gcc2 internal prototype to avoid an error.  */
54528 #ifdef __cplusplus
54529 extern "C"
54530 {
54531 #endif
54532 /* We use char because int might match the return type of a gcc2
54533    builtin and then its argument prototype would still apply.  */
54534 char $ac_func ();
54535 /* The GNU C library defines this for functions which it implements
54536     to always fail with ENOSYS.  Some functions are actually named
54537     something starting with __ and the normal name is an alias.  */
54538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54539 choke me
54540 #else
54541 char (*f) () = $ac_func;
54542 #endif
54543 #ifdef __cplusplus
54544 }
54545 #endif
54546
54547 int
54548 main ()
54549 {
54550 return f != $ac_func;
54551   ;
54552   return 0;
54553 }
54554 _ACEOF
54555 rm -f conftest.$ac_objext conftest$ac_exeext
54556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54557   (eval $ac_link) 2>conftest.er1
54558   ac_status=$?
54559   grep -v '^ *+' conftest.er1 >conftest.err
54560   rm -f conftest.er1
54561   cat conftest.err >&5
54562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54563   (exit $ac_status); } &&
54564          { ac_try='test -z "$ac_c_werror_flag"
54565                          || test ! -s conftest.err'
54566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54567   (eval $ac_try) 2>&5
54568   ac_status=$?
54569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54570   (exit $ac_status); }; } &&
54571          { ac_try='test -s conftest$ac_exeext'
54572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54573   (eval $ac_try) 2>&5
54574   ac_status=$?
54575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54576   (exit $ac_status); }; }; then
54577   eval "$as_ac_var=yes"
54578 else
54579   echo "$as_me: failed program was:" >&5
54580 sed 's/^/| /' conftest.$ac_ext >&5
54581
54582 eval "$as_ac_var=no"
54583 fi
54584 rm -f conftest.err conftest.$ac_objext \
54585       conftest$ac_exeext conftest.$ac_ext
54586 fi
54587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54589 if test `eval echo '${'$as_ac_var'}'` = yes; then
54590   cat >>confdefs.h <<_ACEOF
54591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54592 _ACEOF
54593
54594 fi
54595 done
54596
54597   else
54598
54599   echo "$as_me:$LINENO: checking for _finite declaration" >&5
54600 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
54601   if test x${glibcxx_cv_func__finite_use+set} != xset; then
54602     if test "${glibcxx_cv_func__finite_use+set}" = set; then
54603   echo $ECHO_N "(cached) $ECHO_C" >&6
54604 else
54605
54606
54607
54608       ac_ext=cc
54609 ac_cpp='$CXXCPP $CPPFLAGS'
54610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54613
54614       cat >conftest.$ac_ext <<_ACEOF
54615 /* confdefs.h.  */
54616 _ACEOF
54617 cat confdefs.h >>conftest.$ac_ext
54618 cat >>conftest.$ac_ext <<_ACEOF
54619 /* end confdefs.h.  */
54620 #include <math.h>
54621                       #ifdef HAVE_IEEEFP_H
54622                       #include <ieeefp.h>
54623                       #endif
54624
54625 int
54626 main ()
54627 {
54628  _finite(0);
54629   ;
54630   return 0;
54631 }
54632 _ACEOF
54633 rm -f conftest.$ac_objext
54634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54635   (eval $ac_compile) 2>conftest.er1
54636   ac_status=$?
54637   grep -v '^ *+' conftest.er1 >conftest.err
54638   rm -f conftest.er1
54639   cat conftest.err >&5
54640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54641   (exit $ac_status); } &&
54642          { ac_try='test -z "$ac_cxx_werror_flag"
54643                          || test ! -s conftest.err'
54644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54645   (eval $ac_try) 2>&5
54646   ac_status=$?
54647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54648   (exit $ac_status); }; } &&
54649          { ac_try='test -s conftest.$ac_objext'
54650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54651   (eval $ac_try) 2>&5
54652   ac_status=$?
54653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54654   (exit $ac_status); }; }; then
54655   glibcxx_cv_func__finite_use=yes
54656 else
54657   echo "$as_me: failed program was:" >&5
54658 sed 's/^/| /' conftest.$ac_ext >&5
54659
54660 glibcxx_cv_func__finite_use=no
54661 fi
54662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54663       ac_ext=c
54664 ac_cpp='$CPP $CPPFLAGS'
54665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54668
54669
54670 fi
54671
54672   fi
54673   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
54674 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
54675
54676     if test x$glibcxx_cv_func__finite_use = x"yes"; then
54677
54678 for ac_func in _finite
54679 do
54680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54681 echo "$as_me:$LINENO: checking for $ac_func" >&5
54682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54683 if eval "test \"\${$as_ac_var+set}\" = set"; then
54684   echo $ECHO_N "(cached) $ECHO_C" >&6
54685 else
54686   if test x$gcc_no_link = xyes; then
54687   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54689    { (exit 1); exit 1; }; }
54690 fi
54691 cat >conftest.$ac_ext <<_ACEOF
54692 /* confdefs.h.  */
54693 _ACEOF
54694 cat confdefs.h >>conftest.$ac_ext
54695 cat >>conftest.$ac_ext <<_ACEOF
54696 /* end confdefs.h.  */
54697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54698    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54699 #define $ac_func innocuous_$ac_func
54700
54701 /* System header to define __stub macros and hopefully few prototypes,
54702     which can conflict with char $ac_func (); below.
54703     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54704     <limits.h> exists even on freestanding compilers.  */
54705
54706 #ifdef __STDC__
54707 # include <limits.h>
54708 #else
54709 # include <assert.h>
54710 #endif
54711
54712 #undef $ac_func
54713
54714 /* Override any gcc2 internal prototype to avoid an error.  */
54715 #ifdef __cplusplus
54716 extern "C"
54717 {
54718 #endif
54719 /* We use char because int might match the return type of a gcc2
54720    builtin and then its argument prototype would still apply.  */
54721 char $ac_func ();
54722 /* The GNU C library defines this for functions which it implements
54723     to always fail with ENOSYS.  Some functions are actually named
54724     something starting with __ and the normal name is an alias.  */
54725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54726 choke me
54727 #else
54728 char (*f) () = $ac_func;
54729 #endif
54730 #ifdef __cplusplus
54731 }
54732 #endif
54733
54734 int
54735 main ()
54736 {
54737 return f != $ac_func;
54738   ;
54739   return 0;
54740 }
54741 _ACEOF
54742 rm -f conftest.$ac_objext conftest$ac_exeext
54743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54744   (eval $ac_link) 2>conftest.er1
54745   ac_status=$?
54746   grep -v '^ *+' conftest.er1 >conftest.err
54747   rm -f conftest.er1
54748   cat conftest.err >&5
54749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54750   (exit $ac_status); } &&
54751          { ac_try='test -z "$ac_c_werror_flag"
54752                          || test ! -s conftest.err'
54753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54754   (eval $ac_try) 2>&5
54755   ac_status=$?
54756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54757   (exit $ac_status); }; } &&
54758          { ac_try='test -s conftest$ac_exeext'
54759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54760   (eval $ac_try) 2>&5
54761   ac_status=$?
54762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54763   (exit $ac_status); }; }; then
54764   eval "$as_ac_var=yes"
54765 else
54766   echo "$as_me: failed program was:" >&5
54767 sed 's/^/| /' conftest.$ac_ext >&5
54768
54769 eval "$as_ac_var=no"
54770 fi
54771 rm -f conftest.err conftest.$ac_objext \
54772       conftest$ac_exeext conftest.$ac_ext
54773 fi
54774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54776 if test `eval echo '${'$as_ac_var'}'` = yes; then
54777   cat >>confdefs.h <<_ACEOF
54778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54779 _ACEOF
54780
54781 fi
54782 done
54783
54784     fi
54785   fi
54786
54787
54788
54789   echo "$as_me:$LINENO: checking for copysign declaration" >&5
54790 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
54791   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
54792     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
54793   echo $ECHO_N "(cached) $ECHO_C" >&6
54794 else
54795
54796
54797
54798       ac_ext=cc
54799 ac_cpp='$CXXCPP $CPPFLAGS'
54800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54803
54804       cat >conftest.$ac_ext <<_ACEOF
54805 /* confdefs.h.  */
54806 _ACEOF
54807 cat confdefs.h >>conftest.$ac_ext
54808 cat >>conftest.$ac_ext <<_ACEOF
54809 /* end confdefs.h.  */
54810 #include <math.h>
54811 int
54812 main ()
54813 {
54814  copysign(0, 0);
54815   ;
54816   return 0;
54817 }
54818 _ACEOF
54819 rm -f conftest.$ac_objext
54820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54821   (eval $ac_compile) 2>conftest.er1
54822   ac_status=$?
54823   grep -v '^ *+' conftest.er1 >conftest.err
54824   rm -f conftest.er1
54825   cat conftest.err >&5
54826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54827   (exit $ac_status); } &&
54828          { ac_try='test -z "$ac_cxx_werror_flag"
54829                          || test ! -s conftest.err'
54830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54831   (eval $ac_try) 2>&5
54832   ac_status=$?
54833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54834   (exit $ac_status); }; } &&
54835          { ac_try='test -s conftest.$ac_objext'
54836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54837   (eval $ac_try) 2>&5
54838   ac_status=$?
54839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54840   (exit $ac_status); }; }; then
54841   glibcxx_cv_func_copysign_use=yes
54842 else
54843   echo "$as_me: failed program was:" >&5
54844 sed 's/^/| /' conftest.$ac_ext >&5
54845
54846 glibcxx_cv_func_copysign_use=no
54847 fi
54848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54849       ac_ext=c
54850 ac_cpp='$CPP $CPPFLAGS'
54851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54854
54855
54856 fi
54857
54858   fi
54859   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
54860 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
54861
54862   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
54863
54864 for ac_func in copysign
54865 do
54866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54867 echo "$as_me:$LINENO: checking for $ac_func" >&5
54868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54869 if eval "test \"\${$as_ac_var+set}\" = set"; then
54870   echo $ECHO_N "(cached) $ECHO_C" >&6
54871 else
54872   if test x$gcc_no_link = xyes; then
54873   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54875    { (exit 1); exit 1; }; }
54876 fi
54877 cat >conftest.$ac_ext <<_ACEOF
54878 /* confdefs.h.  */
54879 _ACEOF
54880 cat confdefs.h >>conftest.$ac_ext
54881 cat >>conftest.$ac_ext <<_ACEOF
54882 /* end confdefs.h.  */
54883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54884    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54885 #define $ac_func innocuous_$ac_func
54886
54887 /* System header to define __stub macros and hopefully few prototypes,
54888     which can conflict with char $ac_func (); below.
54889     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54890     <limits.h> exists even on freestanding compilers.  */
54891
54892 #ifdef __STDC__
54893 # include <limits.h>
54894 #else
54895 # include <assert.h>
54896 #endif
54897
54898 #undef $ac_func
54899
54900 /* Override any gcc2 internal prototype to avoid an error.  */
54901 #ifdef __cplusplus
54902 extern "C"
54903 {
54904 #endif
54905 /* We use char because int might match the return type of a gcc2
54906    builtin and then its argument prototype would still apply.  */
54907 char $ac_func ();
54908 /* The GNU C library defines this for functions which it implements
54909     to always fail with ENOSYS.  Some functions are actually named
54910     something starting with __ and the normal name is an alias.  */
54911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54912 choke me
54913 #else
54914 char (*f) () = $ac_func;
54915 #endif
54916 #ifdef __cplusplus
54917 }
54918 #endif
54919
54920 int
54921 main ()
54922 {
54923 return f != $ac_func;
54924   ;
54925   return 0;
54926 }
54927 _ACEOF
54928 rm -f conftest.$ac_objext conftest$ac_exeext
54929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54930   (eval $ac_link) 2>conftest.er1
54931   ac_status=$?
54932   grep -v '^ *+' conftest.er1 >conftest.err
54933   rm -f conftest.er1
54934   cat conftest.err >&5
54935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54936   (exit $ac_status); } &&
54937          { ac_try='test -z "$ac_c_werror_flag"
54938                          || test ! -s conftest.err'
54939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54940   (eval $ac_try) 2>&5
54941   ac_status=$?
54942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54943   (exit $ac_status); }; } &&
54944          { ac_try='test -s conftest$ac_exeext'
54945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54946   (eval $ac_try) 2>&5
54947   ac_status=$?
54948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54949   (exit $ac_status); }; }; then
54950   eval "$as_ac_var=yes"
54951 else
54952   echo "$as_me: failed program was:" >&5
54953 sed 's/^/| /' conftest.$ac_ext >&5
54954
54955 eval "$as_ac_var=no"
54956 fi
54957 rm -f conftest.err conftest.$ac_objext \
54958       conftest$ac_exeext conftest.$ac_ext
54959 fi
54960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54962 if test `eval echo '${'$as_ac_var'}'` = yes; then
54963   cat >>confdefs.h <<_ACEOF
54964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54965 _ACEOF
54966
54967 fi
54968 done
54969
54970   else
54971
54972   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
54973 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
54974   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
54975     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
54976   echo $ECHO_N "(cached) $ECHO_C" >&6
54977 else
54978
54979
54980
54981       ac_ext=cc
54982 ac_cpp='$CXXCPP $CPPFLAGS'
54983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54986
54987       cat >conftest.$ac_ext <<_ACEOF
54988 /* confdefs.h.  */
54989 _ACEOF
54990 cat confdefs.h >>conftest.$ac_ext
54991 cat >>conftest.$ac_ext <<_ACEOF
54992 /* end confdefs.h.  */
54993 #include <math.h>
54994 int
54995 main ()
54996 {
54997  _copysign(0, 0);
54998   ;
54999   return 0;
55000 }
55001 _ACEOF
55002 rm -f conftest.$ac_objext
55003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55004   (eval $ac_compile) 2>conftest.er1
55005   ac_status=$?
55006   grep -v '^ *+' conftest.er1 >conftest.err
55007   rm -f conftest.er1
55008   cat conftest.err >&5
55009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55010   (exit $ac_status); } &&
55011          { ac_try='test -z "$ac_cxx_werror_flag"
55012                          || test ! -s conftest.err'
55013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55014   (eval $ac_try) 2>&5
55015   ac_status=$?
55016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55017   (exit $ac_status); }; } &&
55018          { ac_try='test -s conftest.$ac_objext'
55019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55020   (eval $ac_try) 2>&5
55021   ac_status=$?
55022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55023   (exit $ac_status); }; }; then
55024   glibcxx_cv_func__copysign_use=yes
55025 else
55026   echo "$as_me: failed program was:" >&5
55027 sed 's/^/| /' conftest.$ac_ext >&5
55028
55029 glibcxx_cv_func__copysign_use=no
55030 fi
55031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55032       ac_ext=c
55033 ac_cpp='$CPP $CPPFLAGS'
55034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55037
55038
55039 fi
55040
55041   fi
55042   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
55043 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
55044
55045     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
55046
55047 for ac_func in _copysign
55048 do
55049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55050 echo "$as_me:$LINENO: checking for $ac_func" >&5
55051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55052 if eval "test \"\${$as_ac_var+set}\" = set"; then
55053   echo $ECHO_N "(cached) $ECHO_C" >&6
55054 else
55055   if test x$gcc_no_link = xyes; then
55056   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55058    { (exit 1); exit 1; }; }
55059 fi
55060 cat >conftest.$ac_ext <<_ACEOF
55061 /* confdefs.h.  */
55062 _ACEOF
55063 cat confdefs.h >>conftest.$ac_ext
55064 cat >>conftest.$ac_ext <<_ACEOF
55065 /* end confdefs.h.  */
55066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55067    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55068 #define $ac_func innocuous_$ac_func
55069
55070 /* System header to define __stub macros and hopefully few prototypes,
55071     which can conflict with char $ac_func (); below.
55072     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55073     <limits.h> exists even on freestanding compilers.  */
55074
55075 #ifdef __STDC__
55076 # include <limits.h>
55077 #else
55078 # include <assert.h>
55079 #endif
55080
55081 #undef $ac_func
55082
55083 /* Override any gcc2 internal prototype to avoid an error.  */
55084 #ifdef __cplusplus
55085 extern "C"
55086 {
55087 #endif
55088 /* We use char because int might match the return type of a gcc2
55089    builtin and then its argument prototype would still apply.  */
55090 char $ac_func ();
55091 /* The GNU C library defines this for functions which it implements
55092     to always fail with ENOSYS.  Some functions are actually named
55093     something starting with __ and the normal name is an alias.  */
55094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55095 choke me
55096 #else
55097 char (*f) () = $ac_func;
55098 #endif
55099 #ifdef __cplusplus
55100 }
55101 #endif
55102
55103 int
55104 main ()
55105 {
55106 return f != $ac_func;
55107   ;
55108   return 0;
55109 }
55110 _ACEOF
55111 rm -f conftest.$ac_objext conftest$ac_exeext
55112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55113   (eval $ac_link) 2>conftest.er1
55114   ac_status=$?
55115   grep -v '^ *+' conftest.er1 >conftest.err
55116   rm -f conftest.er1
55117   cat conftest.err >&5
55118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55119   (exit $ac_status); } &&
55120          { ac_try='test -z "$ac_c_werror_flag"
55121                          || test ! -s conftest.err'
55122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55123   (eval $ac_try) 2>&5
55124   ac_status=$?
55125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55126   (exit $ac_status); }; } &&
55127          { ac_try='test -s conftest$ac_exeext'
55128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55129   (eval $ac_try) 2>&5
55130   ac_status=$?
55131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55132   (exit $ac_status); }; }; then
55133   eval "$as_ac_var=yes"
55134 else
55135   echo "$as_me: failed program was:" >&5
55136 sed 's/^/| /' conftest.$ac_ext >&5
55137
55138 eval "$as_ac_var=no"
55139 fi
55140 rm -f conftest.err conftest.$ac_objext \
55141       conftest$ac_exeext conftest.$ac_ext
55142 fi
55143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55145 if test `eval echo '${'$as_ac_var'}'` = yes; then
55146   cat >>confdefs.h <<_ACEOF
55147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55148 _ACEOF
55149
55150 fi
55151 done
55152
55153     fi
55154   fi
55155
55156
55157
55158   echo "$as_me:$LINENO: checking for sincos declaration" >&5
55159 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
55160   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55161     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
55162   echo $ECHO_N "(cached) $ECHO_C" >&6
55163 else
55164
55165
55166
55167       ac_ext=cc
55168 ac_cpp='$CXXCPP $CPPFLAGS'
55169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55172
55173       cat >conftest.$ac_ext <<_ACEOF
55174 /* confdefs.h.  */
55175 _ACEOF
55176 cat confdefs.h >>conftest.$ac_ext
55177 cat >>conftest.$ac_ext <<_ACEOF
55178 /* end confdefs.h.  */
55179 #include <math.h>
55180 int
55181 main ()
55182 {
55183  sincos(0, 0, 0);
55184   ;
55185   return 0;
55186 }
55187 _ACEOF
55188 rm -f conftest.$ac_objext
55189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55190   (eval $ac_compile) 2>conftest.er1
55191   ac_status=$?
55192   grep -v '^ *+' conftest.er1 >conftest.err
55193   rm -f conftest.er1
55194   cat conftest.err >&5
55195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55196   (exit $ac_status); } &&
55197          { ac_try='test -z "$ac_cxx_werror_flag"
55198                          || test ! -s conftest.err'
55199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55200   (eval $ac_try) 2>&5
55201   ac_status=$?
55202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55203   (exit $ac_status); }; } &&
55204          { ac_try='test -s conftest.$ac_objext'
55205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55206   (eval $ac_try) 2>&5
55207   ac_status=$?
55208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55209   (exit $ac_status); }; }; then
55210   glibcxx_cv_func_sincos_use=yes
55211 else
55212   echo "$as_me: failed program was:" >&5
55213 sed 's/^/| /' conftest.$ac_ext >&5
55214
55215 glibcxx_cv_func_sincos_use=no
55216 fi
55217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55218       ac_ext=c
55219 ac_cpp='$CPP $CPPFLAGS'
55220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55223
55224
55225 fi
55226
55227   fi
55228   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
55229 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
55230
55231   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55232
55233 for ac_func in sincos
55234 do
55235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55236 echo "$as_me:$LINENO: checking for $ac_func" >&5
55237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55238 if eval "test \"\${$as_ac_var+set}\" = set"; then
55239   echo $ECHO_N "(cached) $ECHO_C" >&6
55240 else
55241   if test x$gcc_no_link = xyes; then
55242   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55244    { (exit 1); exit 1; }; }
55245 fi
55246 cat >conftest.$ac_ext <<_ACEOF
55247 /* confdefs.h.  */
55248 _ACEOF
55249 cat confdefs.h >>conftest.$ac_ext
55250 cat >>conftest.$ac_ext <<_ACEOF
55251 /* end confdefs.h.  */
55252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55253    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55254 #define $ac_func innocuous_$ac_func
55255
55256 /* System header to define __stub macros and hopefully few prototypes,
55257     which can conflict with char $ac_func (); below.
55258     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55259     <limits.h> exists even on freestanding compilers.  */
55260
55261 #ifdef __STDC__
55262 # include <limits.h>
55263 #else
55264 # include <assert.h>
55265 #endif
55266
55267 #undef $ac_func
55268
55269 /* Override any gcc2 internal prototype to avoid an error.  */
55270 #ifdef __cplusplus
55271 extern "C"
55272 {
55273 #endif
55274 /* We use char because int might match the return type of a gcc2
55275    builtin and then its argument prototype would still apply.  */
55276 char $ac_func ();
55277 /* The GNU C library defines this for functions which it implements
55278     to always fail with ENOSYS.  Some functions are actually named
55279     something starting with __ and the normal name is an alias.  */
55280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55281 choke me
55282 #else
55283 char (*f) () = $ac_func;
55284 #endif
55285 #ifdef __cplusplus
55286 }
55287 #endif
55288
55289 int
55290 main ()
55291 {
55292 return f != $ac_func;
55293   ;
55294   return 0;
55295 }
55296 _ACEOF
55297 rm -f conftest.$ac_objext conftest$ac_exeext
55298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55299   (eval $ac_link) 2>conftest.er1
55300   ac_status=$?
55301   grep -v '^ *+' conftest.er1 >conftest.err
55302   rm -f conftest.er1
55303   cat conftest.err >&5
55304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55305   (exit $ac_status); } &&
55306          { ac_try='test -z "$ac_c_werror_flag"
55307                          || test ! -s conftest.err'
55308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55309   (eval $ac_try) 2>&5
55310   ac_status=$?
55311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55312   (exit $ac_status); }; } &&
55313          { ac_try='test -s conftest$ac_exeext'
55314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55315   (eval $ac_try) 2>&5
55316   ac_status=$?
55317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55318   (exit $ac_status); }; }; then
55319   eval "$as_ac_var=yes"
55320 else
55321   echo "$as_me: failed program was:" >&5
55322 sed 's/^/| /' conftest.$ac_ext >&5
55323
55324 eval "$as_ac_var=no"
55325 fi
55326 rm -f conftest.err conftest.$ac_objext \
55327       conftest$ac_exeext conftest.$ac_ext
55328 fi
55329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55331 if test `eval echo '${'$as_ac_var'}'` = yes; then
55332   cat >>confdefs.h <<_ACEOF
55333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55334 _ACEOF
55335
55336 fi
55337 done
55338
55339   else
55340
55341   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
55342 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
55343   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55344     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
55345   echo $ECHO_N "(cached) $ECHO_C" >&6
55346 else
55347
55348
55349
55350       ac_ext=cc
55351 ac_cpp='$CXXCPP $CPPFLAGS'
55352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55355
55356       cat >conftest.$ac_ext <<_ACEOF
55357 /* confdefs.h.  */
55358 _ACEOF
55359 cat confdefs.h >>conftest.$ac_ext
55360 cat >>conftest.$ac_ext <<_ACEOF
55361 /* end confdefs.h.  */
55362 #include <math.h>
55363 int
55364 main ()
55365 {
55366  _sincos(0, 0, 0);
55367   ;
55368   return 0;
55369 }
55370 _ACEOF
55371 rm -f conftest.$ac_objext
55372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55373   (eval $ac_compile) 2>conftest.er1
55374   ac_status=$?
55375   grep -v '^ *+' conftest.er1 >conftest.err
55376   rm -f conftest.er1
55377   cat conftest.err >&5
55378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55379   (exit $ac_status); } &&
55380          { ac_try='test -z "$ac_cxx_werror_flag"
55381                          || test ! -s conftest.err'
55382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55383   (eval $ac_try) 2>&5
55384   ac_status=$?
55385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55386   (exit $ac_status); }; } &&
55387          { ac_try='test -s conftest.$ac_objext'
55388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55389   (eval $ac_try) 2>&5
55390   ac_status=$?
55391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55392   (exit $ac_status); }; }; then
55393   glibcxx_cv_func__sincos_use=yes
55394 else
55395   echo "$as_me: failed program was:" >&5
55396 sed 's/^/| /' conftest.$ac_ext >&5
55397
55398 glibcxx_cv_func__sincos_use=no
55399 fi
55400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55401       ac_ext=c
55402 ac_cpp='$CPP $CPPFLAGS'
55403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55406
55407
55408 fi
55409
55410   fi
55411   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
55412 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
55413
55414     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55415
55416 for ac_func in _sincos
55417 do
55418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55419 echo "$as_me:$LINENO: checking for $ac_func" >&5
55420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55421 if eval "test \"\${$as_ac_var+set}\" = set"; then
55422   echo $ECHO_N "(cached) $ECHO_C" >&6
55423 else
55424   if test x$gcc_no_link = xyes; then
55425   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55427    { (exit 1); exit 1; }; }
55428 fi
55429 cat >conftest.$ac_ext <<_ACEOF
55430 /* confdefs.h.  */
55431 _ACEOF
55432 cat confdefs.h >>conftest.$ac_ext
55433 cat >>conftest.$ac_ext <<_ACEOF
55434 /* end confdefs.h.  */
55435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55436    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55437 #define $ac_func innocuous_$ac_func
55438
55439 /* System header to define __stub macros and hopefully few prototypes,
55440     which can conflict with char $ac_func (); below.
55441     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55442     <limits.h> exists even on freestanding compilers.  */
55443
55444 #ifdef __STDC__
55445 # include <limits.h>
55446 #else
55447 # include <assert.h>
55448 #endif
55449
55450 #undef $ac_func
55451
55452 /* Override any gcc2 internal prototype to avoid an error.  */
55453 #ifdef __cplusplus
55454 extern "C"
55455 {
55456 #endif
55457 /* We use char because int might match the return type of a gcc2
55458    builtin and then its argument prototype would still apply.  */
55459 char $ac_func ();
55460 /* The GNU C library defines this for functions which it implements
55461     to always fail with ENOSYS.  Some functions are actually named
55462     something starting with __ and the normal name is an alias.  */
55463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55464 choke me
55465 #else
55466 char (*f) () = $ac_func;
55467 #endif
55468 #ifdef __cplusplus
55469 }
55470 #endif
55471
55472 int
55473 main ()
55474 {
55475 return f != $ac_func;
55476   ;
55477   return 0;
55478 }
55479 _ACEOF
55480 rm -f conftest.$ac_objext conftest$ac_exeext
55481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55482   (eval $ac_link) 2>conftest.er1
55483   ac_status=$?
55484   grep -v '^ *+' conftest.er1 >conftest.err
55485   rm -f conftest.er1
55486   cat conftest.err >&5
55487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55488   (exit $ac_status); } &&
55489          { ac_try='test -z "$ac_c_werror_flag"
55490                          || test ! -s conftest.err'
55491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55492   (eval $ac_try) 2>&5
55493   ac_status=$?
55494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55495   (exit $ac_status); }; } &&
55496          { ac_try='test -s conftest$ac_exeext'
55497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55498   (eval $ac_try) 2>&5
55499   ac_status=$?
55500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55501   (exit $ac_status); }; }; then
55502   eval "$as_ac_var=yes"
55503 else
55504   echo "$as_me: failed program was:" >&5
55505 sed 's/^/| /' conftest.$ac_ext >&5
55506
55507 eval "$as_ac_var=no"
55508 fi
55509 rm -f conftest.err conftest.$ac_objext \
55510       conftest$ac_exeext conftest.$ac_ext
55511 fi
55512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55514 if test `eval echo '${'$as_ac_var'}'` = yes; then
55515   cat >>confdefs.h <<_ACEOF
55516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55517 _ACEOF
55518
55519 fi
55520 done
55521
55522     fi
55523   fi
55524
55525
55526
55527   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
55528 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
55529   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55530     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
55531   echo $ECHO_N "(cached) $ECHO_C" >&6
55532 else
55533
55534
55535
55536       ac_ext=cc
55537 ac_cpp='$CXXCPP $CPPFLAGS'
55538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55541
55542       cat >conftest.$ac_ext <<_ACEOF
55543 /* confdefs.h.  */
55544 _ACEOF
55545 cat confdefs.h >>conftest.$ac_ext
55546 cat >>conftest.$ac_ext <<_ACEOF
55547 /* end confdefs.h.  */
55548 #include <math.h>
55549                       #ifdef HAVE_IEEEFP_H
55550                       #include <ieeefp.h>
55551                       #endif
55552
55553 int
55554 main ()
55555 {
55556  fpclass(0);
55557   ;
55558   return 0;
55559 }
55560 _ACEOF
55561 rm -f conftest.$ac_objext
55562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55563   (eval $ac_compile) 2>conftest.er1
55564   ac_status=$?
55565   grep -v '^ *+' conftest.er1 >conftest.err
55566   rm -f conftest.er1
55567   cat conftest.err >&5
55568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55569   (exit $ac_status); } &&
55570          { ac_try='test -z "$ac_cxx_werror_flag"
55571                          || test ! -s conftest.err'
55572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55573   (eval $ac_try) 2>&5
55574   ac_status=$?
55575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55576   (exit $ac_status); }; } &&
55577          { ac_try='test -s conftest.$ac_objext'
55578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55579   (eval $ac_try) 2>&5
55580   ac_status=$?
55581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55582   (exit $ac_status); }; }; then
55583   glibcxx_cv_func_fpclass_use=yes
55584 else
55585   echo "$as_me: failed program was:" >&5
55586 sed 's/^/| /' conftest.$ac_ext >&5
55587
55588 glibcxx_cv_func_fpclass_use=no
55589 fi
55590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55591       ac_ext=c
55592 ac_cpp='$CPP $CPPFLAGS'
55593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55596
55597
55598 fi
55599
55600   fi
55601   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
55602 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
55603
55604   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55605
55606 for ac_func in fpclass
55607 do
55608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55609 echo "$as_me:$LINENO: checking for $ac_func" >&5
55610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55611 if eval "test \"\${$as_ac_var+set}\" = set"; then
55612   echo $ECHO_N "(cached) $ECHO_C" >&6
55613 else
55614   if test x$gcc_no_link = xyes; then
55615   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55617    { (exit 1); exit 1; }; }
55618 fi
55619 cat >conftest.$ac_ext <<_ACEOF
55620 /* confdefs.h.  */
55621 _ACEOF
55622 cat confdefs.h >>conftest.$ac_ext
55623 cat >>conftest.$ac_ext <<_ACEOF
55624 /* end confdefs.h.  */
55625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55626    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55627 #define $ac_func innocuous_$ac_func
55628
55629 /* System header to define __stub macros and hopefully few prototypes,
55630     which can conflict with char $ac_func (); below.
55631     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55632     <limits.h> exists even on freestanding compilers.  */
55633
55634 #ifdef __STDC__
55635 # include <limits.h>
55636 #else
55637 # include <assert.h>
55638 #endif
55639
55640 #undef $ac_func
55641
55642 /* Override any gcc2 internal prototype to avoid an error.  */
55643 #ifdef __cplusplus
55644 extern "C"
55645 {
55646 #endif
55647 /* We use char because int might match the return type of a gcc2
55648    builtin and then its argument prototype would still apply.  */
55649 char $ac_func ();
55650 /* The GNU C library defines this for functions which it implements
55651     to always fail with ENOSYS.  Some functions are actually named
55652     something starting with __ and the normal name is an alias.  */
55653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55654 choke me
55655 #else
55656 char (*f) () = $ac_func;
55657 #endif
55658 #ifdef __cplusplus
55659 }
55660 #endif
55661
55662 int
55663 main ()
55664 {
55665 return f != $ac_func;
55666   ;
55667   return 0;
55668 }
55669 _ACEOF
55670 rm -f conftest.$ac_objext conftest$ac_exeext
55671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55672   (eval $ac_link) 2>conftest.er1
55673   ac_status=$?
55674   grep -v '^ *+' conftest.er1 >conftest.err
55675   rm -f conftest.er1
55676   cat conftest.err >&5
55677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55678   (exit $ac_status); } &&
55679          { ac_try='test -z "$ac_c_werror_flag"
55680                          || test ! -s conftest.err'
55681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55682   (eval $ac_try) 2>&5
55683   ac_status=$?
55684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55685   (exit $ac_status); }; } &&
55686          { ac_try='test -s conftest$ac_exeext'
55687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55688   (eval $ac_try) 2>&5
55689   ac_status=$?
55690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55691   (exit $ac_status); }; }; then
55692   eval "$as_ac_var=yes"
55693 else
55694   echo "$as_me: failed program was:" >&5
55695 sed 's/^/| /' conftest.$ac_ext >&5
55696
55697 eval "$as_ac_var=no"
55698 fi
55699 rm -f conftest.err conftest.$ac_objext \
55700       conftest$ac_exeext conftest.$ac_ext
55701 fi
55702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55704 if test `eval echo '${'$as_ac_var'}'` = yes; then
55705   cat >>confdefs.h <<_ACEOF
55706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55707 _ACEOF
55708
55709 fi
55710 done
55711
55712   else
55713
55714   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
55715 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
55716   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55717     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
55718   echo $ECHO_N "(cached) $ECHO_C" >&6
55719 else
55720
55721
55722
55723       ac_ext=cc
55724 ac_cpp='$CXXCPP $CPPFLAGS'
55725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55728
55729       cat >conftest.$ac_ext <<_ACEOF
55730 /* confdefs.h.  */
55731 _ACEOF
55732 cat confdefs.h >>conftest.$ac_ext
55733 cat >>conftest.$ac_ext <<_ACEOF
55734 /* end confdefs.h.  */
55735 #include <math.h>
55736                       #ifdef HAVE_IEEEFP_H
55737                       #include <ieeefp.h>
55738                       #endif
55739
55740 int
55741 main ()
55742 {
55743  _fpclass(0);
55744   ;
55745   return 0;
55746 }
55747 _ACEOF
55748 rm -f conftest.$ac_objext
55749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55750   (eval $ac_compile) 2>conftest.er1
55751   ac_status=$?
55752   grep -v '^ *+' conftest.er1 >conftest.err
55753   rm -f conftest.er1
55754   cat conftest.err >&5
55755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55756   (exit $ac_status); } &&
55757          { ac_try='test -z "$ac_cxx_werror_flag"
55758                          || test ! -s conftest.err'
55759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55760   (eval $ac_try) 2>&5
55761   ac_status=$?
55762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55763   (exit $ac_status); }; } &&
55764          { ac_try='test -s conftest.$ac_objext'
55765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55766   (eval $ac_try) 2>&5
55767   ac_status=$?
55768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55769   (exit $ac_status); }; }; then
55770   glibcxx_cv_func__fpclass_use=yes
55771 else
55772   echo "$as_me: failed program was:" >&5
55773 sed 's/^/| /' conftest.$ac_ext >&5
55774
55775 glibcxx_cv_func__fpclass_use=no
55776 fi
55777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55778       ac_ext=c
55779 ac_cpp='$CPP $CPPFLAGS'
55780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55783
55784
55785 fi
55786
55787   fi
55788   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
55789 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
55790
55791     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55792
55793 for ac_func in _fpclass
55794 do
55795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55796 echo "$as_me:$LINENO: checking for $ac_func" >&5
55797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55798 if eval "test \"\${$as_ac_var+set}\" = set"; then
55799   echo $ECHO_N "(cached) $ECHO_C" >&6
55800 else
55801   if test x$gcc_no_link = xyes; then
55802   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55804    { (exit 1); exit 1; }; }
55805 fi
55806 cat >conftest.$ac_ext <<_ACEOF
55807 /* confdefs.h.  */
55808 _ACEOF
55809 cat confdefs.h >>conftest.$ac_ext
55810 cat >>conftest.$ac_ext <<_ACEOF
55811 /* end confdefs.h.  */
55812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55813    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55814 #define $ac_func innocuous_$ac_func
55815
55816 /* System header to define __stub macros and hopefully few prototypes,
55817     which can conflict with char $ac_func (); below.
55818     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55819     <limits.h> exists even on freestanding compilers.  */
55820
55821 #ifdef __STDC__
55822 # include <limits.h>
55823 #else
55824 # include <assert.h>
55825 #endif
55826
55827 #undef $ac_func
55828
55829 /* Override any gcc2 internal prototype to avoid an error.  */
55830 #ifdef __cplusplus
55831 extern "C"
55832 {
55833 #endif
55834 /* We use char because int might match the return type of a gcc2
55835    builtin and then its argument prototype would still apply.  */
55836 char $ac_func ();
55837 /* The GNU C library defines this for functions which it implements
55838     to always fail with ENOSYS.  Some functions are actually named
55839     something starting with __ and the normal name is an alias.  */
55840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55841 choke me
55842 #else
55843 char (*f) () = $ac_func;
55844 #endif
55845 #ifdef __cplusplus
55846 }
55847 #endif
55848
55849 int
55850 main ()
55851 {
55852 return f != $ac_func;
55853   ;
55854   return 0;
55855 }
55856 _ACEOF
55857 rm -f conftest.$ac_objext conftest$ac_exeext
55858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55859   (eval $ac_link) 2>conftest.er1
55860   ac_status=$?
55861   grep -v '^ *+' conftest.er1 >conftest.err
55862   rm -f conftest.er1
55863   cat conftest.err >&5
55864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55865   (exit $ac_status); } &&
55866          { ac_try='test -z "$ac_c_werror_flag"
55867                          || test ! -s conftest.err'
55868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55869   (eval $ac_try) 2>&5
55870   ac_status=$?
55871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55872   (exit $ac_status); }; } &&
55873          { ac_try='test -s conftest$ac_exeext'
55874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55875   (eval $ac_try) 2>&5
55876   ac_status=$?
55877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55878   (exit $ac_status); }; }; then
55879   eval "$as_ac_var=yes"
55880 else
55881   echo "$as_me: failed program was:" >&5
55882 sed 's/^/| /' conftest.$ac_ext >&5
55883
55884 eval "$as_ac_var=no"
55885 fi
55886 rm -f conftest.err conftest.$ac_objext \
55887       conftest$ac_exeext conftest.$ac_ext
55888 fi
55889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55891 if test `eval echo '${'$as_ac_var'}'` = yes; then
55892   cat >>confdefs.h <<_ACEOF
55893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55894 _ACEOF
55895
55896 fi
55897 done
55898
55899     fi
55900   fi
55901
55902
55903
55904   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
55905 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
55906   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55907     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
55908   echo $ECHO_N "(cached) $ECHO_C" >&6
55909 else
55910
55911
55912
55913       ac_ext=cc
55914 ac_cpp='$CXXCPP $CPPFLAGS'
55915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55918
55919       cat >conftest.$ac_ext <<_ACEOF
55920 /* confdefs.h.  */
55921 _ACEOF
55922 cat confdefs.h >>conftest.$ac_ext
55923 cat >>conftest.$ac_ext <<_ACEOF
55924 /* end confdefs.h.  */
55925 #include <math.h>
55926                       #ifdef HAVE_IEEEFP_H
55927                       #include <ieeefp.h>
55928                       #endif
55929
55930 int
55931 main ()
55932 {
55933  qfpclass(0);
55934   ;
55935   return 0;
55936 }
55937 _ACEOF
55938 rm -f conftest.$ac_objext
55939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55940   (eval $ac_compile) 2>conftest.er1
55941   ac_status=$?
55942   grep -v '^ *+' conftest.er1 >conftest.err
55943   rm -f conftest.er1
55944   cat conftest.err >&5
55945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55946   (exit $ac_status); } &&
55947          { ac_try='test -z "$ac_cxx_werror_flag"
55948                          || test ! -s conftest.err'
55949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55950   (eval $ac_try) 2>&5
55951   ac_status=$?
55952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55953   (exit $ac_status); }; } &&
55954          { ac_try='test -s conftest.$ac_objext'
55955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55956   (eval $ac_try) 2>&5
55957   ac_status=$?
55958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55959   (exit $ac_status); }; }; then
55960   glibcxx_cv_func_qfpclass_use=yes
55961 else
55962   echo "$as_me: failed program was:" >&5
55963 sed 's/^/| /' conftest.$ac_ext >&5
55964
55965 glibcxx_cv_func_qfpclass_use=no
55966 fi
55967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55968       ac_ext=c
55969 ac_cpp='$CPP $CPPFLAGS'
55970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55973
55974
55975 fi
55976
55977   fi
55978   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
55979 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
55980
55981   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55982
55983 for ac_func in qfpclass
55984 do
55985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55986 echo "$as_me:$LINENO: checking for $ac_func" >&5
55987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55988 if eval "test \"\${$as_ac_var+set}\" = set"; then
55989   echo $ECHO_N "(cached) $ECHO_C" >&6
55990 else
55991   if test x$gcc_no_link = xyes; then
55992   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55994    { (exit 1); exit 1; }; }
55995 fi
55996 cat >conftest.$ac_ext <<_ACEOF
55997 /* confdefs.h.  */
55998 _ACEOF
55999 cat confdefs.h >>conftest.$ac_ext
56000 cat >>conftest.$ac_ext <<_ACEOF
56001 /* end confdefs.h.  */
56002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56003    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56004 #define $ac_func innocuous_$ac_func
56005
56006 /* System header to define __stub macros and hopefully few prototypes,
56007     which can conflict with char $ac_func (); below.
56008     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56009     <limits.h> exists even on freestanding compilers.  */
56010
56011 #ifdef __STDC__
56012 # include <limits.h>
56013 #else
56014 # include <assert.h>
56015 #endif
56016
56017 #undef $ac_func
56018
56019 /* Override any gcc2 internal prototype to avoid an error.  */
56020 #ifdef __cplusplus
56021 extern "C"
56022 {
56023 #endif
56024 /* We use char because int might match the return type of a gcc2
56025    builtin and then its argument prototype would still apply.  */
56026 char $ac_func ();
56027 /* The GNU C library defines this for functions which it implements
56028     to always fail with ENOSYS.  Some functions are actually named
56029     something starting with __ and the normal name is an alias.  */
56030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56031 choke me
56032 #else
56033 char (*f) () = $ac_func;
56034 #endif
56035 #ifdef __cplusplus
56036 }
56037 #endif
56038
56039 int
56040 main ()
56041 {
56042 return f != $ac_func;
56043   ;
56044   return 0;
56045 }
56046 _ACEOF
56047 rm -f conftest.$ac_objext conftest$ac_exeext
56048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56049   (eval $ac_link) 2>conftest.er1
56050   ac_status=$?
56051   grep -v '^ *+' conftest.er1 >conftest.err
56052   rm -f conftest.er1
56053   cat conftest.err >&5
56054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56055   (exit $ac_status); } &&
56056          { ac_try='test -z "$ac_c_werror_flag"
56057                          || test ! -s conftest.err'
56058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56059   (eval $ac_try) 2>&5
56060   ac_status=$?
56061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56062   (exit $ac_status); }; } &&
56063          { ac_try='test -s conftest$ac_exeext'
56064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56065   (eval $ac_try) 2>&5
56066   ac_status=$?
56067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56068   (exit $ac_status); }; }; then
56069   eval "$as_ac_var=yes"
56070 else
56071   echo "$as_me: failed program was:" >&5
56072 sed 's/^/| /' conftest.$ac_ext >&5
56073
56074 eval "$as_ac_var=no"
56075 fi
56076 rm -f conftest.err conftest.$ac_objext \
56077       conftest$ac_exeext conftest.$ac_ext
56078 fi
56079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56081 if test `eval echo '${'$as_ac_var'}'` = yes; then
56082   cat >>confdefs.h <<_ACEOF
56083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56084 _ACEOF
56085
56086 fi
56087 done
56088
56089   else
56090
56091   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
56092 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
56093   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
56094     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
56095   echo $ECHO_N "(cached) $ECHO_C" >&6
56096 else
56097
56098
56099
56100       ac_ext=cc
56101 ac_cpp='$CXXCPP $CPPFLAGS'
56102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56105
56106       cat >conftest.$ac_ext <<_ACEOF
56107 /* confdefs.h.  */
56108 _ACEOF
56109 cat confdefs.h >>conftest.$ac_ext
56110 cat >>conftest.$ac_ext <<_ACEOF
56111 /* end confdefs.h.  */
56112 #include <math.h>
56113                       #ifdef HAVE_IEEEFP_H
56114                       #include <ieeefp.h>
56115                       #endif
56116
56117 int
56118 main ()
56119 {
56120  _qfpclass(0);
56121   ;
56122   return 0;
56123 }
56124 _ACEOF
56125 rm -f conftest.$ac_objext
56126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56127   (eval $ac_compile) 2>conftest.er1
56128   ac_status=$?
56129   grep -v '^ *+' conftest.er1 >conftest.err
56130   rm -f conftest.er1
56131   cat conftest.err >&5
56132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56133   (exit $ac_status); } &&
56134          { ac_try='test -z "$ac_cxx_werror_flag"
56135                          || test ! -s conftest.err'
56136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56137   (eval $ac_try) 2>&5
56138   ac_status=$?
56139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56140   (exit $ac_status); }; } &&
56141          { ac_try='test -s conftest.$ac_objext'
56142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56143   (eval $ac_try) 2>&5
56144   ac_status=$?
56145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56146   (exit $ac_status); }; }; then
56147   glibcxx_cv_func__qfpclass_use=yes
56148 else
56149   echo "$as_me: failed program was:" >&5
56150 sed 's/^/| /' conftest.$ac_ext >&5
56151
56152 glibcxx_cv_func__qfpclass_use=no
56153 fi
56154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56155       ac_ext=c
56156 ac_cpp='$CPP $CPPFLAGS'
56157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56160
56161
56162 fi
56163
56164   fi
56165   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
56166 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
56167
56168     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
56169
56170 for ac_func in _qfpclass
56171 do
56172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56173 echo "$as_me:$LINENO: checking for $ac_func" >&5
56174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56175 if eval "test \"\${$as_ac_var+set}\" = set"; then
56176   echo $ECHO_N "(cached) $ECHO_C" >&6
56177 else
56178   if test x$gcc_no_link = xyes; then
56179   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56181    { (exit 1); exit 1; }; }
56182 fi
56183 cat >conftest.$ac_ext <<_ACEOF
56184 /* confdefs.h.  */
56185 _ACEOF
56186 cat confdefs.h >>conftest.$ac_ext
56187 cat >>conftest.$ac_ext <<_ACEOF
56188 /* end confdefs.h.  */
56189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56190    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56191 #define $ac_func innocuous_$ac_func
56192
56193 /* System header to define __stub macros and hopefully few prototypes,
56194     which can conflict with char $ac_func (); below.
56195     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56196     <limits.h> exists even on freestanding compilers.  */
56197
56198 #ifdef __STDC__
56199 # include <limits.h>
56200 #else
56201 # include <assert.h>
56202 #endif
56203
56204 #undef $ac_func
56205
56206 /* Override any gcc2 internal prototype to avoid an error.  */
56207 #ifdef __cplusplus
56208 extern "C"
56209 {
56210 #endif
56211 /* We use char because int might match the return type of a gcc2
56212    builtin and then its argument prototype would still apply.  */
56213 char $ac_func ();
56214 /* The GNU C library defines this for functions which it implements
56215     to always fail with ENOSYS.  Some functions are actually named
56216     something starting with __ and the normal name is an alias.  */
56217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56218 choke me
56219 #else
56220 char (*f) () = $ac_func;
56221 #endif
56222 #ifdef __cplusplus
56223 }
56224 #endif
56225
56226 int
56227 main ()
56228 {
56229 return f != $ac_func;
56230   ;
56231   return 0;
56232 }
56233 _ACEOF
56234 rm -f conftest.$ac_objext conftest$ac_exeext
56235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56236   (eval $ac_link) 2>conftest.er1
56237   ac_status=$?
56238   grep -v '^ *+' conftest.er1 >conftest.err
56239   rm -f conftest.er1
56240   cat conftest.err >&5
56241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56242   (exit $ac_status); } &&
56243          { ac_try='test -z "$ac_c_werror_flag"
56244                          || test ! -s conftest.err'
56245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56246   (eval $ac_try) 2>&5
56247   ac_status=$?
56248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56249   (exit $ac_status); }; } &&
56250          { ac_try='test -s conftest$ac_exeext'
56251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56252   (eval $ac_try) 2>&5
56253   ac_status=$?
56254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56255   (exit $ac_status); }; }; then
56256   eval "$as_ac_var=yes"
56257 else
56258   echo "$as_me: failed program was:" >&5
56259 sed 's/^/| /' conftest.$ac_ext >&5
56260
56261 eval "$as_ac_var=no"
56262 fi
56263 rm -f conftest.err conftest.$ac_objext \
56264       conftest$ac_exeext conftest.$ac_ext
56265 fi
56266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56268 if test `eval echo '${'$as_ac_var'}'` = yes; then
56269   cat >>confdefs.h <<_ACEOF
56270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56271 _ACEOF
56272
56273 fi
56274 done
56275
56276     fi
56277   fi
56278
56279
56280
56281   echo "$as_me:$LINENO: checking for hypot declaration" >&5
56282 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
56283   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
56284     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
56285   echo $ECHO_N "(cached) $ECHO_C" >&6
56286 else
56287
56288
56289
56290       ac_ext=cc
56291 ac_cpp='$CXXCPP $CPPFLAGS'
56292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56295
56296       cat >conftest.$ac_ext <<_ACEOF
56297 /* confdefs.h.  */
56298 _ACEOF
56299 cat confdefs.h >>conftest.$ac_ext
56300 cat >>conftest.$ac_ext <<_ACEOF
56301 /* end confdefs.h.  */
56302 #include <math.h>
56303 int
56304 main ()
56305 {
56306  hypot(0, 0);
56307   ;
56308   return 0;
56309 }
56310 _ACEOF
56311 rm -f conftest.$ac_objext
56312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56313   (eval $ac_compile) 2>conftest.er1
56314   ac_status=$?
56315   grep -v '^ *+' conftest.er1 >conftest.err
56316   rm -f conftest.er1
56317   cat conftest.err >&5
56318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56319   (exit $ac_status); } &&
56320          { ac_try='test -z "$ac_cxx_werror_flag"
56321                          || test ! -s conftest.err'
56322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56323   (eval $ac_try) 2>&5
56324   ac_status=$?
56325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56326   (exit $ac_status); }; } &&
56327          { ac_try='test -s conftest.$ac_objext'
56328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56329   (eval $ac_try) 2>&5
56330   ac_status=$?
56331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56332   (exit $ac_status); }; }; then
56333   glibcxx_cv_func_hypot_use=yes
56334 else
56335   echo "$as_me: failed program was:" >&5
56336 sed 's/^/| /' conftest.$ac_ext >&5
56337
56338 glibcxx_cv_func_hypot_use=no
56339 fi
56340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56341       ac_ext=c
56342 ac_cpp='$CPP $CPPFLAGS'
56343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56346
56347
56348 fi
56349
56350   fi
56351   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
56352 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
56353
56354   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
56355
56356 for ac_func in hypot
56357 do
56358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56359 echo "$as_me:$LINENO: checking for $ac_func" >&5
56360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56361 if eval "test \"\${$as_ac_var+set}\" = set"; then
56362   echo $ECHO_N "(cached) $ECHO_C" >&6
56363 else
56364   if test x$gcc_no_link = xyes; then
56365   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56367    { (exit 1); exit 1; }; }
56368 fi
56369 cat >conftest.$ac_ext <<_ACEOF
56370 /* confdefs.h.  */
56371 _ACEOF
56372 cat confdefs.h >>conftest.$ac_ext
56373 cat >>conftest.$ac_ext <<_ACEOF
56374 /* end confdefs.h.  */
56375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56376    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56377 #define $ac_func innocuous_$ac_func
56378
56379 /* System header to define __stub macros and hopefully few prototypes,
56380     which can conflict with char $ac_func (); below.
56381     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56382     <limits.h> exists even on freestanding compilers.  */
56383
56384 #ifdef __STDC__
56385 # include <limits.h>
56386 #else
56387 # include <assert.h>
56388 #endif
56389
56390 #undef $ac_func
56391
56392 /* Override any gcc2 internal prototype to avoid an error.  */
56393 #ifdef __cplusplus
56394 extern "C"
56395 {
56396 #endif
56397 /* We use char because int might match the return type of a gcc2
56398    builtin and then its argument prototype would still apply.  */
56399 char $ac_func ();
56400 /* The GNU C library defines this for functions which it implements
56401     to always fail with ENOSYS.  Some functions are actually named
56402     something starting with __ and the normal name is an alias.  */
56403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56404 choke me
56405 #else
56406 char (*f) () = $ac_func;
56407 #endif
56408 #ifdef __cplusplus
56409 }
56410 #endif
56411
56412 int
56413 main ()
56414 {
56415 return f != $ac_func;
56416   ;
56417   return 0;
56418 }
56419 _ACEOF
56420 rm -f conftest.$ac_objext conftest$ac_exeext
56421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56422   (eval $ac_link) 2>conftest.er1
56423   ac_status=$?
56424   grep -v '^ *+' conftest.er1 >conftest.err
56425   rm -f conftest.er1
56426   cat conftest.err >&5
56427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56428   (exit $ac_status); } &&
56429          { ac_try='test -z "$ac_c_werror_flag"
56430                          || test ! -s conftest.err'
56431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56432   (eval $ac_try) 2>&5
56433   ac_status=$?
56434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56435   (exit $ac_status); }; } &&
56436          { ac_try='test -s conftest$ac_exeext'
56437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56438   (eval $ac_try) 2>&5
56439   ac_status=$?
56440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56441   (exit $ac_status); }; }; then
56442   eval "$as_ac_var=yes"
56443 else
56444   echo "$as_me: failed program was:" >&5
56445 sed 's/^/| /' conftest.$ac_ext >&5
56446
56447 eval "$as_ac_var=no"
56448 fi
56449 rm -f conftest.err conftest.$ac_objext \
56450       conftest$ac_exeext conftest.$ac_ext
56451 fi
56452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56454 if test `eval echo '${'$as_ac_var'}'` = yes; then
56455   cat >>confdefs.h <<_ACEOF
56456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56457 _ACEOF
56458
56459 fi
56460 done
56461
56462   else
56463
56464   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
56465 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
56466   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
56467     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
56468   echo $ECHO_N "(cached) $ECHO_C" >&6
56469 else
56470
56471
56472
56473       ac_ext=cc
56474 ac_cpp='$CXXCPP $CPPFLAGS'
56475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56478
56479       cat >conftest.$ac_ext <<_ACEOF
56480 /* confdefs.h.  */
56481 _ACEOF
56482 cat confdefs.h >>conftest.$ac_ext
56483 cat >>conftest.$ac_ext <<_ACEOF
56484 /* end confdefs.h.  */
56485 #include <math.h>
56486 int
56487 main ()
56488 {
56489  _hypot(0, 0);
56490   ;
56491   return 0;
56492 }
56493 _ACEOF
56494 rm -f conftest.$ac_objext
56495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56496   (eval $ac_compile) 2>conftest.er1
56497   ac_status=$?
56498   grep -v '^ *+' conftest.er1 >conftest.err
56499   rm -f conftest.er1
56500   cat conftest.err >&5
56501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56502   (exit $ac_status); } &&
56503          { ac_try='test -z "$ac_cxx_werror_flag"
56504                          || test ! -s conftest.err'
56505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56506   (eval $ac_try) 2>&5
56507   ac_status=$?
56508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56509   (exit $ac_status); }; } &&
56510          { ac_try='test -s conftest.$ac_objext'
56511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56512   (eval $ac_try) 2>&5
56513   ac_status=$?
56514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56515   (exit $ac_status); }; }; then
56516   glibcxx_cv_func__hypot_use=yes
56517 else
56518   echo "$as_me: failed program was:" >&5
56519 sed 's/^/| /' conftest.$ac_ext >&5
56520
56521 glibcxx_cv_func__hypot_use=no
56522 fi
56523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56524       ac_ext=c
56525 ac_cpp='$CPP $CPPFLAGS'
56526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56529
56530
56531 fi
56532
56533   fi
56534   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
56535 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
56536
56537     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
56538
56539 for ac_func in _hypot
56540 do
56541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56542 echo "$as_me:$LINENO: checking for $ac_func" >&5
56543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56544 if eval "test \"\${$as_ac_var+set}\" = set"; then
56545   echo $ECHO_N "(cached) $ECHO_C" >&6
56546 else
56547   if test x$gcc_no_link = xyes; then
56548   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56550    { (exit 1); exit 1; }; }
56551 fi
56552 cat >conftest.$ac_ext <<_ACEOF
56553 /* confdefs.h.  */
56554 _ACEOF
56555 cat confdefs.h >>conftest.$ac_ext
56556 cat >>conftest.$ac_ext <<_ACEOF
56557 /* end confdefs.h.  */
56558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56559    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56560 #define $ac_func innocuous_$ac_func
56561
56562 /* System header to define __stub macros and hopefully few prototypes,
56563     which can conflict with char $ac_func (); below.
56564     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56565     <limits.h> exists even on freestanding compilers.  */
56566
56567 #ifdef __STDC__
56568 # include <limits.h>
56569 #else
56570 # include <assert.h>
56571 #endif
56572
56573 #undef $ac_func
56574
56575 /* Override any gcc2 internal prototype to avoid an error.  */
56576 #ifdef __cplusplus
56577 extern "C"
56578 {
56579 #endif
56580 /* We use char because int might match the return type of a gcc2
56581    builtin and then its argument prototype would still apply.  */
56582 char $ac_func ();
56583 /* The GNU C library defines this for functions which it implements
56584     to always fail with ENOSYS.  Some functions are actually named
56585     something starting with __ and the normal name is an alias.  */
56586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56587 choke me
56588 #else
56589 char (*f) () = $ac_func;
56590 #endif
56591 #ifdef __cplusplus
56592 }
56593 #endif
56594
56595 int
56596 main ()
56597 {
56598 return f != $ac_func;
56599   ;
56600   return 0;
56601 }
56602 _ACEOF
56603 rm -f conftest.$ac_objext conftest$ac_exeext
56604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56605   (eval $ac_link) 2>conftest.er1
56606   ac_status=$?
56607   grep -v '^ *+' conftest.er1 >conftest.err
56608   rm -f conftest.er1
56609   cat conftest.err >&5
56610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56611   (exit $ac_status); } &&
56612          { ac_try='test -z "$ac_c_werror_flag"
56613                          || test ! -s conftest.err'
56614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56615   (eval $ac_try) 2>&5
56616   ac_status=$?
56617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56618   (exit $ac_status); }; } &&
56619          { ac_try='test -s conftest$ac_exeext'
56620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56621   (eval $ac_try) 2>&5
56622   ac_status=$?
56623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56624   (exit $ac_status); }; }; then
56625   eval "$as_ac_var=yes"
56626 else
56627   echo "$as_me: failed program was:" >&5
56628 sed 's/^/| /' conftest.$ac_ext >&5
56629
56630 eval "$as_ac_var=no"
56631 fi
56632 rm -f conftest.err conftest.$ac_objext \
56633       conftest$ac_exeext conftest.$ac_ext
56634 fi
56635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56637 if test `eval echo '${'$as_ac_var'}'` = yes; then
56638   cat >>confdefs.h <<_ACEOF
56639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56640 _ACEOF
56641
56642 fi
56643 done
56644
56645     fi
56646   fi
56647
56648
56649
56650   echo "$as_me:$LINENO: checking for float trig functions" >&5
56651 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
56652   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
56653   echo $ECHO_N "(cached) $ECHO_C" >&6
56654 else
56655
56656
56657
56658     ac_ext=cc
56659 ac_cpp='$CXXCPP $CPPFLAGS'
56660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56663
56664     cat >conftest.$ac_ext <<_ACEOF
56665 /* confdefs.h.  */
56666 _ACEOF
56667 cat confdefs.h >>conftest.$ac_ext
56668 cat >>conftest.$ac_ext <<_ACEOF
56669 /* end confdefs.h.  */
56670 #include <math.h>
56671 int
56672 main ()
56673 {
56674  `for x in acosf asinf atanf \
56675                                           cosf sinf tanf \
56676                                           coshf sinhf tanhf; do echo "$x (0);"; done`
56677   ;
56678   return 0;
56679 }
56680 _ACEOF
56681 rm -f conftest.$ac_objext
56682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56683   (eval $ac_compile) 2>conftest.er1
56684   ac_status=$?
56685   grep -v '^ *+' conftest.er1 >conftest.err
56686   rm -f conftest.er1
56687   cat conftest.err >&5
56688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56689   (exit $ac_status); } &&
56690          { ac_try='test -z "$ac_cxx_werror_flag"
56691                          || test ! -s conftest.err'
56692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56693   (eval $ac_try) 2>&5
56694   ac_status=$?
56695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56696   (exit $ac_status); }; } &&
56697          { ac_try='test -s conftest.$ac_objext'
56698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56699   (eval $ac_try) 2>&5
56700   ac_status=$?
56701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56702   (exit $ac_status); }; }; then
56703   glibcxx_cv_func_float_trig_use=yes
56704 else
56705   echo "$as_me: failed program was:" >&5
56706 sed 's/^/| /' conftest.$ac_ext >&5
56707
56708 glibcxx_cv_func_float_trig_use=no
56709 fi
56710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56711     ac_ext=c
56712 ac_cpp='$CPP $CPPFLAGS'
56713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56716
56717 fi
56718
56719   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
56720 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
56721   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56722
56723
56724
56725
56726
56727
56728
56729
56730
56731 for ac_func in acosf asinf atanf \
56732                                           cosf sinf tanf \
56733                                           coshf sinhf tanhf
56734 do
56735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56736 echo "$as_me:$LINENO: checking for $ac_func" >&5
56737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56738 if eval "test \"\${$as_ac_var+set}\" = set"; then
56739   echo $ECHO_N "(cached) $ECHO_C" >&6
56740 else
56741   if test x$gcc_no_link = xyes; then
56742   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56744    { (exit 1); exit 1; }; }
56745 fi
56746 cat >conftest.$ac_ext <<_ACEOF
56747 /* confdefs.h.  */
56748 _ACEOF
56749 cat confdefs.h >>conftest.$ac_ext
56750 cat >>conftest.$ac_ext <<_ACEOF
56751 /* end confdefs.h.  */
56752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56753    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56754 #define $ac_func innocuous_$ac_func
56755
56756 /* System header to define __stub macros and hopefully few prototypes,
56757     which can conflict with char $ac_func (); below.
56758     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56759     <limits.h> exists even on freestanding compilers.  */
56760
56761 #ifdef __STDC__
56762 # include <limits.h>
56763 #else
56764 # include <assert.h>
56765 #endif
56766
56767 #undef $ac_func
56768
56769 /* Override any gcc2 internal prototype to avoid an error.  */
56770 #ifdef __cplusplus
56771 extern "C"
56772 {
56773 #endif
56774 /* We use char because int might match the return type of a gcc2
56775    builtin and then its argument prototype would still apply.  */
56776 char $ac_func ();
56777 /* The GNU C library defines this for functions which it implements
56778     to always fail with ENOSYS.  Some functions are actually named
56779     something starting with __ and the normal name is an alias.  */
56780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56781 choke me
56782 #else
56783 char (*f) () = $ac_func;
56784 #endif
56785 #ifdef __cplusplus
56786 }
56787 #endif
56788
56789 int
56790 main ()
56791 {
56792 return f != $ac_func;
56793   ;
56794   return 0;
56795 }
56796 _ACEOF
56797 rm -f conftest.$ac_objext conftest$ac_exeext
56798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56799   (eval $ac_link) 2>conftest.er1
56800   ac_status=$?
56801   grep -v '^ *+' conftest.er1 >conftest.err
56802   rm -f conftest.er1
56803   cat conftest.err >&5
56804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56805   (exit $ac_status); } &&
56806          { ac_try='test -z "$ac_c_werror_flag"
56807                          || test ! -s conftest.err'
56808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56809   (eval $ac_try) 2>&5
56810   ac_status=$?
56811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56812   (exit $ac_status); }; } &&
56813          { ac_try='test -s conftest$ac_exeext'
56814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56815   (eval $ac_try) 2>&5
56816   ac_status=$?
56817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56818   (exit $ac_status); }; }; then
56819   eval "$as_ac_var=yes"
56820 else
56821   echo "$as_me: failed program was:" >&5
56822 sed 's/^/| /' conftest.$ac_ext >&5
56823
56824 eval "$as_ac_var=no"
56825 fi
56826 rm -f conftest.err conftest.$ac_objext \
56827       conftest$ac_exeext conftest.$ac_ext
56828 fi
56829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56831 if test `eval echo '${'$as_ac_var'}'` = yes; then
56832   cat >>confdefs.h <<_ACEOF
56833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56834 _ACEOF
56835
56836 fi
56837 done
56838
56839   fi
56840
56841
56842   echo "$as_me:$LINENO: checking for float round functions" >&5
56843 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
56844   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
56845   echo $ECHO_N "(cached) $ECHO_C" >&6
56846 else
56847
56848
56849
56850     ac_ext=cc
56851 ac_cpp='$CXXCPP $CPPFLAGS'
56852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56855
56856     cat >conftest.$ac_ext <<_ACEOF
56857 /* confdefs.h.  */
56858 _ACEOF
56859 cat confdefs.h >>conftest.$ac_ext
56860 cat >>conftest.$ac_ext <<_ACEOF
56861 /* end confdefs.h.  */
56862 #include <math.h>
56863 int
56864 main ()
56865 {
56866  `for x in ceilf floorf; do echo "$x (0);"; done`
56867   ;
56868   return 0;
56869 }
56870 _ACEOF
56871 rm -f conftest.$ac_objext
56872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56873   (eval $ac_compile) 2>conftest.er1
56874   ac_status=$?
56875   grep -v '^ *+' conftest.er1 >conftest.err
56876   rm -f conftest.er1
56877   cat conftest.err >&5
56878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56879   (exit $ac_status); } &&
56880          { ac_try='test -z "$ac_cxx_werror_flag"
56881                          || test ! -s conftest.err'
56882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56883   (eval $ac_try) 2>&5
56884   ac_status=$?
56885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56886   (exit $ac_status); }; } &&
56887          { ac_try='test -s conftest.$ac_objext'
56888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56889   (eval $ac_try) 2>&5
56890   ac_status=$?
56891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56892   (exit $ac_status); }; }; then
56893   glibcxx_cv_func_float_round_use=yes
56894 else
56895   echo "$as_me: failed program was:" >&5
56896 sed 's/^/| /' conftest.$ac_ext >&5
56897
56898 glibcxx_cv_func_float_round_use=no
56899 fi
56900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56901     ac_ext=c
56902 ac_cpp='$CPP $CPPFLAGS'
56903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56906
56907 fi
56908
56909   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
56910 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
56911   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
56912
56913
56914 for ac_func in ceilf floorf
56915 do
56916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56917 echo "$as_me:$LINENO: checking for $ac_func" >&5
56918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56919 if eval "test \"\${$as_ac_var+set}\" = set"; then
56920   echo $ECHO_N "(cached) $ECHO_C" >&6
56921 else
56922   if test x$gcc_no_link = xyes; then
56923   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56925    { (exit 1); exit 1; }; }
56926 fi
56927 cat >conftest.$ac_ext <<_ACEOF
56928 /* confdefs.h.  */
56929 _ACEOF
56930 cat confdefs.h >>conftest.$ac_ext
56931 cat >>conftest.$ac_ext <<_ACEOF
56932 /* end confdefs.h.  */
56933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56934    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56935 #define $ac_func innocuous_$ac_func
56936
56937 /* System header to define __stub macros and hopefully few prototypes,
56938     which can conflict with char $ac_func (); below.
56939     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56940     <limits.h> exists even on freestanding compilers.  */
56941
56942 #ifdef __STDC__
56943 # include <limits.h>
56944 #else
56945 # include <assert.h>
56946 #endif
56947
56948 #undef $ac_func
56949
56950 /* Override any gcc2 internal prototype to avoid an error.  */
56951 #ifdef __cplusplus
56952 extern "C"
56953 {
56954 #endif
56955 /* We use char because int might match the return type of a gcc2
56956    builtin and then its argument prototype would still apply.  */
56957 char $ac_func ();
56958 /* The GNU C library defines this for functions which it implements
56959     to always fail with ENOSYS.  Some functions are actually named
56960     something starting with __ and the normal name is an alias.  */
56961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56962 choke me
56963 #else
56964 char (*f) () = $ac_func;
56965 #endif
56966 #ifdef __cplusplus
56967 }
56968 #endif
56969
56970 int
56971 main ()
56972 {
56973 return f != $ac_func;
56974   ;
56975   return 0;
56976 }
56977 _ACEOF
56978 rm -f conftest.$ac_objext conftest$ac_exeext
56979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56980   (eval $ac_link) 2>conftest.er1
56981   ac_status=$?
56982   grep -v '^ *+' conftest.er1 >conftest.err
56983   rm -f conftest.er1
56984   cat conftest.err >&5
56985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56986   (exit $ac_status); } &&
56987          { ac_try='test -z "$ac_c_werror_flag"
56988                          || test ! -s conftest.err'
56989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56990   (eval $ac_try) 2>&5
56991   ac_status=$?
56992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56993   (exit $ac_status); }; } &&
56994          { ac_try='test -s conftest$ac_exeext'
56995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56996   (eval $ac_try) 2>&5
56997   ac_status=$?
56998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56999   (exit $ac_status); }; }; then
57000   eval "$as_ac_var=yes"
57001 else
57002   echo "$as_me: failed program was:" >&5
57003 sed 's/^/| /' conftest.$ac_ext >&5
57004
57005 eval "$as_ac_var=no"
57006 fi
57007 rm -f conftest.err conftest.$ac_objext \
57008       conftest$ac_exeext conftest.$ac_ext
57009 fi
57010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57012 if test `eval echo '${'$as_ac_var'}'` = yes; then
57013   cat >>confdefs.h <<_ACEOF
57014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57015 _ACEOF
57016
57017 fi
57018 done
57019
57020   fi
57021
57022
57023
57024   echo "$as_me:$LINENO: checking for expf declaration" >&5
57025 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
57026   if test x${glibcxx_cv_func_expf_use+set} != xset; then
57027     if test "${glibcxx_cv_func_expf_use+set}" = set; then
57028   echo $ECHO_N "(cached) $ECHO_C" >&6
57029 else
57030
57031
57032
57033       ac_ext=cc
57034 ac_cpp='$CXXCPP $CPPFLAGS'
57035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57038
57039       cat >conftest.$ac_ext <<_ACEOF
57040 /* confdefs.h.  */
57041 _ACEOF
57042 cat confdefs.h >>conftest.$ac_ext
57043 cat >>conftest.$ac_ext <<_ACEOF
57044 /* end confdefs.h.  */
57045 #include <math.h>
57046                       #ifdef HAVE_IEEEFP_H
57047                       #include <ieeefp.h>
57048                       #endif
57049
57050 int
57051 main ()
57052 {
57053  expf(0);
57054   ;
57055   return 0;
57056 }
57057 _ACEOF
57058 rm -f conftest.$ac_objext
57059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57060   (eval $ac_compile) 2>conftest.er1
57061   ac_status=$?
57062   grep -v '^ *+' conftest.er1 >conftest.err
57063   rm -f conftest.er1
57064   cat conftest.err >&5
57065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57066   (exit $ac_status); } &&
57067          { ac_try='test -z "$ac_cxx_werror_flag"
57068                          || test ! -s conftest.err'
57069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57070   (eval $ac_try) 2>&5
57071   ac_status=$?
57072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57073   (exit $ac_status); }; } &&
57074          { ac_try='test -s conftest.$ac_objext'
57075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57076   (eval $ac_try) 2>&5
57077   ac_status=$?
57078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57079   (exit $ac_status); }; }; then
57080   glibcxx_cv_func_expf_use=yes
57081 else
57082   echo "$as_me: failed program was:" >&5
57083 sed 's/^/| /' conftest.$ac_ext >&5
57084
57085 glibcxx_cv_func_expf_use=no
57086 fi
57087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57088       ac_ext=c
57089 ac_cpp='$CPP $CPPFLAGS'
57090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57093
57094
57095 fi
57096
57097   fi
57098   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
57099 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
57100
57101   if test x$glibcxx_cv_func_expf_use = x"yes"; then
57102
57103 for ac_func in expf
57104 do
57105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57106 echo "$as_me:$LINENO: checking for $ac_func" >&5
57107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57108 if eval "test \"\${$as_ac_var+set}\" = set"; then
57109   echo $ECHO_N "(cached) $ECHO_C" >&6
57110 else
57111   if test x$gcc_no_link = xyes; then
57112   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57114    { (exit 1); exit 1; }; }
57115 fi
57116 cat >conftest.$ac_ext <<_ACEOF
57117 /* confdefs.h.  */
57118 _ACEOF
57119 cat confdefs.h >>conftest.$ac_ext
57120 cat >>conftest.$ac_ext <<_ACEOF
57121 /* end confdefs.h.  */
57122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57123    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57124 #define $ac_func innocuous_$ac_func
57125
57126 /* System header to define __stub macros and hopefully few prototypes,
57127     which can conflict with char $ac_func (); below.
57128     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57129     <limits.h> exists even on freestanding compilers.  */
57130
57131 #ifdef __STDC__
57132 # include <limits.h>
57133 #else
57134 # include <assert.h>
57135 #endif
57136
57137 #undef $ac_func
57138
57139 /* Override any gcc2 internal prototype to avoid an error.  */
57140 #ifdef __cplusplus
57141 extern "C"
57142 {
57143 #endif
57144 /* We use char because int might match the return type of a gcc2
57145    builtin and then its argument prototype would still apply.  */
57146 char $ac_func ();
57147 /* The GNU C library defines this for functions which it implements
57148     to always fail with ENOSYS.  Some functions are actually named
57149     something starting with __ and the normal name is an alias.  */
57150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57151 choke me
57152 #else
57153 char (*f) () = $ac_func;
57154 #endif
57155 #ifdef __cplusplus
57156 }
57157 #endif
57158
57159 int
57160 main ()
57161 {
57162 return f != $ac_func;
57163   ;
57164   return 0;
57165 }
57166 _ACEOF
57167 rm -f conftest.$ac_objext conftest$ac_exeext
57168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57169   (eval $ac_link) 2>conftest.er1
57170   ac_status=$?
57171   grep -v '^ *+' conftest.er1 >conftest.err
57172   rm -f conftest.er1
57173   cat conftest.err >&5
57174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57175   (exit $ac_status); } &&
57176          { ac_try='test -z "$ac_c_werror_flag"
57177                          || test ! -s conftest.err'
57178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57179   (eval $ac_try) 2>&5
57180   ac_status=$?
57181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57182   (exit $ac_status); }; } &&
57183          { ac_try='test -s conftest$ac_exeext'
57184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57185   (eval $ac_try) 2>&5
57186   ac_status=$?
57187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57188   (exit $ac_status); }; }; then
57189   eval "$as_ac_var=yes"
57190 else
57191   echo "$as_me: failed program was:" >&5
57192 sed 's/^/| /' conftest.$ac_ext >&5
57193
57194 eval "$as_ac_var=no"
57195 fi
57196 rm -f conftest.err conftest.$ac_objext \
57197       conftest$ac_exeext conftest.$ac_ext
57198 fi
57199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57201 if test `eval echo '${'$as_ac_var'}'` = yes; then
57202   cat >>confdefs.h <<_ACEOF
57203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57204 _ACEOF
57205
57206 fi
57207 done
57208
57209   else
57210
57211   echo "$as_me:$LINENO: checking for _expf declaration" >&5
57212 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
57213   if test x${glibcxx_cv_func__expf_use+set} != xset; then
57214     if test "${glibcxx_cv_func__expf_use+set}" = set; then
57215   echo $ECHO_N "(cached) $ECHO_C" >&6
57216 else
57217
57218
57219
57220       ac_ext=cc
57221 ac_cpp='$CXXCPP $CPPFLAGS'
57222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57225
57226       cat >conftest.$ac_ext <<_ACEOF
57227 /* confdefs.h.  */
57228 _ACEOF
57229 cat confdefs.h >>conftest.$ac_ext
57230 cat >>conftest.$ac_ext <<_ACEOF
57231 /* end confdefs.h.  */
57232 #include <math.h>
57233                       #ifdef HAVE_IEEEFP_H
57234                       #include <ieeefp.h>
57235                       #endif
57236
57237 int
57238 main ()
57239 {
57240  _expf(0);
57241   ;
57242   return 0;
57243 }
57244 _ACEOF
57245 rm -f conftest.$ac_objext
57246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57247   (eval $ac_compile) 2>conftest.er1
57248   ac_status=$?
57249   grep -v '^ *+' conftest.er1 >conftest.err
57250   rm -f conftest.er1
57251   cat conftest.err >&5
57252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57253   (exit $ac_status); } &&
57254          { ac_try='test -z "$ac_cxx_werror_flag"
57255                          || test ! -s conftest.err'
57256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57257   (eval $ac_try) 2>&5
57258   ac_status=$?
57259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57260   (exit $ac_status); }; } &&
57261          { ac_try='test -s conftest.$ac_objext'
57262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57263   (eval $ac_try) 2>&5
57264   ac_status=$?
57265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57266   (exit $ac_status); }; }; then
57267   glibcxx_cv_func__expf_use=yes
57268 else
57269   echo "$as_me: failed program was:" >&5
57270 sed 's/^/| /' conftest.$ac_ext >&5
57271
57272 glibcxx_cv_func__expf_use=no
57273 fi
57274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57275       ac_ext=c
57276 ac_cpp='$CPP $CPPFLAGS'
57277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57280
57281
57282 fi
57283
57284   fi
57285   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
57286 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
57287
57288     if test x$glibcxx_cv_func__expf_use = x"yes"; then
57289
57290 for ac_func in _expf
57291 do
57292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57293 echo "$as_me:$LINENO: checking for $ac_func" >&5
57294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57295 if eval "test \"\${$as_ac_var+set}\" = set"; then
57296   echo $ECHO_N "(cached) $ECHO_C" >&6
57297 else
57298   if test x$gcc_no_link = xyes; then
57299   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57301    { (exit 1); exit 1; }; }
57302 fi
57303 cat >conftest.$ac_ext <<_ACEOF
57304 /* confdefs.h.  */
57305 _ACEOF
57306 cat confdefs.h >>conftest.$ac_ext
57307 cat >>conftest.$ac_ext <<_ACEOF
57308 /* end confdefs.h.  */
57309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57310    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57311 #define $ac_func innocuous_$ac_func
57312
57313 /* System header to define __stub macros and hopefully few prototypes,
57314     which can conflict with char $ac_func (); below.
57315     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57316     <limits.h> exists even on freestanding compilers.  */
57317
57318 #ifdef __STDC__
57319 # include <limits.h>
57320 #else
57321 # include <assert.h>
57322 #endif
57323
57324 #undef $ac_func
57325
57326 /* Override any gcc2 internal prototype to avoid an error.  */
57327 #ifdef __cplusplus
57328 extern "C"
57329 {
57330 #endif
57331 /* We use char because int might match the return type of a gcc2
57332    builtin and then its argument prototype would still apply.  */
57333 char $ac_func ();
57334 /* The GNU C library defines this for functions which it implements
57335     to always fail with ENOSYS.  Some functions are actually named
57336     something starting with __ and the normal name is an alias.  */
57337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57338 choke me
57339 #else
57340 char (*f) () = $ac_func;
57341 #endif
57342 #ifdef __cplusplus
57343 }
57344 #endif
57345
57346 int
57347 main ()
57348 {
57349 return f != $ac_func;
57350   ;
57351   return 0;
57352 }
57353 _ACEOF
57354 rm -f conftest.$ac_objext conftest$ac_exeext
57355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57356   (eval $ac_link) 2>conftest.er1
57357   ac_status=$?
57358   grep -v '^ *+' conftest.er1 >conftest.err
57359   rm -f conftest.er1
57360   cat conftest.err >&5
57361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57362   (exit $ac_status); } &&
57363          { ac_try='test -z "$ac_c_werror_flag"
57364                          || test ! -s conftest.err'
57365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57366   (eval $ac_try) 2>&5
57367   ac_status=$?
57368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57369   (exit $ac_status); }; } &&
57370          { ac_try='test -s conftest$ac_exeext'
57371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57372   (eval $ac_try) 2>&5
57373   ac_status=$?
57374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57375   (exit $ac_status); }; }; then
57376   eval "$as_ac_var=yes"
57377 else
57378   echo "$as_me: failed program was:" >&5
57379 sed 's/^/| /' conftest.$ac_ext >&5
57380
57381 eval "$as_ac_var=no"
57382 fi
57383 rm -f conftest.err conftest.$ac_objext \
57384       conftest$ac_exeext conftest.$ac_ext
57385 fi
57386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57388 if test `eval echo '${'$as_ac_var'}'` = yes; then
57389   cat >>confdefs.h <<_ACEOF
57390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57391 _ACEOF
57392
57393 fi
57394 done
57395
57396     fi
57397   fi
57398
57399
57400
57401   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
57402 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
57403   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
57404     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
57405   echo $ECHO_N "(cached) $ECHO_C" >&6
57406 else
57407
57408
57409
57410       ac_ext=cc
57411 ac_cpp='$CXXCPP $CPPFLAGS'
57412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57415
57416       cat >conftest.$ac_ext <<_ACEOF
57417 /* confdefs.h.  */
57418 _ACEOF
57419 cat confdefs.h >>conftest.$ac_ext
57420 cat >>conftest.$ac_ext <<_ACEOF
57421 /* end confdefs.h.  */
57422 #include <math.h>
57423                       #ifdef HAVE_IEEEFP_H
57424                       #include <ieeefp.h>
57425                       #endif
57426
57427 int
57428 main ()
57429 {
57430  isnanf(0);
57431   ;
57432   return 0;
57433 }
57434 _ACEOF
57435 rm -f conftest.$ac_objext
57436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57437   (eval $ac_compile) 2>conftest.er1
57438   ac_status=$?
57439   grep -v '^ *+' conftest.er1 >conftest.err
57440   rm -f conftest.er1
57441   cat conftest.err >&5
57442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57443   (exit $ac_status); } &&
57444          { ac_try='test -z "$ac_cxx_werror_flag"
57445                          || test ! -s conftest.err'
57446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57447   (eval $ac_try) 2>&5
57448   ac_status=$?
57449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57450   (exit $ac_status); }; } &&
57451          { ac_try='test -s conftest.$ac_objext'
57452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57453   (eval $ac_try) 2>&5
57454   ac_status=$?
57455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57456   (exit $ac_status); }; }; then
57457   glibcxx_cv_func_isnanf_use=yes
57458 else
57459   echo "$as_me: failed program was:" >&5
57460 sed 's/^/| /' conftest.$ac_ext >&5
57461
57462 glibcxx_cv_func_isnanf_use=no
57463 fi
57464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57465       ac_ext=c
57466 ac_cpp='$CPP $CPPFLAGS'
57467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57470
57471
57472 fi
57473
57474   fi
57475   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
57476 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
57477
57478   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
57479
57480 for ac_func in isnanf
57481 do
57482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57483 echo "$as_me:$LINENO: checking for $ac_func" >&5
57484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57485 if eval "test \"\${$as_ac_var+set}\" = set"; then
57486   echo $ECHO_N "(cached) $ECHO_C" >&6
57487 else
57488   if test x$gcc_no_link = xyes; then
57489   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57491    { (exit 1); exit 1; }; }
57492 fi
57493 cat >conftest.$ac_ext <<_ACEOF
57494 /* confdefs.h.  */
57495 _ACEOF
57496 cat confdefs.h >>conftest.$ac_ext
57497 cat >>conftest.$ac_ext <<_ACEOF
57498 /* end confdefs.h.  */
57499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57500    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57501 #define $ac_func innocuous_$ac_func
57502
57503 /* System header to define __stub macros and hopefully few prototypes,
57504     which can conflict with char $ac_func (); below.
57505     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57506     <limits.h> exists even on freestanding compilers.  */
57507
57508 #ifdef __STDC__
57509 # include <limits.h>
57510 #else
57511 # include <assert.h>
57512 #endif
57513
57514 #undef $ac_func
57515
57516 /* Override any gcc2 internal prototype to avoid an error.  */
57517 #ifdef __cplusplus
57518 extern "C"
57519 {
57520 #endif
57521 /* We use char because int might match the return type of a gcc2
57522    builtin and then its argument prototype would still apply.  */
57523 char $ac_func ();
57524 /* The GNU C library defines this for functions which it implements
57525     to always fail with ENOSYS.  Some functions are actually named
57526     something starting with __ and the normal name is an alias.  */
57527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57528 choke me
57529 #else
57530 char (*f) () = $ac_func;
57531 #endif
57532 #ifdef __cplusplus
57533 }
57534 #endif
57535
57536 int
57537 main ()
57538 {
57539 return f != $ac_func;
57540   ;
57541   return 0;
57542 }
57543 _ACEOF
57544 rm -f conftest.$ac_objext conftest$ac_exeext
57545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57546   (eval $ac_link) 2>conftest.er1
57547   ac_status=$?
57548   grep -v '^ *+' conftest.er1 >conftest.err
57549   rm -f conftest.er1
57550   cat conftest.err >&5
57551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57552   (exit $ac_status); } &&
57553          { ac_try='test -z "$ac_c_werror_flag"
57554                          || test ! -s conftest.err'
57555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57556   (eval $ac_try) 2>&5
57557   ac_status=$?
57558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57559   (exit $ac_status); }; } &&
57560          { ac_try='test -s conftest$ac_exeext'
57561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57562   (eval $ac_try) 2>&5
57563   ac_status=$?
57564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57565   (exit $ac_status); }; }; then
57566   eval "$as_ac_var=yes"
57567 else
57568   echo "$as_me: failed program was:" >&5
57569 sed 's/^/| /' conftest.$ac_ext >&5
57570
57571 eval "$as_ac_var=no"
57572 fi
57573 rm -f conftest.err conftest.$ac_objext \
57574       conftest$ac_exeext conftest.$ac_ext
57575 fi
57576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57578 if test `eval echo '${'$as_ac_var'}'` = yes; then
57579   cat >>confdefs.h <<_ACEOF
57580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57581 _ACEOF
57582
57583 fi
57584 done
57585
57586   else
57587
57588   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
57589 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
57590   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
57591     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
57592   echo $ECHO_N "(cached) $ECHO_C" >&6
57593 else
57594
57595
57596
57597       ac_ext=cc
57598 ac_cpp='$CXXCPP $CPPFLAGS'
57599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57602
57603       cat >conftest.$ac_ext <<_ACEOF
57604 /* confdefs.h.  */
57605 _ACEOF
57606 cat confdefs.h >>conftest.$ac_ext
57607 cat >>conftest.$ac_ext <<_ACEOF
57608 /* end confdefs.h.  */
57609 #include <math.h>
57610                       #ifdef HAVE_IEEEFP_H
57611                       #include <ieeefp.h>
57612                       #endif
57613
57614 int
57615 main ()
57616 {
57617  _isnanf(0);
57618   ;
57619   return 0;
57620 }
57621 _ACEOF
57622 rm -f conftest.$ac_objext
57623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57624   (eval $ac_compile) 2>conftest.er1
57625   ac_status=$?
57626   grep -v '^ *+' conftest.er1 >conftest.err
57627   rm -f conftest.er1
57628   cat conftest.err >&5
57629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57630   (exit $ac_status); } &&
57631          { ac_try='test -z "$ac_cxx_werror_flag"
57632                          || test ! -s conftest.err'
57633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57634   (eval $ac_try) 2>&5
57635   ac_status=$?
57636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57637   (exit $ac_status); }; } &&
57638          { ac_try='test -s conftest.$ac_objext'
57639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57640   (eval $ac_try) 2>&5
57641   ac_status=$?
57642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57643   (exit $ac_status); }; }; then
57644   glibcxx_cv_func__isnanf_use=yes
57645 else
57646   echo "$as_me: failed program was:" >&5
57647 sed 's/^/| /' conftest.$ac_ext >&5
57648
57649 glibcxx_cv_func__isnanf_use=no
57650 fi
57651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57652       ac_ext=c
57653 ac_cpp='$CPP $CPPFLAGS'
57654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57657
57658
57659 fi
57660
57661   fi
57662   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
57663 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
57664
57665     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
57666
57667 for ac_func in _isnanf
57668 do
57669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57670 echo "$as_me:$LINENO: checking for $ac_func" >&5
57671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57672 if eval "test \"\${$as_ac_var+set}\" = set"; then
57673   echo $ECHO_N "(cached) $ECHO_C" >&6
57674 else
57675   if test x$gcc_no_link = xyes; then
57676   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57678    { (exit 1); exit 1; }; }
57679 fi
57680 cat >conftest.$ac_ext <<_ACEOF
57681 /* confdefs.h.  */
57682 _ACEOF
57683 cat confdefs.h >>conftest.$ac_ext
57684 cat >>conftest.$ac_ext <<_ACEOF
57685 /* end confdefs.h.  */
57686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57687    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57688 #define $ac_func innocuous_$ac_func
57689
57690 /* System header to define __stub macros and hopefully few prototypes,
57691     which can conflict with char $ac_func (); below.
57692     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57693     <limits.h> exists even on freestanding compilers.  */
57694
57695 #ifdef __STDC__
57696 # include <limits.h>
57697 #else
57698 # include <assert.h>
57699 #endif
57700
57701 #undef $ac_func
57702
57703 /* Override any gcc2 internal prototype to avoid an error.  */
57704 #ifdef __cplusplus
57705 extern "C"
57706 {
57707 #endif
57708 /* We use char because int might match the return type of a gcc2
57709    builtin and then its argument prototype would still apply.  */
57710 char $ac_func ();
57711 /* The GNU C library defines this for functions which it implements
57712     to always fail with ENOSYS.  Some functions are actually named
57713     something starting with __ and the normal name is an alias.  */
57714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57715 choke me
57716 #else
57717 char (*f) () = $ac_func;
57718 #endif
57719 #ifdef __cplusplus
57720 }
57721 #endif
57722
57723 int
57724 main ()
57725 {
57726 return f != $ac_func;
57727   ;
57728   return 0;
57729 }
57730 _ACEOF
57731 rm -f conftest.$ac_objext conftest$ac_exeext
57732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57733   (eval $ac_link) 2>conftest.er1
57734   ac_status=$?
57735   grep -v '^ *+' conftest.er1 >conftest.err
57736   rm -f conftest.er1
57737   cat conftest.err >&5
57738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57739   (exit $ac_status); } &&
57740          { ac_try='test -z "$ac_c_werror_flag"
57741                          || test ! -s conftest.err'
57742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57743   (eval $ac_try) 2>&5
57744   ac_status=$?
57745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57746   (exit $ac_status); }; } &&
57747          { ac_try='test -s conftest$ac_exeext'
57748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57749   (eval $ac_try) 2>&5
57750   ac_status=$?
57751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57752   (exit $ac_status); }; }; then
57753   eval "$as_ac_var=yes"
57754 else
57755   echo "$as_me: failed program was:" >&5
57756 sed 's/^/| /' conftest.$ac_ext >&5
57757
57758 eval "$as_ac_var=no"
57759 fi
57760 rm -f conftest.err conftest.$ac_objext \
57761       conftest$ac_exeext conftest.$ac_ext
57762 fi
57763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57765 if test `eval echo '${'$as_ac_var'}'` = yes; then
57766   cat >>confdefs.h <<_ACEOF
57767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57768 _ACEOF
57769
57770 fi
57771 done
57772
57773     fi
57774   fi
57775
57776
57777
57778   echo "$as_me:$LINENO: checking for isinff declaration" >&5
57779 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
57780   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
57781     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
57782   echo $ECHO_N "(cached) $ECHO_C" >&6
57783 else
57784
57785
57786
57787       ac_ext=cc
57788 ac_cpp='$CXXCPP $CPPFLAGS'
57789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57792
57793       cat >conftest.$ac_ext <<_ACEOF
57794 /* confdefs.h.  */
57795 _ACEOF
57796 cat confdefs.h >>conftest.$ac_ext
57797 cat >>conftest.$ac_ext <<_ACEOF
57798 /* end confdefs.h.  */
57799 #include <math.h>
57800                       #ifdef HAVE_IEEEFP_H
57801                       #include <ieeefp.h>
57802                       #endif
57803
57804 int
57805 main ()
57806 {
57807  isinff(0);
57808   ;
57809   return 0;
57810 }
57811 _ACEOF
57812 rm -f conftest.$ac_objext
57813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57814   (eval $ac_compile) 2>conftest.er1
57815   ac_status=$?
57816   grep -v '^ *+' conftest.er1 >conftest.err
57817   rm -f conftest.er1
57818   cat conftest.err >&5
57819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57820   (exit $ac_status); } &&
57821          { ac_try='test -z "$ac_cxx_werror_flag"
57822                          || test ! -s conftest.err'
57823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57824   (eval $ac_try) 2>&5
57825   ac_status=$?
57826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57827   (exit $ac_status); }; } &&
57828          { ac_try='test -s conftest.$ac_objext'
57829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57830   (eval $ac_try) 2>&5
57831   ac_status=$?
57832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57833   (exit $ac_status); }; }; then
57834   glibcxx_cv_func_isinff_use=yes
57835 else
57836   echo "$as_me: failed program was:" >&5
57837 sed 's/^/| /' conftest.$ac_ext >&5
57838
57839 glibcxx_cv_func_isinff_use=no
57840 fi
57841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57842       ac_ext=c
57843 ac_cpp='$CPP $CPPFLAGS'
57844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57847
57848
57849 fi
57850
57851   fi
57852   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
57853 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
57854
57855   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
57856
57857 for ac_func in isinff
57858 do
57859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57860 echo "$as_me:$LINENO: checking for $ac_func" >&5
57861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57862 if eval "test \"\${$as_ac_var+set}\" = set"; then
57863   echo $ECHO_N "(cached) $ECHO_C" >&6
57864 else
57865   if test x$gcc_no_link = xyes; then
57866   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57868    { (exit 1); exit 1; }; }
57869 fi
57870 cat >conftest.$ac_ext <<_ACEOF
57871 /* confdefs.h.  */
57872 _ACEOF
57873 cat confdefs.h >>conftest.$ac_ext
57874 cat >>conftest.$ac_ext <<_ACEOF
57875 /* end confdefs.h.  */
57876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57877    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57878 #define $ac_func innocuous_$ac_func
57879
57880 /* System header to define __stub macros and hopefully few prototypes,
57881     which can conflict with char $ac_func (); below.
57882     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57883     <limits.h> exists even on freestanding compilers.  */
57884
57885 #ifdef __STDC__
57886 # include <limits.h>
57887 #else
57888 # include <assert.h>
57889 #endif
57890
57891 #undef $ac_func
57892
57893 /* Override any gcc2 internal prototype to avoid an error.  */
57894 #ifdef __cplusplus
57895 extern "C"
57896 {
57897 #endif
57898 /* We use char because int might match the return type of a gcc2
57899    builtin and then its argument prototype would still apply.  */
57900 char $ac_func ();
57901 /* The GNU C library defines this for functions which it implements
57902     to always fail with ENOSYS.  Some functions are actually named
57903     something starting with __ and the normal name is an alias.  */
57904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57905 choke me
57906 #else
57907 char (*f) () = $ac_func;
57908 #endif
57909 #ifdef __cplusplus
57910 }
57911 #endif
57912
57913 int
57914 main ()
57915 {
57916 return f != $ac_func;
57917   ;
57918   return 0;
57919 }
57920 _ACEOF
57921 rm -f conftest.$ac_objext conftest$ac_exeext
57922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57923   (eval $ac_link) 2>conftest.er1
57924   ac_status=$?
57925   grep -v '^ *+' conftest.er1 >conftest.err
57926   rm -f conftest.er1
57927   cat conftest.err >&5
57928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57929   (exit $ac_status); } &&
57930          { ac_try='test -z "$ac_c_werror_flag"
57931                          || test ! -s conftest.err'
57932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57933   (eval $ac_try) 2>&5
57934   ac_status=$?
57935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57936   (exit $ac_status); }; } &&
57937          { ac_try='test -s conftest$ac_exeext'
57938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57939   (eval $ac_try) 2>&5
57940   ac_status=$?
57941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57942   (exit $ac_status); }; }; then
57943   eval "$as_ac_var=yes"
57944 else
57945   echo "$as_me: failed program was:" >&5
57946 sed 's/^/| /' conftest.$ac_ext >&5
57947
57948 eval "$as_ac_var=no"
57949 fi
57950 rm -f conftest.err conftest.$ac_objext \
57951       conftest$ac_exeext conftest.$ac_ext
57952 fi
57953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57954 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57955 if test `eval echo '${'$as_ac_var'}'` = yes; then
57956   cat >>confdefs.h <<_ACEOF
57957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57958 _ACEOF
57959
57960 fi
57961 done
57962
57963   else
57964
57965   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
57966 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
57967   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
57968     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
57969   echo $ECHO_N "(cached) $ECHO_C" >&6
57970 else
57971
57972
57973
57974       ac_ext=cc
57975 ac_cpp='$CXXCPP $CPPFLAGS'
57976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57979
57980       cat >conftest.$ac_ext <<_ACEOF
57981 /* confdefs.h.  */
57982 _ACEOF
57983 cat confdefs.h >>conftest.$ac_ext
57984 cat >>conftest.$ac_ext <<_ACEOF
57985 /* end confdefs.h.  */
57986 #include <math.h>
57987                       #ifdef HAVE_IEEEFP_H
57988                       #include <ieeefp.h>
57989                       #endif
57990
57991 int
57992 main ()
57993 {
57994  _isinff(0);
57995   ;
57996   return 0;
57997 }
57998 _ACEOF
57999 rm -f conftest.$ac_objext
58000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58001   (eval $ac_compile) 2>conftest.er1
58002   ac_status=$?
58003   grep -v '^ *+' conftest.er1 >conftest.err
58004   rm -f conftest.er1
58005   cat conftest.err >&5
58006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58007   (exit $ac_status); } &&
58008          { ac_try='test -z "$ac_cxx_werror_flag"
58009                          || test ! -s conftest.err'
58010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58011   (eval $ac_try) 2>&5
58012   ac_status=$?
58013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58014   (exit $ac_status); }; } &&
58015          { ac_try='test -s conftest.$ac_objext'
58016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58017   (eval $ac_try) 2>&5
58018   ac_status=$?
58019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58020   (exit $ac_status); }; }; then
58021   glibcxx_cv_func__isinff_use=yes
58022 else
58023   echo "$as_me: failed program was:" >&5
58024 sed 's/^/| /' conftest.$ac_ext >&5
58025
58026 glibcxx_cv_func__isinff_use=no
58027 fi
58028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58029       ac_ext=c
58030 ac_cpp='$CPP $CPPFLAGS'
58031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58034
58035
58036 fi
58037
58038   fi
58039   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
58040 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
58041
58042     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
58043
58044 for ac_func in _isinff
58045 do
58046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58047 echo "$as_me:$LINENO: checking for $ac_func" >&5
58048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58049 if eval "test \"\${$as_ac_var+set}\" = set"; then
58050   echo $ECHO_N "(cached) $ECHO_C" >&6
58051 else
58052   if test x$gcc_no_link = xyes; then
58053   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58055    { (exit 1); exit 1; }; }
58056 fi
58057 cat >conftest.$ac_ext <<_ACEOF
58058 /* confdefs.h.  */
58059 _ACEOF
58060 cat confdefs.h >>conftest.$ac_ext
58061 cat >>conftest.$ac_ext <<_ACEOF
58062 /* end confdefs.h.  */
58063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58064    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58065 #define $ac_func innocuous_$ac_func
58066
58067 /* System header to define __stub macros and hopefully few prototypes,
58068     which can conflict with char $ac_func (); below.
58069     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58070     <limits.h> exists even on freestanding compilers.  */
58071
58072 #ifdef __STDC__
58073 # include <limits.h>
58074 #else
58075 # include <assert.h>
58076 #endif
58077
58078 #undef $ac_func
58079
58080 /* Override any gcc2 internal prototype to avoid an error.  */
58081 #ifdef __cplusplus
58082 extern "C"
58083 {
58084 #endif
58085 /* We use char because int might match the return type of a gcc2
58086    builtin and then its argument prototype would still apply.  */
58087 char $ac_func ();
58088 /* The GNU C library defines this for functions which it implements
58089     to always fail with ENOSYS.  Some functions are actually named
58090     something starting with __ and the normal name is an alias.  */
58091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58092 choke me
58093 #else
58094 char (*f) () = $ac_func;
58095 #endif
58096 #ifdef __cplusplus
58097 }
58098 #endif
58099
58100 int
58101 main ()
58102 {
58103 return f != $ac_func;
58104   ;
58105   return 0;
58106 }
58107 _ACEOF
58108 rm -f conftest.$ac_objext conftest$ac_exeext
58109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58110   (eval $ac_link) 2>conftest.er1
58111   ac_status=$?
58112   grep -v '^ *+' conftest.er1 >conftest.err
58113   rm -f conftest.er1
58114   cat conftest.err >&5
58115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58116   (exit $ac_status); } &&
58117          { ac_try='test -z "$ac_c_werror_flag"
58118                          || test ! -s conftest.err'
58119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58120   (eval $ac_try) 2>&5
58121   ac_status=$?
58122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58123   (exit $ac_status); }; } &&
58124          { ac_try='test -s conftest$ac_exeext'
58125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58126   (eval $ac_try) 2>&5
58127   ac_status=$?
58128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58129   (exit $ac_status); }; }; then
58130   eval "$as_ac_var=yes"
58131 else
58132   echo "$as_me: failed program was:" >&5
58133 sed 's/^/| /' conftest.$ac_ext >&5
58134
58135 eval "$as_ac_var=no"
58136 fi
58137 rm -f conftest.err conftest.$ac_objext \
58138       conftest$ac_exeext conftest.$ac_ext
58139 fi
58140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58142 if test `eval echo '${'$as_ac_var'}'` = yes; then
58143   cat >>confdefs.h <<_ACEOF
58144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58145 _ACEOF
58146
58147 fi
58148 done
58149
58150     fi
58151   fi
58152
58153
58154
58155   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
58156 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
58157   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
58158     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
58159   echo $ECHO_N "(cached) $ECHO_C" >&6
58160 else
58161
58162
58163
58164       ac_ext=cc
58165 ac_cpp='$CXXCPP $CPPFLAGS'
58166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58169
58170       cat >conftest.$ac_ext <<_ACEOF
58171 /* confdefs.h.  */
58172 _ACEOF
58173 cat confdefs.h >>conftest.$ac_ext
58174 cat >>conftest.$ac_ext <<_ACEOF
58175 /* end confdefs.h.  */
58176 #include <math.h>
58177 int
58178 main ()
58179 {
58180  atan2f(0, 0);
58181   ;
58182   return 0;
58183 }
58184 _ACEOF
58185 rm -f conftest.$ac_objext
58186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58187   (eval $ac_compile) 2>conftest.er1
58188   ac_status=$?
58189   grep -v '^ *+' conftest.er1 >conftest.err
58190   rm -f conftest.er1
58191   cat conftest.err >&5
58192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58193   (exit $ac_status); } &&
58194          { ac_try='test -z "$ac_cxx_werror_flag"
58195                          || test ! -s conftest.err'
58196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58197   (eval $ac_try) 2>&5
58198   ac_status=$?
58199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58200   (exit $ac_status); }; } &&
58201          { ac_try='test -s conftest.$ac_objext'
58202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58203   (eval $ac_try) 2>&5
58204   ac_status=$?
58205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58206   (exit $ac_status); }; }; then
58207   glibcxx_cv_func_atan2f_use=yes
58208 else
58209   echo "$as_me: failed program was:" >&5
58210 sed 's/^/| /' conftest.$ac_ext >&5
58211
58212 glibcxx_cv_func_atan2f_use=no
58213 fi
58214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58215       ac_ext=c
58216 ac_cpp='$CPP $CPPFLAGS'
58217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58220
58221
58222 fi
58223
58224   fi
58225   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
58226 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
58227
58228   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
58229
58230 for ac_func in atan2f
58231 do
58232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58233 echo "$as_me:$LINENO: checking for $ac_func" >&5
58234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58235 if eval "test \"\${$as_ac_var+set}\" = set"; then
58236   echo $ECHO_N "(cached) $ECHO_C" >&6
58237 else
58238   if test x$gcc_no_link = xyes; then
58239   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58241    { (exit 1); exit 1; }; }
58242 fi
58243 cat >conftest.$ac_ext <<_ACEOF
58244 /* confdefs.h.  */
58245 _ACEOF
58246 cat confdefs.h >>conftest.$ac_ext
58247 cat >>conftest.$ac_ext <<_ACEOF
58248 /* end confdefs.h.  */
58249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58250    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58251 #define $ac_func innocuous_$ac_func
58252
58253 /* System header to define __stub macros and hopefully few prototypes,
58254     which can conflict with char $ac_func (); below.
58255     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58256     <limits.h> exists even on freestanding compilers.  */
58257
58258 #ifdef __STDC__
58259 # include <limits.h>
58260 #else
58261 # include <assert.h>
58262 #endif
58263
58264 #undef $ac_func
58265
58266 /* Override any gcc2 internal prototype to avoid an error.  */
58267 #ifdef __cplusplus
58268 extern "C"
58269 {
58270 #endif
58271 /* We use char because int might match the return type of a gcc2
58272    builtin and then its argument prototype would still apply.  */
58273 char $ac_func ();
58274 /* The GNU C library defines this for functions which it implements
58275     to always fail with ENOSYS.  Some functions are actually named
58276     something starting with __ and the normal name is an alias.  */
58277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58278 choke me
58279 #else
58280 char (*f) () = $ac_func;
58281 #endif
58282 #ifdef __cplusplus
58283 }
58284 #endif
58285
58286 int
58287 main ()
58288 {
58289 return f != $ac_func;
58290   ;
58291   return 0;
58292 }
58293 _ACEOF
58294 rm -f conftest.$ac_objext conftest$ac_exeext
58295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58296   (eval $ac_link) 2>conftest.er1
58297   ac_status=$?
58298   grep -v '^ *+' conftest.er1 >conftest.err
58299   rm -f conftest.er1
58300   cat conftest.err >&5
58301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58302   (exit $ac_status); } &&
58303          { ac_try='test -z "$ac_c_werror_flag"
58304                          || test ! -s conftest.err'
58305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58306   (eval $ac_try) 2>&5
58307   ac_status=$?
58308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58309   (exit $ac_status); }; } &&
58310          { ac_try='test -s conftest$ac_exeext'
58311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58312   (eval $ac_try) 2>&5
58313   ac_status=$?
58314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58315   (exit $ac_status); }; }; then
58316   eval "$as_ac_var=yes"
58317 else
58318   echo "$as_me: failed program was:" >&5
58319 sed 's/^/| /' conftest.$ac_ext >&5
58320
58321 eval "$as_ac_var=no"
58322 fi
58323 rm -f conftest.err conftest.$ac_objext \
58324       conftest$ac_exeext conftest.$ac_ext
58325 fi
58326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58328 if test `eval echo '${'$as_ac_var'}'` = yes; then
58329   cat >>confdefs.h <<_ACEOF
58330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58331 _ACEOF
58332
58333 fi
58334 done
58335
58336   else
58337
58338   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
58339 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
58340   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58341     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
58342   echo $ECHO_N "(cached) $ECHO_C" >&6
58343 else
58344
58345
58346
58347       ac_ext=cc
58348 ac_cpp='$CXXCPP $CPPFLAGS'
58349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58352
58353       cat >conftest.$ac_ext <<_ACEOF
58354 /* confdefs.h.  */
58355 _ACEOF
58356 cat confdefs.h >>conftest.$ac_ext
58357 cat >>conftest.$ac_ext <<_ACEOF
58358 /* end confdefs.h.  */
58359 #include <math.h>
58360 int
58361 main ()
58362 {
58363  _atan2f(0, 0);
58364   ;
58365   return 0;
58366 }
58367 _ACEOF
58368 rm -f conftest.$ac_objext
58369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58370   (eval $ac_compile) 2>conftest.er1
58371   ac_status=$?
58372   grep -v '^ *+' conftest.er1 >conftest.err
58373   rm -f conftest.er1
58374   cat conftest.err >&5
58375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58376   (exit $ac_status); } &&
58377          { ac_try='test -z "$ac_cxx_werror_flag"
58378                          || test ! -s conftest.err'
58379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58380   (eval $ac_try) 2>&5
58381   ac_status=$?
58382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58383   (exit $ac_status); }; } &&
58384          { ac_try='test -s conftest.$ac_objext'
58385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58386   (eval $ac_try) 2>&5
58387   ac_status=$?
58388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58389   (exit $ac_status); }; }; then
58390   glibcxx_cv_func__atan2f_use=yes
58391 else
58392   echo "$as_me: failed program was:" >&5
58393 sed 's/^/| /' conftest.$ac_ext >&5
58394
58395 glibcxx_cv_func__atan2f_use=no
58396 fi
58397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58398       ac_ext=c
58399 ac_cpp='$CPP $CPPFLAGS'
58400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58403
58404
58405 fi
58406
58407   fi
58408   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
58409 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
58410
58411     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
58412
58413 for ac_func in _atan2f
58414 do
58415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58416 echo "$as_me:$LINENO: checking for $ac_func" >&5
58417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58418 if eval "test \"\${$as_ac_var+set}\" = set"; then
58419   echo $ECHO_N "(cached) $ECHO_C" >&6
58420 else
58421   if test x$gcc_no_link = xyes; then
58422   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58424    { (exit 1); exit 1; }; }
58425 fi
58426 cat >conftest.$ac_ext <<_ACEOF
58427 /* confdefs.h.  */
58428 _ACEOF
58429 cat confdefs.h >>conftest.$ac_ext
58430 cat >>conftest.$ac_ext <<_ACEOF
58431 /* end confdefs.h.  */
58432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58433    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58434 #define $ac_func innocuous_$ac_func
58435
58436 /* System header to define __stub macros and hopefully few prototypes,
58437     which can conflict with char $ac_func (); below.
58438     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58439     <limits.h> exists even on freestanding compilers.  */
58440
58441 #ifdef __STDC__
58442 # include <limits.h>
58443 #else
58444 # include <assert.h>
58445 #endif
58446
58447 #undef $ac_func
58448
58449 /* Override any gcc2 internal prototype to avoid an error.  */
58450 #ifdef __cplusplus
58451 extern "C"
58452 {
58453 #endif
58454 /* We use char because int might match the return type of a gcc2
58455    builtin and then its argument prototype would still apply.  */
58456 char $ac_func ();
58457 /* The GNU C library defines this for functions which it implements
58458     to always fail with ENOSYS.  Some functions are actually named
58459     something starting with __ and the normal name is an alias.  */
58460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58461 choke me
58462 #else
58463 char (*f) () = $ac_func;
58464 #endif
58465 #ifdef __cplusplus
58466 }
58467 #endif
58468
58469 int
58470 main ()
58471 {
58472 return f != $ac_func;
58473   ;
58474   return 0;
58475 }
58476 _ACEOF
58477 rm -f conftest.$ac_objext conftest$ac_exeext
58478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58479   (eval $ac_link) 2>conftest.er1
58480   ac_status=$?
58481   grep -v '^ *+' conftest.er1 >conftest.err
58482   rm -f conftest.er1
58483   cat conftest.err >&5
58484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58485   (exit $ac_status); } &&
58486          { ac_try='test -z "$ac_c_werror_flag"
58487                          || test ! -s conftest.err'
58488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58489   (eval $ac_try) 2>&5
58490   ac_status=$?
58491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58492   (exit $ac_status); }; } &&
58493          { ac_try='test -s conftest$ac_exeext'
58494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58495   (eval $ac_try) 2>&5
58496   ac_status=$?
58497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58498   (exit $ac_status); }; }; then
58499   eval "$as_ac_var=yes"
58500 else
58501   echo "$as_me: failed program was:" >&5
58502 sed 's/^/| /' conftest.$ac_ext >&5
58503
58504 eval "$as_ac_var=no"
58505 fi
58506 rm -f conftest.err conftest.$ac_objext \
58507       conftest$ac_exeext conftest.$ac_ext
58508 fi
58509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58511 if test `eval echo '${'$as_ac_var'}'` = yes; then
58512   cat >>confdefs.h <<_ACEOF
58513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58514 _ACEOF
58515
58516 fi
58517 done
58518
58519     fi
58520   fi
58521
58522
58523
58524   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
58525 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
58526   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
58527     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
58528   echo $ECHO_N "(cached) $ECHO_C" >&6
58529 else
58530
58531
58532
58533       ac_ext=cc
58534 ac_cpp='$CXXCPP $CPPFLAGS'
58535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58538
58539       cat >conftest.$ac_ext <<_ACEOF
58540 /* confdefs.h.  */
58541 _ACEOF
58542 cat confdefs.h >>conftest.$ac_ext
58543 cat >>conftest.$ac_ext <<_ACEOF
58544 /* end confdefs.h.  */
58545 #include <math.h>
58546                       #ifdef HAVE_IEEEFP_H
58547                       #include <ieeefp.h>
58548                       #endif
58549
58550 int
58551 main ()
58552 {
58553  fabsf(0);
58554   ;
58555   return 0;
58556 }
58557 _ACEOF
58558 rm -f conftest.$ac_objext
58559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58560   (eval $ac_compile) 2>conftest.er1
58561   ac_status=$?
58562   grep -v '^ *+' conftest.er1 >conftest.err
58563   rm -f conftest.er1
58564   cat conftest.err >&5
58565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58566   (exit $ac_status); } &&
58567          { ac_try='test -z "$ac_cxx_werror_flag"
58568                          || test ! -s conftest.err'
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); }; } &&
58574          { ac_try='test -s conftest.$ac_objext'
58575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58576   (eval $ac_try) 2>&5
58577   ac_status=$?
58578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58579   (exit $ac_status); }; }; then
58580   glibcxx_cv_func_fabsf_use=yes
58581 else
58582   echo "$as_me: failed program was:" >&5
58583 sed 's/^/| /' conftest.$ac_ext >&5
58584
58585 glibcxx_cv_func_fabsf_use=no
58586 fi
58587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58588       ac_ext=c
58589 ac_cpp='$CPP $CPPFLAGS'
58590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58593
58594
58595 fi
58596
58597   fi
58598   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
58599 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
58600
58601   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
58602
58603 for ac_func in fabsf
58604 do
58605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58606 echo "$as_me:$LINENO: checking for $ac_func" >&5
58607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58608 if eval "test \"\${$as_ac_var+set}\" = set"; then
58609   echo $ECHO_N "(cached) $ECHO_C" >&6
58610 else
58611   if test x$gcc_no_link = xyes; then
58612   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58614    { (exit 1); exit 1; }; }
58615 fi
58616 cat >conftest.$ac_ext <<_ACEOF
58617 /* confdefs.h.  */
58618 _ACEOF
58619 cat confdefs.h >>conftest.$ac_ext
58620 cat >>conftest.$ac_ext <<_ACEOF
58621 /* end confdefs.h.  */
58622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58623    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58624 #define $ac_func innocuous_$ac_func
58625
58626 /* System header to define __stub macros and hopefully few prototypes,
58627     which can conflict with char $ac_func (); below.
58628     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58629     <limits.h> exists even on freestanding compilers.  */
58630
58631 #ifdef __STDC__
58632 # include <limits.h>
58633 #else
58634 # include <assert.h>
58635 #endif
58636
58637 #undef $ac_func
58638
58639 /* Override any gcc2 internal prototype to avoid an error.  */
58640 #ifdef __cplusplus
58641 extern "C"
58642 {
58643 #endif
58644 /* We use char because int might match the return type of a gcc2
58645    builtin and then its argument prototype would still apply.  */
58646 char $ac_func ();
58647 /* The GNU C library defines this for functions which it implements
58648     to always fail with ENOSYS.  Some functions are actually named
58649     something starting with __ and the normal name is an alias.  */
58650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58651 choke me
58652 #else
58653 char (*f) () = $ac_func;
58654 #endif
58655 #ifdef __cplusplus
58656 }
58657 #endif
58658
58659 int
58660 main ()
58661 {
58662 return f != $ac_func;
58663   ;
58664   return 0;
58665 }
58666 _ACEOF
58667 rm -f conftest.$ac_objext conftest$ac_exeext
58668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58669   (eval $ac_link) 2>conftest.er1
58670   ac_status=$?
58671   grep -v '^ *+' conftest.er1 >conftest.err
58672   rm -f conftest.er1
58673   cat conftest.err >&5
58674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58675   (exit $ac_status); } &&
58676          { ac_try='test -z "$ac_c_werror_flag"
58677                          || test ! -s conftest.err'
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); }; } &&
58683          { ac_try='test -s conftest$ac_exeext'
58684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58685   (eval $ac_try) 2>&5
58686   ac_status=$?
58687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58688   (exit $ac_status); }; }; then
58689   eval "$as_ac_var=yes"
58690 else
58691   echo "$as_me: failed program was:" >&5
58692 sed 's/^/| /' conftest.$ac_ext >&5
58693
58694 eval "$as_ac_var=no"
58695 fi
58696 rm -f conftest.err conftest.$ac_objext \
58697       conftest$ac_exeext conftest.$ac_ext
58698 fi
58699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58701 if test `eval echo '${'$as_ac_var'}'` = yes; then
58702   cat >>confdefs.h <<_ACEOF
58703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58704 _ACEOF
58705
58706 fi
58707 done
58708
58709   else
58710
58711   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
58712 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
58713   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
58714     if test "${glibcxx_cv_func__fabsf_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                       #ifdef HAVE_IEEEFP_H
58734                       #include <ieeefp.h>
58735                       #endif
58736
58737 int
58738 main ()
58739 {
58740  _fabsf(0);
58741   ;
58742   return 0;
58743 }
58744 _ACEOF
58745 rm -f conftest.$ac_objext
58746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58747   (eval $ac_compile) 2>conftest.er1
58748   ac_status=$?
58749   grep -v '^ *+' conftest.er1 >conftest.err
58750   rm -f conftest.er1
58751   cat conftest.err >&5
58752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58753   (exit $ac_status); } &&
58754          { ac_try='test -z "$ac_cxx_werror_flag"
58755                          || test ! -s conftest.err'
58756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58757   (eval $ac_try) 2>&5
58758   ac_status=$?
58759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58760   (exit $ac_status); }; } &&
58761          { ac_try='test -s conftest.$ac_objext'
58762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58763   (eval $ac_try) 2>&5
58764   ac_status=$?
58765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58766   (exit $ac_status); }; }; then
58767   glibcxx_cv_func__fabsf_use=yes
58768 else
58769   echo "$as_me: failed program was:" >&5
58770 sed 's/^/| /' conftest.$ac_ext >&5
58771
58772 glibcxx_cv_func__fabsf_use=no
58773 fi
58774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58775       ac_ext=c
58776 ac_cpp='$CPP $CPPFLAGS'
58777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58780
58781
58782 fi
58783
58784   fi
58785   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
58786 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
58787
58788     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
58789
58790 for ac_func in _fabsf
58791 do
58792 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58793 echo "$as_me:$LINENO: checking for $ac_func" >&5
58794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58795 if eval "test \"\${$as_ac_var+set}\" = set"; then
58796   echo $ECHO_N "(cached) $ECHO_C" >&6
58797 else
58798   if test x$gcc_no_link = xyes; then
58799   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58801    { (exit 1); exit 1; }; }
58802 fi
58803 cat >conftest.$ac_ext <<_ACEOF
58804 /* confdefs.h.  */
58805 _ACEOF
58806 cat confdefs.h >>conftest.$ac_ext
58807 cat >>conftest.$ac_ext <<_ACEOF
58808 /* end confdefs.h.  */
58809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58810    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58811 #define $ac_func innocuous_$ac_func
58812
58813 /* System header to define __stub macros and hopefully few prototypes,
58814     which can conflict with char $ac_func (); below.
58815     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58816     <limits.h> exists even on freestanding compilers.  */
58817
58818 #ifdef __STDC__
58819 # include <limits.h>
58820 #else
58821 # include <assert.h>
58822 #endif
58823
58824 #undef $ac_func
58825
58826 /* Override any gcc2 internal prototype to avoid an error.  */
58827 #ifdef __cplusplus
58828 extern "C"
58829 {
58830 #endif
58831 /* We use char because int might match the return type of a gcc2
58832    builtin and then its argument prototype would still apply.  */
58833 char $ac_func ();
58834 /* The GNU C library defines this for functions which it implements
58835     to always fail with ENOSYS.  Some functions are actually named
58836     something starting with __ and the normal name is an alias.  */
58837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58838 choke me
58839 #else
58840 char (*f) () = $ac_func;
58841 #endif
58842 #ifdef __cplusplus
58843 }
58844 #endif
58845
58846 int
58847 main ()
58848 {
58849 return f != $ac_func;
58850   ;
58851   return 0;
58852 }
58853 _ACEOF
58854 rm -f conftest.$ac_objext conftest$ac_exeext
58855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58856   (eval $ac_link) 2>conftest.er1
58857   ac_status=$?
58858   grep -v '^ *+' conftest.er1 >conftest.err
58859   rm -f conftest.er1
58860   cat conftest.err >&5
58861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58862   (exit $ac_status); } &&
58863          { ac_try='test -z "$ac_c_werror_flag"
58864                          || test ! -s conftest.err'
58865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58866   (eval $ac_try) 2>&5
58867   ac_status=$?
58868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58869   (exit $ac_status); }; } &&
58870          { ac_try='test -s conftest$ac_exeext'
58871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58872   (eval $ac_try) 2>&5
58873   ac_status=$?
58874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58875   (exit $ac_status); }; }; then
58876   eval "$as_ac_var=yes"
58877 else
58878   echo "$as_me: failed program was:" >&5
58879 sed 's/^/| /' conftest.$ac_ext >&5
58880
58881 eval "$as_ac_var=no"
58882 fi
58883 rm -f conftest.err conftest.$ac_objext \
58884       conftest$ac_exeext conftest.$ac_ext
58885 fi
58886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58888 if test `eval echo '${'$as_ac_var'}'` = yes; then
58889   cat >>confdefs.h <<_ACEOF
58890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58891 _ACEOF
58892
58893 fi
58894 done
58895
58896     fi
58897   fi
58898
58899
58900
58901   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
58902 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
58903   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
58904     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
58905   echo $ECHO_N "(cached) $ECHO_C" >&6
58906 else
58907
58908
58909
58910       ac_ext=cc
58911 ac_cpp='$CXXCPP $CPPFLAGS'
58912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58915
58916       cat >conftest.$ac_ext <<_ACEOF
58917 /* confdefs.h.  */
58918 _ACEOF
58919 cat confdefs.h >>conftest.$ac_ext
58920 cat >>conftest.$ac_ext <<_ACEOF
58921 /* end confdefs.h.  */
58922 #include <math.h>
58923 int
58924 main ()
58925 {
58926  fmodf(0, 0);
58927   ;
58928   return 0;
58929 }
58930 _ACEOF
58931 rm -f conftest.$ac_objext
58932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58933   (eval $ac_compile) 2>conftest.er1
58934   ac_status=$?
58935   grep -v '^ *+' conftest.er1 >conftest.err
58936   rm -f conftest.er1
58937   cat conftest.err >&5
58938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58939   (exit $ac_status); } &&
58940          { ac_try='test -z "$ac_cxx_werror_flag"
58941                          || test ! -s conftest.err'
58942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58943   (eval $ac_try) 2>&5
58944   ac_status=$?
58945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58946   (exit $ac_status); }; } &&
58947          { ac_try='test -s conftest.$ac_objext'
58948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58949   (eval $ac_try) 2>&5
58950   ac_status=$?
58951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58952   (exit $ac_status); }; }; then
58953   glibcxx_cv_func_fmodf_use=yes
58954 else
58955   echo "$as_me: failed program was:" >&5
58956 sed 's/^/| /' conftest.$ac_ext >&5
58957
58958 glibcxx_cv_func_fmodf_use=no
58959 fi
58960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58961       ac_ext=c
58962 ac_cpp='$CPP $CPPFLAGS'
58963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58966
58967
58968 fi
58969
58970   fi
58971   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
58972 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
58973
58974   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
58975
58976 for ac_func in fmodf
58977 do
58978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58979 echo "$as_me:$LINENO: checking for $ac_func" >&5
58980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58981 if eval "test \"\${$as_ac_var+set}\" = set"; then
58982   echo $ECHO_N "(cached) $ECHO_C" >&6
58983 else
58984   if test x$gcc_no_link = xyes; then
58985   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58987    { (exit 1); exit 1; }; }
58988 fi
58989 cat >conftest.$ac_ext <<_ACEOF
58990 /* confdefs.h.  */
58991 _ACEOF
58992 cat confdefs.h >>conftest.$ac_ext
58993 cat >>conftest.$ac_ext <<_ACEOF
58994 /* end confdefs.h.  */
58995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58996    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58997 #define $ac_func innocuous_$ac_func
58998
58999 /* System header to define __stub macros and hopefully few prototypes,
59000     which can conflict with char $ac_func (); below.
59001     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59002     <limits.h> exists even on freestanding compilers.  */
59003
59004 #ifdef __STDC__
59005 # include <limits.h>
59006 #else
59007 # include <assert.h>
59008 #endif
59009
59010 #undef $ac_func
59011
59012 /* Override any gcc2 internal prototype to avoid an error.  */
59013 #ifdef __cplusplus
59014 extern "C"
59015 {
59016 #endif
59017 /* We use char because int might match the return type of a gcc2
59018    builtin and then its argument prototype would still apply.  */
59019 char $ac_func ();
59020 /* The GNU C library defines this for functions which it implements
59021     to always fail with ENOSYS.  Some functions are actually named
59022     something starting with __ and the normal name is an alias.  */
59023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59024 choke me
59025 #else
59026 char (*f) () = $ac_func;
59027 #endif
59028 #ifdef __cplusplus
59029 }
59030 #endif
59031
59032 int
59033 main ()
59034 {
59035 return f != $ac_func;
59036   ;
59037   return 0;
59038 }
59039 _ACEOF
59040 rm -f conftest.$ac_objext conftest$ac_exeext
59041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59042   (eval $ac_link) 2>conftest.er1
59043   ac_status=$?
59044   grep -v '^ *+' conftest.er1 >conftest.err
59045   rm -f conftest.er1
59046   cat conftest.err >&5
59047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59048   (exit $ac_status); } &&
59049          { ac_try='test -z "$ac_c_werror_flag"
59050                          || test ! -s conftest.err'
59051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59052   (eval $ac_try) 2>&5
59053   ac_status=$?
59054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59055   (exit $ac_status); }; } &&
59056          { ac_try='test -s conftest$ac_exeext'
59057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59058   (eval $ac_try) 2>&5
59059   ac_status=$?
59060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59061   (exit $ac_status); }; }; then
59062   eval "$as_ac_var=yes"
59063 else
59064   echo "$as_me: failed program was:" >&5
59065 sed 's/^/| /' conftest.$ac_ext >&5
59066
59067 eval "$as_ac_var=no"
59068 fi
59069 rm -f conftest.err conftest.$ac_objext \
59070       conftest$ac_exeext conftest.$ac_ext
59071 fi
59072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59074 if test `eval echo '${'$as_ac_var'}'` = yes; then
59075   cat >>confdefs.h <<_ACEOF
59076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59077 _ACEOF
59078
59079 fi
59080 done
59081
59082   else
59083
59084   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
59085 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
59086   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59087     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
59088   echo $ECHO_N "(cached) $ECHO_C" >&6
59089 else
59090
59091
59092
59093       ac_ext=cc
59094 ac_cpp='$CXXCPP $CPPFLAGS'
59095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59098
59099       cat >conftest.$ac_ext <<_ACEOF
59100 /* confdefs.h.  */
59101 _ACEOF
59102 cat confdefs.h >>conftest.$ac_ext
59103 cat >>conftest.$ac_ext <<_ACEOF
59104 /* end confdefs.h.  */
59105 #include <math.h>
59106 int
59107 main ()
59108 {
59109  _fmodf(0, 0);
59110   ;
59111   return 0;
59112 }
59113 _ACEOF
59114 rm -f conftest.$ac_objext
59115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59116   (eval $ac_compile) 2>conftest.er1
59117   ac_status=$?
59118   grep -v '^ *+' conftest.er1 >conftest.err
59119   rm -f conftest.er1
59120   cat conftest.err >&5
59121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59122   (exit $ac_status); } &&
59123          { ac_try='test -z "$ac_cxx_werror_flag"
59124                          || test ! -s conftest.err'
59125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59126   (eval $ac_try) 2>&5
59127   ac_status=$?
59128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59129   (exit $ac_status); }; } &&
59130          { ac_try='test -s conftest.$ac_objext'
59131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59132   (eval $ac_try) 2>&5
59133   ac_status=$?
59134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59135   (exit $ac_status); }; }; then
59136   glibcxx_cv_func__fmodf_use=yes
59137 else
59138   echo "$as_me: failed program was:" >&5
59139 sed 's/^/| /' conftest.$ac_ext >&5
59140
59141 glibcxx_cv_func__fmodf_use=no
59142 fi
59143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59144       ac_ext=c
59145 ac_cpp='$CPP $CPPFLAGS'
59146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59149
59150
59151 fi
59152
59153   fi
59154   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
59155 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
59156
59157     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59158
59159 for ac_func in _fmodf
59160 do
59161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59162 echo "$as_me:$LINENO: checking for $ac_func" >&5
59163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59164 if eval "test \"\${$as_ac_var+set}\" = set"; then
59165   echo $ECHO_N "(cached) $ECHO_C" >&6
59166 else
59167   if test x$gcc_no_link = xyes; then
59168   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59170    { (exit 1); exit 1; }; }
59171 fi
59172 cat >conftest.$ac_ext <<_ACEOF
59173 /* confdefs.h.  */
59174 _ACEOF
59175 cat confdefs.h >>conftest.$ac_ext
59176 cat >>conftest.$ac_ext <<_ACEOF
59177 /* end confdefs.h.  */
59178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59179    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59180 #define $ac_func innocuous_$ac_func
59181
59182 /* System header to define __stub macros and hopefully few prototypes,
59183     which can conflict with char $ac_func (); below.
59184     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59185     <limits.h> exists even on freestanding compilers.  */
59186
59187 #ifdef __STDC__
59188 # include <limits.h>
59189 #else
59190 # include <assert.h>
59191 #endif
59192
59193 #undef $ac_func
59194
59195 /* Override any gcc2 internal prototype to avoid an error.  */
59196 #ifdef __cplusplus
59197 extern "C"
59198 {
59199 #endif
59200 /* We use char because int might match the return type of a gcc2
59201    builtin and then its argument prototype would still apply.  */
59202 char $ac_func ();
59203 /* The GNU C library defines this for functions which it implements
59204     to always fail with ENOSYS.  Some functions are actually named
59205     something starting with __ and the normal name is an alias.  */
59206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59207 choke me
59208 #else
59209 char (*f) () = $ac_func;
59210 #endif
59211 #ifdef __cplusplus
59212 }
59213 #endif
59214
59215 int
59216 main ()
59217 {
59218 return f != $ac_func;
59219   ;
59220   return 0;
59221 }
59222 _ACEOF
59223 rm -f conftest.$ac_objext conftest$ac_exeext
59224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59225   (eval $ac_link) 2>conftest.er1
59226   ac_status=$?
59227   grep -v '^ *+' conftest.er1 >conftest.err
59228   rm -f conftest.er1
59229   cat conftest.err >&5
59230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59231   (exit $ac_status); } &&
59232          { ac_try='test -z "$ac_c_werror_flag"
59233                          || test ! -s conftest.err'
59234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59235   (eval $ac_try) 2>&5
59236   ac_status=$?
59237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59238   (exit $ac_status); }; } &&
59239          { ac_try='test -s conftest$ac_exeext'
59240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59241   (eval $ac_try) 2>&5
59242   ac_status=$?
59243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59244   (exit $ac_status); }; }; then
59245   eval "$as_ac_var=yes"
59246 else
59247   echo "$as_me: failed program was:" >&5
59248 sed 's/^/| /' conftest.$ac_ext >&5
59249
59250 eval "$as_ac_var=no"
59251 fi
59252 rm -f conftest.err conftest.$ac_objext \
59253       conftest$ac_exeext conftest.$ac_ext
59254 fi
59255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59257 if test `eval echo '${'$as_ac_var'}'` = yes; then
59258   cat >>confdefs.h <<_ACEOF
59259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59260 _ACEOF
59261
59262 fi
59263 done
59264
59265     fi
59266   fi
59267
59268
59269
59270   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
59271 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
59272   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59273     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
59274   echo $ECHO_N "(cached) $ECHO_C" >&6
59275 else
59276
59277
59278
59279       ac_ext=cc
59280 ac_cpp='$CXXCPP $CPPFLAGS'
59281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59284
59285       cat >conftest.$ac_ext <<_ACEOF
59286 /* confdefs.h.  */
59287 _ACEOF
59288 cat confdefs.h >>conftest.$ac_ext
59289 cat >>conftest.$ac_ext <<_ACEOF
59290 /* end confdefs.h.  */
59291 #include <math.h>
59292 int
59293 main ()
59294 {
59295  frexpf(0, 0);
59296   ;
59297   return 0;
59298 }
59299 _ACEOF
59300 rm -f conftest.$ac_objext
59301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59302   (eval $ac_compile) 2>conftest.er1
59303   ac_status=$?
59304   grep -v '^ *+' conftest.er1 >conftest.err
59305   rm -f conftest.er1
59306   cat conftest.err >&5
59307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59308   (exit $ac_status); } &&
59309          { ac_try='test -z "$ac_cxx_werror_flag"
59310                          || test ! -s conftest.err'
59311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59312   (eval $ac_try) 2>&5
59313   ac_status=$?
59314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59315   (exit $ac_status); }; } &&
59316          { ac_try='test -s conftest.$ac_objext'
59317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59318   (eval $ac_try) 2>&5
59319   ac_status=$?
59320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59321   (exit $ac_status); }; }; then
59322   glibcxx_cv_func_frexpf_use=yes
59323 else
59324   echo "$as_me: failed program was:" >&5
59325 sed 's/^/| /' conftest.$ac_ext >&5
59326
59327 glibcxx_cv_func_frexpf_use=no
59328 fi
59329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59330       ac_ext=c
59331 ac_cpp='$CPP $CPPFLAGS'
59332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59335
59336
59337 fi
59338
59339   fi
59340   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
59341 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
59342
59343   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59344
59345 for ac_func in frexpf
59346 do
59347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59348 echo "$as_me:$LINENO: checking for $ac_func" >&5
59349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59350 if eval "test \"\${$as_ac_var+set}\" = set"; then
59351   echo $ECHO_N "(cached) $ECHO_C" >&6
59352 else
59353   if test x$gcc_no_link = xyes; then
59354   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59356    { (exit 1); exit 1; }; }
59357 fi
59358 cat >conftest.$ac_ext <<_ACEOF
59359 /* confdefs.h.  */
59360 _ACEOF
59361 cat confdefs.h >>conftest.$ac_ext
59362 cat >>conftest.$ac_ext <<_ACEOF
59363 /* end confdefs.h.  */
59364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59365    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59366 #define $ac_func innocuous_$ac_func
59367
59368 /* System header to define __stub macros and hopefully few prototypes,
59369     which can conflict with char $ac_func (); below.
59370     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59371     <limits.h> exists even on freestanding compilers.  */
59372
59373 #ifdef __STDC__
59374 # include <limits.h>
59375 #else
59376 # include <assert.h>
59377 #endif
59378
59379 #undef $ac_func
59380
59381 /* Override any gcc2 internal prototype to avoid an error.  */
59382 #ifdef __cplusplus
59383 extern "C"
59384 {
59385 #endif
59386 /* We use char because int might match the return type of a gcc2
59387    builtin and then its argument prototype would still apply.  */
59388 char $ac_func ();
59389 /* The GNU C library defines this for functions which it implements
59390     to always fail with ENOSYS.  Some functions are actually named
59391     something starting with __ and the normal name is an alias.  */
59392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59393 choke me
59394 #else
59395 char (*f) () = $ac_func;
59396 #endif
59397 #ifdef __cplusplus
59398 }
59399 #endif
59400
59401 int
59402 main ()
59403 {
59404 return f != $ac_func;
59405   ;
59406   return 0;
59407 }
59408 _ACEOF
59409 rm -f conftest.$ac_objext conftest$ac_exeext
59410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59411   (eval $ac_link) 2>conftest.er1
59412   ac_status=$?
59413   grep -v '^ *+' conftest.er1 >conftest.err
59414   rm -f conftest.er1
59415   cat conftest.err >&5
59416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59417   (exit $ac_status); } &&
59418          { ac_try='test -z "$ac_c_werror_flag"
59419                          || test ! -s conftest.err'
59420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59421   (eval $ac_try) 2>&5
59422   ac_status=$?
59423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59424   (exit $ac_status); }; } &&
59425          { ac_try='test -s conftest$ac_exeext'
59426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59427   (eval $ac_try) 2>&5
59428   ac_status=$?
59429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59430   (exit $ac_status); }; }; then
59431   eval "$as_ac_var=yes"
59432 else
59433   echo "$as_me: failed program was:" >&5
59434 sed 's/^/| /' conftest.$ac_ext >&5
59435
59436 eval "$as_ac_var=no"
59437 fi
59438 rm -f conftest.err conftest.$ac_objext \
59439       conftest$ac_exeext conftest.$ac_ext
59440 fi
59441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59443 if test `eval echo '${'$as_ac_var'}'` = yes; then
59444   cat >>confdefs.h <<_ACEOF
59445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59446 _ACEOF
59447
59448 fi
59449 done
59450
59451   else
59452
59453   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
59454 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
59455   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59456     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
59457   echo $ECHO_N "(cached) $ECHO_C" >&6
59458 else
59459
59460
59461
59462       ac_ext=cc
59463 ac_cpp='$CXXCPP $CPPFLAGS'
59464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59467
59468       cat >conftest.$ac_ext <<_ACEOF
59469 /* confdefs.h.  */
59470 _ACEOF
59471 cat confdefs.h >>conftest.$ac_ext
59472 cat >>conftest.$ac_ext <<_ACEOF
59473 /* end confdefs.h.  */
59474 #include <math.h>
59475 int
59476 main ()
59477 {
59478  _frexpf(0, 0);
59479   ;
59480   return 0;
59481 }
59482 _ACEOF
59483 rm -f conftest.$ac_objext
59484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59485   (eval $ac_compile) 2>conftest.er1
59486   ac_status=$?
59487   grep -v '^ *+' conftest.er1 >conftest.err
59488   rm -f conftest.er1
59489   cat conftest.err >&5
59490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59491   (exit $ac_status); } &&
59492          { ac_try='test -z "$ac_cxx_werror_flag"
59493                          || test ! -s conftest.err'
59494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59495   (eval $ac_try) 2>&5
59496   ac_status=$?
59497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59498   (exit $ac_status); }; } &&
59499          { ac_try='test -s conftest.$ac_objext'
59500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59501   (eval $ac_try) 2>&5
59502   ac_status=$?
59503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59504   (exit $ac_status); }; }; then
59505   glibcxx_cv_func__frexpf_use=yes
59506 else
59507   echo "$as_me: failed program was:" >&5
59508 sed 's/^/| /' conftest.$ac_ext >&5
59509
59510 glibcxx_cv_func__frexpf_use=no
59511 fi
59512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59513       ac_ext=c
59514 ac_cpp='$CPP $CPPFLAGS'
59515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59518
59519
59520 fi
59521
59522   fi
59523   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
59524 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
59525
59526     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59527
59528 for ac_func in _frexpf
59529 do
59530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59531 echo "$as_me:$LINENO: checking for $ac_func" >&5
59532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59533 if eval "test \"\${$as_ac_var+set}\" = set"; then
59534   echo $ECHO_N "(cached) $ECHO_C" >&6
59535 else
59536   if test x$gcc_no_link = xyes; then
59537   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59538 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59539    { (exit 1); exit 1; }; }
59540 fi
59541 cat >conftest.$ac_ext <<_ACEOF
59542 /* confdefs.h.  */
59543 _ACEOF
59544 cat confdefs.h >>conftest.$ac_ext
59545 cat >>conftest.$ac_ext <<_ACEOF
59546 /* end confdefs.h.  */
59547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59548    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59549 #define $ac_func innocuous_$ac_func
59550
59551 /* System header to define __stub macros and hopefully few prototypes,
59552     which can conflict with char $ac_func (); below.
59553     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59554     <limits.h> exists even on freestanding compilers.  */
59555
59556 #ifdef __STDC__
59557 # include <limits.h>
59558 #else
59559 # include <assert.h>
59560 #endif
59561
59562 #undef $ac_func
59563
59564 /* Override any gcc2 internal prototype to avoid an error.  */
59565 #ifdef __cplusplus
59566 extern "C"
59567 {
59568 #endif
59569 /* We use char because int might match the return type of a gcc2
59570    builtin and then its argument prototype would still apply.  */
59571 char $ac_func ();
59572 /* The GNU C library defines this for functions which it implements
59573     to always fail with ENOSYS.  Some functions are actually named
59574     something starting with __ and the normal name is an alias.  */
59575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59576 choke me
59577 #else
59578 char (*f) () = $ac_func;
59579 #endif
59580 #ifdef __cplusplus
59581 }
59582 #endif
59583
59584 int
59585 main ()
59586 {
59587 return f != $ac_func;
59588   ;
59589   return 0;
59590 }
59591 _ACEOF
59592 rm -f conftest.$ac_objext conftest$ac_exeext
59593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59594   (eval $ac_link) 2>conftest.er1
59595   ac_status=$?
59596   grep -v '^ *+' conftest.er1 >conftest.err
59597   rm -f conftest.er1
59598   cat conftest.err >&5
59599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59600   (exit $ac_status); } &&
59601          { ac_try='test -z "$ac_c_werror_flag"
59602                          || test ! -s conftest.err'
59603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59604   (eval $ac_try) 2>&5
59605   ac_status=$?
59606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59607   (exit $ac_status); }; } &&
59608          { ac_try='test -s conftest$ac_exeext'
59609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59610   (eval $ac_try) 2>&5
59611   ac_status=$?
59612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59613   (exit $ac_status); }; }; then
59614   eval "$as_ac_var=yes"
59615 else
59616   echo "$as_me: failed program was:" >&5
59617 sed 's/^/| /' conftest.$ac_ext >&5
59618
59619 eval "$as_ac_var=no"
59620 fi
59621 rm -f conftest.err conftest.$ac_objext \
59622       conftest$ac_exeext conftest.$ac_ext
59623 fi
59624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59626 if test `eval echo '${'$as_ac_var'}'` = yes; then
59627   cat >>confdefs.h <<_ACEOF
59628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59629 _ACEOF
59630
59631 fi
59632 done
59633
59634     fi
59635   fi
59636
59637
59638
59639   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
59640 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
59641   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59642     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
59643   echo $ECHO_N "(cached) $ECHO_C" >&6
59644 else
59645
59646
59647
59648       ac_ext=cc
59649 ac_cpp='$CXXCPP $CPPFLAGS'
59650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59653
59654       cat >conftest.$ac_ext <<_ACEOF
59655 /* confdefs.h.  */
59656 _ACEOF
59657 cat confdefs.h >>conftest.$ac_ext
59658 cat >>conftest.$ac_ext <<_ACEOF
59659 /* end confdefs.h.  */
59660 #include <math.h>
59661 int
59662 main ()
59663 {
59664  hypotf(0, 0);
59665   ;
59666   return 0;
59667 }
59668 _ACEOF
59669 rm -f conftest.$ac_objext
59670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59671   (eval $ac_compile) 2>conftest.er1
59672   ac_status=$?
59673   grep -v '^ *+' conftest.er1 >conftest.err
59674   rm -f conftest.er1
59675   cat conftest.err >&5
59676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59677   (exit $ac_status); } &&
59678          { ac_try='test -z "$ac_cxx_werror_flag"
59679                          || test ! -s conftest.err'
59680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59681   (eval $ac_try) 2>&5
59682   ac_status=$?
59683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59684   (exit $ac_status); }; } &&
59685          { ac_try='test -s conftest.$ac_objext'
59686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59687   (eval $ac_try) 2>&5
59688   ac_status=$?
59689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59690   (exit $ac_status); }; }; then
59691   glibcxx_cv_func_hypotf_use=yes
59692 else
59693   echo "$as_me: failed program was:" >&5
59694 sed 's/^/| /' conftest.$ac_ext >&5
59695
59696 glibcxx_cv_func_hypotf_use=no
59697 fi
59698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59699       ac_ext=c
59700 ac_cpp='$CPP $CPPFLAGS'
59701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59704
59705
59706 fi
59707
59708   fi
59709   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
59710 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
59711
59712   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59713
59714 for ac_func in hypotf
59715 do
59716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59717 echo "$as_me:$LINENO: checking for $ac_func" >&5
59718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59719 if eval "test \"\${$as_ac_var+set}\" = set"; then
59720   echo $ECHO_N "(cached) $ECHO_C" >&6
59721 else
59722   if test x$gcc_no_link = xyes; then
59723   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59725    { (exit 1); exit 1; }; }
59726 fi
59727 cat >conftest.$ac_ext <<_ACEOF
59728 /* confdefs.h.  */
59729 _ACEOF
59730 cat confdefs.h >>conftest.$ac_ext
59731 cat >>conftest.$ac_ext <<_ACEOF
59732 /* end confdefs.h.  */
59733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59734    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59735 #define $ac_func innocuous_$ac_func
59736
59737 /* System header to define __stub macros and hopefully few prototypes,
59738     which can conflict with char $ac_func (); below.
59739     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59740     <limits.h> exists even on freestanding compilers.  */
59741
59742 #ifdef __STDC__
59743 # include <limits.h>
59744 #else
59745 # include <assert.h>
59746 #endif
59747
59748 #undef $ac_func
59749
59750 /* Override any gcc2 internal prototype to avoid an error.  */
59751 #ifdef __cplusplus
59752 extern "C"
59753 {
59754 #endif
59755 /* We use char because int might match the return type of a gcc2
59756    builtin and then its argument prototype would still apply.  */
59757 char $ac_func ();
59758 /* The GNU C library defines this for functions which it implements
59759     to always fail with ENOSYS.  Some functions are actually named
59760     something starting with __ and the normal name is an alias.  */
59761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59762 choke me
59763 #else
59764 char (*f) () = $ac_func;
59765 #endif
59766 #ifdef __cplusplus
59767 }
59768 #endif
59769
59770 int
59771 main ()
59772 {
59773 return f != $ac_func;
59774   ;
59775   return 0;
59776 }
59777 _ACEOF
59778 rm -f conftest.$ac_objext conftest$ac_exeext
59779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59780   (eval $ac_link) 2>conftest.er1
59781   ac_status=$?
59782   grep -v '^ *+' conftest.er1 >conftest.err
59783   rm -f conftest.er1
59784   cat conftest.err >&5
59785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59786   (exit $ac_status); } &&
59787          { ac_try='test -z "$ac_c_werror_flag"
59788                          || test ! -s conftest.err'
59789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59790   (eval $ac_try) 2>&5
59791   ac_status=$?
59792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59793   (exit $ac_status); }; } &&
59794          { ac_try='test -s conftest$ac_exeext'
59795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59796   (eval $ac_try) 2>&5
59797   ac_status=$?
59798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59799   (exit $ac_status); }; }; then
59800   eval "$as_ac_var=yes"
59801 else
59802   echo "$as_me: failed program was:" >&5
59803 sed 's/^/| /' conftest.$ac_ext >&5
59804
59805 eval "$as_ac_var=no"
59806 fi
59807 rm -f conftest.err conftest.$ac_objext \
59808       conftest$ac_exeext conftest.$ac_ext
59809 fi
59810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59812 if test `eval echo '${'$as_ac_var'}'` = yes; then
59813   cat >>confdefs.h <<_ACEOF
59814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59815 _ACEOF
59816
59817 fi
59818 done
59819
59820   else
59821
59822   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
59823 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
59824   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59825     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
59826   echo $ECHO_N "(cached) $ECHO_C" >&6
59827 else
59828
59829
59830
59831       ac_ext=cc
59832 ac_cpp='$CXXCPP $CPPFLAGS'
59833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59836
59837       cat >conftest.$ac_ext <<_ACEOF
59838 /* confdefs.h.  */
59839 _ACEOF
59840 cat confdefs.h >>conftest.$ac_ext
59841 cat >>conftest.$ac_ext <<_ACEOF
59842 /* end confdefs.h.  */
59843 #include <math.h>
59844 int
59845 main ()
59846 {
59847  _hypotf(0, 0);
59848   ;
59849   return 0;
59850 }
59851 _ACEOF
59852 rm -f conftest.$ac_objext
59853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59854   (eval $ac_compile) 2>conftest.er1
59855   ac_status=$?
59856   grep -v '^ *+' conftest.er1 >conftest.err
59857   rm -f conftest.er1
59858   cat conftest.err >&5
59859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59860   (exit $ac_status); } &&
59861          { ac_try='test -z "$ac_cxx_werror_flag"
59862                          || test ! -s conftest.err'
59863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59864   (eval $ac_try) 2>&5
59865   ac_status=$?
59866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59867   (exit $ac_status); }; } &&
59868          { ac_try='test -s conftest.$ac_objext'
59869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59870   (eval $ac_try) 2>&5
59871   ac_status=$?
59872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59873   (exit $ac_status); }; }; then
59874   glibcxx_cv_func__hypotf_use=yes
59875 else
59876   echo "$as_me: failed program was:" >&5
59877 sed 's/^/| /' conftest.$ac_ext >&5
59878
59879 glibcxx_cv_func__hypotf_use=no
59880 fi
59881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59882       ac_ext=c
59883 ac_cpp='$CPP $CPPFLAGS'
59884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59887
59888
59889 fi
59890
59891   fi
59892   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
59893 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
59894
59895     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59896
59897 for ac_func in _hypotf
59898 do
59899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59900 echo "$as_me:$LINENO: checking for $ac_func" >&5
59901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59902 if eval "test \"\${$as_ac_var+set}\" = set"; then
59903   echo $ECHO_N "(cached) $ECHO_C" >&6
59904 else
59905   if test x$gcc_no_link = xyes; then
59906   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59908    { (exit 1); exit 1; }; }
59909 fi
59910 cat >conftest.$ac_ext <<_ACEOF
59911 /* confdefs.h.  */
59912 _ACEOF
59913 cat confdefs.h >>conftest.$ac_ext
59914 cat >>conftest.$ac_ext <<_ACEOF
59915 /* end confdefs.h.  */
59916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59917    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59918 #define $ac_func innocuous_$ac_func
59919
59920 /* System header to define __stub macros and hopefully few prototypes,
59921     which can conflict with char $ac_func (); below.
59922     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59923     <limits.h> exists even on freestanding compilers.  */
59924
59925 #ifdef __STDC__
59926 # include <limits.h>
59927 #else
59928 # include <assert.h>
59929 #endif
59930
59931 #undef $ac_func
59932
59933 /* Override any gcc2 internal prototype to avoid an error.  */
59934 #ifdef __cplusplus
59935 extern "C"
59936 {
59937 #endif
59938 /* We use char because int might match the return type of a gcc2
59939    builtin and then its argument prototype would still apply.  */
59940 char $ac_func ();
59941 /* The GNU C library defines this for functions which it implements
59942     to always fail with ENOSYS.  Some functions are actually named
59943     something starting with __ and the normal name is an alias.  */
59944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59945 choke me
59946 #else
59947 char (*f) () = $ac_func;
59948 #endif
59949 #ifdef __cplusplus
59950 }
59951 #endif
59952
59953 int
59954 main ()
59955 {
59956 return f != $ac_func;
59957   ;
59958   return 0;
59959 }
59960 _ACEOF
59961 rm -f conftest.$ac_objext conftest$ac_exeext
59962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59963   (eval $ac_link) 2>conftest.er1
59964   ac_status=$?
59965   grep -v '^ *+' conftest.er1 >conftest.err
59966   rm -f conftest.er1
59967   cat conftest.err >&5
59968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59969   (exit $ac_status); } &&
59970          { ac_try='test -z "$ac_c_werror_flag"
59971                          || test ! -s conftest.err'
59972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59973   (eval $ac_try) 2>&5
59974   ac_status=$?
59975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59976   (exit $ac_status); }; } &&
59977          { ac_try='test -s conftest$ac_exeext'
59978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59979   (eval $ac_try) 2>&5
59980   ac_status=$?
59981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59982   (exit $ac_status); }; }; then
59983   eval "$as_ac_var=yes"
59984 else
59985   echo "$as_me: failed program was:" >&5
59986 sed 's/^/| /' conftest.$ac_ext >&5
59987
59988 eval "$as_ac_var=no"
59989 fi
59990 rm -f conftest.err conftest.$ac_objext \
59991       conftest$ac_exeext conftest.$ac_ext
59992 fi
59993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59995 if test `eval echo '${'$as_ac_var'}'` = yes; then
59996   cat >>confdefs.h <<_ACEOF
59997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59998 _ACEOF
59999
60000 fi
60001 done
60002
60003     fi
60004   fi
60005
60006
60007
60008   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
60009 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
60010   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60011     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
60012   echo $ECHO_N "(cached) $ECHO_C" >&6
60013 else
60014
60015
60016
60017       ac_ext=cc
60018 ac_cpp='$CXXCPP $CPPFLAGS'
60019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60022
60023       cat >conftest.$ac_ext <<_ACEOF
60024 /* confdefs.h.  */
60025 _ACEOF
60026 cat confdefs.h >>conftest.$ac_ext
60027 cat >>conftest.$ac_ext <<_ACEOF
60028 /* end confdefs.h.  */
60029 #include <math.h>
60030 int
60031 main ()
60032 {
60033  ldexpf(0, 0);
60034   ;
60035   return 0;
60036 }
60037 _ACEOF
60038 rm -f conftest.$ac_objext
60039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60040   (eval $ac_compile) 2>conftest.er1
60041   ac_status=$?
60042   grep -v '^ *+' conftest.er1 >conftest.err
60043   rm -f conftest.er1
60044   cat conftest.err >&5
60045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60046   (exit $ac_status); } &&
60047          { ac_try='test -z "$ac_cxx_werror_flag"
60048                          || test ! -s conftest.err'
60049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60050   (eval $ac_try) 2>&5
60051   ac_status=$?
60052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60053   (exit $ac_status); }; } &&
60054          { ac_try='test -s conftest.$ac_objext'
60055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60056   (eval $ac_try) 2>&5
60057   ac_status=$?
60058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60059   (exit $ac_status); }; }; then
60060   glibcxx_cv_func_ldexpf_use=yes
60061 else
60062   echo "$as_me: failed program was:" >&5
60063 sed 's/^/| /' conftest.$ac_ext >&5
60064
60065 glibcxx_cv_func_ldexpf_use=no
60066 fi
60067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60068       ac_ext=c
60069 ac_cpp='$CPP $CPPFLAGS'
60070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60073
60074
60075 fi
60076
60077   fi
60078   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
60079 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
60080
60081   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60082
60083 for ac_func in ldexpf
60084 do
60085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60086 echo "$as_me:$LINENO: checking for $ac_func" >&5
60087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60088 if eval "test \"\${$as_ac_var+set}\" = set"; then
60089   echo $ECHO_N "(cached) $ECHO_C" >&6
60090 else
60091   if test x$gcc_no_link = xyes; then
60092   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60094    { (exit 1); exit 1; }; }
60095 fi
60096 cat >conftest.$ac_ext <<_ACEOF
60097 /* confdefs.h.  */
60098 _ACEOF
60099 cat confdefs.h >>conftest.$ac_ext
60100 cat >>conftest.$ac_ext <<_ACEOF
60101 /* end confdefs.h.  */
60102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60103    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60104 #define $ac_func innocuous_$ac_func
60105
60106 /* System header to define __stub macros and hopefully few prototypes,
60107     which can conflict with char $ac_func (); below.
60108     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60109     <limits.h> exists even on freestanding compilers.  */
60110
60111 #ifdef __STDC__
60112 # include <limits.h>
60113 #else
60114 # include <assert.h>
60115 #endif
60116
60117 #undef $ac_func
60118
60119 /* Override any gcc2 internal prototype to avoid an error.  */
60120 #ifdef __cplusplus
60121 extern "C"
60122 {
60123 #endif
60124 /* We use char because int might match the return type of a gcc2
60125    builtin and then its argument prototype would still apply.  */
60126 char $ac_func ();
60127 /* The GNU C library defines this for functions which it implements
60128     to always fail with ENOSYS.  Some functions are actually named
60129     something starting with __ and the normal name is an alias.  */
60130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60131 choke me
60132 #else
60133 char (*f) () = $ac_func;
60134 #endif
60135 #ifdef __cplusplus
60136 }
60137 #endif
60138
60139 int
60140 main ()
60141 {
60142 return f != $ac_func;
60143   ;
60144   return 0;
60145 }
60146 _ACEOF
60147 rm -f conftest.$ac_objext conftest$ac_exeext
60148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60149   (eval $ac_link) 2>conftest.er1
60150   ac_status=$?
60151   grep -v '^ *+' conftest.er1 >conftest.err
60152   rm -f conftest.er1
60153   cat conftest.err >&5
60154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60155   (exit $ac_status); } &&
60156          { ac_try='test -z "$ac_c_werror_flag"
60157                          || test ! -s conftest.err'
60158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60159   (eval $ac_try) 2>&5
60160   ac_status=$?
60161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60162   (exit $ac_status); }; } &&
60163          { ac_try='test -s conftest$ac_exeext'
60164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60165   (eval $ac_try) 2>&5
60166   ac_status=$?
60167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60168   (exit $ac_status); }; }; then
60169   eval "$as_ac_var=yes"
60170 else
60171   echo "$as_me: failed program was:" >&5
60172 sed 's/^/| /' conftest.$ac_ext >&5
60173
60174 eval "$as_ac_var=no"
60175 fi
60176 rm -f conftest.err conftest.$ac_objext \
60177       conftest$ac_exeext conftest.$ac_ext
60178 fi
60179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60181 if test `eval echo '${'$as_ac_var'}'` = yes; then
60182   cat >>confdefs.h <<_ACEOF
60183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60184 _ACEOF
60185
60186 fi
60187 done
60188
60189   else
60190
60191   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
60192 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
60193   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60194     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
60195   echo $ECHO_N "(cached) $ECHO_C" >&6
60196 else
60197
60198
60199
60200       ac_ext=cc
60201 ac_cpp='$CXXCPP $CPPFLAGS'
60202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60205
60206       cat >conftest.$ac_ext <<_ACEOF
60207 /* confdefs.h.  */
60208 _ACEOF
60209 cat confdefs.h >>conftest.$ac_ext
60210 cat >>conftest.$ac_ext <<_ACEOF
60211 /* end confdefs.h.  */
60212 #include <math.h>
60213 int
60214 main ()
60215 {
60216  _ldexpf(0, 0);
60217   ;
60218   return 0;
60219 }
60220 _ACEOF
60221 rm -f conftest.$ac_objext
60222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60223   (eval $ac_compile) 2>conftest.er1
60224   ac_status=$?
60225   grep -v '^ *+' conftest.er1 >conftest.err
60226   rm -f conftest.er1
60227   cat conftest.err >&5
60228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60229   (exit $ac_status); } &&
60230          { ac_try='test -z "$ac_cxx_werror_flag"
60231                          || test ! -s conftest.err'
60232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60233   (eval $ac_try) 2>&5
60234   ac_status=$?
60235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60236   (exit $ac_status); }; } &&
60237          { ac_try='test -s conftest.$ac_objext'
60238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60239   (eval $ac_try) 2>&5
60240   ac_status=$?
60241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60242   (exit $ac_status); }; }; then
60243   glibcxx_cv_func__ldexpf_use=yes
60244 else
60245   echo "$as_me: failed program was:" >&5
60246 sed 's/^/| /' conftest.$ac_ext >&5
60247
60248 glibcxx_cv_func__ldexpf_use=no
60249 fi
60250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60251       ac_ext=c
60252 ac_cpp='$CPP $CPPFLAGS'
60253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60256
60257
60258 fi
60259
60260   fi
60261   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
60262 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
60263
60264     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60265
60266 for ac_func in _ldexpf
60267 do
60268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60269 echo "$as_me:$LINENO: checking for $ac_func" >&5
60270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60271 if eval "test \"\${$as_ac_var+set}\" = set"; then
60272   echo $ECHO_N "(cached) $ECHO_C" >&6
60273 else
60274   if test x$gcc_no_link = xyes; then
60275   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60277    { (exit 1); exit 1; }; }
60278 fi
60279 cat >conftest.$ac_ext <<_ACEOF
60280 /* confdefs.h.  */
60281 _ACEOF
60282 cat confdefs.h >>conftest.$ac_ext
60283 cat >>conftest.$ac_ext <<_ACEOF
60284 /* end confdefs.h.  */
60285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60286    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60287 #define $ac_func innocuous_$ac_func
60288
60289 /* System header to define __stub macros and hopefully few prototypes,
60290     which can conflict with char $ac_func (); below.
60291     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60292     <limits.h> exists even on freestanding compilers.  */
60293
60294 #ifdef __STDC__
60295 # include <limits.h>
60296 #else
60297 # include <assert.h>
60298 #endif
60299
60300 #undef $ac_func
60301
60302 /* Override any gcc2 internal prototype to avoid an error.  */
60303 #ifdef __cplusplus
60304 extern "C"
60305 {
60306 #endif
60307 /* We use char because int might match the return type of a gcc2
60308    builtin and then its argument prototype would still apply.  */
60309 char $ac_func ();
60310 /* The GNU C library defines this for functions which it implements
60311     to always fail with ENOSYS.  Some functions are actually named
60312     something starting with __ and the normal name is an alias.  */
60313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60314 choke me
60315 #else
60316 char (*f) () = $ac_func;
60317 #endif
60318 #ifdef __cplusplus
60319 }
60320 #endif
60321
60322 int
60323 main ()
60324 {
60325 return f != $ac_func;
60326   ;
60327   return 0;
60328 }
60329 _ACEOF
60330 rm -f conftest.$ac_objext conftest$ac_exeext
60331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60332   (eval $ac_link) 2>conftest.er1
60333   ac_status=$?
60334   grep -v '^ *+' conftest.er1 >conftest.err
60335   rm -f conftest.er1
60336   cat conftest.err >&5
60337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60338   (exit $ac_status); } &&
60339          { ac_try='test -z "$ac_c_werror_flag"
60340                          || test ! -s conftest.err'
60341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60342   (eval $ac_try) 2>&5
60343   ac_status=$?
60344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60345   (exit $ac_status); }; } &&
60346          { ac_try='test -s conftest$ac_exeext'
60347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60348   (eval $ac_try) 2>&5
60349   ac_status=$?
60350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60351   (exit $ac_status); }; }; then
60352   eval "$as_ac_var=yes"
60353 else
60354   echo "$as_me: failed program was:" >&5
60355 sed 's/^/| /' conftest.$ac_ext >&5
60356
60357 eval "$as_ac_var=no"
60358 fi
60359 rm -f conftest.err conftest.$ac_objext \
60360       conftest$ac_exeext conftest.$ac_ext
60361 fi
60362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60364 if test `eval echo '${'$as_ac_var'}'` = yes; then
60365   cat >>confdefs.h <<_ACEOF
60366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60367 _ACEOF
60368
60369 fi
60370 done
60371
60372     fi
60373   fi
60374
60375
60376
60377   echo "$as_me:$LINENO: checking for logf declaration" >&5
60378 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
60379   if test x${glibcxx_cv_func_logf_use+set} != xset; then
60380     if test "${glibcxx_cv_func_logf_use+set}" = set; then
60381   echo $ECHO_N "(cached) $ECHO_C" >&6
60382 else
60383
60384
60385
60386       ac_ext=cc
60387 ac_cpp='$CXXCPP $CPPFLAGS'
60388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60391
60392       cat >conftest.$ac_ext <<_ACEOF
60393 /* confdefs.h.  */
60394 _ACEOF
60395 cat confdefs.h >>conftest.$ac_ext
60396 cat >>conftest.$ac_ext <<_ACEOF
60397 /* end confdefs.h.  */
60398 #include <math.h>
60399                       #ifdef HAVE_IEEEFP_H
60400                       #include <ieeefp.h>
60401                       #endif
60402
60403 int
60404 main ()
60405 {
60406  logf(0);
60407   ;
60408   return 0;
60409 }
60410 _ACEOF
60411 rm -f conftest.$ac_objext
60412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60413   (eval $ac_compile) 2>conftest.er1
60414   ac_status=$?
60415   grep -v '^ *+' conftest.er1 >conftest.err
60416   rm -f conftest.er1
60417   cat conftest.err >&5
60418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60419   (exit $ac_status); } &&
60420          { ac_try='test -z "$ac_cxx_werror_flag"
60421                          || test ! -s conftest.err'
60422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60423   (eval $ac_try) 2>&5
60424   ac_status=$?
60425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60426   (exit $ac_status); }; } &&
60427          { ac_try='test -s conftest.$ac_objext'
60428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60429   (eval $ac_try) 2>&5
60430   ac_status=$?
60431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60432   (exit $ac_status); }; }; then
60433   glibcxx_cv_func_logf_use=yes
60434 else
60435   echo "$as_me: failed program was:" >&5
60436 sed 's/^/| /' conftest.$ac_ext >&5
60437
60438 glibcxx_cv_func_logf_use=no
60439 fi
60440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60441       ac_ext=c
60442 ac_cpp='$CPP $CPPFLAGS'
60443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60446
60447
60448 fi
60449
60450   fi
60451   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
60452 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
60453
60454   if test x$glibcxx_cv_func_logf_use = x"yes"; then
60455
60456 for ac_func in logf
60457 do
60458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60459 echo "$as_me:$LINENO: checking for $ac_func" >&5
60460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60461 if eval "test \"\${$as_ac_var+set}\" = set"; then
60462   echo $ECHO_N "(cached) $ECHO_C" >&6
60463 else
60464   if test x$gcc_no_link = xyes; then
60465   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60467    { (exit 1); exit 1; }; }
60468 fi
60469 cat >conftest.$ac_ext <<_ACEOF
60470 /* confdefs.h.  */
60471 _ACEOF
60472 cat confdefs.h >>conftest.$ac_ext
60473 cat >>conftest.$ac_ext <<_ACEOF
60474 /* end confdefs.h.  */
60475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60476    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60477 #define $ac_func innocuous_$ac_func
60478
60479 /* System header to define __stub macros and hopefully few prototypes,
60480     which can conflict with char $ac_func (); below.
60481     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60482     <limits.h> exists even on freestanding compilers.  */
60483
60484 #ifdef __STDC__
60485 # include <limits.h>
60486 #else
60487 # include <assert.h>
60488 #endif
60489
60490 #undef $ac_func
60491
60492 /* Override any gcc2 internal prototype to avoid an error.  */
60493 #ifdef __cplusplus
60494 extern "C"
60495 {
60496 #endif
60497 /* We use char because int might match the return type of a gcc2
60498    builtin and then its argument prototype would still apply.  */
60499 char $ac_func ();
60500 /* The GNU C library defines this for functions which it implements
60501     to always fail with ENOSYS.  Some functions are actually named
60502     something starting with __ and the normal name is an alias.  */
60503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60504 choke me
60505 #else
60506 char (*f) () = $ac_func;
60507 #endif
60508 #ifdef __cplusplus
60509 }
60510 #endif
60511
60512 int
60513 main ()
60514 {
60515 return f != $ac_func;
60516   ;
60517   return 0;
60518 }
60519 _ACEOF
60520 rm -f conftest.$ac_objext conftest$ac_exeext
60521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60522   (eval $ac_link) 2>conftest.er1
60523   ac_status=$?
60524   grep -v '^ *+' conftest.er1 >conftest.err
60525   rm -f conftest.er1
60526   cat conftest.err >&5
60527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60528   (exit $ac_status); } &&
60529          { ac_try='test -z "$ac_c_werror_flag"
60530                          || test ! -s conftest.err'
60531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60532   (eval $ac_try) 2>&5
60533   ac_status=$?
60534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60535   (exit $ac_status); }; } &&
60536          { ac_try='test -s conftest$ac_exeext'
60537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60538   (eval $ac_try) 2>&5
60539   ac_status=$?
60540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60541   (exit $ac_status); }; }; then
60542   eval "$as_ac_var=yes"
60543 else
60544   echo "$as_me: failed program was:" >&5
60545 sed 's/^/| /' conftest.$ac_ext >&5
60546
60547 eval "$as_ac_var=no"
60548 fi
60549 rm -f conftest.err conftest.$ac_objext \
60550       conftest$ac_exeext conftest.$ac_ext
60551 fi
60552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60554 if test `eval echo '${'$as_ac_var'}'` = yes; then
60555   cat >>confdefs.h <<_ACEOF
60556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60557 _ACEOF
60558
60559 fi
60560 done
60561
60562   else
60563
60564   echo "$as_me:$LINENO: checking for _logf declaration" >&5
60565 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
60566   if test x${glibcxx_cv_func__logf_use+set} != xset; then
60567     if test "${glibcxx_cv_func__logf_use+set}" = set; then
60568   echo $ECHO_N "(cached) $ECHO_C" >&6
60569 else
60570
60571
60572
60573       ac_ext=cc
60574 ac_cpp='$CXXCPP $CPPFLAGS'
60575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60578
60579       cat >conftest.$ac_ext <<_ACEOF
60580 /* confdefs.h.  */
60581 _ACEOF
60582 cat confdefs.h >>conftest.$ac_ext
60583 cat >>conftest.$ac_ext <<_ACEOF
60584 /* end confdefs.h.  */
60585 #include <math.h>
60586                       #ifdef HAVE_IEEEFP_H
60587                       #include <ieeefp.h>
60588                       #endif
60589
60590 int
60591 main ()
60592 {
60593  _logf(0);
60594   ;
60595   return 0;
60596 }
60597 _ACEOF
60598 rm -f conftest.$ac_objext
60599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60600   (eval $ac_compile) 2>conftest.er1
60601   ac_status=$?
60602   grep -v '^ *+' conftest.er1 >conftest.err
60603   rm -f conftest.er1
60604   cat conftest.err >&5
60605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60606   (exit $ac_status); } &&
60607          { ac_try='test -z "$ac_cxx_werror_flag"
60608                          || test ! -s conftest.err'
60609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60610   (eval $ac_try) 2>&5
60611   ac_status=$?
60612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60613   (exit $ac_status); }; } &&
60614          { ac_try='test -s conftest.$ac_objext'
60615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60616   (eval $ac_try) 2>&5
60617   ac_status=$?
60618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60619   (exit $ac_status); }; }; then
60620   glibcxx_cv_func__logf_use=yes
60621 else
60622   echo "$as_me: failed program was:" >&5
60623 sed 's/^/| /' conftest.$ac_ext >&5
60624
60625 glibcxx_cv_func__logf_use=no
60626 fi
60627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60628       ac_ext=c
60629 ac_cpp='$CPP $CPPFLAGS'
60630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60633
60634
60635 fi
60636
60637   fi
60638   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
60639 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
60640
60641     if test x$glibcxx_cv_func__logf_use = x"yes"; then
60642
60643 for ac_func in _logf
60644 do
60645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60646 echo "$as_me:$LINENO: checking for $ac_func" >&5
60647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60648 if eval "test \"\${$as_ac_var+set}\" = set"; then
60649   echo $ECHO_N "(cached) $ECHO_C" >&6
60650 else
60651   if test x$gcc_no_link = xyes; then
60652   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60654    { (exit 1); exit 1; }; }
60655 fi
60656 cat >conftest.$ac_ext <<_ACEOF
60657 /* confdefs.h.  */
60658 _ACEOF
60659 cat confdefs.h >>conftest.$ac_ext
60660 cat >>conftest.$ac_ext <<_ACEOF
60661 /* end confdefs.h.  */
60662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60663    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60664 #define $ac_func innocuous_$ac_func
60665
60666 /* System header to define __stub macros and hopefully few prototypes,
60667     which can conflict with char $ac_func (); below.
60668     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60669     <limits.h> exists even on freestanding compilers.  */
60670
60671 #ifdef __STDC__
60672 # include <limits.h>
60673 #else
60674 # include <assert.h>
60675 #endif
60676
60677 #undef $ac_func
60678
60679 /* Override any gcc2 internal prototype to avoid an error.  */
60680 #ifdef __cplusplus
60681 extern "C"
60682 {
60683 #endif
60684 /* We use char because int might match the return type of a gcc2
60685    builtin and then its argument prototype would still apply.  */
60686 char $ac_func ();
60687 /* The GNU C library defines this for functions which it implements
60688     to always fail with ENOSYS.  Some functions are actually named
60689     something starting with __ and the normal name is an alias.  */
60690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60691 choke me
60692 #else
60693 char (*f) () = $ac_func;
60694 #endif
60695 #ifdef __cplusplus
60696 }
60697 #endif
60698
60699 int
60700 main ()
60701 {
60702 return f != $ac_func;
60703   ;
60704   return 0;
60705 }
60706 _ACEOF
60707 rm -f conftest.$ac_objext conftest$ac_exeext
60708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60709   (eval $ac_link) 2>conftest.er1
60710   ac_status=$?
60711   grep -v '^ *+' conftest.er1 >conftest.err
60712   rm -f conftest.er1
60713   cat conftest.err >&5
60714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60715   (exit $ac_status); } &&
60716          { ac_try='test -z "$ac_c_werror_flag"
60717                          || test ! -s conftest.err'
60718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60719   (eval $ac_try) 2>&5
60720   ac_status=$?
60721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60722   (exit $ac_status); }; } &&
60723          { ac_try='test -s conftest$ac_exeext'
60724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60725   (eval $ac_try) 2>&5
60726   ac_status=$?
60727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60728   (exit $ac_status); }; }; then
60729   eval "$as_ac_var=yes"
60730 else
60731   echo "$as_me: failed program was:" >&5
60732 sed 's/^/| /' conftest.$ac_ext >&5
60733
60734 eval "$as_ac_var=no"
60735 fi
60736 rm -f conftest.err conftest.$ac_objext \
60737       conftest$ac_exeext conftest.$ac_ext
60738 fi
60739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60741 if test `eval echo '${'$as_ac_var'}'` = yes; then
60742   cat >>confdefs.h <<_ACEOF
60743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60744 _ACEOF
60745
60746 fi
60747 done
60748
60749     fi
60750   fi
60751
60752
60753
60754   echo "$as_me:$LINENO: checking for log10f declaration" >&5
60755 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
60756   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60757     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
60758   echo $ECHO_N "(cached) $ECHO_C" >&6
60759 else
60760
60761
60762
60763       ac_ext=cc
60764 ac_cpp='$CXXCPP $CPPFLAGS'
60765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60768
60769       cat >conftest.$ac_ext <<_ACEOF
60770 /* confdefs.h.  */
60771 _ACEOF
60772 cat confdefs.h >>conftest.$ac_ext
60773 cat >>conftest.$ac_ext <<_ACEOF
60774 /* end confdefs.h.  */
60775 #include <math.h>
60776                       #ifdef HAVE_IEEEFP_H
60777                       #include <ieeefp.h>
60778                       #endif
60779
60780 int
60781 main ()
60782 {
60783  log10f(0);
60784   ;
60785   return 0;
60786 }
60787 _ACEOF
60788 rm -f conftest.$ac_objext
60789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60790   (eval $ac_compile) 2>conftest.er1
60791   ac_status=$?
60792   grep -v '^ *+' conftest.er1 >conftest.err
60793   rm -f conftest.er1
60794   cat conftest.err >&5
60795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60796   (exit $ac_status); } &&
60797          { ac_try='test -z "$ac_cxx_werror_flag"
60798                          || test ! -s conftest.err'
60799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60800   (eval $ac_try) 2>&5
60801   ac_status=$?
60802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60803   (exit $ac_status); }; } &&
60804          { ac_try='test -s conftest.$ac_objext'
60805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60806   (eval $ac_try) 2>&5
60807   ac_status=$?
60808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60809   (exit $ac_status); }; }; then
60810   glibcxx_cv_func_log10f_use=yes
60811 else
60812   echo "$as_me: failed program was:" >&5
60813 sed 's/^/| /' conftest.$ac_ext >&5
60814
60815 glibcxx_cv_func_log10f_use=no
60816 fi
60817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60818       ac_ext=c
60819 ac_cpp='$CPP $CPPFLAGS'
60820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60823
60824
60825 fi
60826
60827   fi
60828   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
60829 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
60830
60831   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60832
60833 for ac_func in log10f
60834 do
60835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60836 echo "$as_me:$LINENO: checking for $ac_func" >&5
60837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60838 if eval "test \"\${$as_ac_var+set}\" = set"; then
60839   echo $ECHO_N "(cached) $ECHO_C" >&6
60840 else
60841   if test x$gcc_no_link = xyes; then
60842   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60844    { (exit 1); exit 1; }; }
60845 fi
60846 cat >conftest.$ac_ext <<_ACEOF
60847 /* confdefs.h.  */
60848 _ACEOF
60849 cat confdefs.h >>conftest.$ac_ext
60850 cat >>conftest.$ac_ext <<_ACEOF
60851 /* end confdefs.h.  */
60852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60853    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60854 #define $ac_func innocuous_$ac_func
60855
60856 /* System header to define __stub macros and hopefully few prototypes,
60857     which can conflict with char $ac_func (); below.
60858     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60859     <limits.h> exists even on freestanding compilers.  */
60860
60861 #ifdef __STDC__
60862 # include <limits.h>
60863 #else
60864 # include <assert.h>
60865 #endif
60866
60867 #undef $ac_func
60868
60869 /* Override any gcc2 internal prototype to avoid an error.  */
60870 #ifdef __cplusplus
60871 extern "C"
60872 {
60873 #endif
60874 /* We use char because int might match the return type of a gcc2
60875    builtin and then its argument prototype would still apply.  */
60876 char $ac_func ();
60877 /* The GNU C library defines this for functions which it implements
60878     to always fail with ENOSYS.  Some functions are actually named
60879     something starting with __ and the normal name is an alias.  */
60880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60881 choke me
60882 #else
60883 char (*f) () = $ac_func;
60884 #endif
60885 #ifdef __cplusplus
60886 }
60887 #endif
60888
60889 int
60890 main ()
60891 {
60892 return f != $ac_func;
60893   ;
60894   return 0;
60895 }
60896 _ACEOF
60897 rm -f conftest.$ac_objext conftest$ac_exeext
60898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60899   (eval $ac_link) 2>conftest.er1
60900   ac_status=$?
60901   grep -v '^ *+' conftest.er1 >conftest.err
60902   rm -f conftest.er1
60903   cat conftest.err >&5
60904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60905   (exit $ac_status); } &&
60906          { ac_try='test -z "$ac_c_werror_flag"
60907                          || test ! -s conftest.err'
60908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60909   (eval $ac_try) 2>&5
60910   ac_status=$?
60911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60912   (exit $ac_status); }; } &&
60913          { ac_try='test -s conftest$ac_exeext'
60914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60915   (eval $ac_try) 2>&5
60916   ac_status=$?
60917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60918   (exit $ac_status); }; }; then
60919   eval "$as_ac_var=yes"
60920 else
60921   echo "$as_me: failed program was:" >&5
60922 sed 's/^/| /' conftest.$ac_ext >&5
60923
60924 eval "$as_ac_var=no"
60925 fi
60926 rm -f conftest.err conftest.$ac_objext \
60927       conftest$ac_exeext conftest.$ac_ext
60928 fi
60929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60931 if test `eval echo '${'$as_ac_var'}'` = yes; then
60932   cat >>confdefs.h <<_ACEOF
60933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60934 _ACEOF
60935
60936 fi
60937 done
60938
60939   else
60940
60941   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
60942 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
60943   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60944     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
60945   echo $ECHO_N "(cached) $ECHO_C" >&6
60946 else
60947
60948
60949
60950       ac_ext=cc
60951 ac_cpp='$CXXCPP $CPPFLAGS'
60952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60955
60956       cat >conftest.$ac_ext <<_ACEOF
60957 /* confdefs.h.  */
60958 _ACEOF
60959 cat confdefs.h >>conftest.$ac_ext
60960 cat >>conftest.$ac_ext <<_ACEOF
60961 /* end confdefs.h.  */
60962 #include <math.h>
60963                       #ifdef HAVE_IEEEFP_H
60964                       #include <ieeefp.h>
60965                       #endif
60966
60967 int
60968 main ()
60969 {
60970  _log10f(0);
60971   ;
60972   return 0;
60973 }
60974 _ACEOF
60975 rm -f conftest.$ac_objext
60976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60977   (eval $ac_compile) 2>conftest.er1
60978   ac_status=$?
60979   grep -v '^ *+' conftest.er1 >conftest.err
60980   rm -f conftest.er1
60981   cat conftest.err >&5
60982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60983   (exit $ac_status); } &&
60984          { ac_try='test -z "$ac_cxx_werror_flag"
60985                          || test ! -s conftest.err'
60986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60987   (eval $ac_try) 2>&5
60988   ac_status=$?
60989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60990   (exit $ac_status); }; } &&
60991          { ac_try='test -s conftest.$ac_objext'
60992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60993   (eval $ac_try) 2>&5
60994   ac_status=$?
60995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60996   (exit $ac_status); }; }; then
60997   glibcxx_cv_func__log10f_use=yes
60998 else
60999   echo "$as_me: failed program was:" >&5
61000 sed 's/^/| /' conftest.$ac_ext >&5
61001
61002 glibcxx_cv_func__log10f_use=no
61003 fi
61004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61005       ac_ext=c
61006 ac_cpp='$CPP $CPPFLAGS'
61007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61010
61011
61012 fi
61013
61014   fi
61015   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
61016 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
61017
61018     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61019
61020 for ac_func in _log10f
61021 do
61022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61023 echo "$as_me:$LINENO: checking for $ac_func" >&5
61024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61025 if eval "test \"\${$as_ac_var+set}\" = set"; then
61026   echo $ECHO_N "(cached) $ECHO_C" >&6
61027 else
61028   if test x$gcc_no_link = xyes; then
61029   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61031    { (exit 1); exit 1; }; }
61032 fi
61033 cat >conftest.$ac_ext <<_ACEOF
61034 /* confdefs.h.  */
61035 _ACEOF
61036 cat confdefs.h >>conftest.$ac_ext
61037 cat >>conftest.$ac_ext <<_ACEOF
61038 /* end confdefs.h.  */
61039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61040    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61041 #define $ac_func innocuous_$ac_func
61042
61043 /* System header to define __stub macros and hopefully few prototypes,
61044     which can conflict with char $ac_func (); below.
61045     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61046     <limits.h> exists even on freestanding compilers.  */
61047
61048 #ifdef __STDC__
61049 # include <limits.h>
61050 #else
61051 # include <assert.h>
61052 #endif
61053
61054 #undef $ac_func
61055
61056 /* Override any gcc2 internal prototype to avoid an error.  */
61057 #ifdef __cplusplus
61058 extern "C"
61059 {
61060 #endif
61061 /* We use char because int might match the return type of a gcc2
61062    builtin and then its argument prototype would still apply.  */
61063 char $ac_func ();
61064 /* The GNU C library defines this for functions which it implements
61065     to always fail with ENOSYS.  Some functions are actually named
61066     something starting with __ and the normal name is an alias.  */
61067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61068 choke me
61069 #else
61070 char (*f) () = $ac_func;
61071 #endif
61072 #ifdef __cplusplus
61073 }
61074 #endif
61075
61076 int
61077 main ()
61078 {
61079 return f != $ac_func;
61080   ;
61081   return 0;
61082 }
61083 _ACEOF
61084 rm -f conftest.$ac_objext conftest$ac_exeext
61085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61086   (eval $ac_link) 2>conftest.er1
61087   ac_status=$?
61088   grep -v '^ *+' conftest.er1 >conftest.err
61089   rm -f conftest.er1
61090   cat conftest.err >&5
61091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61092   (exit $ac_status); } &&
61093          { ac_try='test -z "$ac_c_werror_flag"
61094                          || test ! -s conftest.err'
61095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61096   (eval $ac_try) 2>&5
61097   ac_status=$?
61098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61099   (exit $ac_status); }; } &&
61100          { ac_try='test -s conftest$ac_exeext'
61101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61102   (eval $ac_try) 2>&5
61103   ac_status=$?
61104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61105   (exit $ac_status); }; }; then
61106   eval "$as_ac_var=yes"
61107 else
61108   echo "$as_me: failed program was:" >&5
61109 sed 's/^/| /' conftest.$ac_ext >&5
61110
61111 eval "$as_ac_var=no"
61112 fi
61113 rm -f conftest.err conftest.$ac_objext \
61114       conftest$ac_exeext conftest.$ac_ext
61115 fi
61116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61118 if test `eval echo '${'$as_ac_var'}'` = yes; then
61119   cat >>confdefs.h <<_ACEOF
61120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61121 _ACEOF
61122
61123 fi
61124 done
61125
61126     fi
61127   fi
61128
61129
61130
61131   echo "$as_me:$LINENO: checking for modff declaration" >&5
61132 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
61133   if test x${glibcxx_cv_func_modff_use+set} != xset; then
61134     if test "${glibcxx_cv_func_modff_use+set}" = set; then
61135   echo $ECHO_N "(cached) $ECHO_C" >&6
61136 else
61137
61138
61139
61140       ac_ext=cc
61141 ac_cpp='$CXXCPP $CPPFLAGS'
61142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61145
61146       cat >conftest.$ac_ext <<_ACEOF
61147 /* confdefs.h.  */
61148 _ACEOF
61149 cat confdefs.h >>conftest.$ac_ext
61150 cat >>conftest.$ac_ext <<_ACEOF
61151 /* end confdefs.h.  */
61152 #include <math.h>
61153 int
61154 main ()
61155 {
61156  modff(0, 0);
61157   ;
61158   return 0;
61159 }
61160 _ACEOF
61161 rm -f conftest.$ac_objext
61162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61163   (eval $ac_compile) 2>conftest.er1
61164   ac_status=$?
61165   grep -v '^ *+' conftest.er1 >conftest.err
61166   rm -f conftest.er1
61167   cat conftest.err >&5
61168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61169   (exit $ac_status); } &&
61170          { ac_try='test -z "$ac_cxx_werror_flag"
61171                          || test ! -s conftest.err'
61172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61173   (eval $ac_try) 2>&5
61174   ac_status=$?
61175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61176   (exit $ac_status); }; } &&
61177          { ac_try='test -s conftest.$ac_objext'
61178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61179   (eval $ac_try) 2>&5
61180   ac_status=$?
61181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61182   (exit $ac_status); }; }; then
61183   glibcxx_cv_func_modff_use=yes
61184 else
61185   echo "$as_me: failed program was:" >&5
61186 sed 's/^/| /' conftest.$ac_ext >&5
61187
61188 glibcxx_cv_func_modff_use=no
61189 fi
61190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61191       ac_ext=c
61192 ac_cpp='$CPP $CPPFLAGS'
61193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61196
61197
61198 fi
61199
61200   fi
61201   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
61202 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
61203
61204   if test x$glibcxx_cv_func_modff_use = x"yes"; then
61205
61206 for ac_func in modff
61207 do
61208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61209 echo "$as_me:$LINENO: checking for $ac_func" >&5
61210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61211 if eval "test \"\${$as_ac_var+set}\" = set"; then
61212   echo $ECHO_N "(cached) $ECHO_C" >&6
61213 else
61214   if test x$gcc_no_link = xyes; then
61215   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61217    { (exit 1); exit 1; }; }
61218 fi
61219 cat >conftest.$ac_ext <<_ACEOF
61220 /* confdefs.h.  */
61221 _ACEOF
61222 cat confdefs.h >>conftest.$ac_ext
61223 cat >>conftest.$ac_ext <<_ACEOF
61224 /* end confdefs.h.  */
61225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61226    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61227 #define $ac_func innocuous_$ac_func
61228
61229 /* System header to define __stub macros and hopefully few prototypes,
61230     which can conflict with char $ac_func (); below.
61231     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61232     <limits.h> exists even on freestanding compilers.  */
61233
61234 #ifdef __STDC__
61235 # include <limits.h>
61236 #else
61237 # include <assert.h>
61238 #endif
61239
61240 #undef $ac_func
61241
61242 /* Override any gcc2 internal prototype to avoid an error.  */
61243 #ifdef __cplusplus
61244 extern "C"
61245 {
61246 #endif
61247 /* We use char because int might match the return type of a gcc2
61248    builtin and then its argument prototype would still apply.  */
61249 char $ac_func ();
61250 /* The GNU C library defines this for functions which it implements
61251     to always fail with ENOSYS.  Some functions are actually named
61252     something starting with __ and the normal name is an alias.  */
61253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61254 choke me
61255 #else
61256 char (*f) () = $ac_func;
61257 #endif
61258 #ifdef __cplusplus
61259 }
61260 #endif
61261
61262 int
61263 main ()
61264 {
61265 return f != $ac_func;
61266   ;
61267   return 0;
61268 }
61269 _ACEOF
61270 rm -f conftest.$ac_objext conftest$ac_exeext
61271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61272   (eval $ac_link) 2>conftest.er1
61273   ac_status=$?
61274   grep -v '^ *+' conftest.er1 >conftest.err
61275   rm -f conftest.er1
61276   cat conftest.err >&5
61277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61278   (exit $ac_status); } &&
61279          { ac_try='test -z "$ac_c_werror_flag"
61280                          || test ! -s conftest.err'
61281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61282   (eval $ac_try) 2>&5
61283   ac_status=$?
61284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61285   (exit $ac_status); }; } &&
61286          { ac_try='test -s conftest$ac_exeext'
61287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61288   (eval $ac_try) 2>&5
61289   ac_status=$?
61290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61291   (exit $ac_status); }; }; then
61292   eval "$as_ac_var=yes"
61293 else
61294   echo "$as_me: failed program was:" >&5
61295 sed 's/^/| /' conftest.$ac_ext >&5
61296
61297 eval "$as_ac_var=no"
61298 fi
61299 rm -f conftest.err conftest.$ac_objext \
61300       conftest$ac_exeext conftest.$ac_ext
61301 fi
61302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61304 if test `eval echo '${'$as_ac_var'}'` = yes; then
61305   cat >>confdefs.h <<_ACEOF
61306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61307 _ACEOF
61308
61309 fi
61310 done
61311
61312   else
61313
61314   echo "$as_me:$LINENO: checking for _modff declaration" >&5
61315 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
61316   if test x${glibcxx_cv_func__modff_use+set} != xset; then
61317     if test "${glibcxx_cv_func__modff_use+set}" = set; then
61318   echo $ECHO_N "(cached) $ECHO_C" >&6
61319 else
61320
61321
61322
61323       ac_ext=cc
61324 ac_cpp='$CXXCPP $CPPFLAGS'
61325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61328
61329       cat >conftest.$ac_ext <<_ACEOF
61330 /* confdefs.h.  */
61331 _ACEOF
61332 cat confdefs.h >>conftest.$ac_ext
61333 cat >>conftest.$ac_ext <<_ACEOF
61334 /* end confdefs.h.  */
61335 #include <math.h>
61336 int
61337 main ()
61338 {
61339  _modff(0, 0);
61340   ;
61341   return 0;
61342 }
61343 _ACEOF
61344 rm -f conftest.$ac_objext
61345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61346   (eval $ac_compile) 2>conftest.er1
61347   ac_status=$?
61348   grep -v '^ *+' conftest.er1 >conftest.err
61349   rm -f conftest.er1
61350   cat conftest.err >&5
61351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61352   (exit $ac_status); } &&
61353          { ac_try='test -z "$ac_cxx_werror_flag"
61354                          || test ! -s conftest.err'
61355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61356   (eval $ac_try) 2>&5
61357   ac_status=$?
61358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61359   (exit $ac_status); }; } &&
61360          { ac_try='test -s conftest.$ac_objext'
61361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61362   (eval $ac_try) 2>&5
61363   ac_status=$?
61364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61365   (exit $ac_status); }; }; then
61366   glibcxx_cv_func__modff_use=yes
61367 else
61368   echo "$as_me: failed program was:" >&5
61369 sed 's/^/| /' conftest.$ac_ext >&5
61370
61371 glibcxx_cv_func__modff_use=no
61372 fi
61373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61374       ac_ext=c
61375 ac_cpp='$CPP $CPPFLAGS'
61376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61379
61380
61381 fi
61382
61383   fi
61384   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
61385 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
61386
61387     if test x$glibcxx_cv_func__modff_use = x"yes"; then
61388
61389 for ac_func in _modff
61390 do
61391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61392 echo "$as_me:$LINENO: checking for $ac_func" >&5
61393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61394 if eval "test \"\${$as_ac_var+set}\" = set"; then
61395   echo $ECHO_N "(cached) $ECHO_C" >&6
61396 else
61397   if test x$gcc_no_link = xyes; then
61398   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61400    { (exit 1); exit 1; }; }
61401 fi
61402 cat >conftest.$ac_ext <<_ACEOF
61403 /* confdefs.h.  */
61404 _ACEOF
61405 cat confdefs.h >>conftest.$ac_ext
61406 cat >>conftest.$ac_ext <<_ACEOF
61407 /* end confdefs.h.  */
61408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61409    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61410 #define $ac_func innocuous_$ac_func
61411
61412 /* System header to define __stub macros and hopefully few prototypes,
61413     which can conflict with char $ac_func (); below.
61414     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61415     <limits.h> exists even on freestanding compilers.  */
61416
61417 #ifdef __STDC__
61418 # include <limits.h>
61419 #else
61420 # include <assert.h>
61421 #endif
61422
61423 #undef $ac_func
61424
61425 /* Override any gcc2 internal prototype to avoid an error.  */
61426 #ifdef __cplusplus
61427 extern "C"
61428 {
61429 #endif
61430 /* We use char because int might match the return type of a gcc2
61431    builtin and then its argument prototype would still apply.  */
61432 char $ac_func ();
61433 /* The GNU C library defines this for functions which it implements
61434     to always fail with ENOSYS.  Some functions are actually named
61435     something starting with __ and the normal name is an alias.  */
61436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61437 choke me
61438 #else
61439 char (*f) () = $ac_func;
61440 #endif
61441 #ifdef __cplusplus
61442 }
61443 #endif
61444
61445 int
61446 main ()
61447 {
61448 return f != $ac_func;
61449   ;
61450   return 0;
61451 }
61452 _ACEOF
61453 rm -f conftest.$ac_objext conftest$ac_exeext
61454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61455   (eval $ac_link) 2>conftest.er1
61456   ac_status=$?
61457   grep -v '^ *+' conftest.er1 >conftest.err
61458   rm -f conftest.er1
61459   cat conftest.err >&5
61460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61461   (exit $ac_status); } &&
61462          { ac_try='test -z "$ac_c_werror_flag"
61463                          || test ! -s conftest.err'
61464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61465   (eval $ac_try) 2>&5
61466   ac_status=$?
61467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61468   (exit $ac_status); }; } &&
61469          { ac_try='test -s conftest$ac_exeext'
61470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61471   (eval $ac_try) 2>&5
61472   ac_status=$?
61473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61474   (exit $ac_status); }; }; then
61475   eval "$as_ac_var=yes"
61476 else
61477   echo "$as_me: failed program was:" >&5
61478 sed 's/^/| /' conftest.$ac_ext >&5
61479
61480 eval "$as_ac_var=no"
61481 fi
61482 rm -f conftest.err conftest.$ac_objext \
61483       conftest$ac_exeext conftest.$ac_ext
61484 fi
61485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61487 if test `eval echo '${'$as_ac_var'}'` = yes; then
61488   cat >>confdefs.h <<_ACEOF
61489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61490 _ACEOF
61491
61492 fi
61493 done
61494
61495     fi
61496   fi
61497
61498
61499
61500   echo "$as_me:$LINENO: checking for powf declaration" >&5
61501 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
61502   if test x${glibcxx_cv_func_powf_use+set} != xset; then
61503     if test "${glibcxx_cv_func_powf_use+set}" = set; then
61504   echo $ECHO_N "(cached) $ECHO_C" >&6
61505 else
61506
61507
61508
61509       ac_ext=cc
61510 ac_cpp='$CXXCPP $CPPFLAGS'
61511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61514
61515       cat >conftest.$ac_ext <<_ACEOF
61516 /* confdefs.h.  */
61517 _ACEOF
61518 cat confdefs.h >>conftest.$ac_ext
61519 cat >>conftest.$ac_ext <<_ACEOF
61520 /* end confdefs.h.  */
61521 #include <math.h>
61522 int
61523 main ()
61524 {
61525  powf(0, 0);
61526   ;
61527   return 0;
61528 }
61529 _ACEOF
61530 rm -f conftest.$ac_objext
61531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61532   (eval $ac_compile) 2>conftest.er1
61533   ac_status=$?
61534   grep -v '^ *+' conftest.er1 >conftest.err
61535   rm -f conftest.er1
61536   cat conftest.err >&5
61537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61538   (exit $ac_status); } &&
61539          { ac_try='test -z "$ac_cxx_werror_flag"
61540                          || test ! -s conftest.err'
61541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61542   (eval $ac_try) 2>&5
61543   ac_status=$?
61544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61545   (exit $ac_status); }; } &&
61546          { ac_try='test -s conftest.$ac_objext'
61547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61548   (eval $ac_try) 2>&5
61549   ac_status=$?
61550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61551   (exit $ac_status); }; }; then
61552   glibcxx_cv_func_powf_use=yes
61553 else
61554   echo "$as_me: failed program was:" >&5
61555 sed 's/^/| /' conftest.$ac_ext >&5
61556
61557 glibcxx_cv_func_powf_use=no
61558 fi
61559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61560       ac_ext=c
61561 ac_cpp='$CPP $CPPFLAGS'
61562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61565
61566
61567 fi
61568
61569   fi
61570   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
61571 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
61572
61573   if test x$glibcxx_cv_func_powf_use = x"yes"; then
61574
61575 for ac_func in powf
61576 do
61577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61578 echo "$as_me:$LINENO: checking for $ac_func" >&5
61579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61580 if eval "test \"\${$as_ac_var+set}\" = set"; then
61581   echo $ECHO_N "(cached) $ECHO_C" >&6
61582 else
61583   if test x$gcc_no_link = xyes; then
61584   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61586    { (exit 1); exit 1; }; }
61587 fi
61588 cat >conftest.$ac_ext <<_ACEOF
61589 /* confdefs.h.  */
61590 _ACEOF
61591 cat confdefs.h >>conftest.$ac_ext
61592 cat >>conftest.$ac_ext <<_ACEOF
61593 /* end confdefs.h.  */
61594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61595    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61596 #define $ac_func innocuous_$ac_func
61597
61598 /* System header to define __stub macros and hopefully few prototypes,
61599     which can conflict with char $ac_func (); below.
61600     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61601     <limits.h> exists even on freestanding compilers.  */
61602
61603 #ifdef __STDC__
61604 # include <limits.h>
61605 #else
61606 # include <assert.h>
61607 #endif
61608
61609 #undef $ac_func
61610
61611 /* Override any gcc2 internal prototype to avoid an error.  */
61612 #ifdef __cplusplus
61613 extern "C"
61614 {
61615 #endif
61616 /* We use char because int might match the return type of a gcc2
61617    builtin and then its argument prototype would still apply.  */
61618 char $ac_func ();
61619 /* The GNU C library defines this for functions which it implements
61620     to always fail with ENOSYS.  Some functions are actually named
61621     something starting with __ and the normal name is an alias.  */
61622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61623 choke me
61624 #else
61625 char (*f) () = $ac_func;
61626 #endif
61627 #ifdef __cplusplus
61628 }
61629 #endif
61630
61631 int
61632 main ()
61633 {
61634 return f != $ac_func;
61635   ;
61636   return 0;
61637 }
61638 _ACEOF
61639 rm -f conftest.$ac_objext conftest$ac_exeext
61640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61641   (eval $ac_link) 2>conftest.er1
61642   ac_status=$?
61643   grep -v '^ *+' conftest.er1 >conftest.err
61644   rm -f conftest.er1
61645   cat conftest.err >&5
61646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61647   (exit $ac_status); } &&
61648          { ac_try='test -z "$ac_c_werror_flag"
61649                          || test ! -s conftest.err'
61650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61651   (eval $ac_try) 2>&5
61652   ac_status=$?
61653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61654   (exit $ac_status); }; } &&
61655          { ac_try='test -s conftest$ac_exeext'
61656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61657   (eval $ac_try) 2>&5
61658   ac_status=$?
61659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61660   (exit $ac_status); }; }; then
61661   eval "$as_ac_var=yes"
61662 else
61663   echo "$as_me: failed program was:" >&5
61664 sed 's/^/| /' conftest.$ac_ext >&5
61665
61666 eval "$as_ac_var=no"
61667 fi
61668 rm -f conftest.err conftest.$ac_objext \
61669       conftest$ac_exeext conftest.$ac_ext
61670 fi
61671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61673 if test `eval echo '${'$as_ac_var'}'` = yes; then
61674   cat >>confdefs.h <<_ACEOF
61675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61676 _ACEOF
61677
61678 fi
61679 done
61680
61681   else
61682
61683   echo "$as_me:$LINENO: checking for _powf declaration" >&5
61684 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
61685   if test x${glibcxx_cv_func__powf_use+set} != xset; then
61686     if test "${glibcxx_cv_func__powf_use+set}" = set; then
61687   echo $ECHO_N "(cached) $ECHO_C" >&6
61688 else
61689
61690
61691
61692       ac_ext=cc
61693 ac_cpp='$CXXCPP $CPPFLAGS'
61694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61697
61698       cat >conftest.$ac_ext <<_ACEOF
61699 /* confdefs.h.  */
61700 _ACEOF
61701 cat confdefs.h >>conftest.$ac_ext
61702 cat >>conftest.$ac_ext <<_ACEOF
61703 /* end confdefs.h.  */
61704 #include <math.h>
61705 int
61706 main ()
61707 {
61708  _powf(0, 0);
61709   ;
61710   return 0;
61711 }
61712 _ACEOF
61713 rm -f conftest.$ac_objext
61714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61715   (eval $ac_compile) 2>conftest.er1
61716   ac_status=$?
61717   grep -v '^ *+' conftest.er1 >conftest.err
61718   rm -f conftest.er1
61719   cat conftest.err >&5
61720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61721   (exit $ac_status); } &&
61722          { ac_try='test -z "$ac_cxx_werror_flag"
61723                          || test ! -s conftest.err'
61724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61725   (eval $ac_try) 2>&5
61726   ac_status=$?
61727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61728   (exit $ac_status); }; } &&
61729          { ac_try='test -s conftest.$ac_objext'
61730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61731   (eval $ac_try) 2>&5
61732   ac_status=$?
61733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61734   (exit $ac_status); }; }; then
61735   glibcxx_cv_func__powf_use=yes
61736 else
61737   echo "$as_me: failed program was:" >&5
61738 sed 's/^/| /' conftest.$ac_ext >&5
61739
61740 glibcxx_cv_func__powf_use=no
61741 fi
61742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61743       ac_ext=c
61744 ac_cpp='$CPP $CPPFLAGS'
61745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61748
61749
61750 fi
61751
61752   fi
61753   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
61754 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
61755
61756     if test x$glibcxx_cv_func__powf_use = x"yes"; then
61757
61758 for ac_func in _powf
61759 do
61760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61761 echo "$as_me:$LINENO: checking for $ac_func" >&5
61762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61763 if eval "test \"\${$as_ac_var+set}\" = set"; then
61764   echo $ECHO_N "(cached) $ECHO_C" >&6
61765 else
61766   if test x$gcc_no_link = xyes; then
61767   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61769    { (exit 1); exit 1; }; }
61770 fi
61771 cat >conftest.$ac_ext <<_ACEOF
61772 /* confdefs.h.  */
61773 _ACEOF
61774 cat confdefs.h >>conftest.$ac_ext
61775 cat >>conftest.$ac_ext <<_ACEOF
61776 /* end confdefs.h.  */
61777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61778    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61779 #define $ac_func innocuous_$ac_func
61780
61781 /* System header to define __stub macros and hopefully few prototypes,
61782     which can conflict with char $ac_func (); below.
61783     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61784     <limits.h> exists even on freestanding compilers.  */
61785
61786 #ifdef __STDC__
61787 # include <limits.h>
61788 #else
61789 # include <assert.h>
61790 #endif
61791
61792 #undef $ac_func
61793
61794 /* Override any gcc2 internal prototype to avoid an error.  */
61795 #ifdef __cplusplus
61796 extern "C"
61797 {
61798 #endif
61799 /* We use char because int might match the return type of a gcc2
61800    builtin and then its argument prototype would still apply.  */
61801 char $ac_func ();
61802 /* The GNU C library defines this for functions which it implements
61803     to always fail with ENOSYS.  Some functions are actually named
61804     something starting with __ and the normal name is an alias.  */
61805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61806 choke me
61807 #else
61808 char (*f) () = $ac_func;
61809 #endif
61810 #ifdef __cplusplus
61811 }
61812 #endif
61813
61814 int
61815 main ()
61816 {
61817 return f != $ac_func;
61818   ;
61819   return 0;
61820 }
61821 _ACEOF
61822 rm -f conftest.$ac_objext conftest$ac_exeext
61823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61824   (eval $ac_link) 2>conftest.er1
61825   ac_status=$?
61826   grep -v '^ *+' conftest.er1 >conftest.err
61827   rm -f conftest.er1
61828   cat conftest.err >&5
61829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61830   (exit $ac_status); } &&
61831          { ac_try='test -z "$ac_c_werror_flag"
61832                          || test ! -s conftest.err'
61833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61834   (eval $ac_try) 2>&5
61835   ac_status=$?
61836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61837   (exit $ac_status); }; } &&
61838          { ac_try='test -s conftest$ac_exeext'
61839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61840   (eval $ac_try) 2>&5
61841   ac_status=$?
61842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61843   (exit $ac_status); }; }; then
61844   eval "$as_ac_var=yes"
61845 else
61846   echo "$as_me: failed program was:" >&5
61847 sed 's/^/| /' conftest.$ac_ext >&5
61848
61849 eval "$as_ac_var=no"
61850 fi
61851 rm -f conftest.err conftest.$ac_objext \
61852       conftest$ac_exeext conftest.$ac_ext
61853 fi
61854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61856 if test `eval echo '${'$as_ac_var'}'` = yes; then
61857   cat >>confdefs.h <<_ACEOF
61858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61859 _ACEOF
61860
61861 fi
61862 done
61863
61864     fi
61865   fi
61866
61867
61868
61869   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
61870 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
61871   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61872     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
61873   echo $ECHO_N "(cached) $ECHO_C" >&6
61874 else
61875
61876
61877
61878       ac_ext=cc
61879 ac_cpp='$CXXCPP $CPPFLAGS'
61880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61883
61884       cat >conftest.$ac_ext <<_ACEOF
61885 /* confdefs.h.  */
61886 _ACEOF
61887 cat confdefs.h >>conftest.$ac_ext
61888 cat >>conftest.$ac_ext <<_ACEOF
61889 /* end confdefs.h.  */
61890 #include <math.h>
61891                       #ifdef HAVE_IEEEFP_H
61892                       #include <ieeefp.h>
61893                       #endif
61894
61895 int
61896 main ()
61897 {
61898  sqrtf(0);
61899   ;
61900   return 0;
61901 }
61902 _ACEOF
61903 rm -f conftest.$ac_objext
61904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61905   (eval $ac_compile) 2>conftest.er1
61906   ac_status=$?
61907   grep -v '^ *+' conftest.er1 >conftest.err
61908   rm -f conftest.er1
61909   cat conftest.err >&5
61910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61911   (exit $ac_status); } &&
61912          { ac_try='test -z "$ac_cxx_werror_flag"
61913                          || test ! -s conftest.err'
61914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61915   (eval $ac_try) 2>&5
61916   ac_status=$?
61917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61918   (exit $ac_status); }; } &&
61919          { ac_try='test -s conftest.$ac_objext'
61920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61921   (eval $ac_try) 2>&5
61922   ac_status=$?
61923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61924   (exit $ac_status); }; }; then
61925   glibcxx_cv_func_sqrtf_use=yes
61926 else
61927   echo "$as_me: failed program was:" >&5
61928 sed 's/^/| /' conftest.$ac_ext >&5
61929
61930 glibcxx_cv_func_sqrtf_use=no
61931 fi
61932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61933       ac_ext=c
61934 ac_cpp='$CPP $CPPFLAGS'
61935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61938
61939
61940 fi
61941
61942   fi
61943   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
61944 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
61945
61946   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61947
61948 for ac_func in sqrtf
61949 do
61950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61951 echo "$as_me:$LINENO: checking for $ac_func" >&5
61952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61953 if eval "test \"\${$as_ac_var+set}\" = set"; then
61954   echo $ECHO_N "(cached) $ECHO_C" >&6
61955 else
61956   if test x$gcc_no_link = xyes; then
61957   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61959    { (exit 1); exit 1; }; }
61960 fi
61961 cat >conftest.$ac_ext <<_ACEOF
61962 /* confdefs.h.  */
61963 _ACEOF
61964 cat confdefs.h >>conftest.$ac_ext
61965 cat >>conftest.$ac_ext <<_ACEOF
61966 /* end confdefs.h.  */
61967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61968    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61969 #define $ac_func innocuous_$ac_func
61970
61971 /* System header to define __stub macros and hopefully few prototypes,
61972     which can conflict with char $ac_func (); below.
61973     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61974     <limits.h> exists even on freestanding compilers.  */
61975
61976 #ifdef __STDC__
61977 # include <limits.h>
61978 #else
61979 # include <assert.h>
61980 #endif
61981
61982 #undef $ac_func
61983
61984 /* Override any gcc2 internal prototype to avoid an error.  */
61985 #ifdef __cplusplus
61986 extern "C"
61987 {
61988 #endif
61989 /* We use char because int might match the return type of a gcc2
61990    builtin and then its argument prototype would still apply.  */
61991 char $ac_func ();
61992 /* The GNU C library defines this for functions which it implements
61993     to always fail with ENOSYS.  Some functions are actually named
61994     something starting with __ and the normal name is an alias.  */
61995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61996 choke me
61997 #else
61998 char (*f) () = $ac_func;
61999 #endif
62000 #ifdef __cplusplus
62001 }
62002 #endif
62003
62004 int
62005 main ()
62006 {
62007 return f != $ac_func;
62008   ;
62009   return 0;
62010 }
62011 _ACEOF
62012 rm -f conftest.$ac_objext conftest$ac_exeext
62013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62014   (eval $ac_link) 2>conftest.er1
62015   ac_status=$?
62016   grep -v '^ *+' conftest.er1 >conftest.err
62017   rm -f conftest.er1
62018   cat conftest.err >&5
62019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62020   (exit $ac_status); } &&
62021          { ac_try='test -z "$ac_c_werror_flag"
62022                          || test ! -s conftest.err'
62023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62024   (eval $ac_try) 2>&5
62025   ac_status=$?
62026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62027   (exit $ac_status); }; } &&
62028          { ac_try='test -s conftest$ac_exeext'
62029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62030   (eval $ac_try) 2>&5
62031   ac_status=$?
62032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62033   (exit $ac_status); }; }; then
62034   eval "$as_ac_var=yes"
62035 else
62036   echo "$as_me: failed program was:" >&5
62037 sed 's/^/| /' conftest.$ac_ext >&5
62038
62039 eval "$as_ac_var=no"
62040 fi
62041 rm -f conftest.err conftest.$ac_objext \
62042       conftest$ac_exeext conftest.$ac_ext
62043 fi
62044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62046 if test `eval echo '${'$as_ac_var'}'` = yes; then
62047   cat >>confdefs.h <<_ACEOF
62048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62049 _ACEOF
62050
62051 fi
62052 done
62053
62054   else
62055
62056   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
62057 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
62058   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62059     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
62060   echo $ECHO_N "(cached) $ECHO_C" >&6
62061 else
62062
62063
62064
62065       ac_ext=cc
62066 ac_cpp='$CXXCPP $CPPFLAGS'
62067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62070
62071       cat >conftest.$ac_ext <<_ACEOF
62072 /* confdefs.h.  */
62073 _ACEOF
62074 cat confdefs.h >>conftest.$ac_ext
62075 cat >>conftest.$ac_ext <<_ACEOF
62076 /* end confdefs.h.  */
62077 #include <math.h>
62078                       #ifdef HAVE_IEEEFP_H
62079                       #include <ieeefp.h>
62080                       #endif
62081
62082 int
62083 main ()
62084 {
62085  _sqrtf(0);
62086   ;
62087   return 0;
62088 }
62089 _ACEOF
62090 rm -f conftest.$ac_objext
62091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62092   (eval $ac_compile) 2>conftest.er1
62093   ac_status=$?
62094   grep -v '^ *+' conftest.er1 >conftest.err
62095   rm -f conftest.er1
62096   cat conftest.err >&5
62097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62098   (exit $ac_status); } &&
62099          { ac_try='test -z "$ac_cxx_werror_flag"
62100                          || test ! -s conftest.err'
62101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62102   (eval $ac_try) 2>&5
62103   ac_status=$?
62104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62105   (exit $ac_status); }; } &&
62106          { ac_try='test -s conftest.$ac_objext'
62107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62108   (eval $ac_try) 2>&5
62109   ac_status=$?
62110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62111   (exit $ac_status); }; }; then
62112   glibcxx_cv_func__sqrtf_use=yes
62113 else
62114   echo "$as_me: failed program was:" >&5
62115 sed 's/^/| /' conftest.$ac_ext >&5
62116
62117 glibcxx_cv_func__sqrtf_use=no
62118 fi
62119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62120       ac_ext=c
62121 ac_cpp='$CPP $CPPFLAGS'
62122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62125
62126
62127 fi
62128
62129   fi
62130   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
62131 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
62132
62133     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62134
62135 for ac_func in _sqrtf
62136 do
62137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62138 echo "$as_me:$LINENO: checking for $ac_func" >&5
62139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62140 if eval "test \"\${$as_ac_var+set}\" = set"; then
62141   echo $ECHO_N "(cached) $ECHO_C" >&6
62142 else
62143   if test x$gcc_no_link = xyes; then
62144   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62146    { (exit 1); exit 1; }; }
62147 fi
62148 cat >conftest.$ac_ext <<_ACEOF
62149 /* confdefs.h.  */
62150 _ACEOF
62151 cat confdefs.h >>conftest.$ac_ext
62152 cat >>conftest.$ac_ext <<_ACEOF
62153 /* end confdefs.h.  */
62154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62155    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62156 #define $ac_func innocuous_$ac_func
62157
62158 /* System header to define __stub macros and hopefully few prototypes,
62159     which can conflict with char $ac_func (); below.
62160     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62161     <limits.h> exists even on freestanding compilers.  */
62162
62163 #ifdef __STDC__
62164 # include <limits.h>
62165 #else
62166 # include <assert.h>
62167 #endif
62168
62169 #undef $ac_func
62170
62171 /* Override any gcc2 internal prototype to avoid an error.  */
62172 #ifdef __cplusplus
62173 extern "C"
62174 {
62175 #endif
62176 /* We use char because int might match the return type of a gcc2
62177    builtin and then its argument prototype would still apply.  */
62178 char $ac_func ();
62179 /* The GNU C library defines this for functions which it implements
62180     to always fail with ENOSYS.  Some functions are actually named
62181     something starting with __ and the normal name is an alias.  */
62182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62183 choke me
62184 #else
62185 char (*f) () = $ac_func;
62186 #endif
62187 #ifdef __cplusplus
62188 }
62189 #endif
62190
62191 int
62192 main ()
62193 {
62194 return f != $ac_func;
62195   ;
62196   return 0;
62197 }
62198 _ACEOF
62199 rm -f conftest.$ac_objext conftest$ac_exeext
62200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62201   (eval $ac_link) 2>conftest.er1
62202   ac_status=$?
62203   grep -v '^ *+' conftest.er1 >conftest.err
62204   rm -f conftest.er1
62205   cat conftest.err >&5
62206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62207   (exit $ac_status); } &&
62208          { ac_try='test -z "$ac_c_werror_flag"
62209                          || test ! -s conftest.err'
62210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62211   (eval $ac_try) 2>&5
62212   ac_status=$?
62213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62214   (exit $ac_status); }; } &&
62215          { ac_try='test -s conftest$ac_exeext'
62216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62217   (eval $ac_try) 2>&5
62218   ac_status=$?
62219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62220   (exit $ac_status); }; }; then
62221   eval "$as_ac_var=yes"
62222 else
62223   echo "$as_me: failed program was:" >&5
62224 sed 's/^/| /' conftest.$ac_ext >&5
62225
62226 eval "$as_ac_var=no"
62227 fi
62228 rm -f conftest.err conftest.$ac_objext \
62229       conftest$ac_exeext conftest.$ac_ext
62230 fi
62231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62233 if test `eval echo '${'$as_ac_var'}'` = yes; then
62234   cat >>confdefs.h <<_ACEOF
62235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62236 _ACEOF
62237
62238 fi
62239 done
62240
62241     fi
62242   fi
62243
62244
62245
62246   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
62247 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
62248   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62249     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
62250   echo $ECHO_N "(cached) $ECHO_C" >&6
62251 else
62252
62253
62254
62255       ac_ext=cc
62256 ac_cpp='$CXXCPP $CPPFLAGS'
62257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62260
62261       cat >conftest.$ac_ext <<_ACEOF
62262 /* confdefs.h.  */
62263 _ACEOF
62264 cat confdefs.h >>conftest.$ac_ext
62265 cat >>conftest.$ac_ext <<_ACEOF
62266 /* end confdefs.h.  */
62267 #include <math.h>
62268 int
62269 main ()
62270 {
62271  sincosf(0, 0, 0);
62272   ;
62273   return 0;
62274 }
62275 _ACEOF
62276 rm -f conftest.$ac_objext
62277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62278   (eval $ac_compile) 2>conftest.er1
62279   ac_status=$?
62280   grep -v '^ *+' conftest.er1 >conftest.err
62281   rm -f conftest.er1
62282   cat conftest.err >&5
62283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62284   (exit $ac_status); } &&
62285          { ac_try='test -z "$ac_cxx_werror_flag"
62286                          || test ! -s conftest.err'
62287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62288   (eval $ac_try) 2>&5
62289   ac_status=$?
62290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62291   (exit $ac_status); }; } &&
62292          { ac_try='test -s conftest.$ac_objext'
62293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62294   (eval $ac_try) 2>&5
62295   ac_status=$?
62296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62297   (exit $ac_status); }; }; then
62298   glibcxx_cv_func_sincosf_use=yes
62299 else
62300   echo "$as_me: failed program was:" >&5
62301 sed 's/^/| /' conftest.$ac_ext >&5
62302
62303 glibcxx_cv_func_sincosf_use=no
62304 fi
62305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62306       ac_ext=c
62307 ac_cpp='$CPP $CPPFLAGS'
62308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62311
62312
62313 fi
62314
62315   fi
62316   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
62317 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
62318
62319   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62320
62321 for ac_func in sincosf
62322 do
62323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62324 echo "$as_me:$LINENO: checking for $ac_func" >&5
62325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62326 if eval "test \"\${$as_ac_var+set}\" = set"; then
62327   echo $ECHO_N "(cached) $ECHO_C" >&6
62328 else
62329   if test x$gcc_no_link = xyes; then
62330   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62332    { (exit 1); exit 1; }; }
62333 fi
62334 cat >conftest.$ac_ext <<_ACEOF
62335 /* confdefs.h.  */
62336 _ACEOF
62337 cat confdefs.h >>conftest.$ac_ext
62338 cat >>conftest.$ac_ext <<_ACEOF
62339 /* end confdefs.h.  */
62340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62341    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62342 #define $ac_func innocuous_$ac_func
62343
62344 /* System header to define __stub macros and hopefully few prototypes,
62345     which can conflict with char $ac_func (); below.
62346     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62347     <limits.h> exists even on freestanding compilers.  */
62348
62349 #ifdef __STDC__
62350 # include <limits.h>
62351 #else
62352 # include <assert.h>
62353 #endif
62354
62355 #undef $ac_func
62356
62357 /* Override any gcc2 internal prototype to avoid an error.  */
62358 #ifdef __cplusplus
62359 extern "C"
62360 {
62361 #endif
62362 /* We use char because int might match the return type of a gcc2
62363    builtin and then its argument prototype would still apply.  */
62364 char $ac_func ();
62365 /* The GNU C library defines this for functions which it implements
62366     to always fail with ENOSYS.  Some functions are actually named
62367     something starting with __ and the normal name is an alias.  */
62368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62369 choke me
62370 #else
62371 char (*f) () = $ac_func;
62372 #endif
62373 #ifdef __cplusplus
62374 }
62375 #endif
62376
62377 int
62378 main ()
62379 {
62380 return f != $ac_func;
62381   ;
62382   return 0;
62383 }
62384 _ACEOF
62385 rm -f conftest.$ac_objext conftest$ac_exeext
62386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62387   (eval $ac_link) 2>conftest.er1
62388   ac_status=$?
62389   grep -v '^ *+' conftest.er1 >conftest.err
62390   rm -f conftest.er1
62391   cat conftest.err >&5
62392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62393   (exit $ac_status); } &&
62394          { ac_try='test -z "$ac_c_werror_flag"
62395                          || test ! -s conftest.err'
62396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62397   (eval $ac_try) 2>&5
62398   ac_status=$?
62399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62400   (exit $ac_status); }; } &&
62401          { ac_try='test -s conftest$ac_exeext'
62402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62403   (eval $ac_try) 2>&5
62404   ac_status=$?
62405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62406   (exit $ac_status); }; }; then
62407   eval "$as_ac_var=yes"
62408 else
62409   echo "$as_me: failed program was:" >&5
62410 sed 's/^/| /' conftest.$ac_ext >&5
62411
62412 eval "$as_ac_var=no"
62413 fi
62414 rm -f conftest.err conftest.$ac_objext \
62415       conftest$ac_exeext conftest.$ac_ext
62416 fi
62417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62419 if test `eval echo '${'$as_ac_var'}'` = yes; then
62420   cat >>confdefs.h <<_ACEOF
62421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62422 _ACEOF
62423
62424 fi
62425 done
62426
62427   else
62428
62429   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
62430 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
62431   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62432     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
62433   echo $ECHO_N "(cached) $ECHO_C" >&6
62434 else
62435
62436
62437
62438       ac_ext=cc
62439 ac_cpp='$CXXCPP $CPPFLAGS'
62440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62443
62444       cat >conftest.$ac_ext <<_ACEOF
62445 /* confdefs.h.  */
62446 _ACEOF
62447 cat confdefs.h >>conftest.$ac_ext
62448 cat >>conftest.$ac_ext <<_ACEOF
62449 /* end confdefs.h.  */
62450 #include <math.h>
62451 int
62452 main ()
62453 {
62454  _sincosf(0, 0, 0);
62455   ;
62456   return 0;
62457 }
62458 _ACEOF
62459 rm -f conftest.$ac_objext
62460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62461   (eval $ac_compile) 2>conftest.er1
62462   ac_status=$?
62463   grep -v '^ *+' conftest.er1 >conftest.err
62464   rm -f conftest.er1
62465   cat conftest.err >&5
62466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62467   (exit $ac_status); } &&
62468          { ac_try='test -z "$ac_cxx_werror_flag"
62469                          || test ! -s conftest.err'
62470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62471   (eval $ac_try) 2>&5
62472   ac_status=$?
62473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62474   (exit $ac_status); }; } &&
62475          { ac_try='test -s conftest.$ac_objext'
62476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62477   (eval $ac_try) 2>&5
62478   ac_status=$?
62479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62480   (exit $ac_status); }; }; then
62481   glibcxx_cv_func__sincosf_use=yes
62482 else
62483   echo "$as_me: failed program was:" >&5
62484 sed 's/^/| /' conftest.$ac_ext >&5
62485
62486 glibcxx_cv_func__sincosf_use=no
62487 fi
62488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62489       ac_ext=c
62490 ac_cpp='$CPP $CPPFLAGS'
62491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62494
62495
62496 fi
62497
62498   fi
62499   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
62500 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
62501
62502     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62503
62504 for ac_func in _sincosf
62505 do
62506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62507 echo "$as_me:$LINENO: checking for $ac_func" >&5
62508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62509 if eval "test \"\${$as_ac_var+set}\" = set"; then
62510   echo $ECHO_N "(cached) $ECHO_C" >&6
62511 else
62512   if test x$gcc_no_link = xyes; then
62513   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62515    { (exit 1); exit 1; }; }
62516 fi
62517 cat >conftest.$ac_ext <<_ACEOF
62518 /* confdefs.h.  */
62519 _ACEOF
62520 cat confdefs.h >>conftest.$ac_ext
62521 cat >>conftest.$ac_ext <<_ACEOF
62522 /* end confdefs.h.  */
62523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62524    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62525 #define $ac_func innocuous_$ac_func
62526
62527 /* System header to define __stub macros and hopefully few prototypes,
62528     which can conflict with char $ac_func (); below.
62529     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62530     <limits.h> exists even on freestanding compilers.  */
62531
62532 #ifdef __STDC__
62533 # include <limits.h>
62534 #else
62535 # include <assert.h>
62536 #endif
62537
62538 #undef $ac_func
62539
62540 /* Override any gcc2 internal prototype to avoid an error.  */
62541 #ifdef __cplusplus
62542 extern "C"
62543 {
62544 #endif
62545 /* We use char because int might match the return type of a gcc2
62546    builtin and then its argument prototype would still apply.  */
62547 char $ac_func ();
62548 /* The GNU C library defines this for functions which it implements
62549     to always fail with ENOSYS.  Some functions are actually named
62550     something starting with __ and the normal name is an alias.  */
62551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62552 choke me
62553 #else
62554 char (*f) () = $ac_func;
62555 #endif
62556 #ifdef __cplusplus
62557 }
62558 #endif
62559
62560 int
62561 main ()
62562 {
62563 return f != $ac_func;
62564   ;
62565   return 0;
62566 }
62567 _ACEOF
62568 rm -f conftest.$ac_objext conftest$ac_exeext
62569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62570   (eval $ac_link) 2>conftest.er1
62571   ac_status=$?
62572   grep -v '^ *+' conftest.er1 >conftest.err
62573   rm -f conftest.er1
62574   cat conftest.err >&5
62575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62576   (exit $ac_status); } &&
62577          { ac_try='test -z "$ac_c_werror_flag"
62578                          || test ! -s conftest.err'
62579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62580   (eval $ac_try) 2>&5
62581   ac_status=$?
62582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62583   (exit $ac_status); }; } &&
62584          { ac_try='test -s conftest$ac_exeext'
62585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62586   (eval $ac_try) 2>&5
62587   ac_status=$?
62588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62589   (exit $ac_status); }; }; then
62590   eval "$as_ac_var=yes"
62591 else
62592   echo "$as_me: failed program was:" >&5
62593 sed 's/^/| /' conftest.$ac_ext >&5
62594
62595 eval "$as_ac_var=no"
62596 fi
62597 rm -f conftest.err conftest.$ac_objext \
62598       conftest$ac_exeext conftest.$ac_ext
62599 fi
62600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62602 if test `eval echo '${'$as_ac_var'}'` = yes; then
62603   cat >>confdefs.h <<_ACEOF
62604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62605 _ACEOF
62606
62607 fi
62608 done
62609
62610     fi
62611   fi
62612
62613
62614
62615   echo "$as_me:$LINENO: checking for finitef declaration" >&5
62616 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
62617   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62618     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
62619   echo $ECHO_N "(cached) $ECHO_C" >&6
62620 else
62621
62622
62623
62624       ac_ext=cc
62625 ac_cpp='$CXXCPP $CPPFLAGS'
62626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62629
62630       cat >conftest.$ac_ext <<_ACEOF
62631 /* confdefs.h.  */
62632 _ACEOF
62633 cat confdefs.h >>conftest.$ac_ext
62634 cat >>conftest.$ac_ext <<_ACEOF
62635 /* end confdefs.h.  */
62636 #include <math.h>
62637                       #ifdef HAVE_IEEEFP_H
62638                       #include <ieeefp.h>
62639                       #endif
62640
62641 int
62642 main ()
62643 {
62644  finitef(0);
62645   ;
62646   return 0;
62647 }
62648 _ACEOF
62649 rm -f conftest.$ac_objext
62650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62651   (eval $ac_compile) 2>conftest.er1
62652   ac_status=$?
62653   grep -v '^ *+' conftest.er1 >conftest.err
62654   rm -f conftest.er1
62655   cat conftest.err >&5
62656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62657   (exit $ac_status); } &&
62658          { ac_try='test -z "$ac_cxx_werror_flag"
62659                          || test ! -s conftest.err'
62660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62661   (eval $ac_try) 2>&5
62662   ac_status=$?
62663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62664   (exit $ac_status); }; } &&
62665          { ac_try='test -s conftest.$ac_objext'
62666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62667   (eval $ac_try) 2>&5
62668   ac_status=$?
62669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62670   (exit $ac_status); }; }; then
62671   glibcxx_cv_func_finitef_use=yes
62672 else
62673   echo "$as_me: failed program was:" >&5
62674 sed 's/^/| /' conftest.$ac_ext >&5
62675
62676 glibcxx_cv_func_finitef_use=no
62677 fi
62678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62679       ac_ext=c
62680 ac_cpp='$CPP $CPPFLAGS'
62681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62684
62685
62686 fi
62687
62688   fi
62689   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
62690 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
62691
62692   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62693
62694 for ac_func in finitef
62695 do
62696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62697 echo "$as_me:$LINENO: checking for $ac_func" >&5
62698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62699 if eval "test \"\${$as_ac_var+set}\" = set"; then
62700   echo $ECHO_N "(cached) $ECHO_C" >&6
62701 else
62702   if test x$gcc_no_link = xyes; then
62703   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62705    { (exit 1); exit 1; }; }
62706 fi
62707 cat >conftest.$ac_ext <<_ACEOF
62708 /* confdefs.h.  */
62709 _ACEOF
62710 cat confdefs.h >>conftest.$ac_ext
62711 cat >>conftest.$ac_ext <<_ACEOF
62712 /* end confdefs.h.  */
62713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62714    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62715 #define $ac_func innocuous_$ac_func
62716
62717 /* System header to define __stub macros and hopefully few prototypes,
62718     which can conflict with char $ac_func (); below.
62719     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62720     <limits.h> exists even on freestanding compilers.  */
62721
62722 #ifdef __STDC__
62723 # include <limits.h>
62724 #else
62725 # include <assert.h>
62726 #endif
62727
62728 #undef $ac_func
62729
62730 /* Override any gcc2 internal prototype to avoid an error.  */
62731 #ifdef __cplusplus
62732 extern "C"
62733 {
62734 #endif
62735 /* We use char because int might match the return type of a gcc2
62736    builtin and then its argument prototype would still apply.  */
62737 char $ac_func ();
62738 /* The GNU C library defines this for functions which it implements
62739     to always fail with ENOSYS.  Some functions are actually named
62740     something starting with __ and the normal name is an alias.  */
62741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62742 choke me
62743 #else
62744 char (*f) () = $ac_func;
62745 #endif
62746 #ifdef __cplusplus
62747 }
62748 #endif
62749
62750 int
62751 main ()
62752 {
62753 return f != $ac_func;
62754   ;
62755   return 0;
62756 }
62757 _ACEOF
62758 rm -f conftest.$ac_objext conftest$ac_exeext
62759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62760   (eval $ac_link) 2>conftest.er1
62761   ac_status=$?
62762   grep -v '^ *+' conftest.er1 >conftest.err
62763   rm -f conftest.er1
62764   cat conftest.err >&5
62765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62766   (exit $ac_status); } &&
62767          { ac_try='test -z "$ac_c_werror_flag"
62768                          || test ! -s conftest.err'
62769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62770   (eval $ac_try) 2>&5
62771   ac_status=$?
62772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62773   (exit $ac_status); }; } &&
62774          { ac_try='test -s conftest$ac_exeext'
62775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62776   (eval $ac_try) 2>&5
62777   ac_status=$?
62778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62779   (exit $ac_status); }; }; then
62780   eval "$as_ac_var=yes"
62781 else
62782   echo "$as_me: failed program was:" >&5
62783 sed 's/^/| /' conftest.$ac_ext >&5
62784
62785 eval "$as_ac_var=no"
62786 fi
62787 rm -f conftest.err conftest.$ac_objext \
62788       conftest$ac_exeext conftest.$ac_ext
62789 fi
62790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62792 if test `eval echo '${'$as_ac_var'}'` = yes; then
62793   cat >>confdefs.h <<_ACEOF
62794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62795 _ACEOF
62796
62797 fi
62798 done
62799
62800   else
62801
62802   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
62803 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
62804   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62805     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
62806   echo $ECHO_N "(cached) $ECHO_C" >&6
62807 else
62808
62809
62810
62811       ac_ext=cc
62812 ac_cpp='$CXXCPP $CPPFLAGS'
62813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62816
62817       cat >conftest.$ac_ext <<_ACEOF
62818 /* confdefs.h.  */
62819 _ACEOF
62820 cat confdefs.h >>conftest.$ac_ext
62821 cat >>conftest.$ac_ext <<_ACEOF
62822 /* end confdefs.h.  */
62823 #include <math.h>
62824                       #ifdef HAVE_IEEEFP_H
62825                       #include <ieeefp.h>
62826                       #endif
62827
62828 int
62829 main ()
62830 {
62831  _finitef(0);
62832   ;
62833   return 0;
62834 }
62835 _ACEOF
62836 rm -f conftest.$ac_objext
62837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62838   (eval $ac_compile) 2>conftest.er1
62839   ac_status=$?
62840   grep -v '^ *+' conftest.er1 >conftest.err
62841   rm -f conftest.er1
62842   cat conftest.err >&5
62843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62844   (exit $ac_status); } &&
62845          { ac_try='test -z "$ac_cxx_werror_flag"
62846                          || test ! -s conftest.err'
62847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62848   (eval $ac_try) 2>&5
62849   ac_status=$?
62850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62851   (exit $ac_status); }; } &&
62852          { ac_try='test -s conftest.$ac_objext'
62853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62854   (eval $ac_try) 2>&5
62855   ac_status=$?
62856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62857   (exit $ac_status); }; }; then
62858   glibcxx_cv_func__finitef_use=yes
62859 else
62860   echo "$as_me: failed program was:" >&5
62861 sed 's/^/| /' conftest.$ac_ext >&5
62862
62863 glibcxx_cv_func__finitef_use=no
62864 fi
62865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62866       ac_ext=c
62867 ac_cpp='$CPP $CPPFLAGS'
62868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62871
62872
62873 fi
62874
62875   fi
62876   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
62877 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
62878
62879     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62880
62881 for ac_func in _finitef
62882 do
62883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62884 echo "$as_me:$LINENO: checking for $ac_func" >&5
62885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62886 if eval "test \"\${$as_ac_var+set}\" = set"; then
62887   echo $ECHO_N "(cached) $ECHO_C" >&6
62888 else
62889   if test x$gcc_no_link = xyes; then
62890   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62892    { (exit 1); exit 1; }; }
62893 fi
62894 cat >conftest.$ac_ext <<_ACEOF
62895 /* confdefs.h.  */
62896 _ACEOF
62897 cat confdefs.h >>conftest.$ac_ext
62898 cat >>conftest.$ac_ext <<_ACEOF
62899 /* end confdefs.h.  */
62900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62901    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62902 #define $ac_func innocuous_$ac_func
62903
62904 /* System header to define __stub macros and hopefully few prototypes,
62905     which can conflict with char $ac_func (); below.
62906     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62907     <limits.h> exists even on freestanding compilers.  */
62908
62909 #ifdef __STDC__
62910 # include <limits.h>
62911 #else
62912 # include <assert.h>
62913 #endif
62914
62915 #undef $ac_func
62916
62917 /* Override any gcc2 internal prototype to avoid an error.  */
62918 #ifdef __cplusplus
62919 extern "C"
62920 {
62921 #endif
62922 /* We use char because int might match the return type of a gcc2
62923    builtin and then its argument prototype would still apply.  */
62924 char $ac_func ();
62925 /* The GNU C library defines this for functions which it implements
62926     to always fail with ENOSYS.  Some functions are actually named
62927     something starting with __ and the normal name is an alias.  */
62928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62929 choke me
62930 #else
62931 char (*f) () = $ac_func;
62932 #endif
62933 #ifdef __cplusplus
62934 }
62935 #endif
62936
62937 int
62938 main ()
62939 {
62940 return f != $ac_func;
62941   ;
62942   return 0;
62943 }
62944 _ACEOF
62945 rm -f conftest.$ac_objext conftest$ac_exeext
62946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62947   (eval $ac_link) 2>conftest.er1
62948   ac_status=$?
62949   grep -v '^ *+' conftest.er1 >conftest.err
62950   rm -f conftest.er1
62951   cat conftest.err >&5
62952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62953   (exit $ac_status); } &&
62954          { ac_try='test -z "$ac_c_werror_flag"
62955                          || test ! -s conftest.err'
62956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62957   (eval $ac_try) 2>&5
62958   ac_status=$?
62959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62960   (exit $ac_status); }; } &&
62961          { ac_try='test -s conftest$ac_exeext'
62962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62963   (eval $ac_try) 2>&5
62964   ac_status=$?
62965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62966   (exit $ac_status); }; }; then
62967   eval "$as_ac_var=yes"
62968 else
62969   echo "$as_me: failed program was:" >&5
62970 sed 's/^/| /' conftest.$ac_ext >&5
62971
62972 eval "$as_ac_var=no"
62973 fi
62974 rm -f conftest.err conftest.$ac_objext \
62975       conftest$ac_exeext conftest.$ac_ext
62976 fi
62977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62979 if test `eval echo '${'$as_ac_var'}'` = yes; then
62980   cat >>confdefs.h <<_ACEOF
62981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62982 _ACEOF
62983
62984 fi
62985 done
62986
62987     fi
62988   fi
62989
62990
62991
62992   echo "$as_me:$LINENO: checking for long double trig functions" >&5
62993 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
62994   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
62995   echo $ECHO_N "(cached) $ECHO_C" >&6
62996 else
62997
62998
62999
63000     ac_ext=cc
63001 ac_cpp='$CXXCPP $CPPFLAGS'
63002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63005
63006     cat >conftest.$ac_ext <<_ACEOF
63007 /* confdefs.h.  */
63008 _ACEOF
63009 cat confdefs.h >>conftest.$ac_ext
63010 cat >>conftest.$ac_ext <<_ACEOF
63011 /* end confdefs.h.  */
63012 #include <math.h>
63013 int
63014 main ()
63015 {
63016  `for x in acosl asinl atanl \
63017                                           cosl sinl tanl \
63018                                           coshl sinhl tanhl; do echo "$x (0);"; done`
63019   ;
63020   return 0;
63021 }
63022 _ACEOF
63023 rm -f conftest.$ac_objext
63024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63025   (eval $ac_compile) 2>conftest.er1
63026   ac_status=$?
63027   grep -v '^ *+' conftest.er1 >conftest.err
63028   rm -f conftest.er1
63029   cat conftest.err >&5
63030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63031   (exit $ac_status); } &&
63032          { ac_try='test -z "$ac_cxx_werror_flag"
63033                          || test ! -s conftest.err'
63034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63035   (eval $ac_try) 2>&5
63036   ac_status=$?
63037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63038   (exit $ac_status); }; } &&
63039          { ac_try='test -s conftest.$ac_objext'
63040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63041   (eval $ac_try) 2>&5
63042   ac_status=$?
63043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63044   (exit $ac_status); }; }; then
63045   glibcxx_cv_func_long_double_trig_use=yes
63046 else
63047   echo "$as_me: failed program was:" >&5
63048 sed 's/^/| /' conftest.$ac_ext >&5
63049
63050 glibcxx_cv_func_long_double_trig_use=no
63051 fi
63052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63053     ac_ext=c
63054 ac_cpp='$CPP $CPPFLAGS'
63055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63058
63059 fi
63060
63061   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
63062 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
63063   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63064
63065
63066
63067
63068
63069
63070
63071
63072
63073 for ac_func in acosl asinl atanl \
63074                                           cosl sinl tanl \
63075                                           coshl sinhl tanhl
63076 do
63077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63078 echo "$as_me:$LINENO: checking for $ac_func" >&5
63079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63080 if eval "test \"\${$as_ac_var+set}\" = set"; then
63081   echo $ECHO_N "(cached) $ECHO_C" >&6
63082 else
63083   if test x$gcc_no_link = xyes; then
63084   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63086    { (exit 1); exit 1; }; }
63087 fi
63088 cat >conftest.$ac_ext <<_ACEOF
63089 /* confdefs.h.  */
63090 _ACEOF
63091 cat confdefs.h >>conftest.$ac_ext
63092 cat >>conftest.$ac_ext <<_ACEOF
63093 /* end confdefs.h.  */
63094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63095    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63096 #define $ac_func innocuous_$ac_func
63097
63098 /* System header to define __stub macros and hopefully few prototypes,
63099     which can conflict with char $ac_func (); below.
63100     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63101     <limits.h> exists even on freestanding compilers.  */
63102
63103 #ifdef __STDC__
63104 # include <limits.h>
63105 #else
63106 # include <assert.h>
63107 #endif
63108
63109 #undef $ac_func
63110
63111 /* Override any gcc2 internal prototype to avoid an error.  */
63112 #ifdef __cplusplus
63113 extern "C"
63114 {
63115 #endif
63116 /* We use char because int might match the return type of a gcc2
63117    builtin and then its argument prototype would still apply.  */
63118 char $ac_func ();
63119 /* The GNU C library defines this for functions which it implements
63120     to always fail with ENOSYS.  Some functions are actually named
63121     something starting with __ and the normal name is an alias.  */
63122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63123 choke me
63124 #else
63125 char (*f) () = $ac_func;
63126 #endif
63127 #ifdef __cplusplus
63128 }
63129 #endif
63130
63131 int
63132 main ()
63133 {
63134 return f != $ac_func;
63135   ;
63136   return 0;
63137 }
63138 _ACEOF
63139 rm -f conftest.$ac_objext conftest$ac_exeext
63140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63141   (eval $ac_link) 2>conftest.er1
63142   ac_status=$?
63143   grep -v '^ *+' conftest.er1 >conftest.err
63144   rm -f conftest.er1
63145   cat conftest.err >&5
63146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63147   (exit $ac_status); } &&
63148          { ac_try='test -z "$ac_c_werror_flag"
63149                          || test ! -s conftest.err'
63150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63151   (eval $ac_try) 2>&5
63152   ac_status=$?
63153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63154   (exit $ac_status); }; } &&
63155          { ac_try='test -s conftest$ac_exeext'
63156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63157   (eval $ac_try) 2>&5
63158   ac_status=$?
63159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63160   (exit $ac_status); }; }; then
63161   eval "$as_ac_var=yes"
63162 else
63163   echo "$as_me: failed program was:" >&5
63164 sed 's/^/| /' conftest.$ac_ext >&5
63165
63166 eval "$as_ac_var=no"
63167 fi
63168 rm -f conftest.err conftest.$ac_objext \
63169       conftest$ac_exeext conftest.$ac_ext
63170 fi
63171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63173 if test `eval echo '${'$as_ac_var'}'` = yes; then
63174   cat >>confdefs.h <<_ACEOF
63175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63176 _ACEOF
63177
63178 fi
63179 done
63180
63181   fi
63182
63183
63184   echo "$as_me:$LINENO: checking for long double round functions" >&5
63185 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
63186   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
63187   echo $ECHO_N "(cached) $ECHO_C" >&6
63188 else
63189
63190
63191
63192     ac_ext=cc
63193 ac_cpp='$CXXCPP $CPPFLAGS'
63194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63197
63198     cat >conftest.$ac_ext <<_ACEOF
63199 /* confdefs.h.  */
63200 _ACEOF
63201 cat confdefs.h >>conftest.$ac_ext
63202 cat >>conftest.$ac_ext <<_ACEOF
63203 /* end confdefs.h.  */
63204 #include <math.h>
63205 int
63206 main ()
63207 {
63208  `for x in ceill floorl; do echo "$x (0);"; done`
63209   ;
63210   return 0;
63211 }
63212 _ACEOF
63213 rm -f conftest.$ac_objext
63214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63215   (eval $ac_compile) 2>conftest.er1
63216   ac_status=$?
63217   grep -v '^ *+' conftest.er1 >conftest.err
63218   rm -f conftest.er1
63219   cat conftest.err >&5
63220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63221   (exit $ac_status); } &&
63222          { ac_try='test -z "$ac_cxx_werror_flag"
63223                          || test ! -s conftest.err'
63224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63225   (eval $ac_try) 2>&5
63226   ac_status=$?
63227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63228   (exit $ac_status); }; } &&
63229          { ac_try='test -s conftest.$ac_objext'
63230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63231   (eval $ac_try) 2>&5
63232   ac_status=$?
63233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63234   (exit $ac_status); }; }; then
63235   glibcxx_cv_func_long_double_round_use=yes
63236 else
63237   echo "$as_me: failed program was:" >&5
63238 sed 's/^/| /' conftest.$ac_ext >&5
63239
63240 glibcxx_cv_func_long_double_round_use=no
63241 fi
63242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63243     ac_ext=c
63244 ac_cpp='$CPP $CPPFLAGS'
63245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63248
63249 fi
63250
63251   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
63252 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
63253   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63254
63255
63256 for ac_func in ceill floorl
63257 do
63258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63259 echo "$as_me:$LINENO: checking for $ac_func" >&5
63260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63261 if eval "test \"\${$as_ac_var+set}\" = set"; then
63262   echo $ECHO_N "(cached) $ECHO_C" >&6
63263 else
63264   if test x$gcc_no_link = xyes; then
63265   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63267    { (exit 1); exit 1; }; }
63268 fi
63269 cat >conftest.$ac_ext <<_ACEOF
63270 /* confdefs.h.  */
63271 _ACEOF
63272 cat confdefs.h >>conftest.$ac_ext
63273 cat >>conftest.$ac_ext <<_ACEOF
63274 /* end confdefs.h.  */
63275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63276    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63277 #define $ac_func innocuous_$ac_func
63278
63279 /* System header to define __stub macros and hopefully few prototypes,
63280     which can conflict with char $ac_func (); below.
63281     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63282     <limits.h> exists even on freestanding compilers.  */
63283
63284 #ifdef __STDC__
63285 # include <limits.h>
63286 #else
63287 # include <assert.h>
63288 #endif
63289
63290 #undef $ac_func
63291
63292 /* Override any gcc2 internal prototype to avoid an error.  */
63293 #ifdef __cplusplus
63294 extern "C"
63295 {
63296 #endif
63297 /* We use char because int might match the return type of a gcc2
63298    builtin and then its argument prototype would still apply.  */
63299 char $ac_func ();
63300 /* The GNU C library defines this for functions which it implements
63301     to always fail with ENOSYS.  Some functions are actually named
63302     something starting with __ and the normal name is an alias.  */
63303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63304 choke me
63305 #else
63306 char (*f) () = $ac_func;
63307 #endif
63308 #ifdef __cplusplus
63309 }
63310 #endif
63311
63312 int
63313 main ()
63314 {
63315 return f != $ac_func;
63316   ;
63317   return 0;
63318 }
63319 _ACEOF
63320 rm -f conftest.$ac_objext conftest$ac_exeext
63321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63322   (eval $ac_link) 2>conftest.er1
63323   ac_status=$?
63324   grep -v '^ *+' conftest.er1 >conftest.err
63325   rm -f conftest.er1
63326   cat conftest.err >&5
63327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63328   (exit $ac_status); } &&
63329          { ac_try='test -z "$ac_c_werror_flag"
63330                          || test ! -s conftest.err'
63331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63332   (eval $ac_try) 2>&5
63333   ac_status=$?
63334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63335   (exit $ac_status); }; } &&
63336          { ac_try='test -s conftest$ac_exeext'
63337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63338   (eval $ac_try) 2>&5
63339   ac_status=$?
63340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63341   (exit $ac_status); }; }; then
63342   eval "$as_ac_var=yes"
63343 else
63344   echo "$as_me: failed program was:" >&5
63345 sed 's/^/| /' conftest.$ac_ext >&5
63346
63347 eval "$as_ac_var=no"
63348 fi
63349 rm -f conftest.err conftest.$ac_objext \
63350       conftest$ac_exeext conftest.$ac_ext
63351 fi
63352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63354 if test `eval echo '${'$as_ac_var'}'` = yes; then
63355   cat >>confdefs.h <<_ACEOF
63356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63357 _ACEOF
63358
63359 fi
63360 done
63361
63362   fi
63363
63364
63365
63366   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
63367 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
63368   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63369     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
63370   echo $ECHO_N "(cached) $ECHO_C" >&6
63371 else
63372
63373
63374
63375       ac_ext=cc
63376 ac_cpp='$CXXCPP $CPPFLAGS'
63377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63380
63381       cat >conftest.$ac_ext <<_ACEOF
63382 /* confdefs.h.  */
63383 _ACEOF
63384 cat confdefs.h >>conftest.$ac_ext
63385 cat >>conftest.$ac_ext <<_ACEOF
63386 /* end confdefs.h.  */
63387 #include <math.h>
63388                       #ifdef HAVE_IEEEFP_H
63389                       #include <ieeefp.h>
63390                       #endif
63391
63392 int
63393 main ()
63394 {
63395  isnanl(0);
63396   ;
63397   return 0;
63398 }
63399 _ACEOF
63400 rm -f conftest.$ac_objext
63401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63402   (eval $ac_compile) 2>conftest.er1
63403   ac_status=$?
63404   grep -v '^ *+' conftest.er1 >conftest.err
63405   rm -f conftest.er1
63406   cat conftest.err >&5
63407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63408   (exit $ac_status); } &&
63409          { ac_try='test -z "$ac_cxx_werror_flag"
63410                          || test ! -s conftest.err'
63411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63412   (eval $ac_try) 2>&5
63413   ac_status=$?
63414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63415   (exit $ac_status); }; } &&
63416          { ac_try='test -s conftest.$ac_objext'
63417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63418   (eval $ac_try) 2>&5
63419   ac_status=$?
63420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63421   (exit $ac_status); }; }; then
63422   glibcxx_cv_func_isnanl_use=yes
63423 else
63424   echo "$as_me: failed program was:" >&5
63425 sed 's/^/| /' conftest.$ac_ext >&5
63426
63427 glibcxx_cv_func_isnanl_use=no
63428 fi
63429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63430       ac_ext=c
63431 ac_cpp='$CPP $CPPFLAGS'
63432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63435
63436
63437 fi
63438
63439   fi
63440   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
63441 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
63442
63443   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63444
63445 for ac_func in isnanl
63446 do
63447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63448 echo "$as_me:$LINENO: checking for $ac_func" >&5
63449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63450 if eval "test \"\${$as_ac_var+set}\" = set"; then
63451   echo $ECHO_N "(cached) $ECHO_C" >&6
63452 else
63453   if test x$gcc_no_link = xyes; then
63454   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63456    { (exit 1); exit 1; }; }
63457 fi
63458 cat >conftest.$ac_ext <<_ACEOF
63459 /* confdefs.h.  */
63460 _ACEOF
63461 cat confdefs.h >>conftest.$ac_ext
63462 cat >>conftest.$ac_ext <<_ACEOF
63463 /* end confdefs.h.  */
63464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63465    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63466 #define $ac_func innocuous_$ac_func
63467
63468 /* System header to define __stub macros and hopefully few prototypes,
63469     which can conflict with char $ac_func (); below.
63470     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63471     <limits.h> exists even on freestanding compilers.  */
63472
63473 #ifdef __STDC__
63474 # include <limits.h>
63475 #else
63476 # include <assert.h>
63477 #endif
63478
63479 #undef $ac_func
63480
63481 /* Override any gcc2 internal prototype to avoid an error.  */
63482 #ifdef __cplusplus
63483 extern "C"
63484 {
63485 #endif
63486 /* We use char because int might match the return type of a gcc2
63487    builtin and then its argument prototype would still apply.  */
63488 char $ac_func ();
63489 /* The GNU C library defines this for functions which it implements
63490     to always fail with ENOSYS.  Some functions are actually named
63491     something starting with __ and the normal name is an alias.  */
63492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63493 choke me
63494 #else
63495 char (*f) () = $ac_func;
63496 #endif
63497 #ifdef __cplusplus
63498 }
63499 #endif
63500
63501 int
63502 main ()
63503 {
63504 return f != $ac_func;
63505   ;
63506   return 0;
63507 }
63508 _ACEOF
63509 rm -f conftest.$ac_objext conftest$ac_exeext
63510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63511   (eval $ac_link) 2>conftest.er1
63512   ac_status=$?
63513   grep -v '^ *+' conftest.er1 >conftest.err
63514   rm -f conftest.er1
63515   cat conftest.err >&5
63516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63517   (exit $ac_status); } &&
63518          { ac_try='test -z "$ac_c_werror_flag"
63519                          || test ! -s conftest.err'
63520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63521   (eval $ac_try) 2>&5
63522   ac_status=$?
63523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63524   (exit $ac_status); }; } &&
63525          { ac_try='test -s conftest$ac_exeext'
63526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63527   (eval $ac_try) 2>&5
63528   ac_status=$?
63529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63530   (exit $ac_status); }; }; then
63531   eval "$as_ac_var=yes"
63532 else
63533   echo "$as_me: failed program was:" >&5
63534 sed 's/^/| /' conftest.$ac_ext >&5
63535
63536 eval "$as_ac_var=no"
63537 fi
63538 rm -f conftest.err conftest.$ac_objext \
63539       conftest$ac_exeext conftest.$ac_ext
63540 fi
63541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63543 if test `eval echo '${'$as_ac_var'}'` = yes; then
63544   cat >>confdefs.h <<_ACEOF
63545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63546 _ACEOF
63547
63548 fi
63549 done
63550
63551   else
63552
63553   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
63554 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
63555   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63556     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
63557   echo $ECHO_N "(cached) $ECHO_C" >&6
63558 else
63559
63560
63561
63562       ac_ext=cc
63563 ac_cpp='$CXXCPP $CPPFLAGS'
63564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63567
63568       cat >conftest.$ac_ext <<_ACEOF
63569 /* confdefs.h.  */
63570 _ACEOF
63571 cat confdefs.h >>conftest.$ac_ext
63572 cat >>conftest.$ac_ext <<_ACEOF
63573 /* end confdefs.h.  */
63574 #include <math.h>
63575                       #ifdef HAVE_IEEEFP_H
63576                       #include <ieeefp.h>
63577                       #endif
63578
63579 int
63580 main ()
63581 {
63582  _isnanl(0);
63583   ;
63584   return 0;
63585 }
63586 _ACEOF
63587 rm -f conftest.$ac_objext
63588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63589   (eval $ac_compile) 2>conftest.er1
63590   ac_status=$?
63591   grep -v '^ *+' conftest.er1 >conftest.err
63592   rm -f conftest.er1
63593   cat conftest.err >&5
63594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63595   (exit $ac_status); } &&
63596          { ac_try='test -z "$ac_cxx_werror_flag"
63597                          || test ! -s conftest.err'
63598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63599   (eval $ac_try) 2>&5
63600   ac_status=$?
63601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63602   (exit $ac_status); }; } &&
63603          { ac_try='test -s conftest.$ac_objext'
63604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63605   (eval $ac_try) 2>&5
63606   ac_status=$?
63607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63608   (exit $ac_status); }; }; then
63609   glibcxx_cv_func__isnanl_use=yes
63610 else
63611   echo "$as_me: failed program was:" >&5
63612 sed 's/^/| /' conftest.$ac_ext >&5
63613
63614 glibcxx_cv_func__isnanl_use=no
63615 fi
63616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63617       ac_ext=c
63618 ac_cpp='$CPP $CPPFLAGS'
63619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63622
63623
63624 fi
63625
63626   fi
63627   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
63628 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
63629
63630     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63631
63632 for ac_func in _isnanl
63633 do
63634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63635 echo "$as_me:$LINENO: checking for $ac_func" >&5
63636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63637 if eval "test \"\${$as_ac_var+set}\" = set"; then
63638   echo $ECHO_N "(cached) $ECHO_C" >&6
63639 else
63640   if test x$gcc_no_link = xyes; then
63641   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63643    { (exit 1); exit 1; }; }
63644 fi
63645 cat >conftest.$ac_ext <<_ACEOF
63646 /* confdefs.h.  */
63647 _ACEOF
63648 cat confdefs.h >>conftest.$ac_ext
63649 cat >>conftest.$ac_ext <<_ACEOF
63650 /* end confdefs.h.  */
63651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63652    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63653 #define $ac_func innocuous_$ac_func
63654
63655 /* System header to define __stub macros and hopefully few prototypes,
63656     which can conflict with char $ac_func (); below.
63657     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63658     <limits.h> exists even on freestanding compilers.  */
63659
63660 #ifdef __STDC__
63661 # include <limits.h>
63662 #else
63663 # include <assert.h>
63664 #endif
63665
63666 #undef $ac_func
63667
63668 /* Override any gcc2 internal prototype to avoid an error.  */
63669 #ifdef __cplusplus
63670 extern "C"
63671 {
63672 #endif
63673 /* We use char because int might match the return type of a gcc2
63674    builtin and then its argument prototype would still apply.  */
63675 char $ac_func ();
63676 /* The GNU C library defines this for functions which it implements
63677     to always fail with ENOSYS.  Some functions are actually named
63678     something starting with __ and the normal name is an alias.  */
63679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63680 choke me
63681 #else
63682 char (*f) () = $ac_func;
63683 #endif
63684 #ifdef __cplusplus
63685 }
63686 #endif
63687
63688 int
63689 main ()
63690 {
63691 return f != $ac_func;
63692   ;
63693   return 0;
63694 }
63695 _ACEOF
63696 rm -f conftest.$ac_objext conftest$ac_exeext
63697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63698   (eval $ac_link) 2>conftest.er1
63699   ac_status=$?
63700   grep -v '^ *+' conftest.er1 >conftest.err
63701   rm -f conftest.er1
63702   cat conftest.err >&5
63703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63704   (exit $ac_status); } &&
63705          { ac_try='test -z "$ac_c_werror_flag"
63706                          || test ! -s conftest.err'
63707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63708   (eval $ac_try) 2>&5
63709   ac_status=$?
63710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63711   (exit $ac_status); }; } &&
63712          { ac_try='test -s conftest$ac_exeext'
63713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63714   (eval $ac_try) 2>&5
63715   ac_status=$?
63716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63717   (exit $ac_status); }; }; then
63718   eval "$as_ac_var=yes"
63719 else
63720   echo "$as_me: failed program was:" >&5
63721 sed 's/^/| /' conftest.$ac_ext >&5
63722
63723 eval "$as_ac_var=no"
63724 fi
63725 rm -f conftest.err conftest.$ac_objext \
63726       conftest$ac_exeext conftest.$ac_ext
63727 fi
63728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63730 if test `eval echo '${'$as_ac_var'}'` = yes; then
63731   cat >>confdefs.h <<_ACEOF
63732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63733 _ACEOF
63734
63735 fi
63736 done
63737
63738     fi
63739   fi
63740
63741
63742
63743   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
63744 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
63745   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63746     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
63747   echo $ECHO_N "(cached) $ECHO_C" >&6
63748 else
63749
63750
63751
63752       ac_ext=cc
63753 ac_cpp='$CXXCPP $CPPFLAGS'
63754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63757
63758       cat >conftest.$ac_ext <<_ACEOF
63759 /* confdefs.h.  */
63760 _ACEOF
63761 cat confdefs.h >>conftest.$ac_ext
63762 cat >>conftest.$ac_ext <<_ACEOF
63763 /* end confdefs.h.  */
63764 #include <math.h>
63765                       #ifdef HAVE_IEEEFP_H
63766                       #include <ieeefp.h>
63767                       #endif
63768
63769 int
63770 main ()
63771 {
63772  isinfl(0);
63773   ;
63774   return 0;
63775 }
63776 _ACEOF
63777 rm -f conftest.$ac_objext
63778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63779   (eval $ac_compile) 2>conftest.er1
63780   ac_status=$?
63781   grep -v '^ *+' conftest.er1 >conftest.err
63782   rm -f conftest.er1
63783   cat conftest.err >&5
63784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63785   (exit $ac_status); } &&
63786          { ac_try='test -z "$ac_cxx_werror_flag"
63787                          || test ! -s conftest.err'
63788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63789   (eval $ac_try) 2>&5
63790   ac_status=$?
63791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63792   (exit $ac_status); }; } &&
63793          { ac_try='test -s conftest.$ac_objext'
63794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63795   (eval $ac_try) 2>&5
63796   ac_status=$?
63797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63798   (exit $ac_status); }; }; then
63799   glibcxx_cv_func_isinfl_use=yes
63800 else
63801   echo "$as_me: failed program was:" >&5
63802 sed 's/^/| /' conftest.$ac_ext >&5
63803
63804 glibcxx_cv_func_isinfl_use=no
63805 fi
63806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63807       ac_ext=c
63808 ac_cpp='$CPP $CPPFLAGS'
63809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63812
63813
63814 fi
63815
63816   fi
63817   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
63818 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
63819
63820   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
63821
63822 for ac_func in isinfl
63823 do
63824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63825 echo "$as_me:$LINENO: checking for $ac_func" >&5
63826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63827 if eval "test \"\${$as_ac_var+set}\" = set"; then
63828   echo $ECHO_N "(cached) $ECHO_C" >&6
63829 else
63830   if test x$gcc_no_link = xyes; then
63831   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63833    { (exit 1); exit 1; }; }
63834 fi
63835 cat >conftest.$ac_ext <<_ACEOF
63836 /* confdefs.h.  */
63837 _ACEOF
63838 cat confdefs.h >>conftest.$ac_ext
63839 cat >>conftest.$ac_ext <<_ACEOF
63840 /* end confdefs.h.  */
63841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63842    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63843 #define $ac_func innocuous_$ac_func
63844
63845 /* System header to define __stub macros and hopefully few prototypes,
63846     which can conflict with char $ac_func (); below.
63847     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63848     <limits.h> exists even on freestanding compilers.  */
63849
63850 #ifdef __STDC__
63851 # include <limits.h>
63852 #else
63853 # include <assert.h>
63854 #endif
63855
63856 #undef $ac_func
63857
63858 /* Override any gcc2 internal prototype to avoid an error.  */
63859 #ifdef __cplusplus
63860 extern "C"
63861 {
63862 #endif
63863 /* We use char because int might match the return type of a gcc2
63864    builtin and then its argument prototype would still apply.  */
63865 char $ac_func ();
63866 /* The GNU C library defines this for functions which it implements
63867     to always fail with ENOSYS.  Some functions are actually named
63868     something starting with __ and the normal name is an alias.  */
63869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63870 choke me
63871 #else
63872 char (*f) () = $ac_func;
63873 #endif
63874 #ifdef __cplusplus
63875 }
63876 #endif
63877
63878 int
63879 main ()
63880 {
63881 return f != $ac_func;
63882   ;
63883   return 0;
63884 }
63885 _ACEOF
63886 rm -f conftest.$ac_objext conftest$ac_exeext
63887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63888   (eval $ac_link) 2>conftest.er1
63889   ac_status=$?
63890   grep -v '^ *+' conftest.er1 >conftest.err
63891   rm -f conftest.er1
63892   cat conftest.err >&5
63893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63894   (exit $ac_status); } &&
63895          { ac_try='test -z "$ac_c_werror_flag"
63896                          || test ! -s conftest.err'
63897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63898   (eval $ac_try) 2>&5
63899   ac_status=$?
63900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63901   (exit $ac_status); }; } &&
63902          { ac_try='test -s conftest$ac_exeext'
63903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63904   (eval $ac_try) 2>&5
63905   ac_status=$?
63906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63907   (exit $ac_status); }; }; then
63908   eval "$as_ac_var=yes"
63909 else
63910   echo "$as_me: failed program was:" >&5
63911 sed 's/^/| /' conftest.$ac_ext >&5
63912
63913 eval "$as_ac_var=no"
63914 fi
63915 rm -f conftest.err conftest.$ac_objext \
63916       conftest$ac_exeext conftest.$ac_ext
63917 fi
63918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63920 if test `eval echo '${'$as_ac_var'}'` = yes; then
63921   cat >>confdefs.h <<_ACEOF
63922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63923 _ACEOF
63924
63925 fi
63926 done
63927
63928   else
63929
63930   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
63931 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
63932   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
63933     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
63934   echo $ECHO_N "(cached) $ECHO_C" >&6
63935 else
63936
63937
63938
63939       ac_ext=cc
63940 ac_cpp='$CXXCPP $CPPFLAGS'
63941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63944
63945       cat >conftest.$ac_ext <<_ACEOF
63946 /* confdefs.h.  */
63947 _ACEOF
63948 cat confdefs.h >>conftest.$ac_ext
63949 cat >>conftest.$ac_ext <<_ACEOF
63950 /* end confdefs.h.  */
63951 #include <math.h>
63952                       #ifdef HAVE_IEEEFP_H
63953                       #include <ieeefp.h>
63954                       #endif
63955
63956 int
63957 main ()
63958 {
63959  _isinfl(0);
63960   ;
63961   return 0;
63962 }
63963 _ACEOF
63964 rm -f conftest.$ac_objext
63965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63966   (eval $ac_compile) 2>conftest.er1
63967   ac_status=$?
63968   grep -v '^ *+' conftest.er1 >conftest.err
63969   rm -f conftest.er1
63970   cat conftest.err >&5
63971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63972   (exit $ac_status); } &&
63973          { ac_try='test -z "$ac_cxx_werror_flag"
63974                          || test ! -s conftest.err'
63975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63976   (eval $ac_try) 2>&5
63977   ac_status=$?
63978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63979   (exit $ac_status); }; } &&
63980          { ac_try='test -s conftest.$ac_objext'
63981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63982   (eval $ac_try) 2>&5
63983   ac_status=$?
63984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63985   (exit $ac_status); }; }; then
63986   glibcxx_cv_func__isinfl_use=yes
63987 else
63988   echo "$as_me: failed program was:" >&5
63989 sed 's/^/| /' conftest.$ac_ext >&5
63990
63991 glibcxx_cv_func__isinfl_use=no
63992 fi
63993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63994       ac_ext=c
63995 ac_cpp='$CPP $CPPFLAGS'
63996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63999
64000
64001 fi
64002
64003   fi
64004   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
64005 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
64006
64007     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64008
64009 for ac_func in _isinfl
64010 do
64011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64012 echo "$as_me:$LINENO: checking for $ac_func" >&5
64013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64014 if eval "test \"\${$as_ac_var+set}\" = set"; then
64015   echo $ECHO_N "(cached) $ECHO_C" >&6
64016 else
64017   if test x$gcc_no_link = xyes; then
64018   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64020    { (exit 1); exit 1; }; }
64021 fi
64022 cat >conftest.$ac_ext <<_ACEOF
64023 /* confdefs.h.  */
64024 _ACEOF
64025 cat confdefs.h >>conftest.$ac_ext
64026 cat >>conftest.$ac_ext <<_ACEOF
64027 /* end confdefs.h.  */
64028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64029    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64030 #define $ac_func innocuous_$ac_func
64031
64032 /* System header to define __stub macros and hopefully few prototypes,
64033     which can conflict with char $ac_func (); below.
64034     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64035     <limits.h> exists even on freestanding compilers.  */
64036
64037 #ifdef __STDC__
64038 # include <limits.h>
64039 #else
64040 # include <assert.h>
64041 #endif
64042
64043 #undef $ac_func
64044
64045 /* Override any gcc2 internal prototype to avoid an error.  */
64046 #ifdef __cplusplus
64047 extern "C"
64048 {
64049 #endif
64050 /* We use char because int might match the return type of a gcc2
64051    builtin and then its argument prototype would still apply.  */
64052 char $ac_func ();
64053 /* The GNU C library defines this for functions which it implements
64054     to always fail with ENOSYS.  Some functions are actually named
64055     something starting with __ and the normal name is an alias.  */
64056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64057 choke me
64058 #else
64059 char (*f) () = $ac_func;
64060 #endif
64061 #ifdef __cplusplus
64062 }
64063 #endif
64064
64065 int
64066 main ()
64067 {
64068 return f != $ac_func;
64069   ;
64070   return 0;
64071 }
64072 _ACEOF
64073 rm -f conftest.$ac_objext conftest$ac_exeext
64074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64075   (eval $ac_link) 2>conftest.er1
64076   ac_status=$?
64077   grep -v '^ *+' conftest.er1 >conftest.err
64078   rm -f conftest.er1
64079   cat conftest.err >&5
64080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64081   (exit $ac_status); } &&
64082          { ac_try='test -z "$ac_c_werror_flag"
64083                          || test ! -s conftest.err'
64084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64085   (eval $ac_try) 2>&5
64086   ac_status=$?
64087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64088   (exit $ac_status); }; } &&
64089          { ac_try='test -s conftest$ac_exeext'
64090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64091   (eval $ac_try) 2>&5
64092   ac_status=$?
64093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64094   (exit $ac_status); }; }; then
64095   eval "$as_ac_var=yes"
64096 else
64097   echo "$as_me: failed program was:" >&5
64098 sed 's/^/| /' conftest.$ac_ext >&5
64099
64100 eval "$as_ac_var=no"
64101 fi
64102 rm -f conftest.err conftest.$ac_objext \
64103       conftest$ac_exeext conftest.$ac_ext
64104 fi
64105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64107 if test `eval echo '${'$as_ac_var'}'` = yes; then
64108   cat >>confdefs.h <<_ACEOF
64109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64110 _ACEOF
64111
64112 fi
64113 done
64114
64115     fi
64116   fi
64117
64118
64119
64120   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
64121 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
64122   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
64123     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
64124   echo $ECHO_N "(cached) $ECHO_C" >&6
64125 else
64126
64127
64128
64129       ac_ext=cc
64130 ac_cpp='$CXXCPP $CPPFLAGS'
64131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64134
64135       cat >conftest.$ac_ext <<_ACEOF
64136 /* confdefs.h.  */
64137 _ACEOF
64138 cat confdefs.h >>conftest.$ac_ext
64139 cat >>conftest.$ac_ext <<_ACEOF
64140 /* end confdefs.h.  */
64141 #include <math.h>
64142 int
64143 main ()
64144 {
64145  copysignl(0, 0);
64146   ;
64147   return 0;
64148 }
64149 _ACEOF
64150 rm -f conftest.$ac_objext
64151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64152   (eval $ac_compile) 2>conftest.er1
64153   ac_status=$?
64154   grep -v '^ *+' conftest.er1 >conftest.err
64155   rm -f conftest.er1
64156   cat conftest.err >&5
64157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64158   (exit $ac_status); } &&
64159          { ac_try='test -z "$ac_cxx_werror_flag"
64160                          || test ! -s conftest.err'
64161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64162   (eval $ac_try) 2>&5
64163   ac_status=$?
64164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64165   (exit $ac_status); }; } &&
64166          { ac_try='test -s conftest.$ac_objext'
64167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64168   (eval $ac_try) 2>&5
64169   ac_status=$?
64170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64171   (exit $ac_status); }; }; then
64172   glibcxx_cv_func_copysignl_use=yes
64173 else
64174   echo "$as_me: failed program was:" >&5
64175 sed 's/^/| /' conftest.$ac_ext >&5
64176
64177 glibcxx_cv_func_copysignl_use=no
64178 fi
64179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64180       ac_ext=c
64181 ac_cpp='$CPP $CPPFLAGS'
64182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64185
64186
64187 fi
64188
64189   fi
64190   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
64191 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
64192
64193   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
64194
64195 for ac_func in copysignl
64196 do
64197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64198 echo "$as_me:$LINENO: checking for $ac_func" >&5
64199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64200 if eval "test \"\${$as_ac_var+set}\" = set"; then
64201   echo $ECHO_N "(cached) $ECHO_C" >&6
64202 else
64203   if test x$gcc_no_link = xyes; then
64204   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64206    { (exit 1); exit 1; }; }
64207 fi
64208 cat >conftest.$ac_ext <<_ACEOF
64209 /* confdefs.h.  */
64210 _ACEOF
64211 cat confdefs.h >>conftest.$ac_ext
64212 cat >>conftest.$ac_ext <<_ACEOF
64213 /* end confdefs.h.  */
64214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64215    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64216 #define $ac_func innocuous_$ac_func
64217
64218 /* System header to define __stub macros and hopefully few prototypes,
64219     which can conflict with char $ac_func (); below.
64220     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64221     <limits.h> exists even on freestanding compilers.  */
64222
64223 #ifdef __STDC__
64224 # include <limits.h>
64225 #else
64226 # include <assert.h>
64227 #endif
64228
64229 #undef $ac_func
64230
64231 /* Override any gcc2 internal prototype to avoid an error.  */
64232 #ifdef __cplusplus
64233 extern "C"
64234 {
64235 #endif
64236 /* We use char because int might match the return type of a gcc2
64237    builtin and then its argument prototype would still apply.  */
64238 char $ac_func ();
64239 /* The GNU C library defines this for functions which it implements
64240     to always fail with ENOSYS.  Some functions are actually named
64241     something starting with __ and the normal name is an alias.  */
64242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64243 choke me
64244 #else
64245 char (*f) () = $ac_func;
64246 #endif
64247 #ifdef __cplusplus
64248 }
64249 #endif
64250
64251 int
64252 main ()
64253 {
64254 return f != $ac_func;
64255   ;
64256   return 0;
64257 }
64258 _ACEOF
64259 rm -f conftest.$ac_objext conftest$ac_exeext
64260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64261   (eval $ac_link) 2>conftest.er1
64262   ac_status=$?
64263   grep -v '^ *+' conftest.er1 >conftest.err
64264   rm -f conftest.er1
64265   cat conftest.err >&5
64266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64267   (exit $ac_status); } &&
64268          { ac_try='test -z "$ac_c_werror_flag"
64269                          || test ! -s conftest.err'
64270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64271   (eval $ac_try) 2>&5
64272   ac_status=$?
64273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64274   (exit $ac_status); }; } &&
64275          { ac_try='test -s conftest$ac_exeext'
64276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64277   (eval $ac_try) 2>&5
64278   ac_status=$?
64279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64280   (exit $ac_status); }; }; then
64281   eval "$as_ac_var=yes"
64282 else
64283   echo "$as_me: failed program was:" >&5
64284 sed 's/^/| /' conftest.$ac_ext >&5
64285
64286 eval "$as_ac_var=no"
64287 fi
64288 rm -f conftest.err conftest.$ac_objext \
64289       conftest$ac_exeext conftest.$ac_ext
64290 fi
64291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64293 if test `eval echo '${'$as_ac_var'}'` = yes; then
64294   cat >>confdefs.h <<_ACEOF
64295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64296 _ACEOF
64297
64298 fi
64299 done
64300
64301   else
64302
64303   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
64304 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
64305   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
64306     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
64307   echo $ECHO_N "(cached) $ECHO_C" >&6
64308 else
64309
64310
64311
64312       ac_ext=cc
64313 ac_cpp='$CXXCPP $CPPFLAGS'
64314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64317
64318       cat >conftest.$ac_ext <<_ACEOF
64319 /* confdefs.h.  */
64320 _ACEOF
64321 cat confdefs.h >>conftest.$ac_ext
64322 cat >>conftest.$ac_ext <<_ACEOF
64323 /* end confdefs.h.  */
64324 #include <math.h>
64325 int
64326 main ()
64327 {
64328  _copysignl(0, 0);
64329   ;
64330   return 0;
64331 }
64332 _ACEOF
64333 rm -f conftest.$ac_objext
64334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64335   (eval $ac_compile) 2>conftest.er1
64336   ac_status=$?
64337   grep -v '^ *+' conftest.er1 >conftest.err
64338   rm -f conftest.er1
64339   cat conftest.err >&5
64340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64341   (exit $ac_status); } &&
64342          { ac_try='test -z "$ac_cxx_werror_flag"
64343                          || test ! -s conftest.err'
64344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64345   (eval $ac_try) 2>&5
64346   ac_status=$?
64347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64348   (exit $ac_status); }; } &&
64349          { ac_try='test -s conftest.$ac_objext'
64350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64351   (eval $ac_try) 2>&5
64352   ac_status=$?
64353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64354   (exit $ac_status); }; }; then
64355   glibcxx_cv_func__copysignl_use=yes
64356 else
64357   echo "$as_me: failed program was:" >&5
64358 sed 's/^/| /' conftest.$ac_ext >&5
64359
64360 glibcxx_cv_func__copysignl_use=no
64361 fi
64362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64363       ac_ext=c
64364 ac_cpp='$CPP $CPPFLAGS'
64365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64368
64369
64370 fi
64371
64372   fi
64373   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
64374 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
64375
64376     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
64377
64378 for ac_func in _copysignl
64379 do
64380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64381 echo "$as_me:$LINENO: checking for $ac_func" >&5
64382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64383 if eval "test \"\${$as_ac_var+set}\" = set"; then
64384   echo $ECHO_N "(cached) $ECHO_C" >&6
64385 else
64386   if test x$gcc_no_link = xyes; then
64387   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64389    { (exit 1); exit 1; }; }
64390 fi
64391 cat >conftest.$ac_ext <<_ACEOF
64392 /* confdefs.h.  */
64393 _ACEOF
64394 cat confdefs.h >>conftest.$ac_ext
64395 cat >>conftest.$ac_ext <<_ACEOF
64396 /* end confdefs.h.  */
64397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64398    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64399 #define $ac_func innocuous_$ac_func
64400
64401 /* System header to define __stub macros and hopefully few prototypes,
64402     which can conflict with char $ac_func (); below.
64403     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64404     <limits.h> exists even on freestanding compilers.  */
64405
64406 #ifdef __STDC__
64407 # include <limits.h>
64408 #else
64409 # include <assert.h>
64410 #endif
64411
64412 #undef $ac_func
64413
64414 /* Override any gcc2 internal prototype to avoid an error.  */
64415 #ifdef __cplusplus
64416 extern "C"
64417 {
64418 #endif
64419 /* We use char because int might match the return type of a gcc2
64420    builtin and then its argument prototype would still apply.  */
64421 char $ac_func ();
64422 /* The GNU C library defines this for functions which it implements
64423     to always fail with ENOSYS.  Some functions are actually named
64424     something starting with __ and the normal name is an alias.  */
64425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64426 choke me
64427 #else
64428 char (*f) () = $ac_func;
64429 #endif
64430 #ifdef __cplusplus
64431 }
64432 #endif
64433
64434 int
64435 main ()
64436 {
64437 return f != $ac_func;
64438   ;
64439   return 0;
64440 }
64441 _ACEOF
64442 rm -f conftest.$ac_objext conftest$ac_exeext
64443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64444   (eval $ac_link) 2>conftest.er1
64445   ac_status=$?
64446   grep -v '^ *+' conftest.er1 >conftest.err
64447   rm -f conftest.er1
64448   cat conftest.err >&5
64449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64450   (exit $ac_status); } &&
64451          { ac_try='test -z "$ac_c_werror_flag"
64452                          || test ! -s conftest.err'
64453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64454   (eval $ac_try) 2>&5
64455   ac_status=$?
64456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64457   (exit $ac_status); }; } &&
64458          { ac_try='test -s conftest$ac_exeext'
64459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64460   (eval $ac_try) 2>&5
64461   ac_status=$?
64462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64463   (exit $ac_status); }; }; then
64464   eval "$as_ac_var=yes"
64465 else
64466   echo "$as_me: failed program was:" >&5
64467 sed 's/^/| /' conftest.$ac_ext >&5
64468
64469 eval "$as_ac_var=no"
64470 fi
64471 rm -f conftest.err conftest.$ac_objext \
64472       conftest$ac_exeext conftest.$ac_ext
64473 fi
64474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64476 if test `eval echo '${'$as_ac_var'}'` = yes; then
64477   cat >>confdefs.h <<_ACEOF
64478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64479 _ACEOF
64480
64481 fi
64482 done
64483
64484     fi
64485   fi
64486
64487
64488
64489   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
64490 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
64491   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64492     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
64493   echo $ECHO_N "(cached) $ECHO_C" >&6
64494 else
64495
64496
64497
64498       ac_ext=cc
64499 ac_cpp='$CXXCPP $CPPFLAGS'
64500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64503
64504       cat >conftest.$ac_ext <<_ACEOF
64505 /* confdefs.h.  */
64506 _ACEOF
64507 cat confdefs.h >>conftest.$ac_ext
64508 cat >>conftest.$ac_ext <<_ACEOF
64509 /* end confdefs.h.  */
64510 #include <math.h>
64511 int
64512 main ()
64513 {
64514  atan2l(0, 0);
64515   ;
64516   return 0;
64517 }
64518 _ACEOF
64519 rm -f conftest.$ac_objext
64520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64521   (eval $ac_compile) 2>conftest.er1
64522   ac_status=$?
64523   grep -v '^ *+' conftest.er1 >conftest.err
64524   rm -f conftest.er1
64525   cat conftest.err >&5
64526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64527   (exit $ac_status); } &&
64528          { ac_try='test -z "$ac_cxx_werror_flag"
64529                          || test ! -s conftest.err'
64530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64531   (eval $ac_try) 2>&5
64532   ac_status=$?
64533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64534   (exit $ac_status); }; } &&
64535          { ac_try='test -s conftest.$ac_objext'
64536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64537   (eval $ac_try) 2>&5
64538   ac_status=$?
64539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64540   (exit $ac_status); }; }; then
64541   glibcxx_cv_func_atan2l_use=yes
64542 else
64543   echo "$as_me: failed program was:" >&5
64544 sed 's/^/| /' conftest.$ac_ext >&5
64545
64546 glibcxx_cv_func_atan2l_use=no
64547 fi
64548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64549       ac_ext=c
64550 ac_cpp='$CPP $CPPFLAGS'
64551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64554
64555
64556 fi
64557
64558   fi
64559   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
64560 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
64561
64562   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64563
64564 for ac_func in atan2l
64565 do
64566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64567 echo "$as_me:$LINENO: checking for $ac_func" >&5
64568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64569 if eval "test \"\${$as_ac_var+set}\" = set"; then
64570   echo $ECHO_N "(cached) $ECHO_C" >&6
64571 else
64572   if test x$gcc_no_link = xyes; then
64573   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64575    { (exit 1); exit 1; }; }
64576 fi
64577 cat >conftest.$ac_ext <<_ACEOF
64578 /* confdefs.h.  */
64579 _ACEOF
64580 cat confdefs.h >>conftest.$ac_ext
64581 cat >>conftest.$ac_ext <<_ACEOF
64582 /* end confdefs.h.  */
64583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64584    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64585 #define $ac_func innocuous_$ac_func
64586
64587 /* System header to define __stub macros and hopefully few prototypes,
64588     which can conflict with char $ac_func (); below.
64589     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64590     <limits.h> exists even on freestanding compilers.  */
64591
64592 #ifdef __STDC__
64593 # include <limits.h>
64594 #else
64595 # include <assert.h>
64596 #endif
64597
64598 #undef $ac_func
64599
64600 /* Override any gcc2 internal prototype to avoid an error.  */
64601 #ifdef __cplusplus
64602 extern "C"
64603 {
64604 #endif
64605 /* We use char because int might match the return type of a gcc2
64606    builtin and then its argument prototype would still apply.  */
64607 char $ac_func ();
64608 /* The GNU C library defines this for functions which it implements
64609     to always fail with ENOSYS.  Some functions are actually named
64610     something starting with __ and the normal name is an alias.  */
64611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64612 choke me
64613 #else
64614 char (*f) () = $ac_func;
64615 #endif
64616 #ifdef __cplusplus
64617 }
64618 #endif
64619
64620 int
64621 main ()
64622 {
64623 return f != $ac_func;
64624   ;
64625   return 0;
64626 }
64627 _ACEOF
64628 rm -f conftest.$ac_objext conftest$ac_exeext
64629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64630   (eval $ac_link) 2>conftest.er1
64631   ac_status=$?
64632   grep -v '^ *+' conftest.er1 >conftest.err
64633   rm -f conftest.er1
64634   cat conftest.err >&5
64635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64636   (exit $ac_status); } &&
64637          { ac_try='test -z "$ac_c_werror_flag"
64638                          || test ! -s conftest.err'
64639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64640   (eval $ac_try) 2>&5
64641   ac_status=$?
64642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64643   (exit $ac_status); }; } &&
64644          { ac_try='test -s conftest$ac_exeext'
64645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64646   (eval $ac_try) 2>&5
64647   ac_status=$?
64648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64649   (exit $ac_status); }; }; then
64650   eval "$as_ac_var=yes"
64651 else
64652   echo "$as_me: failed program was:" >&5
64653 sed 's/^/| /' conftest.$ac_ext >&5
64654
64655 eval "$as_ac_var=no"
64656 fi
64657 rm -f conftest.err conftest.$ac_objext \
64658       conftest$ac_exeext conftest.$ac_ext
64659 fi
64660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64662 if test `eval echo '${'$as_ac_var'}'` = yes; then
64663   cat >>confdefs.h <<_ACEOF
64664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64665 _ACEOF
64666
64667 fi
64668 done
64669
64670   else
64671
64672   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
64673 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
64674   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64675     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
64676   echo $ECHO_N "(cached) $ECHO_C" >&6
64677 else
64678
64679
64680
64681       ac_ext=cc
64682 ac_cpp='$CXXCPP $CPPFLAGS'
64683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64686
64687       cat >conftest.$ac_ext <<_ACEOF
64688 /* confdefs.h.  */
64689 _ACEOF
64690 cat confdefs.h >>conftest.$ac_ext
64691 cat >>conftest.$ac_ext <<_ACEOF
64692 /* end confdefs.h.  */
64693 #include <math.h>
64694 int
64695 main ()
64696 {
64697  _atan2l(0, 0);
64698   ;
64699   return 0;
64700 }
64701 _ACEOF
64702 rm -f conftest.$ac_objext
64703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64704   (eval $ac_compile) 2>conftest.er1
64705   ac_status=$?
64706   grep -v '^ *+' conftest.er1 >conftest.err
64707   rm -f conftest.er1
64708   cat conftest.err >&5
64709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64710   (exit $ac_status); } &&
64711          { ac_try='test -z "$ac_cxx_werror_flag"
64712                          || test ! -s conftest.err'
64713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64714   (eval $ac_try) 2>&5
64715   ac_status=$?
64716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64717   (exit $ac_status); }; } &&
64718          { ac_try='test -s conftest.$ac_objext'
64719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64720   (eval $ac_try) 2>&5
64721   ac_status=$?
64722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64723   (exit $ac_status); }; }; then
64724   glibcxx_cv_func__atan2l_use=yes
64725 else
64726   echo "$as_me: failed program was:" >&5
64727 sed 's/^/| /' conftest.$ac_ext >&5
64728
64729 glibcxx_cv_func__atan2l_use=no
64730 fi
64731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64732       ac_ext=c
64733 ac_cpp='$CPP $CPPFLAGS'
64734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64737
64738
64739 fi
64740
64741   fi
64742   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
64743 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
64744
64745     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64746
64747 for ac_func in _atan2l
64748 do
64749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64750 echo "$as_me:$LINENO: checking for $ac_func" >&5
64751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64752 if eval "test \"\${$as_ac_var+set}\" = set"; then
64753   echo $ECHO_N "(cached) $ECHO_C" >&6
64754 else
64755   if test x$gcc_no_link = xyes; then
64756   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64758    { (exit 1); exit 1; }; }
64759 fi
64760 cat >conftest.$ac_ext <<_ACEOF
64761 /* confdefs.h.  */
64762 _ACEOF
64763 cat confdefs.h >>conftest.$ac_ext
64764 cat >>conftest.$ac_ext <<_ACEOF
64765 /* end confdefs.h.  */
64766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64767    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64768 #define $ac_func innocuous_$ac_func
64769
64770 /* System header to define __stub macros and hopefully few prototypes,
64771     which can conflict with char $ac_func (); below.
64772     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64773     <limits.h> exists even on freestanding compilers.  */
64774
64775 #ifdef __STDC__
64776 # include <limits.h>
64777 #else
64778 # include <assert.h>
64779 #endif
64780
64781 #undef $ac_func
64782
64783 /* Override any gcc2 internal prototype to avoid an error.  */
64784 #ifdef __cplusplus
64785 extern "C"
64786 {
64787 #endif
64788 /* We use char because int might match the return type of a gcc2
64789    builtin and then its argument prototype would still apply.  */
64790 char $ac_func ();
64791 /* The GNU C library defines this for functions which it implements
64792     to always fail with ENOSYS.  Some functions are actually named
64793     something starting with __ and the normal name is an alias.  */
64794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64795 choke me
64796 #else
64797 char (*f) () = $ac_func;
64798 #endif
64799 #ifdef __cplusplus
64800 }
64801 #endif
64802
64803 int
64804 main ()
64805 {
64806 return f != $ac_func;
64807   ;
64808   return 0;
64809 }
64810 _ACEOF
64811 rm -f conftest.$ac_objext conftest$ac_exeext
64812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64813   (eval $ac_link) 2>conftest.er1
64814   ac_status=$?
64815   grep -v '^ *+' conftest.er1 >conftest.err
64816   rm -f conftest.er1
64817   cat conftest.err >&5
64818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64819   (exit $ac_status); } &&
64820          { ac_try='test -z "$ac_c_werror_flag"
64821                          || test ! -s conftest.err'
64822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64823   (eval $ac_try) 2>&5
64824   ac_status=$?
64825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64826   (exit $ac_status); }; } &&
64827          { ac_try='test -s conftest$ac_exeext'
64828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64829   (eval $ac_try) 2>&5
64830   ac_status=$?
64831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64832   (exit $ac_status); }; }; then
64833   eval "$as_ac_var=yes"
64834 else
64835   echo "$as_me: failed program was:" >&5
64836 sed 's/^/| /' conftest.$ac_ext >&5
64837
64838 eval "$as_ac_var=no"
64839 fi
64840 rm -f conftest.err conftest.$ac_objext \
64841       conftest$ac_exeext conftest.$ac_ext
64842 fi
64843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64845 if test `eval echo '${'$as_ac_var'}'` = yes; then
64846   cat >>confdefs.h <<_ACEOF
64847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64848 _ACEOF
64849
64850 fi
64851 done
64852
64853     fi
64854   fi
64855
64856
64857
64858   echo "$as_me:$LINENO: checking for expl declaration" >&5
64859 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
64860   if test x${glibcxx_cv_func_expl_use+set} != xset; then
64861     if test "${glibcxx_cv_func_expl_use+set}" = set; then
64862   echo $ECHO_N "(cached) $ECHO_C" >&6
64863 else
64864
64865
64866
64867       ac_ext=cc
64868 ac_cpp='$CXXCPP $CPPFLAGS'
64869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64872
64873       cat >conftest.$ac_ext <<_ACEOF
64874 /* confdefs.h.  */
64875 _ACEOF
64876 cat confdefs.h >>conftest.$ac_ext
64877 cat >>conftest.$ac_ext <<_ACEOF
64878 /* end confdefs.h.  */
64879 #include <math.h>
64880                       #ifdef HAVE_IEEEFP_H
64881                       #include <ieeefp.h>
64882                       #endif
64883
64884 int
64885 main ()
64886 {
64887  expl(0);
64888   ;
64889   return 0;
64890 }
64891 _ACEOF
64892 rm -f conftest.$ac_objext
64893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64894   (eval $ac_compile) 2>conftest.er1
64895   ac_status=$?
64896   grep -v '^ *+' conftest.er1 >conftest.err
64897   rm -f conftest.er1
64898   cat conftest.err >&5
64899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64900   (exit $ac_status); } &&
64901          { ac_try='test -z "$ac_cxx_werror_flag"
64902                          || test ! -s conftest.err'
64903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64904   (eval $ac_try) 2>&5
64905   ac_status=$?
64906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64907   (exit $ac_status); }; } &&
64908          { ac_try='test -s conftest.$ac_objext'
64909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64910   (eval $ac_try) 2>&5
64911   ac_status=$?
64912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64913   (exit $ac_status); }; }; then
64914   glibcxx_cv_func_expl_use=yes
64915 else
64916   echo "$as_me: failed program was:" >&5
64917 sed 's/^/| /' conftest.$ac_ext >&5
64918
64919 glibcxx_cv_func_expl_use=no
64920 fi
64921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64922       ac_ext=c
64923 ac_cpp='$CPP $CPPFLAGS'
64924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64927
64928
64929 fi
64930
64931   fi
64932   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
64933 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
64934
64935   if test x$glibcxx_cv_func_expl_use = x"yes"; then
64936
64937 for ac_func in expl
64938 do
64939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64940 echo "$as_me:$LINENO: checking for $ac_func" >&5
64941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64942 if eval "test \"\${$as_ac_var+set}\" = set"; then
64943   echo $ECHO_N "(cached) $ECHO_C" >&6
64944 else
64945   if test x$gcc_no_link = xyes; then
64946   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64948    { (exit 1); exit 1; }; }
64949 fi
64950 cat >conftest.$ac_ext <<_ACEOF
64951 /* confdefs.h.  */
64952 _ACEOF
64953 cat confdefs.h >>conftest.$ac_ext
64954 cat >>conftest.$ac_ext <<_ACEOF
64955 /* end confdefs.h.  */
64956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64957    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64958 #define $ac_func innocuous_$ac_func
64959
64960 /* System header to define __stub macros and hopefully few prototypes,
64961     which can conflict with char $ac_func (); below.
64962     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64963     <limits.h> exists even on freestanding compilers.  */
64964
64965 #ifdef __STDC__
64966 # include <limits.h>
64967 #else
64968 # include <assert.h>
64969 #endif
64970
64971 #undef $ac_func
64972
64973 /* Override any gcc2 internal prototype to avoid an error.  */
64974 #ifdef __cplusplus
64975 extern "C"
64976 {
64977 #endif
64978 /* We use char because int might match the return type of a gcc2
64979    builtin and then its argument prototype would still apply.  */
64980 char $ac_func ();
64981 /* The GNU C library defines this for functions which it implements
64982     to always fail with ENOSYS.  Some functions are actually named
64983     something starting with __ and the normal name is an alias.  */
64984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64985 choke me
64986 #else
64987 char (*f) () = $ac_func;
64988 #endif
64989 #ifdef __cplusplus
64990 }
64991 #endif
64992
64993 int
64994 main ()
64995 {
64996 return f != $ac_func;
64997   ;
64998   return 0;
64999 }
65000 _ACEOF
65001 rm -f conftest.$ac_objext conftest$ac_exeext
65002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65003   (eval $ac_link) 2>conftest.er1
65004   ac_status=$?
65005   grep -v '^ *+' conftest.er1 >conftest.err
65006   rm -f conftest.er1
65007   cat conftest.err >&5
65008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65009   (exit $ac_status); } &&
65010          { ac_try='test -z "$ac_c_werror_flag"
65011                          || test ! -s conftest.err'
65012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65013   (eval $ac_try) 2>&5
65014   ac_status=$?
65015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65016   (exit $ac_status); }; } &&
65017          { ac_try='test -s conftest$ac_exeext'
65018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65019   (eval $ac_try) 2>&5
65020   ac_status=$?
65021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65022   (exit $ac_status); }; }; then
65023   eval "$as_ac_var=yes"
65024 else
65025   echo "$as_me: failed program was:" >&5
65026 sed 's/^/| /' conftest.$ac_ext >&5
65027
65028 eval "$as_ac_var=no"
65029 fi
65030 rm -f conftest.err conftest.$ac_objext \
65031       conftest$ac_exeext conftest.$ac_ext
65032 fi
65033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65035 if test `eval echo '${'$as_ac_var'}'` = yes; then
65036   cat >>confdefs.h <<_ACEOF
65037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65038 _ACEOF
65039
65040 fi
65041 done
65042
65043   else
65044
65045   echo "$as_me:$LINENO: checking for _expl declaration" >&5
65046 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
65047   if test x${glibcxx_cv_func__expl_use+set} != xset; then
65048     if test "${glibcxx_cv_func__expl_use+set}" = set; then
65049   echo $ECHO_N "(cached) $ECHO_C" >&6
65050 else
65051
65052
65053
65054       ac_ext=cc
65055 ac_cpp='$CXXCPP $CPPFLAGS'
65056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65059
65060       cat >conftest.$ac_ext <<_ACEOF
65061 /* confdefs.h.  */
65062 _ACEOF
65063 cat confdefs.h >>conftest.$ac_ext
65064 cat >>conftest.$ac_ext <<_ACEOF
65065 /* end confdefs.h.  */
65066 #include <math.h>
65067                       #ifdef HAVE_IEEEFP_H
65068                       #include <ieeefp.h>
65069                       #endif
65070
65071 int
65072 main ()
65073 {
65074  _expl(0);
65075   ;
65076   return 0;
65077 }
65078 _ACEOF
65079 rm -f conftest.$ac_objext
65080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65081   (eval $ac_compile) 2>conftest.er1
65082   ac_status=$?
65083   grep -v '^ *+' conftest.er1 >conftest.err
65084   rm -f conftest.er1
65085   cat conftest.err >&5
65086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65087   (exit $ac_status); } &&
65088          { ac_try='test -z "$ac_cxx_werror_flag"
65089                          || test ! -s conftest.err'
65090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65091   (eval $ac_try) 2>&5
65092   ac_status=$?
65093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65094   (exit $ac_status); }; } &&
65095          { ac_try='test -s conftest.$ac_objext'
65096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65097   (eval $ac_try) 2>&5
65098   ac_status=$?
65099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65100   (exit $ac_status); }; }; then
65101   glibcxx_cv_func__expl_use=yes
65102 else
65103   echo "$as_me: failed program was:" >&5
65104 sed 's/^/| /' conftest.$ac_ext >&5
65105
65106 glibcxx_cv_func__expl_use=no
65107 fi
65108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65109       ac_ext=c
65110 ac_cpp='$CPP $CPPFLAGS'
65111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65114
65115
65116 fi
65117
65118   fi
65119   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
65120 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
65121
65122     if test x$glibcxx_cv_func__expl_use = x"yes"; then
65123
65124 for ac_func in _expl
65125 do
65126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65127 echo "$as_me:$LINENO: checking for $ac_func" >&5
65128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65129 if eval "test \"\${$as_ac_var+set}\" = set"; then
65130   echo $ECHO_N "(cached) $ECHO_C" >&6
65131 else
65132   if test x$gcc_no_link = xyes; then
65133   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65135    { (exit 1); exit 1; }; }
65136 fi
65137 cat >conftest.$ac_ext <<_ACEOF
65138 /* confdefs.h.  */
65139 _ACEOF
65140 cat confdefs.h >>conftest.$ac_ext
65141 cat >>conftest.$ac_ext <<_ACEOF
65142 /* end confdefs.h.  */
65143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65144    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65145 #define $ac_func innocuous_$ac_func
65146
65147 /* System header to define __stub macros and hopefully few prototypes,
65148     which can conflict with char $ac_func (); below.
65149     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65150     <limits.h> exists even on freestanding compilers.  */
65151
65152 #ifdef __STDC__
65153 # include <limits.h>
65154 #else
65155 # include <assert.h>
65156 #endif
65157
65158 #undef $ac_func
65159
65160 /* Override any gcc2 internal prototype to avoid an error.  */
65161 #ifdef __cplusplus
65162 extern "C"
65163 {
65164 #endif
65165 /* We use char because int might match the return type of a gcc2
65166    builtin and then its argument prototype would still apply.  */
65167 char $ac_func ();
65168 /* The GNU C library defines this for functions which it implements
65169     to always fail with ENOSYS.  Some functions are actually named
65170     something starting with __ and the normal name is an alias.  */
65171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65172 choke me
65173 #else
65174 char (*f) () = $ac_func;
65175 #endif
65176 #ifdef __cplusplus
65177 }
65178 #endif
65179
65180 int
65181 main ()
65182 {
65183 return f != $ac_func;
65184   ;
65185   return 0;
65186 }
65187 _ACEOF
65188 rm -f conftest.$ac_objext conftest$ac_exeext
65189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65190   (eval $ac_link) 2>conftest.er1
65191   ac_status=$?
65192   grep -v '^ *+' conftest.er1 >conftest.err
65193   rm -f conftest.er1
65194   cat conftest.err >&5
65195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65196   (exit $ac_status); } &&
65197          { ac_try='test -z "$ac_c_werror_flag"
65198                          || test ! -s conftest.err'
65199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65200   (eval $ac_try) 2>&5
65201   ac_status=$?
65202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65203   (exit $ac_status); }; } &&
65204          { ac_try='test -s conftest$ac_exeext'
65205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65206   (eval $ac_try) 2>&5
65207   ac_status=$?
65208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65209   (exit $ac_status); }; }; then
65210   eval "$as_ac_var=yes"
65211 else
65212   echo "$as_me: failed program was:" >&5
65213 sed 's/^/| /' conftest.$ac_ext >&5
65214
65215 eval "$as_ac_var=no"
65216 fi
65217 rm -f conftest.err conftest.$ac_objext \
65218       conftest$ac_exeext conftest.$ac_ext
65219 fi
65220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65222 if test `eval echo '${'$as_ac_var'}'` = yes; then
65223   cat >>confdefs.h <<_ACEOF
65224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65225 _ACEOF
65226
65227 fi
65228 done
65229
65230     fi
65231   fi
65232
65233
65234
65235   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
65236 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
65237   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65238     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
65239   echo $ECHO_N "(cached) $ECHO_C" >&6
65240 else
65241
65242
65243
65244       ac_ext=cc
65245 ac_cpp='$CXXCPP $CPPFLAGS'
65246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65249
65250       cat >conftest.$ac_ext <<_ACEOF
65251 /* confdefs.h.  */
65252 _ACEOF
65253 cat confdefs.h >>conftest.$ac_ext
65254 cat >>conftest.$ac_ext <<_ACEOF
65255 /* end confdefs.h.  */
65256 #include <math.h>
65257                       #ifdef HAVE_IEEEFP_H
65258                       #include <ieeefp.h>
65259                       #endif
65260
65261 int
65262 main ()
65263 {
65264  fabsl(0);
65265   ;
65266   return 0;
65267 }
65268 _ACEOF
65269 rm -f conftest.$ac_objext
65270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65271   (eval $ac_compile) 2>conftest.er1
65272   ac_status=$?
65273   grep -v '^ *+' conftest.er1 >conftest.err
65274   rm -f conftest.er1
65275   cat conftest.err >&5
65276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65277   (exit $ac_status); } &&
65278          { ac_try='test -z "$ac_cxx_werror_flag"
65279                          || test ! -s conftest.err'
65280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65281   (eval $ac_try) 2>&5
65282   ac_status=$?
65283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65284   (exit $ac_status); }; } &&
65285          { ac_try='test -s conftest.$ac_objext'
65286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65287   (eval $ac_try) 2>&5
65288   ac_status=$?
65289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65290   (exit $ac_status); }; }; then
65291   glibcxx_cv_func_fabsl_use=yes
65292 else
65293   echo "$as_me: failed program was:" >&5
65294 sed 's/^/| /' conftest.$ac_ext >&5
65295
65296 glibcxx_cv_func_fabsl_use=no
65297 fi
65298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65299       ac_ext=c
65300 ac_cpp='$CPP $CPPFLAGS'
65301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65304
65305
65306 fi
65307
65308   fi
65309   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
65310 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
65311
65312   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65313
65314 for ac_func in fabsl
65315 do
65316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65317 echo "$as_me:$LINENO: checking for $ac_func" >&5
65318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65319 if eval "test \"\${$as_ac_var+set}\" = set"; then
65320   echo $ECHO_N "(cached) $ECHO_C" >&6
65321 else
65322   if test x$gcc_no_link = xyes; then
65323   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65325    { (exit 1); exit 1; }; }
65326 fi
65327 cat >conftest.$ac_ext <<_ACEOF
65328 /* confdefs.h.  */
65329 _ACEOF
65330 cat confdefs.h >>conftest.$ac_ext
65331 cat >>conftest.$ac_ext <<_ACEOF
65332 /* end confdefs.h.  */
65333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65334    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65335 #define $ac_func innocuous_$ac_func
65336
65337 /* System header to define __stub macros and hopefully few prototypes,
65338     which can conflict with char $ac_func (); below.
65339     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65340     <limits.h> exists even on freestanding compilers.  */
65341
65342 #ifdef __STDC__
65343 # include <limits.h>
65344 #else
65345 # include <assert.h>
65346 #endif
65347
65348 #undef $ac_func
65349
65350 /* Override any gcc2 internal prototype to avoid an error.  */
65351 #ifdef __cplusplus
65352 extern "C"
65353 {
65354 #endif
65355 /* We use char because int might match the return type of a gcc2
65356    builtin and then its argument prototype would still apply.  */
65357 char $ac_func ();
65358 /* The GNU C library defines this for functions which it implements
65359     to always fail with ENOSYS.  Some functions are actually named
65360     something starting with __ and the normal name is an alias.  */
65361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65362 choke me
65363 #else
65364 char (*f) () = $ac_func;
65365 #endif
65366 #ifdef __cplusplus
65367 }
65368 #endif
65369
65370 int
65371 main ()
65372 {
65373 return f != $ac_func;
65374   ;
65375   return 0;
65376 }
65377 _ACEOF
65378 rm -f conftest.$ac_objext conftest$ac_exeext
65379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65380   (eval $ac_link) 2>conftest.er1
65381   ac_status=$?
65382   grep -v '^ *+' conftest.er1 >conftest.err
65383   rm -f conftest.er1
65384   cat conftest.err >&5
65385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65386   (exit $ac_status); } &&
65387          { ac_try='test -z "$ac_c_werror_flag"
65388                          || test ! -s conftest.err'
65389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65390   (eval $ac_try) 2>&5
65391   ac_status=$?
65392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65393   (exit $ac_status); }; } &&
65394          { ac_try='test -s conftest$ac_exeext'
65395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65396   (eval $ac_try) 2>&5
65397   ac_status=$?
65398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65399   (exit $ac_status); }; }; then
65400   eval "$as_ac_var=yes"
65401 else
65402   echo "$as_me: failed program was:" >&5
65403 sed 's/^/| /' conftest.$ac_ext >&5
65404
65405 eval "$as_ac_var=no"
65406 fi
65407 rm -f conftest.err conftest.$ac_objext \
65408       conftest$ac_exeext conftest.$ac_ext
65409 fi
65410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65412 if test `eval echo '${'$as_ac_var'}'` = yes; then
65413   cat >>confdefs.h <<_ACEOF
65414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65415 _ACEOF
65416
65417 fi
65418 done
65419
65420   else
65421
65422   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
65423 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
65424   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65425     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
65426   echo $ECHO_N "(cached) $ECHO_C" >&6
65427 else
65428
65429
65430
65431       ac_ext=cc
65432 ac_cpp='$CXXCPP $CPPFLAGS'
65433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65436
65437       cat >conftest.$ac_ext <<_ACEOF
65438 /* confdefs.h.  */
65439 _ACEOF
65440 cat confdefs.h >>conftest.$ac_ext
65441 cat >>conftest.$ac_ext <<_ACEOF
65442 /* end confdefs.h.  */
65443 #include <math.h>
65444                       #ifdef HAVE_IEEEFP_H
65445                       #include <ieeefp.h>
65446                       #endif
65447
65448 int
65449 main ()
65450 {
65451  _fabsl(0);
65452   ;
65453   return 0;
65454 }
65455 _ACEOF
65456 rm -f conftest.$ac_objext
65457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65458   (eval $ac_compile) 2>conftest.er1
65459   ac_status=$?
65460   grep -v '^ *+' conftest.er1 >conftest.err
65461   rm -f conftest.er1
65462   cat conftest.err >&5
65463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65464   (exit $ac_status); } &&
65465          { ac_try='test -z "$ac_cxx_werror_flag"
65466                          || test ! -s conftest.err'
65467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65468   (eval $ac_try) 2>&5
65469   ac_status=$?
65470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65471   (exit $ac_status); }; } &&
65472          { ac_try='test -s conftest.$ac_objext'
65473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65474   (eval $ac_try) 2>&5
65475   ac_status=$?
65476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65477   (exit $ac_status); }; }; then
65478   glibcxx_cv_func__fabsl_use=yes
65479 else
65480   echo "$as_me: failed program was:" >&5
65481 sed 's/^/| /' conftest.$ac_ext >&5
65482
65483 glibcxx_cv_func__fabsl_use=no
65484 fi
65485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65486       ac_ext=c
65487 ac_cpp='$CPP $CPPFLAGS'
65488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65491
65492
65493 fi
65494
65495   fi
65496   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
65497 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
65498
65499     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65500
65501 for ac_func in _fabsl
65502 do
65503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65504 echo "$as_me:$LINENO: checking for $ac_func" >&5
65505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65506 if eval "test \"\${$as_ac_var+set}\" = set"; then
65507   echo $ECHO_N "(cached) $ECHO_C" >&6
65508 else
65509   if test x$gcc_no_link = xyes; then
65510   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65512    { (exit 1); exit 1; }; }
65513 fi
65514 cat >conftest.$ac_ext <<_ACEOF
65515 /* confdefs.h.  */
65516 _ACEOF
65517 cat confdefs.h >>conftest.$ac_ext
65518 cat >>conftest.$ac_ext <<_ACEOF
65519 /* end confdefs.h.  */
65520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65521    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65522 #define $ac_func innocuous_$ac_func
65523
65524 /* System header to define __stub macros and hopefully few prototypes,
65525     which can conflict with char $ac_func (); below.
65526     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65527     <limits.h> exists even on freestanding compilers.  */
65528
65529 #ifdef __STDC__
65530 # include <limits.h>
65531 #else
65532 # include <assert.h>
65533 #endif
65534
65535 #undef $ac_func
65536
65537 /* Override any gcc2 internal prototype to avoid an error.  */
65538 #ifdef __cplusplus
65539 extern "C"
65540 {
65541 #endif
65542 /* We use char because int might match the return type of a gcc2
65543    builtin and then its argument prototype would still apply.  */
65544 char $ac_func ();
65545 /* The GNU C library defines this for functions which it implements
65546     to always fail with ENOSYS.  Some functions are actually named
65547     something starting with __ and the normal name is an alias.  */
65548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65549 choke me
65550 #else
65551 char (*f) () = $ac_func;
65552 #endif
65553 #ifdef __cplusplus
65554 }
65555 #endif
65556
65557 int
65558 main ()
65559 {
65560 return f != $ac_func;
65561   ;
65562   return 0;
65563 }
65564 _ACEOF
65565 rm -f conftest.$ac_objext conftest$ac_exeext
65566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65567   (eval $ac_link) 2>conftest.er1
65568   ac_status=$?
65569   grep -v '^ *+' conftest.er1 >conftest.err
65570   rm -f conftest.er1
65571   cat conftest.err >&5
65572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65573   (exit $ac_status); } &&
65574          { ac_try='test -z "$ac_c_werror_flag"
65575                          || test ! -s conftest.err'
65576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65577   (eval $ac_try) 2>&5
65578   ac_status=$?
65579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65580   (exit $ac_status); }; } &&
65581          { ac_try='test -s conftest$ac_exeext'
65582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65583   (eval $ac_try) 2>&5
65584   ac_status=$?
65585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65586   (exit $ac_status); }; }; then
65587   eval "$as_ac_var=yes"
65588 else
65589   echo "$as_me: failed program was:" >&5
65590 sed 's/^/| /' conftest.$ac_ext >&5
65591
65592 eval "$as_ac_var=no"
65593 fi
65594 rm -f conftest.err conftest.$ac_objext \
65595       conftest$ac_exeext conftest.$ac_ext
65596 fi
65597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65599 if test `eval echo '${'$as_ac_var'}'` = yes; then
65600   cat >>confdefs.h <<_ACEOF
65601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65602 _ACEOF
65603
65604 fi
65605 done
65606
65607     fi
65608   fi
65609
65610
65611
65612   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
65613 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
65614   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65615     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
65616   echo $ECHO_N "(cached) $ECHO_C" >&6
65617 else
65618
65619
65620
65621       ac_ext=cc
65622 ac_cpp='$CXXCPP $CPPFLAGS'
65623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65626
65627       cat >conftest.$ac_ext <<_ACEOF
65628 /* confdefs.h.  */
65629 _ACEOF
65630 cat confdefs.h >>conftest.$ac_ext
65631 cat >>conftest.$ac_ext <<_ACEOF
65632 /* end confdefs.h.  */
65633 #include <math.h>
65634 int
65635 main ()
65636 {
65637  fmodl(0, 0);
65638   ;
65639   return 0;
65640 }
65641 _ACEOF
65642 rm -f conftest.$ac_objext
65643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65644   (eval $ac_compile) 2>conftest.er1
65645   ac_status=$?
65646   grep -v '^ *+' conftest.er1 >conftest.err
65647   rm -f conftest.er1
65648   cat conftest.err >&5
65649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65650   (exit $ac_status); } &&
65651          { ac_try='test -z "$ac_cxx_werror_flag"
65652                          || test ! -s conftest.err'
65653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65654   (eval $ac_try) 2>&5
65655   ac_status=$?
65656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65657   (exit $ac_status); }; } &&
65658          { ac_try='test -s conftest.$ac_objext'
65659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65660   (eval $ac_try) 2>&5
65661   ac_status=$?
65662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65663   (exit $ac_status); }; }; then
65664   glibcxx_cv_func_fmodl_use=yes
65665 else
65666   echo "$as_me: failed program was:" >&5
65667 sed 's/^/| /' conftest.$ac_ext >&5
65668
65669 glibcxx_cv_func_fmodl_use=no
65670 fi
65671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65672       ac_ext=c
65673 ac_cpp='$CPP $CPPFLAGS'
65674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65677
65678
65679 fi
65680
65681   fi
65682   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
65683 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
65684
65685   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65686
65687 for ac_func in fmodl
65688 do
65689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65690 echo "$as_me:$LINENO: checking for $ac_func" >&5
65691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65692 if eval "test \"\${$as_ac_var+set}\" = set"; then
65693   echo $ECHO_N "(cached) $ECHO_C" >&6
65694 else
65695   if test x$gcc_no_link = xyes; then
65696   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65698    { (exit 1); exit 1; }; }
65699 fi
65700 cat >conftest.$ac_ext <<_ACEOF
65701 /* confdefs.h.  */
65702 _ACEOF
65703 cat confdefs.h >>conftest.$ac_ext
65704 cat >>conftest.$ac_ext <<_ACEOF
65705 /* end confdefs.h.  */
65706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65707    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65708 #define $ac_func innocuous_$ac_func
65709
65710 /* System header to define __stub macros and hopefully few prototypes,
65711     which can conflict with char $ac_func (); below.
65712     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65713     <limits.h> exists even on freestanding compilers.  */
65714
65715 #ifdef __STDC__
65716 # include <limits.h>
65717 #else
65718 # include <assert.h>
65719 #endif
65720
65721 #undef $ac_func
65722
65723 /* Override any gcc2 internal prototype to avoid an error.  */
65724 #ifdef __cplusplus
65725 extern "C"
65726 {
65727 #endif
65728 /* We use char because int might match the return type of a gcc2
65729    builtin and then its argument prototype would still apply.  */
65730 char $ac_func ();
65731 /* The GNU C library defines this for functions which it implements
65732     to always fail with ENOSYS.  Some functions are actually named
65733     something starting with __ and the normal name is an alias.  */
65734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65735 choke me
65736 #else
65737 char (*f) () = $ac_func;
65738 #endif
65739 #ifdef __cplusplus
65740 }
65741 #endif
65742
65743 int
65744 main ()
65745 {
65746 return f != $ac_func;
65747   ;
65748   return 0;
65749 }
65750 _ACEOF
65751 rm -f conftest.$ac_objext conftest$ac_exeext
65752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65753   (eval $ac_link) 2>conftest.er1
65754   ac_status=$?
65755   grep -v '^ *+' conftest.er1 >conftest.err
65756   rm -f conftest.er1
65757   cat conftest.err >&5
65758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65759   (exit $ac_status); } &&
65760          { ac_try='test -z "$ac_c_werror_flag"
65761                          || test ! -s conftest.err'
65762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65763   (eval $ac_try) 2>&5
65764   ac_status=$?
65765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65766   (exit $ac_status); }; } &&
65767          { ac_try='test -s conftest$ac_exeext'
65768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65769   (eval $ac_try) 2>&5
65770   ac_status=$?
65771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65772   (exit $ac_status); }; }; then
65773   eval "$as_ac_var=yes"
65774 else
65775   echo "$as_me: failed program was:" >&5
65776 sed 's/^/| /' conftest.$ac_ext >&5
65777
65778 eval "$as_ac_var=no"
65779 fi
65780 rm -f conftest.err conftest.$ac_objext \
65781       conftest$ac_exeext conftest.$ac_ext
65782 fi
65783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65785 if test `eval echo '${'$as_ac_var'}'` = yes; then
65786   cat >>confdefs.h <<_ACEOF
65787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65788 _ACEOF
65789
65790 fi
65791 done
65792
65793   else
65794
65795   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
65796 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
65797   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65798     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
65799   echo $ECHO_N "(cached) $ECHO_C" >&6
65800 else
65801
65802
65803
65804       ac_ext=cc
65805 ac_cpp='$CXXCPP $CPPFLAGS'
65806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65809
65810       cat >conftest.$ac_ext <<_ACEOF
65811 /* confdefs.h.  */
65812 _ACEOF
65813 cat confdefs.h >>conftest.$ac_ext
65814 cat >>conftest.$ac_ext <<_ACEOF
65815 /* end confdefs.h.  */
65816 #include <math.h>
65817 int
65818 main ()
65819 {
65820  _fmodl(0, 0);
65821   ;
65822   return 0;
65823 }
65824 _ACEOF
65825 rm -f conftest.$ac_objext
65826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65827   (eval $ac_compile) 2>conftest.er1
65828   ac_status=$?
65829   grep -v '^ *+' conftest.er1 >conftest.err
65830   rm -f conftest.er1
65831   cat conftest.err >&5
65832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65833   (exit $ac_status); } &&
65834          { ac_try='test -z "$ac_cxx_werror_flag"
65835                          || test ! -s conftest.err'
65836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65837   (eval $ac_try) 2>&5
65838   ac_status=$?
65839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65840   (exit $ac_status); }; } &&
65841          { ac_try='test -s conftest.$ac_objext'
65842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65843   (eval $ac_try) 2>&5
65844   ac_status=$?
65845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65846   (exit $ac_status); }; }; then
65847   glibcxx_cv_func__fmodl_use=yes
65848 else
65849   echo "$as_me: failed program was:" >&5
65850 sed 's/^/| /' conftest.$ac_ext >&5
65851
65852 glibcxx_cv_func__fmodl_use=no
65853 fi
65854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65855       ac_ext=c
65856 ac_cpp='$CPP $CPPFLAGS'
65857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65860
65861
65862 fi
65863
65864   fi
65865   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
65866 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
65867
65868     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65869
65870 for ac_func in _fmodl
65871 do
65872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65873 echo "$as_me:$LINENO: checking for $ac_func" >&5
65874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65875 if eval "test \"\${$as_ac_var+set}\" = set"; then
65876   echo $ECHO_N "(cached) $ECHO_C" >&6
65877 else
65878   if test x$gcc_no_link = xyes; then
65879   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65881    { (exit 1); exit 1; }; }
65882 fi
65883 cat >conftest.$ac_ext <<_ACEOF
65884 /* confdefs.h.  */
65885 _ACEOF
65886 cat confdefs.h >>conftest.$ac_ext
65887 cat >>conftest.$ac_ext <<_ACEOF
65888 /* end confdefs.h.  */
65889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65890    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65891 #define $ac_func innocuous_$ac_func
65892
65893 /* System header to define __stub macros and hopefully few prototypes,
65894     which can conflict with char $ac_func (); below.
65895     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65896     <limits.h> exists even on freestanding compilers.  */
65897
65898 #ifdef __STDC__
65899 # include <limits.h>
65900 #else
65901 # include <assert.h>
65902 #endif
65903
65904 #undef $ac_func
65905
65906 /* Override any gcc2 internal prototype to avoid an error.  */
65907 #ifdef __cplusplus
65908 extern "C"
65909 {
65910 #endif
65911 /* We use char because int might match the return type of a gcc2
65912    builtin and then its argument prototype would still apply.  */
65913 char $ac_func ();
65914 /* The GNU C library defines this for functions which it implements
65915     to always fail with ENOSYS.  Some functions are actually named
65916     something starting with __ and the normal name is an alias.  */
65917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65918 choke me
65919 #else
65920 char (*f) () = $ac_func;
65921 #endif
65922 #ifdef __cplusplus
65923 }
65924 #endif
65925
65926 int
65927 main ()
65928 {
65929 return f != $ac_func;
65930   ;
65931   return 0;
65932 }
65933 _ACEOF
65934 rm -f conftest.$ac_objext conftest$ac_exeext
65935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65936   (eval $ac_link) 2>conftest.er1
65937   ac_status=$?
65938   grep -v '^ *+' conftest.er1 >conftest.err
65939   rm -f conftest.er1
65940   cat conftest.err >&5
65941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65942   (exit $ac_status); } &&
65943          { ac_try='test -z "$ac_c_werror_flag"
65944                          || test ! -s conftest.err'
65945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65946   (eval $ac_try) 2>&5
65947   ac_status=$?
65948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65949   (exit $ac_status); }; } &&
65950          { ac_try='test -s conftest$ac_exeext'
65951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65952   (eval $ac_try) 2>&5
65953   ac_status=$?
65954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65955   (exit $ac_status); }; }; then
65956   eval "$as_ac_var=yes"
65957 else
65958   echo "$as_me: failed program was:" >&5
65959 sed 's/^/| /' conftest.$ac_ext >&5
65960
65961 eval "$as_ac_var=no"
65962 fi
65963 rm -f conftest.err conftest.$ac_objext \
65964       conftest$ac_exeext conftest.$ac_ext
65965 fi
65966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65968 if test `eval echo '${'$as_ac_var'}'` = yes; then
65969   cat >>confdefs.h <<_ACEOF
65970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65971 _ACEOF
65972
65973 fi
65974 done
65975
65976     fi
65977   fi
65978
65979
65980
65981   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
65982 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
65983   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
65984     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
65985   echo $ECHO_N "(cached) $ECHO_C" >&6
65986 else
65987
65988
65989
65990       ac_ext=cc
65991 ac_cpp='$CXXCPP $CPPFLAGS'
65992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65995
65996       cat >conftest.$ac_ext <<_ACEOF
65997 /* confdefs.h.  */
65998 _ACEOF
65999 cat confdefs.h >>conftest.$ac_ext
66000 cat >>conftest.$ac_ext <<_ACEOF
66001 /* end confdefs.h.  */
66002 #include <math.h>
66003 int
66004 main ()
66005 {
66006  frexpl(0, 0);
66007   ;
66008   return 0;
66009 }
66010 _ACEOF
66011 rm -f conftest.$ac_objext
66012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66013   (eval $ac_compile) 2>conftest.er1
66014   ac_status=$?
66015   grep -v '^ *+' conftest.er1 >conftest.err
66016   rm -f conftest.er1
66017   cat conftest.err >&5
66018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66019   (exit $ac_status); } &&
66020          { ac_try='test -z "$ac_cxx_werror_flag"
66021                          || test ! -s conftest.err'
66022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66023   (eval $ac_try) 2>&5
66024   ac_status=$?
66025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66026   (exit $ac_status); }; } &&
66027          { ac_try='test -s conftest.$ac_objext'
66028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66029   (eval $ac_try) 2>&5
66030   ac_status=$?
66031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66032   (exit $ac_status); }; }; then
66033   glibcxx_cv_func_frexpl_use=yes
66034 else
66035   echo "$as_me: failed program was:" >&5
66036 sed 's/^/| /' conftest.$ac_ext >&5
66037
66038 glibcxx_cv_func_frexpl_use=no
66039 fi
66040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66041       ac_ext=c
66042 ac_cpp='$CPP $CPPFLAGS'
66043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66046
66047
66048 fi
66049
66050   fi
66051   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
66052 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
66053
66054   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
66055
66056 for ac_func in frexpl
66057 do
66058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66059 echo "$as_me:$LINENO: checking for $ac_func" >&5
66060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66061 if eval "test \"\${$as_ac_var+set}\" = set"; then
66062   echo $ECHO_N "(cached) $ECHO_C" >&6
66063 else
66064   if test x$gcc_no_link = xyes; then
66065   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66067    { (exit 1); exit 1; }; }
66068 fi
66069 cat >conftest.$ac_ext <<_ACEOF
66070 /* confdefs.h.  */
66071 _ACEOF
66072 cat confdefs.h >>conftest.$ac_ext
66073 cat >>conftest.$ac_ext <<_ACEOF
66074 /* end confdefs.h.  */
66075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66076    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66077 #define $ac_func innocuous_$ac_func
66078
66079 /* System header to define __stub macros and hopefully few prototypes,
66080     which can conflict with char $ac_func (); below.
66081     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66082     <limits.h> exists even on freestanding compilers.  */
66083
66084 #ifdef __STDC__
66085 # include <limits.h>
66086 #else
66087 # include <assert.h>
66088 #endif
66089
66090 #undef $ac_func
66091
66092 /* Override any gcc2 internal prototype to avoid an error.  */
66093 #ifdef __cplusplus
66094 extern "C"
66095 {
66096 #endif
66097 /* We use char because int might match the return type of a gcc2
66098    builtin and then its argument prototype would still apply.  */
66099 char $ac_func ();
66100 /* The GNU C library defines this for functions which it implements
66101     to always fail with ENOSYS.  Some functions are actually named
66102     something starting with __ and the normal name is an alias.  */
66103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66104 choke me
66105 #else
66106 char (*f) () = $ac_func;
66107 #endif
66108 #ifdef __cplusplus
66109 }
66110 #endif
66111
66112 int
66113 main ()
66114 {
66115 return f != $ac_func;
66116   ;
66117   return 0;
66118 }
66119 _ACEOF
66120 rm -f conftest.$ac_objext conftest$ac_exeext
66121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66122   (eval $ac_link) 2>conftest.er1
66123   ac_status=$?
66124   grep -v '^ *+' conftest.er1 >conftest.err
66125   rm -f conftest.er1
66126   cat conftest.err >&5
66127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66128   (exit $ac_status); } &&
66129          { ac_try='test -z "$ac_c_werror_flag"
66130                          || test ! -s conftest.err'
66131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66132   (eval $ac_try) 2>&5
66133   ac_status=$?
66134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66135   (exit $ac_status); }; } &&
66136          { ac_try='test -s conftest$ac_exeext'
66137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66138   (eval $ac_try) 2>&5
66139   ac_status=$?
66140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66141   (exit $ac_status); }; }; then
66142   eval "$as_ac_var=yes"
66143 else
66144   echo "$as_me: failed program was:" >&5
66145 sed 's/^/| /' conftest.$ac_ext >&5
66146
66147 eval "$as_ac_var=no"
66148 fi
66149 rm -f conftest.err conftest.$ac_objext \
66150       conftest$ac_exeext conftest.$ac_ext
66151 fi
66152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66154 if test `eval echo '${'$as_ac_var'}'` = yes; then
66155   cat >>confdefs.h <<_ACEOF
66156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66157 _ACEOF
66158
66159 fi
66160 done
66161
66162   else
66163
66164   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
66165 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
66166   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
66167     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
66168   echo $ECHO_N "(cached) $ECHO_C" >&6
66169 else
66170
66171
66172
66173       ac_ext=cc
66174 ac_cpp='$CXXCPP $CPPFLAGS'
66175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66178
66179       cat >conftest.$ac_ext <<_ACEOF
66180 /* confdefs.h.  */
66181 _ACEOF
66182 cat confdefs.h >>conftest.$ac_ext
66183 cat >>conftest.$ac_ext <<_ACEOF
66184 /* end confdefs.h.  */
66185 #include <math.h>
66186 int
66187 main ()
66188 {
66189  _frexpl(0, 0);
66190   ;
66191   return 0;
66192 }
66193 _ACEOF
66194 rm -f conftest.$ac_objext
66195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66196   (eval $ac_compile) 2>conftest.er1
66197   ac_status=$?
66198   grep -v '^ *+' conftest.er1 >conftest.err
66199   rm -f conftest.er1
66200   cat conftest.err >&5
66201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66202   (exit $ac_status); } &&
66203          { ac_try='test -z "$ac_cxx_werror_flag"
66204                          || test ! -s conftest.err'
66205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66206   (eval $ac_try) 2>&5
66207   ac_status=$?
66208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66209   (exit $ac_status); }; } &&
66210          { ac_try='test -s conftest.$ac_objext'
66211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66212   (eval $ac_try) 2>&5
66213   ac_status=$?
66214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66215   (exit $ac_status); }; }; then
66216   glibcxx_cv_func__frexpl_use=yes
66217 else
66218   echo "$as_me: failed program was:" >&5
66219 sed 's/^/| /' conftest.$ac_ext >&5
66220
66221 glibcxx_cv_func__frexpl_use=no
66222 fi
66223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66224       ac_ext=c
66225 ac_cpp='$CPP $CPPFLAGS'
66226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66229
66230
66231 fi
66232
66233   fi
66234   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
66235 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
66236
66237     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
66238
66239 for ac_func in _frexpl
66240 do
66241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66242 echo "$as_me:$LINENO: checking for $ac_func" >&5
66243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66244 if eval "test \"\${$as_ac_var+set}\" = set"; then
66245   echo $ECHO_N "(cached) $ECHO_C" >&6
66246 else
66247   if test x$gcc_no_link = xyes; then
66248   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66250    { (exit 1); exit 1; }; }
66251 fi
66252 cat >conftest.$ac_ext <<_ACEOF
66253 /* confdefs.h.  */
66254 _ACEOF
66255 cat confdefs.h >>conftest.$ac_ext
66256 cat >>conftest.$ac_ext <<_ACEOF
66257 /* end confdefs.h.  */
66258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66259    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66260 #define $ac_func innocuous_$ac_func
66261
66262 /* System header to define __stub macros and hopefully few prototypes,
66263     which can conflict with char $ac_func (); below.
66264     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66265     <limits.h> exists even on freestanding compilers.  */
66266
66267 #ifdef __STDC__
66268 # include <limits.h>
66269 #else
66270 # include <assert.h>
66271 #endif
66272
66273 #undef $ac_func
66274
66275 /* Override any gcc2 internal prototype to avoid an error.  */
66276 #ifdef __cplusplus
66277 extern "C"
66278 {
66279 #endif
66280 /* We use char because int might match the return type of a gcc2
66281    builtin and then its argument prototype would still apply.  */
66282 char $ac_func ();
66283 /* The GNU C library defines this for functions which it implements
66284     to always fail with ENOSYS.  Some functions are actually named
66285     something starting with __ and the normal name is an alias.  */
66286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66287 choke me
66288 #else
66289 char (*f) () = $ac_func;
66290 #endif
66291 #ifdef __cplusplus
66292 }
66293 #endif
66294
66295 int
66296 main ()
66297 {
66298 return f != $ac_func;
66299   ;
66300   return 0;
66301 }
66302 _ACEOF
66303 rm -f conftest.$ac_objext conftest$ac_exeext
66304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66305   (eval $ac_link) 2>conftest.er1
66306   ac_status=$?
66307   grep -v '^ *+' conftest.er1 >conftest.err
66308   rm -f conftest.er1
66309   cat conftest.err >&5
66310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66311   (exit $ac_status); } &&
66312          { ac_try='test -z "$ac_c_werror_flag"
66313                          || test ! -s conftest.err'
66314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66315   (eval $ac_try) 2>&5
66316   ac_status=$?
66317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66318   (exit $ac_status); }; } &&
66319          { ac_try='test -s conftest$ac_exeext'
66320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66321   (eval $ac_try) 2>&5
66322   ac_status=$?
66323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66324   (exit $ac_status); }; }; then
66325   eval "$as_ac_var=yes"
66326 else
66327   echo "$as_me: failed program was:" >&5
66328 sed 's/^/| /' conftest.$ac_ext >&5
66329
66330 eval "$as_ac_var=no"
66331 fi
66332 rm -f conftest.err conftest.$ac_objext \
66333       conftest$ac_exeext conftest.$ac_ext
66334 fi
66335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66337 if test `eval echo '${'$as_ac_var'}'` = yes; then
66338   cat >>confdefs.h <<_ACEOF
66339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66340 _ACEOF
66341
66342 fi
66343 done
66344
66345     fi
66346   fi
66347
66348
66349
66350   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
66351 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
66352   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
66353     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
66354   echo $ECHO_N "(cached) $ECHO_C" >&6
66355 else
66356
66357
66358
66359       ac_ext=cc
66360 ac_cpp='$CXXCPP $CPPFLAGS'
66361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66364
66365       cat >conftest.$ac_ext <<_ACEOF
66366 /* confdefs.h.  */
66367 _ACEOF
66368 cat confdefs.h >>conftest.$ac_ext
66369 cat >>conftest.$ac_ext <<_ACEOF
66370 /* end confdefs.h.  */
66371 #include <math.h>
66372 int
66373 main ()
66374 {
66375  hypotl(0, 0);
66376   ;
66377   return 0;
66378 }
66379 _ACEOF
66380 rm -f conftest.$ac_objext
66381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66382   (eval $ac_compile) 2>conftest.er1
66383   ac_status=$?
66384   grep -v '^ *+' conftest.er1 >conftest.err
66385   rm -f conftest.er1
66386   cat conftest.err >&5
66387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66388   (exit $ac_status); } &&
66389          { ac_try='test -z "$ac_cxx_werror_flag"
66390                          || test ! -s conftest.err'
66391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66392   (eval $ac_try) 2>&5
66393   ac_status=$?
66394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66395   (exit $ac_status); }; } &&
66396          { ac_try='test -s conftest.$ac_objext'
66397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66398   (eval $ac_try) 2>&5
66399   ac_status=$?
66400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66401   (exit $ac_status); }; }; then
66402   glibcxx_cv_func_hypotl_use=yes
66403 else
66404   echo "$as_me: failed program was:" >&5
66405 sed 's/^/| /' conftest.$ac_ext >&5
66406
66407 glibcxx_cv_func_hypotl_use=no
66408 fi
66409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66410       ac_ext=c
66411 ac_cpp='$CPP $CPPFLAGS'
66412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66415
66416
66417 fi
66418
66419   fi
66420   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
66421 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
66422
66423   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
66424
66425 for ac_func in hypotl
66426 do
66427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66428 echo "$as_me:$LINENO: checking for $ac_func" >&5
66429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66430 if eval "test \"\${$as_ac_var+set}\" = set"; then
66431   echo $ECHO_N "(cached) $ECHO_C" >&6
66432 else
66433   if test x$gcc_no_link = xyes; then
66434   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66436    { (exit 1); exit 1; }; }
66437 fi
66438 cat >conftest.$ac_ext <<_ACEOF
66439 /* confdefs.h.  */
66440 _ACEOF
66441 cat confdefs.h >>conftest.$ac_ext
66442 cat >>conftest.$ac_ext <<_ACEOF
66443 /* end confdefs.h.  */
66444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66445    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66446 #define $ac_func innocuous_$ac_func
66447
66448 /* System header to define __stub macros and hopefully few prototypes,
66449     which can conflict with char $ac_func (); below.
66450     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66451     <limits.h> exists even on freestanding compilers.  */
66452
66453 #ifdef __STDC__
66454 # include <limits.h>
66455 #else
66456 # include <assert.h>
66457 #endif
66458
66459 #undef $ac_func
66460
66461 /* Override any gcc2 internal prototype to avoid an error.  */
66462 #ifdef __cplusplus
66463 extern "C"
66464 {
66465 #endif
66466 /* We use char because int might match the return type of a gcc2
66467    builtin and then its argument prototype would still apply.  */
66468 char $ac_func ();
66469 /* The GNU C library defines this for functions which it implements
66470     to always fail with ENOSYS.  Some functions are actually named
66471     something starting with __ and the normal name is an alias.  */
66472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66473 choke me
66474 #else
66475 char (*f) () = $ac_func;
66476 #endif
66477 #ifdef __cplusplus
66478 }
66479 #endif
66480
66481 int
66482 main ()
66483 {
66484 return f != $ac_func;
66485   ;
66486   return 0;
66487 }
66488 _ACEOF
66489 rm -f conftest.$ac_objext conftest$ac_exeext
66490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66491   (eval $ac_link) 2>conftest.er1
66492   ac_status=$?
66493   grep -v '^ *+' conftest.er1 >conftest.err
66494   rm -f conftest.er1
66495   cat conftest.err >&5
66496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66497   (exit $ac_status); } &&
66498          { ac_try='test -z "$ac_c_werror_flag"
66499                          || test ! -s conftest.err'
66500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66501   (eval $ac_try) 2>&5
66502   ac_status=$?
66503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66504   (exit $ac_status); }; } &&
66505          { ac_try='test -s conftest$ac_exeext'
66506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66507   (eval $ac_try) 2>&5
66508   ac_status=$?
66509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66510   (exit $ac_status); }; }; then
66511   eval "$as_ac_var=yes"
66512 else
66513   echo "$as_me: failed program was:" >&5
66514 sed 's/^/| /' conftest.$ac_ext >&5
66515
66516 eval "$as_ac_var=no"
66517 fi
66518 rm -f conftest.err conftest.$ac_objext \
66519       conftest$ac_exeext conftest.$ac_ext
66520 fi
66521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66523 if test `eval echo '${'$as_ac_var'}'` = yes; then
66524   cat >>confdefs.h <<_ACEOF
66525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66526 _ACEOF
66527
66528 fi
66529 done
66530
66531   else
66532
66533   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
66534 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
66535   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
66536     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
66537   echo $ECHO_N "(cached) $ECHO_C" >&6
66538 else
66539
66540
66541
66542       ac_ext=cc
66543 ac_cpp='$CXXCPP $CPPFLAGS'
66544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66547
66548       cat >conftest.$ac_ext <<_ACEOF
66549 /* confdefs.h.  */
66550 _ACEOF
66551 cat confdefs.h >>conftest.$ac_ext
66552 cat >>conftest.$ac_ext <<_ACEOF
66553 /* end confdefs.h.  */
66554 #include <math.h>
66555 int
66556 main ()
66557 {
66558  _hypotl(0, 0);
66559   ;
66560   return 0;
66561 }
66562 _ACEOF
66563 rm -f conftest.$ac_objext
66564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66565   (eval $ac_compile) 2>conftest.er1
66566   ac_status=$?
66567   grep -v '^ *+' conftest.er1 >conftest.err
66568   rm -f conftest.er1
66569   cat conftest.err >&5
66570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66571   (exit $ac_status); } &&
66572          { ac_try='test -z "$ac_cxx_werror_flag"
66573                          || test ! -s conftest.err'
66574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66575   (eval $ac_try) 2>&5
66576   ac_status=$?
66577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66578   (exit $ac_status); }; } &&
66579          { ac_try='test -s conftest.$ac_objext'
66580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66581   (eval $ac_try) 2>&5
66582   ac_status=$?
66583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66584   (exit $ac_status); }; }; then
66585   glibcxx_cv_func__hypotl_use=yes
66586 else
66587   echo "$as_me: failed program was:" >&5
66588 sed 's/^/| /' conftest.$ac_ext >&5
66589
66590 glibcxx_cv_func__hypotl_use=no
66591 fi
66592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66593       ac_ext=c
66594 ac_cpp='$CPP $CPPFLAGS'
66595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66598
66599
66600 fi
66601
66602   fi
66603   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
66604 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
66605
66606     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
66607
66608 for ac_func in _hypotl
66609 do
66610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66611 echo "$as_me:$LINENO: checking for $ac_func" >&5
66612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66613 if eval "test \"\${$as_ac_var+set}\" = set"; then
66614   echo $ECHO_N "(cached) $ECHO_C" >&6
66615 else
66616   if test x$gcc_no_link = xyes; then
66617   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66619    { (exit 1); exit 1; }; }
66620 fi
66621 cat >conftest.$ac_ext <<_ACEOF
66622 /* confdefs.h.  */
66623 _ACEOF
66624 cat confdefs.h >>conftest.$ac_ext
66625 cat >>conftest.$ac_ext <<_ACEOF
66626 /* end confdefs.h.  */
66627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66628    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66629 #define $ac_func innocuous_$ac_func
66630
66631 /* System header to define __stub macros and hopefully few prototypes,
66632     which can conflict with char $ac_func (); below.
66633     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66634     <limits.h> exists even on freestanding compilers.  */
66635
66636 #ifdef __STDC__
66637 # include <limits.h>
66638 #else
66639 # include <assert.h>
66640 #endif
66641
66642 #undef $ac_func
66643
66644 /* Override any gcc2 internal prototype to avoid an error.  */
66645 #ifdef __cplusplus
66646 extern "C"
66647 {
66648 #endif
66649 /* We use char because int might match the return type of a gcc2
66650    builtin and then its argument prototype would still apply.  */
66651 char $ac_func ();
66652 /* The GNU C library defines this for functions which it implements
66653     to always fail with ENOSYS.  Some functions are actually named
66654     something starting with __ and the normal name is an alias.  */
66655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66656 choke me
66657 #else
66658 char (*f) () = $ac_func;
66659 #endif
66660 #ifdef __cplusplus
66661 }
66662 #endif
66663
66664 int
66665 main ()
66666 {
66667 return f != $ac_func;
66668   ;
66669   return 0;
66670 }
66671 _ACEOF
66672 rm -f conftest.$ac_objext conftest$ac_exeext
66673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66674   (eval $ac_link) 2>conftest.er1
66675   ac_status=$?
66676   grep -v '^ *+' conftest.er1 >conftest.err
66677   rm -f conftest.er1
66678   cat conftest.err >&5
66679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66680   (exit $ac_status); } &&
66681          { ac_try='test -z "$ac_c_werror_flag"
66682                          || test ! -s conftest.err'
66683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66684   (eval $ac_try) 2>&5
66685   ac_status=$?
66686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66687   (exit $ac_status); }; } &&
66688          { ac_try='test -s conftest$ac_exeext'
66689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66690   (eval $ac_try) 2>&5
66691   ac_status=$?
66692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66693   (exit $ac_status); }; }; then
66694   eval "$as_ac_var=yes"
66695 else
66696   echo "$as_me: failed program was:" >&5
66697 sed 's/^/| /' conftest.$ac_ext >&5
66698
66699 eval "$as_ac_var=no"
66700 fi
66701 rm -f conftest.err conftest.$ac_objext \
66702       conftest$ac_exeext conftest.$ac_ext
66703 fi
66704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66706 if test `eval echo '${'$as_ac_var'}'` = yes; then
66707   cat >>confdefs.h <<_ACEOF
66708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66709 _ACEOF
66710
66711 fi
66712 done
66713
66714     fi
66715   fi
66716
66717
66718
66719   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
66720 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
66721   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
66722     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
66723   echo $ECHO_N "(cached) $ECHO_C" >&6
66724 else
66725
66726
66727
66728       ac_ext=cc
66729 ac_cpp='$CXXCPP $CPPFLAGS'
66730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66733
66734       cat >conftest.$ac_ext <<_ACEOF
66735 /* confdefs.h.  */
66736 _ACEOF
66737 cat confdefs.h >>conftest.$ac_ext
66738 cat >>conftest.$ac_ext <<_ACEOF
66739 /* end confdefs.h.  */
66740 #include <math.h>
66741 int
66742 main ()
66743 {
66744  ldexpl(0, 0);
66745   ;
66746   return 0;
66747 }
66748 _ACEOF
66749 rm -f conftest.$ac_objext
66750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66751   (eval $ac_compile) 2>conftest.er1
66752   ac_status=$?
66753   grep -v '^ *+' conftest.er1 >conftest.err
66754   rm -f conftest.er1
66755   cat conftest.err >&5
66756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66757   (exit $ac_status); } &&
66758          { ac_try='test -z "$ac_cxx_werror_flag"
66759                          || test ! -s conftest.err'
66760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66761   (eval $ac_try) 2>&5
66762   ac_status=$?
66763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66764   (exit $ac_status); }; } &&
66765          { ac_try='test -s conftest.$ac_objext'
66766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66767   (eval $ac_try) 2>&5
66768   ac_status=$?
66769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66770   (exit $ac_status); }; }; then
66771   glibcxx_cv_func_ldexpl_use=yes
66772 else
66773   echo "$as_me: failed program was:" >&5
66774 sed 's/^/| /' conftest.$ac_ext >&5
66775
66776 glibcxx_cv_func_ldexpl_use=no
66777 fi
66778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66779       ac_ext=c
66780 ac_cpp='$CPP $CPPFLAGS'
66781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66784
66785
66786 fi
66787
66788   fi
66789   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
66790 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
66791
66792   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
66793
66794 for ac_func in ldexpl
66795 do
66796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66797 echo "$as_me:$LINENO: checking for $ac_func" >&5
66798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66799 if eval "test \"\${$as_ac_var+set}\" = set"; then
66800   echo $ECHO_N "(cached) $ECHO_C" >&6
66801 else
66802   if test x$gcc_no_link = xyes; then
66803   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66805    { (exit 1); exit 1; }; }
66806 fi
66807 cat >conftest.$ac_ext <<_ACEOF
66808 /* confdefs.h.  */
66809 _ACEOF
66810 cat confdefs.h >>conftest.$ac_ext
66811 cat >>conftest.$ac_ext <<_ACEOF
66812 /* end confdefs.h.  */
66813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66814    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66815 #define $ac_func innocuous_$ac_func
66816
66817 /* System header to define __stub macros and hopefully few prototypes,
66818     which can conflict with char $ac_func (); below.
66819     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66820     <limits.h> exists even on freestanding compilers.  */
66821
66822 #ifdef __STDC__
66823 # include <limits.h>
66824 #else
66825 # include <assert.h>
66826 #endif
66827
66828 #undef $ac_func
66829
66830 /* Override any gcc2 internal prototype to avoid an error.  */
66831 #ifdef __cplusplus
66832 extern "C"
66833 {
66834 #endif
66835 /* We use char because int might match the return type of a gcc2
66836    builtin and then its argument prototype would still apply.  */
66837 char $ac_func ();
66838 /* The GNU C library defines this for functions which it implements
66839     to always fail with ENOSYS.  Some functions are actually named
66840     something starting with __ and the normal name is an alias.  */
66841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66842 choke me
66843 #else
66844 char (*f) () = $ac_func;
66845 #endif
66846 #ifdef __cplusplus
66847 }
66848 #endif
66849
66850 int
66851 main ()
66852 {
66853 return f != $ac_func;
66854   ;
66855   return 0;
66856 }
66857 _ACEOF
66858 rm -f conftest.$ac_objext conftest$ac_exeext
66859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66860   (eval $ac_link) 2>conftest.er1
66861   ac_status=$?
66862   grep -v '^ *+' conftest.er1 >conftest.err
66863   rm -f conftest.er1
66864   cat conftest.err >&5
66865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66866   (exit $ac_status); } &&
66867          { ac_try='test -z "$ac_c_werror_flag"
66868                          || test ! -s conftest.err'
66869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66870   (eval $ac_try) 2>&5
66871   ac_status=$?
66872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66873   (exit $ac_status); }; } &&
66874          { ac_try='test -s conftest$ac_exeext'
66875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66876   (eval $ac_try) 2>&5
66877   ac_status=$?
66878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66879   (exit $ac_status); }; }; then
66880   eval "$as_ac_var=yes"
66881 else
66882   echo "$as_me: failed program was:" >&5
66883 sed 's/^/| /' conftest.$ac_ext >&5
66884
66885 eval "$as_ac_var=no"
66886 fi
66887 rm -f conftest.err conftest.$ac_objext \
66888       conftest$ac_exeext conftest.$ac_ext
66889 fi
66890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66892 if test `eval echo '${'$as_ac_var'}'` = yes; then
66893   cat >>confdefs.h <<_ACEOF
66894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66895 _ACEOF
66896
66897 fi
66898 done
66899
66900   else
66901
66902   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
66903 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
66904   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
66905     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
66906   echo $ECHO_N "(cached) $ECHO_C" >&6
66907 else
66908
66909
66910
66911       ac_ext=cc
66912 ac_cpp='$CXXCPP $CPPFLAGS'
66913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66916
66917       cat >conftest.$ac_ext <<_ACEOF
66918 /* confdefs.h.  */
66919 _ACEOF
66920 cat confdefs.h >>conftest.$ac_ext
66921 cat >>conftest.$ac_ext <<_ACEOF
66922 /* end confdefs.h.  */
66923 #include <math.h>
66924 int
66925 main ()
66926 {
66927  _ldexpl(0, 0);
66928   ;
66929   return 0;
66930 }
66931 _ACEOF
66932 rm -f conftest.$ac_objext
66933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66934   (eval $ac_compile) 2>conftest.er1
66935   ac_status=$?
66936   grep -v '^ *+' conftest.er1 >conftest.err
66937   rm -f conftest.er1
66938   cat conftest.err >&5
66939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66940   (exit $ac_status); } &&
66941          { ac_try='test -z "$ac_cxx_werror_flag"
66942                          || test ! -s conftest.err'
66943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66944   (eval $ac_try) 2>&5
66945   ac_status=$?
66946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66947   (exit $ac_status); }; } &&
66948          { ac_try='test -s conftest.$ac_objext'
66949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66950   (eval $ac_try) 2>&5
66951   ac_status=$?
66952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66953   (exit $ac_status); }; }; then
66954   glibcxx_cv_func__ldexpl_use=yes
66955 else
66956   echo "$as_me: failed program was:" >&5
66957 sed 's/^/| /' conftest.$ac_ext >&5
66958
66959 glibcxx_cv_func__ldexpl_use=no
66960 fi
66961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66962       ac_ext=c
66963 ac_cpp='$CPP $CPPFLAGS'
66964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66967
66968
66969 fi
66970
66971   fi
66972   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
66973 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
66974
66975     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
66976
66977 for ac_func in _ldexpl
66978 do
66979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66980 echo "$as_me:$LINENO: checking for $ac_func" >&5
66981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66982 if eval "test \"\${$as_ac_var+set}\" = set"; then
66983   echo $ECHO_N "(cached) $ECHO_C" >&6
66984 else
66985   if test x$gcc_no_link = xyes; then
66986   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66988    { (exit 1); exit 1; }; }
66989 fi
66990 cat >conftest.$ac_ext <<_ACEOF
66991 /* confdefs.h.  */
66992 _ACEOF
66993 cat confdefs.h >>conftest.$ac_ext
66994 cat >>conftest.$ac_ext <<_ACEOF
66995 /* end confdefs.h.  */
66996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66997    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66998 #define $ac_func innocuous_$ac_func
66999
67000 /* System header to define __stub macros and hopefully few prototypes,
67001     which can conflict with char $ac_func (); below.
67002     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67003     <limits.h> exists even on freestanding compilers.  */
67004
67005 #ifdef __STDC__
67006 # include <limits.h>
67007 #else
67008 # include <assert.h>
67009 #endif
67010
67011 #undef $ac_func
67012
67013 /* Override any gcc2 internal prototype to avoid an error.  */
67014 #ifdef __cplusplus
67015 extern "C"
67016 {
67017 #endif
67018 /* We use char because int might match the return type of a gcc2
67019    builtin and then its argument prototype would still apply.  */
67020 char $ac_func ();
67021 /* The GNU C library defines this for functions which it implements
67022     to always fail with ENOSYS.  Some functions are actually named
67023     something starting with __ and the normal name is an alias.  */
67024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67025 choke me
67026 #else
67027 char (*f) () = $ac_func;
67028 #endif
67029 #ifdef __cplusplus
67030 }
67031 #endif
67032
67033 int
67034 main ()
67035 {
67036 return f != $ac_func;
67037   ;
67038   return 0;
67039 }
67040 _ACEOF
67041 rm -f conftest.$ac_objext conftest$ac_exeext
67042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67043   (eval $ac_link) 2>conftest.er1
67044   ac_status=$?
67045   grep -v '^ *+' conftest.er1 >conftest.err
67046   rm -f conftest.er1
67047   cat conftest.err >&5
67048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67049   (exit $ac_status); } &&
67050          { ac_try='test -z "$ac_c_werror_flag"
67051                          || test ! -s conftest.err'
67052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67053   (eval $ac_try) 2>&5
67054   ac_status=$?
67055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67056   (exit $ac_status); }; } &&
67057          { ac_try='test -s conftest$ac_exeext'
67058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67059   (eval $ac_try) 2>&5
67060   ac_status=$?
67061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67062   (exit $ac_status); }; }; then
67063   eval "$as_ac_var=yes"
67064 else
67065   echo "$as_me: failed program was:" >&5
67066 sed 's/^/| /' conftest.$ac_ext >&5
67067
67068 eval "$as_ac_var=no"
67069 fi
67070 rm -f conftest.err conftest.$ac_objext \
67071       conftest$ac_exeext conftest.$ac_ext
67072 fi
67073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67075 if test `eval echo '${'$as_ac_var'}'` = yes; then
67076   cat >>confdefs.h <<_ACEOF
67077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67078 _ACEOF
67079
67080 fi
67081 done
67082
67083     fi
67084   fi
67085
67086
67087
67088   echo "$as_me:$LINENO: checking for logl declaration" >&5
67089 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
67090   if test x${glibcxx_cv_func_logl_use+set} != xset; then
67091     if test "${glibcxx_cv_func_logl_use+set}" = set; then
67092   echo $ECHO_N "(cached) $ECHO_C" >&6
67093 else
67094
67095
67096
67097       ac_ext=cc
67098 ac_cpp='$CXXCPP $CPPFLAGS'
67099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67102
67103       cat >conftest.$ac_ext <<_ACEOF
67104 /* confdefs.h.  */
67105 _ACEOF
67106 cat confdefs.h >>conftest.$ac_ext
67107 cat >>conftest.$ac_ext <<_ACEOF
67108 /* end confdefs.h.  */
67109 #include <math.h>
67110                       #ifdef HAVE_IEEEFP_H
67111                       #include <ieeefp.h>
67112                       #endif
67113
67114 int
67115 main ()
67116 {
67117  logl(0);
67118   ;
67119   return 0;
67120 }
67121 _ACEOF
67122 rm -f conftest.$ac_objext
67123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67124   (eval $ac_compile) 2>conftest.er1
67125   ac_status=$?
67126   grep -v '^ *+' conftest.er1 >conftest.err
67127   rm -f conftest.er1
67128   cat conftest.err >&5
67129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67130   (exit $ac_status); } &&
67131          { ac_try='test -z "$ac_cxx_werror_flag"
67132                          || test ! -s conftest.err'
67133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67134   (eval $ac_try) 2>&5
67135   ac_status=$?
67136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67137   (exit $ac_status); }; } &&
67138          { ac_try='test -s conftest.$ac_objext'
67139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67140   (eval $ac_try) 2>&5
67141   ac_status=$?
67142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67143   (exit $ac_status); }; }; then
67144   glibcxx_cv_func_logl_use=yes
67145 else
67146   echo "$as_me: failed program was:" >&5
67147 sed 's/^/| /' conftest.$ac_ext >&5
67148
67149 glibcxx_cv_func_logl_use=no
67150 fi
67151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67152       ac_ext=c
67153 ac_cpp='$CPP $CPPFLAGS'
67154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67157
67158
67159 fi
67160
67161   fi
67162   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
67163 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
67164
67165   if test x$glibcxx_cv_func_logl_use = x"yes"; then
67166
67167 for ac_func in logl
67168 do
67169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67170 echo "$as_me:$LINENO: checking for $ac_func" >&5
67171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67172 if eval "test \"\${$as_ac_var+set}\" = set"; then
67173   echo $ECHO_N "(cached) $ECHO_C" >&6
67174 else
67175   if test x$gcc_no_link = xyes; then
67176   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67178    { (exit 1); exit 1; }; }
67179 fi
67180 cat >conftest.$ac_ext <<_ACEOF
67181 /* confdefs.h.  */
67182 _ACEOF
67183 cat confdefs.h >>conftest.$ac_ext
67184 cat >>conftest.$ac_ext <<_ACEOF
67185 /* end confdefs.h.  */
67186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67187    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67188 #define $ac_func innocuous_$ac_func
67189
67190 /* System header to define __stub macros and hopefully few prototypes,
67191     which can conflict with char $ac_func (); below.
67192     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67193     <limits.h> exists even on freestanding compilers.  */
67194
67195 #ifdef __STDC__
67196 # include <limits.h>
67197 #else
67198 # include <assert.h>
67199 #endif
67200
67201 #undef $ac_func
67202
67203 /* Override any gcc2 internal prototype to avoid an error.  */
67204 #ifdef __cplusplus
67205 extern "C"
67206 {
67207 #endif
67208 /* We use char because int might match the return type of a gcc2
67209    builtin and then its argument prototype would still apply.  */
67210 char $ac_func ();
67211 /* The GNU C library defines this for functions which it implements
67212     to always fail with ENOSYS.  Some functions are actually named
67213     something starting with __ and the normal name is an alias.  */
67214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67215 choke me
67216 #else
67217 char (*f) () = $ac_func;
67218 #endif
67219 #ifdef __cplusplus
67220 }
67221 #endif
67222
67223 int
67224 main ()
67225 {
67226 return f != $ac_func;
67227   ;
67228   return 0;
67229 }
67230 _ACEOF
67231 rm -f conftest.$ac_objext conftest$ac_exeext
67232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67233   (eval $ac_link) 2>conftest.er1
67234   ac_status=$?
67235   grep -v '^ *+' conftest.er1 >conftest.err
67236   rm -f conftest.er1
67237   cat conftest.err >&5
67238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67239   (exit $ac_status); } &&
67240          { ac_try='test -z "$ac_c_werror_flag"
67241                          || test ! -s conftest.err'
67242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67243   (eval $ac_try) 2>&5
67244   ac_status=$?
67245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67246   (exit $ac_status); }; } &&
67247          { ac_try='test -s conftest$ac_exeext'
67248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67249   (eval $ac_try) 2>&5
67250   ac_status=$?
67251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67252   (exit $ac_status); }; }; then
67253   eval "$as_ac_var=yes"
67254 else
67255   echo "$as_me: failed program was:" >&5
67256 sed 's/^/| /' conftest.$ac_ext >&5
67257
67258 eval "$as_ac_var=no"
67259 fi
67260 rm -f conftest.err conftest.$ac_objext \
67261       conftest$ac_exeext conftest.$ac_ext
67262 fi
67263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67265 if test `eval echo '${'$as_ac_var'}'` = yes; then
67266   cat >>confdefs.h <<_ACEOF
67267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67268 _ACEOF
67269
67270 fi
67271 done
67272
67273   else
67274
67275   echo "$as_me:$LINENO: checking for _logl declaration" >&5
67276 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
67277   if test x${glibcxx_cv_func__logl_use+set} != xset; then
67278     if test "${glibcxx_cv_func__logl_use+set}" = set; then
67279   echo $ECHO_N "(cached) $ECHO_C" >&6
67280 else
67281
67282
67283
67284       ac_ext=cc
67285 ac_cpp='$CXXCPP $CPPFLAGS'
67286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67289
67290       cat >conftest.$ac_ext <<_ACEOF
67291 /* confdefs.h.  */
67292 _ACEOF
67293 cat confdefs.h >>conftest.$ac_ext
67294 cat >>conftest.$ac_ext <<_ACEOF
67295 /* end confdefs.h.  */
67296 #include <math.h>
67297                       #ifdef HAVE_IEEEFP_H
67298                       #include <ieeefp.h>
67299                       #endif
67300
67301 int
67302 main ()
67303 {
67304  _logl(0);
67305   ;
67306   return 0;
67307 }
67308 _ACEOF
67309 rm -f conftest.$ac_objext
67310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67311   (eval $ac_compile) 2>conftest.er1
67312   ac_status=$?
67313   grep -v '^ *+' conftest.er1 >conftest.err
67314   rm -f conftest.er1
67315   cat conftest.err >&5
67316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67317   (exit $ac_status); } &&
67318          { ac_try='test -z "$ac_cxx_werror_flag"
67319                          || test ! -s conftest.err'
67320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67321   (eval $ac_try) 2>&5
67322   ac_status=$?
67323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67324   (exit $ac_status); }; } &&
67325          { ac_try='test -s conftest.$ac_objext'
67326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67327   (eval $ac_try) 2>&5
67328   ac_status=$?
67329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67330   (exit $ac_status); }; }; then
67331   glibcxx_cv_func__logl_use=yes
67332 else
67333   echo "$as_me: failed program was:" >&5
67334 sed 's/^/| /' conftest.$ac_ext >&5
67335
67336 glibcxx_cv_func__logl_use=no
67337 fi
67338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67339       ac_ext=c
67340 ac_cpp='$CPP $CPPFLAGS'
67341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67344
67345
67346 fi
67347
67348   fi
67349   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
67350 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
67351
67352     if test x$glibcxx_cv_func__logl_use = x"yes"; then
67353
67354 for ac_func in _logl
67355 do
67356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67357 echo "$as_me:$LINENO: checking for $ac_func" >&5
67358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67359 if eval "test \"\${$as_ac_var+set}\" = set"; then
67360   echo $ECHO_N "(cached) $ECHO_C" >&6
67361 else
67362   if test x$gcc_no_link = xyes; then
67363   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67365    { (exit 1); exit 1; }; }
67366 fi
67367 cat >conftest.$ac_ext <<_ACEOF
67368 /* confdefs.h.  */
67369 _ACEOF
67370 cat confdefs.h >>conftest.$ac_ext
67371 cat >>conftest.$ac_ext <<_ACEOF
67372 /* end confdefs.h.  */
67373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67374    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67375 #define $ac_func innocuous_$ac_func
67376
67377 /* System header to define __stub macros and hopefully few prototypes,
67378     which can conflict with char $ac_func (); below.
67379     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67380     <limits.h> exists even on freestanding compilers.  */
67381
67382 #ifdef __STDC__
67383 # include <limits.h>
67384 #else
67385 # include <assert.h>
67386 #endif
67387
67388 #undef $ac_func
67389
67390 /* Override any gcc2 internal prototype to avoid an error.  */
67391 #ifdef __cplusplus
67392 extern "C"
67393 {
67394 #endif
67395 /* We use char because int might match the return type of a gcc2
67396    builtin and then its argument prototype would still apply.  */
67397 char $ac_func ();
67398 /* The GNU C library defines this for functions which it implements
67399     to always fail with ENOSYS.  Some functions are actually named
67400     something starting with __ and the normal name is an alias.  */
67401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67402 choke me
67403 #else
67404 char (*f) () = $ac_func;
67405 #endif
67406 #ifdef __cplusplus
67407 }
67408 #endif
67409
67410 int
67411 main ()
67412 {
67413 return f != $ac_func;
67414   ;
67415   return 0;
67416 }
67417 _ACEOF
67418 rm -f conftest.$ac_objext conftest$ac_exeext
67419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67420   (eval $ac_link) 2>conftest.er1
67421   ac_status=$?
67422   grep -v '^ *+' conftest.er1 >conftest.err
67423   rm -f conftest.er1
67424   cat conftest.err >&5
67425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67426   (exit $ac_status); } &&
67427          { ac_try='test -z "$ac_c_werror_flag"
67428                          || test ! -s conftest.err'
67429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67430   (eval $ac_try) 2>&5
67431   ac_status=$?
67432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67433   (exit $ac_status); }; } &&
67434          { ac_try='test -s conftest$ac_exeext'
67435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67436   (eval $ac_try) 2>&5
67437   ac_status=$?
67438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67439   (exit $ac_status); }; }; then
67440   eval "$as_ac_var=yes"
67441 else
67442   echo "$as_me: failed program was:" >&5
67443 sed 's/^/| /' conftest.$ac_ext >&5
67444
67445 eval "$as_ac_var=no"
67446 fi
67447 rm -f conftest.err conftest.$ac_objext \
67448       conftest$ac_exeext conftest.$ac_ext
67449 fi
67450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67452 if test `eval echo '${'$as_ac_var'}'` = yes; then
67453   cat >>confdefs.h <<_ACEOF
67454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67455 _ACEOF
67456
67457 fi
67458 done
67459
67460     fi
67461   fi
67462
67463
67464
67465   echo "$as_me:$LINENO: checking for log10l declaration" >&5
67466 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
67467   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
67468     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
67469   echo $ECHO_N "(cached) $ECHO_C" >&6
67470 else
67471
67472
67473
67474       ac_ext=cc
67475 ac_cpp='$CXXCPP $CPPFLAGS'
67476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67479
67480       cat >conftest.$ac_ext <<_ACEOF
67481 /* confdefs.h.  */
67482 _ACEOF
67483 cat confdefs.h >>conftest.$ac_ext
67484 cat >>conftest.$ac_ext <<_ACEOF
67485 /* end confdefs.h.  */
67486 #include <math.h>
67487                       #ifdef HAVE_IEEEFP_H
67488                       #include <ieeefp.h>
67489                       #endif
67490
67491 int
67492 main ()
67493 {
67494  log10l(0);
67495   ;
67496   return 0;
67497 }
67498 _ACEOF
67499 rm -f conftest.$ac_objext
67500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67501   (eval $ac_compile) 2>conftest.er1
67502   ac_status=$?
67503   grep -v '^ *+' conftest.er1 >conftest.err
67504   rm -f conftest.er1
67505   cat conftest.err >&5
67506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67507   (exit $ac_status); } &&
67508          { ac_try='test -z "$ac_cxx_werror_flag"
67509                          || test ! -s conftest.err'
67510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67511   (eval $ac_try) 2>&5
67512   ac_status=$?
67513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67514   (exit $ac_status); }; } &&
67515          { ac_try='test -s conftest.$ac_objext'
67516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67517   (eval $ac_try) 2>&5
67518   ac_status=$?
67519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67520   (exit $ac_status); }; }; then
67521   glibcxx_cv_func_log10l_use=yes
67522 else
67523   echo "$as_me: failed program was:" >&5
67524 sed 's/^/| /' conftest.$ac_ext >&5
67525
67526 glibcxx_cv_func_log10l_use=no
67527 fi
67528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67529       ac_ext=c
67530 ac_cpp='$CPP $CPPFLAGS'
67531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67534
67535
67536 fi
67537
67538   fi
67539   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
67540 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
67541
67542   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
67543
67544 for ac_func in log10l
67545 do
67546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67547 echo "$as_me:$LINENO: checking for $ac_func" >&5
67548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67549 if eval "test \"\${$as_ac_var+set}\" = set"; then
67550   echo $ECHO_N "(cached) $ECHO_C" >&6
67551 else
67552   if test x$gcc_no_link = xyes; then
67553   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67555    { (exit 1); exit 1; }; }
67556 fi
67557 cat >conftest.$ac_ext <<_ACEOF
67558 /* confdefs.h.  */
67559 _ACEOF
67560 cat confdefs.h >>conftest.$ac_ext
67561 cat >>conftest.$ac_ext <<_ACEOF
67562 /* end confdefs.h.  */
67563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67564    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67565 #define $ac_func innocuous_$ac_func
67566
67567 /* System header to define __stub macros and hopefully few prototypes,
67568     which can conflict with char $ac_func (); below.
67569     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67570     <limits.h> exists even on freestanding compilers.  */
67571
67572 #ifdef __STDC__
67573 # include <limits.h>
67574 #else
67575 # include <assert.h>
67576 #endif
67577
67578 #undef $ac_func
67579
67580 /* Override any gcc2 internal prototype to avoid an error.  */
67581 #ifdef __cplusplus
67582 extern "C"
67583 {
67584 #endif
67585 /* We use char because int might match the return type of a gcc2
67586    builtin and then its argument prototype would still apply.  */
67587 char $ac_func ();
67588 /* The GNU C library defines this for functions which it implements
67589     to always fail with ENOSYS.  Some functions are actually named
67590     something starting with __ and the normal name is an alias.  */
67591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67592 choke me
67593 #else
67594 char (*f) () = $ac_func;
67595 #endif
67596 #ifdef __cplusplus
67597 }
67598 #endif
67599
67600 int
67601 main ()
67602 {
67603 return f != $ac_func;
67604   ;
67605   return 0;
67606 }
67607 _ACEOF
67608 rm -f conftest.$ac_objext conftest$ac_exeext
67609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67610   (eval $ac_link) 2>conftest.er1
67611   ac_status=$?
67612   grep -v '^ *+' conftest.er1 >conftest.err
67613   rm -f conftest.er1
67614   cat conftest.err >&5
67615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67616   (exit $ac_status); } &&
67617          { ac_try='test -z "$ac_c_werror_flag"
67618                          || test ! -s conftest.err'
67619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67620   (eval $ac_try) 2>&5
67621   ac_status=$?
67622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67623   (exit $ac_status); }; } &&
67624          { ac_try='test -s conftest$ac_exeext'
67625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67626   (eval $ac_try) 2>&5
67627   ac_status=$?
67628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67629   (exit $ac_status); }; }; then
67630   eval "$as_ac_var=yes"
67631 else
67632   echo "$as_me: failed program was:" >&5
67633 sed 's/^/| /' conftest.$ac_ext >&5
67634
67635 eval "$as_ac_var=no"
67636 fi
67637 rm -f conftest.err conftest.$ac_objext \
67638       conftest$ac_exeext conftest.$ac_ext
67639 fi
67640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67642 if test `eval echo '${'$as_ac_var'}'` = yes; then
67643   cat >>confdefs.h <<_ACEOF
67644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67645 _ACEOF
67646
67647 fi
67648 done
67649
67650   else
67651
67652   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
67653 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
67654   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
67655     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
67656   echo $ECHO_N "(cached) $ECHO_C" >&6
67657 else
67658
67659
67660
67661       ac_ext=cc
67662 ac_cpp='$CXXCPP $CPPFLAGS'
67663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67666
67667       cat >conftest.$ac_ext <<_ACEOF
67668 /* confdefs.h.  */
67669 _ACEOF
67670 cat confdefs.h >>conftest.$ac_ext
67671 cat >>conftest.$ac_ext <<_ACEOF
67672 /* end confdefs.h.  */
67673 #include <math.h>
67674                       #ifdef HAVE_IEEEFP_H
67675                       #include <ieeefp.h>
67676                       #endif
67677
67678 int
67679 main ()
67680 {
67681  _log10l(0);
67682   ;
67683   return 0;
67684 }
67685 _ACEOF
67686 rm -f conftest.$ac_objext
67687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67688   (eval $ac_compile) 2>conftest.er1
67689   ac_status=$?
67690   grep -v '^ *+' conftest.er1 >conftest.err
67691   rm -f conftest.er1
67692   cat conftest.err >&5
67693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67694   (exit $ac_status); } &&
67695          { ac_try='test -z "$ac_cxx_werror_flag"
67696                          || test ! -s conftest.err'
67697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67698   (eval $ac_try) 2>&5
67699   ac_status=$?
67700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67701   (exit $ac_status); }; } &&
67702          { ac_try='test -s conftest.$ac_objext'
67703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67704   (eval $ac_try) 2>&5
67705   ac_status=$?
67706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67707   (exit $ac_status); }; }; then
67708   glibcxx_cv_func__log10l_use=yes
67709 else
67710   echo "$as_me: failed program was:" >&5
67711 sed 's/^/| /' conftest.$ac_ext >&5
67712
67713 glibcxx_cv_func__log10l_use=no
67714 fi
67715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67716       ac_ext=c
67717 ac_cpp='$CPP $CPPFLAGS'
67718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67721
67722
67723 fi
67724
67725   fi
67726   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
67727 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
67728
67729     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
67730
67731 for ac_func in _log10l
67732 do
67733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67734 echo "$as_me:$LINENO: checking for $ac_func" >&5
67735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67736 if eval "test \"\${$as_ac_var+set}\" = set"; then
67737   echo $ECHO_N "(cached) $ECHO_C" >&6
67738 else
67739   if test x$gcc_no_link = xyes; then
67740   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67742    { (exit 1); exit 1; }; }
67743 fi
67744 cat >conftest.$ac_ext <<_ACEOF
67745 /* confdefs.h.  */
67746 _ACEOF
67747 cat confdefs.h >>conftest.$ac_ext
67748 cat >>conftest.$ac_ext <<_ACEOF
67749 /* end confdefs.h.  */
67750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67751    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67752 #define $ac_func innocuous_$ac_func
67753
67754 /* System header to define __stub macros and hopefully few prototypes,
67755     which can conflict with char $ac_func (); below.
67756     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67757     <limits.h> exists even on freestanding compilers.  */
67758
67759 #ifdef __STDC__
67760 # include <limits.h>
67761 #else
67762 # include <assert.h>
67763 #endif
67764
67765 #undef $ac_func
67766
67767 /* Override any gcc2 internal prototype to avoid an error.  */
67768 #ifdef __cplusplus
67769 extern "C"
67770 {
67771 #endif
67772 /* We use char because int might match the return type of a gcc2
67773    builtin and then its argument prototype would still apply.  */
67774 char $ac_func ();
67775 /* The GNU C library defines this for functions which it implements
67776     to always fail with ENOSYS.  Some functions are actually named
67777     something starting with __ and the normal name is an alias.  */
67778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67779 choke me
67780 #else
67781 char (*f) () = $ac_func;
67782 #endif
67783 #ifdef __cplusplus
67784 }
67785 #endif
67786
67787 int
67788 main ()
67789 {
67790 return f != $ac_func;
67791   ;
67792   return 0;
67793 }
67794 _ACEOF
67795 rm -f conftest.$ac_objext conftest$ac_exeext
67796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67797   (eval $ac_link) 2>conftest.er1
67798   ac_status=$?
67799   grep -v '^ *+' conftest.er1 >conftest.err
67800   rm -f conftest.er1
67801   cat conftest.err >&5
67802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67803   (exit $ac_status); } &&
67804          { ac_try='test -z "$ac_c_werror_flag"
67805                          || test ! -s conftest.err'
67806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67807   (eval $ac_try) 2>&5
67808   ac_status=$?
67809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67810   (exit $ac_status); }; } &&
67811          { ac_try='test -s conftest$ac_exeext'
67812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67813   (eval $ac_try) 2>&5
67814   ac_status=$?
67815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67816   (exit $ac_status); }; }; then
67817   eval "$as_ac_var=yes"
67818 else
67819   echo "$as_me: failed program was:" >&5
67820 sed 's/^/| /' conftest.$ac_ext >&5
67821
67822 eval "$as_ac_var=no"
67823 fi
67824 rm -f conftest.err conftest.$ac_objext \
67825       conftest$ac_exeext conftest.$ac_ext
67826 fi
67827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67829 if test `eval echo '${'$as_ac_var'}'` = yes; then
67830   cat >>confdefs.h <<_ACEOF
67831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67832 _ACEOF
67833
67834 fi
67835 done
67836
67837     fi
67838   fi
67839
67840
67841
67842   echo "$as_me:$LINENO: checking for modfl declaration" >&5
67843 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
67844   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
67845     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
67846   echo $ECHO_N "(cached) $ECHO_C" >&6
67847 else
67848
67849
67850
67851       ac_ext=cc
67852 ac_cpp='$CXXCPP $CPPFLAGS'
67853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67856
67857       cat >conftest.$ac_ext <<_ACEOF
67858 /* confdefs.h.  */
67859 _ACEOF
67860 cat confdefs.h >>conftest.$ac_ext
67861 cat >>conftest.$ac_ext <<_ACEOF
67862 /* end confdefs.h.  */
67863 #include <math.h>
67864 int
67865 main ()
67866 {
67867  modfl(0, 0);
67868   ;
67869   return 0;
67870 }
67871 _ACEOF
67872 rm -f conftest.$ac_objext
67873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67874   (eval $ac_compile) 2>conftest.er1
67875   ac_status=$?
67876   grep -v '^ *+' conftest.er1 >conftest.err
67877   rm -f conftest.er1
67878   cat conftest.err >&5
67879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67880   (exit $ac_status); } &&
67881          { ac_try='test -z "$ac_cxx_werror_flag"
67882                          || test ! -s conftest.err'
67883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67884   (eval $ac_try) 2>&5
67885   ac_status=$?
67886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67887   (exit $ac_status); }; } &&
67888          { ac_try='test -s conftest.$ac_objext'
67889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67890   (eval $ac_try) 2>&5
67891   ac_status=$?
67892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67893   (exit $ac_status); }; }; then
67894   glibcxx_cv_func_modfl_use=yes
67895 else
67896   echo "$as_me: failed program was:" >&5
67897 sed 's/^/| /' conftest.$ac_ext >&5
67898
67899 glibcxx_cv_func_modfl_use=no
67900 fi
67901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67902       ac_ext=c
67903 ac_cpp='$CPP $CPPFLAGS'
67904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67907
67908
67909 fi
67910
67911   fi
67912   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
67913 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
67914
67915   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
67916
67917 for ac_func in modfl
67918 do
67919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67920 echo "$as_me:$LINENO: checking for $ac_func" >&5
67921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67922 if eval "test \"\${$as_ac_var+set}\" = set"; then
67923   echo $ECHO_N "(cached) $ECHO_C" >&6
67924 else
67925   if test x$gcc_no_link = xyes; then
67926   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67928    { (exit 1); exit 1; }; }
67929 fi
67930 cat >conftest.$ac_ext <<_ACEOF
67931 /* confdefs.h.  */
67932 _ACEOF
67933 cat confdefs.h >>conftest.$ac_ext
67934 cat >>conftest.$ac_ext <<_ACEOF
67935 /* end confdefs.h.  */
67936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67937    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67938 #define $ac_func innocuous_$ac_func
67939
67940 /* System header to define __stub macros and hopefully few prototypes,
67941     which can conflict with char $ac_func (); below.
67942     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67943     <limits.h> exists even on freestanding compilers.  */
67944
67945 #ifdef __STDC__
67946 # include <limits.h>
67947 #else
67948 # include <assert.h>
67949 #endif
67950
67951 #undef $ac_func
67952
67953 /* Override any gcc2 internal prototype to avoid an error.  */
67954 #ifdef __cplusplus
67955 extern "C"
67956 {
67957 #endif
67958 /* We use char because int might match the return type of a gcc2
67959    builtin and then its argument prototype would still apply.  */
67960 char $ac_func ();
67961 /* The GNU C library defines this for functions which it implements
67962     to always fail with ENOSYS.  Some functions are actually named
67963     something starting with __ and the normal name is an alias.  */
67964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67965 choke me
67966 #else
67967 char (*f) () = $ac_func;
67968 #endif
67969 #ifdef __cplusplus
67970 }
67971 #endif
67972
67973 int
67974 main ()
67975 {
67976 return f != $ac_func;
67977   ;
67978   return 0;
67979 }
67980 _ACEOF
67981 rm -f conftest.$ac_objext conftest$ac_exeext
67982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67983   (eval $ac_link) 2>conftest.er1
67984   ac_status=$?
67985   grep -v '^ *+' conftest.er1 >conftest.err
67986   rm -f conftest.er1
67987   cat conftest.err >&5
67988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67989   (exit $ac_status); } &&
67990          { ac_try='test -z "$ac_c_werror_flag"
67991                          || test ! -s conftest.err'
67992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67993   (eval $ac_try) 2>&5
67994   ac_status=$?
67995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67996   (exit $ac_status); }; } &&
67997          { ac_try='test -s conftest$ac_exeext'
67998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67999   (eval $ac_try) 2>&5
68000   ac_status=$?
68001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68002   (exit $ac_status); }; }; then
68003   eval "$as_ac_var=yes"
68004 else
68005   echo "$as_me: failed program was:" >&5
68006 sed 's/^/| /' conftest.$ac_ext >&5
68007
68008 eval "$as_ac_var=no"
68009 fi
68010 rm -f conftest.err conftest.$ac_objext \
68011       conftest$ac_exeext conftest.$ac_ext
68012 fi
68013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68015 if test `eval echo '${'$as_ac_var'}'` = yes; then
68016   cat >>confdefs.h <<_ACEOF
68017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68018 _ACEOF
68019
68020 fi
68021 done
68022
68023   else
68024
68025   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
68026 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
68027   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68028     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
68029   echo $ECHO_N "(cached) $ECHO_C" >&6
68030 else
68031
68032
68033
68034       ac_ext=cc
68035 ac_cpp='$CXXCPP $CPPFLAGS'
68036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68039
68040       cat >conftest.$ac_ext <<_ACEOF
68041 /* confdefs.h.  */
68042 _ACEOF
68043 cat confdefs.h >>conftest.$ac_ext
68044 cat >>conftest.$ac_ext <<_ACEOF
68045 /* end confdefs.h.  */
68046 #include <math.h>
68047 int
68048 main ()
68049 {
68050  _modfl(0, 0);
68051   ;
68052   return 0;
68053 }
68054 _ACEOF
68055 rm -f conftest.$ac_objext
68056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68057   (eval $ac_compile) 2>conftest.er1
68058   ac_status=$?
68059   grep -v '^ *+' conftest.er1 >conftest.err
68060   rm -f conftest.er1
68061   cat conftest.err >&5
68062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68063   (exit $ac_status); } &&
68064          { ac_try='test -z "$ac_cxx_werror_flag"
68065                          || test ! -s conftest.err'
68066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68067   (eval $ac_try) 2>&5
68068   ac_status=$?
68069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68070   (exit $ac_status); }; } &&
68071          { ac_try='test -s conftest.$ac_objext'
68072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68073   (eval $ac_try) 2>&5
68074   ac_status=$?
68075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68076   (exit $ac_status); }; }; then
68077   glibcxx_cv_func__modfl_use=yes
68078 else
68079   echo "$as_me: failed program was:" >&5
68080 sed 's/^/| /' conftest.$ac_ext >&5
68081
68082 glibcxx_cv_func__modfl_use=no
68083 fi
68084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68085       ac_ext=c
68086 ac_cpp='$CPP $CPPFLAGS'
68087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68090
68091
68092 fi
68093
68094   fi
68095   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
68096 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
68097
68098     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68099
68100 for ac_func in _modfl
68101 do
68102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68103 echo "$as_me:$LINENO: checking for $ac_func" >&5
68104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68105 if eval "test \"\${$as_ac_var+set}\" = set"; then
68106   echo $ECHO_N "(cached) $ECHO_C" >&6
68107 else
68108   if test x$gcc_no_link = xyes; then
68109   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68111    { (exit 1); exit 1; }; }
68112 fi
68113 cat >conftest.$ac_ext <<_ACEOF
68114 /* confdefs.h.  */
68115 _ACEOF
68116 cat confdefs.h >>conftest.$ac_ext
68117 cat >>conftest.$ac_ext <<_ACEOF
68118 /* end confdefs.h.  */
68119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68120    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68121 #define $ac_func innocuous_$ac_func
68122
68123 /* System header to define __stub macros and hopefully few prototypes,
68124     which can conflict with char $ac_func (); below.
68125     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68126     <limits.h> exists even on freestanding compilers.  */
68127
68128 #ifdef __STDC__
68129 # include <limits.h>
68130 #else
68131 # include <assert.h>
68132 #endif
68133
68134 #undef $ac_func
68135
68136 /* Override any gcc2 internal prototype to avoid an error.  */
68137 #ifdef __cplusplus
68138 extern "C"
68139 {
68140 #endif
68141 /* We use char because int might match the return type of a gcc2
68142    builtin and then its argument prototype would still apply.  */
68143 char $ac_func ();
68144 /* The GNU C library defines this for functions which it implements
68145     to always fail with ENOSYS.  Some functions are actually named
68146     something starting with __ and the normal name is an alias.  */
68147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68148 choke me
68149 #else
68150 char (*f) () = $ac_func;
68151 #endif
68152 #ifdef __cplusplus
68153 }
68154 #endif
68155
68156 int
68157 main ()
68158 {
68159 return f != $ac_func;
68160   ;
68161   return 0;
68162 }
68163 _ACEOF
68164 rm -f conftest.$ac_objext conftest$ac_exeext
68165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68166   (eval $ac_link) 2>conftest.er1
68167   ac_status=$?
68168   grep -v '^ *+' conftest.er1 >conftest.err
68169   rm -f conftest.er1
68170   cat conftest.err >&5
68171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68172   (exit $ac_status); } &&
68173          { ac_try='test -z "$ac_c_werror_flag"
68174                          || test ! -s conftest.err'
68175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68176   (eval $ac_try) 2>&5
68177   ac_status=$?
68178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68179   (exit $ac_status); }; } &&
68180          { ac_try='test -s conftest$ac_exeext'
68181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68182   (eval $ac_try) 2>&5
68183   ac_status=$?
68184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68185   (exit $ac_status); }; }; then
68186   eval "$as_ac_var=yes"
68187 else
68188   echo "$as_me: failed program was:" >&5
68189 sed 's/^/| /' conftest.$ac_ext >&5
68190
68191 eval "$as_ac_var=no"
68192 fi
68193 rm -f conftest.err conftest.$ac_objext \
68194       conftest$ac_exeext conftest.$ac_ext
68195 fi
68196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68198 if test `eval echo '${'$as_ac_var'}'` = yes; then
68199   cat >>confdefs.h <<_ACEOF
68200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68201 _ACEOF
68202
68203 fi
68204 done
68205
68206     fi
68207   fi
68208
68209
68210
68211   echo "$as_me:$LINENO: checking for powl declaration" >&5
68212 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
68213   if test x${glibcxx_cv_func_powl_use+set} != xset; then
68214     if test "${glibcxx_cv_func_powl_use+set}" = set; then
68215   echo $ECHO_N "(cached) $ECHO_C" >&6
68216 else
68217
68218
68219
68220       ac_ext=cc
68221 ac_cpp='$CXXCPP $CPPFLAGS'
68222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68225
68226       cat >conftest.$ac_ext <<_ACEOF
68227 /* confdefs.h.  */
68228 _ACEOF
68229 cat confdefs.h >>conftest.$ac_ext
68230 cat >>conftest.$ac_ext <<_ACEOF
68231 /* end confdefs.h.  */
68232 #include <math.h>
68233 int
68234 main ()
68235 {
68236  powl(0, 0);
68237   ;
68238   return 0;
68239 }
68240 _ACEOF
68241 rm -f conftest.$ac_objext
68242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68243   (eval $ac_compile) 2>conftest.er1
68244   ac_status=$?
68245   grep -v '^ *+' conftest.er1 >conftest.err
68246   rm -f conftest.er1
68247   cat conftest.err >&5
68248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68249   (exit $ac_status); } &&
68250          { ac_try='test -z "$ac_cxx_werror_flag"
68251                          || test ! -s conftest.err'
68252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68253   (eval $ac_try) 2>&5
68254   ac_status=$?
68255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68256   (exit $ac_status); }; } &&
68257          { ac_try='test -s conftest.$ac_objext'
68258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68259   (eval $ac_try) 2>&5
68260   ac_status=$?
68261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68262   (exit $ac_status); }; }; then
68263   glibcxx_cv_func_powl_use=yes
68264 else
68265   echo "$as_me: failed program was:" >&5
68266 sed 's/^/| /' conftest.$ac_ext >&5
68267
68268 glibcxx_cv_func_powl_use=no
68269 fi
68270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68271       ac_ext=c
68272 ac_cpp='$CPP $CPPFLAGS'
68273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68276
68277
68278 fi
68279
68280   fi
68281   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
68282 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
68283
68284   if test x$glibcxx_cv_func_powl_use = x"yes"; then
68285
68286 for ac_func in powl
68287 do
68288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68289 echo "$as_me:$LINENO: checking for $ac_func" >&5
68290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68291 if eval "test \"\${$as_ac_var+set}\" = set"; then
68292   echo $ECHO_N "(cached) $ECHO_C" >&6
68293 else
68294   if test x$gcc_no_link = xyes; then
68295   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68297    { (exit 1); exit 1; }; }
68298 fi
68299 cat >conftest.$ac_ext <<_ACEOF
68300 /* confdefs.h.  */
68301 _ACEOF
68302 cat confdefs.h >>conftest.$ac_ext
68303 cat >>conftest.$ac_ext <<_ACEOF
68304 /* end confdefs.h.  */
68305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68306    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68307 #define $ac_func innocuous_$ac_func
68308
68309 /* System header to define __stub macros and hopefully few prototypes,
68310     which can conflict with char $ac_func (); below.
68311     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68312     <limits.h> exists even on freestanding compilers.  */
68313
68314 #ifdef __STDC__
68315 # include <limits.h>
68316 #else
68317 # include <assert.h>
68318 #endif
68319
68320 #undef $ac_func
68321
68322 /* Override any gcc2 internal prototype to avoid an error.  */
68323 #ifdef __cplusplus
68324 extern "C"
68325 {
68326 #endif
68327 /* We use char because int might match the return type of a gcc2
68328    builtin and then its argument prototype would still apply.  */
68329 char $ac_func ();
68330 /* The GNU C library defines this for functions which it implements
68331     to always fail with ENOSYS.  Some functions are actually named
68332     something starting with __ and the normal name is an alias.  */
68333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68334 choke me
68335 #else
68336 char (*f) () = $ac_func;
68337 #endif
68338 #ifdef __cplusplus
68339 }
68340 #endif
68341
68342 int
68343 main ()
68344 {
68345 return f != $ac_func;
68346   ;
68347   return 0;
68348 }
68349 _ACEOF
68350 rm -f conftest.$ac_objext conftest$ac_exeext
68351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68352   (eval $ac_link) 2>conftest.er1
68353   ac_status=$?
68354   grep -v '^ *+' conftest.er1 >conftest.err
68355   rm -f conftest.er1
68356   cat conftest.err >&5
68357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68358   (exit $ac_status); } &&
68359          { ac_try='test -z "$ac_c_werror_flag"
68360                          || test ! -s conftest.err'
68361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68362   (eval $ac_try) 2>&5
68363   ac_status=$?
68364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68365   (exit $ac_status); }; } &&
68366          { ac_try='test -s conftest$ac_exeext'
68367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68368   (eval $ac_try) 2>&5
68369   ac_status=$?
68370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68371   (exit $ac_status); }; }; then
68372   eval "$as_ac_var=yes"
68373 else
68374   echo "$as_me: failed program was:" >&5
68375 sed 's/^/| /' conftest.$ac_ext >&5
68376
68377 eval "$as_ac_var=no"
68378 fi
68379 rm -f conftest.err conftest.$ac_objext \
68380       conftest$ac_exeext conftest.$ac_ext
68381 fi
68382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68384 if test `eval echo '${'$as_ac_var'}'` = yes; then
68385   cat >>confdefs.h <<_ACEOF
68386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68387 _ACEOF
68388
68389 fi
68390 done
68391
68392   else
68393
68394   echo "$as_me:$LINENO: checking for _powl declaration" >&5
68395 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
68396   if test x${glibcxx_cv_func__powl_use+set} != xset; then
68397     if test "${glibcxx_cv_func__powl_use+set}" = set; then
68398   echo $ECHO_N "(cached) $ECHO_C" >&6
68399 else
68400
68401
68402
68403       ac_ext=cc
68404 ac_cpp='$CXXCPP $CPPFLAGS'
68405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68408
68409       cat >conftest.$ac_ext <<_ACEOF
68410 /* confdefs.h.  */
68411 _ACEOF
68412 cat confdefs.h >>conftest.$ac_ext
68413 cat >>conftest.$ac_ext <<_ACEOF
68414 /* end confdefs.h.  */
68415 #include <math.h>
68416 int
68417 main ()
68418 {
68419  _powl(0, 0);
68420   ;
68421   return 0;
68422 }
68423 _ACEOF
68424 rm -f conftest.$ac_objext
68425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68426   (eval $ac_compile) 2>conftest.er1
68427   ac_status=$?
68428   grep -v '^ *+' conftest.er1 >conftest.err
68429   rm -f conftest.er1
68430   cat conftest.err >&5
68431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68432   (exit $ac_status); } &&
68433          { ac_try='test -z "$ac_cxx_werror_flag"
68434                          || test ! -s conftest.err'
68435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68436   (eval $ac_try) 2>&5
68437   ac_status=$?
68438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68439   (exit $ac_status); }; } &&
68440          { ac_try='test -s conftest.$ac_objext'
68441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68442   (eval $ac_try) 2>&5
68443   ac_status=$?
68444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68445   (exit $ac_status); }; }; then
68446   glibcxx_cv_func__powl_use=yes
68447 else
68448   echo "$as_me: failed program was:" >&5
68449 sed 's/^/| /' conftest.$ac_ext >&5
68450
68451 glibcxx_cv_func__powl_use=no
68452 fi
68453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68454       ac_ext=c
68455 ac_cpp='$CPP $CPPFLAGS'
68456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68459
68460
68461 fi
68462
68463   fi
68464   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
68465 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
68466
68467     if test x$glibcxx_cv_func__powl_use = x"yes"; then
68468
68469 for ac_func in _powl
68470 do
68471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68472 echo "$as_me:$LINENO: checking for $ac_func" >&5
68473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68474 if eval "test \"\${$as_ac_var+set}\" = set"; then
68475   echo $ECHO_N "(cached) $ECHO_C" >&6
68476 else
68477   if test x$gcc_no_link = xyes; then
68478   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68480    { (exit 1); exit 1; }; }
68481 fi
68482 cat >conftest.$ac_ext <<_ACEOF
68483 /* confdefs.h.  */
68484 _ACEOF
68485 cat confdefs.h >>conftest.$ac_ext
68486 cat >>conftest.$ac_ext <<_ACEOF
68487 /* end confdefs.h.  */
68488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68489    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68490 #define $ac_func innocuous_$ac_func
68491
68492 /* System header to define __stub macros and hopefully few prototypes,
68493     which can conflict with char $ac_func (); below.
68494     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68495     <limits.h> exists even on freestanding compilers.  */
68496
68497 #ifdef __STDC__
68498 # include <limits.h>
68499 #else
68500 # include <assert.h>
68501 #endif
68502
68503 #undef $ac_func
68504
68505 /* Override any gcc2 internal prototype to avoid an error.  */
68506 #ifdef __cplusplus
68507 extern "C"
68508 {
68509 #endif
68510 /* We use char because int might match the return type of a gcc2
68511    builtin and then its argument prototype would still apply.  */
68512 char $ac_func ();
68513 /* The GNU C library defines this for functions which it implements
68514     to always fail with ENOSYS.  Some functions are actually named
68515     something starting with __ and the normal name is an alias.  */
68516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68517 choke me
68518 #else
68519 char (*f) () = $ac_func;
68520 #endif
68521 #ifdef __cplusplus
68522 }
68523 #endif
68524
68525 int
68526 main ()
68527 {
68528 return f != $ac_func;
68529   ;
68530   return 0;
68531 }
68532 _ACEOF
68533 rm -f conftest.$ac_objext conftest$ac_exeext
68534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68535   (eval $ac_link) 2>conftest.er1
68536   ac_status=$?
68537   grep -v '^ *+' conftest.er1 >conftest.err
68538   rm -f conftest.er1
68539   cat conftest.err >&5
68540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68541   (exit $ac_status); } &&
68542          { ac_try='test -z "$ac_c_werror_flag"
68543                          || test ! -s conftest.err'
68544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68545   (eval $ac_try) 2>&5
68546   ac_status=$?
68547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68548   (exit $ac_status); }; } &&
68549          { ac_try='test -s conftest$ac_exeext'
68550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68551   (eval $ac_try) 2>&5
68552   ac_status=$?
68553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68554   (exit $ac_status); }; }; then
68555   eval "$as_ac_var=yes"
68556 else
68557   echo "$as_me: failed program was:" >&5
68558 sed 's/^/| /' conftest.$ac_ext >&5
68559
68560 eval "$as_ac_var=no"
68561 fi
68562 rm -f conftest.err conftest.$ac_objext \
68563       conftest$ac_exeext conftest.$ac_ext
68564 fi
68565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68567 if test `eval echo '${'$as_ac_var'}'` = yes; then
68568   cat >>confdefs.h <<_ACEOF
68569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68570 _ACEOF
68571
68572 fi
68573 done
68574
68575     fi
68576   fi
68577
68578
68579
68580   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
68581 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
68582   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
68583     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
68584   echo $ECHO_N "(cached) $ECHO_C" >&6
68585 else
68586
68587
68588
68589       ac_ext=cc
68590 ac_cpp='$CXXCPP $CPPFLAGS'
68591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68594
68595       cat >conftest.$ac_ext <<_ACEOF
68596 /* confdefs.h.  */
68597 _ACEOF
68598 cat confdefs.h >>conftest.$ac_ext
68599 cat >>conftest.$ac_ext <<_ACEOF
68600 /* end confdefs.h.  */
68601 #include <math.h>
68602                       #ifdef HAVE_IEEEFP_H
68603                       #include <ieeefp.h>
68604                       #endif
68605
68606 int
68607 main ()
68608 {
68609  sqrtl(0);
68610   ;
68611   return 0;
68612 }
68613 _ACEOF
68614 rm -f conftest.$ac_objext
68615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68616   (eval $ac_compile) 2>conftest.er1
68617   ac_status=$?
68618   grep -v '^ *+' conftest.er1 >conftest.err
68619   rm -f conftest.er1
68620   cat conftest.err >&5
68621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68622   (exit $ac_status); } &&
68623          { ac_try='test -z "$ac_cxx_werror_flag"
68624                          || test ! -s conftest.err'
68625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68626   (eval $ac_try) 2>&5
68627   ac_status=$?
68628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68629   (exit $ac_status); }; } &&
68630          { ac_try='test -s conftest.$ac_objext'
68631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68632   (eval $ac_try) 2>&5
68633   ac_status=$?
68634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68635   (exit $ac_status); }; }; then
68636   glibcxx_cv_func_sqrtl_use=yes
68637 else
68638   echo "$as_me: failed program was:" >&5
68639 sed 's/^/| /' conftest.$ac_ext >&5
68640
68641 glibcxx_cv_func_sqrtl_use=no
68642 fi
68643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68644       ac_ext=c
68645 ac_cpp='$CPP $CPPFLAGS'
68646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68649
68650
68651 fi
68652
68653   fi
68654   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
68655 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
68656
68657   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
68658
68659 for ac_func in sqrtl
68660 do
68661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68662 echo "$as_me:$LINENO: checking for $ac_func" >&5
68663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68664 if eval "test \"\${$as_ac_var+set}\" = set"; then
68665   echo $ECHO_N "(cached) $ECHO_C" >&6
68666 else
68667   if test x$gcc_no_link = xyes; then
68668   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68670    { (exit 1); exit 1; }; }
68671 fi
68672 cat >conftest.$ac_ext <<_ACEOF
68673 /* confdefs.h.  */
68674 _ACEOF
68675 cat confdefs.h >>conftest.$ac_ext
68676 cat >>conftest.$ac_ext <<_ACEOF
68677 /* end confdefs.h.  */
68678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68679    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68680 #define $ac_func innocuous_$ac_func
68681
68682 /* System header to define __stub macros and hopefully few prototypes,
68683     which can conflict with char $ac_func (); below.
68684     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68685     <limits.h> exists even on freestanding compilers.  */
68686
68687 #ifdef __STDC__
68688 # include <limits.h>
68689 #else
68690 # include <assert.h>
68691 #endif
68692
68693 #undef $ac_func
68694
68695 /* Override any gcc2 internal prototype to avoid an error.  */
68696 #ifdef __cplusplus
68697 extern "C"
68698 {
68699 #endif
68700 /* We use char because int might match the return type of a gcc2
68701    builtin and then its argument prototype would still apply.  */
68702 char $ac_func ();
68703 /* The GNU C library defines this for functions which it implements
68704     to always fail with ENOSYS.  Some functions are actually named
68705     something starting with __ and the normal name is an alias.  */
68706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68707 choke me
68708 #else
68709 char (*f) () = $ac_func;
68710 #endif
68711 #ifdef __cplusplus
68712 }
68713 #endif
68714
68715 int
68716 main ()
68717 {
68718 return f != $ac_func;
68719   ;
68720   return 0;
68721 }
68722 _ACEOF
68723 rm -f conftest.$ac_objext conftest$ac_exeext
68724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68725   (eval $ac_link) 2>conftest.er1
68726   ac_status=$?
68727   grep -v '^ *+' conftest.er1 >conftest.err
68728   rm -f conftest.er1
68729   cat conftest.err >&5
68730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68731   (exit $ac_status); } &&
68732          { ac_try='test -z "$ac_c_werror_flag"
68733                          || test ! -s conftest.err'
68734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68735   (eval $ac_try) 2>&5
68736   ac_status=$?
68737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68738   (exit $ac_status); }; } &&
68739          { ac_try='test -s conftest$ac_exeext'
68740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68741   (eval $ac_try) 2>&5
68742   ac_status=$?
68743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68744   (exit $ac_status); }; }; then
68745   eval "$as_ac_var=yes"
68746 else
68747   echo "$as_me: failed program was:" >&5
68748 sed 's/^/| /' conftest.$ac_ext >&5
68749
68750 eval "$as_ac_var=no"
68751 fi
68752 rm -f conftest.err conftest.$ac_objext \
68753       conftest$ac_exeext conftest.$ac_ext
68754 fi
68755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68757 if test `eval echo '${'$as_ac_var'}'` = yes; then
68758   cat >>confdefs.h <<_ACEOF
68759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68760 _ACEOF
68761
68762 fi
68763 done
68764
68765   else
68766
68767   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
68768 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
68769   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
68770     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
68771   echo $ECHO_N "(cached) $ECHO_C" >&6
68772 else
68773
68774
68775
68776       ac_ext=cc
68777 ac_cpp='$CXXCPP $CPPFLAGS'
68778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68781
68782       cat >conftest.$ac_ext <<_ACEOF
68783 /* confdefs.h.  */
68784 _ACEOF
68785 cat confdefs.h >>conftest.$ac_ext
68786 cat >>conftest.$ac_ext <<_ACEOF
68787 /* end confdefs.h.  */
68788 #include <math.h>
68789                       #ifdef HAVE_IEEEFP_H
68790                       #include <ieeefp.h>
68791                       #endif
68792
68793 int
68794 main ()
68795 {
68796  _sqrtl(0);
68797   ;
68798   return 0;
68799 }
68800 _ACEOF
68801 rm -f conftest.$ac_objext
68802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68803   (eval $ac_compile) 2>conftest.er1
68804   ac_status=$?
68805   grep -v '^ *+' conftest.er1 >conftest.err
68806   rm -f conftest.er1
68807   cat conftest.err >&5
68808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68809   (exit $ac_status); } &&
68810          { ac_try='test -z "$ac_cxx_werror_flag"
68811                          || test ! -s conftest.err'
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); }; } &&
68817          { ac_try='test -s conftest.$ac_objext'
68818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68819   (eval $ac_try) 2>&5
68820   ac_status=$?
68821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68822   (exit $ac_status); }; }; then
68823   glibcxx_cv_func__sqrtl_use=yes
68824 else
68825   echo "$as_me: failed program was:" >&5
68826 sed 's/^/| /' conftest.$ac_ext >&5
68827
68828 glibcxx_cv_func__sqrtl_use=no
68829 fi
68830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68831       ac_ext=c
68832 ac_cpp='$CPP $CPPFLAGS'
68833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68836
68837
68838 fi
68839
68840   fi
68841   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
68842 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
68843
68844     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
68845
68846 for ac_func in _sqrtl
68847 do
68848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68849 echo "$as_me:$LINENO: checking for $ac_func" >&5
68850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68851 if eval "test \"\${$as_ac_var+set}\" = set"; then
68852   echo $ECHO_N "(cached) $ECHO_C" >&6
68853 else
68854   if test x$gcc_no_link = xyes; then
68855   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68857    { (exit 1); exit 1; }; }
68858 fi
68859 cat >conftest.$ac_ext <<_ACEOF
68860 /* confdefs.h.  */
68861 _ACEOF
68862 cat confdefs.h >>conftest.$ac_ext
68863 cat >>conftest.$ac_ext <<_ACEOF
68864 /* end confdefs.h.  */
68865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68866    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68867 #define $ac_func innocuous_$ac_func
68868
68869 /* System header to define __stub macros and hopefully few prototypes,
68870     which can conflict with char $ac_func (); below.
68871     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68872     <limits.h> exists even on freestanding compilers.  */
68873
68874 #ifdef __STDC__
68875 # include <limits.h>
68876 #else
68877 # include <assert.h>
68878 #endif
68879
68880 #undef $ac_func
68881
68882 /* Override any gcc2 internal prototype to avoid an error.  */
68883 #ifdef __cplusplus
68884 extern "C"
68885 {
68886 #endif
68887 /* We use char because int might match the return type of a gcc2
68888    builtin and then its argument prototype would still apply.  */
68889 char $ac_func ();
68890 /* The GNU C library defines this for functions which it implements
68891     to always fail with ENOSYS.  Some functions are actually named
68892     something starting with __ and the normal name is an alias.  */
68893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68894 choke me
68895 #else
68896 char (*f) () = $ac_func;
68897 #endif
68898 #ifdef __cplusplus
68899 }
68900 #endif
68901
68902 int
68903 main ()
68904 {
68905 return f != $ac_func;
68906   ;
68907   return 0;
68908 }
68909 _ACEOF
68910 rm -f conftest.$ac_objext conftest$ac_exeext
68911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68912   (eval $ac_link) 2>conftest.er1
68913   ac_status=$?
68914   grep -v '^ *+' conftest.er1 >conftest.err
68915   rm -f conftest.er1
68916   cat conftest.err >&5
68917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68918   (exit $ac_status); } &&
68919          { ac_try='test -z "$ac_c_werror_flag"
68920                          || test ! -s conftest.err'
68921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68922   (eval $ac_try) 2>&5
68923   ac_status=$?
68924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68925   (exit $ac_status); }; } &&
68926          { ac_try='test -s conftest$ac_exeext'
68927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68928   (eval $ac_try) 2>&5
68929   ac_status=$?
68930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68931   (exit $ac_status); }; }; then
68932   eval "$as_ac_var=yes"
68933 else
68934   echo "$as_me: failed program was:" >&5
68935 sed 's/^/| /' conftest.$ac_ext >&5
68936
68937 eval "$as_ac_var=no"
68938 fi
68939 rm -f conftest.err conftest.$ac_objext \
68940       conftest$ac_exeext conftest.$ac_ext
68941 fi
68942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68944 if test `eval echo '${'$as_ac_var'}'` = yes; then
68945   cat >>confdefs.h <<_ACEOF
68946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68947 _ACEOF
68948
68949 fi
68950 done
68951
68952     fi
68953   fi
68954
68955
68956
68957   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
68958 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
68959   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
68960     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
68961   echo $ECHO_N "(cached) $ECHO_C" >&6
68962 else
68963
68964
68965
68966       ac_ext=cc
68967 ac_cpp='$CXXCPP $CPPFLAGS'
68968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68971
68972       cat >conftest.$ac_ext <<_ACEOF
68973 /* confdefs.h.  */
68974 _ACEOF
68975 cat confdefs.h >>conftest.$ac_ext
68976 cat >>conftest.$ac_ext <<_ACEOF
68977 /* end confdefs.h.  */
68978 #include <math.h>
68979 int
68980 main ()
68981 {
68982  sincosl(0, 0, 0);
68983   ;
68984   return 0;
68985 }
68986 _ACEOF
68987 rm -f conftest.$ac_objext
68988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68989   (eval $ac_compile) 2>conftest.er1
68990   ac_status=$?
68991   grep -v '^ *+' conftest.er1 >conftest.err
68992   rm -f conftest.er1
68993   cat conftest.err >&5
68994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68995   (exit $ac_status); } &&
68996          { ac_try='test -z "$ac_cxx_werror_flag"
68997                          || test ! -s conftest.err'
68998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68999   (eval $ac_try) 2>&5
69000   ac_status=$?
69001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69002   (exit $ac_status); }; } &&
69003          { ac_try='test -s conftest.$ac_objext'
69004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69005   (eval $ac_try) 2>&5
69006   ac_status=$?
69007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69008   (exit $ac_status); }; }; then
69009   glibcxx_cv_func_sincosl_use=yes
69010 else
69011   echo "$as_me: failed program was:" >&5
69012 sed 's/^/| /' conftest.$ac_ext >&5
69013
69014 glibcxx_cv_func_sincosl_use=no
69015 fi
69016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69017       ac_ext=c
69018 ac_cpp='$CPP $CPPFLAGS'
69019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69022
69023
69024 fi
69025
69026   fi
69027   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
69028 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
69029
69030   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69031
69032 for ac_func in sincosl
69033 do
69034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69035 echo "$as_me:$LINENO: checking for $ac_func" >&5
69036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69037 if eval "test \"\${$as_ac_var+set}\" = set"; then
69038   echo $ECHO_N "(cached) $ECHO_C" >&6
69039 else
69040   if test x$gcc_no_link = xyes; then
69041   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69043    { (exit 1); exit 1; }; }
69044 fi
69045 cat >conftest.$ac_ext <<_ACEOF
69046 /* confdefs.h.  */
69047 _ACEOF
69048 cat confdefs.h >>conftest.$ac_ext
69049 cat >>conftest.$ac_ext <<_ACEOF
69050 /* end confdefs.h.  */
69051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69052    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69053 #define $ac_func innocuous_$ac_func
69054
69055 /* System header to define __stub macros and hopefully few prototypes,
69056     which can conflict with char $ac_func (); below.
69057     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69058     <limits.h> exists even on freestanding compilers.  */
69059
69060 #ifdef __STDC__
69061 # include <limits.h>
69062 #else
69063 # include <assert.h>
69064 #endif
69065
69066 #undef $ac_func
69067
69068 /* Override any gcc2 internal prototype to avoid an error.  */
69069 #ifdef __cplusplus
69070 extern "C"
69071 {
69072 #endif
69073 /* We use char because int might match the return type of a gcc2
69074    builtin and then its argument prototype would still apply.  */
69075 char $ac_func ();
69076 /* The GNU C library defines this for functions which it implements
69077     to always fail with ENOSYS.  Some functions are actually named
69078     something starting with __ and the normal name is an alias.  */
69079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69080 choke me
69081 #else
69082 char (*f) () = $ac_func;
69083 #endif
69084 #ifdef __cplusplus
69085 }
69086 #endif
69087
69088 int
69089 main ()
69090 {
69091 return f != $ac_func;
69092   ;
69093   return 0;
69094 }
69095 _ACEOF
69096 rm -f conftest.$ac_objext conftest$ac_exeext
69097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69098   (eval $ac_link) 2>conftest.er1
69099   ac_status=$?
69100   grep -v '^ *+' conftest.er1 >conftest.err
69101   rm -f conftest.er1
69102   cat conftest.err >&5
69103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69104   (exit $ac_status); } &&
69105          { ac_try='test -z "$ac_c_werror_flag"
69106                          || test ! -s conftest.err'
69107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69108   (eval $ac_try) 2>&5
69109   ac_status=$?
69110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69111   (exit $ac_status); }; } &&
69112          { ac_try='test -s conftest$ac_exeext'
69113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69114   (eval $ac_try) 2>&5
69115   ac_status=$?
69116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69117   (exit $ac_status); }; }; then
69118   eval "$as_ac_var=yes"
69119 else
69120   echo "$as_me: failed program was:" >&5
69121 sed 's/^/| /' conftest.$ac_ext >&5
69122
69123 eval "$as_ac_var=no"
69124 fi
69125 rm -f conftest.err conftest.$ac_objext \
69126       conftest$ac_exeext conftest.$ac_ext
69127 fi
69128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69130 if test `eval echo '${'$as_ac_var'}'` = yes; then
69131   cat >>confdefs.h <<_ACEOF
69132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69133 _ACEOF
69134
69135 fi
69136 done
69137
69138   else
69139
69140   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
69141 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
69142   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69143     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
69144   echo $ECHO_N "(cached) $ECHO_C" >&6
69145 else
69146
69147
69148
69149       ac_ext=cc
69150 ac_cpp='$CXXCPP $CPPFLAGS'
69151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69154
69155       cat >conftest.$ac_ext <<_ACEOF
69156 /* confdefs.h.  */
69157 _ACEOF
69158 cat confdefs.h >>conftest.$ac_ext
69159 cat >>conftest.$ac_ext <<_ACEOF
69160 /* end confdefs.h.  */
69161 #include <math.h>
69162 int
69163 main ()
69164 {
69165  _sincosl(0, 0, 0);
69166   ;
69167   return 0;
69168 }
69169 _ACEOF
69170 rm -f conftest.$ac_objext
69171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69172   (eval $ac_compile) 2>conftest.er1
69173   ac_status=$?
69174   grep -v '^ *+' conftest.er1 >conftest.err
69175   rm -f conftest.er1
69176   cat conftest.err >&5
69177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69178   (exit $ac_status); } &&
69179          { ac_try='test -z "$ac_cxx_werror_flag"
69180                          || test ! -s conftest.err'
69181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69182   (eval $ac_try) 2>&5
69183   ac_status=$?
69184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69185   (exit $ac_status); }; } &&
69186          { ac_try='test -s conftest.$ac_objext'
69187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69188   (eval $ac_try) 2>&5
69189   ac_status=$?
69190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69191   (exit $ac_status); }; }; then
69192   glibcxx_cv_func__sincosl_use=yes
69193 else
69194   echo "$as_me: failed program was:" >&5
69195 sed 's/^/| /' conftest.$ac_ext >&5
69196
69197 glibcxx_cv_func__sincosl_use=no
69198 fi
69199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69200       ac_ext=c
69201 ac_cpp='$CPP $CPPFLAGS'
69202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69205
69206
69207 fi
69208
69209   fi
69210   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
69211 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
69212
69213     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69214
69215 for ac_func in _sincosl
69216 do
69217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69218 echo "$as_me:$LINENO: checking for $ac_func" >&5
69219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69220 if eval "test \"\${$as_ac_var+set}\" = set"; then
69221   echo $ECHO_N "(cached) $ECHO_C" >&6
69222 else
69223   if test x$gcc_no_link = xyes; then
69224   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69226    { (exit 1); exit 1; }; }
69227 fi
69228 cat >conftest.$ac_ext <<_ACEOF
69229 /* confdefs.h.  */
69230 _ACEOF
69231 cat confdefs.h >>conftest.$ac_ext
69232 cat >>conftest.$ac_ext <<_ACEOF
69233 /* end confdefs.h.  */
69234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69235    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69236 #define $ac_func innocuous_$ac_func
69237
69238 /* System header to define __stub macros and hopefully few prototypes,
69239     which can conflict with char $ac_func (); below.
69240     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69241     <limits.h> exists even on freestanding compilers.  */
69242
69243 #ifdef __STDC__
69244 # include <limits.h>
69245 #else
69246 # include <assert.h>
69247 #endif
69248
69249 #undef $ac_func
69250
69251 /* Override any gcc2 internal prototype to avoid an error.  */
69252 #ifdef __cplusplus
69253 extern "C"
69254 {
69255 #endif
69256 /* We use char because int might match the return type of a gcc2
69257    builtin and then its argument prototype would still apply.  */
69258 char $ac_func ();
69259 /* The GNU C library defines this for functions which it implements
69260     to always fail with ENOSYS.  Some functions are actually named
69261     something starting with __ and the normal name is an alias.  */
69262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69263 choke me
69264 #else
69265 char (*f) () = $ac_func;
69266 #endif
69267 #ifdef __cplusplus
69268 }
69269 #endif
69270
69271 int
69272 main ()
69273 {
69274 return f != $ac_func;
69275   ;
69276   return 0;
69277 }
69278 _ACEOF
69279 rm -f conftest.$ac_objext conftest$ac_exeext
69280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69281   (eval $ac_link) 2>conftest.er1
69282   ac_status=$?
69283   grep -v '^ *+' conftest.er1 >conftest.err
69284   rm -f conftest.er1
69285   cat conftest.err >&5
69286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69287   (exit $ac_status); } &&
69288          { ac_try='test -z "$ac_c_werror_flag"
69289                          || test ! -s conftest.err'
69290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69291   (eval $ac_try) 2>&5
69292   ac_status=$?
69293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69294   (exit $ac_status); }; } &&
69295          { ac_try='test -s conftest$ac_exeext'
69296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69297   (eval $ac_try) 2>&5
69298   ac_status=$?
69299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69300   (exit $ac_status); }; }; then
69301   eval "$as_ac_var=yes"
69302 else
69303   echo "$as_me: failed program was:" >&5
69304 sed 's/^/| /' conftest.$ac_ext >&5
69305
69306 eval "$as_ac_var=no"
69307 fi
69308 rm -f conftest.err conftest.$ac_objext \
69309       conftest$ac_exeext conftest.$ac_ext
69310 fi
69311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69313 if test `eval echo '${'$as_ac_var'}'` = yes; then
69314   cat >>confdefs.h <<_ACEOF
69315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69316 _ACEOF
69317
69318 fi
69319 done
69320
69321     fi
69322   fi
69323
69324
69325
69326   echo "$as_me:$LINENO: checking for finitel declaration" >&5
69327 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
69328   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69329     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
69330   echo $ECHO_N "(cached) $ECHO_C" >&6
69331 else
69332
69333
69334
69335       ac_ext=cc
69336 ac_cpp='$CXXCPP $CPPFLAGS'
69337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69340
69341       cat >conftest.$ac_ext <<_ACEOF
69342 /* confdefs.h.  */
69343 _ACEOF
69344 cat confdefs.h >>conftest.$ac_ext
69345 cat >>conftest.$ac_ext <<_ACEOF
69346 /* end confdefs.h.  */
69347 #include <math.h>
69348                       #ifdef HAVE_IEEEFP_H
69349                       #include <ieeefp.h>
69350                       #endif
69351
69352 int
69353 main ()
69354 {
69355  finitel(0);
69356   ;
69357   return 0;
69358 }
69359 _ACEOF
69360 rm -f conftest.$ac_objext
69361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69362   (eval $ac_compile) 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_cxx_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_objext'
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   glibcxx_cv_func_finitel_use=yes
69383 else
69384   echo "$as_me: failed program was:" >&5
69385 sed 's/^/| /' conftest.$ac_ext >&5
69386
69387 glibcxx_cv_func_finitel_use=no
69388 fi
69389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69390       ac_ext=c
69391 ac_cpp='$CPP $CPPFLAGS'
69392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69395
69396
69397 fi
69398
69399   fi
69400   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
69401 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
69402
69403   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
69404
69405 for ac_func in finitel
69406 do
69407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69408 echo "$as_me:$LINENO: checking for $ac_func" >&5
69409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69410 if eval "test \"\${$as_ac_var+set}\" = set"; then
69411   echo $ECHO_N "(cached) $ECHO_C" >&6
69412 else
69413   if test x$gcc_no_link = xyes; then
69414   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69416    { (exit 1); exit 1; }; }
69417 fi
69418 cat >conftest.$ac_ext <<_ACEOF
69419 /* confdefs.h.  */
69420 _ACEOF
69421 cat confdefs.h >>conftest.$ac_ext
69422 cat >>conftest.$ac_ext <<_ACEOF
69423 /* end confdefs.h.  */
69424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69425    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69426 #define $ac_func innocuous_$ac_func
69427
69428 /* System header to define __stub macros and hopefully few prototypes,
69429     which can conflict with char $ac_func (); below.
69430     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69431     <limits.h> exists even on freestanding compilers.  */
69432
69433 #ifdef __STDC__
69434 # include <limits.h>
69435 #else
69436 # include <assert.h>
69437 #endif
69438
69439 #undef $ac_func
69440
69441 /* Override any gcc2 internal prototype to avoid an error.  */
69442 #ifdef __cplusplus
69443 extern "C"
69444 {
69445 #endif
69446 /* We use char because int might match the return type of a gcc2
69447    builtin and then its argument prototype would still apply.  */
69448 char $ac_func ();
69449 /* The GNU C library defines this for functions which it implements
69450     to always fail with ENOSYS.  Some functions are actually named
69451     something starting with __ and the normal name is an alias.  */
69452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69453 choke me
69454 #else
69455 char (*f) () = $ac_func;
69456 #endif
69457 #ifdef __cplusplus
69458 }
69459 #endif
69460
69461 int
69462 main ()
69463 {
69464 return f != $ac_func;
69465   ;
69466   return 0;
69467 }
69468 _ACEOF
69469 rm -f conftest.$ac_objext conftest$ac_exeext
69470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69471   (eval $ac_link) 2>conftest.er1
69472   ac_status=$?
69473   grep -v '^ *+' conftest.er1 >conftest.err
69474   rm -f conftest.er1
69475   cat conftest.err >&5
69476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69477   (exit $ac_status); } &&
69478          { ac_try='test -z "$ac_c_werror_flag"
69479                          || test ! -s conftest.err'
69480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69481   (eval $ac_try) 2>&5
69482   ac_status=$?
69483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69484   (exit $ac_status); }; } &&
69485          { ac_try='test -s conftest$ac_exeext'
69486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69487   (eval $ac_try) 2>&5
69488   ac_status=$?
69489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69490   (exit $ac_status); }; }; then
69491   eval "$as_ac_var=yes"
69492 else
69493   echo "$as_me: failed program was:" >&5
69494 sed 's/^/| /' conftest.$ac_ext >&5
69495
69496 eval "$as_ac_var=no"
69497 fi
69498 rm -f conftest.err conftest.$ac_objext \
69499       conftest$ac_exeext conftest.$ac_ext
69500 fi
69501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69503 if test `eval echo '${'$as_ac_var'}'` = yes; then
69504   cat >>confdefs.h <<_ACEOF
69505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69506 _ACEOF
69507
69508 fi
69509 done
69510
69511   else
69512
69513   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
69514 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
69515   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
69516     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
69517   echo $ECHO_N "(cached) $ECHO_C" >&6
69518 else
69519
69520
69521
69522       ac_ext=cc
69523 ac_cpp='$CXXCPP $CPPFLAGS'
69524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69527
69528       cat >conftest.$ac_ext <<_ACEOF
69529 /* confdefs.h.  */
69530 _ACEOF
69531 cat confdefs.h >>conftest.$ac_ext
69532 cat >>conftest.$ac_ext <<_ACEOF
69533 /* end confdefs.h.  */
69534 #include <math.h>
69535                       #ifdef HAVE_IEEEFP_H
69536                       #include <ieeefp.h>
69537                       #endif
69538
69539 int
69540 main ()
69541 {
69542  _finitel(0);
69543   ;
69544   return 0;
69545 }
69546 _ACEOF
69547 rm -f conftest.$ac_objext
69548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69549   (eval $ac_compile) 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_cxx_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_objext'
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   glibcxx_cv_func__finitel_use=yes
69570 else
69571   echo "$as_me: failed program was:" >&5
69572 sed 's/^/| /' conftest.$ac_ext >&5
69573
69574 glibcxx_cv_func__finitel_use=no
69575 fi
69576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69577       ac_ext=c
69578 ac_cpp='$CPP $CPPFLAGS'
69579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69582
69583
69584 fi
69585
69586   fi
69587   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
69588 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
69589
69590     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
69591
69592 for ac_func in _finitel
69593 do
69594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69595 echo "$as_me:$LINENO: checking for $ac_func" >&5
69596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69597 if eval "test \"\${$as_ac_var+set}\" = set"; then
69598   echo $ECHO_N "(cached) $ECHO_C" >&6
69599 else
69600   if test x$gcc_no_link = xyes; then
69601   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69603    { (exit 1); exit 1; }; }
69604 fi
69605 cat >conftest.$ac_ext <<_ACEOF
69606 /* confdefs.h.  */
69607 _ACEOF
69608 cat confdefs.h >>conftest.$ac_ext
69609 cat >>conftest.$ac_ext <<_ACEOF
69610 /* end confdefs.h.  */
69611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69612    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69613 #define $ac_func innocuous_$ac_func
69614
69615 /* System header to define __stub macros and hopefully few prototypes,
69616     which can conflict with char $ac_func (); below.
69617     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69618     <limits.h> exists even on freestanding compilers.  */
69619
69620 #ifdef __STDC__
69621 # include <limits.h>
69622 #else
69623 # include <assert.h>
69624 #endif
69625
69626 #undef $ac_func
69627
69628 /* Override any gcc2 internal prototype to avoid an error.  */
69629 #ifdef __cplusplus
69630 extern "C"
69631 {
69632 #endif
69633 /* We use char because int might match the return type of a gcc2
69634    builtin and then its argument prototype would still apply.  */
69635 char $ac_func ();
69636 /* The GNU C library defines this for functions which it implements
69637     to always fail with ENOSYS.  Some functions are actually named
69638     something starting with __ and the normal name is an alias.  */
69639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69640 choke me
69641 #else
69642 char (*f) () = $ac_func;
69643 #endif
69644 #ifdef __cplusplus
69645 }
69646 #endif
69647
69648 int
69649 main ()
69650 {
69651 return f != $ac_func;
69652   ;
69653   return 0;
69654 }
69655 _ACEOF
69656 rm -f conftest.$ac_objext conftest$ac_exeext
69657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69658   (eval $ac_link) 2>conftest.er1
69659   ac_status=$?
69660   grep -v '^ *+' conftest.er1 >conftest.err
69661   rm -f conftest.er1
69662   cat conftest.err >&5
69663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69664   (exit $ac_status); } &&
69665          { ac_try='test -z "$ac_c_werror_flag"
69666                          || test ! -s conftest.err'
69667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69668   (eval $ac_try) 2>&5
69669   ac_status=$?
69670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69671   (exit $ac_status); }; } &&
69672          { ac_try='test -s conftest$ac_exeext'
69673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69674   (eval $ac_try) 2>&5
69675   ac_status=$?
69676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69677   (exit $ac_status); }; }; then
69678   eval "$as_ac_var=yes"
69679 else
69680   echo "$as_me: failed program was:" >&5
69681 sed 's/^/| /' conftest.$ac_ext >&5
69682
69683 eval "$as_ac_var=no"
69684 fi
69685 rm -f conftest.err conftest.$ac_objext \
69686       conftest$ac_exeext conftest.$ac_ext
69687 fi
69688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69690 if test `eval echo '${'$as_ac_var'}'` = yes; then
69691   cat >>confdefs.h <<_ACEOF
69692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69693 _ACEOF
69694
69695 fi
69696 done
69697
69698     fi
69699   fi
69700
69701
69702
69703
69704   echo "$as_me:$LINENO: checking for _float trig functions" >&5
69705 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
69706   if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
69707   echo $ECHO_N "(cached) $ECHO_C" >&6
69708 else
69709
69710
69711
69712     ac_ext=cc
69713 ac_cpp='$CXXCPP $CPPFLAGS'
69714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69717
69718     cat >conftest.$ac_ext <<_ACEOF
69719 /* confdefs.h.  */
69720 _ACEOF
69721 cat confdefs.h >>conftest.$ac_ext
69722 cat >>conftest.$ac_ext <<_ACEOF
69723 /* end confdefs.h.  */
69724 #include <math.h>
69725 int
69726 main ()
69727 {
69728  `for x in _acosf _asinf _atanf \
69729                                           _cosf _sinf _tanf \
69730                                           _coshf _sinhf _tanhf; do echo "$x (0);"; done`
69731   ;
69732   return 0;
69733 }
69734 _ACEOF
69735 rm -f conftest.$ac_objext
69736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69737   (eval $ac_compile) 2>conftest.er1
69738   ac_status=$?
69739   grep -v '^ *+' conftest.er1 >conftest.err
69740   rm -f conftest.er1
69741   cat conftest.err >&5
69742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69743   (exit $ac_status); } &&
69744          { ac_try='test -z "$ac_cxx_werror_flag"
69745                          || test ! -s conftest.err'
69746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69747   (eval $ac_try) 2>&5
69748   ac_status=$?
69749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69750   (exit $ac_status); }; } &&
69751          { ac_try='test -s conftest.$ac_objext'
69752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69753   (eval $ac_try) 2>&5
69754   ac_status=$?
69755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69756   (exit $ac_status); }; }; then
69757   glibcxx_cv_func__float_trig_use=yes
69758 else
69759   echo "$as_me: failed program was:" >&5
69760 sed 's/^/| /' conftest.$ac_ext >&5
69761
69762 glibcxx_cv_func__float_trig_use=no
69763 fi
69764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69765     ac_ext=c
69766 ac_cpp='$CPP $CPPFLAGS'
69767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69770
69771 fi
69772
69773   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
69774 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
69775   if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
69776
69777
69778
69779
69780
69781
69782
69783
69784
69785 for ac_func in _acosf _asinf _atanf \
69786                                           _cosf _sinf _tanf \
69787                                           _coshf _sinhf _tanhf
69788 do
69789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69790 echo "$as_me:$LINENO: checking for $ac_func" >&5
69791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69792 if eval "test \"\${$as_ac_var+set}\" = set"; then
69793   echo $ECHO_N "(cached) $ECHO_C" >&6
69794 else
69795   if test x$gcc_no_link = xyes; then
69796   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69798    { (exit 1); exit 1; }; }
69799 fi
69800 cat >conftest.$ac_ext <<_ACEOF
69801 /* confdefs.h.  */
69802 _ACEOF
69803 cat confdefs.h >>conftest.$ac_ext
69804 cat >>conftest.$ac_ext <<_ACEOF
69805 /* end confdefs.h.  */
69806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69807    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69808 #define $ac_func innocuous_$ac_func
69809
69810 /* System header to define __stub macros and hopefully few prototypes,
69811     which can conflict with char $ac_func (); below.
69812     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69813     <limits.h> exists even on freestanding compilers.  */
69814
69815 #ifdef __STDC__
69816 # include <limits.h>
69817 #else
69818 # include <assert.h>
69819 #endif
69820
69821 #undef $ac_func
69822
69823 /* Override any gcc2 internal prototype to avoid an error.  */
69824 #ifdef __cplusplus
69825 extern "C"
69826 {
69827 #endif
69828 /* We use char because int might match the return type of a gcc2
69829    builtin and then its argument prototype would still apply.  */
69830 char $ac_func ();
69831 /* The GNU C library defines this for functions which it implements
69832     to always fail with ENOSYS.  Some functions are actually named
69833     something starting with __ and the normal name is an alias.  */
69834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69835 choke me
69836 #else
69837 char (*f) () = $ac_func;
69838 #endif
69839 #ifdef __cplusplus
69840 }
69841 #endif
69842
69843 int
69844 main ()
69845 {
69846 return f != $ac_func;
69847   ;
69848   return 0;
69849 }
69850 _ACEOF
69851 rm -f conftest.$ac_objext conftest$ac_exeext
69852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69853   (eval $ac_link) 2>conftest.er1
69854   ac_status=$?
69855   grep -v '^ *+' conftest.er1 >conftest.err
69856   rm -f conftest.er1
69857   cat conftest.err >&5
69858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69859   (exit $ac_status); } &&
69860          { ac_try='test -z "$ac_c_werror_flag"
69861                          || test ! -s conftest.err'
69862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69863   (eval $ac_try) 2>&5
69864   ac_status=$?
69865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69866   (exit $ac_status); }; } &&
69867          { ac_try='test -s conftest$ac_exeext'
69868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69869   (eval $ac_try) 2>&5
69870   ac_status=$?
69871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69872   (exit $ac_status); }; }; then
69873   eval "$as_ac_var=yes"
69874 else
69875   echo "$as_me: failed program was:" >&5
69876 sed 's/^/| /' conftest.$ac_ext >&5
69877
69878 eval "$as_ac_var=no"
69879 fi
69880 rm -f conftest.err conftest.$ac_objext \
69881       conftest$ac_exeext conftest.$ac_ext
69882 fi
69883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69885 if test `eval echo '${'$as_ac_var'}'` = yes; then
69886   cat >>confdefs.h <<_ACEOF
69887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69888 _ACEOF
69889
69890 fi
69891 done
69892
69893   fi
69894
69895
69896   echo "$as_me:$LINENO: checking for _float round functions" >&5
69897 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
69898   if test "${glibcxx_cv_func__float_round_use+set}" = set; then
69899   echo $ECHO_N "(cached) $ECHO_C" >&6
69900 else
69901
69902
69903
69904     ac_ext=cc
69905 ac_cpp='$CXXCPP $CPPFLAGS'
69906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69909
69910     cat >conftest.$ac_ext <<_ACEOF
69911 /* confdefs.h.  */
69912 _ACEOF
69913 cat confdefs.h >>conftest.$ac_ext
69914 cat >>conftest.$ac_ext <<_ACEOF
69915 /* end confdefs.h.  */
69916 #include <math.h>
69917 int
69918 main ()
69919 {
69920  `for x in _ceilf _floorf; do echo "$x (0);"; done`
69921   ;
69922   return 0;
69923 }
69924 _ACEOF
69925 rm -f conftest.$ac_objext
69926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69927   (eval $ac_compile) 2>conftest.er1
69928   ac_status=$?
69929   grep -v '^ *+' conftest.er1 >conftest.err
69930   rm -f conftest.er1
69931   cat conftest.err >&5
69932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69933   (exit $ac_status); } &&
69934          { ac_try='test -z "$ac_cxx_werror_flag"
69935                          || test ! -s conftest.err'
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); }; } &&
69941          { ac_try='test -s conftest.$ac_objext'
69942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69943   (eval $ac_try) 2>&5
69944   ac_status=$?
69945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69946   (exit $ac_status); }; }; then
69947   glibcxx_cv_func__float_round_use=yes
69948 else
69949   echo "$as_me: failed program was:" >&5
69950 sed 's/^/| /' conftest.$ac_ext >&5
69951
69952 glibcxx_cv_func__float_round_use=no
69953 fi
69954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69955     ac_ext=c
69956 ac_cpp='$CPP $CPPFLAGS'
69957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69960
69961 fi
69962
69963   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
69964 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
69965   if test x$glibcxx_cv_func__float_round_use = x"yes"; then
69966
69967
69968 for ac_func in _ceilf _floorf
69969 do
69970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69971 echo "$as_me:$LINENO: checking for $ac_func" >&5
69972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69973 if eval "test \"\${$as_ac_var+set}\" = set"; then
69974   echo $ECHO_N "(cached) $ECHO_C" >&6
69975 else
69976   if test x$gcc_no_link = xyes; then
69977   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69979    { (exit 1); exit 1; }; }
69980 fi
69981 cat >conftest.$ac_ext <<_ACEOF
69982 /* confdefs.h.  */
69983 _ACEOF
69984 cat confdefs.h >>conftest.$ac_ext
69985 cat >>conftest.$ac_ext <<_ACEOF
69986 /* end confdefs.h.  */
69987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69988    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69989 #define $ac_func innocuous_$ac_func
69990
69991 /* System header to define __stub macros and hopefully few prototypes,
69992     which can conflict with char $ac_func (); below.
69993     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69994     <limits.h> exists even on freestanding compilers.  */
69995
69996 #ifdef __STDC__
69997 # include <limits.h>
69998 #else
69999 # include <assert.h>
70000 #endif
70001
70002 #undef $ac_func
70003
70004 /* Override any gcc2 internal prototype to avoid an error.  */
70005 #ifdef __cplusplus
70006 extern "C"
70007 {
70008 #endif
70009 /* We use char because int might match the return type of a gcc2
70010    builtin and then its argument prototype would still apply.  */
70011 char $ac_func ();
70012 /* The GNU C library defines this for functions which it implements
70013     to always fail with ENOSYS.  Some functions are actually named
70014     something starting with __ and the normal name is an alias.  */
70015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70016 choke me
70017 #else
70018 char (*f) () = $ac_func;
70019 #endif
70020 #ifdef __cplusplus
70021 }
70022 #endif
70023
70024 int
70025 main ()
70026 {
70027 return f != $ac_func;
70028   ;
70029   return 0;
70030 }
70031 _ACEOF
70032 rm -f conftest.$ac_objext conftest$ac_exeext
70033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70034   (eval $ac_link) 2>conftest.er1
70035   ac_status=$?
70036   grep -v '^ *+' conftest.er1 >conftest.err
70037   rm -f conftest.er1
70038   cat conftest.err >&5
70039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70040   (exit $ac_status); } &&
70041          { ac_try='test -z "$ac_c_werror_flag"
70042                          || test ! -s conftest.err'
70043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70044   (eval $ac_try) 2>&5
70045   ac_status=$?
70046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70047   (exit $ac_status); }; } &&
70048          { ac_try='test -s conftest$ac_exeext'
70049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70050   (eval $ac_try) 2>&5
70051   ac_status=$?
70052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70053   (exit $ac_status); }; }; then
70054   eval "$as_ac_var=yes"
70055 else
70056   echo "$as_me: failed program was:" >&5
70057 sed 's/^/| /' conftest.$ac_ext >&5
70058
70059 eval "$as_ac_var=no"
70060 fi
70061 rm -f conftest.err conftest.$ac_objext \
70062       conftest$ac_exeext conftest.$ac_ext
70063 fi
70064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70066 if test `eval echo '${'$as_ac_var'}'` = yes; then
70067   cat >>confdefs.h <<_ACEOF
70068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70069 _ACEOF
70070
70071 fi
70072 done
70073
70074   fi
70075
70076
70077
70078   echo "$as_me:$LINENO: checking for _long double trig functions" >&5
70079 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
70080   if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
70081   echo $ECHO_N "(cached) $ECHO_C" >&6
70082 else
70083
70084
70085
70086     ac_ext=cc
70087 ac_cpp='$CXXCPP $CPPFLAGS'
70088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70091
70092     cat >conftest.$ac_ext <<_ACEOF
70093 /* confdefs.h.  */
70094 _ACEOF
70095 cat confdefs.h >>conftest.$ac_ext
70096 cat >>conftest.$ac_ext <<_ACEOF
70097 /* end confdefs.h.  */
70098 #include <math.h>
70099 int
70100 main ()
70101 {
70102  `for x in _acosl _asinl _atanl \
70103                                           _cosl _sinl _tanl \
70104                                           _coshl _sinhl _tanhl; do echo "$x (0);"; done`
70105   ;
70106   return 0;
70107 }
70108 _ACEOF
70109 rm -f conftest.$ac_objext
70110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70111   (eval $ac_compile) 2>conftest.er1
70112   ac_status=$?
70113   grep -v '^ *+' conftest.er1 >conftest.err
70114   rm -f conftest.er1
70115   cat conftest.err >&5
70116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70117   (exit $ac_status); } &&
70118          { ac_try='test -z "$ac_cxx_werror_flag"
70119                          || test ! -s conftest.err'
70120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70121   (eval $ac_try) 2>&5
70122   ac_status=$?
70123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70124   (exit $ac_status); }; } &&
70125          { ac_try='test -s conftest.$ac_objext'
70126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70127   (eval $ac_try) 2>&5
70128   ac_status=$?
70129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70130   (exit $ac_status); }; }; then
70131   glibcxx_cv_func__long_double_trig_use=yes
70132 else
70133   echo "$as_me: failed program was:" >&5
70134 sed 's/^/| /' conftest.$ac_ext >&5
70135
70136 glibcxx_cv_func__long_double_trig_use=no
70137 fi
70138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70139     ac_ext=c
70140 ac_cpp='$CPP $CPPFLAGS'
70141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70144
70145 fi
70146
70147   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
70148 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
70149   if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70150
70151
70152
70153
70154
70155
70156
70157
70158
70159 for ac_func in _acosl _asinl _atanl \
70160                                           _cosl _sinl _tanl \
70161                                           _coshl _sinhl _tanhl
70162 do
70163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70164 echo "$as_me:$LINENO: checking for $ac_func" >&5
70165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70166 if eval "test \"\${$as_ac_var+set}\" = set"; then
70167   echo $ECHO_N "(cached) $ECHO_C" >&6
70168 else
70169   if test x$gcc_no_link = xyes; then
70170   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70172    { (exit 1); exit 1; }; }
70173 fi
70174 cat >conftest.$ac_ext <<_ACEOF
70175 /* confdefs.h.  */
70176 _ACEOF
70177 cat confdefs.h >>conftest.$ac_ext
70178 cat >>conftest.$ac_ext <<_ACEOF
70179 /* end confdefs.h.  */
70180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70181    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70182 #define $ac_func innocuous_$ac_func
70183
70184 /* System header to define __stub macros and hopefully few prototypes,
70185     which can conflict with char $ac_func (); below.
70186     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70187     <limits.h> exists even on freestanding compilers.  */
70188
70189 #ifdef __STDC__
70190 # include <limits.h>
70191 #else
70192 # include <assert.h>
70193 #endif
70194
70195 #undef $ac_func
70196
70197 /* Override any gcc2 internal prototype to avoid an error.  */
70198 #ifdef __cplusplus
70199 extern "C"
70200 {
70201 #endif
70202 /* We use char because int might match the return type of a gcc2
70203    builtin and then its argument prototype would still apply.  */
70204 char $ac_func ();
70205 /* The GNU C library defines this for functions which it implements
70206     to always fail with ENOSYS.  Some functions are actually named
70207     something starting with __ and the normal name is an alias.  */
70208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70209 choke me
70210 #else
70211 char (*f) () = $ac_func;
70212 #endif
70213 #ifdef __cplusplus
70214 }
70215 #endif
70216
70217 int
70218 main ()
70219 {
70220 return f != $ac_func;
70221   ;
70222   return 0;
70223 }
70224 _ACEOF
70225 rm -f conftest.$ac_objext conftest$ac_exeext
70226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70227   (eval $ac_link) 2>conftest.er1
70228   ac_status=$?
70229   grep -v '^ *+' conftest.er1 >conftest.err
70230   rm -f conftest.er1
70231   cat conftest.err >&5
70232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70233   (exit $ac_status); } &&
70234          { ac_try='test -z "$ac_c_werror_flag"
70235                          || test ! -s conftest.err'
70236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70237   (eval $ac_try) 2>&5
70238   ac_status=$?
70239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70240   (exit $ac_status); }; } &&
70241          { ac_try='test -s conftest$ac_exeext'
70242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70243   (eval $ac_try) 2>&5
70244   ac_status=$?
70245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70246   (exit $ac_status); }; }; then
70247   eval "$as_ac_var=yes"
70248 else
70249   echo "$as_me: failed program was:" >&5
70250 sed 's/^/| /' conftest.$ac_ext >&5
70251
70252 eval "$as_ac_var=no"
70253 fi
70254 rm -f conftest.err conftest.$ac_objext \
70255       conftest$ac_exeext conftest.$ac_ext
70256 fi
70257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70259 if test `eval echo '${'$as_ac_var'}'` = yes; then
70260   cat >>confdefs.h <<_ACEOF
70261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70262 _ACEOF
70263
70264 fi
70265 done
70266
70267   fi
70268
70269
70270   echo "$as_me:$LINENO: checking for _long double round functions" >&5
70271 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
70272   if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
70273   echo $ECHO_N "(cached) $ECHO_C" >&6
70274 else
70275
70276
70277
70278     ac_ext=cc
70279 ac_cpp='$CXXCPP $CPPFLAGS'
70280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70283
70284     cat >conftest.$ac_ext <<_ACEOF
70285 /* confdefs.h.  */
70286 _ACEOF
70287 cat confdefs.h >>conftest.$ac_ext
70288 cat >>conftest.$ac_ext <<_ACEOF
70289 /* end confdefs.h.  */
70290 #include <math.h>
70291 int
70292 main ()
70293 {
70294  `for x in _ceill _floorl; do echo "$x (0);"; done`
70295   ;
70296   return 0;
70297 }
70298 _ACEOF
70299 rm -f conftest.$ac_objext
70300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70301   (eval $ac_compile) 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_cxx_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_objext'
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   glibcxx_cv_func__long_double_round_use=yes
70322 else
70323   echo "$as_me: failed program was:" >&5
70324 sed 's/^/| /' conftest.$ac_ext >&5
70325
70326 glibcxx_cv_func__long_double_round_use=no
70327 fi
70328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70329     ac_ext=c
70330 ac_cpp='$CPP $CPPFLAGS'
70331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70334
70335 fi
70336
70337   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
70338 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
70339   if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70340
70341
70342 for ac_func in _ceill _floorl
70343 do
70344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70345 echo "$as_me:$LINENO: checking for $ac_func" >&5
70346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70347 if eval "test \"\${$as_ac_var+set}\" = set"; then
70348   echo $ECHO_N "(cached) $ECHO_C" >&6
70349 else
70350   if test x$gcc_no_link = xyes; then
70351   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70353    { (exit 1); exit 1; }; }
70354 fi
70355 cat >conftest.$ac_ext <<_ACEOF
70356 /* confdefs.h.  */
70357 _ACEOF
70358 cat confdefs.h >>conftest.$ac_ext
70359 cat >>conftest.$ac_ext <<_ACEOF
70360 /* end confdefs.h.  */
70361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70362    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70363 #define $ac_func innocuous_$ac_func
70364
70365 /* System header to define __stub macros and hopefully few prototypes,
70366     which can conflict with char $ac_func (); below.
70367     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70368     <limits.h> exists even on freestanding compilers.  */
70369
70370 #ifdef __STDC__
70371 # include <limits.h>
70372 #else
70373 # include <assert.h>
70374 #endif
70375
70376 #undef $ac_func
70377
70378 /* Override any gcc2 internal prototype to avoid an error.  */
70379 #ifdef __cplusplus
70380 extern "C"
70381 {
70382 #endif
70383 /* We use char because int might match the return type of a gcc2
70384    builtin and then its argument prototype would still apply.  */
70385 char $ac_func ();
70386 /* The GNU C library defines this for functions which it implements
70387     to always fail with ENOSYS.  Some functions are actually named
70388     something starting with __ and the normal name is an alias.  */
70389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70390 choke me
70391 #else
70392 char (*f) () = $ac_func;
70393 #endif
70394 #ifdef __cplusplus
70395 }
70396 #endif
70397
70398 int
70399 main ()
70400 {
70401 return f != $ac_func;
70402   ;
70403   return 0;
70404 }
70405 _ACEOF
70406 rm -f conftest.$ac_objext conftest$ac_exeext
70407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70408   (eval $ac_link) 2>conftest.er1
70409   ac_status=$?
70410   grep -v '^ *+' conftest.er1 >conftest.err
70411   rm -f conftest.er1
70412   cat conftest.err >&5
70413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70414   (exit $ac_status); } &&
70415          { ac_try='test -z "$ac_c_werror_flag"
70416                          || test ! -s conftest.err'
70417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70418   (eval $ac_try) 2>&5
70419   ac_status=$?
70420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70421   (exit $ac_status); }; } &&
70422          { ac_try='test -s conftest$ac_exeext'
70423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70424   (eval $ac_try) 2>&5
70425   ac_status=$?
70426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70427   (exit $ac_status); }; }; then
70428   eval "$as_ac_var=yes"
70429 else
70430   echo "$as_me: failed program was:" >&5
70431 sed 's/^/| /' conftest.$ac_ext >&5
70432
70433 eval "$as_ac_var=no"
70434 fi
70435 rm -f conftest.err conftest.$ac_objext \
70436       conftest$ac_exeext conftest.$ac_ext
70437 fi
70438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70440 if test `eval echo '${'$as_ac_var'}'` = yes; then
70441   cat >>confdefs.h <<_ACEOF
70442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70443 _ACEOF
70444
70445 fi
70446 done
70447
70448   fi
70449
70450
70451   LIBS="$ac_save_LIBS"
70452   CXXFLAGS="$ac_save_CXXFLAGS"
70453
70454
70455
70456   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
70457 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
70458   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
70459     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
70460   echo $ECHO_N "(cached) $ECHO_C" >&6
70461 else
70462
70463
70464
70465       ac_ext=cc
70466 ac_cpp='$CXXCPP $CPPFLAGS'
70467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70470
70471       cat >conftest.$ac_ext <<_ACEOF
70472 /* confdefs.h.  */
70473 _ACEOF
70474 cat confdefs.h >>conftest.$ac_ext
70475 cat >>conftest.$ac_ext <<_ACEOF
70476 /* end confdefs.h.  */
70477 #include <math.h>
70478 int
70479 main ()
70480 {
70481  __builtin_abs(0);
70482   ;
70483   return 0;
70484 }
70485 _ACEOF
70486 rm -f conftest.$ac_objext
70487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70488   (eval $ac_compile) 2>conftest.er1
70489   ac_status=$?
70490   grep -v '^ *+' conftest.er1 >conftest.err
70491   rm -f conftest.er1
70492   cat conftest.err >&5
70493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70494   (exit $ac_status); } &&
70495          { ac_try='test -z "$ac_cxx_werror_flag"
70496                          || test ! -s conftest.err'
70497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70498   (eval $ac_try) 2>&5
70499   ac_status=$?
70500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70501   (exit $ac_status); }; } &&
70502          { ac_try='test -s conftest.$ac_objext'
70503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70504   (eval $ac_try) 2>&5
70505   ac_status=$?
70506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70507   (exit $ac_status); }; }; then
70508   glibcxx_cv_func___builtin_abs_use=yes
70509 else
70510   echo "$as_me: failed program was:" >&5
70511 sed 's/^/| /' conftest.$ac_ext >&5
70512
70513 glibcxx_cv_func___builtin_abs_use=no
70514 fi
70515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70516       ac_ext=c
70517 ac_cpp='$CPP $CPPFLAGS'
70518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70521
70522
70523 fi
70524
70525   fi
70526   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
70527 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
70528   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
70529     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
70530 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
70531     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
70532       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
70533   echo $ECHO_N "(cached) $ECHO_C" >&6
70534 else
70535
70536         if test x$gcc_no_link = xyes; then
70537   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70538 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70539    { (exit 1); exit 1; }; }
70540 fi
70541 cat >conftest.$ac_ext <<_ACEOF
70542 /* confdefs.h.  */
70543 _ACEOF
70544 cat confdefs.h >>conftest.$ac_ext
70545 cat >>conftest.$ac_ext <<_ACEOF
70546 /* end confdefs.h.  */
70547 #include <math.h>
70548 int
70549 main ()
70550 {
70551  __builtin_abs(0);
70552   ;
70553   return 0;
70554 }
70555 _ACEOF
70556 rm -f conftest.$ac_objext conftest$ac_exeext
70557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70558   (eval $ac_link) 2>conftest.er1
70559   ac_status=$?
70560   grep -v '^ *+' conftest.er1 >conftest.err
70561   rm -f conftest.er1
70562   cat conftest.err >&5
70563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70564   (exit $ac_status); } &&
70565          { ac_try='test -z "$ac_c_werror_flag"
70566                          || test ! -s conftest.err'
70567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70568   (eval $ac_try) 2>&5
70569   ac_status=$?
70570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70571   (exit $ac_status); }; } &&
70572          { ac_try='test -s conftest$ac_exeext'
70573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70574   (eval $ac_try) 2>&5
70575   ac_status=$?
70576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70577   (exit $ac_status); }; }; then
70578   glibcxx_cv_func___builtin_abs_link=yes
70579 else
70580   echo "$as_me: failed program was:" >&5
70581 sed 's/^/| /' conftest.$ac_ext >&5
70582
70583 glibcxx_cv_func___builtin_abs_link=no
70584 fi
70585 rm -f conftest.err conftest.$ac_objext \
70586       conftest$ac_exeext conftest.$ac_ext
70587
70588 fi
70589
70590     fi
70591     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
70592 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
70593     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
70594       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70595
70596 cat >>confdefs.h <<_ACEOF
70597 #define ${ac_tr_func} 1
70598 _ACEOF
70599
70600     fi
70601   fi
70602
70603
70604   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
70605 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
70606   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
70607     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
70608   echo $ECHO_N "(cached) $ECHO_C" >&6
70609 else
70610
70611
70612
70613       ac_ext=cc
70614 ac_cpp='$CXXCPP $CPPFLAGS'
70615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70618
70619       cat >conftest.$ac_ext <<_ACEOF
70620 /* confdefs.h.  */
70621 _ACEOF
70622 cat confdefs.h >>conftest.$ac_ext
70623 cat >>conftest.$ac_ext <<_ACEOF
70624 /* end confdefs.h.  */
70625 #include <math.h>
70626 int
70627 main ()
70628 {
70629  __builtin_fabsf(0);
70630   ;
70631   return 0;
70632 }
70633 _ACEOF
70634 rm -f conftest.$ac_objext
70635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70636   (eval $ac_compile) 2>conftest.er1
70637   ac_status=$?
70638   grep -v '^ *+' conftest.er1 >conftest.err
70639   rm -f conftest.er1
70640   cat conftest.err >&5
70641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70642   (exit $ac_status); } &&
70643          { ac_try='test -z "$ac_cxx_werror_flag"
70644                          || test ! -s conftest.err'
70645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70646   (eval $ac_try) 2>&5
70647   ac_status=$?
70648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70649   (exit $ac_status); }; } &&
70650          { ac_try='test -s conftest.$ac_objext'
70651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70652   (eval $ac_try) 2>&5
70653   ac_status=$?
70654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70655   (exit $ac_status); }; }; then
70656   glibcxx_cv_func___builtin_fabsf_use=yes
70657 else
70658   echo "$as_me: failed program was:" >&5
70659 sed 's/^/| /' conftest.$ac_ext >&5
70660
70661 glibcxx_cv_func___builtin_fabsf_use=no
70662 fi
70663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70664       ac_ext=c
70665 ac_cpp='$CPP $CPPFLAGS'
70666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70669
70670
70671 fi
70672
70673   fi
70674   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
70675 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
70676   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
70677     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
70678 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
70679     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
70680       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
70681   echo $ECHO_N "(cached) $ECHO_C" >&6
70682 else
70683
70684         if test x$gcc_no_link = xyes; then
70685   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70687    { (exit 1); exit 1; }; }
70688 fi
70689 cat >conftest.$ac_ext <<_ACEOF
70690 /* confdefs.h.  */
70691 _ACEOF
70692 cat confdefs.h >>conftest.$ac_ext
70693 cat >>conftest.$ac_ext <<_ACEOF
70694 /* end confdefs.h.  */
70695 #include <math.h>
70696 int
70697 main ()
70698 {
70699  __builtin_fabsf(0);
70700   ;
70701   return 0;
70702 }
70703 _ACEOF
70704 rm -f conftest.$ac_objext conftest$ac_exeext
70705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70706   (eval $ac_link) 2>conftest.er1
70707   ac_status=$?
70708   grep -v '^ *+' conftest.er1 >conftest.err
70709   rm -f conftest.er1
70710   cat conftest.err >&5
70711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70712   (exit $ac_status); } &&
70713          { ac_try='test -z "$ac_c_werror_flag"
70714                          || test ! -s conftest.err'
70715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70716   (eval $ac_try) 2>&5
70717   ac_status=$?
70718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70719   (exit $ac_status); }; } &&
70720          { ac_try='test -s conftest$ac_exeext'
70721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70722   (eval $ac_try) 2>&5
70723   ac_status=$?
70724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70725   (exit $ac_status); }; }; then
70726   glibcxx_cv_func___builtin_fabsf_link=yes
70727 else
70728   echo "$as_me: failed program was:" >&5
70729 sed 's/^/| /' conftest.$ac_ext >&5
70730
70731 glibcxx_cv_func___builtin_fabsf_link=no
70732 fi
70733 rm -f conftest.err conftest.$ac_objext \
70734       conftest$ac_exeext conftest.$ac_ext
70735
70736 fi
70737
70738     fi
70739     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
70740 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
70741     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
70742       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70743
70744 cat >>confdefs.h <<_ACEOF
70745 #define ${ac_tr_func} 1
70746 _ACEOF
70747
70748     fi
70749   fi
70750
70751
70752   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
70753 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
70754   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
70755     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
70756   echo $ECHO_N "(cached) $ECHO_C" >&6
70757 else
70758
70759
70760
70761       ac_ext=cc
70762 ac_cpp='$CXXCPP $CPPFLAGS'
70763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70766
70767       cat >conftest.$ac_ext <<_ACEOF
70768 /* confdefs.h.  */
70769 _ACEOF
70770 cat confdefs.h >>conftest.$ac_ext
70771 cat >>conftest.$ac_ext <<_ACEOF
70772 /* end confdefs.h.  */
70773 #include <math.h>
70774 int
70775 main ()
70776 {
70777  __builtin_fabs(0);
70778   ;
70779   return 0;
70780 }
70781 _ACEOF
70782 rm -f conftest.$ac_objext
70783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70784   (eval $ac_compile) 2>conftest.er1
70785   ac_status=$?
70786   grep -v '^ *+' conftest.er1 >conftest.err
70787   rm -f conftest.er1
70788   cat conftest.err >&5
70789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70790   (exit $ac_status); } &&
70791          { ac_try='test -z "$ac_cxx_werror_flag"
70792                          || test ! -s conftest.err'
70793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70794   (eval $ac_try) 2>&5
70795   ac_status=$?
70796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70797   (exit $ac_status); }; } &&
70798          { ac_try='test -s conftest.$ac_objext'
70799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70800   (eval $ac_try) 2>&5
70801   ac_status=$?
70802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70803   (exit $ac_status); }; }; then
70804   glibcxx_cv_func___builtin_fabs_use=yes
70805 else
70806   echo "$as_me: failed program was:" >&5
70807 sed 's/^/| /' conftest.$ac_ext >&5
70808
70809 glibcxx_cv_func___builtin_fabs_use=no
70810 fi
70811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70812       ac_ext=c
70813 ac_cpp='$CPP $CPPFLAGS'
70814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70817
70818
70819 fi
70820
70821   fi
70822   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
70823 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
70824   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
70825     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
70826 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
70827     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
70828       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
70829   echo $ECHO_N "(cached) $ECHO_C" >&6
70830 else
70831
70832         if test x$gcc_no_link = xyes; then
70833   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70835    { (exit 1); exit 1; }; }
70836 fi
70837 cat >conftest.$ac_ext <<_ACEOF
70838 /* confdefs.h.  */
70839 _ACEOF
70840 cat confdefs.h >>conftest.$ac_ext
70841 cat >>conftest.$ac_ext <<_ACEOF
70842 /* end confdefs.h.  */
70843 #include <math.h>
70844 int
70845 main ()
70846 {
70847  __builtin_fabs(0);
70848   ;
70849   return 0;
70850 }
70851 _ACEOF
70852 rm -f conftest.$ac_objext conftest$ac_exeext
70853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70854   (eval $ac_link) 2>conftest.er1
70855   ac_status=$?
70856   grep -v '^ *+' conftest.er1 >conftest.err
70857   rm -f conftest.er1
70858   cat conftest.err >&5
70859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70860   (exit $ac_status); } &&
70861          { ac_try='test -z "$ac_c_werror_flag"
70862                          || test ! -s conftest.err'
70863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70864   (eval $ac_try) 2>&5
70865   ac_status=$?
70866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70867   (exit $ac_status); }; } &&
70868          { ac_try='test -s conftest$ac_exeext'
70869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70870   (eval $ac_try) 2>&5
70871   ac_status=$?
70872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70873   (exit $ac_status); }; }; then
70874   glibcxx_cv_func___builtin_fabs_link=yes
70875 else
70876   echo "$as_me: failed program was:" >&5
70877 sed 's/^/| /' conftest.$ac_ext >&5
70878
70879 glibcxx_cv_func___builtin_fabs_link=no
70880 fi
70881 rm -f conftest.err conftest.$ac_objext \
70882       conftest$ac_exeext conftest.$ac_ext
70883
70884 fi
70885
70886     fi
70887     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
70888 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
70889     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
70890       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70891
70892 cat >>confdefs.h <<_ACEOF
70893 #define ${ac_tr_func} 1
70894 _ACEOF
70895
70896     fi
70897   fi
70898
70899
70900   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
70901 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
70902   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
70903     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
70904   echo $ECHO_N "(cached) $ECHO_C" >&6
70905 else
70906
70907
70908
70909       ac_ext=cc
70910 ac_cpp='$CXXCPP $CPPFLAGS'
70911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70914
70915       cat >conftest.$ac_ext <<_ACEOF
70916 /* confdefs.h.  */
70917 _ACEOF
70918 cat confdefs.h >>conftest.$ac_ext
70919 cat >>conftest.$ac_ext <<_ACEOF
70920 /* end confdefs.h.  */
70921 #include <math.h>
70922 int
70923 main ()
70924 {
70925  __builtin_fabsl(0);
70926   ;
70927   return 0;
70928 }
70929 _ACEOF
70930 rm -f conftest.$ac_objext
70931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70932   (eval $ac_compile) 2>conftest.er1
70933   ac_status=$?
70934   grep -v '^ *+' conftest.er1 >conftest.err
70935   rm -f conftest.er1
70936   cat conftest.err >&5
70937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70938   (exit $ac_status); } &&
70939          { ac_try='test -z "$ac_cxx_werror_flag"
70940                          || test ! -s conftest.err'
70941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70942   (eval $ac_try) 2>&5
70943   ac_status=$?
70944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70945   (exit $ac_status); }; } &&
70946          { ac_try='test -s conftest.$ac_objext'
70947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70948   (eval $ac_try) 2>&5
70949   ac_status=$?
70950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70951   (exit $ac_status); }; }; then
70952   glibcxx_cv_func___builtin_fabsl_use=yes
70953 else
70954   echo "$as_me: failed program was:" >&5
70955 sed 's/^/| /' conftest.$ac_ext >&5
70956
70957 glibcxx_cv_func___builtin_fabsl_use=no
70958 fi
70959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70960       ac_ext=c
70961 ac_cpp='$CPP $CPPFLAGS'
70962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70965
70966
70967 fi
70968
70969   fi
70970   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
70971 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
70972   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
70973     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
70974 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
70975     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
70976       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
70977   echo $ECHO_N "(cached) $ECHO_C" >&6
70978 else
70979
70980         if test x$gcc_no_link = xyes; then
70981   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70983    { (exit 1); exit 1; }; }
70984 fi
70985 cat >conftest.$ac_ext <<_ACEOF
70986 /* confdefs.h.  */
70987 _ACEOF
70988 cat confdefs.h >>conftest.$ac_ext
70989 cat >>conftest.$ac_ext <<_ACEOF
70990 /* end confdefs.h.  */
70991 #include <math.h>
70992 int
70993 main ()
70994 {
70995  __builtin_fabsl(0);
70996   ;
70997   return 0;
70998 }
70999 _ACEOF
71000 rm -f conftest.$ac_objext conftest$ac_exeext
71001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71002   (eval $ac_link) 2>conftest.er1
71003   ac_status=$?
71004   grep -v '^ *+' conftest.er1 >conftest.err
71005   rm -f conftest.er1
71006   cat conftest.err >&5
71007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71008   (exit $ac_status); } &&
71009          { ac_try='test -z "$ac_c_werror_flag"
71010                          || test ! -s conftest.err'
71011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71012   (eval $ac_try) 2>&5
71013   ac_status=$?
71014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71015   (exit $ac_status); }; } &&
71016          { ac_try='test -s conftest$ac_exeext'
71017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71018   (eval $ac_try) 2>&5
71019   ac_status=$?
71020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71021   (exit $ac_status); }; }; then
71022   glibcxx_cv_func___builtin_fabsl_link=yes
71023 else
71024   echo "$as_me: failed program was:" >&5
71025 sed 's/^/| /' conftest.$ac_ext >&5
71026
71027 glibcxx_cv_func___builtin_fabsl_link=no
71028 fi
71029 rm -f conftest.err conftest.$ac_objext \
71030       conftest$ac_exeext conftest.$ac_ext
71031
71032 fi
71033
71034     fi
71035     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
71036 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
71037     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
71038       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71039
71040 cat >>confdefs.h <<_ACEOF
71041 #define ${ac_tr_func} 1
71042 _ACEOF
71043
71044     fi
71045   fi
71046
71047
71048   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
71049 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
71050   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
71051     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
71052   echo $ECHO_N "(cached) $ECHO_C" >&6
71053 else
71054
71055
71056
71057       ac_ext=cc
71058 ac_cpp='$CXXCPP $CPPFLAGS'
71059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71062
71063       cat >conftest.$ac_ext <<_ACEOF
71064 /* confdefs.h.  */
71065 _ACEOF
71066 cat confdefs.h >>conftest.$ac_ext
71067 cat >>conftest.$ac_ext <<_ACEOF
71068 /* end confdefs.h.  */
71069 #include <math.h>
71070 int
71071 main ()
71072 {
71073  __builtin_labs(0);
71074   ;
71075   return 0;
71076 }
71077 _ACEOF
71078 rm -f conftest.$ac_objext
71079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71080   (eval $ac_compile) 2>conftest.er1
71081   ac_status=$?
71082   grep -v '^ *+' conftest.er1 >conftest.err
71083   rm -f conftest.er1
71084   cat conftest.err >&5
71085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71086   (exit $ac_status); } &&
71087          { ac_try='test -z "$ac_cxx_werror_flag"
71088                          || test ! -s conftest.err'
71089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71090   (eval $ac_try) 2>&5
71091   ac_status=$?
71092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71093   (exit $ac_status); }; } &&
71094          { ac_try='test -s conftest.$ac_objext'
71095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71096   (eval $ac_try) 2>&5
71097   ac_status=$?
71098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71099   (exit $ac_status); }; }; then
71100   glibcxx_cv_func___builtin_labs_use=yes
71101 else
71102   echo "$as_me: failed program was:" >&5
71103 sed 's/^/| /' conftest.$ac_ext >&5
71104
71105 glibcxx_cv_func___builtin_labs_use=no
71106 fi
71107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71108       ac_ext=c
71109 ac_cpp='$CPP $CPPFLAGS'
71110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71113
71114
71115 fi
71116
71117   fi
71118   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
71119 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
71120   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
71121     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
71122 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
71123     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
71124       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
71125   echo $ECHO_N "(cached) $ECHO_C" >&6
71126 else
71127
71128         if test x$gcc_no_link = xyes; then
71129   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71131    { (exit 1); exit 1; }; }
71132 fi
71133 cat >conftest.$ac_ext <<_ACEOF
71134 /* confdefs.h.  */
71135 _ACEOF
71136 cat confdefs.h >>conftest.$ac_ext
71137 cat >>conftest.$ac_ext <<_ACEOF
71138 /* end confdefs.h.  */
71139 #include <math.h>
71140 int
71141 main ()
71142 {
71143  __builtin_labs(0);
71144   ;
71145   return 0;
71146 }
71147 _ACEOF
71148 rm -f conftest.$ac_objext conftest$ac_exeext
71149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71150   (eval $ac_link) 2>conftest.er1
71151   ac_status=$?
71152   grep -v '^ *+' conftest.er1 >conftest.err
71153   rm -f conftest.er1
71154   cat conftest.err >&5
71155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71156   (exit $ac_status); } &&
71157          { ac_try='test -z "$ac_c_werror_flag"
71158                          || test ! -s conftest.err'
71159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71160   (eval $ac_try) 2>&5
71161   ac_status=$?
71162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71163   (exit $ac_status); }; } &&
71164          { ac_try='test -s conftest$ac_exeext'
71165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71166   (eval $ac_try) 2>&5
71167   ac_status=$?
71168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71169   (exit $ac_status); }; }; then
71170   glibcxx_cv_func___builtin_labs_link=yes
71171 else
71172   echo "$as_me: failed program was:" >&5
71173 sed 's/^/| /' conftest.$ac_ext >&5
71174
71175 glibcxx_cv_func___builtin_labs_link=no
71176 fi
71177 rm -f conftest.err conftest.$ac_objext \
71178       conftest$ac_exeext conftest.$ac_ext
71179
71180 fi
71181
71182     fi
71183     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
71184 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
71185     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
71186       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71187
71188 cat >>confdefs.h <<_ACEOF
71189 #define ${ac_tr_func} 1
71190 _ACEOF
71191
71192     fi
71193   fi
71194
71195
71196
71197   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
71198 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
71199   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
71200     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
71201   echo $ECHO_N "(cached) $ECHO_C" >&6
71202 else
71203
71204
71205
71206       ac_ext=cc
71207 ac_cpp='$CXXCPP $CPPFLAGS'
71208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71211
71212       cat >conftest.$ac_ext <<_ACEOF
71213 /* confdefs.h.  */
71214 _ACEOF
71215 cat confdefs.h >>conftest.$ac_ext
71216 cat >>conftest.$ac_ext <<_ACEOF
71217 /* end confdefs.h.  */
71218 #include <math.h>
71219 int
71220 main ()
71221 {
71222  __builtin_sqrtf(0);
71223   ;
71224   return 0;
71225 }
71226 _ACEOF
71227 rm -f conftest.$ac_objext
71228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71229   (eval $ac_compile) 2>conftest.er1
71230   ac_status=$?
71231   grep -v '^ *+' conftest.er1 >conftest.err
71232   rm -f conftest.er1
71233   cat conftest.err >&5
71234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71235   (exit $ac_status); } &&
71236          { ac_try='test -z "$ac_cxx_werror_flag"
71237                          || test ! -s conftest.err'
71238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71239   (eval $ac_try) 2>&5
71240   ac_status=$?
71241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71242   (exit $ac_status); }; } &&
71243          { ac_try='test -s conftest.$ac_objext'
71244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71245   (eval $ac_try) 2>&5
71246   ac_status=$?
71247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71248   (exit $ac_status); }; }; then
71249   glibcxx_cv_func___builtin_sqrtf_use=yes
71250 else
71251   echo "$as_me: failed program was:" >&5
71252 sed 's/^/| /' conftest.$ac_ext >&5
71253
71254 glibcxx_cv_func___builtin_sqrtf_use=no
71255 fi
71256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71257       ac_ext=c
71258 ac_cpp='$CPP $CPPFLAGS'
71259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71262
71263
71264 fi
71265
71266   fi
71267   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
71268 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
71269   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
71270     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
71271 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
71272     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
71273       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
71274   echo $ECHO_N "(cached) $ECHO_C" >&6
71275 else
71276
71277         if test x$gcc_no_link = xyes; then
71278   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71280    { (exit 1); exit 1; }; }
71281 fi
71282 cat >conftest.$ac_ext <<_ACEOF
71283 /* confdefs.h.  */
71284 _ACEOF
71285 cat confdefs.h >>conftest.$ac_ext
71286 cat >>conftest.$ac_ext <<_ACEOF
71287 /* end confdefs.h.  */
71288 #include <math.h>
71289 int
71290 main ()
71291 {
71292  __builtin_sqrtf(0);
71293   ;
71294   return 0;
71295 }
71296 _ACEOF
71297 rm -f conftest.$ac_objext conftest$ac_exeext
71298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71299   (eval $ac_link) 2>conftest.er1
71300   ac_status=$?
71301   grep -v '^ *+' conftest.er1 >conftest.err
71302   rm -f conftest.er1
71303   cat conftest.err >&5
71304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71305   (exit $ac_status); } &&
71306          { ac_try='test -z "$ac_c_werror_flag"
71307                          || test ! -s conftest.err'
71308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71309   (eval $ac_try) 2>&5
71310   ac_status=$?
71311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71312   (exit $ac_status); }; } &&
71313          { ac_try='test -s conftest$ac_exeext'
71314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71315   (eval $ac_try) 2>&5
71316   ac_status=$?
71317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71318   (exit $ac_status); }; }; then
71319   glibcxx_cv_func___builtin_sqrtf_link=yes
71320 else
71321   echo "$as_me: failed program was:" >&5
71322 sed 's/^/| /' conftest.$ac_ext >&5
71323
71324 glibcxx_cv_func___builtin_sqrtf_link=no
71325 fi
71326 rm -f conftest.err conftest.$ac_objext \
71327       conftest$ac_exeext conftest.$ac_ext
71328
71329 fi
71330
71331     fi
71332     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
71333 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
71334     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
71335       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71336
71337 cat >>confdefs.h <<_ACEOF
71338 #define ${ac_tr_func} 1
71339 _ACEOF
71340
71341     fi
71342   fi
71343
71344
71345   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
71346 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
71347   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
71348     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
71349   echo $ECHO_N "(cached) $ECHO_C" >&6
71350 else
71351
71352
71353
71354       ac_ext=cc
71355 ac_cpp='$CXXCPP $CPPFLAGS'
71356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71359
71360       cat >conftest.$ac_ext <<_ACEOF
71361 /* confdefs.h.  */
71362 _ACEOF
71363 cat confdefs.h >>conftest.$ac_ext
71364 cat >>conftest.$ac_ext <<_ACEOF
71365 /* end confdefs.h.  */
71366 #include <math.h>
71367 int
71368 main ()
71369 {
71370  __builtin_sqrt(0);
71371   ;
71372   return 0;
71373 }
71374 _ACEOF
71375 rm -f conftest.$ac_objext
71376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71377   (eval $ac_compile) 2>conftest.er1
71378   ac_status=$?
71379   grep -v '^ *+' conftest.er1 >conftest.err
71380   rm -f conftest.er1
71381   cat conftest.err >&5
71382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71383   (exit $ac_status); } &&
71384          { ac_try='test -z "$ac_cxx_werror_flag"
71385                          || test ! -s conftest.err'
71386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71387   (eval $ac_try) 2>&5
71388   ac_status=$?
71389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71390   (exit $ac_status); }; } &&
71391          { ac_try='test -s conftest.$ac_objext'
71392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71393   (eval $ac_try) 2>&5
71394   ac_status=$?
71395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71396   (exit $ac_status); }; }; then
71397   glibcxx_cv_func___builtin_sqrt_use=yes
71398 else
71399   echo "$as_me: failed program was:" >&5
71400 sed 's/^/| /' conftest.$ac_ext >&5
71401
71402 glibcxx_cv_func___builtin_sqrt_use=no
71403 fi
71404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71405       ac_ext=c
71406 ac_cpp='$CPP $CPPFLAGS'
71407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71410
71411
71412 fi
71413
71414   fi
71415   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
71416 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
71417   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
71418     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
71419 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
71420     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
71421       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
71422   echo $ECHO_N "(cached) $ECHO_C" >&6
71423 else
71424
71425         if test x$gcc_no_link = xyes; then
71426   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71428    { (exit 1); exit 1; }; }
71429 fi
71430 cat >conftest.$ac_ext <<_ACEOF
71431 /* confdefs.h.  */
71432 _ACEOF
71433 cat confdefs.h >>conftest.$ac_ext
71434 cat >>conftest.$ac_ext <<_ACEOF
71435 /* end confdefs.h.  */
71436 #include <math.h>
71437 int
71438 main ()
71439 {
71440  __builtin_sqrt(0);
71441   ;
71442   return 0;
71443 }
71444 _ACEOF
71445 rm -f conftest.$ac_objext conftest$ac_exeext
71446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71447   (eval $ac_link) 2>conftest.er1
71448   ac_status=$?
71449   grep -v '^ *+' conftest.er1 >conftest.err
71450   rm -f conftest.er1
71451   cat conftest.err >&5
71452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71453   (exit $ac_status); } &&
71454          { ac_try='test -z "$ac_c_werror_flag"
71455                          || test ! -s conftest.err'
71456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71457   (eval $ac_try) 2>&5
71458   ac_status=$?
71459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71460   (exit $ac_status); }; } &&
71461          { ac_try='test -s conftest$ac_exeext'
71462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71463   (eval $ac_try) 2>&5
71464   ac_status=$?
71465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71466   (exit $ac_status); }; }; then
71467   glibcxx_cv_func___builtin_sqrt_link=yes
71468 else
71469   echo "$as_me: failed program was:" >&5
71470 sed 's/^/| /' conftest.$ac_ext >&5
71471
71472 glibcxx_cv_func___builtin_sqrt_link=no
71473 fi
71474 rm -f conftest.err conftest.$ac_objext \
71475       conftest$ac_exeext conftest.$ac_ext
71476
71477 fi
71478
71479     fi
71480     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
71481 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
71482     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
71483       ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71484
71485 cat >>confdefs.h <<_ACEOF
71486 #define ${ac_tr_func} 1
71487 _ACEOF
71488
71489     fi
71490   fi
71491
71492
71493   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
71494 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
71495   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
71496     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
71497   echo $ECHO_N "(cached) $ECHO_C" >&6
71498 else
71499
71500
71501
71502       ac_ext=cc
71503 ac_cpp='$CXXCPP $CPPFLAGS'
71504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71507
71508       cat >conftest.$ac_ext <<_ACEOF
71509 /* confdefs.h.  */
71510 _ACEOF
71511 cat confdefs.h >>conftest.$ac_ext
71512 cat >>conftest.$ac_ext <<_ACEOF
71513 /* end confdefs.h.  */
71514 #include <math.h>
71515 int
71516 main ()
71517 {
71518  __builtin_sqrtl(0);
71519   ;
71520   return 0;
71521 }
71522 _ACEOF
71523 rm -f conftest.$ac_objext
71524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71525   (eval $ac_compile) 2>conftest.er1
71526   ac_status=$?
71527   grep -v '^ *+' conftest.er1 >conftest.err
71528   rm -f conftest.er1
71529   cat conftest.err >&5
71530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71531   (exit $ac_status); } &&
71532          { ac_try='test -z "$ac_cxx_werror_flag"
71533                          || test ! -s conftest.err'
71534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71535   (eval $ac_try) 2>&5
71536   ac_status=$?
71537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71538   (exit $ac_status); }; } &&
71539          { ac_try='test -s conftest.$ac_objext'
71540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71541   (eval $ac_try) 2>&5
71542   ac_status=$?
71543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71544   (exit $ac_status); }; }; then
71545   glibcxx_cv_func___builtin_sqrtl_use=yes
71546 else
71547   echo "$as_me: failed program was:" >&5
71548 sed 's/^/| /' conftest.$ac_ext >&5
71549
71550 glibcxx_cv_func___builtin_sqrtl_use=no
71551 fi
71552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71553       ac_ext=c
71554 ac_cpp='$CPP $CPPFLAGS'
71555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71558
71559
71560 fi
71561
71562   fi
71563   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
71564 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
71565   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
71566     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
71567 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
71568     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
71569       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
71570   echo $ECHO_N "(cached) $ECHO_C" >&6
71571 else
71572
71573         if test x$gcc_no_link = xyes; then
71574   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71576    { (exit 1); exit 1; }; }
71577 fi
71578 cat >conftest.$ac_ext <<_ACEOF
71579 /* confdefs.h.  */
71580 _ACEOF
71581 cat confdefs.h >>conftest.$ac_ext
71582 cat >>conftest.$ac_ext <<_ACEOF
71583 /* end confdefs.h.  */
71584 #include <math.h>
71585 int
71586 main ()
71587 {
71588  __builtin_sqrtl(0);
71589   ;
71590   return 0;
71591 }
71592 _ACEOF
71593 rm -f conftest.$ac_objext conftest$ac_exeext
71594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71595   (eval $ac_link) 2>conftest.er1
71596   ac_status=$?
71597   grep -v '^ *+' conftest.er1 >conftest.err
71598   rm -f conftest.er1
71599   cat conftest.err >&5
71600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71601   (exit $ac_status); } &&
71602          { ac_try='test -z "$ac_c_werror_flag"
71603                          || test ! -s conftest.err'
71604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71605   (eval $ac_try) 2>&5
71606   ac_status=$?
71607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71608   (exit $ac_status); }; } &&
71609          { ac_try='test -s conftest$ac_exeext'
71610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71611   (eval $ac_try) 2>&5
71612   ac_status=$?
71613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71614   (exit $ac_status); }; }; then
71615   glibcxx_cv_func___builtin_sqrtl_link=yes
71616 else
71617   echo "$as_me: failed program was:" >&5
71618 sed 's/^/| /' conftest.$ac_ext >&5
71619
71620 glibcxx_cv_func___builtin_sqrtl_link=no
71621 fi
71622 rm -f conftest.err conftest.$ac_objext \
71623       conftest$ac_exeext conftest.$ac_ext
71624
71625 fi
71626
71627     fi
71628     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
71629 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
71630     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
71631       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71632
71633 cat >>confdefs.h <<_ACEOF
71634 #define ${ac_tr_func} 1
71635 _ACEOF
71636
71637     fi
71638   fi
71639
71640
71641
71642   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
71643 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
71644   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
71645     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
71646   echo $ECHO_N "(cached) $ECHO_C" >&6
71647 else
71648
71649
71650
71651       ac_ext=cc
71652 ac_cpp='$CXXCPP $CPPFLAGS'
71653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71656
71657       cat >conftest.$ac_ext <<_ACEOF
71658 /* confdefs.h.  */
71659 _ACEOF
71660 cat confdefs.h >>conftest.$ac_ext
71661 cat >>conftest.$ac_ext <<_ACEOF
71662 /* end confdefs.h.  */
71663 #include <math.h>
71664 int
71665 main ()
71666 {
71667  __builtin_sinf(0);
71668   ;
71669   return 0;
71670 }
71671 _ACEOF
71672 rm -f conftest.$ac_objext
71673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71674   (eval $ac_compile) 2>conftest.er1
71675   ac_status=$?
71676   grep -v '^ *+' conftest.er1 >conftest.err
71677   rm -f conftest.er1
71678   cat conftest.err >&5
71679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71680   (exit $ac_status); } &&
71681          { ac_try='test -z "$ac_cxx_werror_flag"
71682                          || test ! -s conftest.err'
71683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71684   (eval $ac_try) 2>&5
71685   ac_status=$?
71686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71687   (exit $ac_status); }; } &&
71688          { ac_try='test -s conftest.$ac_objext'
71689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71690   (eval $ac_try) 2>&5
71691   ac_status=$?
71692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71693   (exit $ac_status); }; }; then
71694   glibcxx_cv_func___builtin_sinf_use=yes
71695 else
71696   echo "$as_me: failed program was:" >&5
71697 sed 's/^/| /' conftest.$ac_ext >&5
71698
71699 glibcxx_cv_func___builtin_sinf_use=no
71700 fi
71701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71702       ac_ext=c
71703 ac_cpp='$CPP $CPPFLAGS'
71704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71707
71708
71709 fi
71710
71711   fi
71712   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
71713 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
71714   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
71715     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
71716 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
71717     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
71718       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
71719   echo $ECHO_N "(cached) $ECHO_C" >&6
71720 else
71721
71722         if test x$gcc_no_link = xyes; then
71723   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71725    { (exit 1); exit 1; }; }
71726 fi
71727 cat >conftest.$ac_ext <<_ACEOF
71728 /* confdefs.h.  */
71729 _ACEOF
71730 cat confdefs.h >>conftest.$ac_ext
71731 cat >>conftest.$ac_ext <<_ACEOF
71732 /* end confdefs.h.  */
71733 #include <math.h>
71734 int
71735 main ()
71736 {
71737  __builtin_sinf(0);
71738   ;
71739   return 0;
71740 }
71741 _ACEOF
71742 rm -f conftest.$ac_objext conftest$ac_exeext
71743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71744   (eval $ac_link) 2>conftest.er1
71745   ac_status=$?
71746   grep -v '^ *+' conftest.er1 >conftest.err
71747   rm -f conftest.er1
71748   cat conftest.err >&5
71749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71750   (exit $ac_status); } &&
71751          { ac_try='test -z "$ac_c_werror_flag"
71752                          || test ! -s conftest.err'
71753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71754   (eval $ac_try) 2>&5
71755   ac_status=$?
71756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71757   (exit $ac_status); }; } &&
71758          { ac_try='test -s conftest$ac_exeext'
71759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71760   (eval $ac_try) 2>&5
71761   ac_status=$?
71762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71763   (exit $ac_status); }; }; then
71764   glibcxx_cv_func___builtin_sinf_link=yes
71765 else
71766   echo "$as_me: failed program was:" >&5
71767 sed 's/^/| /' conftest.$ac_ext >&5
71768
71769 glibcxx_cv_func___builtin_sinf_link=no
71770 fi
71771 rm -f conftest.err conftest.$ac_objext \
71772       conftest$ac_exeext conftest.$ac_ext
71773
71774 fi
71775
71776     fi
71777     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
71778 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
71779     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
71780       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71781
71782 cat >>confdefs.h <<_ACEOF
71783 #define ${ac_tr_func} 1
71784 _ACEOF
71785
71786     fi
71787   fi
71788
71789
71790   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
71791 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
71792   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
71793     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
71794   echo $ECHO_N "(cached) $ECHO_C" >&6
71795 else
71796
71797
71798
71799       ac_ext=cc
71800 ac_cpp='$CXXCPP $CPPFLAGS'
71801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71804
71805       cat >conftest.$ac_ext <<_ACEOF
71806 /* confdefs.h.  */
71807 _ACEOF
71808 cat confdefs.h >>conftest.$ac_ext
71809 cat >>conftest.$ac_ext <<_ACEOF
71810 /* end confdefs.h.  */
71811 #include <math.h>
71812 int
71813 main ()
71814 {
71815  __builtin_sin(0);
71816   ;
71817   return 0;
71818 }
71819 _ACEOF
71820 rm -f conftest.$ac_objext
71821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71822   (eval $ac_compile) 2>conftest.er1
71823   ac_status=$?
71824   grep -v '^ *+' conftest.er1 >conftest.err
71825   rm -f conftest.er1
71826   cat conftest.err >&5
71827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71828   (exit $ac_status); } &&
71829          { ac_try='test -z "$ac_cxx_werror_flag"
71830                          || test ! -s conftest.err'
71831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71832   (eval $ac_try) 2>&5
71833   ac_status=$?
71834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71835   (exit $ac_status); }; } &&
71836          { ac_try='test -s conftest.$ac_objext'
71837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71838   (eval $ac_try) 2>&5
71839   ac_status=$?
71840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71841   (exit $ac_status); }; }; then
71842   glibcxx_cv_func___builtin_sin_use=yes
71843 else
71844   echo "$as_me: failed program was:" >&5
71845 sed 's/^/| /' conftest.$ac_ext >&5
71846
71847 glibcxx_cv_func___builtin_sin_use=no
71848 fi
71849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71850       ac_ext=c
71851 ac_cpp='$CPP $CPPFLAGS'
71852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71855
71856
71857 fi
71858
71859   fi
71860   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
71861 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
71862   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
71863     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
71864 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
71865     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
71866       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
71867   echo $ECHO_N "(cached) $ECHO_C" >&6
71868 else
71869
71870         if test x$gcc_no_link = xyes; then
71871   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71873    { (exit 1); exit 1; }; }
71874 fi
71875 cat >conftest.$ac_ext <<_ACEOF
71876 /* confdefs.h.  */
71877 _ACEOF
71878 cat confdefs.h >>conftest.$ac_ext
71879 cat >>conftest.$ac_ext <<_ACEOF
71880 /* end confdefs.h.  */
71881 #include <math.h>
71882 int
71883 main ()
71884 {
71885  __builtin_sin(0);
71886   ;
71887   return 0;
71888 }
71889 _ACEOF
71890 rm -f conftest.$ac_objext conftest$ac_exeext
71891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71892   (eval $ac_link) 2>conftest.er1
71893   ac_status=$?
71894   grep -v '^ *+' conftest.er1 >conftest.err
71895   rm -f conftest.er1
71896   cat conftest.err >&5
71897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71898   (exit $ac_status); } &&
71899          { ac_try='test -z "$ac_c_werror_flag"
71900                          || test ! -s conftest.err'
71901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71902   (eval $ac_try) 2>&5
71903   ac_status=$?
71904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71905   (exit $ac_status); }; } &&
71906          { ac_try='test -s conftest$ac_exeext'
71907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71908   (eval $ac_try) 2>&5
71909   ac_status=$?
71910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71911   (exit $ac_status); }; }; then
71912   glibcxx_cv_func___builtin_sin_link=yes
71913 else
71914   echo "$as_me: failed program was:" >&5
71915 sed 's/^/| /' conftest.$ac_ext >&5
71916
71917 glibcxx_cv_func___builtin_sin_link=no
71918 fi
71919 rm -f conftest.err conftest.$ac_objext \
71920       conftest$ac_exeext conftest.$ac_ext
71921
71922 fi
71923
71924     fi
71925     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
71926 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
71927     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
71928       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71929
71930 cat >>confdefs.h <<_ACEOF
71931 #define ${ac_tr_func} 1
71932 _ACEOF
71933
71934     fi
71935   fi
71936
71937
71938   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
71939 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
71940   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
71941     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
71942   echo $ECHO_N "(cached) $ECHO_C" >&6
71943 else
71944
71945
71946
71947       ac_ext=cc
71948 ac_cpp='$CXXCPP $CPPFLAGS'
71949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71952
71953       cat >conftest.$ac_ext <<_ACEOF
71954 /* confdefs.h.  */
71955 _ACEOF
71956 cat confdefs.h >>conftest.$ac_ext
71957 cat >>conftest.$ac_ext <<_ACEOF
71958 /* end confdefs.h.  */
71959 #include <math.h>
71960 int
71961 main ()
71962 {
71963  __builtin_sinl(0);
71964   ;
71965   return 0;
71966 }
71967 _ACEOF
71968 rm -f conftest.$ac_objext
71969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71970   (eval $ac_compile) 2>conftest.er1
71971   ac_status=$?
71972   grep -v '^ *+' conftest.er1 >conftest.err
71973   rm -f conftest.er1
71974   cat conftest.err >&5
71975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71976   (exit $ac_status); } &&
71977          { ac_try='test -z "$ac_cxx_werror_flag"
71978                          || test ! -s conftest.err'
71979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71980   (eval $ac_try) 2>&5
71981   ac_status=$?
71982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71983   (exit $ac_status); }; } &&
71984          { ac_try='test -s conftest.$ac_objext'
71985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71986   (eval $ac_try) 2>&5
71987   ac_status=$?
71988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71989   (exit $ac_status); }; }; then
71990   glibcxx_cv_func___builtin_sinl_use=yes
71991 else
71992   echo "$as_me: failed program was:" >&5
71993 sed 's/^/| /' conftest.$ac_ext >&5
71994
71995 glibcxx_cv_func___builtin_sinl_use=no
71996 fi
71997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71998       ac_ext=c
71999 ac_cpp='$CPP $CPPFLAGS'
72000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72003
72004
72005 fi
72006
72007   fi
72008   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
72009 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
72010   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
72011     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
72012 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
72013     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
72014       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
72015   echo $ECHO_N "(cached) $ECHO_C" >&6
72016 else
72017
72018         if test x$gcc_no_link = xyes; then
72019   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72021    { (exit 1); exit 1; }; }
72022 fi
72023 cat >conftest.$ac_ext <<_ACEOF
72024 /* confdefs.h.  */
72025 _ACEOF
72026 cat confdefs.h >>conftest.$ac_ext
72027 cat >>conftest.$ac_ext <<_ACEOF
72028 /* end confdefs.h.  */
72029 #include <math.h>
72030 int
72031 main ()
72032 {
72033  __builtin_sinl(0);
72034   ;
72035   return 0;
72036 }
72037 _ACEOF
72038 rm -f conftest.$ac_objext conftest$ac_exeext
72039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72040   (eval $ac_link) 2>conftest.er1
72041   ac_status=$?
72042   grep -v '^ *+' conftest.er1 >conftest.err
72043   rm -f conftest.er1
72044   cat conftest.err >&5
72045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72046   (exit $ac_status); } &&
72047          { ac_try='test -z "$ac_c_werror_flag"
72048                          || test ! -s conftest.err'
72049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72050   (eval $ac_try) 2>&5
72051   ac_status=$?
72052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72053   (exit $ac_status); }; } &&
72054          { ac_try='test -s conftest$ac_exeext'
72055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72056   (eval $ac_try) 2>&5
72057   ac_status=$?
72058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72059   (exit $ac_status); }; }; then
72060   glibcxx_cv_func___builtin_sinl_link=yes
72061 else
72062   echo "$as_me: failed program was:" >&5
72063 sed 's/^/| /' conftest.$ac_ext >&5
72064
72065 glibcxx_cv_func___builtin_sinl_link=no
72066 fi
72067 rm -f conftest.err conftest.$ac_objext \
72068       conftest$ac_exeext conftest.$ac_ext
72069
72070 fi
72071
72072     fi
72073     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
72074 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
72075     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
72076       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72077
72078 cat >>confdefs.h <<_ACEOF
72079 #define ${ac_tr_func} 1
72080 _ACEOF
72081
72082     fi
72083   fi
72084
72085
72086
72087   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
72088 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
72089   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
72090     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
72091   echo $ECHO_N "(cached) $ECHO_C" >&6
72092 else
72093
72094
72095
72096       ac_ext=cc
72097 ac_cpp='$CXXCPP $CPPFLAGS'
72098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72101
72102       cat >conftest.$ac_ext <<_ACEOF
72103 /* confdefs.h.  */
72104 _ACEOF
72105 cat confdefs.h >>conftest.$ac_ext
72106 cat >>conftest.$ac_ext <<_ACEOF
72107 /* end confdefs.h.  */
72108 #include <math.h>
72109 int
72110 main ()
72111 {
72112  __builtin_cosf(0);
72113   ;
72114   return 0;
72115 }
72116 _ACEOF
72117 rm -f conftest.$ac_objext
72118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72119   (eval $ac_compile) 2>conftest.er1
72120   ac_status=$?
72121   grep -v '^ *+' conftest.er1 >conftest.err
72122   rm -f conftest.er1
72123   cat conftest.err >&5
72124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72125   (exit $ac_status); } &&
72126          { ac_try='test -z "$ac_cxx_werror_flag"
72127                          || test ! -s conftest.err'
72128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72129   (eval $ac_try) 2>&5
72130   ac_status=$?
72131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72132   (exit $ac_status); }; } &&
72133          { ac_try='test -s conftest.$ac_objext'
72134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72135   (eval $ac_try) 2>&5
72136   ac_status=$?
72137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72138   (exit $ac_status); }; }; then
72139   glibcxx_cv_func___builtin_cosf_use=yes
72140 else
72141   echo "$as_me: failed program was:" >&5
72142 sed 's/^/| /' conftest.$ac_ext >&5
72143
72144 glibcxx_cv_func___builtin_cosf_use=no
72145 fi
72146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72147       ac_ext=c
72148 ac_cpp='$CPP $CPPFLAGS'
72149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72152
72153
72154 fi
72155
72156   fi
72157   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
72158 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
72159   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
72160     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
72161 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
72162     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
72163       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
72164   echo $ECHO_N "(cached) $ECHO_C" >&6
72165 else
72166
72167         if test x$gcc_no_link = xyes; then
72168   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72170    { (exit 1); exit 1; }; }
72171 fi
72172 cat >conftest.$ac_ext <<_ACEOF
72173 /* confdefs.h.  */
72174 _ACEOF
72175 cat confdefs.h >>conftest.$ac_ext
72176 cat >>conftest.$ac_ext <<_ACEOF
72177 /* end confdefs.h.  */
72178 #include <math.h>
72179 int
72180 main ()
72181 {
72182  __builtin_cosf(0);
72183   ;
72184   return 0;
72185 }
72186 _ACEOF
72187 rm -f conftest.$ac_objext conftest$ac_exeext
72188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72189   (eval $ac_link) 2>conftest.er1
72190   ac_status=$?
72191   grep -v '^ *+' conftest.er1 >conftest.err
72192   rm -f conftest.er1
72193   cat conftest.err >&5
72194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72195   (exit $ac_status); } &&
72196          { ac_try='test -z "$ac_c_werror_flag"
72197                          || test ! -s conftest.err'
72198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72199   (eval $ac_try) 2>&5
72200   ac_status=$?
72201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72202   (exit $ac_status); }; } &&
72203          { ac_try='test -s conftest$ac_exeext'
72204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72205   (eval $ac_try) 2>&5
72206   ac_status=$?
72207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72208   (exit $ac_status); }; }; then
72209   glibcxx_cv_func___builtin_cosf_link=yes
72210 else
72211   echo "$as_me: failed program was:" >&5
72212 sed 's/^/| /' conftest.$ac_ext >&5
72213
72214 glibcxx_cv_func___builtin_cosf_link=no
72215 fi
72216 rm -f conftest.err conftest.$ac_objext \
72217       conftest$ac_exeext conftest.$ac_ext
72218
72219 fi
72220
72221     fi
72222     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
72223 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
72224     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
72225       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72226
72227 cat >>confdefs.h <<_ACEOF
72228 #define ${ac_tr_func} 1
72229 _ACEOF
72230
72231     fi
72232   fi
72233
72234
72235   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
72236 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
72237   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
72238     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
72239   echo $ECHO_N "(cached) $ECHO_C" >&6
72240 else
72241
72242
72243
72244       ac_ext=cc
72245 ac_cpp='$CXXCPP $CPPFLAGS'
72246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72249
72250       cat >conftest.$ac_ext <<_ACEOF
72251 /* confdefs.h.  */
72252 _ACEOF
72253 cat confdefs.h >>conftest.$ac_ext
72254 cat >>conftest.$ac_ext <<_ACEOF
72255 /* end confdefs.h.  */
72256 #include <math.h>
72257 int
72258 main ()
72259 {
72260  __builtin_cos(0);
72261   ;
72262   return 0;
72263 }
72264 _ACEOF
72265 rm -f conftest.$ac_objext
72266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72267   (eval $ac_compile) 2>conftest.er1
72268   ac_status=$?
72269   grep -v '^ *+' conftest.er1 >conftest.err
72270   rm -f conftest.er1
72271   cat conftest.err >&5
72272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72273   (exit $ac_status); } &&
72274          { ac_try='test -z "$ac_cxx_werror_flag"
72275                          || test ! -s conftest.err'
72276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72277   (eval $ac_try) 2>&5
72278   ac_status=$?
72279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72280   (exit $ac_status); }; } &&
72281          { ac_try='test -s conftest.$ac_objext'
72282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72283   (eval $ac_try) 2>&5
72284   ac_status=$?
72285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72286   (exit $ac_status); }; }; then
72287   glibcxx_cv_func___builtin_cos_use=yes
72288 else
72289   echo "$as_me: failed program was:" >&5
72290 sed 's/^/| /' conftest.$ac_ext >&5
72291
72292 glibcxx_cv_func___builtin_cos_use=no
72293 fi
72294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72295       ac_ext=c
72296 ac_cpp='$CPP $CPPFLAGS'
72297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72300
72301
72302 fi
72303
72304   fi
72305   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
72306 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
72307   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
72308     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
72309 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
72310     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
72311       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
72312   echo $ECHO_N "(cached) $ECHO_C" >&6
72313 else
72314
72315         if test x$gcc_no_link = xyes; then
72316   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72318    { (exit 1); exit 1; }; }
72319 fi
72320 cat >conftest.$ac_ext <<_ACEOF
72321 /* confdefs.h.  */
72322 _ACEOF
72323 cat confdefs.h >>conftest.$ac_ext
72324 cat >>conftest.$ac_ext <<_ACEOF
72325 /* end confdefs.h.  */
72326 #include <math.h>
72327 int
72328 main ()
72329 {
72330  __builtin_cos(0);
72331   ;
72332   return 0;
72333 }
72334 _ACEOF
72335 rm -f conftest.$ac_objext conftest$ac_exeext
72336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72337   (eval $ac_link) 2>conftest.er1
72338   ac_status=$?
72339   grep -v '^ *+' conftest.er1 >conftest.err
72340   rm -f conftest.er1
72341   cat conftest.err >&5
72342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72343   (exit $ac_status); } &&
72344          { ac_try='test -z "$ac_c_werror_flag"
72345                          || test ! -s conftest.err'
72346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72347   (eval $ac_try) 2>&5
72348   ac_status=$?
72349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72350   (exit $ac_status); }; } &&
72351          { ac_try='test -s conftest$ac_exeext'
72352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72353   (eval $ac_try) 2>&5
72354   ac_status=$?
72355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72356   (exit $ac_status); }; }; then
72357   glibcxx_cv_func___builtin_cos_link=yes
72358 else
72359   echo "$as_me: failed program was:" >&5
72360 sed 's/^/| /' conftest.$ac_ext >&5
72361
72362 glibcxx_cv_func___builtin_cos_link=no
72363 fi
72364 rm -f conftest.err conftest.$ac_objext \
72365       conftest$ac_exeext conftest.$ac_ext
72366
72367 fi
72368
72369     fi
72370     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
72371 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
72372     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
72373       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72374
72375 cat >>confdefs.h <<_ACEOF
72376 #define ${ac_tr_func} 1
72377 _ACEOF
72378
72379     fi
72380   fi
72381
72382
72383   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
72384 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
72385   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
72386     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
72387   echo $ECHO_N "(cached) $ECHO_C" >&6
72388 else
72389
72390
72391
72392       ac_ext=cc
72393 ac_cpp='$CXXCPP $CPPFLAGS'
72394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72397
72398       cat >conftest.$ac_ext <<_ACEOF
72399 /* confdefs.h.  */
72400 _ACEOF
72401 cat confdefs.h >>conftest.$ac_ext
72402 cat >>conftest.$ac_ext <<_ACEOF
72403 /* end confdefs.h.  */
72404 #include <math.h>
72405 int
72406 main ()
72407 {
72408  __builtin_cosl(0);
72409   ;
72410   return 0;
72411 }
72412 _ACEOF
72413 rm -f conftest.$ac_objext
72414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72415   (eval $ac_compile) 2>conftest.er1
72416   ac_status=$?
72417   grep -v '^ *+' conftest.er1 >conftest.err
72418   rm -f conftest.er1
72419   cat conftest.err >&5
72420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72421   (exit $ac_status); } &&
72422          { ac_try='test -z "$ac_cxx_werror_flag"
72423                          || test ! -s conftest.err'
72424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72425   (eval $ac_try) 2>&5
72426   ac_status=$?
72427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72428   (exit $ac_status); }; } &&
72429          { ac_try='test -s conftest.$ac_objext'
72430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72431   (eval $ac_try) 2>&5
72432   ac_status=$?
72433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72434   (exit $ac_status); }; }; then
72435   glibcxx_cv_func___builtin_cosl_use=yes
72436 else
72437   echo "$as_me: failed program was:" >&5
72438 sed 's/^/| /' conftest.$ac_ext >&5
72439
72440 glibcxx_cv_func___builtin_cosl_use=no
72441 fi
72442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72443       ac_ext=c
72444 ac_cpp='$CPP $CPPFLAGS'
72445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72448
72449
72450 fi
72451
72452   fi
72453   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
72454 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
72455   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
72456     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
72457 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
72458     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
72459       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
72460   echo $ECHO_N "(cached) $ECHO_C" >&6
72461 else
72462
72463         if test x$gcc_no_link = xyes; then
72464   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72466    { (exit 1); exit 1; }; }
72467 fi
72468 cat >conftest.$ac_ext <<_ACEOF
72469 /* confdefs.h.  */
72470 _ACEOF
72471 cat confdefs.h >>conftest.$ac_ext
72472 cat >>conftest.$ac_ext <<_ACEOF
72473 /* end confdefs.h.  */
72474 #include <math.h>
72475 int
72476 main ()
72477 {
72478  __builtin_cosl(0);
72479   ;
72480   return 0;
72481 }
72482 _ACEOF
72483 rm -f conftest.$ac_objext conftest$ac_exeext
72484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72485   (eval $ac_link) 2>conftest.er1
72486   ac_status=$?
72487   grep -v '^ *+' conftest.er1 >conftest.err
72488   rm -f conftest.er1
72489   cat conftest.err >&5
72490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72491   (exit $ac_status); } &&
72492          { ac_try='test -z "$ac_c_werror_flag"
72493                          || test ! -s conftest.err'
72494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72495   (eval $ac_try) 2>&5
72496   ac_status=$?
72497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72498   (exit $ac_status); }; } &&
72499          { ac_try='test -s conftest$ac_exeext'
72500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72501   (eval $ac_try) 2>&5
72502   ac_status=$?
72503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72504   (exit $ac_status); }; }; then
72505   glibcxx_cv_func___builtin_cosl_link=yes
72506 else
72507   echo "$as_me: failed program was:" >&5
72508 sed 's/^/| /' conftest.$ac_ext >&5
72509
72510 glibcxx_cv_func___builtin_cosl_link=no
72511 fi
72512 rm -f conftest.err conftest.$ac_objext \
72513       conftest$ac_exeext conftest.$ac_ext
72514
72515 fi
72516
72517     fi
72518     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
72519 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
72520     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
72521       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72522
72523 cat >>confdefs.h <<_ACEOF
72524 #define ${ac_tr_func} 1
72525 _ACEOF
72526
72527     fi
72528   fi
72529
72530
72531
72532
72533 echo "$as_me:$LINENO: checking for main in -lm" >&5
72534 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
72535 if test "${ac_cv_lib_m_main+set}" = set; then
72536   echo $ECHO_N "(cached) $ECHO_C" >&6
72537 else
72538   ac_check_lib_save_LIBS=$LIBS
72539 LIBS="-lm  $LIBS"
72540 if test x$gcc_no_link = xyes; then
72541   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72543    { (exit 1); exit 1; }; }
72544 fi
72545 cat >conftest.$ac_ext <<_ACEOF
72546 /* confdefs.h.  */
72547 _ACEOF
72548 cat confdefs.h >>conftest.$ac_ext
72549 cat >>conftest.$ac_ext <<_ACEOF
72550 /* end confdefs.h.  */
72551
72552
72553 int
72554 main ()
72555 {
72556 main ();
72557   ;
72558   return 0;
72559 }
72560 _ACEOF
72561 rm -f conftest.$ac_objext conftest$ac_exeext
72562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72563   (eval $ac_link) 2>conftest.er1
72564   ac_status=$?
72565   grep -v '^ *+' conftest.er1 >conftest.err
72566   rm -f conftest.er1
72567   cat conftest.err >&5
72568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72569   (exit $ac_status); } &&
72570          { ac_try='test -z "$ac_c_werror_flag"
72571                          || test ! -s conftest.err'
72572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72573   (eval $ac_try) 2>&5
72574   ac_status=$?
72575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72576   (exit $ac_status); }; } &&
72577          { ac_try='test -s conftest$ac_exeext'
72578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72579   (eval $ac_try) 2>&5
72580   ac_status=$?
72581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72582   (exit $ac_status); }; }; then
72583   ac_cv_lib_m_main=yes
72584 else
72585   echo "$as_me: failed program was:" >&5
72586 sed 's/^/| /' conftest.$ac_ext >&5
72587
72588 ac_cv_lib_m_main=no
72589 fi
72590 rm -f conftest.err conftest.$ac_objext \
72591       conftest$ac_exeext conftest.$ac_ext
72592 LIBS=$ac_check_lib_save_LIBS
72593 fi
72594 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
72595 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
72596 if test $ac_cv_lib_m_main = yes; then
72597   cat >>confdefs.h <<_ACEOF
72598 #define HAVE_LIBM 1
72599 _ACEOF
72600
72601   LIBS="-lm $LIBS"
72602
72603 fi
72604
72605
72606 for ac_func in copysignf
72607 do
72608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72609 echo "$as_me:$LINENO: checking for $ac_func" >&5
72610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72611 if eval "test \"\${$as_ac_var+set}\" = set"; then
72612   echo $ECHO_N "(cached) $ECHO_C" >&6
72613 else
72614   if test x$gcc_no_link = xyes; then
72615   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72617    { (exit 1); exit 1; }; }
72618 fi
72619 cat >conftest.$ac_ext <<_ACEOF
72620 /* confdefs.h.  */
72621 _ACEOF
72622 cat confdefs.h >>conftest.$ac_ext
72623 cat >>conftest.$ac_ext <<_ACEOF
72624 /* end confdefs.h.  */
72625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72626    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72627 #define $ac_func innocuous_$ac_func
72628
72629 /* System header to define __stub macros and hopefully few prototypes,
72630     which can conflict with char $ac_func (); below.
72631     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72632     <limits.h> exists even on freestanding compilers.  */
72633
72634 #ifdef __STDC__
72635 # include <limits.h>
72636 #else
72637 # include <assert.h>
72638 #endif
72639
72640 #undef $ac_func
72641
72642 /* Override any gcc2 internal prototype to avoid an error.  */
72643 #ifdef __cplusplus
72644 extern "C"
72645 {
72646 #endif
72647 /* We use char because int might match the return type of a gcc2
72648    builtin and then its argument prototype would still apply.  */
72649 char $ac_func ();
72650 /* The GNU C library defines this for functions which it implements
72651     to always fail with ENOSYS.  Some functions are actually named
72652     something starting with __ and the normal name is an alias.  */
72653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72654 choke me
72655 #else
72656 char (*f) () = $ac_func;
72657 #endif
72658 #ifdef __cplusplus
72659 }
72660 #endif
72661
72662 int
72663 main ()
72664 {
72665 return f != $ac_func;
72666   ;
72667   return 0;
72668 }
72669 _ACEOF
72670 rm -f conftest.$ac_objext conftest$ac_exeext
72671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72672   (eval $ac_link) 2>conftest.er1
72673   ac_status=$?
72674   grep -v '^ *+' conftest.er1 >conftest.err
72675   rm -f conftest.er1
72676   cat conftest.err >&5
72677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72678   (exit $ac_status); } &&
72679          { ac_try='test -z "$ac_c_werror_flag"
72680                          || test ! -s conftest.err'
72681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72682   (eval $ac_try) 2>&5
72683   ac_status=$?
72684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72685   (exit $ac_status); }; } &&
72686          { ac_try='test -s conftest$ac_exeext'
72687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72688   (eval $ac_try) 2>&5
72689   ac_status=$?
72690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72691   (exit $ac_status); }; }; then
72692   eval "$as_ac_var=yes"
72693 else
72694   echo "$as_me: failed program was:" >&5
72695 sed 's/^/| /' conftest.$ac_ext >&5
72696
72697 eval "$as_ac_var=no"
72698 fi
72699 rm -f conftest.err conftest.$ac_objext \
72700       conftest$ac_exeext conftest.$ac_ext
72701 fi
72702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72704 if test `eval echo '${'$as_ac_var'}'` = yes; then
72705   cat >>confdefs.h <<_ACEOF
72706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72707 _ACEOF
72708
72709 else
72710   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
72711 fi
72712 done
72713
72714
72715
72716 for ac_func in __signbit
72717 do
72718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72719 echo "$as_me:$LINENO: checking for $ac_func" >&5
72720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72721 if eval "test \"\${$as_ac_var+set}\" = set"; then
72722   echo $ECHO_N "(cached) $ECHO_C" >&6
72723 else
72724   if test x$gcc_no_link = xyes; then
72725   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72727    { (exit 1); exit 1; }; }
72728 fi
72729 cat >conftest.$ac_ext <<_ACEOF
72730 /* confdefs.h.  */
72731 _ACEOF
72732 cat confdefs.h >>conftest.$ac_ext
72733 cat >>conftest.$ac_ext <<_ACEOF
72734 /* end confdefs.h.  */
72735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72736    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72737 #define $ac_func innocuous_$ac_func
72738
72739 /* System header to define __stub macros and hopefully few prototypes,
72740     which can conflict with char $ac_func (); below.
72741     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72742     <limits.h> exists even on freestanding compilers.  */
72743
72744 #ifdef __STDC__
72745 # include <limits.h>
72746 #else
72747 # include <assert.h>
72748 #endif
72749
72750 #undef $ac_func
72751
72752 /* Override any gcc2 internal prototype to avoid an error.  */
72753 #ifdef __cplusplus
72754 extern "C"
72755 {
72756 #endif
72757 /* We use char because int might match the return type of a gcc2
72758    builtin and then its argument prototype would still apply.  */
72759 char $ac_func ();
72760 /* The GNU C library defines this for functions which it implements
72761     to always fail with ENOSYS.  Some functions are actually named
72762     something starting with __ and the normal name is an alias.  */
72763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72764 choke me
72765 #else
72766 char (*f) () = $ac_func;
72767 #endif
72768 #ifdef __cplusplus
72769 }
72770 #endif
72771
72772 int
72773 main ()
72774 {
72775 return f != $ac_func;
72776   ;
72777   return 0;
72778 }
72779 _ACEOF
72780 rm -f conftest.$ac_objext conftest$ac_exeext
72781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72782   (eval $ac_link) 2>conftest.er1
72783   ac_status=$?
72784   grep -v '^ *+' conftest.er1 >conftest.err
72785   rm -f conftest.er1
72786   cat conftest.err >&5
72787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72788   (exit $ac_status); } &&
72789          { ac_try='test -z "$ac_c_werror_flag"
72790                          || test ! -s conftest.err'
72791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72792   (eval $ac_try) 2>&5
72793   ac_status=$?
72794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72795   (exit $ac_status); }; } &&
72796          { ac_try='test -s conftest$ac_exeext'
72797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72798   (eval $ac_try) 2>&5
72799   ac_status=$?
72800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72801   (exit $ac_status); }; }; then
72802   eval "$as_ac_var=yes"
72803 else
72804   echo "$as_me: failed program was:" >&5
72805 sed 's/^/| /' conftest.$ac_ext >&5
72806
72807 eval "$as_ac_var=no"
72808 fi
72809 rm -f conftest.err conftest.$ac_objext \
72810       conftest$ac_exeext conftest.$ac_ext
72811 fi
72812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72814 if test `eval echo '${'$as_ac_var'}'` = yes; then
72815   cat >>confdefs.h <<_ACEOF
72816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72817 _ACEOF
72818
72819 else
72820   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72821 fi
72822 done
72823
72824
72825
72826 for ac_func in __signbitf
72827 do
72828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72829 echo "$as_me:$LINENO: checking for $ac_func" >&5
72830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72831 if eval "test \"\${$as_ac_var+set}\" = set"; then
72832   echo $ECHO_N "(cached) $ECHO_C" >&6
72833 else
72834   if test x$gcc_no_link = xyes; then
72835   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72837    { (exit 1); exit 1; }; }
72838 fi
72839 cat >conftest.$ac_ext <<_ACEOF
72840 /* confdefs.h.  */
72841 _ACEOF
72842 cat confdefs.h >>conftest.$ac_ext
72843 cat >>conftest.$ac_ext <<_ACEOF
72844 /* end confdefs.h.  */
72845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72846    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72847 #define $ac_func innocuous_$ac_func
72848
72849 /* System header to define __stub macros and hopefully few prototypes,
72850     which can conflict with char $ac_func (); below.
72851     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72852     <limits.h> exists even on freestanding compilers.  */
72853
72854 #ifdef __STDC__
72855 # include <limits.h>
72856 #else
72857 # include <assert.h>
72858 #endif
72859
72860 #undef $ac_func
72861
72862 /* Override any gcc2 internal prototype to avoid an error.  */
72863 #ifdef __cplusplus
72864 extern "C"
72865 {
72866 #endif
72867 /* We use char because int might match the return type of a gcc2
72868    builtin and then its argument prototype would still apply.  */
72869 char $ac_func ();
72870 /* The GNU C library defines this for functions which it implements
72871     to always fail with ENOSYS.  Some functions are actually named
72872     something starting with __ and the normal name is an alias.  */
72873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72874 choke me
72875 #else
72876 char (*f) () = $ac_func;
72877 #endif
72878 #ifdef __cplusplus
72879 }
72880 #endif
72881
72882 int
72883 main ()
72884 {
72885 return f != $ac_func;
72886   ;
72887   return 0;
72888 }
72889 _ACEOF
72890 rm -f conftest.$ac_objext conftest$ac_exeext
72891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72892   (eval $ac_link) 2>conftest.er1
72893   ac_status=$?
72894   grep -v '^ *+' conftest.er1 >conftest.err
72895   rm -f conftest.er1
72896   cat conftest.err >&5
72897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72898   (exit $ac_status); } &&
72899          { ac_try='test -z "$ac_c_werror_flag"
72900                          || test ! -s conftest.err'
72901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72902   (eval $ac_try) 2>&5
72903   ac_status=$?
72904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72905   (exit $ac_status); }; } &&
72906          { ac_try='test -s conftest$ac_exeext'
72907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72908   (eval $ac_try) 2>&5
72909   ac_status=$?
72910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72911   (exit $ac_status); }; }; then
72912   eval "$as_ac_var=yes"
72913 else
72914   echo "$as_me: failed program was:" >&5
72915 sed 's/^/| /' conftest.$ac_ext >&5
72916
72917 eval "$as_ac_var=no"
72918 fi
72919 rm -f conftest.err conftest.$ac_objext \
72920       conftest$ac_exeext conftest.$ac_ext
72921 fi
72922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72924 if test `eval echo '${'$as_ac_var'}'` = yes; then
72925   cat >>confdefs.h <<_ACEOF
72926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72927 _ACEOF
72928
72929 else
72930   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
72931 fi
72932 done
72933
72934
72935           if test x$ac_cv_func_copysignl = x"yes"; then
72936
72937 for ac_func in __signbitl
72938 do
72939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72940 echo "$as_me:$LINENO: checking for $ac_func" >&5
72941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72942 if eval "test \"\${$as_ac_var+set}\" = set"; then
72943   echo $ECHO_N "(cached) $ECHO_C" >&6
72944 else
72945   if test x$gcc_no_link = xyes; then
72946   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72948    { (exit 1); exit 1; }; }
72949 fi
72950 cat >conftest.$ac_ext <<_ACEOF
72951 /* confdefs.h.  */
72952 _ACEOF
72953 cat confdefs.h >>conftest.$ac_ext
72954 cat >>conftest.$ac_ext <<_ACEOF
72955 /* end confdefs.h.  */
72956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72957    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72958 #define $ac_func innocuous_$ac_func
72959
72960 /* System header to define __stub macros and hopefully few prototypes,
72961     which can conflict with char $ac_func (); below.
72962     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72963     <limits.h> exists even on freestanding compilers.  */
72964
72965 #ifdef __STDC__
72966 # include <limits.h>
72967 #else
72968 # include <assert.h>
72969 #endif
72970
72971 #undef $ac_func
72972
72973 /* Override any gcc2 internal prototype to avoid an error.  */
72974 #ifdef __cplusplus
72975 extern "C"
72976 {
72977 #endif
72978 /* We use char because int might match the return type of a gcc2
72979    builtin and then its argument prototype would still apply.  */
72980 char $ac_func ();
72981 /* The GNU C library defines this for functions which it implements
72982     to always fail with ENOSYS.  Some functions are actually named
72983     something starting with __ and the normal name is an alias.  */
72984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72985 choke me
72986 #else
72987 char (*f) () = $ac_func;
72988 #endif
72989 #ifdef __cplusplus
72990 }
72991 #endif
72992
72993 int
72994 main ()
72995 {
72996 return f != $ac_func;
72997   ;
72998   return 0;
72999 }
73000 _ACEOF
73001 rm -f conftest.$ac_objext conftest$ac_exeext
73002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73003   (eval $ac_link) 2>conftest.er1
73004   ac_status=$?
73005   grep -v '^ *+' conftest.er1 >conftest.err
73006   rm -f conftest.er1
73007   cat conftest.err >&5
73008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73009   (exit $ac_status); } &&
73010          { ac_try='test -z "$ac_c_werror_flag"
73011                          || test ! -s conftest.err'
73012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73013   (eval $ac_try) 2>&5
73014   ac_status=$?
73015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73016   (exit $ac_status); }; } &&
73017          { ac_try='test -s conftest$ac_exeext'
73018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73019   (eval $ac_try) 2>&5
73020   ac_status=$?
73021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73022   (exit $ac_status); }; }; then
73023   eval "$as_ac_var=yes"
73024 else
73025   echo "$as_me: failed program was:" >&5
73026 sed 's/^/| /' conftest.$ac_ext >&5
73027
73028 eval "$as_ac_var=no"
73029 fi
73030 rm -f conftest.err conftest.$ac_objext \
73031       conftest$ac_exeext conftest.$ac_ext
73032 fi
73033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73035 if test `eval echo '${'$as_ac_var'}'` = yes; then
73036   cat >>confdefs.h <<_ACEOF
73037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73038 _ACEOF
73039
73040 else
73041   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
73042 fi
73043 done
73044
73045   fi
73046
73047   # Used in libmath/Makefile.am.
73048   if test -n "$LIBMATHOBJS"; then
73049     need_libmath=yes
73050   fi
73051
73052
73053
73054   # Test wchar.h for mbstate_t, which is needed for char_traits and
73055   # others even if wchar_t support is not on.
73056   echo "$as_me:$LINENO: checking for mbstate_t" >&5
73057 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
73058   cat >conftest.$ac_ext <<_ACEOF
73059 /* confdefs.h.  */
73060 _ACEOF
73061 cat confdefs.h >>conftest.$ac_ext
73062 cat >>conftest.$ac_ext <<_ACEOF
73063 /* end confdefs.h.  */
73064 #include <wchar.h>
73065 int
73066 main ()
73067 {
73068 mbstate_t teststate;
73069   ;
73070   return 0;
73071 }
73072 _ACEOF
73073 rm -f conftest.$ac_objext
73074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73075   (eval $ac_compile) 2>conftest.er1
73076   ac_status=$?
73077   grep -v '^ *+' conftest.er1 >conftest.err
73078   rm -f conftest.er1
73079   cat conftest.err >&5
73080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73081   (exit $ac_status); } &&
73082          { ac_try='test -z "$ac_c_werror_flag"
73083                          || test ! -s conftest.err'
73084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73085   (eval $ac_try) 2>&5
73086   ac_status=$?
73087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73088   (exit $ac_status); }; } &&
73089          { ac_try='test -s conftest.$ac_objext'
73090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73091   (eval $ac_try) 2>&5
73092   ac_status=$?
73093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73094   (exit $ac_status); }; }; then
73095   have_mbstate_t=yes
73096 else
73097   echo "$as_me: failed program was:" >&5
73098 sed 's/^/| /' conftest.$ac_ext >&5
73099
73100 have_mbstate_t=no
73101 fi
73102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73103   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
73104 echo "${ECHO_T}$have_mbstate_t" >&6
73105   if test x"$have_mbstate_t" = xyes; then
73106     cat >>confdefs.h <<\_ACEOF
73107 #define HAVE_MBSTATE_T 1
73108 _ACEOF
73109
73110   fi
73111
73112   # Sanity check for existence of ISO C99 headers for extended encoding.
73113
73114 for ac_header in wchar.h
73115 do
73116 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73118   echo "$as_me:$LINENO: checking for $ac_header" >&5
73119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73121   echo $ECHO_N "(cached) $ECHO_C" >&6
73122 fi
73123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73125 else
73126   # Is the header compilable?
73127 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73128 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73129 cat >conftest.$ac_ext <<_ACEOF
73130 /* confdefs.h.  */
73131 _ACEOF
73132 cat confdefs.h >>conftest.$ac_ext
73133 cat >>conftest.$ac_ext <<_ACEOF
73134 /* end confdefs.h.  */
73135 $ac_includes_default
73136 #include <$ac_header>
73137 _ACEOF
73138 rm -f conftest.$ac_objext
73139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73140   (eval $ac_compile) 2>conftest.er1
73141   ac_status=$?
73142   grep -v '^ *+' conftest.er1 >conftest.err
73143   rm -f conftest.er1
73144   cat conftest.err >&5
73145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73146   (exit $ac_status); } &&
73147          { ac_try='test -z "$ac_c_werror_flag"
73148                          || test ! -s conftest.err'
73149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73150   (eval $ac_try) 2>&5
73151   ac_status=$?
73152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73153   (exit $ac_status); }; } &&
73154          { ac_try='test -s conftest.$ac_objext'
73155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73156   (eval $ac_try) 2>&5
73157   ac_status=$?
73158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73159   (exit $ac_status); }; }; then
73160   ac_header_compiler=yes
73161 else
73162   echo "$as_me: failed program was:" >&5
73163 sed 's/^/| /' conftest.$ac_ext >&5
73164
73165 ac_header_compiler=no
73166 fi
73167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73168 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73169 echo "${ECHO_T}$ac_header_compiler" >&6
73170
73171 # Is the header present?
73172 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73173 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73174 cat >conftest.$ac_ext <<_ACEOF
73175 /* confdefs.h.  */
73176 _ACEOF
73177 cat confdefs.h >>conftest.$ac_ext
73178 cat >>conftest.$ac_ext <<_ACEOF
73179 /* end confdefs.h.  */
73180 #include <$ac_header>
73181 _ACEOF
73182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73183   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73184   ac_status=$?
73185   grep -v '^ *+' conftest.er1 >conftest.err
73186   rm -f conftest.er1
73187   cat conftest.err >&5
73188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73189   (exit $ac_status); } >/dev/null; then
73190   if test -s conftest.err; then
73191     ac_cpp_err=$ac_c_preproc_warn_flag
73192     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73193   else
73194     ac_cpp_err=
73195   fi
73196 else
73197   ac_cpp_err=yes
73198 fi
73199 if test -z "$ac_cpp_err"; then
73200   ac_header_preproc=yes
73201 else
73202   echo "$as_me: failed program was:" >&5
73203 sed 's/^/| /' conftest.$ac_ext >&5
73204
73205   ac_header_preproc=no
73206 fi
73207 rm -f conftest.err conftest.$ac_ext
73208 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73209 echo "${ECHO_T}$ac_header_preproc" >&6
73210
73211 # So?  What about this header?
73212 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73213   yes:no: )
73214     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73215 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73216     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
73217 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
73218     ac_header_preproc=yes
73219     ;;
73220   no:yes:* )
73221     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73222 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73223     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
73224 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
73225     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
73226 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
73227     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
73228 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
73229     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73230 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73231     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73232 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73233     (
73234       cat <<\_ASBOX
73235 ## ----------------------------------------- ##
73236 ## Report this to the package-unused lists.  ##
73237 ## ----------------------------------------- ##
73238 _ASBOX
73239     ) |
73240       sed "s/^/$as_me: WARNING:     /" >&2
73241     ;;
73242 esac
73243 echo "$as_me:$LINENO: checking for $ac_header" >&5
73244 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73246   echo $ECHO_N "(cached) $ECHO_C" >&6
73247 else
73248   eval "$as_ac_Header=\$ac_header_preproc"
73249 fi
73250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73251 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73252
73253 fi
73254 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73255   cat >>confdefs.h <<_ACEOF
73256 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73257 _ACEOF
73258  ac_has_wchar_h=yes
73259 else
73260   ac_has_wchar_h=no
73261 fi
73262
73263 done
73264
73265
73266 for ac_header in wctype.h
73267 do
73268 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73269 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73270   echo "$as_me:$LINENO: checking for $ac_header" >&5
73271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73272 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73273   echo $ECHO_N "(cached) $ECHO_C" >&6
73274 fi
73275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73276 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73277 else
73278   # Is the header compilable?
73279 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73280 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73281 cat >conftest.$ac_ext <<_ACEOF
73282 /* confdefs.h.  */
73283 _ACEOF
73284 cat confdefs.h >>conftest.$ac_ext
73285 cat >>conftest.$ac_ext <<_ACEOF
73286 /* end confdefs.h.  */
73287 $ac_includes_default
73288 #include <$ac_header>
73289 _ACEOF
73290 rm -f conftest.$ac_objext
73291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73292   (eval $ac_compile) 2>conftest.er1
73293   ac_status=$?
73294   grep -v '^ *+' conftest.er1 >conftest.err
73295   rm -f conftest.er1
73296   cat conftest.err >&5
73297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73298   (exit $ac_status); } &&
73299          { ac_try='test -z "$ac_c_werror_flag"
73300                          || test ! -s conftest.err'
73301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73302   (eval $ac_try) 2>&5
73303   ac_status=$?
73304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73305   (exit $ac_status); }; } &&
73306          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
73312   ac_header_compiler=yes
73313 else
73314   echo "$as_me: failed program was:" >&5
73315 sed 's/^/| /' conftest.$ac_ext >&5
73316
73317 ac_header_compiler=no
73318 fi
73319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73320 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73321 echo "${ECHO_T}$ac_header_compiler" >&6
73322
73323 # Is the header present?
73324 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73325 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73326 cat >conftest.$ac_ext <<_ACEOF
73327 /* confdefs.h.  */
73328 _ACEOF
73329 cat confdefs.h >>conftest.$ac_ext
73330 cat >>conftest.$ac_ext <<_ACEOF
73331 /* end confdefs.h.  */
73332 #include <$ac_header>
73333 _ACEOF
73334 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73335   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73336   ac_status=$?
73337   grep -v '^ *+' conftest.er1 >conftest.err
73338   rm -f conftest.er1
73339   cat conftest.err >&5
73340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73341   (exit $ac_status); } >/dev/null; then
73342   if test -s conftest.err; then
73343     ac_cpp_err=$ac_c_preproc_warn_flag
73344     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73345   else
73346     ac_cpp_err=
73347   fi
73348 else
73349   ac_cpp_err=yes
73350 fi
73351 if test -z "$ac_cpp_err"; then
73352   ac_header_preproc=yes
73353 else
73354   echo "$as_me: failed program was:" >&5
73355 sed 's/^/| /' conftest.$ac_ext >&5
73356
73357   ac_header_preproc=no
73358 fi
73359 rm -f conftest.err conftest.$ac_ext
73360 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73361 echo "${ECHO_T}$ac_header_preproc" >&6
73362
73363 # So?  What about this header?
73364 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73365   yes:no: )
73366     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73367 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73368     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
73369 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
73370     ac_header_preproc=yes
73371     ;;
73372   no:yes:* )
73373     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73374 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73375     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
73376 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
73377     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
73378 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
73379     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
73380 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
73381     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73382 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73383     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73384 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73385     (
73386       cat <<\_ASBOX
73387 ## ----------------------------------------- ##
73388 ## Report this to the package-unused lists.  ##
73389 ## ----------------------------------------- ##
73390 _ASBOX
73391     ) |
73392       sed "s/^/$as_me: WARNING:     /" >&2
73393     ;;
73394 esac
73395 echo "$as_me:$LINENO: checking for $ac_header" >&5
73396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73398   echo $ECHO_N "(cached) $ECHO_C" >&6
73399 else
73400   eval "$as_ac_Header=\$ac_header_preproc"
73401 fi
73402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73403 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73404
73405 fi
73406 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73407   cat >>confdefs.h <<_ACEOF
73408 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73409 _ACEOF
73410  ac_has_wctype_h=yes
73411 else
73412   ac_has_wctype_h=no
73413 fi
73414
73415 done
73416
73417
73418   # Only continue checking if the ISO C99 headers exist and support is on.
73419   if test x"$ac_has_wchar_h" = xyes &&
73420      test x"$ac_has_wctype_h" = xyes &&
73421      test x"$enable_c_mbchar" != xno; then
73422
73423     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
73424     # numeric_limits can instantiate type_traits<wchar_t>
73425     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
73426 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
73427     cat >conftest.$ac_ext <<_ACEOF
73428 /* confdefs.h.  */
73429 _ACEOF
73430 cat confdefs.h >>conftest.$ac_ext
73431 cat >>conftest.$ac_ext <<_ACEOF
73432 /* end confdefs.h.  */
73433 #include <wchar.h>
73434 int
73435 main ()
73436 {
73437 int i = WCHAR_MIN; int j = WCHAR_MAX;
73438   ;
73439   return 0;
73440 }
73441 _ACEOF
73442 rm -f conftest.$ac_objext
73443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73444   (eval $ac_compile) 2>conftest.er1
73445   ac_status=$?
73446   grep -v '^ *+' conftest.er1 >conftest.err
73447   rm -f conftest.er1
73448   cat conftest.err >&5
73449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73450   (exit $ac_status); } &&
73451          { ac_try='test -z "$ac_c_werror_flag"
73452                          || test ! -s conftest.err'
73453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73454   (eval $ac_try) 2>&5
73455   ac_status=$?
73456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73457   (exit $ac_status); }; } &&
73458          { ac_try='test -s conftest.$ac_objext'
73459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73460   (eval $ac_try) 2>&5
73461   ac_status=$?
73462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73463   (exit $ac_status); }; }; then
73464   has_wchar_minmax=yes
73465 else
73466   echo "$as_me: failed program was:" >&5
73467 sed 's/^/| /' conftest.$ac_ext >&5
73468
73469 has_wchar_minmax=no
73470 fi
73471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73472     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
73473 echo "${ECHO_T}$has_wchar_minmax" >&6
73474
73475     # Test wchar.h for WEOF, which is what we use to determine whether
73476     # to specialize for char_traits<wchar_t> or not.
73477     echo "$as_me:$LINENO: checking for WEOF" >&5
73478 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
73479     cat >conftest.$ac_ext <<_ACEOF
73480 /* confdefs.h.  */
73481 _ACEOF
73482 cat confdefs.h >>conftest.$ac_ext
73483 cat >>conftest.$ac_ext <<_ACEOF
73484 /* end confdefs.h.  */
73485
73486       #include <wchar.h>
73487       #include <stddef.h>
73488 int
73489 main ()
73490 {
73491 wint_t i = WEOF;
73492   ;
73493   return 0;
73494 }
73495 _ACEOF
73496 rm -f conftest.$ac_objext
73497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73498   (eval $ac_compile) 2>conftest.er1
73499   ac_status=$?
73500   grep -v '^ *+' conftest.er1 >conftest.err
73501   rm -f conftest.er1
73502   cat conftest.err >&5
73503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73504   (exit $ac_status); } &&
73505          { ac_try='test -z "$ac_c_werror_flag"
73506                          || test ! -s conftest.err'
73507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73508   (eval $ac_try) 2>&5
73509   ac_status=$?
73510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73511   (exit $ac_status); }; } &&
73512          { ac_try='test -s conftest.$ac_objext'
73513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73514   (eval $ac_try) 2>&5
73515   ac_status=$?
73516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73517   (exit $ac_status); }; }; then
73518   has_weof=yes
73519 else
73520   echo "$as_me: failed program was:" >&5
73521 sed 's/^/| /' conftest.$ac_ext >&5
73522
73523 has_weof=no
73524 fi
73525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73526     echo "$as_me:$LINENO: result: $has_weof" >&5
73527 echo "${ECHO_T}$has_weof" >&6
73528
73529     # Tests for wide character functions used in char_traits<wchar_t>.
73530     ac_wfuncs=yes
73531
73532
73533
73534
73535
73536
73537 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
73538 do
73539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73540 echo "$as_me:$LINENO: checking for $ac_func" >&5
73541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73542 if eval "test \"\${$as_ac_var+set}\" = set"; then
73543   echo $ECHO_N "(cached) $ECHO_C" >&6
73544 else
73545   if test x$gcc_no_link = xyes; then
73546   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73548    { (exit 1); exit 1; }; }
73549 fi
73550 cat >conftest.$ac_ext <<_ACEOF
73551 /* confdefs.h.  */
73552 _ACEOF
73553 cat confdefs.h >>conftest.$ac_ext
73554 cat >>conftest.$ac_ext <<_ACEOF
73555 /* end confdefs.h.  */
73556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73557    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73558 #define $ac_func innocuous_$ac_func
73559
73560 /* System header to define __stub macros and hopefully few prototypes,
73561     which can conflict with char $ac_func (); below.
73562     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73563     <limits.h> exists even on freestanding compilers.  */
73564
73565 #ifdef __STDC__
73566 # include <limits.h>
73567 #else
73568 # include <assert.h>
73569 #endif
73570
73571 #undef $ac_func
73572
73573 /* Override any gcc2 internal prototype to avoid an error.  */
73574 #ifdef __cplusplus
73575 extern "C"
73576 {
73577 #endif
73578 /* We use char because int might match the return type of a gcc2
73579    builtin and then its argument prototype would still apply.  */
73580 char $ac_func ();
73581 /* The GNU C library defines this for functions which it implements
73582     to always fail with ENOSYS.  Some functions are actually named
73583     something starting with __ and the normal name is an alias.  */
73584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73585 choke me
73586 #else
73587 char (*f) () = $ac_func;
73588 #endif
73589 #ifdef __cplusplus
73590 }
73591 #endif
73592
73593 int
73594 main ()
73595 {
73596 return f != $ac_func;
73597   ;
73598   return 0;
73599 }
73600 _ACEOF
73601 rm -f conftest.$ac_objext conftest$ac_exeext
73602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73603   (eval $ac_link) 2>conftest.er1
73604   ac_status=$?
73605   grep -v '^ *+' conftest.er1 >conftest.err
73606   rm -f conftest.er1
73607   cat conftest.err >&5
73608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73609   (exit $ac_status); } &&
73610          { ac_try='test -z "$ac_c_werror_flag"
73611                          || test ! -s conftest.err'
73612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73613   (eval $ac_try) 2>&5
73614   ac_status=$?
73615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73616   (exit $ac_status); }; } &&
73617          { ac_try='test -s conftest$ac_exeext'
73618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73619   (eval $ac_try) 2>&5
73620   ac_status=$?
73621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73622   (exit $ac_status); }; }; then
73623   eval "$as_ac_var=yes"
73624 else
73625   echo "$as_me: failed program was:" >&5
73626 sed 's/^/| /' conftest.$ac_ext >&5
73627
73628 eval "$as_ac_var=no"
73629 fi
73630 rm -f conftest.err conftest.$ac_objext \
73631       conftest$ac_exeext conftest.$ac_ext
73632 fi
73633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73635 if test `eval echo '${'$as_ac_var'}'` = yes; then
73636   cat >>confdefs.h <<_ACEOF
73637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73638 _ACEOF
73639
73640 else
73641   ac_wfuncs=no
73642 fi
73643 done
73644
73645
73646     # Checks for names injected into std:: by the c_std headers.
73647
73648
73649
73650
73651
73652
73653
73654
73655
73656
73657
73658
73659
73660
73661
73662
73663
73664
73665
73666
73667
73668
73669
73670
73671
73672
73673
73674
73675
73676
73677
73678
73679
73680
73681
73682
73683
73684
73685
73686
73687
73688
73689
73690
73691
73692
73693 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
73694     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
73695     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
73696     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
73697     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
73698     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
73699 do
73700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73701 echo "$as_me:$LINENO: checking for $ac_func" >&5
73702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73703 if eval "test \"\${$as_ac_var+set}\" = set"; then
73704   echo $ECHO_N "(cached) $ECHO_C" >&6
73705 else
73706   if test x$gcc_no_link = xyes; then
73707   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73709    { (exit 1); exit 1; }; }
73710 fi
73711 cat >conftest.$ac_ext <<_ACEOF
73712 /* confdefs.h.  */
73713 _ACEOF
73714 cat confdefs.h >>conftest.$ac_ext
73715 cat >>conftest.$ac_ext <<_ACEOF
73716 /* end confdefs.h.  */
73717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73718    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73719 #define $ac_func innocuous_$ac_func
73720
73721 /* System header to define __stub macros and hopefully few prototypes,
73722     which can conflict with char $ac_func (); below.
73723     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73724     <limits.h> exists even on freestanding compilers.  */
73725
73726 #ifdef __STDC__
73727 # include <limits.h>
73728 #else
73729 # include <assert.h>
73730 #endif
73731
73732 #undef $ac_func
73733
73734 /* Override any gcc2 internal prototype to avoid an error.  */
73735 #ifdef __cplusplus
73736 extern "C"
73737 {
73738 #endif
73739 /* We use char because int might match the return type of a gcc2
73740    builtin and then its argument prototype would still apply.  */
73741 char $ac_func ();
73742 /* The GNU C library defines this for functions which it implements
73743     to always fail with ENOSYS.  Some functions are actually named
73744     something starting with __ and the normal name is an alias.  */
73745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73746 choke me
73747 #else
73748 char (*f) () = $ac_func;
73749 #endif
73750 #ifdef __cplusplus
73751 }
73752 #endif
73753
73754 int
73755 main ()
73756 {
73757 return f != $ac_func;
73758   ;
73759   return 0;
73760 }
73761 _ACEOF
73762 rm -f conftest.$ac_objext conftest$ac_exeext
73763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73764   (eval $ac_link) 2>conftest.er1
73765   ac_status=$?
73766   grep -v '^ *+' conftest.er1 >conftest.err
73767   rm -f conftest.er1
73768   cat conftest.err >&5
73769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73770   (exit $ac_status); } &&
73771          { ac_try='test -z "$ac_c_werror_flag"
73772                          || test ! -s conftest.err'
73773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73774   (eval $ac_try) 2>&5
73775   ac_status=$?
73776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73777   (exit $ac_status); }; } &&
73778          { ac_try='test -s conftest$ac_exeext'
73779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73780   (eval $ac_try) 2>&5
73781   ac_status=$?
73782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73783   (exit $ac_status); }; }; then
73784   eval "$as_ac_var=yes"
73785 else
73786   echo "$as_me: failed program was:" >&5
73787 sed 's/^/| /' conftest.$ac_ext >&5
73788
73789 eval "$as_ac_var=no"
73790 fi
73791 rm -f conftest.err conftest.$ac_objext \
73792       conftest$ac_exeext conftest.$ac_ext
73793 fi
73794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73796 if test `eval echo '${'$as_ac_var'}'` = yes; then
73797   cat >>confdefs.h <<_ACEOF
73798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73799 _ACEOF
73800
73801 else
73802   ac_wfuncs=no
73803 fi
73804 done
73805
73806
73807     # Checks for wide character functions that are not required
73808     # for basic wchar_t support.  Don't disable support if they are missing.
73809     # Injection of these is wrapped with guard macros.
73810
73811
73812
73813
73814
73815 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
73816 do
73817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73818 echo "$as_me:$LINENO: checking for $ac_func" >&5
73819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73820 if eval "test \"\${$as_ac_var+set}\" = set"; then
73821   echo $ECHO_N "(cached) $ECHO_C" >&6
73822 else
73823   if test x$gcc_no_link = xyes; then
73824   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73826    { (exit 1); exit 1; }; }
73827 fi
73828 cat >conftest.$ac_ext <<_ACEOF
73829 /* confdefs.h.  */
73830 _ACEOF
73831 cat confdefs.h >>conftest.$ac_ext
73832 cat >>conftest.$ac_ext <<_ACEOF
73833 /* end confdefs.h.  */
73834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73835    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73836 #define $ac_func innocuous_$ac_func
73837
73838 /* System header to define __stub macros and hopefully few prototypes,
73839     which can conflict with char $ac_func (); below.
73840     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73841     <limits.h> exists even on freestanding compilers.  */
73842
73843 #ifdef __STDC__
73844 # include <limits.h>
73845 #else
73846 # include <assert.h>
73847 #endif
73848
73849 #undef $ac_func
73850
73851 /* Override any gcc2 internal prototype to avoid an error.  */
73852 #ifdef __cplusplus
73853 extern "C"
73854 {
73855 #endif
73856 /* We use char because int might match the return type of a gcc2
73857    builtin and then its argument prototype would still apply.  */
73858 char $ac_func ();
73859 /* The GNU C library defines this for functions which it implements
73860     to always fail with ENOSYS.  Some functions are actually named
73861     something starting with __ and the normal name is an alias.  */
73862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73863 choke me
73864 #else
73865 char (*f) () = $ac_func;
73866 #endif
73867 #ifdef __cplusplus
73868 }
73869 #endif
73870
73871 int
73872 main ()
73873 {
73874 return f != $ac_func;
73875   ;
73876   return 0;
73877 }
73878 _ACEOF
73879 rm -f conftest.$ac_objext conftest$ac_exeext
73880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73881   (eval $ac_link) 2>conftest.er1
73882   ac_status=$?
73883   grep -v '^ *+' conftest.er1 >conftest.err
73884   rm -f conftest.er1
73885   cat conftest.err >&5
73886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73887   (exit $ac_status); } &&
73888          { ac_try='test -z "$ac_c_werror_flag"
73889                          || test ! -s conftest.err'
73890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73891   (eval $ac_try) 2>&5
73892   ac_status=$?
73893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73894   (exit $ac_status); }; } &&
73895          { ac_try='test -s conftest$ac_exeext'
73896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73897   (eval $ac_try) 2>&5
73898   ac_status=$?
73899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73900   (exit $ac_status); }; }; then
73901   eval "$as_ac_var=yes"
73902 else
73903   echo "$as_me: failed program was:" >&5
73904 sed 's/^/| /' conftest.$ac_ext >&5
73905
73906 eval "$as_ac_var=no"
73907 fi
73908 rm -f conftest.err conftest.$ac_objext \
73909       conftest$ac_exeext conftest.$ac_ext
73910 fi
73911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73913 if test `eval echo '${'$as_ac_var'}'` = yes; then
73914   cat >>confdefs.h <<_ACEOF
73915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73916 _ACEOF
73917
73918 fi
73919 done
73920
73921
73922     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
73923 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
73924     if test x"$has_weof" = xyes &&
73925        test x"$has_wchar_minmax" = xyes &&
73926        test x"$ac_wfuncs" = xyes;
73927     then
73928       ac_isoC99_wchar_t=yes
73929     else
73930       ac_isoC99_wchar_t=no
73931     fi
73932     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
73933 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
73934
73935     # Use iconv for wchar_t to char conversions. As such, check for
73936     # X/Open Portability Guide, version 2 features (XPG2).
73937     if test "${ac_cv_header_iconv_h+set}" = set; then
73938   echo "$as_me:$LINENO: checking for iconv.h" >&5
73939 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73940 if test "${ac_cv_header_iconv_h+set}" = set; then
73941   echo $ECHO_N "(cached) $ECHO_C" >&6
73942 fi
73943 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73944 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73945 else
73946   # Is the header compilable?
73947 echo "$as_me:$LINENO: checking iconv.h usability" >&5
73948 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
73949 cat >conftest.$ac_ext <<_ACEOF
73950 /* confdefs.h.  */
73951 _ACEOF
73952 cat confdefs.h >>conftest.$ac_ext
73953 cat >>conftest.$ac_ext <<_ACEOF
73954 /* end confdefs.h.  */
73955 $ac_includes_default
73956 #include <iconv.h>
73957 _ACEOF
73958 rm -f conftest.$ac_objext
73959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73960   (eval $ac_compile) 2>conftest.er1
73961   ac_status=$?
73962   grep -v '^ *+' conftest.er1 >conftest.err
73963   rm -f conftest.er1
73964   cat conftest.err >&5
73965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73966   (exit $ac_status); } &&
73967          { ac_try='test -z "$ac_c_werror_flag"
73968                          || test ! -s conftest.err'
73969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73970   (eval $ac_try) 2>&5
73971   ac_status=$?
73972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73973   (exit $ac_status); }; } &&
73974          { ac_try='test -s conftest.$ac_objext'
73975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73976   (eval $ac_try) 2>&5
73977   ac_status=$?
73978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73979   (exit $ac_status); }; }; then
73980   ac_header_compiler=yes
73981 else
73982   echo "$as_me: failed program was:" >&5
73983 sed 's/^/| /' conftest.$ac_ext >&5
73984
73985 ac_header_compiler=no
73986 fi
73987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73988 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73989 echo "${ECHO_T}$ac_header_compiler" >&6
73990
73991 # Is the header present?
73992 echo "$as_me:$LINENO: checking iconv.h presence" >&5
73993 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
73994 cat >conftest.$ac_ext <<_ACEOF
73995 /* confdefs.h.  */
73996 _ACEOF
73997 cat confdefs.h >>conftest.$ac_ext
73998 cat >>conftest.$ac_ext <<_ACEOF
73999 /* end confdefs.h.  */
74000 #include <iconv.h>
74001 _ACEOF
74002 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74003   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74004   ac_status=$?
74005   grep -v '^ *+' conftest.er1 >conftest.err
74006   rm -f conftest.er1
74007   cat conftest.err >&5
74008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74009   (exit $ac_status); } >/dev/null; then
74010   if test -s conftest.err; then
74011     ac_cpp_err=$ac_c_preproc_warn_flag
74012     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74013   else
74014     ac_cpp_err=
74015   fi
74016 else
74017   ac_cpp_err=yes
74018 fi
74019 if test -z "$ac_cpp_err"; then
74020   ac_header_preproc=yes
74021 else
74022   echo "$as_me: failed program was:" >&5
74023 sed 's/^/| /' conftest.$ac_ext >&5
74024
74025   ac_header_preproc=no
74026 fi
74027 rm -f conftest.err conftest.$ac_ext
74028 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74029 echo "${ECHO_T}$ac_header_preproc" >&6
74030
74031 # So?  What about this header?
74032 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74033   yes:no: )
74034     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74035 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74036     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74037 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74038     ac_header_preproc=yes
74039     ;;
74040   no:yes:* )
74041     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74042 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74043     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
74044 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
74045     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74046 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74047     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
74048 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
74049     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74050 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74051     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74052 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74053     (
74054       cat <<\_ASBOX
74055 ## ----------------------------------------- ##
74056 ## Report this to the package-unused lists.  ##
74057 ## ----------------------------------------- ##
74058 _ASBOX
74059     ) |
74060       sed "s/^/$as_me: WARNING:     /" >&2
74061     ;;
74062 esac
74063 echo "$as_me:$LINENO: checking for iconv.h" >&5
74064 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74065 if test "${ac_cv_header_iconv_h+set}" = set; then
74066   echo $ECHO_N "(cached) $ECHO_C" >&6
74067 else
74068   ac_cv_header_iconv_h=$ac_header_preproc
74069 fi
74070 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74071 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74072
74073 fi
74074 if test $ac_cv_header_iconv_h = yes; then
74075   ac_has_iconv_h=yes
74076 else
74077   ac_has_iconv_h=no
74078 fi
74079
74080
74081     if test "${ac_cv_header_langinfo_h+set}" = set; then
74082   echo "$as_me:$LINENO: checking for langinfo.h" >&5
74083 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74084 if test "${ac_cv_header_langinfo_h+set}" = set; then
74085   echo $ECHO_N "(cached) $ECHO_C" >&6
74086 fi
74087 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74088 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74089 else
74090   # Is the header compilable?
74091 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74092 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74093 cat >conftest.$ac_ext <<_ACEOF
74094 /* confdefs.h.  */
74095 _ACEOF
74096 cat confdefs.h >>conftest.$ac_ext
74097 cat >>conftest.$ac_ext <<_ACEOF
74098 /* end confdefs.h.  */
74099 $ac_includes_default
74100 #include <langinfo.h>
74101 _ACEOF
74102 rm -f conftest.$ac_objext
74103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74104   (eval $ac_compile) 2>conftest.er1
74105   ac_status=$?
74106   grep -v '^ *+' conftest.er1 >conftest.err
74107   rm -f conftest.er1
74108   cat conftest.err >&5
74109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74110   (exit $ac_status); } &&
74111          { ac_try='test -z "$ac_c_werror_flag"
74112                          || test ! -s conftest.err'
74113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74114   (eval $ac_try) 2>&5
74115   ac_status=$?
74116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74117   (exit $ac_status); }; } &&
74118          { ac_try='test -s conftest.$ac_objext'
74119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74120   (eval $ac_try) 2>&5
74121   ac_status=$?
74122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74123   (exit $ac_status); }; }; then
74124   ac_header_compiler=yes
74125 else
74126   echo "$as_me: failed program was:" >&5
74127 sed 's/^/| /' conftest.$ac_ext >&5
74128
74129 ac_header_compiler=no
74130 fi
74131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74132 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74133 echo "${ECHO_T}$ac_header_compiler" >&6
74134
74135 # Is the header present?
74136 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74137 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
74138 cat >conftest.$ac_ext <<_ACEOF
74139 /* confdefs.h.  */
74140 _ACEOF
74141 cat confdefs.h >>conftest.$ac_ext
74142 cat >>conftest.$ac_ext <<_ACEOF
74143 /* end confdefs.h.  */
74144 #include <langinfo.h>
74145 _ACEOF
74146 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74147   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74148   ac_status=$?
74149   grep -v '^ *+' conftest.er1 >conftest.err
74150   rm -f conftest.er1
74151   cat conftest.err >&5
74152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74153   (exit $ac_status); } >/dev/null; then
74154   if test -s conftest.err; then
74155     ac_cpp_err=$ac_c_preproc_warn_flag
74156     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74157   else
74158     ac_cpp_err=
74159   fi
74160 else
74161   ac_cpp_err=yes
74162 fi
74163 if test -z "$ac_cpp_err"; then
74164   ac_header_preproc=yes
74165 else
74166   echo "$as_me: failed program was:" >&5
74167 sed 's/^/| /' conftest.$ac_ext >&5
74168
74169   ac_header_preproc=no
74170 fi
74171 rm -f conftest.err conftest.$ac_ext
74172 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74173 echo "${ECHO_T}$ac_header_preproc" >&6
74174
74175 # So?  What about this header?
74176 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74177   yes:no: )
74178     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
74179 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74180     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
74181 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
74182     ac_header_preproc=yes
74183     ;;
74184   no:yes:* )
74185     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
74186 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
74187     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
74188 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
74189     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
74190 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
74191     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
74192 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
74193     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
74194 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
74195     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
74196 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
74197     (
74198       cat <<\_ASBOX
74199 ## ----------------------------------------- ##
74200 ## Report this to the package-unused lists.  ##
74201 ## ----------------------------------------- ##
74202 _ASBOX
74203     ) |
74204       sed "s/^/$as_me: WARNING:     /" >&2
74205     ;;
74206 esac
74207 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74208 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74209 if test "${ac_cv_header_langinfo_h+set}" = set; then
74210   echo $ECHO_N "(cached) $ECHO_C" >&6
74211 else
74212   ac_cv_header_langinfo_h=$ac_header_preproc
74213 fi
74214 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74215 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74216
74217 fi
74218 if test $ac_cv_header_langinfo_h = yes; then
74219   ac_has_langinfo_h=yes
74220 else
74221   ac_has_langinfo_h=no
74222 fi
74223
74224
74225
74226     # Check for existence of libiconv.a providing XPG2 wchar_t support.
74227     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
74228 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
74229 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
74230   echo $ECHO_N "(cached) $ECHO_C" >&6
74231 else
74232   ac_check_lib_save_LIBS=$LIBS
74233 LIBS="-liconv  $LIBS"
74234 if test x$gcc_no_link = xyes; then
74235   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74237    { (exit 1); exit 1; }; }
74238 fi
74239 cat >conftest.$ac_ext <<_ACEOF
74240 /* confdefs.h.  */
74241 _ACEOF
74242 cat confdefs.h >>conftest.$ac_ext
74243 cat >>conftest.$ac_ext <<_ACEOF
74244 /* end confdefs.h.  */
74245
74246 /* Override any gcc2 internal prototype to avoid an error.  */
74247 #ifdef __cplusplus
74248 extern "C"
74249 #endif
74250 /* We use char because int might match the return type of a gcc2
74251    builtin and then its argument prototype would still apply.  */
74252 char iconv ();
74253 int
74254 main ()
74255 {
74256 iconv ();
74257   ;
74258   return 0;
74259 }
74260 _ACEOF
74261 rm -f conftest.$ac_objext conftest$ac_exeext
74262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74263   (eval $ac_link) 2>conftest.er1
74264   ac_status=$?
74265   grep -v '^ *+' conftest.er1 >conftest.err
74266   rm -f conftest.er1
74267   cat conftest.err >&5
74268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74269   (exit $ac_status); } &&
74270          { ac_try='test -z "$ac_c_werror_flag"
74271                          || test ! -s conftest.err'
74272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74273   (eval $ac_try) 2>&5
74274   ac_status=$?
74275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74276   (exit $ac_status); }; } &&
74277          { ac_try='test -s conftest$ac_exeext'
74278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74279   (eval $ac_try) 2>&5
74280   ac_status=$?
74281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74282   (exit $ac_status); }; }; then
74283   ac_cv_lib_iconv_iconv=yes
74284 else
74285   echo "$as_me: failed program was:" >&5
74286 sed 's/^/| /' conftest.$ac_ext >&5
74287
74288 ac_cv_lib_iconv_iconv=no
74289 fi
74290 rm -f conftest.err conftest.$ac_objext \
74291       conftest$ac_exeext conftest.$ac_ext
74292 LIBS=$ac_check_lib_save_LIBS
74293 fi
74294 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
74295 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
74296 if test $ac_cv_lib_iconv_iconv = yes; then
74297   LIBICONV="-liconv"
74298 fi
74299
74300     ac_save_LIBS="$LIBS"
74301     LIBS="$LIBS $LIBICONV"
74302
74303
74304
74305
74306
74307
74308 for ac_func in iconv_open iconv_close iconv nl_langinfo
74309 do
74310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74311 echo "$as_me:$LINENO: checking for $ac_func" >&5
74312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74313 if eval "test \"\${$as_ac_var+set}\" = set"; then
74314   echo $ECHO_N "(cached) $ECHO_C" >&6
74315 else
74316   if test x$gcc_no_link = xyes; then
74317   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74319    { (exit 1); exit 1; }; }
74320 fi
74321 cat >conftest.$ac_ext <<_ACEOF
74322 /* confdefs.h.  */
74323 _ACEOF
74324 cat confdefs.h >>conftest.$ac_ext
74325 cat >>conftest.$ac_ext <<_ACEOF
74326 /* end confdefs.h.  */
74327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74328    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74329 #define $ac_func innocuous_$ac_func
74330
74331 /* System header to define __stub macros and hopefully few prototypes,
74332     which can conflict with char $ac_func (); below.
74333     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74334     <limits.h> exists even on freestanding compilers.  */
74335
74336 #ifdef __STDC__
74337 # include <limits.h>
74338 #else
74339 # include <assert.h>
74340 #endif
74341
74342 #undef $ac_func
74343
74344 /* Override any gcc2 internal prototype to avoid an error.  */
74345 #ifdef __cplusplus
74346 extern "C"
74347 {
74348 #endif
74349 /* We use char because int might match the return type of a gcc2
74350    builtin and then its argument prototype would still apply.  */
74351 char $ac_func ();
74352 /* The GNU C library defines this for functions which it implements
74353     to always fail with ENOSYS.  Some functions are actually named
74354     something starting with __ and the normal name is an alias.  */
74355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74356 choke me
74357 #else
74358 char (*f) () = $ac_func;
74359 #endif
74360 #ifdef __cplusplus
74361 }
74362 #endif
74363
74364 int
74365 main ()
74366 {
74367 return f != $ac_func;
74368   ;
74369   return 0;
74370 }
74371 _ACEOF
74372 rm -f conftest.$ac_objext conftest$ac_exeext
74373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74374   (eval $ac_link) 2>conftest.er1
74375   ac_status=$?
74376   grep -v '^ *+' conftest.er1 >conftest.err
74377   rm -f conftest.er1
74378   cat conftest.err >&5
74379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74380   (exit $ac_status); } &&
74381          { ac_try='test -z "$ac_c_werror_flag"
74382                          || test ! -s conftest.err'
74383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74384   (eval $ac_try) 2>&5
74385   ac_status=$?
74386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74387   (exit $ac_status); }; } &&
74388          { ac_try='test -s conftest$ac_exeext'
74389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74390   (eval $ac_try) 2>&5
74391   ac_status=$?
74392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74393   (exit $ac_status); }; }; then
74394   eval "$as_ac_var=yes"
74395 else
74396   echo "$as_me: failed program was:" >&5
74397 sed 's/^/| /' conftest.$ac_ext >&5
74398
74399 eval "$as_ac_var=no"
74400 fi
74401 rm -f conftest.err conftest.$ac_objext \
74402       conftest$ac_exeext conftest.$ac_ext
74403 fi
74404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74406 if test `eval echo '${'$as_ac_var'}'` = yes; then
74407   cat >>confdefs.h <<_ACEOF
74408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74409 _ACEOF
74410  ac_XPG2funcs=yes
74411 else
74412   ac_XPG2funcs=no
74413 fi
74414 done
74415
74416
74417     LIBS="$ac_save_LIBS"
74418
74419     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
74420 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
74421     if test x"$ac_has_iconv_h" = xyes &&
74422        test x"$ac_has_langinfo_h" = xyes &&
74423        test x"$ac_XPG2funcs" = xyes;
74424     then
74425       ac_XPG2_wchar_t=yes
74426     else
74427       ac_XPG2_wchar_t=no
74428     fi
74429     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
74430 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
74431
74432     # At the moment, only enable wchar_t specializations if all the
74433     # above support is present.
74434     if test x"$ac_isoC99_wchar_t" = xyes &&
74435        test x"$ac_XPG2_wchar_t" = xyes;
74436     then
74437       cat >>confdefs.h <<\_ACEOF
74438 #define _GLIBCXX_USE_WCHAR_T 1
74439 _ACEOF
74440
74441       enable_wchar_t=yes
74442     fi
74443   fi
74444   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
74445 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
74446   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
74447 echo "${ECHO_T}$enable_wchar_t" >&6
74448
74449
74450   ac_test_CXXFLAGS="${CXXFLAGS+set}"
74451   ac_save_CXXFLAGS="$CXXFLAGS"
74452   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
74453
74454
74455   echo "$as_me:$LINENO: checking for strtold declaration" >&5
74456 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
74457   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
74458     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
74459   echo $ECHO_N "(cached) $ECHO_C" >&6
74460 else
74461
74462
74463
74464       ac_ext=cc
74465 ac_cpp='$CXXCPP $CPPFLAGS'
74466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74469
74470       cat >conftest.$ac_ext <<_ACEOF
74471 /* confdefs.h.  */
74472 _ACEOF
74473 cat confdefs.h >>conftest.$ac_ext
74474 cat >>conftest.$ac_ext <<_ACEOF
74475 /* end confdefs.h.  */
74476 #include <stdlib.h>
74477 int
74478 main ()
74479 {
74480  strtold(0, 0);
74481   ;
74482   return 0;
74483 }
74484 _ACEOF
74485 rm -f conftest.$ac_objext
74486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74487   (eval $ac_compile) 2>conftest.er1
74488   ac_status=$?
74489   grep -v '^ *+' conftest.er1 >conftest.err
74490   rm -f conftest.er1
74491   cat conftest.err >&5
74492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74493   (exit $ac_status); } &&
74494          { ac_try='test -z "$ac_cxx_werror_flag"
74495                          || test ! -s conftest.err'
74496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74497   (eval $ac_try) 2>&5
74498   ac_status=$?
74499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74500   (exit $ac_status); }; } &&
74501          { ac_try='test -s conftest.$ac_objext'
74502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74503   (eval $ac_try) 2>&5
74504   ac_status=$?
74505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74506   (exit $ac_status); }; }; then
74507   glibcxx_cv_func_strtold_use=yes
74508 else
74509   echo "$as_me: failed program was:" >&5
74510 sed 's/^/| /' conftest.$ac_ext >&5
74511
74512 glibcxx_cv_func_strtold_use=no
74513 fi
74514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74515       ac_ext=c
74516 ac_cpp='$CPP $CPPFLAGS'
74517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74520
74521
74522 fi
74523
74524   fi
74525   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
74526 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
74527   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
74528
74529 for ac_func in strtold
74530 do
74531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74532 echo "$as_me:$LINENO: checking for $ac_func" >&5
74533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74534 if eval "test \"\${$as_ac_var+set}\" = set"; then
74535   echo $ECHO_N "(cached) $ECHO_C" >&6
74536 else
74537   if test x$gcc_no_link = xyes; then
74538   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74540    { (exit 1); exit 1; }; }
74541 fi
74542 cat >conftest.$ac_ext <<_ACEOF
74543 /* confdefs.h.  */
74544 _ACEOF
74545 cat confdefs.h >>conftest.$ac_ext
74546 cat >>conftest.$ac_ext <<_ACEOF
74547 /* end confdefs.h.  */
74548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74549    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74550 #define $ac_func innocuous_$ac_func
74551
74552 /* System header to define __stub macros and hopefully few prototypes,
74553     which can conflict with char $ac_func (); below.
74554     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74555     <limits.h> exists even on freestanding compilers.  */
74556
74557 #ifdef __STDC__
74558 # include <limits.h>
74559 #else
74560 # include <assert.h>
74561 #endif
74562
74563 #undef $ac_func
74564
74565 /* Override any gcc2 internal prototype to avoid an error.  */
74566 #ifdef __cplusplus
74567 extern "C"
74568 {
74569 #endif
74570 /* We use char because int might match the return type of a gcc2
74571    builtin and then its argument prototype would still apply.  */
74572 char $ac_func ();
74573 /* The GNU C library defines this for functions which it implements
74574     to always fail with ENOSYS.  Some functions are actually named
74575     something starting with __ and the normal name is an alias.  */
74576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74577 choke me
74578 #else
74579 char (*f) () = $ac_func;
74580 #endif
74581 #ifdef __cplusplus
74582 }
74583 #endif
74584
74585 int
74586 main ()
74587 {
74588 return f != $ac_func;
74589   ;
74590   return 0;
74591 }
74592 _ACEOF
74593 rm -f conftest.$ac_objext conftest$ac_exeext
74594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74595   (eval $ac_link) 2>conftest.er1
74596   ac_status=$?
74597   grep -v '^ *+' conftest.er1 >conftest.err
74598   rm -f conftest.er1
74599   cat conftest.err >&5
74600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74601   (exit $ac_status); } &&
74602          { ac_try='test -z "$ac_c_werror_flag"
74603                          || test ! -s conftest.err'
74604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74605   (eval $ac_try) 2>&5
74606   ac_status=$?
74607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74608   (exit $ac_status); }; } &&
74609          { ac_try='test -s conftest$ac_exeext'
74610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74611   (eval $ac_try) 2>&5
74612   ac_status=$?
74613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74614   (exit $ac_status); }; }; then
74615   eval "$as_ac_var=yes"
74616 else
74617   echo "$as_me: failed program was:" >&5
74618 sed 's/^/| /' conftest.$ac_ext >&5
74619
74620 eval "$as_ac_var=no"
74621 fi
74622 rm -f conftest.err conftest.$ac_objext \
74623       conftest$ac_exeext conftest.$ac_ext
74624 fi
74625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74627 if test `eval echo '${'$as_ac_var'}'` = yes; then
74628   cat >>confdefs.h <<_ACEOF
74629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74630 _ACEOF
74631
74632 fi
74633 done
74634
74635   fi
74636
74637
74638   echo "$as_me:$LINENO: checking for strtof declaration" >&5
74639 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
74640   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
74641     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
74642   echo $ECHO_N "(cached) $ECHO_C" >&6
74643 else
74644
74645
74646
74647       ac_ext=cc
74648 ac_cpp='$CXXCPP $CPPFLAGS'
74649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74652
74653       cat >conftest.$ac_ext <<_ACEOF
74654 /* confdefs.h.  */
74655 _ACEOF
74656 cat confdefs.h >>conftest.$ac_ext
74657 cat >>conftest.$ac_ext <<_ACEOF
74658 /* end confdefs.h.  */
74659 #include <stdlib.h>
74660 int
74661 main ()
74662 {
74663  strtof(0, 0);
74664   ;
74665   return 0;
74666 }
74667 _ACEOF
74668 rm -f conftest.$ac_objext
74669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74670   (eval $ac_compile) 2>conftest.er1
74671   ac_status=$?
74672   grep -v '^ *+' conftest.er1 >conftest.err
74673   rm -f conftest.er1
74674   cat conftest.err >&5
74675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74676   (exit $ac_status); } &&
74677          { ac_try='test -z "$ac_cxx_werror_flag"
74678                          || test ! -s conftest.err'
74679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74680   (eval $ac_try) 2>&5
74681   ac_status=$?
74682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74683   (exit $ac_status); }; } &&
74684          { ac_try='test -s conftest.$ac_objext'
74685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74686   (eval $ac_try) 2>&5
74687   ac_status=$?
74688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74689   (exit $ac_status); }; }; then
74690   glibcxx_cv_func_strtof_use=yes
74691 else
74692   echo "$as_me: failed program was:" >&5
74693 sed 's/^/| /' conftest.$ac_ext >&5
74694
74695 glibcxx_cv_func_strtof_use=no
74696 fi
74697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74698       ac_ext=c
74699 ac_cpp='$CPP $CPPFLAGS'
74700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74703
74704
74705 fi
74706
74707   fi
74708   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
74709 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
74710   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
74711
74712 for ac_func in strtof
74713 do
74714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74715 echo "$as_me:$LINENO: checking for $ac_func" >&5
74716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74717 if eval "test \"\${$as_ac_var+set}\" = set"; then
74718   echo $ECHO_N "(cached) $ECHO_C" >&6
74719 else
74720   if test x$gcc_no_link = xyes; then
74721   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74723    { (exit 1); exit 1; }; }
74724 fi
74725 cat >conftest.$ac_ext <<_ACEOF
74726 /* confdefs.h.  */
74727 _ACEOF
74728 cat confdefs.h >>conftest.$ac_ext
74729 cat >>conftest.$ac_ext <<_ACEOF
74730 /* end confdefs.h.  */
74731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74732    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74733 #define $ac_func innocuous_$ac_func
74734
74735 /* System header to define __stub macros and hopefully few prototypes,
74736     which can conflict with char $ac_func (); below.
74737     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74738     <limits.h> exists even on freestanding compilers.  */
74739
74740 #ifdef __STDC__
74741 # include <limits.h>
74742 #else
74743 # include <assert.h>
74744 #endif
74745
74746 #undef $ac_func
74747
74748 /* Override any gcc2 internal prototype to avoid an error.  */
74749 #ifdef __cplusplus
74750 extern "C"
74751 {
74752 #endif
74753 /* We use char because int might match the return type of a gcc2
74754    builtin and then its argument prototype would still apply.  */
74755 char $ac_func ();
74756 /* The GNU C library defines this for functions which it implements
74757     to always fail with ENOSYS.  Some functions are actually named
74758     something starting with __ and the normal name is an alias.  */
74759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74760 choke me
74761 #else
74762 char (*f) () = $ac_func;
74763 #endif
74764 #ifdef __cplusplus
74765 }
74766 #endif
74767
74768 int
74769 main ()
74770 {
74771 return f != $ac_func;
74772   ;
74773   return 0;
74774 }
74775 _ACEOF
74776 rm -f conftest.$ac_objext conftest$ac_exeext
74777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74778   (eval $ac_link) 2>conftest.er1
74779   ac_status=$?
74780   grep -v '^ *+' conftest.er1 >conftest.err
74781   rm -f conftest.er1
74782   cat conftest.err >&5
74783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74784   (exit $ac_status); } &&
74785          { ac_try='test -z "$ac_c_werror_flag"
74786                          || test ! -s conftest.err'
74787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74788   (eval $ac_try) 2>&5
74789   ac_status=$?
74790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74791   (exit $ac_status); }; } &&
74792          { ac_try='test -s conftest$ac_exeext'
74793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74794   (eval $ac_try) 2>&5
74795   ac_status=$?
74796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74797   (exit $ac_status); }; }; then
74798   eval "$as_ac_var=yes"
74799 else
74800   echo "$as_me: failed program was:" >&5
74801 sed 's/^/| /' conftest.$ac_ext >&5
74802
74803 eval "$as_ac_var=no"
74804 fi
74805 rm -f conftest.err conftest.$ac_objext \
74806       conftest$ac_exeext conftest.$ac_ext
74807 fi
74808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74810 if test `eval echo '${'$as_ac_var'}'` = yes; then
74811   cat >>confdefs.h <<_ACEOF
74812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74813 _ACEOF
74814
74815 fi
74816 done
74817
74818   fi
74819
74820
74821   CXXFLAGS="$ac_save_CXXFLAGS"
74822
74823
74824   if test "${glibcxx_cv_S_ISREG+set}" = set; then
74825   echo $ECHO_N "(cached) $ECHO_C" >&6
74826 else
74827
74828     if test x$gcc_no_link = xyes; then
74829   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74831    { (exit 1); exit 1; }; }
74832 fi
74833 cat >conftest.$ac_ext <<_ACEOF
74834 /* confdefs.h.  */
74835 _ACEOF
74836 cat confdefs.h >>conftest.$ac_ext
74837 cat >>conftest.$ac_ext <<_ACEOF
74838 /* end confdefs.h.  */
74839 #include <sys/stat.h>
74840 int
74841 main ()
74842 {
74843 struct stat buffer;
74844        fstat(0, &buffer);
74845        S_ISREG(buffer.st_mode);
74846   ;
74847   return 0;
74848 }
74849 _ACEOF
74850 rm -f conftest.$ac_objext conftest$ac_exeext
74851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74852   (eval $ac_link) 2>conftest.er1
74853   ac_status=$?
74854   grep -v '^ *+' conftest.er1 >conftest.err
74855   rm -f conftest.er1
74856   cat conftest.err >&5
74857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74858   (exit $ac_status); } &&
74859          { ac_try='test -z "$ac_c_werror_flag"
74860                          || test ! -s conftest.err'
74861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74862   (eval $ac_try) 2>&5
74863   ac_status=$?
74864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74865   (exit $ac_status); }; } &&
74866          { ac_try='test -s conftest$ac_exeext'
74867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74868   (eval $ac_try) 2>&5
74869   ac_status=$?
74870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74871   (exit $ac_status); }; }; then
74872   glibcxx_cv_S_ISREG=yes
74873 else
74874   echo "$as_me: failed program was:" >&5
74875 sed 's/^/| /' conftest.$ac_ext >&5
74876
74877 glibcxx_cv_S_ISREG=no
74878 fi
74879 rm -f conftest.err conftest.$ac_objext \
74880       conftest$ac_exeext conftest.$ac_ext
74881
74882 fi
74883
74884   if test "${glibcxx_cv_S_IFREG+set}" = set; then
74885   echo $ECHO_N "(cached) $ECHO_C" >&6
74886 else
74887
74888     if test x$gcc_no_link = xyes; then
74889   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74891    { (exit 1); exit 1; }; }
74892 fi
74893 cat >conftest.$ac_ext <<_ACEOF
74894 /* confdefs.h.  */
74895 _ACEOF
74896 cat confdefs.h >>conftest.$ac_ext
74897 cat >>conftest.$ac_ext <<_ACEOF
74898 /* end confdefs.h.  */
74899 #include <sys/stat.h>
74900 int
74901 main ()
74902 {
74903 struct stat buffer;
74904        fstat(0, &buffer);
74905        S_IFREG & buffer.st_mode;
74906   ;
74907   return 0;
74908 }
74909 _ACEOF
74910 rm -f conftest.$ac_objext conftest$ac_exeext
74911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74912   (eval $ac_link) 2>conftest.er1
74913   ac_status=$?
74914   grep -v '^ *+' conftest.er1 >conftest.err
74915   rm -f conftest.er1
74916   cat conftest.err >&5
74917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74918   (exit $ac_status); } &&
74919          { ac_try='test -z "$ac_c_werror_flag"
74920                          || test ! -s conftest.err'
74921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74922   (eval $ac_try) 2>&5
74923   ac_status=$?
74924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74925   (exit $ac_status); }; } &&
74926          { ac_try='test -s conftest$ac_exeext'
74927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74928   (eval $ac_try) 2>&5
74929   ac_status=$?
74930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74931   (exit $ac_status); }; }; then
74932   glibcxx_cv_S_IFREG=yes
74933 else
74934   echo "$as_me: failed program was:" >&5
74935 sed 's/^/| /' conftest.$ac_ext >&5
74936
74937 glibcxx_cv_S_IFREG=no
74938 fi
74939 rm -f conftest.err conftest.$ac_objext \
74940       conftest$ac_exeext conftest.$ac_ext
74941
74942 fi
74943
74944   if test $glibcxx_cv_S_ISREG = yes; then
74945     cat >>confdefs.h <<\_ACEOF
74946 #define HAVE_S_ISREG 1
74947 _ACEOF
74948
74949   elif test $glibcxx_cv_S_IFREG = yes; then
74950     cat >>confdefs.h <<\_ACEOF
74951 #define HAVE_S_IFREG 1
74952 _ACEOF
74953
74954   fi
74955
74956     cat >>confdefs.h <<\_ACEOF
74957 #define HAVE_WRITEV 1
74958 _ACEOF
74959
74960     ;;
74961
74962   *-freebsd*)
74963
74964
74965
74966
74967
74968
74969
74970
74971
74972
74973
74974
74975
74976
74977
74978
74979 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
74980       machine/endian.h machine/param.h sys/machine.h sys/types.h \
74981       fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
74982       sys/time.h unistd.h
74983 do
74984 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
74985 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74986   echo "$as_me:$LINENO: checking for $ac_header" >&5
74987 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74989   echo $ECHO_N "(cached) $ECHO_C" >&6
74990 fi
74991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74992 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74993 else
74994   # Is the header compilable?
74995 echo "$as_me:$LINENO: checking $ac_header usability" >&5
74996 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
74997 cat >conftest.$ac_ext <<_ACEOF
74998 /* confdefs.h.  */
74999 _ACEOF
75000 cat confdefs.h >>conftest.$ac_ext
75001 cat >>conftest.$ac_ext <<_ACEOF
75002 /* end confdefs.h.  */
75003 $ac_includes_default
75004 #include <$ac_header>
75005 _ACEOF
75006 rm -f conftest.$ac_objext
75007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75008   (eval $ac_compile) 2>conftest.er1
75009   ac_status=$?
75010   grep -v '^ *+' conftest.er1 >conftest.err
75011   rm -f conftest.er1
75012   cat conftest.err >&5
75013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75014   (exit $ac_status); } &&
75015          { ac_try='test -z "$ac_c_werror_flag"
75016                          || test ! -s conftest.err'
75017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75018   (eval $ac_try) 2>&5
75019   ac_status=$?
75020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75021   (exit $ac_status); }; } &&
75022          { ac_try='test -s conftest.$ac_objext'
75023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75024   (eval $ac_try) 2>&5
75025   ac_status=$?
75026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75027   (exit $ac_status); }; }; then
75028   ac_header_compiler=yes
75029 else
75030   echo "$as_me: failed program was:" >&5
75031 sed 's/^/| /' conftest.$ac_ext >&5
75032
75033 ac_header_compiler=no
75034 fi
75035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75036 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75037 echo "${ECHO_T}$ac_header_compiler" >&6
75038
75039 # Is the header present?
75040 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75041 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75042 cat >conftest.$ac_ext <<_ACEOF
75043 /* confdefs.h.  */
75044 _ACEOF
75045 cat confdefs.h >>conftest.$ac_ext
75046 cat >>conftest.$ac_ext <<_ACEOF
75047 /* end confdefs.h.  */
75048 #include <$ac_header>
75049 _ACEOF
75050 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75051   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75052   ac_status=$?
75053   grep -v '^ *+' conftest.er1 >conftest.err
75054   rm -f conftest.er1
75055   cat conftest.err >&5
75056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75057   (exit $ac_status); } >/dev/null; then
75058   if test -s conftest.err; then
75059     ac_cpp_err=$ac_c_preproc_warn_flag
75060     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75061   else
75062     ac_cpp_err=
75063   fi
75064 else
75065   ac_cpp_err=yes
75066 fi
75067 if test -z "$ac_cpp_err"; then
75068   ac_header_preproc=yes
75069 else
75070   echo "$as_me: failed program was:" >&5
75071 sed 's/^/| /' conftest.$ac_ext >&5
75072
75073   ac_header_preproc=no
75074 fi
75075 rm -f conftest.err conftest.$ac_ext
75076 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75077 echo "${ECHO_T}$ac_header_preproc" >&6
75078
75079 # So?  What about this header?
75080 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75081   yes:no: )
75082     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75083 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75084     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75085 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75086     ac_header_preproc=yes
75087     ;;
75088   no:yes:* )
75089     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75090 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75091     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
75092 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
75093     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75094 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75095     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
75096 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
75097     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75098 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75099     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75100 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75101     (
75102       cat <<\_ASBOX
75103 ## ----------------------------------------- ##
75104 ## Report this to the package-unused lists.  ##
75105 ## ----------------------------------------- ##
75106 _ASBOX
75107     ) |
75108       sed "s/^/$as_me: WARNING:     /" >&2
75109     ;;
75110 esac
75111 echo "$as_me:$LINENO: checking for $ac_header" >&5
75112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75114   echo $ECHO_N "(cached) $ECHO_C" >&6
75115 else
75116   eval "$as_ac_Header=\$ac_header_preproc"
75117 fi
75118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75119 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75120
75121 fi
75122 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75123   cat >>confdefs.h <<_ACEOF
75124 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75125 _ACEOF
75126
75127 fi
75128
75129 done
75130
75131     SECTION_FLAGS='-ffunction-sections -fdata-sections'
75132
75133
75134   # If we're not using GNU ld, then there's no point in even trying these
75135   # tests.  Check for that first.  We should have already tested for gld
75136   # by now (in libtool), but require it now just to be safe...
75137   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75138   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75139
75140
75141
75142   # The name set by libtool depends on the version of libtool.  Shame on us
75143   # for depending on an impl detail, but c'est la vie.  Older versions used
75144   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75145   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75146   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
75147   # set (hence we're using an older libtool), then set it.
75148   if test x${with_gnu_ld+set} != xset; then
75149     if test x${ac_cv_prog_gnu_ld+set} != xset; then
75150       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
75151       with_gnu_ld=no
75152     else
75153       with_gnu_ld=$ac_cv_prog_gnu_ld
75154     fi
75155   fi
75156
75157   # Start by getting the version number.  I think the libtool test already
75158   # does some of this, but throws away the result.
75159
75160   ldver=`$LD --version 2>/dev/null | head -1 | \
75161          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75162
75163   glibcxx_gnu_ld_version=`echo $ldver | \
75164          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75165
75166   # Set --gc-sections.
75167   if test "$with_gnu_ld" = "notbroken"; then
75168     # GNU ld it is!  Joy and bunny rabbits!
75169
75170     # All these tests are for C++; save the language and the compiler flags.
75171     # Need to do this so that g++ won't try to link in libstdc++
75172     ac_test_CFLAGS="${CFLAGS+set}"
75173     ac_save_CFLAGS="$CFLAGS"
75174     CFLAGS='-x c++  -Wl,--gc-sections'
75175
75176     # Check for -Wl,--gc-sections
75177     # XXX This test is broken at the moment, as symbols required for linking
75178     # are now in libsupc++ (not built yet).  In addition, this test has
75179     # cored on solaris in the past.  In addition, --gc-sections doesn't
75180     # really work at the moment (keeps on discarding used sections, first
75181     # .eh_frame and now some of the glibc sections for iconv).
75182     # Bzzzzt.  Thanks for playing, maybe next time.
75183     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75184 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75185     if test "$cross_compiling" = yes; then
75186   ac_sectionLDflags=yes
75187 else
75188   cat >conftest.$ac_ext <<_ACEOF
75189 /* confdefs.h.  */
75190 _ACEOF
75191 cat confdefs.h >>conftest.$ac_ext
75192 cat >>conftest.$ac_ext <<_ACEOF
75193 /* end confdefs.h.  */
75194
75195      int main(void)
75196      {
75197        try { throw 1; }
75198        catch (...) { };
75199        return 0;
75200      }
75201
75202 _ACEOF
75203 rm -f conftest$ac_exeext
75204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75205   (eval $ac_link) 2>&5
75206   ac_status=$?
75207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75208   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
75209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75210   (eval $ac_try) 2>&5
75211   ac_status=$?
75212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75213   (exit $ac_status); }; }; then
75214   ac_sectionLDflags=yes
75215 else
75216   echo "$as_me: program exited with status $ac_status" >&5
75217 echo "$as_me: failed program was:" >&5
75218 sed 's/^/| /' conftest.$ac_ext >&5
75219
75220 ( exit $ac_status )
75221 ac_sectionLDflags=no
75222 fi
75223 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
75224 fi
75225     if test "$ac_test_CFLAGS" = set; then
75226       CFLAGS="$ac_save_CFLAGS"
75227     else
75228       # this is the suspicious part
75229       CFLAGS=''
75230     fi
75231     if test "$ac_sectionLDflags" = "yes"; then
75232       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75233     fi
75234     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
75235 echo "${ECHO_T}$ac_sectionLDflags" >&6
75236   fi
75237
75238   # Set linker optimization flags.
75239   if test x"$with_gnu_ld" = x"yes"; then
75240     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75241   fi
75242
75243
75244
75245
75246
75247
75248 echo "$as_me:$LINENO: checking for main in -lm" >&5
75249 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75250 if test "${ac_cv_lib_m_main+set}" = set; then
75251   echo $ECHO_N "(cached) $ECHO_C" >&6
75252 else
75253   ac_check_lib_save_LIBS=$LIBS
75254 LIBS="-lm  $LIBS"
75255 if test x$gcc_no_link = xyes; then
75256   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75258    { (exit 1); exit 1; }; }
75259 fi
75260 cat >conftest.$ac_ext <<_ACEOF
75261 /* confdefs.h.  */
75262 _ACEOF
75263 cat confdefs.h >>conftest.$ac_ext
75264 cat >>conftest.$ac_ext <<_ACEOF
75265 /* end confdefs.h.  */
75266
75267
75268 int
75269 main ()
75270 {
75271 main ();
75272   ;
75273   return 0;
75274 }
75275 _ACEOF
75276 rm -f conftest.$ac_objext conftest$ac_exeext
75277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75278   (eval $ac_link) 2>conftest.er1
75279   ac_status=$?
75280   grep -v '^ *+' conftest.er1 >conftest.err
75281   rm -f conftest.er1
75282   cat conftest.err >&5
75283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75284   (exit $ac_status); } &&
75285          { ac_try='test -z "$ac_c_werror_flag"
75286                          || test ! -s conftest.err'
75287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75288   (eval $ac_try) 2>&5
75289   ac_status=$?
75290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75291   (exit $ac_status); }; } &&
75292          { ac_try='test -s conftest$ac_exeext'
75293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75294   (eval $ac_try) 2>&5
75295   ac_status=$?
75296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75297   (exit $ac_status); }; }; then
75298   ac_cv_lib_m_main=yes
75299 else
75300   echo "$as_me: failed program was:" >&5
75301 sed 's/^/| /' conftest.$ac_ext >&5
75302
75303 ac_cv_lib_m_main=no
75304 fi
75305 rm -f conftest.err conftest.$ac_objext \
75306       conftest$ac_exeext conftest.$ac_ext
75307 LIBS=$ac_check_lib_save_LIBS
75308 fi
75309 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75310 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75311 if test $ac_cv_lib_m_main = yes; then
75312   cat >>confdefs.h <<_ACEOF
75313 #define HAVE_LIBM 1
75314 _ACEOF
75315
75316   LIBS="-lm $LIBS"
75317
75318 fi
75319
75320
75321 for ac_func in copysignf
75322 do
75323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75324 echo "$as_me:$LINENO: checking for $ac_func" >&5
75325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75326 if eval "test \"\${$as_ac_var+set}\" = set"; then
75327   echo $ECHO_N "(cached) $ECHO_C" >&6
75328 else
75329   if test x$gcc_no_link = xyes; then
75330   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75332    { (exit 1); exit 1; }; }
75333 fi
75334 cat >conftest.$ac_ext <<_ACEOF
75335 /* confdefs.h.  */
75336 _ACEOF
75337 cat confdefs.h >>conftest.$ac_ext
75338 cat >>conftest.$ac_ext <<_ACEOF
75339 /* end confdefs.h.  */
75340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75341    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75342 #define $ac_func innocuous_$ac_func
75343
75344 /* System header to define __stub macros and hopefully few prototypes,
75345     which can conflict with char $ac_func (); below.
75346     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75347     <limits.h> exists even on freestanding compilers.  */
75348
75349 #ifdef __STDC__
75350 # include <limits.h>
75351 #else
75352 # include <assert.h>
75353 #endif
75354
75355 #undef $ac_func
75356
75357 /* Override any gcc2 internal prototype to avoid an error.  */
75358 #ifdef __cplusplus
75359 extern "C"
75360 {
75361 #endif
75362 /* We use char because int might match the return type of a gcc2
75363    builtin and then its argument prototype would still apply.  */
75364 char $ac_func ();
75365 /* The GNU C library defines this for functions which it implements
75366     to always fail with ENOSYS.  Some functions are actually named
75367     something starting with __ and the normal name is an alias.  */
75368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75369 choke me
75370 #else
75371 char (*f) () = $ac_func;
75372 #endif
75373 #ifdef __cplusplus
75374 }
75375 #endif
75376
75377 int
75378 main ()
75379 {
75380 return f != $ac_func;
75381   ;
75382   return 0;
75383 }
75384 _ACEOF
75385 rm -f conftest.$ac_objext conftest$ac_exeext
75386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75387   (eval $ac_link) 2>conftest.er1
75388   ac_status=$?
75389   grep -v '^ *+' conftest.er1 >conftest.err
75390   rm -f conftest.er1
75391   cat conftest.err >&5
75392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75393   (exit $ac_status); } &&
75394          { ac_try='test -z "$ac_c_werror_flag"
75395                          || test ! -s conftest.err'
75396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75397   (eval $ac_try) 2>&5
75398   ac_status=$?
75399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75400   (exit $ac_status); }; } &&
75401          { ac_try='test -s conftest$ac_exeext'
75402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75403   (eval $ac_try) 2>&5
75404   ac_status=$?
75405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75406   (exit $ac_status); }; }; then
75407   eval "$as_ac_var=yes"
75408 else
75409   echo "$as_me: failed program was:" >&5
75410 sed 's/^/| /' conftest.$ac_ext >&5
75411
75412 eval "$as_ac_var=no"
75413 fi
75414 rm -f conftest.err conftest.$ac_objext \
75415       conftest$ac_exeext conftest.$ac_ext
75416 fi
75417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75419 if test `eval echo '${'$as_ac_var'}'` = yes; then
75420   cat >>confdefs.h <<_ACEOF
75421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75422 _ACEOF
75423
75424 else
75425   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75426 fi
75427 done
75428
75429
75430
75431 for ac_func in __signbit
75432 do
75433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75434 echo "$as_me:$LINENO: checking for $ac_func" >&5
75435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75436 if eval "test \"\${$as_ac_var+set}\" = set"; then
75437   echo $ECHO_N "(cached) $ECHO_C" >&6
75438 else
75439   if test x$gcc_no_link = xyes; then
75440   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75442    { (exit 1); exit 1; }; }
75443 fi
75444 cat >conftest.$ac_ext <<_ACEOF
75445 /* confdefs.h.  */
75446 _ACEOF
75447 cat confdefs.h >>conftest.$ac_ext
75448 cat >>conftest.$ac_ext <<_ACEOF
75449 /* end confdefs.h.  */
75450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75451    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75452 #define $ac_func innocuous_$ac_func
75453
75454 /* System header to define __stub macros and hopefully few prototypes,
75455     which can conflict with char $ac_func (); below.
75456     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75457     <limits.h> exists even on freestanding compilers.  */
75458
75459 #ifdef __STDC__
75460 # include <limits.h>
75461 #else
75462 # include <assert.h>
75463 #endif
75464
75465 #undef $ac_func
75466
75467 /* Override any gcc2 internal prototype to avoid an error.  */
75468 #ifdef __cplusplus
75469 extern "C"
75470 {
75471 #endif
75472 /* We use char because int might match the return type of a gcc2
75473    builtin and then its argument prototype would still apply.  */
75474 char $ac_func ();
75475 /* The GNU C library defines this for functions which it implements
75476     to always fail with ENOSYS.  Some functions are actually named
75477     something starting with __ and the normal name is an alias.  */
75478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75479 choke me
75480 #else
75481 char (*f) () = $ac_func;
75482 #endif
75483 #ifdef __cplusplus
75484 }
75485 #endif
75486
75487 int
75488 main ()
75489 {
75490 return f != $ac_func;
75491   ;
75492   return 0;
75493 }
75494 _ACEOF
75495 rm -f conftest.$ac_objext conftest$ac_exeext
75496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75497   (eval $ac_link) 2>conftest.er1
75498   ac_status=$?
75499   grep -v '^ *+' conftest.er1 >conftest.err
75500   rm -f conftest.er1
75501   cat conftest.err >&5
75502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75503   (exit $ac_status); } &&
75504          { ac_try='test -z "$ac_c_werror_flag"
75505                          || test ! -s conftest.err'
75506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75507   (eval $ac_try) 2>&5
75508   ac_status=$?
75509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75510   (exit $ac_status); }; } &&
75511          { ac_try='test -s conftest$ac_exeext'
75512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75513   (eval $ac_try) 2>&5
75514   ac_status=$?
75515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75516   (exit $ac_status); }; }; then
75517   eval "$as_ac_var=yes"
75518 else
75519   echo "$as_me: failed program was:" >&5
75520 sed 's/^/| /' conftest.$ac_ext >&5
75521
75522 eval "$as_ac_var=no"
75523 fi
75524 rm -f conftest.err conftest.$ac_objext \
75525       conftest$ac_exeext conftest.$ac_ext
75526 fi
75527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75529 if test `eval echo '${'$as_ac_var'}'` = yes; then
75530   cat >>confdefs.h <<_ACEOF
75531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75532 _ACEOF
75533
75534 else
75535   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
75536 fi
75537 done
75538
75539
75540
75541 for ac_func in __signbitf
75542 do
75543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75544 echo "$as_me:$LINENO: checking for $ac_func" >&5
75545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75546 if eval "test \"\${$as_ac_var+set}\" = set"; then
75547   echo $ECHO_N "(cached) $ECHO_C" >&6
75548 else
75549   if test x$gcc_no_link = xyes; then
75550   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75552    { (exit 1); exit 1; }; }
75553 fi
75554 cat >conftest.$ac_ext <<_ACEOF
75555 /* confdefs.h.  */
75556 _ACEOF
75557 cat confdefs.h >>conftest.$ac_ext
75558 cat >>conftest.$ac_ext <<_ACEOF
75559 /* end confdefs.h.  */
75560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75561    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75562 #define $ac_func innocuous_$ac_func
75563
75564 /* System header to define __stub macros and hopefully few prototypes,
75565     which can conflict with char $ac_func (); below.
75566     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75567     <limits.h> exists even on freestanding compilers.  */
75568
75569 #ifdef __STDC__
75570 # include <limits.h>
75571 #else
75572 # include <assert.h>
75573 #endif
75574
75575 #undef $ac_func
75576
75577 /* Override any gcc2 internal prototype to avoid an error.  */
75578 #ifdef __cplusplus
75579 extern "C"
75580 {
75581 #endif
75582 /* We use char because int might match the return type of a gcc2
75583    builtin and then its argument prototype would still apply.  */
75584 char $ac_func ();
75585 /* The GNU C library defines this for functions which it implements
75586     to always fail with ENOSYS.  Some functions are actually named
75587     something starting with __ and the normal name is an alias.  */
75588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75589 choke me
75590 #else
75591 char (*f) () = $ac_func;
75592 #endif
75593 #ifdef __cplusplus
75594 }
75595 #endif
75596
75597 int
75598 main ()
75599 {
75600 return f != $ac_func;
75601   ;
75602   return 0;
75603 }
75604 _ACEOF
75605 rm -f conftest.$ac_objext conftest$ac_exeext
75606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75607   (eval $ac_link) 2>conftest.er1
75608   ac_status=$?
75609   grep -v '^ *+' conftest.er1 >conftest.err
75610   rm -f conftest.er1
75611   cat conftest.err >&5
75612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75613   (exit $ac_status); } &&
75614          { ac_try='test -z "$ac_c_werror_flag"
75615                          || test ! -s conftest.err'
75616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75617   (eval $ac_try) 2>&5
75618   ac_status=$?
75619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75620   (exit $ac_status); }; } &&
75621          { ac_try='test -s conftest$ac_exeext'
75622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75623   (eval $ac_try) 2>&5
75624   ac_status=$?
75625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75626   (exit $ac_status); }; }; then
75627   eval "$as_ac_var=yes"
75628 else
75629   echo "$as_me: failed program was:" >&5
75630 sed 's/^/| /' conftest.$ac_ext >&5
75631
75632 eval "$as_ac_var=no"
75633 fi
75634 rm -f conftest.err conftest.$ac_objext \
75635       conftest$ac_exeext conftest.$ac_ext
75636 fi
75637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75639 if test `eval echo '${'$as_ac_var'}'` = yes; then
75640   cat >>confdefs.h <<_ACEOF
75641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75642 _ACEOF
75643
75644 else
75645   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
75646 fi
75647 done
75648
75649
75650           if test x$ac_cv_func_copysignl = x"yes"; then
75651
75652 for ac_func in __signbitl
75653 do
75654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75655 echo "$as_me:$LINENO: checking for $ac_func" >&5
75656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75657 if eval "test \"\${$as_ac_var+set}\" = set"; then
75658   echo $ECHO_N "(cached) $ECHO_C" >&6
75659 else
75660   if test x$gcc_no_link = xyes; then
75661   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75663    { (exit 1); exit 1; }; }
75664 fi
75665 cat >conftest.$ac_ext <<_ACEOF
75666 /* confdefs.h.  */
75667 _ACEOF
75668 cat confdefs.h >>conftest.$ac_ext
75669 cat >>conftest.$ac_ext <<_ACEOF
75670 /* end confdefs.h.  */
75671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75672    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75673 #define $ac_func innocuous_$ac_func
75674
75675 /* System header to define __stub macros and hopefully few prototypes,
75676     which can conflict with char $ac_func (); below.
75677     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75678     <limits.h> exists even on freestanding compilers.  */
75679
75680 #ifdef __STDC__
75681 # include <limits.h>
75682 #else
75683 # include <assert.h>
75684 #endif
75685
75686 #undef $ac_func
75687
75688 /* Override any gcc2 internal prototype to avoid an error.  */
75689 #ifdef __cplusplus
75690 extern "C"
75691 {
75692 #endif
75693 /* We use char because int might match the return type of a gcc2
75694    builtin and then its argument prototype would still apply.  */
75695 char $ac_func ();
75696 /* The GNU C library defines this for functions which it implements
75697     to always fail with ENOSYS.  Some functions are actually named
75698     something starting with __ and the normal name is an alias.  */
75699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75700 choke me
75701 #else
75702 char (*f) () = $ac_func;
75703 #endif
75704 #ifdef __cplusplus
75705 }
75706 #endif
75707
75708 int
75709 main ()
75710 {
75711 return f != $ac_func;
75712   ;
75713   return 0;
75714 }
75715 _ACEOF
75716 rm -f conftest.$ac_objext conftest$ac_exeext
75717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75718   (eval $ac_link) 2>conftest.er1
75719   ac_status=$?
75720   grep -v '^ *+' conftest.er1 >conftest.err
75721   rm -f conftest.er1
75722   cat conftest.err >&5
75723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75724   (exit $ac_status); } &&
75725          { ac_try='test -z "$ac_c_werror_flag"
75726                          || test ! -s conftest.err'
75727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75728   (eval $ac_try) 2>&5
75729   ac_status=$?
75730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75731   (exit $ac_status); }; } &&
75732          { ac_try='test -s conftest$ac_exeext'
75733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75734   (eval $ac_try) 2>&5
75735   ac_status=$?
75736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75737   (exit $ac_status); }; }; then
75738   eval "$as_ac_var=yes"
75739 else
75740   echo "$as_me: failed program was:" >&5
75741 sed 's/^/| /' conftest.$ac_ext >&5
75742
75743 eval "$as_ac_var=no"
75744 fi
75745 rm -f conftest.err conftest.$ac_objext \
75746       conftest$ac_exeext conftest.$ac_ext
75747 fi
75748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75750 if test `eval echo '${'$as_ac_var'}'` = yes; then
75751   cat >>confdefs.h <<_ACEOF
75752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75753 _ACEOF
75754
75755 else
75756   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
75757 fi
75758 done
75759
75760   fi
75761
75762   # Used in libmath/Makefile.am.
75763   if test -n "$LIBMATHOBJS"; then
75764     need_libmath=yes
75765   fi
75766
75767
75768
75769   # Test wchar.h for mbstate_t, which is needed for char_traits and
75770   # others even if wchar_t support is not on.
75771   echo "$as_me:$LINENO: checking for mbstate_t" >&5
75772 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
75773   cat >conftest.$ac_ext <<_ACEOF
75774 /* confdefs.h.  */
75775 _ACEOF
75776 cat confdefs.h >>conftest.$ac_ext
75777 cat >>conftest.$ac_ext <<_ACEOF
75778 /* end confdefs.h.  */
75779 #include <wchar.h>
75780 int
75781 main ()
75782 {
75783 mbstate_t teststate;
75784   ;
75785   return 0;
75786 }
75787 _ACEOF
75788 rm -f conftest.$ac_objext
75789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75790   (eval $ac_compile) 2>conftest.er1
75791   ac_status=$?
75792   grep -v '^ *+' conftest.er1 >conftest.err
75793   rm -f conftest.er1
75794   cat conftest.err >&5
75795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75796   (exit $ac_status); } &&
75797          { ac_try='test -z "$ac_c_werror_flag"
75798                          || test ! -s conftest.err'
75799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75800   (eval $ac_try) 2>&5
75801   ac_status=$?
75802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75803   (exit $ac_status); }; } &&
75804          { ac_try='test -s conftest.$ac_objext'
75805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75806   (eval $ac_try) 2>&5
75807   ac_status=$?
75808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75809   (exit $ac_status); }; }; then
75810   have_mbstate_t=yes
75811 else
75812   echo "$as_me: failed program was:" >&5
75813 sed 's/^/| /' conftest.$ac_ext >&5
75814
75815 have_mbstate_t=no
75816 fi
75817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75818   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
75819 echo "${ECHO_T}$have_mbstate_t" >&6
75820   if test x"$have_mbstate_t" = xyes; then
75821     cat >>confdefs.h <<\_ACEOF
75822 #define HAVE_MBSTATE_T 1
75823 _ACEOF
75824
75825   fi
75826
75827   # Sanity check for existence of ISO C99 headers for extended encoding.
75828
75829 for ac_header in wchar.h
75830 do
75831 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75832 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75833   echo "$as_me:$LINENO: checking for $ac_header" >&5
75834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75836   echo $ECHO_N "(cached) $ECHO_C" >&6
75837 fi
75838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75839 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75840 else
75841   # Is the header compilable?
75842 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75843 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75844 cat >conftest.$ac_ext <<_ACEOF
75845 /* confdefs.h.  */
75846 _ACEOF
75847 cat confdefs.h >>conftest.$ac_ext
75848 cat >>conftest.$ac_ext <<_ACEOF
75849 /* end confdefs.h.  */
75850 $ac_includes_default
75851 #include <$ac_header>
75852 _ACEOF
75853 rm -f conftest.$ac_objext
75854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75855   (eval $ac_compile) 2>conftest.er1
75856   ac_status=$?
75857   grep -v '^ *+' conftest.er1 >conftest.err
75858   rm -f conftest.er1
75859   cat conftest.err >&5
75860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75861   (exit $ac_status); } &&
75862          { ac_try='test -z "$ac_c_werror_flag"
75863                          || test ! -s conftest.err'
75864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75865   (eval $ac_try) 2>&5
75866   ac_status=$?
75867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75868   (exit $ac_status); }; } &&
75869          { ac_try='test -s conftest.$ac_objext'
75870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75871   (eval $ac_try) 2>&5
75872   ac_status=$?
75873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75874   (exit $ac_status); }; }; then
75875   ac_header_compiler=yes
75876 else
75877   echo "$as_me: failed program was:" >&5
75878 sed 's/^/| /' conftest.$ac_ext >&5
75879
75880 ac_header_compiler=no
75881 fi
75882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75883 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75884 echo "${ECHO_T}$ac_header_compiler" >&6
75885
75886 # Is the header present?
75887 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75888 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75889 cat >conftest.$ac_ext <<_ACEOF
75890 /* confdefs.h.  */
75891 _ACEOF
75892 cat confdefs.h >>conftest.$ac_ext
75893 cat >>conftest.$ac_ext <<_ACEOF
75894 /* end confdefs.h.  */
75895 #include <$ac_header>
75896 _ACEOF
75897 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75898   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75899   ac_status=$?
75900   grep -v '^ *+' conftest.er1 >conftest.err
75901   rm -f conftest.er1
75902   cat conftest.err >&5
75903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75904   (exit $ac_status); } >/dev/null; then
75905   if test -s conftest.err; then
75906     ac_cpp_err=$ac_c_preproc_warn_flag
75907     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75908   else
75909     ac_cpp_err=
75910   fi
75911 else
75912   ac_cpp_err=yes
75913 fi
75914 if test -z "$ac_cpp_err"; then
75915   ac_header_preproc=yes
75916 else
75917   echo "$as_me: failed program was:" >&5
75918 sed 's/^/| /' conftest.$ac_ext >&5
75919
75920   ac_header_preproc=no
75921 fi
75922 rm -f conftest.err conftest.$ac_ext
75923 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75924 echo "${ECHO_T}$ac_header_preproc" >&6
75925
75926 # So?  What about this header?
75927 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75928   yes:no: )
75929     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75930 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75931     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75932 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75933     ac_header_preproc=yes
75934     ;;
75935   no:yes:* )
75936     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75937 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75938     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
75939 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
75940     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75941 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75942     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
75943 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
75944     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75945 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75946     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75947 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75948     (
75949       cat <<\_ASBOX
75950 ## ----------------------------------------- ##
75951 ## Report this to the package-unused lists.  ##
75952 ## ----------------------------------------- ##
75953 _ASBOX
75954     ) |
75955       sed "s/^/$as_me: WARNING:     /" >&2
75956     ;;
75957 esac
75958 echo "$as_me:$LINENO: checking for $ac_header" >&5
75959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75961   echo $ECHO_N "(cached) $ECHO_C" >&6
75962 else
75963   eval "$as_ac_Header=\$ac_header_preproc"
75964 fi
75965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75966 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75967
75968 fi
75969 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75970   cat >>confdefs.h <<_ACEOF
75971 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75972 _ACEOF
75973  ac_has_wchar_h=yes
75974 else
75975   ac_has_wchar_h=no
75976 fi
75977
75978 done
75979
75980
75981 for ac_header in wctype.h
75982 do
75983 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75984 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75985   echo "$as_me:$LINENO: checking for $ac_header" >&5
75986 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75987 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75988   echo $ECHO_N "(cached) $ECHO_C" >&6
75989 fi
75990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75991 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75992 else
75993   # Is the header compilable?
75994 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75995 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75996 cat >conftest.$ac_ext <<_ACEOF
75997 /* confdefs.h.  */
75998 _ACEOF
75999 cat confdefs.h >>conftest.$ac_ext
76000 cat >>conftest.$ac_ext <<_ACEOF
76001 /* end confdefs.h.  */
76002 $ac_includes_default
76003 #include <$ac_header>
76004 _ACEOF
76005 rm -f conftest.$ac_objext
76006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76007   (eval $ac_compile) 2>conftest.er1
76008   ac_status=$?
76009   grep -v '^ *+' conftest.er1 >conftest.err
76010   rm -f conftest.er1
76011   cat conftest.err >&5
76012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76013   (exit $ac_status); } &&
76014          { ac_try='test -z "$ac_c_werror_flag"
76015                          || test ! -s conftest.err'
76016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76017   (eval $ac_try) 2>&5
76018   ac_status=$?
76019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76020   (exit $ac_status); }; } &&
76021          { ac_try='test -s conftest.$ac_objext'
76022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76023   (eval $ac_try) 2>&5
76024   ac_status=$?
76025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76026   (exit $ac_status); }; }; then
76027   ac_header_compiler=yes
76028 else
76029   echo "$as_me: failed program was:" >&5
76030 sed 's/^/| /' conftest.$ac_ext >&5
76031
76032 ac_header_compiler=no
76033 fi
76034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76035 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76036 echo "${ECHO_T}$ac_header_compiler" >&6
76037
76038 # Is the header present?
76039 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76040 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76041 cat >conftest.$ac_ext <<_ACEOF
76042 /* confdefs.h.  */
76043 _ACEOF
76044 cat confdefs.h >>conftest.$ac_ext
76045 cat >>conftest.$ac_ext <<_ACEOF
76046 /* end confdefs.h.  */
76047 #include <$ac_header>
76048 _ACEOF
76049 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76050   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76051   ac_status=$?
76052   grep -v '^ *+' conftest.er1 >conftest.err
76053   rm -f conftest.er1
76054   cat conftest.err >&5
76055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76056   (exit $ac_status); } >/dev/null; then
76057   if test -s conftest.err; then
76058     ac_cpp_err=$ac_c_preproc_warn_flag
76059     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76060   else
76061     ac_cpp_err=
76062   fi
76063 else
76064   ac_cpp_err=yes
76065 fi
76066 if test -z "$ac_cpp_err"; then
76067   ac_header_preproc=yes
76068 else
76069   echo "$as_me: failed program was:" >&5
76070 sed 's/^/| /' conftest.$ac_ext >&5
76071
76072   ac_header_preproc=no
76073 fi
76074 rm -f conftest.err conftest.$ac_ext
76075 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76076 echo "${ECHO_T}$ac_header_preproc" >&6
76077
76078 # So?  What about this header?
76079 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76080   yes:no: )
76081     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76082 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76083     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76084 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76085     ac_header_preproc=yes
76086     ;;
76087   no:yes:* )
76088     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76089 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76090     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
76091 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
76092     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76093 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76094     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
76095 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
76096     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76097 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76098     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76099 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76100     (
76101       cat <<\_ASBOX
76102 ## ----------------------------------------- ##
76103 ## Report this to the package-unused lists.  ##
76104 ## ----------------------------------------- ##
76105 _ASBOX
76106     ) |
76107       sed "s/^/$as_me: WARNING:     /" >&2
76108     ;;
76109 esac
76110 echo "$as_me:$LINENO: checking for $ac_header" >&5
76111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76113   echo $ECHO_N "(cached) $ECHO_C" >&6
76114 else
76115   eval "$as_ac_Header=\$ac_header_preproc"
76116 fi
76117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76118 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76119
76120 fi
76121 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76122   cat >>confdefs.h <<_ACEOF
76123 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76124 _ACEOF
76125  ac_has_wctype_h=yes
76126 else
76127   ac_has_wctype_h=no
76128 fi
76129
76130 done
76131
76132
76133   # Only continue checking if the ISO C99 headers exist and support is on.
76134   if test x"$ac_has_wchar_h" = xyes &&
76135      test x"$ac_has_wctype_h" = xyes &&
76136      test x"$enable_c_mbchar" != xno; then
76137
76138     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
76139     # numeric_limits can instantiate type_traits<wchar_t>
76140     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
76141 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
76142     cat >conftest.$ac_ext <<_ACEOF
76143 /* confdefs.h.  */
76144 _ACEOF
76145 cat confdefs.h >>conftest.$ac_ext
76146 cat >>conftest.$ac_ext <<_ACEOF
76147 /* end confdefs.h.  */
76148 #include <wchar.h>
76149 int
76150 main ()
76151 {
76152 int i = WCHAR_MIN; int j = WCHAR_MAX;
76153   ;
76154   return 0;
76155 }
76156 _ACEOF
76157 rm -f conftest.$ac_objext
76158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76159   (eval $ac_compile) 2>conftest.er1
76160   ac_status=$?
76161   grep -v '^ *+' conftest.er1 >conftest.err
76162   rm -f conftest.er1
76163   cat conftest.err >&5
76164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76165   (exit $ac_status); } &&
76166          { ac_try='test -z "$ac_c_werror_flag"
76167                          || test ! -s conftest.err'
76168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76169   (eval $ac_try) 2>&5
76170   ac_status=$?
76171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76172   (exit $ac_status); }; } &&
76173          { ac_try='test -s conftest.$ac_objext'
76174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76175   (eval $ac_try) 2>&5
76176   ac_status=$?
76177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76178   (exit $ac_status); }; }; then
76179   has_wchar_minmax=yes
76180 else
76181   echo "$as_me: failed program was:" >&5
76182 sed 's/^/| /' conftest.$ac_ext >&5
76183
76184 has_wchar_minmax=no
76185 fi
76186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76187     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
76188 echo "${ECHO_T}$has_wchar_minmax" >&6
76189
76190     # Test wchar.h for WEOF, which is what we use to determine whether
76191     # to specialize for char_traits<wchar_t> or not.
76192     echo "$as_me:$LINENO: checking for WEOF" >&5
76193 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
76194     cat >conftest.$ac_ext <<_ACEOF
76195 /* confdefs.h.  */
76196 _ACEOF
76197 cat confdefs.h >>conftest.$ac_ext
76198 cat >>conftest.$ac_ext <<_ACEOF
76199 /* end confdefs.h.  */
76200
76201       #include <wchar.h>
76202       #include <stddef.h>
76203 int
76204 main ()
76205 {
76206 wint_t i = WEOF;
76207   ;
76208   return 0;
76209 }
76210 _ACEOF
76211 rm -f conftest.$ac_objext
76212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76213   (eval $ac_compile) 2>conftest.er1
76214   ac_status=$?
76215   grep -v '^ *+' conftest.er1 >conftest.err
76216   rm -f conftest.er1
76217   cat conftest.err >&5
76218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76219   (exit $ac_status); } &&
76220          { ac_try='test -z "$ac_c_werror_flag"
76221                          || test ! -s conftest.err'
76222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76223   (eval $ac_try) 2>&5
76224   ac_status=$?
76225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76226   (exit $ac_status); }; } &&
76227          { ac_try='test -s conftest.$ac_objext'
76228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76229   (eval $ac_try) 2>&5
76230   ac_status=$?
76231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76232   (exit $ac_status); }; }; then
76233   has_weof=yes
76234 else
76235   echo "$as_me: failed program was:" >&5
76236 sed 's/^/| /' conftest.$ac_ext >&5
76237
76238 has_weof=no
76239 fi
76240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76241     echo "$as_me:$LINENO: result: $has_weof" >&5
76242 echo "${ECHO_T}$has_weof" >&6
76243
76244     # Tests for wide character functions used in char_traits<wchar_t>.
76245     ac_wfuncs=yes
76246
76247
76248
76249
76250
76251
76252 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
76253 do
76254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76255 echo "$as_me:$LINENO: checking for $ac_func" >&5
76256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76257 if eval "test \"\${$as_ac_var+set}\" = set"; then
76258   echo $ECHO_N "(cached) $ECHO_C" >&6
76259 else
76260   if test x$gcc_no_link = xyes; then
76261   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76263    { (exit 1); exit 1; }; }
76264 fi
76265 cat >conftest.$ac_ext <<_ACEOF
76266 /* confdefs.h.  */
76267 _ACEOF
76268 cat confdefs.h >>conftest.$ac_ext
76269 cat >>conftest.$ac_ext <<_ACEOF
76270 /* end confdefs.h.  */
76271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76272    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76273 #define $ac_func innocuous_$ac_func
76274
76275 /* System header to define __stub macros and hopefully few prototypes,
76276     which can conflict with char $ac_func (); below.
76277     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76278     <limits.h> exists even on freestanding compilers.  */
76279
76280 #ifdef __STDC__
76281 # include <limits.h>
76282 #else
76283 # include <assert.h>
76284 #endif
76285
76286 #undef $ac_func
76287
76288 /* Override any gcc2 internal prototype to avoid an error.  */
76289 #ifdef __cplusplus
76290 extern "C"
76291 {
76292 #endif
76293 /* We use char because int might match the return type of a gcc2
76294    builtin and then its argument prototype would still apply.  */
76295 char $ac_func ();
76296 /* The GNU C library defines this for functions which it implements
76297     to always fail with ENOSYS.  Some functions are actually named
76298     something starting with __ and the normal name is an alias.  */
76299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76300 choke me
76301 #else
76302 char (*f) () = $ac_func;
76303 #endif
76304 #ifdef __cplusplus
76305 }
76306 #endif
76307
76308 int
76309 main ()
76310 {
76311 return f != $ac_func;
76312   ;
76313   return 0;
76314 }
76315 _ACEOF
76316 rm -f conftest.$ac_objext conftest$ac_exeext
76317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76318   (eval $ac_link) 2>conftest.er1
76319   ac_status=$?
76320   grep -v '^ *+' conftest.er1 >conftest.err
76321   rm -f conftest.er1
76322   cat conftest.err >&5
76323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76324   (exit $ac_status); } &&
76325          { ac_try='test -z "$ac_c_werror_flag"
76326                          || test ! -s conftest.err'
76327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76328   (eval $ac_try) 2>&5
76329   ac_status=$?
76330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76331   (exit $ac_status); }; } &&
76332          { ac_try='test -s conftest$ac_exeext'
76333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76334   (eval $ac_try) 2>&5
76335   ac_status=$?
76336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76337   (exit $ac_status); }; }; then
76338   eval "$as_ac_var=yes"
76339 else
76340   echo "$as_me: failed program was:" >&5
76341 sed 's/^/| /' conftest.$ac_ext >&5
76342
76343 eval "$as_ac_var=no"
76344 fi
76345 rm -f conftest.err conftest.$ac_objext \
76346       conftest$ac_exeext conftest.$ac_ext
76347 fi
76348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76350 if test `eval echo '${'$as_ac_var'}'` = yes; then
76351   cat >>confdefs.h <<_ACEOF
76352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76353 _ACEOF
76354
76355 else
76356   ac_wfuncs=no
76357 fi
76358 done
76359
76360
76361     # Checks for names injected into std:: by the c_std headers.
76362
76363
76364
76365
76366
76367
76368
76369
76370
76371
76372
76373
76374
76375
76376
76377
76378
76379
76380
76381
76382
76383
76384
76385
76386
76387
76388
76389
76390
76391
76392
76393
76394
76395
76396
76397
76398
76399
76400
76401
76402
76403
76404
76405
76406
76407
76408 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
76409     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
76410     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
76411     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
76412     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
76413     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
76414 do
76415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76416 echo "$as_me:$LINENO: checking for $ac_func" >&5
76417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76418 if eval "test \"\${$as_ac_var+set}\" = set"; then
76419   echo $ECHO_N "(cached) $ECHO_C" >&6
76420 else
76421   if test x$gcc_no_link = xyes; then
76422   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76424    { (exit 1); exit 1; }; }
76425 fi
76426 cat >conftest.$ac_ext <<_ACEOF
76427 /* confdefs.h.  */
76428 _ACEOF
76429 cat confdefs.h >>conftest.$ac_ext
76430 cat >>conftest.$ac_ext <<_ACEOF
76431 /* end confdefs.h.  */
76432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76433    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76434 #define $ac_func innocuous_$ac_func
76435
76436 /* System header to define __stub macros and hopefully few prototypes,
76437     which can conflict with char $ac_func (); below.
76438     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76439     <limits.h> exists even on freestanding compilers.  */
76440
76441 #ifdef __STDC__
76442 # include <limits.h>
76443 #else
76444 # include <assert.h>
76445 #endif
76446
76447 #undef $ac_func
76448
76449 /* Override any gcc2 internal prototype to avoid an error.  */
76450 #ifdef __cplusplus
76451 extern "C"
76452 {
76453 #endif
76454 /* We use char because int might match the return type of a gcc2
76455    builtin and then its argument prototype would still apply.  */
76456 char $ac_func ();
76457 /* The GNU C library defines this for functions which it implements
76458     to always fail with ENOSYS.  Some functions are actually named
76459     something starting with __ and the normal name is an alias.  */
76460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76461 choke me
76462 #else
76463 char (*f) () = $ac_func;
76464 #endif
76465 #ifdef __cplusplus
76466 }
76467 #endif
76468
76469 int
76470 main ()
76471 {
76472 return f != $ac_func;
76473   ;
76474   return 0;
76475 }
76476 _ACEOF
76477 rm -f conftest.$ac_objext conftest$ac_exeext
76478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76479   (eval $ac_link) 2>conftest.er1
76480   ac_status=$?
76481   grep -v '^ *+' conftest.er1 >conftest.err
76482   rm -f conftest.er1
76483   cat conftest.err >&5
76484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76485   (exit $ac_status); } &&
76486          { ac_try='test -z "$ac_c_werror_flag"
76487                          || test ! -s conftest.err'
76488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76489   (eval $ac_try) 2>&5
76490   ac_status=$?
76491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76492   (exit $ac_status); }; } &&
76493          { ac_try='test -s conftest$ac_exeext'
76494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76495   (eval $ac_try) 2>&5
76496   ac_status=$?
76497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76498   (exit $ac_status); }; }; then
76499   eval "$as_ac_var=yes"
76500 else
76501   echo "$as_me: failed program was:" >&5
76502 sed 's/^/| /' conftest.$ac_ext >&5
76503
76504 eval "$as_ac_var=no"
76505 fi
76506 rm -f conftest.err conftest.$ac_objext \
76507       conftest$ac_exeext conftest.$ac_ext
76508 fi
76509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76511 if test `eval echo '${'$as_ac_var'}'` = yes; then
76512   cat >>confdefs.h <<_ACEOF
76513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76514 _ACEOF
76515
76516 else
76517   ac_wfuncs=no
76518 fi
76519 done
76520
76521
76522     # Checks for wide character functions that are not required
76523     # for basic wchar_t support.  Don't disable support if they are missing.
76524     # Injection of these is wrapped with guard macros.
76525
76526
76527
76528
76529
76530 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
76531 do
76532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76533 echo "$as_me:$LINENO: checking for $ac_func" >&5
76534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76535 if eval "test \"\${$as_ac_var+set}\" = set"; then
76536   echo $ECHO_N "(cached) $ECHO_C" >&6
76537 else
76538   if test x$gcc_no_link = xyes; then
76539   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76541    { (exit 1); exit 1; }; }
76542 fi
76543 cat >conftest.$ac_ext <<_ACEOF
76544 /* confdefs.h.  */
76545 _ACEOF
76546 cat confdefs.h >>conftest.$ac_ext
76547 cat >>conftest.$ac_ext <<_ACEOF
76548 /* end confdefs.h.  */
76549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76550    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76551 #define $ac_func innocuous_$ac_func
76552
76553 /* System header to define __stub macros and hopefully few prototypes,
76554     which can conflict with char $ac_func (); below.
76555     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76556     <limits.h> exists even on freestanding compilers.  */
76557
76558 #ifdef __STDC__
76559 # include <limits.h>
76560 #else
76561 # include <assert.h>
76562 #endif
76563
76564 #undef $ac_func
76565
76566 /* Override any gcc2 internal prototype to avoid an error.  */
76567 #ifdef __cplusplus
76568 extern "C"
76569 {
76570 #endif
76571 /* We use char because int might match the return type of a gcc2
76572    builtin and then its argument prototype would still apply.  */
76573 char $ac_func ();
76574 /* The GNU C library defines this for functions which it implements
76575     to always fail with ENOSYS.  Some functions are actually named
76576     something starting with __ and the normal name is an alias.  */
76577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76578 choke me
76579 #else
76580 char (*f) () = $ac_func;
76581 #endif
76582 #ifdef __cplusplus
76583 }
76584 #endif
76585
76586 int
76587 main ()
76588 {
76589 return f != $ac_func;
76590   ;
76591   return 0;
76592 }
76593 _ACEOF
76594 rm -f conftest.$ac_objext conftest$ac_exeext
76595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76596   (eval $ac_link) 2>conftest.er1
76597   ac_status=$?
76598   grep -v '^ *+' conftest.er1 >conftest.err
76599   rm -f conftest.er1
76600   cat conftest.err >&5
76601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76602   (exit $ac_status); } &&
76603          { ac_try='test -z "$ac_c_werror_flag"
76604                          || test ! -s conftest.err'
76605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76606   (eval $ac_try) 2>&5
76607   ac_status=$?
76608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76609   (exit $ac_status); }; } &&
76610          { ac_try='test -s conftest$ac_exeext'
76611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76612   (eval $ac_try) 2>&5
76613   ac_status=$?
76614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76615   (exit $ac_status); }; }; then
76616   eval "$as_ac_var=yes"
76617 else
76618   echo "$as_me: failed program was:" >&5
76619 sed 's/^/| /' conftest.$ac_ext >&5
76620
76621 eval "$as_ac_var=no"
76622 fi
76623 rm -f conftest.err conftest.$ac_objext \
76624       conftest$ac_exeext conftest.$ac_ext
76625 fi
76626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76628 if test `eval echo '${'$as_ac_var'}'` = yes; then
76629   cat >>confdefs.h <<_ACEOF
76630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76631 _ACEOF
76632
76633 fi
76634 done
76635
76636
76637     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
76638 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
76639     if test x"$has_weof" = xyes &&
76640        test x"$has_wchar_minmax" = xyes &&
76641        test x"$ac_wfuncs" = xyes;
76642     then
76643       ac_isoC99_wchar_t=yes
76644     else
76645       ac_isoC99_wchar_t=no
76646     fi
76647     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
76648 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
76649
76650     # Use iconv for wchar_t to char conversions. As such, check for
76651     # X/Open Portability Guide, version 2 features (XPG2).
76652     if test "${ac_cv_header_iconv_h+set}" = set; then
76653   echo "$as_me:$LINENO: checking for iconv.h" >&5
76654 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76655 if test "${ac_cv_header_iconv_h+set}" = set; then
76656   echo $ECHO_N "(cached) $ECHO_C" >&6
76657 fi
76658 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76659 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76660 else
76661   # Is the header compilable?
76662 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76663 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76664 cat >conftest.$ac_ext <<_ACEOF
76665 /* confdefs.h.  */
76666 _ACEOF
76667 cat confdefs.h >>conftest.$ac_ext
76668 cat >>conftest.$ac_ext <<_ACEOF
76669 /* end confdefs.h.  */
76670 $ac_includes_default
76671 #include <iconv.h>
76672 _ACEOF
76673 rm -f conftest.$ac_objext
76674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76675   (eval $ac_compile) 2>conftest.er1
76676   ac_status=$?
76677   grep -v '^ *+' conftest.er1 >conftest.err
76678   rm -f conftest.er1
76679   cat conftest.err >&5
76680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76681   (exit $ac_status); } &&
76682          { ac_try='test -z "$ac_c_werror_flag"
76683                          || test ! -s conftest.err'
76684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76685   (eval $ac_try) 2>&5
76686   ac_status=$?
76687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76688   (exit $ac_status); }; } &&
76689          { ac_try='test -s conftest.$ac_objext'
76690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76691   (eval $ac_try) 2>&5
76692   ac_status=$?
76693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76694   (exit $ac_status); }; }; then
76695   ac_header_compiler=yes
76696 else
76697   echo "$as_me: failed program was:" >&5
76698 sed 's/^/| /' conftest.$ac_ext >&5
76699
76700 ac_header_compiler=no
76701 fi
76702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76703 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76704 echo "${ECHO_T}$ac_header_compiler" >&6
76705
76706 # Is the header present?
76707 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76708 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76709 cat >conftest.$ac_ext <<_ACEOF
76710 /* confdefs.h.  */
76711 _ACEOF
76712 cat confdefs.h >>conftest.$ac_ext
76713 cat >>conftest.$ac_ext <<_ACEOF
76714 /* end confdefs.h.  */
76715 #include <iconv.h>
76716 _ACEOF
76717 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76718   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76719   ac_status=$?
76720   grep -v '^ *+' conftest.er1 >conftest.err
76721   rm -f conftest.er1
76722   cat conftest.err >&5
76723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76724   (exit $ac_status); } >/dev/null; then
76725   if test -s conftest.err; then
76726     ac_cpp_err=$ac_c_preproc_warn_flag
76727     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76728   else
76729     ac_cpp_err=
76730   fi
76731 else
76732   ac_cpp_err=yes
76733 fi
76734 if test -z "$ac_cpp_err"; then
76735   ac_header_preproc=yes
76736 else
76737   echo "$as_me: failed program was:" >&5
76738 sed 's/^/| /' conftest.$ac_ext >&5
76739
76740   ac_header_preproc=no
76741 fi
76742 rm -f conftest.err conftest.$ac_ext
76743 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76744 echo "${ECHO_T}$ac_header_preproc" >&6
76745
76746 # So?  What about this header?
76747 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76748   yes:no: )
76749     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76750 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76751     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76752 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76753     ac_header_preproc=yes
76754     ;;
76755   no:yes:* )
76756     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76757 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76758     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
76759 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
76760     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76761 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76762     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
76763 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
76764     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76765 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76766     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76767 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76768     (
76769       cat <<\_ASBOX
76770 ## ----------------------------------------- ##
76771 ## Report this to the package-unused lists.  ##
76772 ## ----------------------------------------- ##
76773 _ASBOX
76774     ) |
76775       sed "s/^/$as_me: WARNING:     /" >&2
76776     ;;
76777 esac
76778 echo "$as_me:$LINENO: checking for iconv.h" >&5
76779 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76780 if test "${ac_cv_header_iconv_h+set}" = set; then
76781   echo $ECHO_N "(cached) $ECHO_C" >&6
76782 else
76783   ac_cv_header_iconv_h=$ac_header_preproc
76784 fi
76785 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76786 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76787
76788 fi
76789 if test $ac_cv_header_iconv_h = yes; then
76790   ac_has_iconv_h=yes
76791 else
76792   ac_has_iconv_h=no
76793 fi
76794
76795
76796     if test "${ac_cv_header_langinfo_h+set}" = set; then
76797   echo "$as_me:$LINENO: checking for langinfo.h" >&5
76798 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76799 if test "${ac_cv_header_langinfo_h+set}" = set; then
76800   echo $ECHO_N "(cached) $ECHO_C" >&6
76801 fi
76802 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76803 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76804 else
76805   # Is the header compilable?
76806 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76807 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76808 cat >conftest.$ac_ext <<_ACEOF
76809 /* confdefs.h.  */
76810 _ACEOF
76811 cat confdefs.h >>conftest.$ac_ext
76812 cat >>conftest.$ac_ext <<_ACEOF
76813 /* end confdefs.h.  */
76814 $ac_includes_default
76815 #include <langinfo.h>
76816 _ACEOF
76817 rm -f conftest.$ac_objext
76818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76819   (eval $ac_compile) 2>conftest.er1
76820   ac_status=$?
76821   grep -v '^ *+' conftest.er1 >conftest.err
76822   rm -f conftest.er1
76823   cat conftest.err >&5
76824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76825   (exit $ac_status); } &&
76826          { ac_try='test -z "$ac_c_werror_flag"
76827                          || test ! -s conftest.err'
76828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76829   (eval $ac_try) 2>&5
76830   ac_status=$?
76831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76832   (exit $ac_status); }; } &&
76833          { ac_try='test -s conftest.$ac_objext'
76834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76835   (eval $ac_try) 2>&5
76836   ac_status=$?
76837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76838   (exit $ac_status); }; }; then
76839   ac_header_compiler=yes
76840 else
76841   echo "$as_me: failed program was:" >&5
76842 sed 's/^/| /' conftest.$ac_ext >&5
76843
76844 ac_header_compiler=no
76845 fi
76846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76847 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76848 echo "${ECHO_T}$ac_header_compiler" >&6
76849
76850 # Is the header present?
76851 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76852 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76853 cat >conftest.$ac_ext <<_ACEOF
76854 /* confdefs.h.  */
76855 _ACEOF
76856 cat confdefs.h >>conftest.$ac_ext
76857 cat >>conftest.$ac_ext <<_ACEOF
76858 /* end confdefs.h.  */
76859 #include <langinfo.h>
76860 _ACEOF
76861 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76862   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76863   ac_status=$?
76864   grep -v '^ *+' conftest.er1 >conftest.err
76865   rm -f conftest.er1
76866   cat conftest.err >&5
76867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76868   (exit $ac_status); } >/dev/null; then
76869   if test -s conftest.err; then
76870     ac_cpp_err=$ac_c_preproc_warn_flag
76871     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76872   else
76873     ac_cpp_err=
76874   fi
76875 else
76876   ac_cpp_err=yes
76877 fi
76878 if test -z "$ac_cpp_err"; then
76879   ac_header_preproc=yes
76880 else
76881   echo "$as_me: failed program was:" >&5
76882 sed 's/^/| /' conftest.$ac_ext >&5
76883
76884   ac_header_preproc=no
76885 fi
76886 rm -f conftest.err conftest.$ac_ext
76887 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76888 echo "${ECHO_T}$ac_header_preproc" >&6
76889
76890 # So?  What about this header?
76891 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76892   yes:no: )
76893     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76894 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76895     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76896 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76897     ac_header_preproc=yes
76898     ;;
76899   no:yes:* )
76900     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76901 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76902     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
76903 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
76904     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76905 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76906     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
76907 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
76908     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76909 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76910     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76911 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76912     (
76913       cat <<\_ASBOX
76914 ## ----------------------------------------- ##
76915 ## Report this to the package-unused lists.  ##
76916 ## ----------------------------------------- ##
76917 _ASBOX
76918     ) |
76919       sed "s/^/$as_me: WARNING:     /" >&2
76920     ;;
76921 esac
76922 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76923 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76924 if test "${ac_cv_header_langinfo_h+set}" = set; then
76925   echo $ECHO_N "(cached) $ECHO_C" >&6
76926 else
76927   ac_cv_header_langinfo_h=$ac_header_preproc
76928 fi
76929 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76930 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76931
76932 fi
76933 if test $ac_cv_header_langinfo_h = yes; then
76934   ac_has_langinfo_h=yes
76935 else
76936   ac_has_langinfo_h=no
76937 fi
76938
76939
76940
76941     # Check for existence of libiconv.a providing XPG2 wchar_t support.
76942     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76943 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76944 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76945   echo $ECHO_N "(cached) $ECHO_C" >&6
76946 else
76947   ac_check_lib_save_LIBS=$LIBS
76948 LIBS="-liconv  $LIBS"
76949 if test x$gcc_no_link = xyes; then
76950   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76952    { (exit 1); exit 1; }; }
76953 fi
76954 cat >conftest.$ac_ext <<_ACEOF
76955 /* confdefs.h.  */
76956 _ACEOF
76957 cat confdefs.h >>conftest.$ac_ext
76958 cat >>conftest.$ac_ext <<_ACEOF
76959 /* end confdefs.h.  */
76960
76961 /* Override any gcc2 internal prototype to avoid an error.  */
76962 #ifdef __cplusplus
76963 extern "C"
76964 #endif
76965 /* We use char because int might match the return type of a gcc2
76966    builtin and then its argument prototype would still apply.  */
76967 char iconv ();
76968 int
76969 main ()
76970 {
76971 iconv ();
76972   ;
76973   return 0;
76974 }
76975 _ACEOF
76976 rm -f conftest.$ac_objext conftest$ac_exeext
76977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76978   (eval $ac_link) 2>conftest.er1
76979   ac_status=$?
76980   grep -v '^ *+' conftest.er1 >conftest.err
76981   rm -f conftest.er1
76982   cat conftest.err >&5
76983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76984   (exit $ac_status); } &&
76985          { ac_try='test -z "$ac_c_werror_flag"
76986                          || test ! -s conftest.err'
76987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76988   (eval $ac_try) 2>&5
76989   ac_status=$?
76990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76991   (exit $ac_status); }; } &&
76992          { ac_try='test -s conftest$ac_exeext'
76993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76994   (eval $ac_try) 2>&5
76995   ac_status=$?
76996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76997   (exit $ac_status); }; }; then
76998   ac_cv_lib_iconv_iconv=yes
76999 else
77000   echo "$as_me: failed program was:" >&5
77001 sed 's/^/| /' conftest.$ac_ext >&5
77002
77003 ac_cv_lib_iconv_iconv=no
77004 fi
77005 rm -f conftest.err conftest.$ac_objext \
77006       conftest$ac_exeext conftest.$ac_ext
77007 LIBS=$ac_check_lib_save_LIBS
77008 fi
77009 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
77010 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
77011 if test $ac_cv_lib_iconv_iconv = yes; then
77012   LIBICONV="-liconv"
77013 fi
77014
77015     ac_save_LIBS="$LIBS"
77016     LIBS="$LIBS $LIBICONV"
77017
77018
77019
77020
77021
77022
77023 for ac_func in iconv_open iconv_close iconv nl_langinfo
77024 do
77025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77026 echo "$as_me:$LINENO: checking for $ac_func" >&5
77027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77028 if eval "test \"\${$as_ac_var+set}\" = set"; then
77029   echo $ECHO_N "(cached) $ECHO_C" >&6
77030 else
77031   if test x$gcc_no_link = xyes; then
77032   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77034    { (exit 1); exit 1; }; }
77035 fi
77036 cat >conftest.$ac_ext <<_ACEOF
77037 /* confdefs.h.  */
77038 _ACEOF
77039 cat confdefs.h >>conftest.$ac_ext
77040 cat >>conftest.$ac_ext <<_ACEOF
77041 /* end confdefs.h.  */
77042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77043    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77044 #define $ac_func innocuous_$ac_func
77045
77046 /* System header to define __stub macros and hopefully few prototypes,
77047     which can conflict with char $ac_func (); below.
77048     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77049     <limits.h> exists even on freestanding compilers.  */
77050
77051 #ifdef __STDC__
77052 # include <limits.h>
77053 #else
77054 # include <assert.h>
77055 #endif
77056
77057 #undef $ac_func
77058
77059 /* Override any gcc2 internal prototype to avoid an error.  */
77060 #ifdef __cplusplus
77061 extern "C"
77062 {
77063 #endif
77064 /* We use char because int might match the return type of a gcc2
77065    builtin and then its argument prototype would still apply.  */
77066 char $ac_func ();
77067 /* The GNU C library defines this for functions which it implements
77068     to always fail with ENOSYS.  Some functions are actually named
77069     something starting with __ and the normal name is an alias.  */
77070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77071 choke me
77072 #else
77073 char (*f) () = $ac_func;
77074 #endif
77075 #ifdef __cplusplus
77076 }
77077 #endif
77078
77079 int
77080 main ()
77081 {
77082 return f != $ac_func;
77083   ;
77084   return 0;
77085 }
77086 _ACEOF
77087 rm -f conftest.$ac_objext conftest$ac_exeext
77088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77089   (eval $ac_link) 2>conftest.er1
77090   ac_status=$?
77091   grep -v '^ *+' conftest.er1 >conftest.err
77092   rm -f conftest.er1
77093   cat conftest.err >&5
77094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77095   (exit $ac_status); } &&
77096          { ac_try='test -z "$ac_c_werror_flag"
77097                          || test ! -s conftest.err'
77098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77099   (eval $ac_try) 2>&5
77100   ac_status=$?
77101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77102   (exit $ac_status); }; } &&
77103          { ac_try='test -s conftest$ac_exeext'
77104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77105   (eval $ac_try) 2>&5
77106   ac_status=$?
77107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77108   (exit $ac_status); }; }; then
77109   eval "$as_ac_var=yes"
77110 else
77111   echo "$as_me: failed program was:" >&5
77112 sed 's/^/| /' conftest.$ac_ext >&5
77113
77114 eval "$as_ac_var=no"
77115 fi
77116 rm -f conftest.err conftest.$ac_objext \
77117       conftest$ac_exeext conftest.$ac_ext
77118 fi
77119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77121 if test `eval echo '${'$as_ac_var'}'` = yes; then
77122   cat >>confdefs.h <<_ACEOF
77123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77124 _ACEOF
77125  ac_XPG2funcs=yes
77126 else
77127   ac_XPG2funcs=no
77128 fi
77129 done
77130
77131
77132     LIBS="$ac_save_LIBS"
77133
77134     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
77135 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
77136     if test x"$ac_has_iconv_h" = xyes &&
77137        test x"$ac_has_langinfo_h" = xyes &&
77138        test x"$ac_XPG2funcs" = xyes;
77139     then
77140       ac_XPG2_wchar_t=yes
77141     else
77142       ac_XPG2_wchar_t=no
77143     fi
77144     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
77145 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
77146
77147     # At the moment, only enable wchar_t specializations if all the
77148     # above support is present.
77149     if test x"$ac_isoC99_wchar_t" = xyes &&
77150        test x"$ac_XPG2_wchar_t" = xyes;
77151     then
77152       cat >>confdefs.h <<\_ACEOF
77153 #define _GLIBCXX_USE_WCHAR_T 1
77154 _ACEOF
77155
77156       enable_wchar_t=yes
77157     fi
77158   fi
77159   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
77160 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
77161   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
77162 echo "${ECHO_T}$enable_wchar_t" >&6
77163
77164     cat >>confdefs.h <<\_ACEOF
77165 #define HAVE_LC_MESSAGES 1
77166 _ACEOF
77167
77168     cat >>confdefs.h <<\_ACEOF
77169 #define HAVE_GETPAGESIZE 1
77170 _ACEOF
77171
77172     cat >>confdefs.h <<\_ACEOF
77173 #define HAVE_SETENV 1
77174 _ACEOF
77175
77176     cat >>confdefs.h <<\_ACEOF
77177 #define HAVE_SIGSETJMP 1
77178 _ACEOF
77179
77180     cat >>confdefs.h <<\_ACEOF
77181 #define HAVE_COPYSIGN 1
77182 _ACEOF
77183
77184     cat >>confdefs.h <<\_ACEOF
77185 #define HAVE_COPYSIGNF 1
77186 _ACEOF
77187
77188     cat >>confdefs.h <<\_ACEOF
77189 #define HAVE_FINITEF 1
77190 _ACEOF
77191
77192     cat >>confdefs.h <<\_ACEOF
77193 #define HAVE_FINITE 1
77194 _ACEOF
77195
77196     cat >>confdefs.h <<\_ACEOF
77197 #define HAVE_FREXPF 1
77198 _ACEOF
77199
77200     cat >>confdefs.h <<\_ACEOF
77201 #define HAVE_HYPOT 1
77202 _ACEOF
77203
77204     cat >>confdefs.h <<\_ACEOF
77205 #define HAVE_HYPOTF 1
77206 _ACEOF
77207
77208     cat >>confdefs.h <<\_ACEOF
77209 #define HAVE_ISINF 1
77210 _ACEOF
77211
77212     cat >>confdefs.h <<\_ACEOF
77213 #define HAVE_ISNAN 1
77214 _ACEOF
77215
77216     cat >>confdefs.h <<\_ACEOF
77217 #define HAVE_ISNANF 1
77218 _ACEOF
77219
77220
77221     cat >>confdefs.h <<\_ACEOF
77222 #define HAVE_MMAP 1
77223 _ACEOF
77224
77225     cat >>confdefs.h <<\_ACEOF
77226 #define HAVE_ACOSF 1
77227 _ACEOF
77228
77229     cat >>confdefs.h <<\_ACEOF
77230 #define HAVE_ASINF 1
77231 _ACEOF
77232
77233     cat >>confdefs.h <<\_ACEOF
77234 #define HAVE_ATAN2F 1
77235 _ACEOF
77236
77237     cat >>confdefs.h <<\_ACEOF
77238 #define HAVE_ATANF 1
77239 _ACEOF
77240
77241     cat >>confdefs.h <<\_ACEOF
77242 #define HAVE_CEILF 1
77243 _ACEOF
77244
77245     cat >>confdefs.h <<\_ACEOF
77246 #define HAVE_COPYSIGN 1
77247 _ACEOF
77248
77249     cat >>confdefs.h <<\_ACEOF
77250 #define HAVE_COPYSIGNF 1
77251 _ACEOF
77252
77253     cat >>confdefs.h <<\_ACEOF
77254 #define HAVE_COSF 1
77255 _ACEOF
77256
77257     cat >>confdefs.h <<\_ACEOF
77258 #define HAVE_COSHF 1
77259 _ACEOF
77260
77261     cat >>confdefs.h <<\_ACEOF
77262 #define HAVE_EXPF 1
77263 _ACEOF
77264
77265     cat >>confdefs.h <<\_ACEOF
77266 #define HAVE_FABSF 1
77267 _ACEOF
77268
77269     cat >>confdefs.h <<\_ACEOF
77270 #define HAVE_FLOORF 1
77271 _ACEOF
77272
77273     cat >>confdefs.h <<\_ACEOF
77274 #define HAVE_FMODF 1
77275 _ACEOF
77276
77277     cat >>confdefs.h <<\_ACEOF
77278 #define HAVE_FREXPF 1
77279 _ACEOF
77280
77281     cat >>confdefs.h <<\_ACEOF
77282 #define HAVE_LDEXPF 1
77283 _ACEOF
77284
77285     cat >>confdefs.h <<\_ACEOF
77286 #define HAVE_LOG10F 1
77287 _ACEOF
77288
77289     cat >>confdefs.h <<\_ACEOF
77290 #define HAVE_LOGF 1
77291 _ACEOF
77292
77293     cat >>confdefs.h <<\_ACEOF
77294 #define HAVE_MODFF 1
77295 _ACEOF
77296
77297     cat >>confdefs.h <<\_ACEOF
77298 #define HAVE_POWF 1
77299 _ACEOF
77300
77301     cat >>confdefs.h <<\_ACEOF
77302 #define HAVE_SINF 1
77303 _ACEOF
77304
77305     cat >>confdefs.h <<\_ACEOF
77306 #define HAVE_SINHF 1
77307 _ACEOF
77308
77309     cat >>confdefs.h <<\_ACEOF
77310 #define HAVE_SQRTF 1
77311 _ACEOF
77312
77313     cat >>confdefs.h <<\_ACEOF
77314 #define HAVE_TANF 1
77315 _ACEOF
77316
77317     cat >>confdefs.h <<\_ACEOF
77318 #define HAVE_TANHF 1
77319 _ACEOF
77320
77321     if test x"long_double_math_on_this_cpu" = x"yes"; then
77322       cat >>confdefs.h <<\_ACEOF
77323 #define HAVE_FINITEL 1
77324 _ACEOF
77325
77326       cat >>confdefs.h <<\_ACEOF
77327 #define HAVE_ISINFL 1
77328 _ACEOF
77329
77330       cat >>confdefs.h <<\_ACEOF
77331 #define HAVE_ISNANL 1
77332 _ACEOF
77333
77334     fi
77335     ;;
77336   *-hpux*)
77337
77338
77339
77340
77341
77342
77343
77344
77345
77346
77347
77348
77349 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
77350       machine/endian.h machine/param.h sys/machine.h sys/types.h \
77351       fp.h locale.h float.h inttypes.h
77352 do
77353 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77355   echo "$as_me:$LINENO: checking for $ac_header" >&5
77356 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77357 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77358   echo $ECHO_N "(cached) $ECHO_C" >&6
77359 fi
77360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77361 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77362 else
77363   # Is the header compilable?
77364 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77365 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77366 cat >conftest.$ac_ext <<_ACEOF
77367 /* confdefs.h.  */
77368 _ACEOF
77369 cat confdefs.h >>conftest.$ac_ext
77370 cat >>conftest.$ac_ext <<_ACEOF
77371 /* end confdefs.h.  */
77372 $ac_includes_default
77373 #include <$ac_header>
77374 _ACEOF
77375 rm -f conftest.$ac_objext
77376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77377   (eval $ac_compile) 2>conftest.er1
77378   ac_status=$?
77379   grep -v '^ *+' conftest.er1 >conftest.err
77380   rm -f conftest.er1
77381   cat conftest.err >&5
77382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77383   (exit $ac_status); } &&
77384          { ac_try='test -z "$ac_c_werror_flag"
77385                          || test ! -s conftest.err'
77386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77387   (eval $ac_try) 2>&5
77388   ac_status=$?
77389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77390   (exit $ac_status); }; } &&
77391          { ac_try='test -s conftest.$ac_objext'
77392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77393   (eval $ac_try) 2>&5
77394   ac_status=$?
77395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77396   (exit $ac_status); }; }; then
77397   ac_header_compiler=yes
77398 else
77399   echo "$as_me: failed program was:" >&5
77400 sed 's/^/| /' conftest.$ac_ext >&5
77401
77402 ac_header_compiler=no
77403 fi
77404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77405 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77406 echo "${ECHO_T}$ac_header_compiler" >&6
77407
77408 # Is the header present?
77409 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77410 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77411 cat >conftest.$ac_ext <<_ACEOF
77412 /* confdefs.h.  */
77413 _ACEOF
77414 cat confdefs.h >>conftest.$ac_ext
77415 cat >>conftest.$ac_ext <<_ACEOF
77416 /* end confdefs.h.  */
77417 #include <$ac_header>
77418 _ACEOF
77419 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77420   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77421   ac_status=$?
77422   grep -v '^ *+' conftest.er1 >conftest.err
77423   rm -f conftest.er1
77424   cat conftest.err >&5
77425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77426   (exit $ac_status); } >/dev/null; then
77427   if test -s conftest.err; then
77428     ac_cpp_err=$ac_c_preproc_warn_flag
77429     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77430   else
77431     ac_cpp_err=
77432   fi
77433 else
77434   ac_cpp_err=yes
77435 fi
77436 if test -z "$ac_cpp_err"; then
77437   ac_header_preproc=yes
77438 else
77439   echo "$as_me: failed program was:" >&5
77440 sed 's/^/| /' conftest.$ac_ext >&5
77441
77442   ac_header_preproc=no
77443 fi
77444 rm -f conftest.err conftest.$ac_ext
77445 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77446 echo "${ECHO_T}$ac_header_preproc" >&6
77447
77448 # So?  What about this header?
77449 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77450   yes:no: )
77451     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77452 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77453     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77454 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77455     ac_header_preproc=yes
77456     ;;
77457   no:yes:* )
77458     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77459 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77460     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
77461 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
77462     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77463 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77464     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
77465 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
77466     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77467 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77468     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77469 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77470     (
77471       cat <<\_ASBOX
77472 ## ----------------------------------------- ##
77473 ## Report this to the package-unused lists.  ##
77474 ## ----------------------------------------- ##
77475 _ASBOX
77476     ) |
77477       sed "s/^/$as_me: WARNING:     /" >&2
77478     ;;
77479 esac
77480 echo "$as_me:$LINENO: checking for $ac_header" >&5
77481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77482 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77483   echo $ECHO_N "(cached) $ECHO_C" >&6
77484 else
77485   eval "$as_ac_Header=\$ac_header_preproc"
77486 fi
77487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77488 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77489
77490 fi
77491 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77492   cat >>confdefs.h <<_ACEOF
77493 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77494 _ACEOF
77495
77496 fi
77497
77498 done
77499
77500     SECTION_FLAGS='-ffunction-sections -fdata-sections'
77501
77502
77503   # If we're not using GNU ld, then there's no point in even trying these
77504   # tests.  Check for that first.  We should have already tested for gld
77505   # by now (in libtool), but require it now just to be safe...
77506   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77507   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77508
77509
77510
77511   # The name set by libtool depends on the version of libtool.  Shame on us
77512   # for depending on an impl detail, but c'est la vie.  Older versions used
77513   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77514   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77515   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
77516   # set (hence we're using an older libtool), then set it.
77517   if test x${with_gnu_ld+set} != xset; then
77518     if test x${ac_cv_prog_gnu_ld+set} != xset; then
77519       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
77520       with_gnu_ld=no
77521     else
77522       with_gnu_ld=$ac_cv_prog_gnu_ld
77523     fi
77524   fi
77525
77526   # Start by getting the version number.  I think the libtool test already
77527   # does some of this, but throws away the result.
77528
77529   ldver=`$LD --version 2>/dev/null | head -1 | \
77530          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
77531
77532   glibcxx_gnu_ld_version=`echo $ldver | \
77533          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77534
77535   # Set --gc-sections.
77536   if test "$with_gnu_ld" = "notbroken"; then
77537     # GNU ld it is!  Joy and bunny rabbits!
77538
77539     # All these tests are for C++; save the language and the compiler flags.
77540     # Need to do this so that g++ won't try to link in libstdc++
77541     ac_test_CFLAGS="${CFLAGS+set}"
77542     ac_save_CFLAGS="$CFLAGS"
77543     CFLAGS='-x c++  -Wl,--gc-sections'
77544
77545     # Check for -Wl,--gc-sections
77546     # XXX This test is broken at the moment, as symbols required for linking
77547     # are now in libsupc++ (not built yet).  In addition, this test has
77548     # cored on solaris in the past.  In addition, --gc-sections doesn't
77549     # really work at the moment (keeps on discarding used sections, first
77550     # .eh_frame and now some of the glibc sections for iconv).
77551     # Bzzzzt.  Thanks for playing, maybe next time.
77552     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77553 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77554     if test "$cross_compiling" = yes; then
77555   ac_sectionLDflags=yes
77556 else
77557   cat >conftest.$ac_ext <<_ACEOF
77558 /* confdefs.h.  */
77559 _ACEOF
77560 cat confdefs.h >>conftest.$ac_ext
77561 cat >>conftest.$ac_ext <<_ACEOF
77562 /* end confdefs.h.  */
77563
77564      int main(void)
77565      {
77566        try { throw 1; }
77567        catch (...) { };
77568        return 0;
77569      }
77570
77571 _ACEOF
77572 rm -f conftest$ac_exeext
77573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77574   (eval $ac_link) 2>&5
77575   ac_status=$?
77576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77577   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77579   (eval $ac_try) 2>&5
77580   ac_status=$?
77581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77582   (exit $ac_status); }; }; then
77583   ac_sectionLDflags=yes
77584 else
77585   echo "$as_me: program exited with status $ac_status" >&5
77586 echo "$as_me: failed program was:" >&5
77587 sed 's/^/| /' conftest.$ac_ext >&5
77588
77589 ( exit $ac_status )
77590 ac_sectionLDflags=no
77591 fi
77592 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77593 fi
77594     if test "$ac_test_CFLAGS" = set; then
77595       CFLAGS="$ac_save_CFLAGS"
77596     else
77597       # this is the suspicious part
77598       CFLAGS=''
77599     fi
77600     if test "$ac_sectionLDflags" = "yes"; then
77601       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77602     fi
77603     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
77604 echo "${ECHO_T}$ac_sectionLDflags" >&6
77605   fi
77606
77607   # Set linker optimization flags.
77608   if test x"$with_gnu_ld" = x"yes"; then
77609     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77610   fi
77611
77612
77613
77614
77615
77616
77617 echo "$as_me:$LINENO: checking for main in -lm" >&5
77618 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77619 if test "${ac_cv_lib_m_main+set}" = set; then
77620   echo $ECHO_N "(cached) $ECHO_C" >&6
77621 else
77622   ac_check_lib_save_LIBS=$LIBS
77623 LIBS="-lm  $LIBS"
77624 if test x$gcc_no_link = xyes; then
77625   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77627    { (exit 1); exit 1; }; }
77628 fi
77629 cat >conftest.$ac_ext <<_ACEOF
77630 /* confdefs.h.  */
77631 _ACEOF
77632 cat confdefs.h >>conftest.$ac_ext
77633 cat >>conftest.$ac_ext <<_ACEOF
77634 /* end confdefs.h.  */
77635
77636
77637 int
77638 main ()
77639 {
77640 main ();
77641   ;
77642   return 0;
77643 }
77644 _ACEOF
77645 rm -f conftest.$ac_objext conftest$ac_exeext
77646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77647   (eval $ac_link) 2>conftest.er1
77648   ac_status=$?
77649   grep -v '^ *+' conftest.er1 >conftest.err
77650   rm -f conftest.er1
77651   cat conftest.err >&5
77652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77653   (exit $ac_status); } &&
77654          { ac_try='test -z "$ac_c_werror_flag"
77655                          || test ! -s conftest.err'
77656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77657   (eval $ac_try) 2>&5
77658   ac_status=$?
77659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77660   (exit $ac_status); }; } &&
77661          { ac_try='test -s conftest$ac_exeext'
77662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77663   (eval $ac_try) 2>&5
77664   ac_status=$?
77665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77666   (exit $ac_status); }; }; then
77667   ac_cv_lib_m_main=yes
77668 else
77669   echo "$as_me: failed program was:" >&5
77670 sed 's/^/| /' conftest.$ac_ext >&5
77671
77672 ac_cv_lib_m_main=no
77673 fi
77674 rm -f conftest.err conftest.$ac_objext \
77675       conftest$ac_exeext conftest.$ac_ext
77676 LIBS=$ac_check_lib_save_LIBS
77677 fi
77678 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77679 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77680 if test $ac_cv_lib_m_main = yes; then
77681   cat >>confdefs.h <<_ACEOF
77682 #define HAVE_LIBM 1
77683 _ACEOF
77684
77685   LIBS="-lm $LIBS"
77686
77687 fi
77688
77689
77690 for ac_func in copysignf
77691 do
77692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77693 echo "$as_me:$LINENO: checking for $ac_func" >&5
77694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77695 if eval "test \"\${$as_ac_var+set}\" = set"; then
77696   echo $ECHO_N "(cached) $ECHO_C" >&6
77697 else
77698   if test x$gcc_no_link = xyes; then
77699   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77701    { (exit 1); exit 1; }; }
77702 fi
77703 cat >conftest.$ac_ext <<_ACEOF
77704 /* confdefs.h.  */
77705 _ACEOF
77706 cat confdefs.h >>conftest.$ac_ext
77707 cat >>conftest.$ac_ext <<_ACEOF
77708 /* end confdefs.h.  */
77709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77710    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77711 #define $ac_func innocuous_$ac_func
77712
77713 /* System header to define __stub macros and hopefully few prototypes,
77714     which can conflict with char $ac_func (); below.
77715     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77716     <limits.h> exists even on freestanding compilers.  */
77717
77718 #ifdef __STDC__
77719 # include <limits.h>
77720 #else
77721 # include <assert.h>
77722 #endif
77723
77724 #undef $ac_func
77725
77726 /* Override any gcc2 internal prototype to avoid an error.  */
77727 #ifdef __cplusplus
77728 extern "C"
77729 {
77730 #endif
77731 /* We use char because int might match the return type of a gcc2
77732    builtin and then its argument prototype would still apply.  */
77733 char $ac_func ();
77734 /* The GNU C library defines this for functions which it implements
77735     to always fail with ENOSYS.  Some functions are actually named
77736     something starting with __ and the normal name is an alias.  */
77737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77738 choke me
77739 #else
77740 char (*f) () = $ac_func;
77741 #endif
77742 #ifdef __cplusplus
77743 }
77744 #endif
77745
77746 int
77747 main ()
77748 {
77749 return f != $ac_func;
77750   ;
77751   return 0;
77752 }
77753 _ACEOF
77754 rm -f conftest.$ac_objext conftest$ac_exeext
77755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77756   (eval $ac_link) 2>conftest.er1
77757   ac_status=$?
77758   grep -v '^ *+' conftest.er1 >conftest.err
77759   rm -f conftest.er1
77760   cat conftest.err >&5
77761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77762   (exit $ac_status); } &&
77763          { ac_try='test -z "$ac_c_werror_flag"
77764                          || test ! -s conftest.err'
77765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77766   (eval $ac_try) 2>&5
77767   ac_status=$?
77768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77769   (exit $ac_status); }; } &&
77770          { ac_try='test -s conftest$ac_exeext'
77771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77772   (eval $ac_try) 2>&5
77773   ac_status=$?
77774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77775   (exit $ac_status); }; }; then
77776   eval "$as_ac_var=yes"
77777 else
77778   echo "$as_me: failed program was:" >&5
77779 sed 's/^/| /' conftest.$ac_ext >&5
77780
77781 eval "$as_ac_var=no"
77782 fi
77783 rm -f conftest.err conftest.$ac_objext \
77784       conftest$ac_exeext conftest.$ac_ext
77785 fi
77786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77788 if test `eval echo '${'$as_ac_var'}'` = yes; then
77789   cat >>confdefs.h <<_ACEOF
77790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77791 _ACEOF
77792
77793 else
77794   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77795 fi
77796 done
77797
77798
77799
77800 for ac_func in __signbit
77801 do
77802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77803 echo "$as_me:$LINENO: checking for $ac_func" >&5
77804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77805 if eval "test \"\${$as_ac_var+set}\" = set"; then
77806   echo $ECHO_N "(cached) $ECHO_C" >&6
77807 else
77808   if test x$gcc_no_link = xyes; then
77809   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77811    { (exit 1); exit 1; }; }
77812 fi
77813 cat >conftest.$ac_ext <<_ACEOF
77814 /* confdefs.h.  */
77815 _ACEOF
77816 cat confdefs.h >>conftest.$ac_ext
77817 cat >>conftest.$ac_ext <<_ACEOF
77818 /* end confdefs.h.  */
77819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77820    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77821 #define $ac_func innocuous_$ac_func
77822
77823 /* System header to define __stub macros and hopefully few prototypes,
77824     which can conflict with char $ac_func (); below.
77825     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77826     <limits.h> exists even on freestanding compilers.  */
77827
77828 #ifdef __STDC__
77829 # include <limits.h>
77830 #else
77831 # include <assert.h>
77832 #endif
77833
77834 #undef $ac_func
77835
77836 /* Override any gcc2 internal prototype to avoid an error.  */
77837 #ifdef __cplusplus
77838 extern "C"
77839 {
77840 #endif
77841 /* We use char because int might match the return type of a gcc2
77842    builtin and then its argument prototype would still apply.  */
77843 char $ac_func ();
77844 /* The GNU C library defines this for functions which it implements
77845     to always fail with ENOSYS.  Some functions are actually named
77846     something starting with __ and the normal name is an alias.  */
77847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77848 choke me
77849 #else
77850 char (*f) () = $ac_func;
77851 #endif
77852 #ifdef __cplusplus
77853 }
77854 #endif
77855
77856 int
77857 main ()
77858 {
77859 return f != $ac_func;
77860   ;
77861   return 0;
77862 }
77863 _ACEOF
77864 rm -f conftest.$ac_objext conftest$ac_exeext
77865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77866   (eval $ac_link) 2>conftest.er1
77867   ac_status=$?
77868   grep -v '^ *+' conftest.er1 >conftest.err
77869   rm -f conftest.er1
77870   cat conftest.err >&5
77871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77872   (exit $ac_status); } &&
77873          { ac_try='test -z "$ac_c_werror_flag"
77874                          || test ! -s conftest.err'
77875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77876   (eval $ac_try) 2>&5
77877   ac_status=$?
77878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77879   (exit $ac_status); }; } &&
77880          { ac_try='test -s conftest$ac_exeext'
77881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77882   (eval $ac_try) 2>&5
77883   ac_status=$?
77884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77885   (exit $ac_status); }; }; then
77886   eval "$as_ac_var=yes"
77887 else
77888   echo "$as_me: failed program was:" >&5
77889 sed 's/^/| /' conftest.$ac_ext >&5
77890
77891 eval "$as_ac_var=no"
77892 fi
77893 rm -f conftest.err conftest.$ac_objext \
77894       conftest$ac_exeext conftest.$ac_ext
77895 fi
77896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77898 if test `eval echo '${'$as_ac_var'}'` = yes; then
77899   cat >>confdefs.h <<_ACEOF
77900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77901 _ACEOF
77902
77903 else
77904   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77905 fi
77906 done
77907
77908
77909
77910 for ac_func in __signbitf
77911 do
77912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77913 echo "$as_me:$LINENO: checking for $ac_func" >&5
77914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77915 if eval "test \"\${$as_ac_var+set}\" = set"; then
77916   echo $ECHO_N "(cached) $ECHO_C" >&6
77917 else
77918   if test x$gcc_no_link = xyes; then
77919   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77921    { (exit 1); exit 1; }; }
77922 fi
77923 cat >conftest.$ac_ext <<_ACEOF
77924 /* confdefs.h.  */
77925 _ACEOF
77926 cat confdefs.h >>conftest.$ac_ext
77927 cat >>conftest.$ac_ext <<_ACEOF
77928 /* end confdefs.h.  */
77929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77930    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77931 #define $ac_func innocuous_$ac_func
77932
77933 /* System header to define __stub macros and hopefully few prototypes,
77934     which can conflict with char $ac_func (); below.
77935     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77936     <limits.h> exists even on freestanding compilers.  */
77937
77938 #ifdef __STDC__
77939 # include <limits.h>
77940 #else
77941 # include <assert.h>
77942 #endif
77943
77944 #undef $ac_func
77945
77946 /* Override any gcc2 internal prototype to avoid an error.  */
77947 #ifdef __cplusplus
77948 extern "C"
77949 {
77950 #endif
77951 /* We use char because int might match the return type of a gcc2
77952    builtin and then its argument prototype would still apply.  */
77953 char $ac_func ();
77954 /* The GNU C library defines this for functions which it implements
77955     to always fail with ENOSYS.  Some functions are actually named
77956     something starting with __ and the normal name is an alias.  */
77957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77958 choke me
77959 #else
77960 char (*f) () = $ac_func;
77961 #endif
77962 #ifdef __cplusplus
77963 }
77964 #endif
77965
77966 int
77967 main ()
77968 {
77969 return f != $ac_func;
77970   ;
77971   return 0;
77972 }
77973 _ACEOF
77974 rm -f conftest.$ac_objext conftest$ac_exeext
77975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77976   (eval $ac_link) 2>conftest.er1
77977   ac_status=$?
77978   grep -v '^ *+' conftest.er1 >conftest.err
77979   rm -f conftest.er1
77980   cat conftest.err >&5
77981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77982   (exit $ac_status); } &&
77983          { ac_try='test -z "$ac_c_werror_flag"
77984                          || test ! -s conftest.err'
77985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77986   (eval $ac_try) 2>&5
77987   ac_status=$?
77988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77989   (exit $ac_status); }; } &&
77990          { ac_try='test -s conftest$ac_exeext'
77991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77992   (eval $ac_try) 2>&5
77993   ac_status=$?
77994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77995   (exit $ac_status); }; }; then
77996   eval "$as_ac_var=yes"
77997 else
77998   echo "$as_me: failed program was:" >&5
77999 sed 's/^/| /' conftest.$ac_ext >&5
78000
78001 eval "$as_ac_var=no"
78002 fi
78003 rm -f conftest.err conftest.$ac_objext \
78004       conftest$ac_exeext conftest.$ac_ext
78005 fi
78006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78008 if test `eval echo '${'$as_ac_var'}'` = yes; then
78009   cat >>confdefs.h <<_ACEOF
78010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78011 _ACEOF
78012
78013 else
78014   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
78015 fi
78016 done
78017
78018
78019           if test x$ac_cv_func_copysignl = x"yes"; then
78020
78021 for ac_func in __signbitl
78022 do
78023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78024 echo "$as_me:$LINENO: checking for $ac_func" >&5
78025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78026 if eval "test \"\${$as_ac_var+set}\" = set"; then
78027   echo $ECHO_N "(cached) $ECHO_C" >&6
78028 else
78029   if test x$gcc_no_link = xyes; then
78030   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78032    { (exit 1); exit 1; }; }
78033 fi
78034 cat >conftest.$ac_ext <<_ACEOF
78035 /* confdefs.h.  */
78036 _ACEOF
78037 cat confdefs.h >>conftest.$ac_ext
78038 cat >>conftest.$ac_ext <<_ACEOF
78039 /* end confdefs.h.  */
78040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78041    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78042 #define $ac_func innocuous_$ac_func
78043
78044 /* System header to define __stub macros and hopefully few prototypes,
78045     which can conflict with char $ac_func (); below.
78046     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78047     <limits.h> exists even on freestanding compilers.  */
78048
78049 #ifdef __STDC__
78050 # include <limits.h>
78051 #else
78052 # include <assert.h>
78053 #endif
78054
78055 #undef $ac_func
78056
78057 /* Override any gcc2 internal prototype to avoid an error.  */
78058 #ifdef __cplusplus
78059 extern "C"
78060 {
78061 #endif
78062 /* We use char because int might match the return type of a gcc2
78063    builtin and then its argument prototype would still apply.  */
78064 char $ac_func ();
78065 /* The GNU C library defines this for functions which it implements
78066     to always fail with ENOSYS.  Some functions are actually named
78067     something starting with __ and the normal name is an alias.  */
78068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78069 choke me
78070 #else
78071 char (*f) () = $ac_func;
78072 #endif
78073 #ifdef __cplusplus
78074 }
78075 #endif
78076
78077 int
78078 main ()
78079 {
78080 return f != $ac_func;
78081   ;
78082   return 0;
78083 }
78084 _ACEOF
78085 rm -f conftest.$ac_objext conftest$ac_exeext
78086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78087   (eval $ac_link) 2>conftest.er1
78088   ac_status=$?
78089   grep -v '^ *+' conftest.er1 >conftest.err
78090   rm -f conftest.er1
78091   cat conftest.err >&5
78092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78093   (exit $ac_status); } &&
78094          { ac_try='test -z "$ac_c_werror_flag"
78095                          || test ! -s conftest.err'
78096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78097   (eval $ac_try) 2>&5
78098   ac_status=$?
78099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78100   (exit $ac_status); }; } &&
78101          { ac_try='test -s conftest$ac_exeext'
78102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78103   (eval $ac_try) 2>&5
78104   ac_status=$?
78105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78106   (exit $ac_status); }; }; then
78107   eval "$as_ac_var=yes"
78108 else
78109   echo "$as_me: failed program was:" >&5
78110 sed 's/^/| /' conftest.$ac_ext >&5
78111
78112 eval "$as_ac_var=no"
78113 fi
78114 rm -f conftest.err conftest.$ac_objext \
78115       conftest$ac_exeext conftest.$ac_ext
78116 fi
78117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78119 if test `eval echo '${'$as_ac_var'}'` = yes; then
78120   cat >>confdefs.h <<_ACEOF
78121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78122 _ACEOF
78123
78124 else
78125   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
78126 fi
78127 done
78128
78129   fi
78130
78131   # Used in libmath/Makefile.am.
78132   if test -n "$LIBMATHOBJS"; then
78133     need_libmath=yes
78134   fi
78135
78136
78137
78138   # Test wchar.h for mbstate_t, which is needed for char_traits and
78139   # others even if wchar_t support is not on.
78140   echo "$as_me:$LINENO: checking for mbstate_t" >&5
78141 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
78142   cat >conftest.$ac_ext <<_ACEOF
78143 /* confdefs.h.  */
78144 _ACEOF
78145 cat confdefs.h >>conftest.$ac_ext
78146 cat >>conftest.$ac_ext <<_ACEOF
78147 /* end confdefs.h.  */
78148 #include <wchar.h>
78149 int
78150 main ()
78151 {
78152 mbstate_t teststate;
78153   ;
78154   return 0;
78155 }
78156 _ACEOF
78157 rm -f conftest.$ac_objext
78158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78159   (eval $ac_compile) 2>conftest.er1
78160   ac_status=$?
78161   grep -v '^ *+' conftest.er1 >conftest.err
78162   rm -f conftest.er1
78163   cat conftest.err >&5
78164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78165   (exit $ac_status); } &&
78166          { ac_try='test -z "$ac_c_werror_flag"
78167                          || test ! -s conftest.err'
78168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78169   (eval $ac_try) 2>&5
78170   ac_status=$?
78171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78172   (exit $ac_status); }; } &&
78173          { ac_try='test -s conftest.$ac_objext'
78174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78175   (eval $ac_try) 2>&5
78176   ac_status=$?
78177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78178   (exit $ac_status); }; }; then
78179   have_mbstate_t=yes
78180 else
78181   echo "$as_me: failed program was:" >&5
78182 sed 's/^/| /' conftest.$ac_ext >&5
78183
78184 have_mbstate_t=no
78185 fi
78186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78187   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
78188 echo "${ECHO_T}$have_mbstate_t" >&6
78189   if test x"$have_mbstate_t" = xyes; then
78190     cat >>confdefs.h <<\_ACEOF
78191 #define HAVE_MBSTATE_T 1
78192 _ACEOF
78193
78194   fi
78195
78196   # Sanity check for existence of ISO C99 headers for extended encoding.
78197
78198 for ac_header in wchar.h
78199 do
78200 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78201 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78202   echo "$as_me:$LINENO: checking for $ac_header" >&5
78203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78205   echo $ECHO_N "(cached) $ECHO_C" >&6
78206 fi
78207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78208 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78209 else
78210   # Is the header compilable?
78211 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78212 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78213 cat >conftest.$ac_ext <<_ACEOF
78214 /* confdefs.h.  */
78215 _ACEOF
78216 cat confdefs.h >>conftest.$ac_ext
78217 cat >>conftest.$ac_ext <<_ACEOF
78218 /* end confdefs.h.  */
78219 $ac_includes_default
78220 #include <$ac_header>
78221 _ACEOF
78222 rm -f conftest.$ac_objext
78223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78224   (eval $ac_compile) 2>conftest.er1
78225   ac_status=$?
78226   grep -v '^ *+' conftest.er1 >conftest.err
78227   rm -f conftest.er1
78228   cat conftest.err >&5
78229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78230   (exit $ac_status); } &&
78231          { ac_try='test -z "$ac_c_werror_flag"
78232                          || test ! -s conftest.err'
78233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78234   (eval $ac_try) 2>&5
78235   ac_status=$?
78236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78237   (exit $ac_status); }; } &&
78238          { ac_try='test -s conftest.$ac_objext'
78239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78240   (eval $ac_try) 2>&5
78241   ac_status=$?
78242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78243   (exit $ac_status); }; }; then
78244   ac_header_compiler=yes
78245 else
78246   echo "$as_me: failed program was:" >&5
78247 sed 's/^/| /' conftest.$ac_ext >&5
78248
78249 ac_header_compiler=no
78250 fi
78251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78252 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78253 echo "${ECHO_T}$ac_header_compiler" >&6
78254
78255 # Is the header present?
78256 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78257 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78258 cat >conftest.$ac_ext <<_ACEOF
78259 /* confdefs.h.  */
78260 _ACEOF
78261 cat confdefs.h >>conftest.$ac_ext
78262 cat >>conftest.$ac_ext <<_ACEOF
78263 /* end confdefs.h.  */
78264 #include <$ac_header>
78265 _ACEOF
78266 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78267   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78268   ac_status=$?
78269   grep -v '^ *+' conftest.er1 >conftest.err
78270   rm -f conftest.er1
78271   cat conftest.err >&5
78272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78273   (exit $ac_status); } >/dev/null; then
78274   if test -s conftest.err; then
78275     ac_cpp_err=$ac_c_preproc_warn_flag
78276     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78277   else
78278     ac_cpp_err=
78279   fi
78280 else
78281   ac_cpp_err=yes
78282 fi
78283 if test -z "$ac_cpp_err"; then
78284   ac_header_preproc=yes
78285 else
78286   echo "$as_me: failed program was:" >&5
78287 sed 's/^/| /' conftest.$ac_ext >&5
78288
78289   ac_header_preproc=no
78290 fi
78291 rm -f conftest.err conftest.$ac_ext
78292 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78293 echo "${ECHO_T}$ac_header_preproc" >&6
78294
78295 # So?  What about this header?
78296 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78297   yes:no: )
78298     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78299 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78300     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78301 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78302     ac_header_preproc=yes
78303     ;;
78304   no:yes:* )
78305     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78306 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78307     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
78308 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
78309     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78310 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78311     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
78312 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
78313     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78314 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78315     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78316 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78317     (
78318       cat <<\_ASBOX
78319 ## ----------------------------------------- ##
78320 ## Report this to the package-unused lists.  ##
78321 ## ----------------------------------------- ##
78322 _ASBOX
78323     ) |
78324       sed "s/^/$as_me: WARNING:     /" >&2
78325     ;;
78326 esac
78327 echo "$as_me:$LINENO: checking for $ac_header" >&5
78328 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78330   echo $ECHO_N "(cached) $ECHO_C" >&6
78331 else
78332   eval "$as_ac_Header=\$ac_header_preproc"
78333 fi
78334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78335 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78336
78337 fi
78338 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78339   cat >>confdefs.h <<_ACEOF
78340 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78341 _ACEOF
78342  ac_has_wchar_h=yes
78343 else
78344   ac_has_wchar_h=no
78345 fi
78346
78347 done
78348
78349
78350 for ac_header in wctype.h
78351 do
78352 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78354   echo "$as_me:$LINENO: checking for $ac_header" >&5
78355 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78357   echo $ECHO_N "(cached) $ECHO_C" >&6
78358 fi
78359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78360 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78361 else
78362   # Is the header compilable?
78363 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78364 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78365 cat >conftest.$ac_ext <<_ACEOF
78366 /* confdefs.h.  */
78367 _ACEOF
78368 cat confdefs.h >>conftest.$ac_ext
78369 cat >>conftest.$ac_ext <<_ACEOF
78370 /* end confdefs.h.  */
78371 $ac_includes_default
78372 #include <$ac_header>
78373 _ACEOF
78374 rm -f conftest.$ac_objext
78375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78376   (eval $ac_compile) 2>conftest.er1
78377   ac_status=$?
78378   grep -v '^ *+' conftest.er1 >conftest.err
78379   rm -f conftest.er1
78380   cat conftest.err >&5
78381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78382   (exit $ac_status); } &&
78383          { ac_try='test -z "$ac_c_werror_flag"
78384                          || test ! -s conftest.err'
78385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78386   (eval $ac_try) 2>&5
78387   ac_status=$?
78388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78389   (exit $ac_status); }; } &&
78390          { ac_try='test -s conftest.$ac_objext'
78391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78392   (eval $ac_try) 2>&5
78393   ac_status=$?
78394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78395   (exit $ac_status); }; }; then
78396   ac_header_compiler=yes
78397 else
78398   echo "$as_me: failed program was:" >&5
78399 sed 's/^/| /' conftest.$ac_ext >&5
78400
78401 ac_header_compiler=no
78402 fi
78403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78404 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78405 echo "${ECHO_T}$ac_header_compiler" >&6
78406
78407 # Is the header present?
78408 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78409 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78410 cat >conftest.$ac_ext <<_ACEOF
78411 /* confdefs.h.  */
78412 _ACEOF
78413 cat confdefs.h >>conftest.$ac_ext
78414 cat >>conftest.$ac_ext <<_ACEOF
78415 /* end confdefs.h.  */
78416 #include <$ac_header>
78417 _ACEOF
78418 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78419   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78420   ac_status=$?
78421   grep -v '^ *+' conftest.er1 >conftest.err
78422   rm -f conftest.er1
78423   cat conftest.err >&5
78424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78425   (exit $ac_status); } >/dev/null; then
78426   if test -s conftest.err; then
78427     ac_cpp_err=$ac_c_preproc_warn_flag
78428     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78429   else
78430     ac_cpp_err=
78431   fi
78432 else
78433   ac_cpp_err=yes
78434 fi
78435 if test -z "$ac_cpp_err"; then
78436   ac_header_preproc=yes
78437 else
78438   echo "$as_me: failed program was:" >&5
78439 sed 's/^/| /' conftest.$ac_ext >&5
78440
78441   ac_header_preproc=no
78442 fi
78443 rm -f conftest.err conftest.$ac_ext
78444 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78445 echo "${ECHO_T}$ac_header_preproc" >&6
78446
78447 # So?  What about this header?
78448 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78449   yes:no: )
78450     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78451 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78452     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78453 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78454     ac_header_preproc=yes
78455     ;;
78456   no:yes:* )
78457     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78458 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78459     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
78460 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
78461     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78462 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78463     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
78464 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
78465     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78466 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78467     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78468 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78469     (
78470       cat <<\_ASBOX
78471 ## ----------------------------------------- ##
78472 ## Report this to the package-unused lists.  ##
78473 ## ----------------------------------------- ##
78474 _ASBOX
78475     ) |
78476       sed "s/^/$as_me: WARNING:     /" >&2
78477     ;;
78478 esac
78479 echo "$as_me:$LINENO: checking for $ac_header" >&5
78480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78481 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78482   echo $ECHO_N "(cached) $ECHO_C" >&6
78483 else
78484   eval "$as_ac_Header=\$ac_header_preproc"
78485 fi
78486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78487 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78488
78489 fi
78490 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78491   cat >>confdefs.h <<_ACEOF
78492 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78493 _ACEOF
78494  ac_has_wctype_h=yes
78495 else
78496   ac_has_wctype_h=no
78497 fi
78498
78499 done
78500
78501
78502   # Only continue checking if the ISO C99 headers exist and support is on.
78503   if test x"$ac_has_wchar_h" = xyes &&
78504      test x"$ac_has_wctype_h" = xyes &&
78505      test x"$enable_c_mbchar" != xno; then
78506
78507     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
78508     # numeric_limits can instantiate type_traits<wchar_t>
78509     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
78510 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
78511     cat >conftest.$ac_ext <<_ACEOF
78512 /* confdefs.h.  */
78513 _ACEOF
78514 cat confdefs.h >>conftest.$ac_ext
78515 cat >>conftest.$ac_ext <<_ACEOF
78516 /* end confdefs.h.  */
78517 #include <wchar.h>
78518 int
78519 main ()
78520 {
78521 int i = WCHAR_MIN; int j = WCHAR_MAX;
78522   ;
78523   return 0;
78524 }
78525 _ACEOF
78526 rm -f conftest.$ac_objext
78527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78528   (eval $ac_compile) 2>conftest.er1
78529   ac_status=$?
78530   grep -v '^ *+' conftest.er1 >conftest.err
78531   rm -f conftest.er1
78532   cat conftest.err >&5
78533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78534   (exit $ac_status); } &&
78535          { ac_try='test -z "$ac_c_werror_flag"
78536                          || test ! -s conftest.err'
78537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78538   (eval $ac_try) 2>&5
78539   ac_status=$?
78540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78541   (exit $ac_status); }; } &&
78542          { ac_try='test -s conftest.$ac_objext'
78543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78544   (eval $ac_try) 2>&5
78545   ac_status=$?
78546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78547   (exit $ac_status); }; }; then
78548   has_wchar_minmax=yes
78549 else
78550   echo "$as_me: failed program was:" >&5
78551 sed 's/^/| /' conftest.$ac_ext >&5
78552
78553 has_wchar_minmax=no
78554 fi
78555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78556     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
78557 echo "${ECHO_T}$has_wchar_minmax" >&6
78558
78559     # Test wchar.h for WEOF, which is what we use to determine whether
78560     # to specialize for char_traits<wchar_t> or not.
78561     echo "$as_me:$LINENO: checking for WEOF" >&5
78562 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
78563     cat >conftest.$ac_ext <<_ACEOF
78564 /* confdefs.h.  */
78565 _ACEOF
78566 cat confdefs.h >>conftest.$ac_ext
78567 cat >>conftest.$ac_ext <<_ACEOF
78568 /* end confdefs.h.  */
78569
78570       #include <wchar.h>
78571       #include <stddef.h>
78572 int
78573 main ()
78574 {
78575 wint_t i = WEOF;
78576   ;
78577   return 0;
78578 }
78579 _ACEOF
78580 rm -f conftest.$ac_objext
78581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78582   (eval $ac_compile) 2>conftest.er1
78583   ac_status=$?
78584   grep -v '^ *+' conftest.er1 >conftest.err
78585   rm -f conftest.er1
78586   cat conftest.err >&5
78587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78588   (exit $ac_status); } &&
78589          { ac_try='test -z "$ac_c_werror_flag"
78590                          || test ! -s conftest.err'
78591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78592   (eval $ac_try) 2>&5
78593   ac_status=$?
78594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78595   (exit $ac_status); }; } &&
78596          { ac_try='test -s conftest.$ac_objext'
78597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78598   (eval $ac_try) 2>&5
78599   ac_status=$?
78600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78601   (exit $ac_status); }; }; then
78602   has_weof=yes
78603 else
78604   echo "$as_me: failed program was:" >&5
78605 sed 's/^/| /' conftest.$ac_ext >&5
78606
78607 has_weof=no
78608 fi
78609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78610     echo "$as_me:$LINENO: result: $has_weof" >&5
78611 echo "${ECHO_T}$has_weof" >&6
78612
78613     # Tests for wide character functions used in char_traits<wchar_t>.
78614     ac_wfuncs=yes
78615
78616
78617
78618
78619
78620
78621 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
78622 do
78623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78624 echo "$as_me:$LINENO: checking for $ac_func" >&5
78625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78626 if eval "test \"\${$as_ac_var+set}\" = set"; then
78627   echo $ECHO_N "(cached) $ECHO_C" >&6
78628 else
78629   if test x$gcc_no_link = xyes; then
78630   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78632    { (exit 1); exit 1; }; }
78633 fi
78634 cat >conftest.$ac_ext <<_ACEOF
78635 /* confdefs.h.  */
78636 _ACEOF
78637 cat confdefs.h >>conftest.$ac_ext
78638 cat >>conftest.$ac_ext <<_ACEOF
78639 /* end confdefs.h.  */
78640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78641    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78642 #define $ac_func innocuous_$ac_func
78643
78644 /* System header to define __stub macros and hopefully few prototypes,
78645     which can conflict with char $ac_func (); below.
78646     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78647     <limits.h> exists even on freestanding compilers.  */
78648
78649 #ifdef __STDC__
78650 # include <limits.h>
78651 #else
78652 # include <assert.h>
78653 #endif
78654
78655 #undef $ac_func
78656
78657 /* Override any gcc2 internal prototype to avoid an error.  */
78658 #ifdef __cplusplus
78659 extern "C"
78660 {
78661 #endif
78662 /* We use char because int might match the return type of a gcc2
78663    builtin and then its argument prototype would still apply.  */
78664 char $ac_func ();
78665 /* The GNU C library defines this for functions which it implements
78666     to always fail with ENOSYS.  Some functions are actually named
78667     something starting with __ and the normal name is an alias.  */
78668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78669 choke me
78670 #else
78671 char (*f) () = $ac_func;
78672 #endif
78673 #ifdef __cplusplus
78674 }
78675 #endif
78676
78677 int
78678 main ()
78679 {
78680 return f != $ac_func;
78681   ;
78682   return 0;
78683 }
78684 _ACEOF
78685 rm -f conftest.$ac_objext conftest$ac_exeext
78686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78687   (eval $ac_link) 2>conftest.er1
78688   ac_status=$?
78689   grep -v '^ *+' conftest.er1 >conftest.err
78690   rm -f conftest.er1
78691   cat conftest.err >&5
78692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78693   (exit $ac_status); } &&
78694          { ac_try='test -z "$ac_c_werror_flag"
78695                          || test ! -s conftest.err'
78696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78697   (eval $ac_try) 2>&5
78698   ac_status=$?
78699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78700   (exit $ac_status); }; } &&
78701          { ac_try='test -s conftest$ac_exeext'
78702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78703   (eval $ac_try) 2>&5
78704   ac_status=$?
78705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78706   (exit $ac_status); }; }; then
78707   eval "$as_ac_var=yes"
78708 else
78709   echo "$as_me: failed program was:" >&5
78710 sed 's/^/| /' conftest.$ac_ext >&5
78711
78712 eval "$as_ac_var=no"
78713 fi
78714 rm -f conftest.err conftest.$ac_objext \
78715       conftest$ac_exeext conftest.$ac_ext
78716 fi
78717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78719 if test `eval echo '${'$as_ac_var'}'` = yes; then
78720   cat >>confdefs.h <<_ACEOF
78721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78722 _ACEOF
78723
78724 else
78725   ac_wfuncs=no
78726 fi
78727 done
78728
78729
78730     # Checks for names injected into std:: by the c_std headers.
78731
78732
78733
78734
78735
78736
78737
78738
78739
78740
78741
78742
78743
78744
78745
78746
78747
78748
78749
78750
78751
78752
78753
78754
78755
78756
78757
78758
78759
78760
78761
78762
78763
78764
78765
78766
78767
78768
78769
78770
78771
78772
78773
78774
78775
78776
78777 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
78778     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
78779     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
78780     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
78781     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
78782     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
78783 do
78784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78785 echo "$as_me:$LINENO: checking for $ac_func" >&5
78786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78787 if eval "test \"\${$as_ac_var+set}\" = set"; then
78788   echo $ECHO_N "(cached) $ECHO_C" >&6
78789 else
78790   if test x$gcc_no_link = xyes; then
78791   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78793    { (exit 1); exit 1; }; }
78794 fi
78795 cat >conftest.$ac_ext <<_ACEOF
78796 /* confdefs.h.  */
78797 _ACEOF
78798 cat confdefs.h >>conftest.$ac_ext
78799 cat >>conftest.$ac_ext <<_ACEOF
78800 /* end confdefs.h.  */
78801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78802    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78803 #define $ac_func innocuous_$ac_func
78804
78805 /* System header to define __stub macros and hopefully few prototypes,
78806     which can conflict with char $ac_func (); below.
78807     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78808     <limits.h> exists even on freestanding compilers.  */
78809
78810 #ifdef __STDC__
78811 # include <limits.h>
78812 #else
78813 # include <assert.h>
78814 #endif
78815
78816 #undef $ac_func
78817
78818 /* Override any gcc2 internal prototype to avoid an error.  */
78819 #ifdef __cplusplus
78820 extern "C"
78821 {
78822 #endif
78823 /* We use char because int might match the return type of a gcc2
78824    builtin and then its argument prototype would still apply.  */
78825 char $ac_func ();
78826 /* The GNU C library defines this for functions which it implements
78827     to always fail with ENOSYS.  Some functions are actually named
78828     something starting with __ and the normal name is an alias.  */
78829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78830 choke me
78831 #else
78832 char (*f) () = $ac_func;
78833 #endif
78834 #ifdef __cplusplus
78835 }
78836 #endif
78837
78838 int
78839 main ()
78840 {
78841 return f != $ac_func;
78842   ;
78843   return 0;
78844 }
78845 _ACEOF
78846 rm -f conftest.$ac_objext conftest$ac_exeext
78847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78848   (eval $ac_link) 2>conftest.er1
78849   ac_status=$?
78850   grep -v '^ *+' conftest.er1 >conftest.err
78851   rm -f conftest.er1
78852   cat conftest.err >&5
78853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78854   (exit $ac_status); } &&
78855          { ac_try='test -z "$ac_c_werror_flag"
78856                          || test ! -s conftest.err'
78857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78858   (eval $ac_try) 2>&5
78859   ac_status=$?
78860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78861   (exit $ac_status); }; } &&
78862          { ac_try='test -s conftest$ac_exeext'
78863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78864   (eval $ac_try) 2>&5
78865   ac_status=$?
78866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78867   (exit $ac_status); }; }; then
78868   eval "$as_ac_var=yes"
78869 else
78870   echo "$as_me: failed program was:" >&5
78871 sed 's/^/| /' conftest.$ac_ext >&5
78872
78873 eval "$as_ac_var=no"
78874 fi
78875 rm -f conftest.err conftest.$ac_objext \
78876       conftest$ac_exeext conftest.$ac_ext
78877 fi
78878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78880 if test `eval echo '${'$as_ac_var'}'` = yes; then
78881   cat >>confdefs.h <<_ACEOF
78882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78883 _ACEOF
78884
78885 else
78886   ac_wfuncs=no
78887 fi
78888 done
78889
78890
78891     # Checks for wide character functions that are not required
78892     # for basic wchar_t support.  Don't disable support if they are missing.
78893     # Injection of these is wrapped with guard macros.
78894
78895
78896
78897
78898
78899 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
78900 do
78901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78902 echo "$as_me:$LINENO: checking for $ac_func" >&5
78903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78904 if eval "test \"\${$as_ac_var+set}\" = set"; then
78905   echo $ECHO_N "(cached) $ECHO_C" >&6
78906 else
78907   if test x$gcc_no_link = xyes; then
78908   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78910    { (exit 1); exit 1; }; }
78911 fi
78912 cat >conftest.$ac_ext <<_ACEOF
78913 /* confdefs.h.  */
78914 _ACEOF
78915 cat confdefs.h >>conftest.$ac_ext
78916 cat >>conftest.$ac_ext <<_ACEOF
78917 /* end confdefs.h.  */
78918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78919    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78920 #define $ac_func innocuous_$ac_func
78921
78922 /* System header to define __stub macros and hopefully few prototypes,
78923     which can conflict with char $ac_func (); below.
78924     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78925     <limits.h> exists even on freestanding compilers.  */
78926
78927 #ifdef __STDC__
78928 # include <limits.h>
78929 #else
78930 # include <assert.h>
78931 #endif
78932
78933 #undef $ac_func
78934
78935 /* Override any gcc2 internal prototype to avoid an error.  */
78936 #ifdef __cplusplus
78937 extern "C"
78938 {
78939 #endif
78940 /* We use char because int might match the return type of a gcc2
78941    builtin and then its argument prototype would still apply.  */
78942 char $ac_func ();
78943 /* The GNU C library defines this for functions which it implements
78944     to always fail with ENOSYS.  Some functions are actually named
78945     something starting with __ and the normal name is an alias.  */
78946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78947 choke me
78948 #else
78949 char (*f) () = $ac_func;
78950 #endif
78951 #ifdef __cplusplus
78952 }
78953 #endif
78954
78955 int
78956 main ()
78957 {
78958 return f != $ac_func;
78959   ;
78960   return 0;
78961 }
78962 _ACEOF
78963 rm -f conftest.$ac_objext conftest$ac_exeext
78964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78965   (eval $ac_link) 2>conftest.er1
78966   ac_status=$?
78967   grep -v '^ *+' conftest.er1 >conftest.err
78968   rm -f conftest.er1
78969   cat conftest.err >&5
78970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78971   (exit $ac_status); } &&
78972          { ac_try='test -z "$ac_c_werror_flag"
78973                          || test ! -s conftest.err'
78974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78975   (eval $ac_try) 2>&5
78976   ac_status=$?
78977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78978   (exit $ac_status); }; } &&
78979          { ac_try='test -s conftest$ac_exeext'
78980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78981   (eval $ac_try) 2>&5
78982   ac_status=$?
78983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78984   (exit $ac_status); }; }; then
78985   eval "$as_ac_var=yes"
78986 else
78987   echo "$as_me: failed program was:" >&5
78988 sed 's/^/| /' conftest.$ac_ext >&5
78989
78990 eval "$as_ac_var=no"
78991 fi
78992 rm -f conftest.err conftest.$ac_objext \
78993       conftest$ac_exeext conftest.$ac_ext
78994 fi
78995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78997 if test `eval echo '${'$as_ac_var'}'` = yes; then
78998   cat >>confdefs.h <<_ACEOF
78999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79000 _ACEOF
79001
79002 fi
79003 done
79004
79005
79006     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
79007 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
79008     if test x"$has_weof" = xyes &&
79009        test x"$has_wchar_minmax" = xyes &&
79010        test x"$ac_wfuncs" = xyes;
79011     then
79012       ac_isoC99_wchar_t=yes
79013     else
79014       ac_isoC99_wchar_t=no
79015     fi
79016     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
79017 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
79018
79019     # Use iconv for wchar_t to char conversions. As such, check for
79020     # X/Open Portability Guide, version 2 features (XPG2).
79021     if test "${ac_cv_header_iconv_h+set}" = set; then
79022   echo "$as_me:$LINENO: checking for iconv.h" >&5
79023 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79024 if test "${ac_cv_header_iconv_h+set}" = set; then
79025   echo $ECHO_N "(cached) $ECHO_C" >&6
79026 fi
79027 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79028 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79029 else
79030   # Is the header compilable?
79031 echo "$as_me:$LINENO: checking iconv.h usability" >&5
79032 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
79033 cat >conftest.$ac_ext <<_ACEOF
79034 /* confdefs.h.  */
79035 _ACEOF
79036 cat confdefs.h >>conftest.$ac_ext
79037 cat >>conftest.$ac_ext <<_ACEOF
79038 /* end confdefs.h.  */
79039 $ac_includes_default
79040 #include <iconv.h>
79041 _ACEOF
79042 rm -f conftest.$ac_objext
79043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79044   (eval $ac_compile) 2>conftest.er1
79045   ac_status=$?
79046   grep -v '^ *+' conftest.er1 >conftest.err
79047   rm -f conftest.er1
79048   cat conftest.err >&5
79049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79050   (exit $ac_status); } &&
79051          { ac_try='test -z "$ac_c_werror_flag"
79052                          || test ! -s conftest.err'
79053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79054   (eval $ac_try) 2>&5
79055   ac_status=$?
79056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79057   (exit $ac_status); }; } &&
79058          { ac_try='test -s conftest.$ac_objext'
79059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79060   (eval $ac_try) 2>&5
79061   ac_status=$?
79062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79063   (exit $ac_status); }; }; then
79064   ac_header_compiler=yes
79065 else
79066   echo "$as_me: failed program was:" >&5
79067 sed 's/^/| /' conftest.$ac_ext >&5
79068
79069 ac_header_compiler=no
79070 fi
79071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79072 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79073 echo "${ECHO_T}$ac_header_compiler" >&6
79074
79075 # Is the header present?
79076 echo "$as_me:$LINENO: checking iconv.h presence" >&5
79077 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
79078 cat >conftest.$ac_ext <<_ACEOF
79079 /* confdefs.h.  */
79080 _ACEOF
79081 cat confdefs.h >>conftest.$ac_ext
79082 cat >>conftest.$ac_ext <<_ACEOF
79083 /* end confdefs.h.  */
79084 #include <iconv.h>
79085 _ACEOF
79086 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79087   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79088   ac_status=$?
79089   grep -v '^ *+' conftest.er1 >conftest.err
79090   rm -f conftest.er1
79091   cat conftest.err >&5
79092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79093   (exit $ac_status); } >/dev/null; then
79094   if test -s conftest.err; then
79095     ac_cpp_err=$ac_c_preproc_warn_flag
79096     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79097   else
79098     ac_cpp_err=
79099   fi
79100 else
79101   ac_cpp_err=yes
79102 fi
79103 if test -z "$ac_cpp_err"; then
79104   ac_header_preproc=yes
79105 else
79106   echo "$as_me: failed program was:" >&5
79107 sed 's/^/| /' conftest.$ac_ext >&5
79108
79109   ac_header_preproc=no
79110 fi
79111 rm -f conftest.err conftest.$ac_ext
79112 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79113 echo "${ECHO_T}$ac_header_preproc" >&6
79114
79115 # So?  What about this header?
79116 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79117   yes:no: )
79118     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
79119 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79120     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
79121 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
79122     ac_header_preproc=yes
79123     ;;
79124   no:yes:* )
79125     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
79126 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
79127     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
79128 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
79129     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
79130 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
79131     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
79132 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
79133     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
79134 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
79135     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
79136 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
79137     (
79138       cat <<\_ASBOX
79139 ## ----------------------------------------- ##
79140 ## Report this to the package-unused lists.  ##
79141 ## ----------------------------------------- ##
79142 _ASBOX
79143     ) |
79144       sed "s/^/$as_me: WARNING:     /" >&2
79145     ;;
79146 esac
79147 echo "$as_me:$LINENO: checking for iconv.h" >&5
79148 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79149 if test "${ac_cv_header_iconv_h+set}" = set; then
79150   echo $ECHO_N "(cached) $ECHO_C" >&6
79151 else
79152   ac_cv_header_iconv_h=$ac_header_preproc
79153 fi
79154 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79155 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79156
79157 fi
79158 if test $ac_cv_header_iconv_h = yes; then
79159   ac_has_iconv_h=yes
79160 else
79161   ac_has_iconv_h=no
79162 fi
79163
79164
79165     if test "${ac_cv_header_langinfo_h+set}" = set; then
79166   echo "$as_me:$LINENO: checking for langinfo.h" >&5
79167 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79168 if test "${ac_cv_header_langinfo_h+set}" = set; then
79169   echo $ECHO_N "(cached) $ECHO_C" >&6
79170 fi
79171 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79172 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79173 else
79174   # Is the header compilable?
79175 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
79176 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
79177 cat >conftest.$ac_ext <<_ACEOF
79178 /* confdefs.h.  */
79179 _ACEOF
79180 cat confdefs.h >>conftest.$ac_ext
79181 cat >>conftest.$ac_ext <<_ACEOF
79182 /* end confdefs.h.  */
79183 $ac_includes_default
79184 #include <langinfo.h>
79185 _ACEOF
79186 rm -f conftest.$ac_objext
79187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79188   (eval $ac_compile) 2>conftest.er1
79189   ac_status=$?
79190   grep -v '^ *+' conftest.er1 >conftest.err
79191   rm -f conftest.er1
79192   cat conftest.err >&5
79193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79194   (exit $ac_status); } &&
79195          { ac_try='test -z "$ac_c_werror_flag"
79196                          || test ! -s conftest.err'
79197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79198   (eval $ac_try) 2>&5
79199   ac_status=$?
79200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79201   (exit $ac_status); }; } &&
79202          { ac_try='test -s conftest.$ac_objext'
79203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79204   (eval $ac_try) 2>&5
79205   ac_status=$?
79206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79207   (exit $ac_status); }; }; then
79208   ac_header_compiler=yes
79209 else
79210   echo "$as_me: failed program was:" >&5
79211 sed 's/^/| /' conftest.$ac_ext >&5
79212
79213 ac_header_compiler=no
79214 fi
79215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79216 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79217 echo "${ECHO_T}$ac_header_compiler" >&6
79218
79219 # Is the header present?
79220 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
79221 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
79222 cat >conftest.$ac_ext <<_ACEOF
79223 /* confdefs.h.  */
79224 _ACEOF
79225 cat confdefs.h >>conftest.$ac_ext
79226 cat >>conftest.$ac_ext <<_ACEOF
79227 /* end confdefs.h.  */
79228 #include <langinfo.h>
79229 _ACEOF
79230 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79231   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79232   ac_status=$?
79233   grep -v '^ *+' conftest.er1 >conftest.err
79234   rm -f conftest.er1
79235   cat conftest.err >&5
79236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79237   (exit $ac_status); } >/dev/null; then
79238   if test -s conftest.err; then
79239     ac_cpp_err=$ac_c_preproc_warn_flag
79240     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79241   else
79242     ac_cpp_err=
79243   fi
79244 else
79245   ac_cpp_err=yes
79246 fi
79247 if test -z "$ac_cpp_err"; then
79248   ac_header_preproc=yes
79249 else
79250   echo "$as_me: failed program was:" >&5
79251 sed 's/^/| /' conftest.$ac_ext >&5
79252
79253   ac_header_preproc=no
79254 fi
79255 rm -f conftest.err conftest.$ac_ext
79256 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79257 echo "${ECHO_T}$ac_header_preproc" >&6
79258
79259 # So?  What about this header?
79260 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79261   yes:no: )
79262     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
79263 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79264     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
79265 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
79266     ac_header_preproc=yes
79267     ;;
79268   no:yes:* )
79269     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
79270 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
79271     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
79272 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
79273     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
79274 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
79275     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
79276 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
79277     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
79278 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
79279     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
79280 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
79281     (
79282       cat <<\_ASBOX
79283 ## ----------------------------------------- ##
79284 ## Report this to the package-unused lists.  ##
79285 ## ----------------------------------------- ##
79286 _ASBOX
79287     ) |
79288       sed "s/^/$as_me: WARNING:     /" >&2
79289     ;;
79290 esac
79291 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79292 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79293 if test "${ac_cv_header_langinfo_h+set}" = set; then
79294   echo $ECHO_N "(cached) $ECHO_C" >&6
79295 else
79296   ac_cv_header_langinfo_h=$ac_header_preproc
79297 fi
79298 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79299 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79300
79301 fi
79302 if test $ac_cv_header_langinfo_h = yes; then
79303   ac_has_langinfo_h=yes
79304 else
79305   ac_has_langinfo_h=no
79306 fi
79307
79308
79309
79310     # Check for existence of libiconv.a providing XPG2 wchar_t support.
79311     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
79312 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
79313 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
79314   echo $ECHO_N "(cached) $ECHO_C" >&6
79315 else
79316   ac_check_lib_save_LIBS=$LIBS
79317 LIBS="-liconv  $LIBS"
79318 if test x$gcc_no_link = xyes; then
79319   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79321    { (exit 1); exit 1; }; }
79322 fi
79323 cat >conftest.$ac_ext <<_ACEOF
79324 /* confdefs.h.  */
79325 _ACEOF
79326 cat confdefs.h >>conftest.$ac_ext
79327 cat >>conftest.$ac_ext <<_ACEOF
79328 /* end confdefs.h.  */
79329
79330 /* Override any gcc2 internal prototype to avoid an error.  */
79331 #ifdef __cplusplus
79332 extern "C"
79333 #endif
79334 /* We use char because int might match the return type of a gcc2
79335    builtin and then its argument prototype would still apply.  */
79336 char iconv ();
79337 int
79338 main ()
79339 {
79340 iconv ();
79341   ;
79342   return 0;
79343 }
79344 _ACEOF
79345 rm -f conftest.$ac_objext conftest$ac_exeext
79346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79347   (eval $ac_link) 2>conftest.er1
79348   ac_status=$?
79349   grep -v '^ *+' conftest.er1 >conftest.err
79350   rm -f conftest.er1
79351   cat conftest.err >&5
79352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79353   (exit $ac_status); } &&
79354          { ac_try='test -z "$ac_c_werror_flag"
79355                          || test ! -s conftest.err'
79356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79357   (eval $ac_try) 2>&5
79358   ac_status=$?
79359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79360   (exit $ac_status); }; } &&
79361          { ac_try='test -s conftest$ac_exeext'
79362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79363   (eval $ac_try) 2>&5
79364   ac_status=$?
79365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79366   (exit $ac_status); }; }; then
79367   ac_cv_lib_iconv_iconv=yes
79368 else
79369   echo "$as_me: failed program was:" >&5
79370 sed 's/^/| /' conftest.$ac_ext >&5
79371
79372 ac_cv_lib_iconv_iconv=no
79373 fi
79374 rm -f conftest.err conftest.$ac_objext \
79375       conftest$ac_exeext conftest.$ac_ext
79376 LIBS=$ac_check_lib_save_LIBS
79377 fi
79378 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
79379 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
79380 if test $ac_cv_lib_iconv_iconv = yes; then
79381   LIBICONV="-liconv"
79382 fi
79383
79384     ac_save_LIBS="$LIBS"
79385     LIBS="$LIBS $LIBICONV"
79386
79387
79388
79389
79390
79391
79392 for ac_func in iconv_open iconv_close iconv nl_langinfo
79393 do
79394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79395 echo "$as_me:$LINENO: checking for $ac_func" >&5
79396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79397 if eval "test \"\${$as_ac_var+set}\" = set"; then
79398   echo $ECHO_N "(cached) $ECHO_C" >&6
79399 else
79400   if test x$gcc_no_link = xyes; then
79401   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79403    { (exit 1); exit 1; }; }
79404 fi
79405 cat >conftest.$ac_ext <<_ACEOF
79406 /* confdefs.h.  */
79407 _ACEOF
79408 cat confdefs.h >>conftest.$ac_ext
79409 cat >>conftest.$ac_ext <<_ACEOF
79410 /* end confdefs.h.  */
79411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79412    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79413 #define $ac_func innocuous_$ac_func
79414
79415 /* System header to define __stub macros and hopefully few prototypes,
79416     which can conflict with char $ac_func (); below.
79417     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79418     <limits.h> exists even on freestanding compilers.  */
79419
79420 #ifdef __STDC__
79421 # include <limits.h>
79422 #else
79423 # include <assert.h>
79424 #endif
79425
79426 #undef $ac_func
79427
79428 /* Override any gcc2 internal prototype to avoid an error.  */
79429 #ifdef __cplusplus
79430 extern "C"
79431 {
79432 #endif
79433 /* We use char because int might match the return type of a gcc2
79434    builtin and then its argument prototype would still apply.  */
79435 char $ac_func ();
79436 /* The GNU C library defines this for functions which it implements
79437     to always fail with ENOSYS.  Some functions are actually named
79438     something starting with __ and the normal name is an alias.  */
79439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79440 choke me
79441 #else
79442 char (*f) () = $ac_func;
79443 #endif
79444 #ifdef __cplusplus
79445 }
79446 #endif
79447
79448 int
79449 main ()
79450 {
79451 return f != $ac_func;
79452   ;
79453   return 0;
79454 }
79455 _ACEOF
79456 rm -f conftest.$ac_objext conftest$ac_exeext
79457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79458   (eval $ac_link) 2>conftest.er1
79459   ac_status=$?
79460   grep -v '^ *+' conftest.er1 >conftest.err
79461   rm -f conftest.er1
79462   cat conftest.err >&5
79463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79464   (exit $ac_status); } &&
79465          { ac_try='test -z "$ac_c_werror_flag"
79466                          || test ! -s conftest.err'
79467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79468   (eval $ac_try) 2>&5
79469   ac_status=$?
79470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79471   (exit $ac_status); }; } &&
79472          { ac_try='test -s conftest$ac_exeext'
79473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79474   (eval $ac_try) 2>&5
79475   ac_status=$?
79476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79477   (exit $ac_status); }; }; then
79478   eval "$as_ac_var=yes"
79479 else
79480   echo "$as_me: failed program was:" >&5
79481 sed 's/^/| /' conftest.$ac_ext >&5
79482
79483 eval "$as_ac_var=no"
79484 fi
79485 rm -f conftest.err conftest.$ac_objext \
79486       conftest$ac_exeext conftest.$ac_ext
79487 fi
79488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79490 if test `eval echo '${'$as_ac_var'}'` = yes; then
79491   cat >>confdefs.h <<_ACEOF
79492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79493 _ACEOF
79494  ac_XPG2funcs=yes
79495 else
79496   ac_XPG2funcs=no
79497 fi
79498 done
79499
79500
79501     LIBS="$ac_save_LIBS"
79502
79503     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
79504 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
79505     if test x"$ac_has_iconv_h" = xyes &&
79506        test x"$ac_has_langinfo_h" = xyes &&
79507        test x"$ac_XPG2funcs" = xyes;
79508     then
79509       ac_XPG2_wchar_t=yes
79510     else
79511       ac_XPG2_wchar_t=no
79512     fi
79513     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
79514 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
79515
79516     # At the moment, only enable wchar_t specializations if all the
79517     # above support is present.
79518     if test x"$ac_isoC99_wchar_t" = xyes &&
79519        test x"$ac_XPG2_wchar_t" = xyes;
79520     then
79521       cat >>confdefs.h <<\_ACEOF
79522 #define _GLIBCXX_USE_WCHAR_T 1
79523 _ACEOF
79524
79525       enable_wchar_t=yes
79526     fi
79527   fi
79528   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
79529 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
79530   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
79531 echo "${ECHO_T}$enable_wchar_t" >&6
79532
79533     cat >>confdefs.h <<\_ACEOF
79534 #define HAVE_COPYSIGN 1
79535 _ACEOF
79536
79537     cat >>confdefs.h <<\_ACEOF
79538 #define HAVE_COPYSIGNF 1
79539 _ACEOF
79540
79541     cat >>confdefs.h <<\_ACEOF
79542 #define HAVE_FREXPF 1
79543 _ACEOF
79544
79545     cat >>confdefs.h <<\_ACEOF
79546 #define HAVE_HYPOT 1
79547 _ACEOF
79548
79549     case "$target" in
79550       *-hpux10*)
79551         cat >>confdefs.h <<\_ACEOF
79552 #define HAVE_FINITE 1
79553 _ACEOF
79554
79555         cat >>confdefs.h <<\_ACEOF
79556 #define HAVE_FINITEF 1
79557 _ACEOF
79558
79559         cat >>confdefs.h <<\_ACEOF
79560 #define HAVE_ISINF 1
79561 _ACEOF
79562
79563         cat >>confdefs.h <<\_ACEOF
79564 #define HAVE_ISINFF 1
79565 _ACEOF
79566
79567         cat >>confdefs.h <<\_ACEOF
79568 #define HAVE_ISNAN 1
79569 _ACEOF
79570
79571         cat >>confdefs.h <<\_ACEOF
79572 #define HAVE_ISNANF 1
79573 _ACEOF
79574
79575         ;;
79576     esac
79577     ;;
79578   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
79579
79580
79581
79582
79583
79584
79585
79586
79587
79588
79589
79590
79591
79592
79593
79594 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
79595       machine/endian.h machine/param.h sys/machine.h sys/types.h \
79596       fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
79597 do
79598 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79600   echo "$as_me:$LINENO: checking for $ac_header" >&5
79601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79603   echo $ECHO_N "(cached) $ECHO_C" >&6
79604 fi
79605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79606 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79607 else
79608   # Is the header compilable?
79609 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79610 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79611 cat >conftest.$ac_ext <<_ACEOF
79612 /* confdefs.h.  */
79613 _ACEOF
79614 cat confdefs.h >>conftest.$ac_ext
79615 cat >>conftest.$ac_ext <<_ACEOF
79616 /* end confdefs.h.  */
79617 $ac_includes_default
79618 #include <$ac_header>
79619 _ACEOF
79620 rm -f conftest.$ac_objext
79621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79622   (eval $ac_compile) 2>conftest.er1
79623   ac_status=$?
79624   grep -v '^ *+' conftest.er1 >conftest.err
79625   rm -f conftest.er1
79626   cat conftest.err >&5
79627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79628   (exit $ac_status); } &&
79629          { ac_try='test -z "$ac_c_werror_flag"
79630                          || test ! -s conftest.err'
79631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79632   (eval $ac_try) 2>&5
79633   ac_status=$?
79634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79635   (exit $ac_status); }; } &&
79636          { ac_try='test -s conftest.$ac_objext'
79637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79638   (eval $ac_try) 2>&5
79639   ac_status=$?
79640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79641   (exit $ac_status); }; }; then
79642   ac_header_compiler=yes
79643 else
79644   echo "$as_me: failed program was:" >&5
79645 sed 's/^/| /' conftest.$ac_ext >&5
79646
79647 ac_header_compiler=no
79648 fi
79649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79650 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79651 echo "${ECHO_T}$ac_header_compiler" >&6
79652
79653 # Is the header present?
79654 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79655 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79656 cat >conftest.$ac_ext <<_ACEOF
79657 /* confdefs.h.  */
79658 _ACEOF
79659 cat confdefs.h >>conftest.$ac_ext
79660 cat >>conftest.$ac_ext <<_ACEOF
79661 /* end confdefs.h.  */
79662 #include <$ac_header>
79663 _ACEOF
79664 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79665   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79666   ac_status=$?
79667   grep -v '^ *+' conftest.er1 >conftest.err
79668   rm -f conftest.er1
79669   cat conftest.err >&5
79670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79671   (exit $ac_status); } >/dev/null; then
79672   if test -s conftest.err; then
79673     ac_cpp_err=$ac_c_preproc_warn_flag
79674     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79675   else
79676     ac_cpp_err=
79677   fi
79678 else
79679   ac_cpp_err=yes
79680 fi
79681 if test -z "$ac_cpp_err"; then
79682   ac_header_preproc=yes
79683 else
79684   echo "$as_me: failed program was:" >&5
79685 sed 's/^/| /' conftest.$ac_ext >&5
79686
79687   ac_header_preproc=no
79688 fi
79689 rm -f conftest.err conftest.$ac_ext
79690 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79691 echo "${ECHO_T}$ac_header_preproc" >&6
79692
79693 # So?  What about this header?
79694 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79695   yes:no: )
79696     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79697 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79698     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79699 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79700     ac_header_preproc=yes
79701     ;;
79702   no:yes:* )
79703     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79704 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79705     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
79706 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
79707     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79708 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79709     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
79710 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
79711     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79712 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79713     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79714 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79715     (
79716       cat <<\_ASBOX
79717 ## ----------------------------------------- ##
79718 ## Report this to the package-unused lists.  ##
79719 ## ----------------------------------------- ##
79720 _ASBOX
79721     ) |
79722       sed "s/^/$as_me: WARNING:     /" >&2
79723     ;;
79724 esac
79725 echo "$as_me:$LINENO: checking for $ac_header" >&5
79726 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79728   echo $ECHO_N "(cached) $ECHO_C" >&6
79729 else
79730   eval "$as_ac_Header=\$ac_header_preproc"
79731 fi
79732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79733 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79734
79735 fi
79736 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79737   cat >>confdefs.h <<_ACEOF
79738 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79739 _ACEOF
79740
79741 fi
79742
79743 done
79744
79745     SECTION_FLAGS='-ffunction-sections -fdata-sections'
79746
79747
79748   # If we're not using GNU ld, then there's no point in even trying these
79749   # tests.  Check for that first.  We should have already tested for gld
79750   # by now (in libtool), but require it now just to be safe...
79751   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79752   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79753
79754
79755
79756   # The name set by libtool depends on the version of libtool.  Shame on us
79757   # for depending on an impl detail, but c'est la vie.  Older versions used
79758   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79759   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79760   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
79761   # set (hence we're using an older libtool), then set it.
79762   if test x${with_gnu_ld+set} != xset; then
79763     if test x${ac_cv_prog_gnu_ld+set} != xset; then
79764       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
79765       with_gnu_ld=no
79766     else
79767       with_gnu_ld=$ac_cv_prog_gnu_ld
79768     fi
79769   fi
79770
79771   # Start by getting the version number.  I think the libtool test already
79772   # does some of this, but throws away the result.
79773
79774   ldver=`$LD --version 2>/dev/null | head -1 | \
79775          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
79776
79777   glibcxx_gnu_ld_version=`echo $ldver | \
79778          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79779
79780   # Set --gc-sections.
79781   if test "$with_gnu_ld" = "notbroken"; then
79782     # GNU ld it is!  Joy and bunny rabbits!
79783
79784     # All these tests are for C++; save the language and the compiler flags.
79785     # Need to do this so that g++ won't try to link in libstdc++
79786     ac_test_CFLAGS="${CFLAGS+set}"
79787     ac_save_CFLAGS="$CFLAGS"
79788     CFLAGS='-x c++  -Wl,--gc-sections'
79789
79790     # Check for -Wl,--gc-sections
79791     # XXX This test is broken at the moment, as symbols required for linking
79792     # are now in libsupc++ (not built yet).  In addition, this test has
79793     # cored on solaris in the past.  In addition, --gc-sections doesn't
79794     # really work at the moment (keeps on discarding used sections, first
79795     # .eh_frame and now some of the glibc sections for iconv).
79796     # Bzzzzt.  Thanks for playing, maybe next time.
79797     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79798 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79799     if test "$cross_compiling" = yes; then
79800   ac_sectionLDflags=yes
79801 else
79802   cat >conftest.$ac_ext <<_ACEOF
79803 /* confdefs.h.  */
79804 _ACEOF
79805 cat confdefs.h >>conftest.$ac_ext
79806 cat >>conftest.$ac_ext <<_ACEOF
79807 /* end confdefs.h.  */
79808
79809      int main(void)
79810      {
79811        try { throw 1; }
79812        catch (...) { };
79813        return 0;
79814      }
79815
79816 _ACEOF
79817 rm -f conftest$ac_exeext
79818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79819   (eval $ac_link) 2>&5
79820   ac_status=$?
79821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79822   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
79823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79824   (eval $ac_try) 2>&5
79825   ac_status=$?
79826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79827   (exit $ac_status); }; }; then
79828   ac_sectionLDflags=yes
79829 else
79830   echo "$as_me: program exited with status $ac_status" >&5
79831 echo "$as_me: failed program was:" >&5
79832 sed 's/^/| /' conftest.$ac_ext >&5
79833
79834 ( exit $ac_status )
79835 ac_sectionLDflags=no
79836 fi
79837 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
79838 fi
79839     if test "$ac_test_CFLAGS" = set; then
79840       CFLAGS="$ac_save_CFLAGS"
79841     else
79842       # this is the suspicious part
79843       CFLAGS=''
79844     fi
79845     if test "$ac_sectionLDflags" = "yes"; then
79846       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79847     fi
79848     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
79849 echo "${ECHO_T}$ac_sectionLDflags" >&6
79850   fi
79851
79852   # Set linker optimization flags.
79853   if test x"$with_gnu_ld" = x"yes"; then
79854     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79855   fi
79856
79857
79858
79859
79860
79861
79862 echo "$as_me:$LINENO: checking for main in -lm" >&5
79863 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79864 if test "${ac_cv_lib_m_main+set}" = set; then
79865   echo $ECHO_N "(cached) $ECHO_C" >&6
79866 else
79867   ac_check_lib_save_LIBS=$LIBS
79868 LIBS="-lm  $LIBS"
79869 if test x$gcc_no_link = xyes; then
79870   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79872    { (exit 1); exit 1; }; }
79873 fi
79874 cat >conftest.$ac_ext <<_ACEOF
79875 /* confdefs.h.  */
79876 _ACEOF
79877 cat confdefs.h >>conftest.$ac_ext
79878 cat >>conftest.$ac_ext <<_ACEOF
79879 /* end confdefs.h.  */
79880
79881
79882 int
79883 main ()
79884 {
79885 main ();
79886   ;
79887   return 0;
79888 }
79889 _ACEOF
79890 rm -f conftest.$ac_objext conftest$ac_exeext
79891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79892   (eval $ac_link) 2>conftest.er1
79893   ac_status=$?
79894   grep -v '^ *+' conftest.er1 >conftest.err
79895   rm -f conftest.er1
79896   cat conftest.err >&5
79897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79898   (exit $ac_status); } &&
79899          { ac_try='test -z "$ac_c_werror_flag"
79900                          || test ! -s conftest.err'
79901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79902   (eval $ac_try) 2>&5
79903   ac_status=$?
79904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79905   (exit $ac_status); }; } &&
79906          { ac_try='test -s conftest$ac_exeext'
79907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79908   (eval $ac_try) 2>&5
79909   ac_status=$?
79910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79911   (exit $ac_status); }; }; then
79912   ac_cv_lib_m_main=yes
79913 else
79914   echo "$as_me: failed program was:" >&5
79915 sed 's/^/| /' conftest.$ac_ext >&5
79916
79917 ac_cv_lib_m_main=no
79918 fi
79919 rm -f conftest.err conftest.$ac_objext \
79920       conftest$ac_exeext conftest.$ac_ext
79921 LIBS=$ac_check_lib_save_LIBS
79922 fi
79923 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79924 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
79925 if test $ac_cv_lib_m_main = yes; then
79926   cat >>confdefs.h <<_ACEOF
79927 #define HAVE_LIBM 1
79928 _ACEOF
79929
79930   LIBS="-lm $LIBS"
79931
79932 fi
79933
79934
79935 for ac_func in copysignf
79936 do
79937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79938 echo "$as_me:$LINENO: checking for $ac_func" >&5
79939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79940 if eval "test \"\${$as_ac_var+set}\" = set"; then
79941   echo $ECHO_N "(cached) $ECHO_C" >&6
79942 else
79943   if test x$gcc_no_link = xyes; then
79944   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79946    { (exit 1); exit 1; }; }
79947 fi
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79955    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79956 #define $ac_func innocuous_$ac_func
79957
79958 /* System header to define __stub macros and hopefully few prototypes,
79959     which can conflict with char $ac_func (); below.
79960     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79961     <limits.h> exists even on freestanding compilers.  */
79962
79963 #ifdef __STDC__
79964 # include <limits.h>
79965 #else
79966 # include <assert.h>
79967 #endif
79968
79969 #undef $ac_func
79970
79971 /* Override any gcc2 internal prototype to avoid an error.  */
79972 #ifdef __cplusplus
79973 extern "C"
79974 {
79975 #endif
79976 /* We use char because int might match the return type of a gcc2
79977    builtin and then its argument prototype would still apply.  */
79978 char $ac_func ();
79979 /* The GNU C library defines this for functions which it implements
79980     to always fail with ENOSYS.  Some functions are actually named
79981     something starting with __ and the normal name is an alias.  */
79982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79983 choke me
79984 #else
79985 char (*f) () = $ac_func;
79986 #endif
79987 #ifdef __cplusplus
79988 }
79989 #endif
79990
79991 int
79992 main ()
79993 {
79994 return f != $ac_func;
79995   ;
79996   return 0;
79997 }
79998 _ACEOF
79999 rm -f conftest.$ac_objext conftest$ac_exeext
80000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80001   (eval $ac_link) 2>conftest.er1
80002   ac_status=$?
80003   grep -v '^ *+' conftest.er1 >conftest.err
80004   rm -f conftest.er1
80005   cat conftest.err >&5
80006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80007   (exit $ac_status); } &&
80008          { ac_try='test -z "$ac_c_werror_flag"
80009                          || test ! -s conftest.err'
80010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80011   (eval $ac_try) 2>&5
80012   ac_status=$?
80013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80014   (exit $ac_status); }; } &&
80015          { ac_try='test -s conftest$ac_exeext'
80016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80017   (eval $ac_try) 2>&5
80018   ac_status=$?
80019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80020   (exit $ac_status); }; }; then
80021   eval "$as_ac_var=yes"
80022 else
80023   echo "$as_me: failed program was:" >&5
80024 sed 's/^/| /' conftest.$ac_ext >&5
80025
80026 eval "$as_ac_var=no"
80027 fi
80028 rm -f conftest.err conftest.$ac_objext \
80029       conftest$ac_exeext conftest.$ac_ext
80030 fi
80031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80033 if test `eval echo '${'$as_ac_var'}'` = yes; then
80034   cat >>confdefs.h <<_ACEOF
80035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80036 _ACEOF
80037
80038 else
80039   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80040 fi
80041 done
80042
80043
80044
80045 for ac_func in __signbit
80046 do
80047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80048 echo "$as_me:$LINENO: checking for $ac_func" >&5
80049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80050 if eval "test \"\${$as_ac_var+set}\" = set"; then
80051   echo $ECHO_N "(cached) $ECHO_C" >&6
80052 else
80053   if test x$gcc_no_link = xyes; then
80054   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80056    { (exit 1); exit 1; }; }
80057 fi
80058 cat >conftest.$ac_ext <<_ACEOF
80059 /* confdefs.h.  */
80060 _ACEOF
80061 cat confdefs.h >>conftest.$ac_ext
80062 cat >>conftest.$ac_ext <<_ACEOF
80063 /* end confdefs.h.  */
80064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80065    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80066 #define $ac_func innocuous_$ac_func
80067
80068 /* System header to define __stub macros and hopefully few prototypes,
80069     which can conflict with char $ac_func (); below.
80070     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80071     <limits.h> exists even on freestanding compilers.  */
80072
80073 #ifdef __STDC__
80074 # include <limits.h>
80075 #else
80076 # include <assert.h>
80077 #endif
80078
80079 #undef $ac_func
80080
80081 /* Override any gcc2 internal prototype to avoid an error.  */
80082 #ifdef __cplusplus
80083 extern "C"
80084 {
80085 #endif
80086 /* We use char because int might match the return type of a gcc2
80087    builtin and then its argument prototype would still apply.  */
80088 char $ac_func ();
80089 /* The GNU C library defines this for functions which it implements
80090     to always fail with ENOSYS.  Some functions are actually named
80091     something starting with __ and the normal name is an alias.  */
80092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80093 choke me
80094 #else
80095 char (*f) () = $ac_func;
80096 #endif
80097 #ifdef __cplusplus
80098 }
80099 #endif
80100
80101 int
80102 main ()
80103 {
80104 return f != $ac_func;
80105   ;
80106   return 0;
80107 }
80108 _ACEOF
80109 rm -f conftest.$ac_objext conftest$ac_exeext
80110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80111   (eval $ac_link) 2>conftest.er1
80112   ac_status=$?
80113   grep -v '^ *+' conftest.er1 >conftest.err
80114   rm -f conftest.er1
80115   cat conftest.err >&5
80116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80117   (exit $ac_status); } &&
80118          { ac_try='test -z "$ac_c_werror_flag"
80119                          || test ! -s conftest.err'
80120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80121   (eval $ac_try) 2>&5
80122   ac_status=$?
80123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80124   (exit $ac_status); }; } &&
80125          { ac_try='test -s conftest$ac_exeext'
80126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80127   (eval $ac_try) 2>&5
80128   ac_status=$?
80129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80130   (exit $ac_status); }; }; then
80131   eval "$as_ac_var=yes"
80132 else
80133   echo "$as_me: failed program was:" >&5
80134 sed 's/^/| /' conftest.$ac_ext >&5
80135
80136 eval "$as_ac_var=no"
80137 fi
80138 rm -f conftest.err conftest.$ac_objext \
80139       conftest$ac_exeext conftest.$ac_ext
80140 fi
80141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80143 if test `eval echo '${'$as_ac_var'}'` = yes; then
80144   cat >>confdefs.h <<_ACEOF
80145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80146 _ACEOF
80147
80148 else
80149   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80150 fi
80151 done
80152
80153
80154
80155 for ac_func in __signbitf
80156 do
80157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80158 echo "$as_me:$LINENO: checking for $ac_func" >&5
80159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80160 if eval "test \"\${$as_ac_var+set}\" = set"; then
80161   echo $ECHO_N "(cached) $ECHO_C" >&6
80162 else
80163   if test x$gcc_no_link = xyes; then
80164   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80166    { (exit 1); exit 1; }; }
80167 fi
80168 cat >conftest.$ac_ext <<_ACEOF
80169 /* confdefs.h.  */
80170 _ACEOF
80171 cat confdefs.h >>conftest.$ac_ext
80172 cat >>conftest.$ac_ext <<_ACEOF
80173 /* end confdefs.h.  */
80174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80175    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80176 #define $ac_func innocuous_$ac_func
80177
80178 /* System header to define __stub macros and hopefully few prototypes,
80179     which can conflict with char $ac_func (); below.
80180     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80181     <limits.h> exists even on freestanding compilers.  */
80182
80183 #ifdef __STDC__
80184 # include <limits.h>
80185 #else
80186 # include <assert.h>
80187 #endif
80188
80189 #undef $ac_func
80190
80191 /* Override any gcc2 internal prototype to avoid an error.  */
80192 #ifdef __cplusplus
80193 extern "C"
80194 {
80195 #endif
80196 /* We use char because int might match the return type of a gcc2
80197    builtin and then its argument prototype would still apply.  */
80198 char $ac_func ();
80199 /* The GNU C library defines this for functions which it implements
80200     to always fail with ENOSYS.  Some functions are actually named
80201     something starting with __ and the normal name is an alias.  */
80202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80203 choke me
80204 #else
80205 char (*f) () = $ac_func;
80206 #endif
80207 #ifdef __cplusplus
80208 }
80209 #endif
80210
80211 int
80212 main ()
80213 {
80214 return f != $ac_func;
80215   ;
80216   return 0;
80217 }
80218 _ACEOF
80219 rm -f conftest.$ac_objext conftest$ac_exeext
80220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80221   (eval $ac_link) 2>conftest.er1
80222   ac_status=$?
80223   grep -v '^ *+' conftest.er1 >conftest.err
80224   rm -f conftest.er1
80225   cat conftest.err >&5
80226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80227   (exit $ac_status); } &&
80228          { ac_try='test -z "$ac_c_werror_flag"
80229                          || test ! -s conftest.err'
80230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80231   (eval $ac_try) 2>&5
80232   ac_status=$?
80233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80234   (exit $ac_status); }; } &&
80235          { ac_try='test -s conftest$ac_exeext'
80236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80237   (eval $ac_try) 2>&5
80238   ac_status=$?
80239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80240   (exit $ac_status); }; }; then
80241   eval "$as_ac_var=yes"
80242 else
80243   echo "$as_me: failed program was:" >&5
80244 sed 's/^/| /' conftest.$ac_ext >&5
80245
80246 eval "$as_ac_var=no"
80247 fi
80248 rm -f conftest.err conftest.$ac_objext \
80249       conftest$ac_exeext conftest.$ac_ext
80250 fi
80251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80253 if test `eval echo '${'$as_ac_var'}'` = yes; then
80254   cat >>confdefs.h <<_ACEOF
80255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80256 _ACEOF
80257
80258 else
80259   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80260 fi
80261 done
80262
80263
80264           if test x$ac_cv_func_copysignl = x"yes"; then
80265
80266 for ac_func in __signbitl
80267 do
80268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80269 echo "$as_me:$LINENO: checking for $ac_func" >&5
80270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80271 if eval "test \"\${$as_ac_var+set}\" = set"; then
80272   echo $ECHO_N "(cached) $ECHO_C" >&6
80273 else
80274   if test x$gcc_no_link = xyes; then
80275   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80277    { (exit 1); exit 1; }; }
80278 fi
80279 cat >conftest.$ac_ext <<_ACEOF
80280 /* confdefs.h.  */
80281 _ACEOF
80282 cat confdefs.h >>conftest.$ac_ext
80283 cat >>conftest.$ac_ext <<_ACEOF
80284 /* end confdefs.h.  */
80285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80286    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80287 #define $ac_func innocuous_$ac_func
80288
80289 /* System header to define __stub macros and hopefully few prototypes,
80290     which can conflict with char $ac_func (); below.
80291     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80292     <limits.h> exists even on freestanding compilers.  */
80293
80294 #ifdef __STDC__
80295 # include <limits.h>
80296 #else
80297 # include <assert.h>
80298 #endif
80299
80300 #undef $ac_func
80301
80302 /* Override any gcc2 internal prototype to avoid an error.  */
80303 #ifdef __cplusplus
80304 extern "C"
80305 {
80306 #endif
80307 /* We use char because int might match the return type of a gcc2
80308    builtin and then its argument prototype would still apply.  */
80309 char $ac_func ();
80310 /* The GNU C library defines this for functions which it implements
80311     to always fail with ENOSYS.  Some functions are actually named
80312     something starting with __ and the normal name is an alias.  */
80313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80314 choke me
80315 #else
80316 char (*f) () = $ac_func;
80317 #endif
80318 #ifdef __cplusplus
80319 }
80320 #endif
80321
80322 int
80323 main ()
80324 {
80325 return f != $ac_func;
80326   ;
80327   return 0;
80328 }
80329 _ACEOF
80330 rm -f conftest.$ac_objext conftest$ac_exeext
80331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80332   (eval $ac_link) 2>conftest.er1
80333   ac_status=$?
80334   grep -v '^ *+' conftest.er1 >conftest.err
80335   rm -f conftest.er1
80336   cat conftest.err >&5
80337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80338   (exit $ac_status); } &&
80339          { ac_try='test -z "$ac_c_werror_flag"
80340                          || test ! -s conftest.err'
80341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80342   (eval $ac_try) 2>&5
80343   ac_status=$?
80344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80345   (exit $ac_status); }; } &&
80346          { ac_try='test -s conftest$ac_exeext'
80347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80348   (eval $ac_try) 2>&5
80349   ac_status=$?
80350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80351   (exit $ac_status); }; }; then
80352   eval "$as_ac_var=yes"
80353 else
80354   echo "$as_me: failed program was:" >&5
80355 sed 's/^/| /' conftest.$ac_ext >&5
80356
80357 eval "$as_ac_var=no"
80358 fi
80359 rm -f conftest.err conftest.$ac_objext \
80360       conftest$ac_exeext conftest.$ac_ext
80361 fi
80362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80364 if test `eval echo '${'$as_ac_var'}'` = yes; then
80365   cat >>confdefs.h <<_ACEOF
80366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80367 _ACEOF
80368
80369 else
80370   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80371 fi
80372 done
80373
80374   fi
80375
80376   # Used in libmath/Makefile.am.
80377   if test -n "$LIBMATHOBJS"; then
80378     need_libmath=yes
80379   fi
80380
80381
80382
80383   # Test wchar.h for mbstate_t, which is needed for char_traits and
80384   # others even if wchar_t support is not on.
80385   echo "$as_me:$LINENO: checking for mbstate_t" >&5
80386 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
80387   cat >conftest.$ac_ext <<_ACEOF
80388 /* confdefs.h.  */
80389 _ACEOF
80390 cat confdefs.h >>conftest.$ac_ext
80391 cat >>conftest.$ac_ext <<_ACEOF
80392 /* end confdefs.h.  */
80393 #include <wchar.h>
80394 int
80395 main ()
80396 {
80397 mbstate_t teststate;
80398   ;
80399   return 0;
80400 }
80401 _ACEOF
80402 rm -f conftest.$ac_objext
80403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80404   (eval $ac_compile) 2>conftest.er1
80405   ac_status=$?
80406   grep -v '^ *+' conftest.er1 >conftest.err
80407   rm -f conftest.er1
80408   cat conftest.err >&5
80409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80410   (exit $ac_status); } &&
80411          { ac_try='test -z "$ac_c_werror_flag"
80412                          || test ! -s conftest.err'
80413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80414   (eval $ac_try) 2>&5
80415   ac_status=$?
80416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80417   (exit $ac_status); }; } &&
80418          { ac_try='test -s conftest.$ac_objext'
80419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80420   (eval $ac_try) 2>&5
80421   ac_status=$?
80422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80423   (exit $ac_status); }; }; then
80424   have_mbstate_t=yes
80425 else
80426   echo "$as_me: failed program was:" >&5
80427 sed 's/^/| /' conftest.$ac_ext >&5
80428
80429 have_mbstate_t=no
80430 fi
80431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80432   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
80433 echo "${ECHO_T}$have_mbstate_t" >&6
80434   if test x"$have_mbstate_t" = xyes; then
80435     cat >>confdefs.h <<\_ACEOF
80436 #define HAVE_MBSTATE_T 1
80437 _ACEOF
80438
80439   fi
80440
80441   # Sanity check for existence of ISO C99 headers for extended encoding.
80442
80443 for ac_header in wchar.h
80444 do
80445 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80446 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80447   echo "$as_me:$LINENO: checking for $ac_header" >&5
80448 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80449 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80450   echo $ECHO_N "(cached) $ECHO_C" >&6
80451 fi
80452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80453 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80454 else
80455   # Is the header compilable?
80456 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80457 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80458 cat >conftest.$ac_ext <<_ACEOF
80459 /* confdefs.h.  */
80460 _ACEOF
80461 cat confdefs.h >>conftest.$ac_ext
80462 cat >>conftest.$ac_ext <<_ACEOF
80463 /* end confdefs.h.  */
80464 $ac_includes_default
80465 #include <$ac_header>
80466 _ACEOF
80467 rm -f conftest.$ac_objext
80468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80469   (eval $ac_compile) 2>conftest.er1
80470   ac_status=$?
80471   grep -v '^ *+' conftest.er1 >conftest.err
80472   rm -f conftest.er1
80473   cat conftest.err >&5
80474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80475   (exit $ac_status); } &&
80476          { ac_try='test -z "$ac_c_werror_flag"
80477                          || test ! -s conftest.err'
80478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80479   (eval $ac_try) 2>&5
80480   ac_status=$?
80481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80482   (exit $ac_status); }; } &&
80483          { ac_try='test -s conftest.$ac_objext'
80484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80485   (eval $ac_try) 2>&5
80486   ac_status=$?
80487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80488   (exit $ac_status); }; }; then
80489   ac_header_compiler=yes
80490 else
80491   echo "$as_me: failed program was:" >&5
80492 sed 's/^/| /' conftest.$ac_ext >&5
80493
80494 ac_header_compiler=no
80495 fi
80496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80497 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80498 echo "${ECHO_T}$ac_header_compiler" >&6
80499
80500 # Is the header present?
80501 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80502 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80503 cat >conftest.$ac_ext <<_ACEOF
80504 /* confdefs.h.  */
80505 _ACEOF
80506 cat confdefs.h >>conftest.$ac_ext
80507 cat >>conftest.$ac_ext <<_ACEOF
80508 /* end confdefs.h.  */
80509 #include <$ac_header>
80510 _ACEOF
80511 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80512   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80513   ac_status=$?
80514   grep -v '^ *+' conftest.er1 >conftest.err
80515   rm -f conftest.er1
80516   cat conftest.err >&5
80517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80518   (exit $ac_status); } >/dev/null; then
80519   if test -s conftest.err; then
80520     ac_cpp_err=$ac_c_preproc_warn_flag
80521     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80522   else
80523     ac_cpp_err=
80524   fi
80525 else
80526   ac_cpp_err=yes
80527 fi
80528 if test -z "$ac_cpp_err"; then
80529   ac_header_preproc=yes
80530 else
80531   echo "$as_me: failed program was:" >&5
80532 sed 's/^/| /' conftest.$ac_ext >&5
80533
80534   ac_header_preproc=no
80535 fi
80536 rm -f conftest.err conftest.$ac_ext
80537 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80538 echo "${ECHO_T}$ac_header_preproc" >&6
80539
80540 # So?  What about this header?
80541 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80542   yes:no: )
80543     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80544 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80545     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80546 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80547     ac_header_preproc=yes
80548     ;;
80549   no:yes:* )
80550     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80551 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80552     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
80553 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
80554     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80555 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80556     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
80557 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
80558     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80559 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80560     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80561 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80562     (
80563       cat <<\_ASBOX
80564 ## ----------------------------------------- ##
80565 ## Report this to the package-unused lists.  ##
80566 ## ----------------------------------------- ##
80567 _ASBOX
80568     ) |
80569       sed "s/^/$as_me: WARNING:     /" >&2
80570     ;;
80571 esac
80572 echo "$as_me:$LINENO: checking for $ac_header" >&5
80573 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80574 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80575   echo $ECHO_N "(cached) $ECHO_C" >&6
80576 else
80577   eval "$as_ac_Header=\$ac_header_preproc"
80578 fi
80579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80580 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80581
80582 fi
80583 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80584   cat >>confdefs.h <<_ACEOF
80585 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80586 _ACEOF
80587  ac_has_wchar_h=yes
80588 else
80589   ac_has_wchar_h=no
80590 fi
80591
80592 done
80593
80594
80595 for ac_header in wctype.h
80596 do
80597 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80599   echo "$as_me:$LINENO: checking for $ac_header" >&5
80600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80602   echo $ECHO_N "(cached) $ECHO_C" >&6
80603 fi
80604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80606 else
80607   # Is the header compilable?
80608 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80609 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80610 cat >conftest.$ac_ext <<_ACEOF
80611 /* confdefs.h.  */
80612 _ACEOF
80613 cat confdefs.h >>conftest.$ac_ext
80614 cat >>conftest.$ac_ext <<_ACEOF
80615 /* end confdefs.h.  */
80616 $ac_includes_default
80617 #include <$ac_header>
80618 _ACEOF
80619 rm -f conftest.$ac_objext
80620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80621   (eval $ac_compile) 2>conftest.er1
80622   ac_status=$?
80623   grep -v '^ *+' conftest.er1 >conftest.err
80624   rm -f conftest.er1
80625   cat conftest.err >&5
80626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80627   (exit $ac_status); } &&
80628          { ac_try='test -z "$ac_c_werror_flag"
80629                          || test ! -s conftest.err'
80630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80631   (eval $ac_try) 2>&5
80632   ac_status=$?
80633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80634   (exit $ac_status); }; } &&
80635          { ac_try='test -s conftest.$ac_objext'
80636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80637   (eval $ac_try) 2>&5
80638   ac_status=$?
80639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80640   (exit $ac_status); }; }; then
80641   ac_header_compiler=yes
80642 else
80643   echo "$as_me: failed program was:" >&5
80644 sed 's/^/| /' conftest.$ac_ext >&5
80645
80646 ac_header_compiler=no
80647 fi
80648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80649 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80650 echo "${ECHO_T}$ac_header_compiler" >&6
80651
80652 # Is the header present?
80653 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80654 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80655 cat >conftest.$ac_ext <<_ACEOF
80656 /* confdefs.h.  */
80657 _ACEOF
80658 cat confdefs.h >>conftest.$ac_ext
80659 cat >>conftest.$ac_ext <<_ACEOF
80660 /* end confdefs.h.  */
80661 #include <$ac_header>
80662 _ACEOF
80663 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80664   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80665   ac_status=$?
80666   grep -v '^ *+' conftest.er1 >conftest.err
80667   rm -f conftest.er1
80668   cat conftest.err >&5
80669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80670   (exit $ac_status); } >/dev/null; then
80671   if test -s conftest.err; then
80672     ac_cpp_err=$ac_c_preproc_warn_flag
80673     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80674   else
80675     ac_cpp_err=
80676   fi
80677 else
80678   ac_cpp_err=yes
80679 fi
80680 if test -z "$ac_cpp_err"; then
80681   ac_header_preproc=yes
80682 else
80683   echo "$as_me: failed program was:" >&5
80684 sed 's/^/| /' conftest.$ac_ext >&5
80685
80686   ac_header_preproc=no
80687 fi
80688 rm -f conftest.err conftest.$ac_ext
80689 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80690 echo "${ECHO_T}$ac_header_preproc" >&6
80691
80692 # So?  What about this header?
80693 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80694   yes:no: )
80695     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80696 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80697     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80698 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80699     ac_header_preproc=yes
80700     ;;
80701   no:yes:* )
80702     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80703 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80704     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
80705 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
80706     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80707 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80708     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
80709 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
80710     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80711 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80712     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80713 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80714     (
80715       cat <<\_ASBOX
80716 ## ----------------------------------------- ##
80717 ## Report this to the package-unused lists.  ##
80718 ## ----------------------------------------- ##
80719 _ASBOX
80720     ) |
80721       sed "s/^/$as_me: WARNING:     /" >&2
80722     ;;
80723 esac
80724 echo "$as_me:$LINENO: checking for $ac_header" >&5
80725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80727   echo $ECHO_N "(cached) $ECHO_C" >&6
80728 else
80729   eval "$as_ac_Header=\$ac_header_preproc"
80730 fi
80731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80733
80734 fi
80735 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80736   cat >>confdefs.h <<_ACEOF
80737 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80738 _ACEOF
80739  ac_has_wctype_h=yes
80740 else
80741   ac_has_wctype_h=no
80742 fi
80743
80744 done
80745
80746
80747   # Only continue checking if the ISO C99 headers exist and support is on.
80748   if test x"$ac_has_wchar_h" = xyes &&
80749      test x"$ac_has_wctype_h" = xyes &&
80750      test x"$enable_c_mbchar" != xno; then
80751
80752     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
80753     # numeric_limits can instantiate type_traits<wchar_t>
80754     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
80755 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
80756     cat >conftest.$ac_ext <<_ACEOF
80757 /* confdefs.h.  */
80758 _ACEOF
80759 cat confdefs.h >>conftest.$ac_ext
80760 cat >>conftest.$ac_ext <<_ACEOF
80761 /* end confdefs.h.  */
80762 #include <wchar.h>
80763 int
80764 main ()
80765 {
80766 int i = WCHAR_MIN; int j = WCHAR_MAX;
80767   ;
80768   return 0;
80769 }
80770 _ACEOF
80771 rm -f conftest.$ac_objext
80772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80773   (eval $ac_compile) 2>conftest.er1
80774   ac_status=$?
80775   grep -v '^ *+' conftest.er1 >conftest.err
80776   rm -f conftest.er1
80777   cat conftest.err >&5
80778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80779   (exit $ac_status); } &&
80780          { ac_try='test -z "$ac_c_werror_flag"
80781                          || test ! -s conftest.err'
80782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80783   (eval $ac_try) 2>&5
80784   ac_status=$?
80785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80786   (exit $ac_status); }; } &&
80787          { ac_try='test -s conftest.$ac_objext'
80788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80789   (eval $ac_try) 2>&5
80790   ac_status=$?
80791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80792   (exit $ac_status); }; }; then
80793   has_wchar_minmax=yes
80794 else
80795   echo "$as_me: failed program was:" >&5
80796 sed 's/^/| /' conftest.$ac_ext >&5
80797
80798 has_wchar_minmax=no
80799 fi
80800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80801     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
80802 echo "${ECHO_T}$has_wchar_minmax" >&6
80803
80804     # Test wchar.h for WEOF, which is what we use to determine whether
80805     # to specialize for char_traits<wchar_t> or not.
80806     echo "$as_me:$LINENO: checking for WEOF" >&5
80807 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
80808     cat >conftest.$ac_ext <<_ACEOF
80809 /* confdefs.h.  */
80810 _ACEOF
80811 cat confdefs.h >>conftest.$ac_ext
80812 cat >>conftest.$ac_ext <<_ACEOF
80813 /* end confdefs.h.  */
80814
80815       #include <wchar.h>
80816       #include <stddef.h>
80817 int
80818 main ()
80819 {
80820 wint_t i = WEOF;
80821   ;
80822   return 0;
80823 }
80824 _ACEOF
80825 rm -f conftest.$ac_objext
80826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80827   (eval $ac_compile) 2>conftest.er1
80828   ac_status=$?
80829   grep -v '^ *+' conftest.er1 >conftest.err
80830   rm -f conftest.er1
80831   cat conftest.err >&5
80832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80833   (exit $ac_status); } &&
80834          { ac_try='test -z "$ac_c_werror_flag"
80835                          || test ! -s conftest.err'
80836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80837   (eval $ac_try) 2>&5
80838   ac_status=$?
80839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80840   (exit $ac_status); }; } &&
80841          { ac_try='test -s conftest.$ac_objext'
80842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80843   (eval $ac_try) 2>&5
80844   ac_status=$?
80845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80846   (exit $ac_status); }; }; then
80847   has_weof=yes
80848 else
80849   echo "$as_me: failed program was:" >&5
80850 sed 's/^/| /' conftest.$ac_ext >&5
80851
80852 has_weof=no
80853 fi
80854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80855     echo "$as_me:$LINENO: result: $has_weof" >&5
80856 echo "${ECHO_T}$has_weof" >&6
80857
80858     # Tests for wide character functions used in char_traits<wchar_t>.
80859     ac_wfuncs=yes
80860
80861
80862
80863
80864
80865
80866 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
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   ac_wfuncs=no
80971 fi
80972 done
80973
80974
80975     # Checks for names injected into std:: by the c_std headers.
80976
80977
80978
80979
80980
80981
80982
80983
80984
80985
80986
80987
80988
80989
80990
80991
80992
80993
80994
80995
80996
80997
80998
80999
81000
81001
81002
81003
81004
81005
81006
81007
81008
81009
81010
81011
81012
81013
81014
81015
81016
81017
81018
81019
81020
81021
81022 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
81023     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
81024     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
81025     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
81026     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
81027     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
81028 do
81029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81030 echo "$as_me:$LINENO: checking for $ac_func" >&5
81031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81032 if eval "test \"\${$as_ac_var+set}\" = set"; then
81033   echo $ECHO_N "(cached) $ECHO_C" >&6
81034 else
81035   if test x$gcc_no_link = xyes; then
81036   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81038    { (exit 1); exit 1; }; }
81039 fi
81040 cat >conftest.$ac_ext <<_ACEOF
81041 /* confdefs.h.  */
81042 _ACEOF
81043 cat confdefs.h >>conftest.$ac_ext
81044 cat >>conftest.$ac_ext <<_ACEOF
81045 /* end confdefs.h.  */
81046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81047    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81048 #define $ac_func innocuous_$ac_func
81049
81050 /* System header to define __stub macros and hopefully few prototypes,
81051     which can conflict with char $ac_func (); below.
81052     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81053     <limits.h> exists even on freestanding compilers.  */
81054
81055 #ifdef __STDC__
81056 # include <limits.h>
81057 #else
81058 # include <assert.h>
81059 #endif
81060
81061 #undef $ac_func
81062
81063 /* Override any gcc2 internal prototype to avoid an error.  */
81064 #ifdef __cplusplus
81065 extern "C"
81066 {
81067 #endif
81068 /* We use char because int might match the return type of a gcc2
81069    builtin and then its argument prototype would still apply.  */
81070 char $ac_func ();
81071 /* The GNU C library defines this for functions which it implements
81072     to always fail with ENOSYS.  Some functions are actually named
81073     something starting with __ and the normal name is an alias.  */
81074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81075 choke me
81076 #else
81077 char (*f) () = $ac_func;
81078 #endif
81079 #ifdef __cplusplus
81080 }
81081 #endif
81082
81083 int
81084 main ()
81085 {
81086 return f != $ac_func;
81087   ;
81088   return 0;
81089 }
81090 _ACEOF
81091 rm -f conftest.$ac_objext conftest$ac_exeext
81092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81093   (eval $ac_link) 2>conftest.er1
81094   ac_status=$?
81095   grep -v '^ *+' conftest.er1 >conftest.err
81096   rm -f conftest.er1
81097   cat conftest.err >&5
81098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81099   (exit $ac_status); } &&
81100          { ac_try='test -z "$ac_c_werror_flag"
81101                          || test ! -s conftest.err'
81102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81103   (eval $ac_try) 2>&5
81104   ac_status=$?
81105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81106   (exit $ac_status); }; } &&
81107          { ac_try='test -s conftest$ac_exeext'
81108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81109   (eval $ac_try) 2>&5
81110   ac_status=$?
81111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81112   (exit $ac_status); }; }; then
81113   eval "$as_ac_var=yes"
81114 else
81115   echo "$as_me: failed program was:" >&5
81116 sed 's/^/| /' conftest.$ac_ext >&5
81117
81118 eval "$as_ac_var=no"
81119 fi
81120 rm -f conftest.err conftest.$ac_objext \
81121       conftest$ac_exeext conftest.$ac_ext
81122 fi
81123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81125 if test `eval echo '${'$as_ac_var'}'` = yes; then
81126   cat >>confdefs.h <<_ACEOF
81127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81128 _ACEOF
81129
81130 else
81131   ac_wfuncs=no
81132 fi
81133 done
81134
81135
81136     # Checks for wide character functions that are not required
81137     # for basic wchar_t support.  Don't disable support if they are missing.
81138     # Injection of these is wrapped with guard macros.
81139
81140
81141
81142
81143
81144 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
81145 do
81146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81147 echo "$as_me:$LINENO: checking for $ac_func" >&5
81148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81149 if eval "test \"\${$as_ac_var+set}\" = set"; then
81150   echo $ECHO_N "(cached) $ECHO_C" >&6
81151 else
81152   if test x$gcc_no_link = xyes; then
81153   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81155    { (exit 1); exit 1; }; }
81156 fi
81157 cat >conftest.$ac_ext <<_ACEOF
81158 /* confdefs.h.  */
81159 _ACEOF
81160 cat confdefs.h >>conftest.$ac_ext
81161 cat >>conftest.$ac_ext <<_ACEOF
81162 /* end confdefs.h.  */
81163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81164    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81165 #define $ac_func innocuous_$ac_func
81166
81167 /* System header to define __stub macros and hopefully few prototypes,
81168     which can conflict with char $ac_func (); below.
81169     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81170     <limits.h> exists even on freestanding compilers.  */
81171
81172 #ifdef __STDC__
81173 # include <limits.h>
81174 #else
81175 # include <assert.h>
81176 #endif
81177
81178 #undef $ac_func
81179
81180 /* Override any gcc2 internal prototype to avoid an error.  */
81181 #ifdef __cplusplus
81182 extern "C"
81183 {
81184 #endif
81185 /* We use char because int might match the return type of a gcc2
81186    builtin and then its argument prototype would still apply.  */
81187 char $ac_func ();
81188 /* The GNU C library defines this for functions which it implements
81189     to always fail with ENOSYS.  Some functions are actually named
81190     something starting with __ and the normal name is an alias.  */
81191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81192 choke me
81193 #else
81194 char (*f) () = $ac_func;
81195 #endif
81196 #ifdef __cplusplus
81197 }
81198 #endif
81199
81200 int
81201 main ()
81202 {
81203 return f != $ac_func;
81204   ;
81205   return 0;
81206 }
81207 _ACEOF
81208 rm -f conftest.$ac_objext conftest$ac_exeext
81209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81210   (eval $ac_link) 2>conftest.er1
81211   ac_status=$?
81212   grep -v '^ *+' conftest.er1 >conftest.err
81213   rm -f conftest.er1
81214   cat conftest.err >&5
81215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81216   (exit $ac_status); } &&
81217          { ac_try='test -z "$ac_c_werror_flag"
81218                          || test ! -s conftest.err'
81219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81220   (eval $ac_try) 2>&5
81221   ac_status=$?
81222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81223   (exit $ac_status); }; } &&
81224          { ac_try='test -s conftest$ac_exeext'
81225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81226   (eval $ac_try) 2>&5
81227   ac_status=$?
81228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81229   (exit $ac_status); }; }; then
81230   eval "$as_ac_var=yes"
81231 else
81232   echo "$as_me: failed program was:" >&5
81233 sed 's/^/| /' conftest.$ac_ext >&5
81234
81235 eval "$as_ac_var=no"
81236 fi
81237 rm -f conftest.err conftest.$ac_objext \
81238       conftest$ac_exeext conftest.$ac_ext
81239 fi
81240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81242 if test `eval echo '${'$as_ac_var'}'` = yes; then
81243   cat >>confdefs.h <<_ACEOF
81244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81245 _ACEOF
81246
81247 fi
81248 done
81249
81250
81251     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
81252 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
81253     if test x"$has_weof" = xyes &&
81254        test x"$has_wchar_minmax" = xyes &&
81255        test x"$ac_wfuncs" = xyes;
81256     then
81257       ac_isoC99_wchar_t=yes
81258     else
81259       ac_isoC99_wchar_t=no
81260     fi
81261     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
81262 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
81263
81264     # Use iconv for wchar_t to char conversions. As such, check for
81265     # X/Open Portability Guide, version 2 features (XPG2).
81266     if test "${ac_cv_header_iconv_h+set}" = set; then
81267   echo "$as_me:$LINENO: checking for iconv.h" >&5
81268 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81269 if test "${ac_cv_header_iconv_h+set}" = set; then
81270   echo $ECHO_N "(cached) $ECHO_C" >&6
81271 fi
81272 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81273 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81274 else
81275   # Is the header compilable?
81276 echo "$as_me:$LINENO: checking iconv.h usability" >&5
81277 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
81278 cat >conftest.$ac_ext <<_ACEOF
81279 /* confdefs.h.  */
81280 _ACEOF
81281 cat confdefs.h >>conftest.$ac_ext
81282 cat >>conftest.$ac_ext <<_ACEOF
81283 /* end confdefs.h.  */
81284 $ac_includes_default
81285 #include <iconv.h>
81286 _ACEOF
81287 rm -f conftest.$ac_objext
81288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81289   (eval $ac_compile) 2>conftest.er1
81290   ac_status=$?
81291   grep -v '^ *+' conftest.er1 >conftest.err
81292   rm -f conftest.er1
81293   cat conftest.err >&5
81294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81295   (exit $ac_status); } &&
81296          { ac_try='test -z "$ac_c_werror_flag"
81297                          || test ! -s conftest.err'
81298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81299   (eval $ac_try) 2>&5
81300   ac_status=$?
81301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81302   (exit $ac_status); }; } &&
81303          { ac_try='test -s conftest.$ac_objext'
81304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81305   (eval $ac_try) 2>&5
81306   ac_status=$?
81307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81308   (exit $ac_status); }; }; then
81309   ac_header_compiler=yes
81310 else
81311   echo "$as_me: failed program was:" >&5
81312 sed 's/^/| /' conftest.$ac_ext >&5
81313
81314 ac_header_compiler=no
81315 fi
81316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81317 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81318 echo "${ECHO_T}$ac_header_compiler" >&6
81319
81320 # Is the header present?
81321 echo "$as_me:$LINENO: checking iconv.h presence" >&5
81322 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
81323 cat >conftest.$ac_ext <<_ACEOF
81324 /* confdefs.h.  */
81325 _ACEOF
81326 cat confdefs.h >>conftest.$ac_ext
81327 cat >>conftest.$ac_ext <<_ACEOF
81328 /* end confdefs.h.  */
81329 #include <iconv.h>
81330 _ACEOF
81331 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81332   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81333   ac_status=$?
81334   grep -v '^ *+' conftest.er1 >conftest.err
81335   rm -f conftest.er1
81336   cat conftest.err >&5
81337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81338   (exit $ac_status); } >/dev/null; then
81339   if test -s conftest.err; then
81340     ac_cpp_err=$ac_c_preproc_warn_flag
81341     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81342   else
81343     ac_cpp_err=
81344   fi
81345 else
81346   ac_cpp_err=yes
81347 fi
81348 if test -z "$ac_cpp_err"; then
81349   ac_header_preproc=yes
81350 else
81351   echo "$as_me: failed program was:" >&5
81352 sed 's/^/| /' conftest.$ac_ext >&5
81353
81354   ac_header_preproc=no
81355 fi
81356 rm -f conftest.err conftest.$ac_ext
81357 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81358 echo "${ECHO_T}$ac_header_preproc" >&6
81359
81360 # So?  What about this header?
81361 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81362   yes:no: )
81363     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
81364 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81365     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
81366 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
81367     ac_header_preproc=yes
81368     ;;
81369   no:yes:* )
81370     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
81371 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
81372     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
81373 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
81374     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
81375 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
81376     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
81377 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
81378     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81379 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81380     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
81381 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
81382     (
81383       cat <<\_ASBOX
81384 ## ----------------------------------------- ##
81385 ## Report this to the package-unused lists.  ##
81386 ## ----------------------------------------- ##
81387 _ASBOX
81388     ) |
81389       sed "s/^/$as_me: WARNING:     /" >&2
81390     ;;
81391 esac
81392 echo "$as_me:$LINENO: checking for iconv.h" >&5
81393 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81394 if test "${ac_cv_header_iconv_h+set}" = set; then
81395   echo $ECHO_N "(cached) $ECHO_C" >&6
81396 else
81397   ac_cv_header_iconv_h=$ac_header_preproc
81398 fi
81399 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81400 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81401
81402 fi
81403 if test $ac_cv_header_iconv_h = yes; then
81404   ac_has_iconv_h=yes
81405 else
81406   ac_has_iconv_h=no
81407 fi
81408
81409
81410     if test "${ac_cv_header_langinfo_h+set}" = set; then
81411   echo "$as_me:$LINENO: checking for langinfo.h" >&5
81412 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81413 if test "${ac_cv_header_langinfo_h+set}" = set; then
81414   echo $ECHO_N "(cached) $ECHO_C" >&6
81415 fi
81416 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81417 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81418 else
81419   # Is the header compilable?
81420 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
81421 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
81422 cat >conftest.$ac_ext <<_ACEOF
81423 /* confdefs.h.  */
81424 _ACEOF
81425 cat confdefs.h >>conftest.$ac_ext
81426 cat >>conftest.$ac_ext <<_ACEOF
81427 /* end confdefs.h.  */
81428 $ac_includes_default
81429 #include <langinfo.h>
81430 _ACEOF
81431 rm -f conftest.$ac_objext
81432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81433   (eval $ac_compile) 2>conftest.er1
81434   ac_status=$?
81435   grep -v '^ *+' conftest.er1 >conftest.err
81436   rm -f conftest.er1
81437   cat conftest.err >&5
81438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81439   (exit $ac_status); } &&
81440          { ac_try='test -z "$ac_c_werror_flag"
81441                          || test ! -s conftest.err'
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); }; } &&
81447          { ac_try='test -s conftest.$ac_objext'
81448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81449   (eval $ac_try) 2>&5
81450   ac_status=$?
81451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81452   (exit $ac_status); }; }; then
81453   ac_header_compiler=yes
81454 else
81455   echo "$as_me: failed program was:" >&5
81456 sed 's/^/| /' conftest.$ac_ext >&5
81457
81458 ac_header_compiler=no
81459 fi
81460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81461 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81462 echo "${ECHO_T}$ac_header_compiler" >&6
81463
81464 # Is the header present?
81465 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
81466 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
81467 cat >conftest.$ac_ext <<_ACEOF
81468 /* confdefs.h.  */
81469 _ACEOF
81470 cat confdefs.h >>conftest.$ac_ext
81471 cat >>conftest.$ac_ext <<_ACEOF
81472 /* end confdefs.h.  */
81473 #include <langinfo.h>
81474 _ACEOF
81475 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81476   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81477   ac_status=$?
81478   grep -v '^ *+' conftest.er1 >conftest.err
81479   rm -f conftest.er1
81480   cat conftest.err >&5
81481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81482   (exit $ac_status); } >/dev/null; then
81483   if test -s conftest.err; then
81484     ac_cpp_err=$ac_c_preproc_warn_flag
81485     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81486   else
81487     ac_cpp_err=
81488   fi
81489 else
81490   ac_cpp_err=yes
81491 fi
81492 if test -z "$ac_cpp_err"; then
81493   ac_header_preproc=yes
81494 else
81495   echo "$as_me: failed program was:" >&5
81496 sed 's/^/| /' conftest.$ac_ext >&5
81497
81498   ac_header_preproc=no
81499 fi
81500 rm -f conftest.err conftest.$ac_ext
81501 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81502 echo "${ECHO_T}$ac_header_preproc" >&6
81503
81504 # So?  What about this header?
81505 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81506   yes:no: )
81507     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81508 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81509     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
81510 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
81511     ac_header_preproc=yes
81512     ;;
81513   no:yes:* )
81514     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81515 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81516     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
81517 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
81518     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
81519 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
81520     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
81521 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
81522     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81523 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81524     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
81525 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
81526     (
81527       cat <<\_ASBOX
81528 ## ----------------------------------------- ##
81529 ## Report this to the package-unused lists.  ##
81530 ## ----------------------------------------- ##
81531 _ASBOX
81532     ) |
81533       sed "s/^/$as_me: WARNING:     /" >&2
81534     ;;
81535 esac
81536 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81537 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81538 if test "${ac_cv_header_langinfo_h+set}" = set; then
81539   echo $ECHO_N "(cached) $ECHO_C" >&6
81540 else
81541   ac_cv_header_langinfo_h=$ac_header_preproc
81542 fi
81543 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81544 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81545
81546 fi
81547 if test $ac_cv_header_langinfo_h = yes; then
81548   ac_has_langinfo_h=yes
81549 else
81550   ac_has_langinfo_h=no
81551 fi
81552
81553
81554
81555     # Check for existence of libiconv.a providing XPG2 wchar_t support.
81556     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81557 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81558 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81559   echo $ECHO_N "(cached) $ECHO_C" >&6
81560 else
81561   ac_check_lib_save_LIBS=$LIBS
81562 LIBS="-liconv  $LIBS"
81563 if test x$gcc_no_link = xyes; then
81564   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81566    { (exit 1); exit 1; }; }
81567 fi
81568 cat >conftest.$ac_ext <<_ACEOF
81569 /* confdefs.h.  */
81570 _ACEOF
81571 cat confdefs.h >>conftest.$ac_ext
81572 cat >>conftest.$ac_ext <<_ACEOF
81573 /* end confdefs.h.  */
81574
81575 /* Override any gcc2 internal prototype to avoid an error.  */
81576 #ifdef __cplusplus
81577 extern "C"
81578 #endif
81579 /* We use char because int might match the return type of a gcc2
81580    builtin and then its argument prototype would still apply.  */
81581 char iconv ();
81582 int
81583 main ()
81584 {
81585 iconv ();
81586   ;
81587   return 0;
81588 }
81589 _ACEOF
81590 rm -f conftest.$ac_objext conftest$ac_exeext
81591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81592   (eval $ac_link) 2>conftest.er1
81593   ac_status=$?
81594   grep -v '^ *+' conftest.er1 >conftest.err
81595   rm -f conftest.er1
81596   cat conftest.err >&5
81597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81598   (exit $ac_status); } &&
81599          { ac_try='test -z "$ac_c_werror_flag"
81600                          || test ! -s conftest.err'
81601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81602   (eval $ac_try) 2>&5
81603   ac_status=$?
81604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81605   (exit $ac_status); }; } &&
81606          { ac_try='test -s conftest$ac_exeext'
81607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81608   (eval $ac_try) 2>&5
81609   ac_status=$?
81610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81611   (exit $ac_status); }; }; then
81612   ac_cv_lib_iconv_iconv=yes
81613 else
81614   echo "$as_me: failed program was:" >&5
81615 sed 's/^/| /' conftest.$ac_ext >&5
81616
81617 ac_cv_lib_iconv_iconv=no
81618 fi
81619 rm -f conftest.err conftest.$ac_objext \
81620       conftest$ac_exeext conftest.$ac_ext
81621 LIBS=$ac_check_lib_save_LIBS
81622 fi
81623 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81624 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81625 if test $ac_cv_lib_iconv_iconv = yes; then
81626   LIBICONV="-liconv"
81627 fi
81628
81629     ac_save_LIBS="$LIBS"
81630     LIBS="$LIBS $LIBICONV"
81631
81632
81633
81634
81635
81636
81637 for ac_func in iconv_open iconv_close iconv nl_langinfo
81638 do
81639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81640 echo "$as_me:$LINENO: checking for $ac_func" >&5
81641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81642 if eval "test \"\${$as_ac_var+set}\" = set"; then
81643   echo $ECHO_N "(cached) $ECHO_C" >&6
81644 else
81645   if test x$gcc_no_link = xyes; then
81646   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81648    { (exit 1); exit 1; }; }
81649 fi
81650 cat >conftest.$ac_ext <<_ACEOF
81651 /* confdefs.h.  */
81652 _ACEOF
81653 cat confdefs.h >>conftest.$ac_ext
81654 cat >>conftest.$ac_ext <<_ACEOF
81655 /* end confdefs.h.  */
81656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81657    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81658 #define $ac_func innocuous_$ac_func
81659
81660 /* System header to define __stub macros and hopefully few prototypes,
81661     which can conflict with char $ac_func (); below.
81662     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81663     <limits.h> exists even on freestanding compilers.  */
81664
81665 #ifdef __STDC__
81666 # include <limits.h>
81667 #else
81668 # include <assert.h>
81669 #endif
81670
81671 #undef $ac_func
81672
81673 /* Override any gcc2 internal prototype to avoid an error.  */
81674 #ifdef __cplusplus
81675 extern "C"
81676 {
81677 #endif
81678 /* We use char because int might match the return type of a gcc2
81679    builtin and then its argument prototype would still apply.  */
81680 char $ac_func ();
81681 /* The GNU C library defines this for functions which it implements
81682     to always fail with ENOSYS.  Some functions are actually named
81683     something starting with __ and the normal name is an alias.  */
81684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81685 choke me
81686 #else
81687 char (*f) () = $ac_func;
81688 #endif
81689 #ifdef __cplusplus
81690 }
81691 #endif
81692
81693 int
81694 main ()
81695 {
81696 return f != $ac_func;
81697   ;
81698   return 0;
81699 }
81700 _ACEOF
81701 rm -f conftest.$ac_objext conftest$ac_exeext
81702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81703   (eval $ac_link) 2>conftest.er1
81704   ac_status=$?
81705   grep -v '^ *+' conftest.er1 >conftest.err
81706   rm -f conftest.er1
81707   cat conftest.err >&5
81708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81709   (exit $ac_status); } &&
81710          { ac_try='test -z "$ac_c_werror_flag"
81711                          || test ! -s conftest.err'
81712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81713   (eval $ac_try) 2>&5
81714   ac_status=$?
81715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81716   (exit $ac_status); }; } &&
81717          { ac_try='test -s conftest$ac_exeext'
81718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81719   (eval $ac_try) 2>&5
81720   ac_status=$?
81721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81722   (exit $ac_status); }; }; then
81723   eval "$as_ac_var=yes"
81724 else
81725   echo "$as_me: failed program was:" >&5
81726 sed 's/^/| /' conftest.$ac_ext >&5
81727
81728 eval "$as_ac_var=no"
81729 fi
81730 rm -f conftest.err conftest.$ac_objext \
81731       conftest$ac_exeext conftest.$ac_ext
81732 fi
81733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81735 if test `eval echo '${'$as_ac_var'}'` = yes; then
81736   cat >>confdefs.h <<_ACEOF
81737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81738 _ACEOF
81739  ac_XPG2funcs=yes
81740 else
81741   ac_XPG2funcs=no
81742 fi
81743 done
81744
81745
81746     LIBS="$ac_save_LIBS"
81747
81748     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
81749 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
81750     if test x"$ac_has_iconv_h" = xyes &&
81751        test x"$ac_has_langinfo_h" = xyes &&
81752        test x"$ac_XPG2funcs" = xyes;
81753     then
81754       ac_XPG2_wchar_t=yes
81755     else
81756       ac_XPG2_wchar_t=no
81757     fi
81758     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
81759 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
81760
81761     # At the moment, only enable wchar_t specializations if all the
81762     # above support is present.
81763     if test x"$ac_isoC99_wchar_t" = xyes &&
81764        test x"$ac_XPG2_wchar_t" = xyes;
81765     then
81766       cat >>confdefs.h <<\_ACEOF
81767 #define _GLIBCXX_USE_WCHAR_T 1
81768 _ACEOF
81769
81770       enable_wchar_t=yes
81771     fi
81772   fi
81773   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
81774 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
81775   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
81776 echo "${ECHO_T}$enable_wchar_t" >&6
81777
81778
81779     # For LFS.
81780     cat >>confdefs.h <<\_ACEOF
81781 #define HAVE_INT64_T 1
81782 _ACEOF
81783
81784     case "$target" in
81785       *-uclinux*)
81786         # Don't enable LFS with uClibc
81787         ;;
81788       *)
81789         cat >>confdefs.h <<\_ACEOF
81790 #define _GLIBCXX_USE_LFS 1
81791 _ACEOF
81792
81793     esac
81794
81795     # For showmanyc_helper().
81796
81797
81798 for ac_header in sys/ioctl.h sys/filio.h
81799 do
81800 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81801 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81802   echo "$as_me:$LINENO: checking for $ac_header" >&5
81803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81805   echo $ECHO_N "(cached) $ECHO_C" >&6
81806 fi
81807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81808 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81809 else
81810   # Is the header compilable?
81811 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81812 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81813 cat >conftest.$ac_ext <<_ACEOF
81814 /* confdefs.h.  */
81815 _ACEOF
81816 cat confdefs.h >>conftest.$ac_ext
81817 cat >>conftest.$ac_ext <<_ACEOF
81818 /* end confdefs.h.  */
81819 $ac_includes_default
81820 #include <$ac_header>
81821 _ACEOF
81822 rm -f conftest.$ac_objext
81823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81824   (eval $ac_compile) 2>conftest.er1
81825   ac_status=$?
81826   grep -v '^ *+' conftest.er1 >conftest.err
81827   rm -f conftest.er1
81828   cat conftest.err >&5
81829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81830   (exit $ac_status); } &&
81831          { ac_try='test -z "$ac_c_werror_flag"
81832                          || test ! -s conftest.err'
81833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81834   (eval $ac_try) 2>&5
81835   ac_status=$?
81836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81837   (exit $ac_status); }; } &&
81838          { ac_try='test -s conftest.$ac_objext'
81839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81840   (eval $ac_try) 2>&5
81841   ac_status=$?
81842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81843   (exit $ac_status); }; }; then
81844   ac_header_compiler=yes
81845 else
81846   echo "$as_me: failed program was:" >&5
81847 sed 's/^/| /' conftest.$ac_ext >&5
81848
81849 ac_header_compiler=no
81850 fi
81851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81852 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81853 echo "${ECHO_T}$ac_header_compiler" >&6
81854
81855 # Is the header present?
81856 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81857 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81858 cat >conftest.$ac_ext <<_ACEOF
81859 /* confdefs.h.  */
81860 _ACEOF
81861 cat confdefs.h >>conftest.$ac_ext
81862 cat >>conftest.$ac_ext <<_ACEOF
81863 /* end confdefs.h.  */
81864 #include <$ac_header>
81865 _ACEOF
81866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81867   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81868   ac_status=$?
81869   grep -v '^ *+' conftest.er1 >conftest.err
81870   rm -f conftest.er1
81871   cat conftest.err >&5
81872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81873   (exit $ac_status); } >/dev/null; then
81874   if test -s conftest.err; then
81875     ac_cpp_err=$ac_c_preproc_warn_flag
81876     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81877   else
81878     ac_cpp_err=
81879   fi
81880 else
81881   ac_cpp_err=yes
81882 fi
81883 if test -z "$ac_cpp_err"; then
81884   ac_header_preproc=yes
81885 else
81886   echo "$as_me: failed program was:" >&5
81887 sed 's/^/| /' conftest.$ac_ext >&5
81888
81889   ac_header_preproc=no
81890 fi
81891 rm -f conftest.err conftest.$ac_ext
81892 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81893 echo "${ECHO_T}$ac_header_preproc" >&6
81894
81895 # So?  What about this header?
81896 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81897   yes:no: )
81898     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81899 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81900     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81901 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81902     ac_header_preproc=yes
81903     ;;
81904   no:yes:* )
81905     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81906 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81907     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
81908 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
81909     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81910 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81911     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
81912 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
81913     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81914 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81915     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81916 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81917     (
81918       cat <<\_ASBOX
81919 ## ----------------------------------------- ##
81920 ## Report this to the package-unused lists.  ##
81921 ## ----------------------------------------- ##
81922 _ASBOX
81923     ) |
81924       sed "s/^/$as_me: WARNING:     /" >&2
81925     ;;
81926 esac
81927 echo "$as_me:$LINENO: checking for $ac_header" >&5
81928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81929 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81930   echo $ECHO_N "(cached) $ECHO_C" >&6
81931 else
81932   eval "$as_ac_Header=\$ac_header_preproc"
81933 fi
81934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81935 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81936
81937 fi
81938 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81939   cat >>confdefs.h <<_ACEOF
81940 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81941 _ACEOF
81942
81943 fi
81944
81945 done
81946
81947
81948   if test "${glibcxx_cv_POLL+set}" = set; then
81949   echo $ECHO_N "(cached) $ECHO_C" >&6
81950 else
81951
81952     if test x$gcc_no_link = xyes; then
81953   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81955    { (exit 1); exit 1; }; }
81956 fi
81957 cat >conftest.$ac_ext <<_ACEOF
81958 /* confdefs.h.  */
81959 _ACEOF
81960 cat confdefs.h >>conftest.$ac_ext
81961 cat >>conftest.$ac_ext <<_ACEOF
81962 /* end confdefs.h.  */
81963 #include <poll.h>
81964 int
81965 main ()
81966 {
81967 struct pollfd pfd[1];
81968        pfd[0].events = POLLIN;
81969        poll(pfd, 1, 0);
81970   ;
81971   return 0;
81972 }
81973 _ACEOF
81974 rm -f conftest.$ac_objext conftest$ac_exeext
81975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81976   (eval $ac_link) 2>conftest.er1
81977   ac_status=$?
81978   grep -v '^ *+' conftest.er1 >conftest.err
81979   rm -f conftest.er1
81980   cat conftest.err >&5
81981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81982   (exit $ac_status); } &&
81983          { ac_try='test -z "$ac_c_werror_flag"
81984                          || test ! -s conftest.err'
81985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81986   (eval $ac_try) 2>&5
81987   ac_status=$?
81988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81989   (exit $ac_status); }; } &&
81990          { ac_try='test -s conftest$ac_exeext'
81991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81992   (eval $ac_try) 2>&5
81993   ac_status=$?
81994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81995   (exit $ac_status); }; }; then
81996   glibcxx_cv_POLL=yes
81997 else
81998   echo "$as_me: failed program was:" >&5
81999 sed 's/^/| /' conftest.$ac_ext >&5
82000
82001 glibcxx_cv_POLL=no
82002 fi
82003 rm -f conftest.err conftest.$ac_objext \
82004       conftest$ac_exeext conftest.$ac_ext
82005
82006 fi
82007
82008   if test $glibcxx_cv_POLL = yes; then
82009     cat >>confdefs.h <<\_ACEOF
82010 #define HAVE_POLL 1
82011 _ACEOF
82012
82013   fi
82014
82015
82016   if test "${glibcxx_cv_S_ISREG+set}" = set; then
82017   echo $ECHO_N "(cached) $ECHO_C" >&6
82018 else
82019
82020     if test x$gcc_no_link = xyes; then
82021   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82023    { (exit 1); exit 1; }; }
82024 fi
82025 cat >conftest.$ac_ext <<_ACEOF
82026 /* confdefs.h.  */
82027 _ACEOF
82028 cat confdefs.h >>conftest.$ac_ext
82029 cat >>conftest.$ac_ext <<_ACEOF
82030 /* end confdefs.h.  */
82031 #include <sys/stat.h>
82032 int
82033 main ()
82034 {
82035 struct stat buffer;
82036        fstat(0, &buffer);
82037        S_ISREG(buffer.st_mode);
82038   ;
82039   return 0;
82040 }
82041 _ACEOF
82042 rm -f conftest.$ac_objext conftest$ac_exeext
82043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82044   (eval $ac_link) 2>conftest.er1
82045   ac_status=$?
82046   grep -v '^ *+' conftest.er1 >conftest.err
82047   rm -f conftest.er1
82048   cat conftest.err >&5
82049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82050   (exit $ac_status); } &&
82051          { ac_try='test -z "$ac_c_werror_flag"
82052                          || test ! -s conftest.err'
82053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82054   (eval $ac_try) 2>&5
82055   ac_status=$?
82056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82057   (exit $ac_status); }; } &&
82058          { ac_try='test -s conftest$ac_exeext'
82059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82060   (eval $ac_try) 2>&5
82061   ac_status=$?
82062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82063   (exit $ac_status); }; }; then
82064   glibcxx_cv_S_ISREG=yes
82065 else
82066   echo "$as_me: failed program was:" >&5
82067 sed 's/^/| /' conftest.$ac_ext >&5
82068
82069 glibcxx_cv_S_ISREG=no
82070 fi
82071 rm -f conftest.err conftest.$ac_objext \
82072       conftest$ac_exeext conftest.$ac_ext
82073
82074 fi
82075
82076   if test "${glibcxx_cv_S_IFREG+set}" = set; then
82077   echo $ECHO_N "(cached) $ECHO_C" >&6
82078 else
82079
82080     if test x$gcc_no_link = xyes; then
82081   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82083    { (exit 1); exit 1; }; }
82084 fi
82085 cat >conftest.$ac_ext <<_ACEOF
82086 /* confdefs.h.  */
82087 _ACEOF
82088 cat confdefs.h >>conftest.$ac_ext
82089 cat >>conftest.$ac_ext <<_ACEOF
82090 /* end confdefs.h.  */
82091 #include <sys/stat.h>
82092 int
82093 main ()
82094 {
82095 struct stat buffer;
82096        fstat(0, &buffer);
82097        S_IFREG & buffer.st_mode;
82098   ;
82099   return 0;
82100 }
82101 _ACEOF
82102 rm -f conftest.$ac_objext conftest$ac_exeext
82103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82104   (eval $ac_link) 2>conftest.er1
82105   ac_status=$?
82106   grep -v '^ *+' conftest.er1 >conftest.err
82107   rm -f conftest.er1
82108   cat conftest.err >&5
82109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82110   (exit $ac_status); } &&
82111          { ac_try='test -z "$ac_c_werror_flag"
82112                          || test ! -s conftest.err'
82113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82114   (eval $ac_try) 2>&5
82115   ac_status=$?
82116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82117   (exit $ac_status); }; } &&
82118          { ac_try='test -s conftest$ac_exeext'
82119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82120   (eval $ac_try) 2>&5
82121   ac_status=$?
82122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82123   (exit $ac_status); }; }; then
82124   glibcxx_cv_S_IFREG=yes
82125 else
82126   echo "$as_me: failed program was:" >&5
82127 sed 's/^/| /' conftest.$ac_ext >&5
82128
82129 glibcxx_cv_S_IFREG=no
82130 fi
82131 rm -f conftest.err conftest.$ac_objext \
82132       conftest$ac_exeext conftest.$ac_ext
82133
82134 fi
82135
82136   if test $glibcxx_cv_S_ISREG = yes; then
82137     cat >>confdefs.h <<\_ACEOF
82138 #define HAVE_S_ISREG 1
82139 _ACEOF
82140
82141   elif test $glibcxx_cv_S_IFREG = yes; then
82142     cat >>confdefs.h <<\_ACEOF
82143 #define HAVE_S_IFREG 1
82144 _ACEOF
82145
82146   fi
82147
82148
82149     # For xsputn_2().
82150
82151 for ac_header in sys/uio.h
82152 do
82153 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82155   echo "$as_me:$LINENO: checking for $ac_header" >&5
82156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82158   echo $ECHO_N "(cached) $ECHO_C" >&6
82159 fi
82160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82161 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82162 else
82163   # Is the header compilable?
82164 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82165 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82166 cat >conftest.$ac_ext <<_ACEOF
82167 /* confdefs.h.  */
82168 _ACEOF
82169 cat confdefs.h >>conftest.$ac_ext
82170 cat >>conftest.$ac_ext <<_ACEOF
82171 /* end confdefs.h.  */
82172 $ac_includes_default
82173 #include <$ac_header>
82174 _ACEOF
82175 rm -f conftest.$ac_objext
82176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82177   (eval $ac_compile) 2>conftest.er1
82178   ac_status=$?
82179   grep -v '^ *+' conftest.er1 >conftest.err
82180   rm -f conftest.er1
82181   cat conftest.err >&5
82182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82183   (exit $ac_status); } &&
82184          { ac_try='test -z "$ac_c_werror_flag"
82185                          || test ! -s conftest.err'
82186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82187   (eval $ac_try) 2>&5
82188   ac_status=$?
82189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82190   (exit $ac_status); }; } &&
82191          { ac_try='test -s conftest.$ac_objext'
82192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82193   (eval $ac_try) 2>&5
82194   ac_status=$?
82195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82196   (exit $ac_status); }; }; then
82197   ac_header_compiler=yes
82198 else
82199   echo "$as_me: failed program was:" >&5
82200 sed 's/^/| /' conftest.$ac_ext >&5
82201
82202 ac_header_compiler=no
82203 fi
82204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82205 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82206 echo "${ECHO_T}$ac_header_compiler" >&6
82207
82208 # Is the header present?
82209 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82210 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82211 cat >conftest.$ac_ext <<_ACEOF
82212 /* confdefs.h.  */
82213 _ACEOF
82214 cat confdefs.h >>conftest.$ac_ext
82215 cat >>conftest.$ac_ext <<_ACEOF
82216 /* end confdefs.h.  */
82217 #include <$ac_header>
82218 _ACEOF
82219 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82220   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82221   ac_status=$?
82222   grep -v '^ *+' conftest.er1 >conftest.err
82223   rm -f conftest.er1
82224   cat conftest.err >&5
82225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82226   (exit $ac_status); } >/dev/null; then
82227   if test -s conftest.err; then
82228     ac_cpp_err=$ac_c_preproc_warn_flag
82229     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82230   else
82231     ac_cpp_err=
82232   fi
82233 else
82234   ac_cpp_err=yes
82235 fi
82236 if test -z "$ac_cpp_err"; then
82237   ac_header_preproc=yes
82238 else
82239   echo "$as_me: failed program was:" >&5
82240 sed 's/^/| /' conftest.$ac_ext >&5
82241
82242   ac_header_preproc=no
82243 fi
82244 rm -f conftest.err conftest.$ac_ext
82245 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82246 echo "${ECHO_T}$ac_header_preproc" >&6
82247
82248 # So?  What about this header?
82249 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82250   yes:no: )
82251     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82252 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82253     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82254 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82255     ac_header_preproc=yes
82256     ;;
82257   no:yes:* )
82258     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82259 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82260     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
82261 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
82262     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82263 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82264     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
82265 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
82266     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82267 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82268     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82269 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82270     (
82271       cat <<\_ASBOX
82272 ## ----------------------------------------- ##
82273 ## Report this to the package-unused lists.  ##
82274 ## ----------------------------------------- ##
82275 _ASBOX
82276     ) |
82277       sed "s/^/$as_me: WARNING:     /" >&2
82278     ;;
82279 esac
82280 echo "$as_me:$LINENO: checking for $ac_header" >&5
82281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82283   echo $ECHO_N "(cached) $ECHO_C" >&6
82284 else
82285   eval "$as_ac_Header=\$ac_header_preproc"
82286 fi
82287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82288 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82289
82290 fi
82291 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82292   cat >>confdefs.h <<_ACEOF
82293 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82294 _ACEOF
82295
82296 fi
82297
82298 done
82299
82300
82301   if test "${glibcxx_cv_WRITEV+set}" = set; then
82302   echo $ECHO_N "(cached) $ECHO_C" >&6
82303 else
82304
82305     if test x$gcc_no_link = xyes; then
82306   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82308    { (exit 1); exit 1; }; }
82309 fi
82310 cat >conftest.$ac_ext <<_ACEOF
82311 /* confdefs.h.  */
82312 _ACEOF
82313 cat confdefs.h >>conftest.$ac_ext
82314 cat >>conftest.$ac_ext <<_ACEOF
82315 /* end confdefs.h.  */
82316 #include <sys/uio.h>
82317 int
82318 main ()
82319 {
82320 struct iovec iov[2];
82321        writev(0, iov, 0);
82322   ;
82323   return 0;
82324 }
82325 _ACEOF
82326 rm -f conftest.$ac_objext conftest$ac_exeext
82327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82328   (eval $ac_link) 2>conftest.er1
82329   ac_status=$?
82330   grep -v '^ *+' conftest.er1 >conftest.err
82331   rm -f conftest.er1
82332   cat conftest.err >&5
82333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82334   (exit $ac_status); } &&
82335          { ac_try='test -z "$ac_c_werror_flag"
82336                          || test ! -s conftest.err'
82337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82338   (eval $ac_try) 2>&5
82339   ac_status=$?
82340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82341   (exit $ac_status); }; } &&
82342          { ac_try='test -s conftest$ac_exeext'
82343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82344   (eval $ac_try) 2>&5
82345   ac_status=$?
82346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82347   (exit $ac_status); }; }; then
82348   glibcxx_cv_WRITEV=yes
82349 else
82350   echo "$as_me: failed program was:" >&5
82351 sed 's/^/| /' conftest.$ac_ext >&5
82352
82353 glibcxx_cv_WRITEV=no
82354 fi
82355 rm -f conftest.err conftest.$ac_objext \
82356       conftest$ac_exeext conftest.$ac_ext
82357
82358 fi
82359
82360   if test $glibcxx_cv_WRITEV = yes; then
82361     cat >>confdefs.h <<\_ACEOF
82362 #define HAVE_WRITEV 1
82363 _ACEOF
82364
82365   fi
82366
82367
82368     cat >>confdefs.h <<\_ACEOF
82369 #define HAVE_ACOSF 1
82370 _ACEOF
82371
82372     cat >>confdefs.h <<\_ACEOF
82373 #define HAVE_ASINF 1
82374 _ACEOF
82375
82376     cat >>confdefs.h <<\_ACEOF
82377 #define HAVE_ATANF 1
82378 _ACEOF
82379
82380     cat >>confdefs.h <<\_ACEOF
82381 #define HAVE_ATAN2F 1
82382 _ACEOF
82383
82384     cat >>confdefs.h <<\_ACEOF
82385 #define HAVE_CEILF 1
82386 _ACEOF
82387
82388     cat >>confdefs.h <<\_ACEOF
82389 #define HAVE_COPYSIGN 1
82390 _ACEOF
82391
82392     cat >>confdefs.h <<\_ACEOF
82393 #define HAVE_COPYSIGNF 1
82394 _ACEOF
82395
82396     cat >>confdefs.h <<\_ACEOF
82397 #define HAVE_COSF 1
82398 _ACEOF
82399
82400     cat >>confdefs.h <<\_ACEOF
82401 #define HAVE_COSHF 1
82402 _ACEOF
82403
82404     cat >>confdefs.h <<\_ACEOF
82405 #define HAVE_EXPF 1
82406 _ACEOF
82407
82408     cat >>confdefs.h <<\_ACEOF
82409 #define HAVE_FABSF 1
82410 _ACEOF
82411
82412     cat >>confdefs.h <<\_ACEOF
82413 #define HAVE_FINITE 1
82414 _ACEOF
82415
82416     cat >>confdefs.h <<\_ACEOF
82417 #define HAVE_FINITEF 1
82418 _ACEOF
82419
82420     cat >>confdefs.h <<\_ACEOF
82421 #define HAVE_FLOORF 1
82422 _ACEOF
82423
82424     cat >>confdefs.h <<\_ACEOF
82425 #define HAVE_FMODF 1
82426 _ACEOF
82427
82428     cat >>confdefs.h <<\_ACEOF
82429 #define HAVE_FREXPF 1
82430 _ACEOF
82431
82432     cat >>confdefs.h <<\_ACEOF
82433 #define HAVE_HYPOT 1
82434 _ACEOF
82435
82436     cat >>confdefs.h <<\_ACEOF
82437 #define HAVE_HYPOTF 1
82438 _ACEOF
82439
82440     cat >>confdefs.h <<\_ACEOF
82441 #define HAVE_ISINF 1
82442 _ACEOF
82443
82444     cat >>confdefs.h <<\_ACEOF
82445 #define HAVE_ISINFF 1
82446 _ACEOF
82447
82448     cat >>confdefs.h <<\_ACEOF
82449 #define HAVE_ISNAN 1
82450 _ACEOF
82451
82452     cat >>confdefs.h <<\_ACEOF
82453 #define HAVE_ISNANF 1
82454 _ACEOF
82455
82456     cat >>confdefs.h <<\_ACEOF
82457 #define HAVE_LOGF 1
82458 _ACEOF
82459
82460     cat >>confdefs.h <<\_ACEOF
82461 #define HAVE_LOG10F 1
82462 _ACEOF
82463
82464     cat >>confdefs.h <<\_ACEOF
82465 #define HAVE_MODFF 1
82466 _ACEOF
82467
82468     cat >>confdefs.h <<\_ACEOF
82469 #define HAVE_SINF 1
82470 _ACEOF
82471
82472     cat >>confdefs.h <<\_ACEOF
82473 #define HAVE_SINHF 1
82474 _ACEOF
82475
82476     cat >>confdefs.h <<\_ACEOF
82477 #define HAVE_SINCOS 1
82478 _ACEOF
82479
82480     cat >>confdefs.h <<\_ACEOF
82481 #define HAVE_SINCOSF 1
82482 _ACEOF
82483
82484     cat >>confdefs.h <<\_ACEOF
82485 #define HAVE_SQRTF 1
82486 _ACEOF
82487
82488     cat >>confdefs.h <<\_ACEOF
82489 #define HAVE_TANF 1
82490 _ACEOF
82491
82492     cat >>confdefs.h <<\_ACEOF
82493 #define HAVE_TANHF 1
82494 _ACEOF
82495
82496     if test x"long_double_math_on_this_cpu" = x"yes"; then
82497       cat >>confdefs.h <<\_ACEOF
82498 #define HAVE_ACOSL 1
82499 _ACEOF
82500
82501       cat >>confdefs.h <<\_ACEOF
82502 #define HAVE_ASINL 1
82503 _ACEOF
82504
82505       cat >>confdefs.h <<\_ACEOF
82506 #define HAVE_ATANL 1
82507 _ACEOF
82508
82509       cat >>confdefs.h <<\_ACEOF
82510 #define HAVE_ATAN2L 1
82511 _ACEOF
82512
82513       cat >>confdefs.h <<\_ACEOF
82514 #define HAVE_CEILL 1
82515 _ACEOF
82516
82517       cat >>confdefs.h <<\_ACEOF
82518 #define HAVE_COPYSIGNL 1
82519 _ACEOF
82520
82521       cat >>confdefs.h <<\_ACEOF
82522 #define HAVE_COSL 1
82523 _ACEOF
82524
82525       cat >>confdefs.h <<\_ACEOF
82526 #define HAVE_COSHL 1
82527 _ACEOF
82528
82529       cat >>confdefs.h <<\_ACEOF
82530 #define HAVE_EXPL 1
82531 _ACEOF
82532
82533       cat >>confdefs.h <<\_ACEOF
82534 #define HAVE_FABSL 1
82535 _ACEOF
82536
82537       cat >>confdefs.h <<\_ACEOF
82538 #define HAVE_FINITEL 1
82539 _ACEOF
82540
82541       cat >>confdefs.h <<\_ACEOF
82542 #define HAVE_FLOORL 1
82543 _ACEOF
82544
82545       cat >>confdefs.h <<\_ACEOF
82546 #define HAVE_FMODL 1
82547 _ACEOF
82548
82549       cat >>confdefs.h <<\_ACEOF
82550 #define HAVE_FREXPL 1
82551 _ACEOF
82552
82553       cat >>confdefs.h <<\_ACEOF
82554 #define HAVE_HYPOTL 1
82555 _ACEOF
82556
82557       cat >>confdefs.h <<\_ACEOF
82558 #define HAVE_ISINFL 1
82559 _ACEOF
82560
82561       cat >>confdefs.h <<\_ACEOF
82562 #define HAVE_ISNANL 1
82563 _ACEOF
82564
82565       cat >>confdefs.h <<\_ACEOF
82566 #define HAVE_LOGL 1
82567 _ACEOF
82568
82569       cat >>confdefs.h <<\_ACEOF
82570 #define HAVE_LOG10L 1
82571 _ACEOF
82572
82573       cat >>confdefs.h <<\_ACEOF
82574 #define HAVE_MODFL 1
82575 _ACEOF
82576
82577       cat >>confdefs.h <<\_ACEOF
82578 #define HAVE_POWL 1
82579 _ACEOF
82580
82581       cat >>confdefs.h <<\_ACEOF
82582 #define HAVE_SINL 1
82583 _ACEOF
82584
82585       cat >>confdefs.h <<\_ACEOF
82586 #define HAVE_SINHL 1
82587 _ACEOF
82588
82589       cat >>confdefs.h <<\_ACEOF
82590 #define HAVE_SINCOSL 1
82591 _ACEOF
82592
82593       cat >>confdefs.h <<\_ACEOF
82594 #define HAVE_SQRTL 1
82595 _ACEOF
82596
82597       cat >>confdefs.h <<\_ACEOF
82598 #define HAVE_TANL 1
82599 _ACEOF
82600
82601       cat >>confdefs.h <<\_ACEOF
82602 #define HAVE_TANHL 1
82603 _ACEOF
82604
82605     fi
82606     ;;
82607   *-mingw32*)
82608
82609
82610
82611 for ac_header in sys/types.h locale.h float.h
82612 do
82613 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82615   echo "$as_me:$LINENO: checking for $ac_header" >&5
82616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82618   echo $ECHO_N "(cached) $ECHO_C" >&6
82619 fi
82620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82621 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82622 else
82623   # Is the header compilable?
82624 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82625 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82626 cat >conftest.$ac_ext <<_ACEOF
82627 /* confdefs.h.  */
82628 _ACEOF
82629 cat confdefs.h >>conftest.$ac_ext
82630 cat >>conftest.$ac_ext <<_ACEOF
82631 /* end confdefs.h.  */
82632 $ac_includes_default
82633 #include <$ac_header>
82634 _ACEOF
82635 rm -f conftest.$ac_objext
82636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82637   (eval $ac_compile) 2>conftest.er1
82638   ac_status=$?
82639   grep -v '^ *+' conftest.er1 >conftest.err
82640   rm -f conftest.er1
82641   cat conftest.err >&5
82642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82643   (exit $ac_status); } &&
82644          { ac_try='test -z "$ac_c_werror_flag"
82645                          || test ! -s conftest.err'
82646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82647   (eval $ac_try) 2>&5
82648   ac_status=$?
82649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82650   (exit $ac_status); }; } &&
82651          { ac_try='test -s conftest.$ac_objext'
82652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82653   (eval $ac_try) 2>&5
82654   ac_status=$?
82655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82656   (exit $ac_status); }; }; then
82657   ac_header_compiler=yes
82658 else
82659   echo "$as_me: failed program was:" >&5
82660 sed 's/^/| /' conftest.$ac_ext >&5
82661
82662 ac_header_compiler=no
82663 fi
82664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82665 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82666 echo "${ECHO_T}$ac_header_compiler" >&6
82667
82668 # Is the header present?
82669 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82670 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82671 cat >conftest.$ac_ext <<_ACEOF
82672 /* confdefs.h.  */
82673 _ACEOF
82674 cat confdefs.h >>conftest.$ac_ext
82675 cat >>conftest.$ac_ext <<_ACEOF
82676 /* end confdefs.h.  */
82677 #include <$ac_header>
82678 _ACEOF
82679 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82680   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82681   ac_status=$?
82682   grep -v '^ *+' conftest.er1 >conftest.err
82683   rm -f conftest.er1
82684   cat conftest.err >&5
82685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82686   (exit $ac_status); } >/dev/null; then
82687   if test -s conftest.err; then
82688     ac_cpp_err=$ac_c_preproc_warn_flag
82689     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82690   else
82691     ac_cpp_err=
82692   fi
82693 else
82694   ac_cpp_err=yes
82695 fi
82696 if test -z "$ac_cpp_err"; then
82697   ac_header_preproc=yes
82698 else
82699   echo "$as_me: failed program was:" >&5
82700 sed 's/^/| /' conftest.$ac_ext >&5
82701
82702   ac_header_preproc=no
82703 fi
82704 rm -f conftest.err conftest.$ac_ext
82705 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82706 echo "${ECHO_T}$ac_header_preproc" >&6
82707
82708 # So?  What about this header?
82709 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82710   yes:no: )
82711     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82712 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82713     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82714 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82715     ac_header_preproc=yes
82716     ;;
82717   no:yes:* )
82718     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82719 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82720     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
82721 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
82722     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82723 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82724     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
82725 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
82726     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82727 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82728     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82729 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82730     (
82731       cat <<\_ASBOX
82732 ## ----------------------------------------- ##
82733 ## Report this to the package-unused lists.  ##
82734 ## ----------------------------------------- ##
82735 _ASBOX
82736     ) |
82737       sed "s/^/$as_me: WARNING:     /" >&2
82738     ;;
82739 esac
82740 echo "$as_me:$LINENO: checking for $ac_header" >&5
82741 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82742 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82743   echo $ECHO_N "(cached) $ECHO_C" >&6
82744 else
82745   eval "$as_ac_Header=\$ac_header_preproc"
82746 fi
82747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82748 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82749
82750 fi
82751 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82752   cat >>confdefs.h <<_ACEOF
82753 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82754 _ACEOF
82755
82756 fi
82757
82758 done
82759
82760
82761   # If we're not using GNU ld, then there's no point in even trying these
82762   # tests.  Check for that first.  We should have already tested for gld
82763   # by now (in libtool), but require it now just to be safe...
82764   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
82765   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
82766
82767
82768
82769   # The name set by libtool depends on the version of libtool.  Shame on us
82770   # for depending on an impl detail, but c'est la vie.  Older versions used
82771   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
82772   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
82773   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
82774   # set (hence we're using an older libtool), then set it.
82775   if test x${with_gnu_ld+set} != xset; then
82776     if test x${ac_cv_prog_gnu_ld+set} != xset; then
82777       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
82778       with_gnu_ld=no
82779     else
82780       with_gnu_ld=$ac_cv_prog_gnu_ld
82781     fi
82782   fi
82783
82784   # Start by getting the version number.  I think the libtool test already
82785   # does some of this, but throws away the result.
82786
82787   ldver=`$LD --version 2>/dev/null | head -1 | \
82788          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
82789
82790   glibcxx_gnu_ld_version=`echo $ldver | \
82791          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
82792
82793   # Set --gc-sections.
82794   if test "$with_gnu_ld" = "notbroken"; then
82795     # GNU ld it is!  Joy and bunny rabbits!
82796
82797     # All these tests are for C++; save the language and the compiler flags.
82798     # Need to do this so that g++ won't try to link in libstdc++
82799     ac_test_CFLAGS="${CFLAGS+set}"
82800     ac_save_CFLAGS="$CFLAGS"
82801     CFLAGS='-x c++  -Wl,--gc-sections'
82802
82803     # Check for -Wl,--gc-sections
82804     # XXX This test is broken at the moment, as symbols required for linking
82805     # are now in libsupc++ (not built yet).  In addition, this test has
82806     # cored on solaris in the past.  In addition, --gc-sections doesn't
82807     # really work at the moment (keeps on discarding used sections, first
82808     # .eh_frame and now some of the glibc sections for iconv).
82809     # Bzzzzt.  Thanks for playing, maybe next time.
82810     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
82811 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
82812     if test "$cross_compiling" = yes; then
82813   ac_sectionLDflags=yes
82814 else
82815   cat >conftest.$ac_ext <<_ACEOF
82816 /* confdefs.h.  */
82817 _ACEOF
82818 cat confdefs.h >>conftest.$ac_ext
82819 cat >>conftest.$ac_ext <<_ACEOF
82820 /* end confdefs.h.  */
82821
82822      int main(void)
82823      {
82824        try { throw 1; }
82825        catch (...) { };
82826        return 0;
82827      }
82828
82829 _ACEOF
82830 rm -f conftest$ac_exeext
82831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82832   (eval $ac_link) 2>&5
82833   ac_status=$?
82834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82835   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
82836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82837   (eval $ac_try) 2>&5
82838   ac_status=$?
82839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82840   (exit $ac_status); }; }; then
82841   ac_sectionLDflags=yes
82842 else
82843   echo "$as_me: program exited with status $ac_status" >&5
82844 echo "$as_me: failed program was:" >&5
82845 sed 's/^/| /' conftest.$ac_ext >&5
82846
82847 ( exit $ac_status )
82848 ac_sectionLDflags=no
82849 fi
82850 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
82851 fi
82852     if test "$ac_test_CFLAGS" = set; then
82853       CFLAGS="$ac_save_CFLAGS"
82854     else
82855       # this is the suspicious part
82856       CFLAGS=''
82857     fi
82858     if test "$ac_sectionLDflags" = "yes"; then
82859       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
82860     fi
82861     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
82862 echo "${ECHO_T}$ac_sectionLDflags" >&6
82863   fi
82864
82865   # Set linker optimization flags.
82866   if test x"$with_gnu_ld" = x"yes"; then
82867     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
82868   fi
82869
82870
82871
82872
82873
82874
82875 echo "$as_me:$LINENO: checking for main in -lm" >&5
82876 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
82877 if test "${ac_cv_lib_m_main+set}" = set; then
82878   echo $ECHO_N "(cached) $ECHO_C" >&6
82879 else
82880   ac_check_lib_save_LIBS=$LIBS
82881 LIBS="-lm  $LIBS"
82882 if test x$gcc_no_link = xyes; then
82883   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82885    { (exit 1); exit 1; }; }
82886 fi
82887 cat >conftest.$ac_ext <<_ACEOF
82888 /* confdefs.h.  */
82889 _ACEOF
82890 cat confdefs.h >>conftest.$ac_ext
82891 cat >>conftest.$ac_ext <<_ACEOF
82892 /* end confdefs.h.  */
82893
82894
82895 int
82896 main ()
82897 {
82898 main ();
82899   ;
82900   return 0;
82901 }
82902 _ACEOF
82903 rm -f conftest.$ac_objext conftest$ac_exeext
82904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82905   (eval $ac_link) 2>conftest.er1
82906   ac_status=$?
82907   grep -v '^ *+' conftest.er1 >conftest.err
82908   rm -f conftest.er1
82909   cat conftest.err >&5
82910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82911   (exit $ac_status); } &&
82912          { ac_try='test -z "$ac_c_werror_flag"
82913                          || test ! -s conftest.err'
82914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82915   (eval $ac_try) 2>&5
82916   ac_status=$?
82917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82918   (exit $ac_status); }; } &&
82919          { ac_try='test -s conftest$ac_exeext'
82920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82921   (eval $ac_try) 2>&5
82922   ac_status=$?
82923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82924   (exit $ac_status); }; }; then
82925   ac_cv_lib_m_main=yes
82926 else
82927   echo "$as_me: failed program was:" >&5
82928 sed 's/^/| /' conftest.$ac_ext >&5
82929
82930 ac_cv_lib_m_main=no
82931 fi
82932 rm -f conftest.err conftest.$ac_objext \
82933       conftest$ac_exeext conftest.$ac_ext
82934 LIBS=$ac_check_lib_save_LIBS
82935 fi
82936 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
82937 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
82938 if test $ac_cv_lib_m_main = yes; then
82939   cat >>confdefs.h <<_ACEOF
82940 #define HAVE_LIBM 1
82941 _ACEOF
82942
82943   LIBS="-lm $LIBS"
82944
82945 fi
82946
82947
82948 for ac_func in copysignf
82949 do
82950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82951 echo "$as_me:$LINENO: checking for $ac_func" >&5
82952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82953 if eval "test \"\${$as_ac_var+set}\" = set"; then
82954   echo $ECHO_N "(cached) $ECHO_C" >&6
82955 else
82956   if test x$gcc_no_link = xyes; then
82957   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82959    { (exit 1); exit 1; }; }
82960 fi
82961 cat >conftest.$ac_ext <<_ACEOF
82962 /* confdefs.h.  */
82963 _ACEOF
82964 cat confdefs.h >>conftest.$ac_ext
82965 cat >>conftest.$ac_ext <<_ACEOF
82966 /* end confdefs.h.  */
82967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82968    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82969 #define $ac_func innocuous_$ac_func
82970
82971 /* System header to define __stub macros and hopefully few prototypes,
82972     which can conflict with char $ac_func (); below.
82973     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82974     <limits.h> exists even on freestanding compilers.  */
82975
82976 #ifdef __STDC__
82977 # include <limits.h>
82978 #else
82979 # include <assert.h>
82980 #endif
82981
82982 #undef $ac_func
82983
82984 /* Override any gcc2 internal prototype to avoid an error.  */
82985 #ifdef __cplusplus
82986 extern "C"
82987 {
82988 #endif
82989 /* We use char because int might match the return type of a gcc2
82990    builtin and then its argument prototype would still apply.  */
82991 char $ac_func ();
82992 /* The GNU C library defines this for functions which it implements
82993     to always fail with ENOSYS.  Some functions are actually named
82994     something starting with __ and the normal name is an alias.  */
82995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82996 choke me
82997 #else
82998 char (*f) () = $ac_func;
82999 #endif
83000 #ifdef __cplusplus
83001 }
83002 #endif
83003
83004 int
83005 main ()
83006 {
83007 return f != $ac_func;
83008   ;
83009   return 0;
83010 }
83011 _ACEOF
83012 rm -f conftest.$ac_objext conftest$ac_exeext
83013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83014   (eval $ac_link) 2>conftest.er1
83015   ac_status=$?
83016   grep -v '^ *+' conftest.er1 >conftest.err
83017   rm -f conftest.er1
83018   cat conftest.err >&5
83019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83020   (exit $ac_status); } &&
83021          { ac_try='test -z "$ac_c_werror_flag"
83022                          || test ! -s conftest.err'
83023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83024   (eval $ac_try) 2>&5
83025   ac_status=$?
83026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83027   (exit $ac_status); }; } &&
83028          { ac_try='test -s conftest$ac_exeext'
83029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83030   (eval $ac_try) 2>&5
83031   ac_status=$?
83032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83033   (exit $ac_status); }; }; then
83034   eval "$as_ac_var=yes"
83035 else
83036   echo "$as_me: failed program was:" >&5
83037 sed 's/^/| /' conftest.$ac_ext >&5
83038
83039 eval "$as_ac_var=no"
83040 fi
83041 rm -f conftest.err conftest.$ac_objext \
83042       conftest$ac_exeext conftest.$ac_ext
83043 fi
83044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83046 if test `eval echo '${'$as_ac_var'}'` = yes; then
83047   cat >>confdefs.h <<_ACEOF
83048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83049 _ACEOF
83050
83051 else
83052   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83053 fi
83054 done
83055
83056
83057
83058 for ac_func in __signbit
83059 do
83060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83061 echo "$as_me:$LINENO: checking for $ac_func" >&5
83062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83063 if eval "test \"\${$as_ac_var+set}\" = set"; then
83064   echo $ECHO_N "(cached) $ECHO_C" >&6
83065 else
83066   if test x$gcc_no_link = xyes; then
83067   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83069    { (exit 1); exit 1; }; }
83070 fi
83071 cat >conftest.$ac_ext <<_ACEOF
83072 /* confdefs.h.  */
83073 _ACEOF
83074 cat confdefs.h >>conftest.$ac_ext
83075 cat >>conftest.$ac_ext <<_ACEOF
83076 /* end confdefs.h.  */
83077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83078    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83079 #define $ac_func innocuous_$ac_func
83080
83081 /* System header to define __stub macros and hopefully few prototypes,
83082     which can conflict with char $ac_func (); below.
83083     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83084     <limits.h> exists even on freestanding compilers.  */
83085
83086 #ifdef __STDC__
83087 # include <limits.h>
83088 #else
83089 # include <assert.h>
83090 #endif
83091
83092 #undef $ac_func
83093
83094 /* Override any gcc2 internal prototype to avoid an error.  */
83095 #ifdef __cplusplus
83096 extern "C"
83097 {
83098 #endif
83099 /* We use char because int might match the return type of a gcc2
83100    builtin and then its argument prototype would still apply.  */
83101 char $ac_func ();
83102 /* The GNU C library defines this for functions which it implements
83103     to always fail with ENOSYS.  Some functions are actually named
83104     something starting with __ and the normal name is an alias.  */
83105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83106 choke me
83107 #else
83108 char (*f) () = $ac_func;
83109 #endif
83110 #ifdef __cplusplus
83111 }
83112 #endif
83113
83114 int
83115 main ()
83116 {
83117 return f != $ac_func;
83118   ;
83119   return 0;
83120 }
83121 _ACEOF
83122 rm -f conftest.$ac_objext conftest$ac_exeext
83123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83124   (eval $ac_link) 2>conftest.er1
83125   ac_status=$?
83126   grep -v '^ *+' conftest.er1 >conftest.err
83127   rm -f conftest.er1
83128   cat conftest.err >&5
83129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83130   (exit $ac_status); } &&
83131          { ac_try='test -z "$ac_c_werror_flag"
83132                          || test ! -s conftest.err'
83133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83134   (eval $ac_try) 2>&5
83135   ac_status=$?
83136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83137   (exit $ac_status); }; } &&
83138          { ac_try='test -s conftest$ac_exeext'
83139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83140   (eval $ac_try) 2>&5
83141   ac_status=$?
83142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83143   (exit $ac_status); }; }; then
83144   eval "$as_ac_var=yes"
83145 else
83146   echo "$as_me: failed program was:" >&5
83147 sed 's/^/| /' conftest.$ac_ext >&5
83148
83149 eval "$as_ac_var=no"
83150 fi
83151 rm -f conftest.err conftest.$ac_objext \
83152       conftest$ac_exeext conftest.$ac_ext
83153 fi
83154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83156 if test `eval echo '${'$as_ac_var'}'` = yes; then
83157   cat >>confdefs.h <<_ACEOF
83158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83159 _ACEOF
83160
83161 else
83162   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83163 fi
83164 done
83165
83166
83167
83168 for ac_func in __signbitf
83169 do
83170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83171 echo "$as_me:$LINENO: checking for $ac_func" >&5
83172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83173 if eval "test \"\${$as_ac_var+set}\" = set"; then
83174   echo $ECHO_N "(cached) $ECHO_C" >&6
83175 else
83176   if test x$gcc_no_link = xyes; then
83177   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83179    { (exit 1); exit 1; }; }
83180 fi
83181 cat >conftest.$ac_ext <<_ACEOF
83182 /* confdefs.h.  */
83183 _ACEOF
83184 cat confdefs.h >>conftest.$ac_ext
83185 cat >>conftest.$ac_ext <<_ACEOF
83186 /* end confdefs.h.  */
83187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83188    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83189 #define $ac_func innocuous_$ac_func
83190
83191 /* System header to define __stub macros and hopefully few prototypes,
83192     which can conflict with char $ac_func (); below.
83193     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83194     <limits.h> exists even on freestanding compilers.  */
83195
83196 #ifdef __STDC__
83197 # include <limits.h>
83198 #else
83199 # include <assert.h>
83200 #endif
83201
83202 #undef $ac_func
83203
83204 /* Override any gcc2 internal prototype to avoid an error.  */
83205 #ifdef __cplusplus
83206 extern "C"
83207 {
83208 #endif
83209 /* We use char because int might match the return type of a gcc2
83210    builtin and then its argument prototype would still apply.  */
83211 char $ac_func ();
83212 /* The GNU C library defines this for functions which it implements
83213     to always fail with ENOSYS.  Some functions are actually named
83214     something starting with __ and the normal name is an alias.  */
83215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83216 choke me
83217 #else
83218 char (*f) () = $ac_func;
83219 #endif
83220 #ifdef __cplusplus
83221 }
83222 #endif
83223
83224 int
83225 main ()
83226 {
83227 return f != $ac_func;
83228   ;
83229   return 0;
83230 }
83231 _ACEOF
83232 rm -f conftest.$ac_objext conftest$ac_exeext
83233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83234   (eval $ac_link) 2>conftest.er1
83235   ac_status=$?
83236   grep -v '^ *+' conftest.er1 >conftest.err
83237   rm -f conftest.er1
83238   cat conftest.err >&5
83239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83240   (exit $ac_status); } &&
83241          { ac_try='test -z "$ac_c_werror_flag"
83242                          || test ! -s conftest.err'
83243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83244   (eval $ac_try) 2>&5
83245   ac_status=$?
83246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83247   (exit $ac_status); }; } &&
83248          { ac_try='test -s conftest$ac_exeext'
83249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83250   (eval $ac_try) 2>&5
83251   ac_status=$?
83252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83253   (exit $ac_status); }; }; then
83254   eval "$as_ac_var=yes"
83255 else
83256   echo "$as_me: failed program was:" >&5
83257 sed 's/^/| /' conftest.$ac_ext >&5
83258
83259 eval "$as_ac_var=no"
83260 fi
83261 rm -f conftest.err conftest.$ac_objext \
83262       conftest$ac_exeext conftest.$ac_ext
83263 fi
83264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83266 if test `eval echo '${'$as_ac_var'}'` = yes; then
83267   cat >>confdefs.h <<_ACEOF
83268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83269 _ACEOF
83270
83271 else
83272   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
83273 fi
83274 done
83275
83276
83277           if test x$ac_cv_func_copysignl = x"yes"; then
83278
83279 for ac_func in __signbitl
83280 do
83281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83282 echo "$as_me:$LINENO: checking for $ac_func" >&5
83283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83284 if eval "test \"\${$as_ac_var+set}\" = set"; then
83285   echo $ECHO_N "(cached) $ECHO_C" >&6
83286 else
83287   if test x$gcc_no_link = xyes; then
83288   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83290    { (exit 1); exit 1; }; }
83291 fi
83292 cat >conftest.$ac_ext <<_ACEOF
83293 /* confdefs.h.  */
83294 _ACEOF
83295 cat confdefs.h >>conftest.$ac_ext
83296 cat >>conftest.$ac_ext <<_ACEOF
83297 /* end confdefs.h.  */
83298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83299    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83300 #define $ac_func innocuous_$ac_func
83301
83302 /* System header to define __stub macros and hopefully few prototypes,
83303     which can conflict with char $ac_func (); below.
83304     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83305     <limits.h> exists even on freestanding compilers.  */
83306
83307 #ifdef __STDC__
83308 # include <limits.h>
83309 #else
83310 # include <assert.h>
83311 #endif
83312
83313 #undef $ac_func
83314
83315 /* Override any gcc2 internal prototype to avoid an error.  */
83316 #ifdef __cplusplus
83317 extern "C"
83318 {
83319 #endif
83320 /* We use char because int might match the return type of a gcc2
83321    builtin and then its argument prototype would still apply.  */
83322 char $ac_func ();
83323 /* The GNU C library defines this for functions which it implements
83324     to always fail with ENOSYS.  Some functions are actually named
83325     something starting with __ and the normal name is an alias.  */
83326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83327 choke me
83328 #else
83329 char (*f) () = $ac_func;
83330 #endif
83331 #ifdef __cplusplus
83332 }
83333 #endif
83334
83335 int
83336 main ()
83337 {
83338 return f != $ac_func;
83339   ;
83340   return 0;
83341 }
83342 _ACEOF
83343 rm -f conftest.$ac_objext conftest$ac_exeext
83344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83345   (eval $ac_link) 2>conftest.er1
83346   ac_status=$?
83347   grep -v '^ *+' conftest.er1 >conftest.err
83348   rm -f conftest.er1
83349   cat conftest.err >&5
83350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83351   (exit $ac_status); } &&
83352          { ac_try='test -z "$ac_c_werror_flag"
83353                          || test ! -s conftest.err'
83354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83355   (eval $ac_try) 2>&5
83356   ac_status=$?
83357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83358   (exit $ac_status); }; } &&
83359          { ac_try='test -s conftest$ac_exeext'
83360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83361   (eval $ac_try) 2>&5
83362   ac_status=$?
83363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83364   (exit $ac_status); }; }; then
83365   eval "$as_ac_var=yes"
83366 else
83367   echo "$as_me: failed program was:" >&5
83368 sed 's/^/| /' conftest.$ac_ext >&5
83369
83370 eval "$as_ac_var=no"
83371 fi
83372 rm -f conftest.err conftest.$ac_objext \
83373       conftest$ac_exeext conftest.$ac_ext
83374 fi
83375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83377 if test `eval echo '${'$as_ac_var'}'` = yes; then
83378   cat >>confdefs.h <<_ACEOF
83379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83380 _ACEOF
83381
83382 else
83383   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
83384 fi
83385 done
83386
83387   fi
83388
83389   # Used in libmath/Makefile.am.
83390   if test -n "$LIBMATHOBJS"; then
83391     need_libmath=yes
83392   fi
83393
83394
83395
83396   # Test wchar.h for mbstate_t, which is needed for char_traits and
83397   # others even if wchar_t support is not on.
83398   echo "$as_me:$LINENO: checking for mbstate_t" >&5
83399 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
83400   cat >conftest.$ac_ext <<_ACEOF
83401 /* confdefs.h.  */
83402 _ACEOF
83403 cat confdefs.h >>conftest.$ac_ext
83404 cat >>conftest.$ac_ext <<_ACEOF
83405 /* end confdefs.h.  */
83406 #include <wchar.h>
83407 int
83408 main ()
83409 {
83410 mbstate_t teststate;
83411   ;
83412   return 0;
83413 }
83414 _ACEOF
83415 rm -f conftest.$ac_objext
83416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83417   (eval $ac_compile) 2>conftest.er1
83418   ac_status=$?
83419   grep -v '^ *+' conftest.er1 >conftest.err
83420   rm -f conftest.er1
83421   cat conftest.err >&5
83422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83423   (exit $ac_status); } &&
83424          { ac_try='test -z "$ac_c_werror_flag"
83425                          || test ! -s conftest.err'
83426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83427   (eval $ac_try) 2>&5
83428   ac_status=$?
83429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83430   (exit $ac_status); }; } &&
83431          { ac_try='test -s conftest.$ac_objext'
83432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83433   (eval $ac_try) 2>&5
83434   ac_status=$?
83435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83436   (exit $ac_status); }; }; then
83437   have_mbstate_t=yes
83438 else
83439   echo "$as_me: failed program was:" >&5
83440 sed 's/^/| /' conftest.$ac_ext >&5
83441
83442 have_mbstate_t=no
83443 fi
83444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83445   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
83446 echo "${ECHO_T}$have_mbstate_t" >&6
83447   if test x"$have_mbstate_t" = xyes; then
83448     cat >>confdefs.h <<\_ACEOF
83449 #define HAVE_MBSTATE_T 1
83450 _ACEOF
83451
83452   fi
83453
83454   # Sanity check for existence of ISO C99 headers for extended encoding.
83455
83456 for ac_header in wchar.h
83457 do
83458 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83460   echo "$as_me:$LINENO: checking for $ac_header" >&5
83461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83463   echo $ECHO_N "(cached) $ECHO_C" >&6
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 else
83468   # Is the header compilable?
83469 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83470 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83471 cat >conftest.$ac_ext <<_ACEOF
83472 /* confdefs.h.  */
83473 _ACEOF
83474 cat confdefs.h >>conftest.$ac_ext
83475 cat >>conftest.$ac_ext <<_ACEOF
83476 /* end confdefs.h.  */
83477 $ac_includes_default
83478 #include <$ac_header>
83479 _ACEOF
83480 rm -f conftest.$ac_objext
83481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83482   (eval $ac_compile) 2>conftest.er1
83483   ac_status=$?
83484   grep -v '^ *+' conftest.er1 >conftest.err
83485   rm -f conftest.er1
83486   cat conftest.err >&5
83487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83488   (exit $ac_status); } &&
83489          { ac_try='test -z "$ac_c_werror_flag"
83490                          || test ! -s conftest.err'
83491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83492   (eval $ac_try) 2>&5
83493   ac_status=$?
83494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83495   (exit $ac_status); }; } &&
83496          { ac_try='test -s conftest.$ac_objext'
83497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83498   (eval $ac_try) 2>&5
83499   ac_status=$?
83500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83501   (exit $ac_status); }; }; then
83502   ac_header_compiler=yes
83503 else
83504   echo "$as_me: failed program was:" >&5
83505 sed 's/^/| /' conftest.$ac_ext >&5
83506
83507 ac_header_compiler=no
83508 fi
83509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83510 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83511 echo "${ECHO_T}$ac_header_compiler" >&6
83512
83513 # Is the header present?
83514 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83515 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83516 cat >conftest.$ac_ext <<_ACEOF
83517 /* confdefs.h.  */
83518 _ACEOF
83519 cat confdefs.h >>conftest.$ac_ext
83520 cat >>conftest.$ac_ext <<_ACEOF
83521 /* end confdefs.h.  */
83522 #include <$ac_header>
83523 _ACEOF
83524 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83525   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83526   ac_status=$?
83527   grep -v '^ *+' conftest.er1 >conftest.err
83528   rm -f conftest.er1
83529   cat conftest.err >&5
83530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83531   (exit $ac_status); } >/dev/null; then
83532   if test -s conftest.err; then
83533     ac_cpp_err=$ac_c_preproc_warn_flag
83534     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83535   else
83536     ac_cpp_err=
83537   fi
83538 else
83539   ac_cpp_err=yes
83540 fi
83541 if test -z "$ac_cpp_err"; then
83542   ac_header_preproc=yes
83543 else
83544   echo "$as_me: failed program was:" >&5
83545 sed 's/^/| /' conftest.$ac_ext >&5
83546
83547   ac_header_preproc=no
83548 fi
83549 rm -f conftest.err conftest.$ac_ext
83550 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83551 echo "${ECHO_T}$ac_header_preproc" >&6
83552
83553 # So?  What about this header?
83554 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83555   yes:no: )
83556     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83557 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83558     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83559 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83560     ac_header_preproc=yes
83561     ;;
83562   no:yes:* )
83563     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83564 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83565     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
83566 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
83567     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83568 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83569     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
83570 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
83571     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83572 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83573     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83574 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83575     (
83576       cat <<\_ASBOX
83577 ## ----------------------------------------- ##
83578 ## Report this to the package-unused lists.  ##
83579 ## ----------------------------------------- ##
83580 _ASBOX
83581     ) |
83582       sed "s/^/$as_me: WARNING:     /" >&2
83583     ;;
83584 esac
83585 echo "$as_me:$LINENO: checking for $ac_header" >&5
83586 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83587 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83588   echo $ECHO_N "(cached) $ECHO_C" >&6
83589 else
83590   eval "$as_ac_Header=\$ac_header_preproc"
83591 fi
83592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83593 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83594
83595 fi
83596 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83597   cat >>confdefs.h <<_ACEOF
83598 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83599 _ACEOF
83600  ac_has_wchar_h=yes
83601 else
83602   ac_has_wchar_h=no
83603 fi
83604
83605 done
83606
83607
83608 for ac_header in wctype.h
83609 do
83610 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83612   echo "$as_me:$LINENO: checking for $ac_header" >&5
83613 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83615   echo $ECHO_N "(cached) $ECHO_C" >&6
83616 fi
83617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83618 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83619 else
83620   # Is the header compilable?
83621 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83622 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83623 cat >conftest.$ac_ext <<_ACEOF
83624 /* confdefs.h.  */
83625 _ACEOF
83626 cat confdefs.h >>conftest.$ac_ext
83627 cat >>conftest.$ac_ext <<_ACEOF
83628 /* end confdefs.h.  */
83629 $ac_includes_default
83630 #include <$ac_header>
83631 _ACEOF
83632 rm -f conftest.$ac_objext
83633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83634   (eval $ac_compile) 2>conftest.er1
83635   ac_status=$?
83636   grep -v '^ *+' conftest.er1 >conftest.err
83637   rm -f conftest.er1
83638   cat conftest.err >&5
83639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83640   (exit $ac_status); } &&
83641          { ac_try='test -z "$ac_c_werror_flag"
83642                          || test ! -s conftest.err'
83643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83644   (eval $ac_try) 2>&5
83645   ac_status=$?
83646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83647   (exit $ac_status); }; } &&
83648          { ac_try='test -s conftest.$ac_objext'
83649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83650   (eval $ac_try) 2>&5
83651   ac_status=$?
83652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83653   (exit $ac_status); }; }; then
83654   ac_header_compiler=yes
83655 else
83656   echo "$as_me: failed program was:" >&5
83657 sed 's/^/| /' conftest.$ac_ext >&5
83658
83659 ac_header_compiler=no
83660 fi
83661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83662 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83663 echo "${ECHO_T}$ac_header_compiler" >&6
83664
83665 # Is the header present?
83666 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83667 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83668 cat >conftest.$ac_ext <<_ACEOF
83669 /* confdefs.h.  */
83670 _ACEOF
83671 cat confdefs.h >>conftest.$ac_ext
83672 cat >>conftest.$ac_ext <<_ACEOF
83673 /* end confdefs.h.  */
83674 #include <$ac_header>
83675 _ACEOF
83676 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83677   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83678   ac_status=$?
83679   grep -v '^ *+' conftest.er1 >conftest.err
83680   rm -f conftest.er1
83681   cat conftest.err >&5
83682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83683   (exit $ac_status); } >/dev/null; then
83684   if test -s conftest.err; then
83685     ac_cpp_err=$ac_c_preproc_warn_flag
83686     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83687   else
83688     ac_cpp_err=
83689   fi
83690 else
83691   ac_cpp_err=yes
83692 fi
83693 if test -z "$ac_cpp_err"; then
83694   ac_header_preproc=yes
83695 else
83696   echo "$as_me: failed program was:" >&5
83697 sed 's/^/| /' conftest.$ac_ext >&5
83698
83699   ac_header_preproc=no
83700 fi
83701 rm -f conftest.err conftest.$ac_ext
83702 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83703 echo "${ECHO_T}$ac_header_preproc" >&6
83704
83705 # So?  What about this header?
83706 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83707   yes:no: )
83708     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83709 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83710     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83711 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83712     ac_header_preproc=yes
83713     ;;
83714   no:yes:* )
83715     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83716 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83717     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
83718 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
83719     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83720 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83721     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
83722 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
83723     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83724 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83725     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83726 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83727     (
83728       cat <<\_ASBOX
83729 ## ----------------------------------------- ##
83730 ## Report this to the package-unused lists.  ##
83731 ## ----------------------------------------- ##
83732 _ASBOX
83733     ) |
83734       sed "s/^/$as_me: WARNING:     /" >&2
83735     ;;
83736 esac
83737 echo "$as_me:$LINENO: checking for $ac_header" >&5
83738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83740   echo $ECHO_N "(cached) $ECHO_C" >&6
83741 else
83742   eval "$as_ac_Header=\$ac_header_preproc"
83743 fi
83744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83745 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83746
83747 fi
83748 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83749   cat >>confdefs.h <<_ACEOF
83750 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83751 _ACEOF
83752  ac_has_wctype_h=yes
83753 else
83754   ac_has_wctype_h=no
83755 fi
83756
83757 done
83758
83759
83760   # Only continue checking if the ISO C99 headers exist and support is on.
83761   if test x"$ac_has_wchar_h" = xyes &&
83762      test x"$ac_has_wctype_h" = xyes &&
83763      test x"$enable_c_mbchar" != xno; then
83764
83765     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
83766     # numeric_limits can instantiate type_traits<wchar_t>
83767     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
83768 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
83769     cat >conftest.$ac_ext <<_ACEOF
83770 /* confdefs.h.  */
83771 _ACEOF
83772 cat confdefs.h >>conftest.$ac_ext
83773 cat >>conftest.$ac_ext <<_ACEOF
83774 /* end confdefs.h.  */
83775 #include <wchar.h>
83776 int
83777 main ()
83778 {
83779 int i = WCHAR_MIN; int j = WCHAR_MAX;
83780   ;
83781   return 0;
83782 }
83783 _ACEOF
83784 rm -f conftest.$ac_objext
83785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83786   (eval $ac_compile) 2>conftest.er1
83787   ac_status=$?
83788   grep -v '^ *+' conftest.er1 >conftest.err
83789   rm -f conftest.er1
83790   cat conftest.err >&5
83791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83792   (exit $ac_status); } &&
83793          { ac_try='test -z "$ac_c_werror_flag"
83794                          || test ! -s conftest.err'
83795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83796   (eval $ac_try) 2>&5
83797   ac_status=$?
83798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83799   (exit $ac_status); }; } &&
83800          { ac_try='test -s conftest.$ac_objext'
83801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83802   (eval $ac_try) 2>&5
83803   ac_status=$?
83804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83805   (exit $ac_status); }; }; then
83806   has_wchar_minmax=yes
83807 else
83808   echo "$as_me: failed program was:" >&5
83809 sed 's/^/| /' conftest.$ac_ext >&5
83810
83811 has_wchar_minmax=no
83812 fi
83813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83814     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
83815 echo "${ECHO_T}$has_wchar_minmax" >&6
83816
83817     # Test wchar.h for WEOF, which is what we use to determine whether
83818     # to specialize for char_traits<wchar_t> or not.
83819     echo "$as_me:$LINENO: checking for WEOF" >&5
83820 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
83821     cat >conftest.$ac_ext <<_ACEOF
83822 /* confdefs.h.  */
83823 _ACEOF
83824 cat confdefs.h >>conftest.$ac_ext
83825 cat >>conftest.$ac_ext <<_ACEOF
83826 /* end confdefs.h.  */
83827
83828       #include <wchar.h>
83829       #include <stddef.h>
83830 int
83831 main ()
83832 {
83833 wint_t i = WEOF;
83834   ;
83835   return 0;
83836 }
83837 _ACEOF
83838 rm -f conftest.$ac_objext
83839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83840   (eval $ac_compile) 2>conftest.er1
83841   ac_status=$?
83842   grep -v '^ *+' conftest.er1 >conftest.err
83843   rm -f conftest.er1
83844   cat conftest.err >&5
83845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83846   (exit $ac_status); } &&
83847          { ac_try='test -z "$ac_c_werror_flag"
83848                          || test ! -s conftest.err'
83849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83850   (eval $ac_try) 2>&5
83851   ac_status=$?
83852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83853   (exit $ac_status); }; } &&
83854          { ac_try='test -s conftest.$ac_objext'
83855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83856   (eval $ac_try) 2>&5
83857   ac_status=$?
83858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83859   (exit $ac_status); }; }; then
83860   has_weof=yes
83861 else
83862   echo "$as_me: failed program was:" >&5
83863 sed 's/^/| /' conftest.$ac_ext >&5
83864
83865 has_weof=no
83866 fi
83867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83868     echo "$as_me:$LINENO: result: $has_weof" >&5
83869 echo "${ECHO_T}$has_weof" >&6
83870
83871     # Tests for wide character functions used in char_traits<wchar_t>.
83872     ac_wfuncs=yes
83873
83874
83875
83876
83877
83878
83879 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
83880 do
83881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83882 echo "$as_me:$LINENO: checking for $ac_func" >&5
83883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83884 if eval "test \"\${$as_ac_var+set}\" = set"; then
83885   echo $ECHO_N "(cached) $ECHO_C" >&6
83886 else
83887   if test x$gcc_no_link = xyes; then
83888   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83890    { (exit 1); exit 1; }; }
83891 fi
83892 cat >conftest.$ac_ext <<_ACEOF
83893 /* confdefs.h.  */
83894 _ACEOF
83895 cat confdefs.h >>conftest.$ac_ext
83896 cat >>conftest.$ac_ext <<_ACEOF
83897 /* end confdefs.h.  */
83898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83899    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83900 #define $ac_func innocuous_$ac_func
83901
83902 /* System header to define __stub macros and hopefully few prototypes,
83903     which can conflict with char $ac_func (); below.
83904     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83905     <limits.h> exists even on freestanding compilers.  */
83906
83907 #ifdef __STDC__
83908 # include <limits.h>
83909 #else
83910 # include <assert.h>
83911 #endif
83912
83913 #undef $ac_func
83914
83915 /* Override any gcc2 internal prototype to avoid an error.  */
83916 #ifdef __cplusplus
83917 extern "C"
83918 {
83919 #endif
83920 /* We use char because int might match the return type of a gcc2
83921    builtin and then its argument prototype would still apply.  */
83922 char $ac_func ();
83923 /* The GNU C library defines this for functions which it implements
83924     to always fail with ENOSYS.  Some functions are actually named
83925     something starting with __ and the normal name is an alias.  */
83926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83927 choke me
83928 #else
83929 char (*f) () = $ac_func;
83930 #endif
83931 #ifdef __cplusplus
83932 }
83933 #endif
83934
83935 int
83936 main ()
83937 {
83938 return f != $ac_func;
83939   ;
83940   return 0;
83941 }
83942 _ACEOF
83943 rm -f conftest.$ac_objext conftest$ac_exeext
83944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83945   (eval $ac_link) 2>conftest.er1
83946   ac_status=$?
83947   grep -v '^ *+' conftest.er1 >conftest.err
83948   rm -f conftest.er1
83949   cat conftest.err >&5
83950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83951   (exit $ac_status); } &&
83952          { ac_try='test -z "$ac_c_werror_flag"
83953                          || test ! -s conftest.err'
83954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83955   (eval $ac_try) 2>&5
83956   ac_status=$?
83957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83958   (exit $ac_status); }; } &&
83959          { ac_try='test -s conftest$ac_exeext'
83960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83961   (eval $ac_try) 2>&5
83962   ac_status=$?
83963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83964   (exit $ac_status); }; }; then
83965   eval "$as_ac_var=yes"
83966 else
83967   echo "$as_me: failed program was:" >&5
83968 sed 's/^/| /' conftest.$ac_ext >&5
83969
83970 eval "$as_ac_var=no"
83971 fi
83972 rm -f conftest.err conftest.$ac_objext \
83973       conftest$ac_exeext conftest.$ac_ext
83974 fi
83975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83977 if test `eval echo '${'$as_ac_var'}'` = yes; then
83978   cat >>confdefs.h <<_ACEOF
83979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83980 _ACEOF
83981
83982 else
83983   ac_wfuncs=no
83984 fi
83985 done
83986
83987
83988     # Checks for names injected into std:: by the c_std headers.
83989
83990
83991
83992
83993
83994
83995
83996
83997
83998
83999
84000
84001
84002
84003
84004
84005
84006
84007
84008
84009
84010
84011
84012
84013
84014
84015
84016
84017
84018
84019
84020
84021
84022
84023
84024
84025
84026
84027
84028
84029
84030
84031
84032
84033
84034
84035 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
84036     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
84037     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
84038     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
84039     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
84040     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
84041 do
84042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84043 echo "$as_me:$LINENO: checking for $ac_func" >&5
84044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84045 if eval "test \"\${$as_ac_var+set}\" = set"; then
84046   echo $ECHO_N "(cached) $ECHO_C" >&6
84047 else
84048   if test x$gcc_no_link = xyes; then
84049   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84051    { (exit 1); exit 1; }; }
84052 fi
84053 cat >conftest.$ac_ext <<_ACEOF
84054 /* confdefs.h.  */
84055 _ACEOF
84056 cat confdefs.h >>conftest.$ac_ext
84057 cat >>conftest.$ac_ext <<_ACEOF
84058 /* end confdefs.h.  */
84059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84060    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84061 #define $ac_func innocuous_$ac_func
84062
84063 /* System header to define __stub macros and hopefully few prototypes,
84064     which can conflict with char $ac_func (); below.
84065     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84066     <limits.h> exists even on freestanding compilers.  */
84067
84068 #ifdef __STDC__
84069 # include <limits.h>
84070 #else
84071 # include <assert.h>
84072 #endif
84073
84074 #undef $ac_func
84075
84076 /* Override any gcc2 internal prototype to avoid an error.  */
84077 #ifdef __cplusplus
84078 extern "C"
84079 {
84080 #endif
84081 /* We use char because int might match the return type of a gcc2
84082    builtin and then its argument prototype would still apply.  */
84083 char $ac_func ();
84084 /* The GNU C library defines this for functions which it implements
84085     to always fail with ENOSYS.  Some functions are actually named
84086     something starting with __ and the normal name is an alias.  */
84087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84088 choke me
84089 #else
84090 char (*f) () = $ac_func;
84091 #endif
84092 #ifdef __cplusplus
84093 }
84094 #endif
84095
84096 int
84097 main ()
84098 {
84099 return f != $ac_func;
84100   ;
84101   return 0;
84102 }
84103 _ACEOF
84104 rm -f conftest.$ac_objext conftest$ac_exeext
84105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84106   (eval $ac_link) 2>conftest.er1
84107   ac_status=$?
84108   grep -v '^ *+' conftest.er1 >conftest.err
84109   rm -f conftest.er1
84110   cat conftest.err >&5
84111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84112   (exit $ac_status); } &&
84113          { ac_try='test -z "$ac_c_werror_flag"
84114                          || test ! -s conftest.err'
84115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84116   (eval $ac_try) 2>&5
84117   ac_status=$?
84118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84119   (exit $ac_status); }; } &&
84120          { ac_try='test -s conftest$ac_exeext'
84121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84122   (eval $ac_try) 2>&5
84123   ac_status=$?
84124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84125   (exit $ac_status); }; }; then
84126   eval "$as_ac_var=yes"
84127 else
84128   echo "$as_me: failed program was:" >&5
84129 sed 's/^/| /' conftest.$ac_ext >&5
84130
84131 eval "$as_ac_var=no"
84132 fi
84133 rm -f conftest.err conftest.$ac_objext \
84134       conftest$ac_exeext conftest.$ac_ext
84135 fi
84136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84138 if test `eval echo '${'$as_ac_var'}'` = yes; then
84139   cat >>confdefs.h <<_ACEOF
84140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84141 _ACEOF
84142
84143 else
84144   ac_wfuncs=no
84145 fi
84146 done
84147
84148
84149     # Checks for wide character functions that are not required
84150     # for basic wchar_t support.  Don't disable support if they are missing.
84151     # Injection of these is wrapped with guard macros.
84152
84153
84154
84155
84156
84157 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
84158 do
84159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84160 echo "$as_me:$LINENO: checking for $ac_func" >&5
84161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84162 if eval "test \"\${$as_ac_var+set}\" = set"; then
84163   echo $ECHO_N "(cached) $ECHO_C" >&6
84164 else
84165   if test x$gcc_no_link = xyes; then
84166   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84168    { (exit 1); exit 1; }; }
84169 fi
84170 cat >conftest.$ac_ext <<_ACEOF
84171 /* confdefs.h.  */
84172 _ACEOF
84173 cat confdefs.h >>conftest.$ac_ext
84174 cat >>conftest.$ac_ext <<_ACEOF
84175 /* end confdefs.h.  */
84176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84177    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84178 #define $ac_func innocuous_$ac_func
84179
84180 /* System header to define __stub macros and hopefully few prototypes,
84181     which can conflict with char $ac_func (); below.
84182     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84183     <limits.h> exists even on freestanding compilers.  */
84184
84185 #ifdef __STDC__
84186 # include <limits.h>
84187 #else
84188 # include <assert.h>
84189 #endif
84190
84191 #undef $ac_func
84192
84193 /* Override any gcc2 internal prototype to avoid an error.  */
84194 #ifdef __cplusplus
84195 extern "C"
84196 {
84197 #endif
84198 /* We use char because int might match the return type of a gcc2
84199    builtin and then its argument prototype would still apply.  */
84200 char $ac_func ();
84201 /* The GNU C library defines this for functions which it implements
84202     to always fail with ENOSYS.  Some functions are actually named
84203     something starting with __ and the normal name is an alias.  */
84204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84205 choke me
84206 #else
84207 char (*f) () = $ac_func;
84208 #endif
84209 #ifdef __cplusplus
84210 }
84211 #endif
84212
84213 int
84214 main ()
84215 {
84216 return f != $ac_func;
84217   ;
84218   return 0;
84219 }
84220 _ACEOF
84221 rm -f conftest.$ac_objext conftest$ac_exeext
84222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84223   (eval $ac_link) 2>conftest.er1
84224   ac_status=$?
84225   grep -v '^ *+' conftest.er1 >conftest.err
84226   rm -f conftest.er1
84227   cat conftest.err >&5
84228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84229   (exit $ac_status); } &&
84230          { ac_try='test -z "$ac_c_werror_flag"
84231                          || test ! -s conftest.err'
84232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84233   (eval $ac_try) 2>&5
84234   ac_status=$?
84235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84236   (exit $ac_status); }; } &&
84237          { ac_try='test -s conftest$ac_exeext'
84238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84239   (eval $ac_try) 2>&5
84240   ac_status=$?
84241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84242   (exit $ac_status); }; }; then
84243   eval "$as_ac_var=yes"
84244 else
84245   echo "$as_me: failed program was:" >&5
84246 sed 's/^/| /' conftest.$ac_ext >&5
84247
84248 eval "$as_ac_var=no"
84249 fi
84250 rm -f conftest.err conftest.$ac_objext \
84251       conftest$ac_exeext conftest.$ac_ext
84252 fi
84253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84255 if test `eval echo '${'$as_ac_var'}'` = yes; then
84256   cat >>confdefs.h <<_ACEOF
84257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84258 _ACEOF
84259
84260 fi
84261 done
84262
84263
84264     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
84265 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
84266     if test x"$has_weof" = xyes &&
84267        test x"$has_wchar_minmax" = xyes &&
84268        test x"$ac_wfuncs" = xyes;
84269     then
84270       ac_isoC99_wchar_t=yes
84271     else
84272       ac_isoC99_wchar_t=no
84273     fi
84274     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
84275 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
84276
84277     # Use iconv for wchar_t to char conversions. As such, check for
84278     # X/Open Portability Guide, version 2 features (XPG2).
84279     if test "${ac_cv_header_iconv_h+set}" = set; then
84280   echo "$as_me:$LINENO: checking for iconv.h" >&5
84281 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84282 if test "${ac_cv_header_iconv_h+set}" = set; then
84283   echo $ECHO_N "(cached) $ECHO_C" >&6
84284 fi
84285 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84286 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84287 else
84288   # Is the header compilable?
84289 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84290 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84291 cat >conftest.$ac_ext <<_ACEOF
84292 /* confdefs.h.  */
84293 _ACEOF
84294 cat confdefs.h >>conftest.$ac_ext
84295 cat >>conftest.$ac_ext <<_ACEOF
84296 /* end confdefs.h.  */
84297 $ac_includes_default
84298 #include <iconv.h>
84299 _ACEOF
84300 rm -f conftest.$ac_objext
84301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84302   (eval $ac_compile) 2>conftest.er1
84303   ac_status=$?
84304   grep -v '^ *+' conftest.er1 >conftest.err
84305   rm -f conftest.er1
84306   cat conftest.err >&5
84307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84308   (exit $ac_status); } &&
84309          { ac_try='test -z "$ac_c_werror_flag"
84310                          || test ! -s conftest.err'
84311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84312   (eval $ac_try) 2>&5
84313   ac_status=$?
84314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84315   (exit $ac_status); }; } &&
84316          { ac_try='test -s conftest.$ac_objext'
84317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84318   (eval $ac_try) 2>&5
84319   ac_status=$?
84320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84321   (exit $ac_status); }; }; then
84322   ac_header_compiler=yes
84323 else
84324   echo "$as_me: failed program was:" >&5
84325 sed 's/^/| /' conftest.$ac_ext >&5
84326
84327 ac_header_compiler=no
84328 fi
84329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84330 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84331 echo "${ECHO_T}$ac_header_compiler" >&6
84332
84333 # Is the header present?
84334 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84335 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84336 cat >conftest.$ac_ext <<_ACEOF
84337 /* confdefs.h.  */
84338 _ACEOF
84339 cat confdefs.h >>conftest.$ac_ext
84340 cat >>conftest.$ac_ext <<_ACEOF
84341 /* end confdefs.h.  */
84342 #include <iconv.h>
84343 _ACEOF
84344 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84345   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84346   ac_status=$?
84347   grep -v '^ *+' conftest.er1 >conftest.err
84348   rm -f conftest.er1
84349   cat conftest.err >&5
84350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84351   (exit $ac_status); } >/dev/null; then
84352   if test -s conftest.err; then
84353     ac_cpp_err=$ac_c_preproc_warn_flag
84354     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84355   else
84356     ac_cpp_err=
84357   fi
84358 else
84359   ac_cpp_err=yes
84360 fi
84361 if test -z "$ac_cpp_err"; then
84362   ac_header_preproc=yes
84363 else
84364   echo "$as_me: failed program was:" >&5
84365 sed 's/^/| /' conftest.$ac_ext >&5
84366
84367   ac_header_preproc=no
84368 fi
84369 rm -f conftest.err conftest.$ac_ext
84370 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84371 echo "${ECHO_T}$ac_header_preproc" >&6
84372
84373 # So?  What about this header?
84374 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84375   yes:no: )
84376     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84377 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84378     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84379 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84380     ac_header_preproc=yes
84381     ;;
84382   no:yes:* )
84383     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84384 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84385     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
84386 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
84387     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84388 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84389     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
84390 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
84391     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84392 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84393     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84394 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84395     (
84396       cat <<\_ASBOX
84397 ## ----------------------------------------- ##
84398 ## Report this to the package-unused lists.  ##
84399 ## ----------------------------------------- ##
84400 _ASBOX
84401     ) |
84402       sed "s/^/$as_me: WARNING:     /" >&2
84403     ;;
84404 esac
84405 echo "$as_me:$LINENO: checking for iconv.h" >&5
84406 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84407 if test "${ac_cv_header_iconv_h+set}" = set; then
84408   echo $ECHO_N "(cached) $ECHO_C" >&6
84409 else
84410   ac_cv_header_iconv_h=$ac_header_preproc
84411 fi
84412 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84413 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84414
84415 fi
84416 if test $ac_cv_header_iconv_h = yes; then
84417   ac_has_iconv_h=yes
84418 else
84419   ac_has_iconv_h=no
84420 fi
84421
84422
84423     if test "${ac_cv_header_langinfo_h+set}" = set; then
84424   echo "$as_me:$LINENO: checking for langinfo.h" >&5
84425 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84426 if test "${ac_cv_header_langinfo_h+set}" = set; then
84427   echo $ECHO_N "(cached) $ECHO_C" >&6
84428 fi
84429 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84430 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84431 else
84432   # Is the header compilable?
84433 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84434 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84435 cat >conftest.$ac_ext <<_ACEOF
84436 /* confdefs.h.  */
84437 _ACEOF
84438 cat confdefs.h >>conftest.$ac_ext
84439 cat >>conftest.$ac_ext <<_ACEOF
84440 /* end confdefs.h.  */
84441 $ac_includes_default
84442 #include <langinfo.h>
84443 _ACEOF
84444 rm -f conftest.$ac_objext
84445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84446   (eval $ac_compile) 2>conftest.er1
84447   ac_status=$?
84448   grep -v '^ *+' conftest.er1 >conftest.err
84449   rm -f conftest.er1
84450   cat conftest.err >&5
84451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84452   (exit $ac_status); } &&
84453          { ac_try='test -z "$ac_c_werror_flag"
84454                          || test ! -s conftest.err'
84455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84456   (eval $ac_try) 2>&5
84457   ac_status=$?
84458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84459   (exit $ac_status); }; } &&
84460          { ac_try='test -s conftest.$ac_objext'
84461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84462   (eval $ac_try) 2>&5
84463   ac_status=$?
84464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84465   (exit $ac_status); }; }; then
84466   ac_header_compiler=yes
84467 else
84468   echo "$as_me: failed program was:" >&5
84469 sed 's/^/| /' conftest.$ac_ext >&5
84470
84471 ac_header_compiler=no
84472 fi
84473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84474 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84475 echo "${ECHO_T}$ac_header_compiler" >&6
84476
84477 # Is the header present?
84478 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84479 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84480 cat >conftest.$ac_ext <<_ACEOF
84481 /* confdefs.h.  */
84482 _ACEOF
84483 cat confdefs.h >>conftest.$ac_ext
84484 cat >>conftest.$ac_ext <<_ACEOF
84485 /* end confdefs.h.  */
84486 #include <langinfo.h>
84487 _ACEOF
84488 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84489   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84490   ac_status=$?
84491   grep -v '^ *+' conftest.er1 >conftest.err
84492   rm -f conftest.er1
84493   cat conftest.err >&5
84494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84495   (exit $ac_status); } >/dev/null; then
84496   if test -s conftest.err; then
84497     ac_cpp_err=$ac_c_preproc_warn_flag
84498     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84499   else
84500     ac_cpp_err=
84501   fi
84502 else
84503   ac_cpp_err=yes
84504 fi
84505 if test -z "$ac_cpp_err"; then
84506   ac_header_preproc=yes
84507 else
84508   echo "$as_me: failed program was:" >&5
84509 sed 's/^/| /' conftest.$ac_ext >&5
84510
84511   ac_header_preproc=no
84512 fi
84513 rm -f conftest.err conftest.$ac_ext
84514 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84515 echo "${ECHO_T}$ac_header_preproc" >&6
84516
84517 # So?  What about this header?
84518 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84519   yes:no: )
84520     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84521 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84522     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84523 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84524     ac_header_preproc=yes
84525     ;;
84526   no:yes:* )
84527     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84528 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84529     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
84530 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
84531     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84532 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84533     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
84534 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
84535     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84536 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84537     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84538 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
84539     (
84540       cat <<\_ASBOX
84541 ## ----------------------------------------- ##
84542 ## Report this to the package-unused lists.  ##
84543 ## ----------------------------------------- ##
84544 _ASBOX
84545     ) |
84546       sed "s/^/$as_me: WARNING:     /" >&2
84547     ;;
84548 esac
84549 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84550 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84551 if test "${ac_cv_header_langinfo_h+set}" = set; then
84552   echo $ECHO_N "(cached) $ECHO_C" >&6
84553 else
84554   ac_cv_header_langinfo_h=$ac_header_preproc
84555 fi
84556 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84557 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84558
84559 fi
84560 if test $ac_cv_header_langinfo_h = yes; then
84561   ac_has_langinfo_h=yes
84562 else
84563   ac_has_langinfo_h=no
84564 fi
84565
84566
84567
84568     # Check for existence of libiconv.a providing XPG2 wchar_t support.
84569     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
84570 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
84571 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
84572   echo $ECHO_N "(cached) $ECHO_C" >&6
84573 else
84574   ac_check_lib_save_LIBS=$LIBS
84575 LIBS="-liconv  $LIBS"
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
84588 /* Override any gcc2 internal prototype to avoid an error.  */
84589 #ifdef __cplusplus
84590 extern "C"
84591 #endif
84592 /* We use char because int might match the return type of a gcc2
84593    builtin and then its argument prototype would still apply.  */
84594 char iconv ();
84595 int
84596 main ()
84597 {
84598 iconv ();
84599   ;
84600   return 0;
84601 }
84602 _ACEOF
84603 rm -f conftest.$ac_objext conftest$ac_exeext
84604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84605   (eval $ac_link) 2>conftest.er1
84606   ac_status=$?
84607   grep -v '^ *+' conftest.er1 >conftest.err
84608   rm -f conftest.er1
84609   cat conftest.err >&5
84610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84611   (exit $ac_status); } &&
84612          { ac_try='test -z "$ac_c_werror_flag"
84613                          || test ! -s conftest.err'
84614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84615   (eval $ac_try) 2>&5
84616   ac_status=$?
84617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84618   (exit $ac_status); }; } &&
84619          { ac_try='test -s conftest$ac_exeext'
84620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84621   (eval $ac_try) 2>&5
84622   ac_status=$?
84623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84624   (exit $ac_status); }; }; then
84625   ac_cv_lib_iconv_iconv=yes
84626 else
84627   echo "$as_me: failed program was:" >&5
84628 sed 's/^/| /' conftest.$ac_ext >&5
84629
84630 ac_cv_lib_iconv_iconv=no
84631 fi
84632 rm -f conftest.err conftest.$ac_objext \
84633       conftest$ac_exeext conftest.$ac_ext
84634 LIBS=$ac_check_lib_save_LIBS
84635 fi
84636 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
84637 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
84638 if test $ac_cv_lib_iconv_iconv = yes; then
84639   LIBICONV="-liconv"
84640 fi
84641
84642     ac_save_LIBS="$LIBS"
84643     LIBS="$LIBS $LIBICONV"
84644
84645
84646
84647
84648
84649
84650 for ac_func in iconv_open iconv_close iconv nl_langinfo
84651 do
84652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84653 echo "$as_me:$LINENO: checking for $ac_func" >&5
84654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84655 if eval "test \"\${$as_ac_var+set}\" = set"; then
84656   echo $ECHO_N "(cached) $ECHO_C" >&6
84657 else
84658   if test x$gcc_no_link = xyes; then
84659   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84661    { (exit 1); exit 1; }; }
84662 fi
84663 cat >conftest.$ac_ext <<_ACEOF
84664 /* confdefs.h.  */
84665 _ACEOF
84666 cat confdefs.h >>conftest.$ac_ext
84667 cat >>conftest.$ac_ext <<_ACEOF
84668 /* end confdefs.h.  */
84669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84670    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84671 #define $ac_func innocuous_$ac_func
84672
84673 /* System header to define __stub macros and hopefully few prototypes,
84674     which can conflict with char $ac_func (); below.
84675     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84676     <limits.h> exists even on freestanding compilers.  */
84677
84678 #ifdef __STDC__
84679 # include <limits.h>
84680 #else
84681 # include <assert.h>
84682 #endif
84683
84684 #undef $ac_func
84685
84686 /* Override any gcc2 internal prototype to avoid an error.  */
84687 #ifdef __cplusplus
84688 extern "C"
84689 {
84690 #endif
84691 /* We use char because int might match the return type of a gcc2
84692    builtin and then its argument prototype would still apply.  */
84693 char $ac_func ();
84694 /* The GNU C library defines this for functions which it implements
84695     to always fail with ENOSYS.  Some functions are actually named
84696     something starting with __ and the normal name is an alias.  */
84697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84698 choke me
84699 #else
84700 char (*f) () = $ac_func;
84701 #endif
84702 #ifdef __cplusplus
84703 }
84704 #endif
84705
84706 int
84707 main ()
84708 {
84709 return f != $ac_func;
84710   ;
84711   return 0;
84712 }
84713 _ACEOF
84714 rm -f conftest.$ac_objext conftest$ac_exeext
84715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84716   (eval $ac_link) 2>conftest.er1
84717   ac_status=$?
84718   grep -v '^ *+' conftest.er1 >conftest.err
84719   rm -f conftest.er1
84720   cat conftest.err >&5
84721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84722   (exit $ac_status); } &&
84723          { ac_try='test -z "$ac_c_werror_flag"
84724                          || test ! -s conftest.err'
84725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84726   (eval $ac_try) 2>&5
84727   ac_status=$?
84728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84729   (exit $ac_status); }; } &&
84730          { ac_try='test -s conftest$ac_exeext'
84731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84732   (eval $ac_try) 2>&5
84733   ac_status=$?
84734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84735   (exit $ac_status); }; }; then
84736   eval "$as_ac_var=yes"
84737 else
84738   echo "$as_me: failed program was:" >&5
84739 sed 's/^/| /' conftest.$ac_ext >&5
84740
84741 eval "$as_ac_var=no"
84742 fi
84743 rm -f conftest.err conftest.$ac_objext \
84744       conftest$ac_exeext conftest.$ac_ext
84745 fi
84746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84748 if test `eval echo '${'$as_ac_var'}'` = yes; then
84749   cat >>confdefs.h <<_ACEOF
84750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84751 _ACEOF
84752  ac_XPG2funcs=yes
84753 else
84754   ac_XPG2funcs=no
84755 fi
84756 done
84757
84758
84759     LIBS="$ac_save_LIBS"
84760
84761     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
84762 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
84763     if test x"$ac_has_iconv_h" = xyes &&
84764        test x"$ac_has_langinfo_h" = xyes &&
84765        test x"$ac_XPG2funcs" = xyes;
84766     then
84767       ac_XPG2_wchar_t=yes
84768     else
84769       ac_XPG2_wchar_t=no
84770     fi
84771     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
84772 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
84773
84774     # At the moment, only enable wchar_t specializations if all the
84775     # above support is present.
84776     if test x"$ac_isoC99_wchar_t" = xyes &&
84777        test x"$ac_XPG2_wchar_t" = xyes;
84778     then
84779       cat >>confdefs.h <<\_ACEOF
84780 #define _GLIBCXX_USE_WCHAR_T 1
84781 _ACEOF
84782
84783       enable_wchar_t=yes
84784     fi
84785   fi
84786   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
84787 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
84788   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
84789 echo "${ECHO_T}$enable_wchar_t" >&6
84790
84791     ;;
84792   *-netbsd*)
84793
84794
84795
84796
84797
84798
84799
84800
84801
84802
84803
84804
84805 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
84806       machine/endian.h machine/param.h sys/machine.h sys/types.h \
84807       fp.h locale.h float.h inttypes.h
84808 do
84809 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84811   echo "$as_me:$LINENO: checking for $ac_header" >&5
84812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84814   echo $ECHO_N "(cached) $ECHO_C" >&6
84815 fi
84816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84817 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84818 else
84819   # Is the header compilable?
84820 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84821 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84822 cat >conftest.$ac_ext <<_ACEOF
84823 /* confdefs.h.  */
84824 _ACEOF
84825 cat confdefs.h >>conftest.$ac_ext
84826 cat >>conftest.$ac_ext <<_ACEOF
84827 /* end confdefs.h.  */
84828 $ac_includes_default
84829 #include <$ac_header>
84830 _ACEOF
84831 rm -f conftest.$ac_objext
84832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84833   (eval $ac_compile) 2>conftest.er1
84834   ac_status=$?
84835   grep -v '^ *+' conftest.er1 >conftest.err
84836   rm -f conftest.er1
84837   cat conftest.err >&5
84838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84839   (exit $ac_status); } &&
84840          { ac_try='test -z "$ac_c_werror_flag"
84841                          || test ! -s conftest.err'
84842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84843   (eval $ac_try) 2>&5
84844   ac_status=$?
84845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84846   (exit $ac_status); }; } &&
84847          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
84853   ac_header_compiler=yes
84854 else
84855   echo "$as_me: failed program was:" >&5
84856 sed 's/^/| /' conftest.$ac_ext >&5
84857
84858 ac_header_compiler=no
84859 fi
84860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84861 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84862 echo "${ECHO_T}$ac_header_compiler" >&6
84863
84864 # Is the header present?
84865 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84866 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84867 cat >conftest.$ac_ext <<_ACEOF
84868 /* confdefs.h.  */
84869 _ACEOF
84870 cat confdefs.h >>conftest.$ac_ext
84871 cat >>conftest.$ac_ext <<_ACEOF
84872 /* end confdefs.h.  */
84873 #include <$ac_header>
84874 _ACEOF
84875 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84876   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84877   ac_status=$?
84878   grep -v '^ *+' conftest.er1 >conftest.err
84879   rm -f conftest.er1
84880   cat conftest.err >&5
84881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84882   (exit $ac_status); } >/dev/null; then
84883   if test -s conftest.err; then
84884     ac_cpp_err=$ac_c_preproc_warn_flag
84885     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84886   else
84887     ac_cpp_err=
84888   fi
84889 else
84890   ac_cpp_err=yes
84891 fi
84892 if test -z "$ac_cpp_err"; then
84893   ac_header_preproc=yes
84894 else
84895   echo "$as_me: failed program was:" >&5
84896 sed 's/^/| /' conftest.$ac_ext >&5
84897
84898   ac_header_preproc=no
84899 fi
84900 rm -f conftest.err conftest.$ac_ext
84901 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84902 echo "${ECHO_T}$ac_header_preproc" >&6
84903
84904 # So?  What about this header?
84905 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84906   yes:no: )
84907     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84908 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84909     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84910 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84911     ac_header_preproc=yes
84912     ;;
84913   no:yes:* )
84914     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84915 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84916     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
84917 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
84918     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84919 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84920     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
84921 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
84922     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84923 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84924     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84925 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84926     (
84927       cat <<\_ASBOX
84928 ## ----------------------------------------- ##
84929 ## Report this to the package-unused lists.  ##
84930 ## ----------------------------------------- ##
84931 _ASBOX
84932     ) |
84933       sed "s/^/$as_me: WARNING:     /" >&2
84934     ;;
84935 esac
84936 echo "$as_me:$LINENO: checking for $ac_header" >&5
84937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84939   echo $ECHO_N "(cached) $ECHO_C" >&6
84940 else
84941   eval "$as_ac_Header=\$ac_header_preproc"
84942 fi
84943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84944 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84945
84946 fi
84947 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84948   cat >>confdefs.h <<_ACEOF
84949 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84950 _ACEOF
84951
84952 fi
84953
84954 done
84955
84956     SECTION_FLAGS='-ffunction-sections -fdata-sections'
84957
84958
84959   # If we're not using GNU ld, then there's no point in even trying these
84960   # tests.  Check for that first.  We should have already tested for gld
84961   # by now (in libtool), but require it now just to be safe...
84962   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
84963   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
84964
84965
84966
84967   # The name set by libtool depends on the version of libtool.  Shame on us
84968   # for depending on an impl detail, but c'est la vie.  Older versions used
84969   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
84970   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
84971   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
84972   # set (hence we're using an older libtool), then set it.
84973   if test x${with_gnu_ld+set} != xset; then
84974     if test x${ac_cv_prog_gnu_ld+set} != xset; then
84975       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
84976       with_gnu_ld=no
84977     else
84978       with_gnu_ld=$ac_cv_prog_gnu_ld
84979     fi
84980   fi
84981
84982   # Start by getting the version number.  I think the libtool test already
84983   # does some of this, but throws away the result.
84984
84985   ldver=`$LD --version 2>/dev/null | head -1 | \
84986          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
84987
84988   glibcxx_gnu_ld_version=`echo $ldver | \
84989          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
84990
84991   # Set --gc-sections.
84992   if test "$with_gnu_ld" = "notbroken"; then
84993     # GNU ld it is!  Joy and bunny rabbits!
84994
84995     # All these tests are for C++; save the language and the compiler flags.
84996     # Need to do this so that g++ won't try to link in libstdc++
84997     ac_test_CFLAGS="${CFLAGS+set}"
84998     ac_save_CFLAGS="$CFLAGS"
84999     CFLAGS='-x c++  -Wl,--gc-sections'
85000
85001     # Check for -Wl,--gc-sections
85002     # XXX This test is broken at the moment, as symbols required for linking
85003     # are now in libsupc++ (not built yet).  In addition, this test has
85004     # cored on solaris in the past.  In addition, --gc-sections doesn't
85005     # really work at the moment (keeps on discarding used sections, first
85006     # .eh_frame and now some of the glibc sections for iconv).
85007     # Bzzzzt.  Thanks for playing, maybe next time.
85008     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85009 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85010     if test "$cross_compiling" = yes; then
85011   ac_sectionLDflags=yes
85012 else
85013   cat >conftest.$ac_ext <<_ACEOF
85014 /* confdefs.h.  */
85015 _ACEOF
85016 cat confdefs.h >>conftest.$ac_ext
85017 cat >>conftest.$ac_ext <<_ACEOF
85018 /* end confdefs.h.  */
85019
85020      int main(void)
85021      {
85022        try { throw 1; }
85023        catch (...) { };
85024        return 0;
85025      }
85026
85027 _ACEOF
85028 rm -f conftest$ac_exeext
85029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85030   (eval $ac_link) 2>&5
85031   ac_status=$?
85032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85033   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
85034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85035   (eval $ac_try) 2>&5
85036   ac_status=$?
85037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85038   (exit $ac_status); }; }; then
85039   ac_sectionLDflags=yes
85040 else
85041   echo "$as_me: program exited with status $ac_status" >&5
85042 echo "$as_me: failed program was:" >&5
85043 sed 's/^/| /' conftest.$ac_ext >&5
85044
85045 ( exit $ac_status )
85046 ac_sectionLDflags=no
85047 fi
85048 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
85049 fi
85050     if test "$ac_test_CFLAGS" = set; then
85051       CFLAGS="$ac_save_CFLAGS"
85052     else
85053       # this is the suspicious part
85054       CFLAGS=''
85055     fi
85056     if test "$ac_sectionLDflags" = "yes"; then
85057       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85058     fi
85059     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
85060 echo "${ECHO_T}$ac_sectionLDflags" >&6
85061   fi
85062
85063   # Set linker optimization flags.
85064   if test x"$with_gnu_ld" = x"yes"; then
85065     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85066   fi
85067
85068
85069
85070
85071
85072
85073 echo "$as_me:$LINENO: checking for main in -lm" >&5
85074 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85075 if test "${ac_cv_lib_m_main+set}" = set; then
85076   echo $ECHO_N "(cached) $ECHO_C" >&6
85077 else
85078   ac_check_lib_save_LIBS=$LIBS
85079 LIBS="-lm  $LIBS"
85080 if test x$gcc_no_link = xyes; then
85081   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85083    { (exit 1); exit 1; }; }
85084 fi
85085 cat >conftest.$ac_ext <<_ACEOF
85086 /* confdefs.h.  */
85087 _ACEOF
85088 cat confdefs.h >>conftest.$ac_ext
85089 cat >>conftest.$ac_ext <<_ACEOF
85090 /* end confdefs.h.  */
85091
85092
85093 int
85094 main ()
85095 {
85096 main ();
85097   ;
85098   return 0;
85099 }
85100 _ACEOF
85101 rm -f conftest.$ac_objext conftest$ac_exeext
85102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85103   (eval $ac_link) 2>conftest.er1
85104   ac_status=$?
85105   grep -v '^ *+' conftest.er1 >conftest.err
85106   rm -f conftest.er1
85107   cat conftest.err >&5
85108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85109   (exit $ac_status); } &&
85110          { ac_try='test -z "$ac_c_werror_flag"
85111                          || test ! -s conftest.err'
85112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85113   (eval $ac_try) 2>&5
85114   ac_status=$?
85115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85116   (exit $ac_status); }; } &&
85117          { ac_try='test -s conftest$ac_exeext'
85118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85119   (eval $ac_try) 2>&5
85120   ac_status=$?
85121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85122   (exit $ac_status); }; }; then
85123   ac_cv_lib_m_main=yes
85124 else
85125   echo "$as_me: failed program was:" >&5
85126 sed 's/^/| /' conftest.$ac_ext >&5
85127
85128 ac_cv_lib_m_main=no
85129 fi
85130 rm -f conftest.err conftest.$ac_objext \
85131       conftest$ac_exeext conftest.$ac_ext
85132 LIBS=$ac_check_lib_save_LIBS
85133 fi
85134 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85135 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85136 if test $ac_cv_lib_m_main = yes; then
85137   cat >>confdefs.h <<_ACEOF
85138 #define HAVE_LIBM 1
85139 _ACEOF
85140
85141   LIBS="-lm $LIBS"
85142
85143 fi
85144
85145
85146 for ac_func in copysignf
85147 do
85148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85149 echo "$as_me:$LINENO: checking for $ac_func" >&5
85150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85151 if eval "test \"\${$as_ac_var+set}\" = set"; then
85152   echo $ECHO_N "(cached) $ECHO_C" >&6
85153 else
85154   if test x$gcc_no_link = xyes; then
85155   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85157    { (exit 1); exit 1; }; }
85158 fi
85159 cat >conftest.$ac_ext <<_ACEOF
85160 /* confdefs.h.  */
85161 _ACEOF
85162 cat confdefs.h >>conftest.$ac_ext
85163 cat >>conftest.$ac_ext <<_ACEOF
85164 /* end confdefs.h.  */
85165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85166    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85167 #define $ac_func innocuous_$ac_func
85168
85169 /* System header to define __stub macros and hopefully few prototypes,
85170     which can conflict with char $ac_func (); below.
85171     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85172     <limits.h> exists even on freestanding compilers.  */
85173
85174 #ifdef __STDC__
85175 # include <limits.h>
85176 #else
85177 # include <assert.h>
85178 #endif
85179
85180 #undef $ac_func
85181
85182 /* Override any gcc2 internal prototype to avoid an error.  */
85183 #ifdef __cplusplus
85184 extern "C"
85185 {
85186 #endif
85187 /* We use char because int might match the return type of a gcc2
85188    builtin and then its argument prototype would still apply.  */
85189 char $ac_func ();
85190 /* The GNU C library defines this for functions which it implements
85191     to always fail with ENOSYS.  Some functions are actually named
85192     something starting with __ and the normal name is an alias.  */
85193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85194 choke me
85195 #else
85196 char (*f) () = $ac_func;
85197 #endif
85198 #ifdef __cplusplus
85199 }
85200 #endif
85201
85202 int
85203 main ()
85204 {
85205 return f != $ac_func;
85206   ;
85207   return 0;
85208 }
85209 _ACEOF
85210 rm -f conftest.$ac_objext conftest$ac_exeext
85211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85212   (eval $ac_link) 2>conftest.er1
85213   ac_status=$?
85214   grep -v '^ *+' conftest.er1 >conftest.err
85215   rm -f conftest.er1
85216   cat conftest.err >&5
85217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85218   (exit $ac_status); } &&
85219          { ac_try='test -z "$ac_c_werror_flag"
85220                          || test ! -s conftest.err'
85221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85222   (eval $ac_try) 2>&5
85223   ac_status=$?
85224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85225   (exit $ac_status); }; } &&
85226          { ac_try='test -s conftest$ac_exeext'
85227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85228   (eval $ac_try) 2>&5
85229   ac_status=$?
85230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85231   (exit $ac_status); }; }; then
85232   eval "$as_ac_var=yes"
85233 else
85234   echo "$as_me: failed program was:" >&5
85235 sed 's/^/| /' conftest.$ac_ext >&5
85236
85237 eval "$as_ac_var=no"
85238 fi
85239 rm -f conftest.err conftest.$ac_objext \
85240       conftest$ac_exeext conftest.$ac_ext
85241 fi
85242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85244 if test `eval echo '${'$as_ac_var'}'` = yes; then
85245   cat >>confdefs.h <<_ACEOF
85246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85247 _ACEOF
85248
85249 else
85250   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85251 fi
85252 done
85253
85254
85255
85256 for ac_func in __signbit
85257 do
85258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85259 echo "$as_me:$LINENO: checking for $ac_func" >&5
85260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85261 if eval "test \"\${$as_ac_var+set}\" = set"; then
85262   echo $ECHO_N "(cached) $ECHO_C" >&6
85263 else
85264   if test x$gcc_no_link = xyes; then
85265   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85267    { (exit 1); exit 1; }; }
85268 fi
85269 cat >conftest.$ac_ext <<_ACEOF
85270 /* confdefs.h.  */
85271 _ACEOF
85272 cat confdefs.h >>conftest.$ac_ext
85273 cat >>conftest.$ac_ext <<_ACEOF
85274 /* end confdefs.h.  */
85275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85276    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85277 #define $ac_func innocuous_$ac_func
85278
85279 /* System header to define __stub macros and hopefully few prototypes,
85280     which can conflict with char $ac_func (); below.
85281     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85282     <limits.h> exists even on freestanding compilers.  */
85283
85284 #ifdef __STDC__
85285 # include <limits.h>
85286 #else
85287 # include <assert.h>
85288 #endif
85289
85290 #undef $ac_func
85291
85292 /* Override any gcc2 internal prototype to avoid an error.  */
85293 #ifdef __cplusplus
85294 extern "C"
85295 {
85296 #endif
85297 /* We use char because int might match the return type of a gcc2
85298    builtin and then its argument prototype would still apply.  */
85299 char $ac_func ();
85300 /* The GNU C library defines this for functions which it implements
85301     to always fail with ENOSYS.  Some functions are actually named
85302     something starting with __ and the normal name is an alias.  */
85303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85304 choke me
85305 #else
85306 char (*f) () = $ac_func;
85307 #endif
85308 #ifdef __cplusplus
85309 }
85310 #endif
85311
85312 int
85313 main ()
85314 {
85315 return f != $ac_func;
85316   ;
85317   return 0;
85318 }
85319 _ACEOF
85320 rm -f conftest.$ac_objext conftest$ac_exeext
85321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85322   (eval $ac_link) 2>conftest.er1
85323   ac_status=$?
85324   grep -v '^ *+' conftest.er1 >conftest.err
85325   rm -f conftest.er1
85326   cat conftest.err >&5
85327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85328   (exit $ac_status); } &&
85329          { ac_try='test -z "$ac_c_werror_flag"
85330                          || test ! -s conftest.err'
85331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85332   (eval $ac_try) 2>&5
85333   ac_status=$?
85334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85335   (exit $ac_status); }; } &&
85336          { ac_try='test -s conftest$ac_exeext'
85337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85338   (eval $ac_try) 2>&5
85339   ac_status=$?
85340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85341   (exit $ac_status); }; }; then
85342   eval "$as_ac_var=yes"
85343 else
85344   echo "$as_me: failed program was:" >&5
85345 sed 's/^/| /' conftest.$ac_ext >&5
85346
85347 eval "$as_ac_var=no"
85348 fi
85349 rm -f conftest.err conftest.$ac_objext \
85350       conftest$ac_exeext conftest.$ac_ext
85351 fi
85352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85354 if test `eval echo '${'$as_ac_var'}'` = yes; then
85355   cat >>confdefs.h <<_ACEOF
85356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85357 _ACEOF
85358
85359 else
85360   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85361 fi
85362 done
85363
85364
85365
85366 for ac_func in __signbitf
85367 do
85368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85369 echo "$as_me:$LINENO: checking for $ac_func" >&5
85370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85371 if eval "test \"\${$as_ac_var+set}\" = set"; then
85372   echo $ECHO_N "(cached) $ECHO_C" >&6
85373 else
85374   if test x$gcc_no_link = xyes; then
85375   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85377    { (exit 1); exit 1; }; }
85378 fi
85379 cat >conftest.$ac_ext <<_ACEOF
85380 /* confdefs.h.  */
85381 _ACEOF
85382 cat confdefs.h >>conftest.$ac_ext
85383 cat >>conftest.$ac_ext <<_ACEOF
85384 /* end confdefs.h.  */
85385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85386    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85387 #define $ac_func innocuous_$ac_func
85388
85389 /* System header to define __stub macros and hopefully few prototypes,
85390     which can conflict with char $ac_func (); below.
85391     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85392     <limits.h> exists even on freestanding compilers.  */
85393
85394 #ifdef __STDC__
85395 # include <limits.h>
85396 #else
85397 # include <assert.h>
85398 #endif
85399
85400 #undef $ac_func
85401
85402 /* Override any gcc2 internal prototype to avoid an error.  */
85403 #ifdef __cplusplus
85404 extern "C"
85405 {
85406 #endif
85407 /* We use char because int might match the return type of a gcc2
85408    builtin and then its argument prototype would still apply.  */
85409 char $ac_func ();
85410 /* The GNU C library defines this for functions which it implements
85411     to always fail with ENOSYS.  Some functions are actually named
85412     something starting with __ and the normal name is an alias.  */
85413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85414 choke me
85415 #else
85416 char (*f) () = $ac_func;
85417 #endif
85418 #ifdef __cplusplus
85419 }
85420 #endif
85421
85422 int
85423 main ()
85424 {
85425 return f != $ac_func;
85426   ;
85427   return 0;
85428 }
85429 _ACEOF
85430 rm -f conftest.$ac_objext conftest$ac_exeext
85431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85432   (eval $ac_link) 2>conftest.er1
85433   ac_status=$?
85434   grep -v '^ *+' conftest.er1 >conftest.err
85435   rm -f conftest.er1
85436   cat conftest.err >&5
85437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85438   (exit $ac_status); } &&
85439          { ac_try='test -z "$ac_c_werror_flag"
85440                          || test ! -s conftest.err'
85441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85442   (eval $ac_try) 2>&5
85443   ac_status=$?
85444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85445   (exit $ac_status); }; } &&
85446          { ac_try='test -s conftest$ac_exeext'
85447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85448   (eval $ac_try) 2>&5
85449   ac_status=$?
85450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85451   (exit $ac_status); }; }; then
85452   eval "$as_ac_var=yes"
85453 else
85454   echo "$as_me: failed program was:" >&5
85455 sed 's/^/| /' conftest.$ac_ext >&5
85456
85457 eval "$as_ac_var=no"
85458 fi
85459 rm -f conftest.err conftest.$ac_objext \
85460       conftest$ac_exeext conftest.$ac_ext
85461 fi
85462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85464 if test `eval echo '${'$as_ac_var'}'` = yes; then
85465   cat >>confdefs.h <<_ACEOF
85466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85467 _ACEOF
85468
85469 else
85470   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
85471 fi
85472 done
85473
85474
85475           if test x$ac_cv_func_copysignl = x"yes"; then
85476
85477 for ac_func in __signbitl
85478 do
85479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85480 echo "$as_me:$LINENO: checking for $ac_func" >&5
85481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85482 if eval "test \"\${$as_ac_var+set}\" = set"; then
85483   echo $ECHO_N "(cached) $ECHO_C" >&6
85484 else
85485   if test x$gcc_no_link = xyes; then
85486   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85488    { (exit 1); exit 1; }; }
85489 fi
85490 cat >conftest.$ac_ext <<_ACEOF
85491 /* confdefs.h.  */
85492 _ACEOF
85493 cat confdefs.h >>conftest.$ac_ext
85494 cat >>conftest.$ac_ext <<_ACEOF
85495 /* end confdefs.h.  */
85496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85497    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85498 #define $ac_func innocuous_$ac_func
85499
85500 /* System header to define __stub macros and hopefully few prototypes,
85501     which can conflict with char $ac_func (); below.
85502     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85503     <limits.h> exists even on freestanding compilers.  */
85504
85505 #ifdef __STDC__
85506 # include <limits.h>
85507 #else
85508 # include <assert.h>
85509 #endif
85510
85511 #undef $ac_func
85512
85513 /* Override any gcc2 internal prototype to avoid an error.  */
85514 #ifdef __cplusplus
85515 extern "C"
85516 {
85517 #endif
85518 /* We use char because int might match the return type of a gcc2
85519    builtin and then its argument prototype would still apply.  */
85520 char $ac_func ();
85521 /* The GNU C library defines this for functions which it implements
85522     to always fail with ENOSYS.  Some functions are actually named
85523     something starting with __ and the normal name is an alias.  */
85524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85525 choke me
85526 #else
85527 char (*f) () = $ac_func;
85528 #endif
85529 #ifdef __cplusplus
85530 }
85531 #endif
85532
85533 int
85534 main ()
85535 {
85536 return f != $ac_func;
85537   ;
85538   return 0;
85539 }
85540 _ACEOF
85541 rm -f conftest.$ac_objext conftest$ac_exeext
85542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85543   (eval $ac_link) 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); } &&
85550          { ac_try='test -z "$ac_c_werror_flag"
85551                          || test ! -s conftest.err'
85552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85553   (eval $ac_try) 2>&5
85554   ac_status=$?
85555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85556   (exit $ac_status); }; } &&
85557          { ac_try='test -s conftest$ac_exeext'
85558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85559   (eval $ac_try) 2>&5
85560   ac_status=$?
85561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85562   (exit $ac_status); }; }; then
85563   eval "$as_ac_var=yes"
85564 else
85565   echo "$as_me: failed program was:" >&5
85566 sed 's/^/| /' conftest.$ac_ext >&5
85567
85568 eval "$as_ac_var=no"
85569 fi
85570 rm -f conftest.err conftest.$ac_objext \
85571       conftest$ac_exeext conftest.$ac_ext
85572 fi
85573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85575 if test `eval echo '${'$as_ac_var'}'` = yes; then
85576   cat >>confdefs.h <<_ACEOF
85577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85578 _ACEOF
85579
85580 else
85581   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
85582 fi
85583 done
85584
85585   fi
85586
85587   # Used in libmath/Makefile.am.
85588   if test -n "$LIBMATHOBJS"; then
85589     need_libmath=yes
85590   fi
85591
85592
85593
85594   # Test wchar.h for mbstate_t, which is needed for char_traits and
85595   # others even if wchar_t support is not on.
85596   echo "$as_me:$LINENO: checking for mbstate_t" >&5
85597 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
85598   cat >conftest.$ac_ext <<_ACEOF
85599 /* confdefs.h.  */
85600 _ACEOF
85601 cat confdefs.h >>conftest.$ac_ext
85602 cat >>conftest.$ac_ext <<_ACEOF
85603 /* end confdefs.h.  */
85604 #include <wchar.h>
85605 int
85606 main ()
85607 {
85608 mbstate_t teststate;
85609   ;
85610   return 0;
85611 }
85612 _ACEOF
85613 rm -f conftest.$ac_objext
85614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85615   (eval $ac_compile) 2>conftest.er1
85616   ac_status=$?
85617   grep -v '^ *+' conftest.er1 >conftest.err
85618   rm -f conftest.er1
85619   cat conftest.err >&5
85620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85621   (exit $ac_status); } &&
85622          { ac_try='test -z "$ac_c_werror_flag"
85623                          || test ! -s conftest.err'
85624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85625   (eval $ac_try) 2>&5
85626   ac_status=$?
85627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85628   (exit $ac_status); }; } &&
85629          { ac_try='test -s conftest.$ac_objext'
85630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85631   (eval $ac_try) 2>&5
85632   ac_status=$?
85633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85634   (exit $ac_status); }; }; then
85635   have_mbstate_t=yes
85636 else
85637   echo "$as_me: failed program was:" >&5
85638 sed 's/^/| /' conftest.$ac_ext >&5
85639
85640 have_mbstate_t=no
85641 fi
85642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85643   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
85644 echo "${ECHO_T}$have_mbstate_t" >&6
85645   if test x"$have_mbstate_t" = xyes; then
85646     cat >>confdefs.h <<\_ACEOF
85647 #define HAVE_MBSTATE_T 1
85648 _ACEOF
85649
85650   fi
85651
85652   # Sanity check for existence of ISO C99 headers for extended encoding.
85653
85654 for ac_header in wchar.h
85655 do
85656 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85658   echo "$as_me:$LINENO: checking for $ac_header" >&5
85659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85661   echo $ECHO_N "(cached) $ECHO_C" >&6
85662 fi
85663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85664 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85665 else
85666   # Is the header compilable?
85667 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85668 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85669 cat >conftest.$ac_ext <<_ACEOF
85670 /* confdefs.h.  */
85671 _ACEOF
85672 cat confdefs.h >>conftest.$ac_ext
85673 cat >>conftest.$ac_ext <<_ACEOF
85674 /* end confdefs.h.  */
85675 $ac_includes_default
85676 #include <$ac_header>
85677 _ACEOF
85678 rm -f conftest.$ac_objext
85679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85680   (eval $ac_compile) 2>conftest.er1
85681   ac_status=$?
85682   grep -v '^ *+' conftest.er1 >conftest.err
85683   rm -f conftest.er1
85684   cat conftest.err >&5
85685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85686   (exit $ac_status); } &&
85687          { ac_try='test -z "$ac_c_werror_flag"
85688                          || test ! -s conftest.err'
85689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85690   (eval $ac_try) 2>&5
85691   ac_status=$?
85692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85693   (exit $ac_status); }; } &&
85694          { ac_try='test -s conftest.$ac_objext'
85695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85696   (eval $ac_try) 2>&5
85697   ac_status=$?
85698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85699   (exit $ac_status); }; }; then
85700   ac_header_compiler=yes
85701 else
85702   echo "$as_me: failed program was:" >&5
85703 sed 's/^/| /' conftest.$ac_ext >&5
85704
85705 ac_header_compiler=no
85706 fi
85707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85708 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85709 echo "${ECHO_T}$ac_header_compiler" >&6
85710
85711 # Is the header present?
85712 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85713 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85714 cat >conftest.$ac_ext <<_ACEOF
85715 /* confdefs.h.  */
85716 _ACEOF
85717 cat confdefs.h >>conftest.$ac_ext
85718 cat >>conftest.$ac_ext <<_ACEOF
85719 /* end confdefs.h.  */
85720 #include <$ac_header>
85721 _ACEOF
85722 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85723   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85724   ac_status=$?
85725   grep -v '^ *+' conftest.er1 >conftest.err
85726   rm -f conftest.er1
85727   cat conftest.err >&5
85728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85729   (exit $ac_status); } >/dev/null; then
85730   if test -s conftest.err; then
85731     ac_cpp_err=$ac_c_preproc_warn_flag
85732     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85733   else
85734     ac_cpp_err=
85735   fi
85736 else
85737   ac_cpp_err=yes
85738 fi
85739 if test -z "$ac_cpp_err"; then
85740   ac_header_preproc=yes
85741 else
85742   echo "$as_me: failed program was:" >&5
85743 sed 's/^/| /' conftest.$ac_ext >&5
85744
85745   ac_header_preproc=no
85746 fi
85747 rm -f conftest.err conftest.$ac_ext
85748 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85749 echo "${ECHO_T}$ac_header_preproc" >&6
85750
85751 # So?  What about this header?
85752 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85753   yes:no: )
85754     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85755 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85756     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85757 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85758     ac_header_preproc=yes
85759     ;;
85760   no:yes:* )
85761     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85762 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85763     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
85764 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
85765     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85766 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85767     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
85768 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
85769     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85770 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85771     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85772 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85773     (
85774       cat <<\_ASBOX
85775 ## ----------------------------------------- ##
85776 ## Report this to the package-unused lists.  ##
85777 ## ----------------------------------------- ##
85778 _ASBOX
85779     ) |
85780       sed "s/^/$as_me: WARNING:     /" >&2
85781     ;;
85782 esac
85783 echo "$as_me:$LINENO: checking for $ac_header" >&5
85784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85786   echo $ECHO_N "(cached) $ECHO_C" >&6
85787 else
85788   eval "$as_ac_Header=\$ac_header_preproc"
85789 fi
85790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85792
85793 fi
85794 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85795   cat >>confdefs.h <<_ACEOF
85796 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85797 _ACEOF
85798  ac_has_wchar_h=yes
85799 else
85800   ac_has_wchar_h=no
85801 fi
85802
85803 done
85804
85805
85806 for ac_header in wctype.h
85807 do
85808 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85810   echo "$as_me:$LINENO: checking for $ac_header" >&5
85811 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85812 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85813   echo $ECHO_N "(cached) $ECHO_C" >&6
85814 fi
85815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85816 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85817 else
85818   # Is the header compilable?
85819 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85820 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85821 cat >conftest.$ac_ext <<_ACEOF
85822 /* confdefs.h.  */
85823 _ACEOF
85824 cat confdefs.h >>conftest.$ac_ext
85825 cat >>conftest.$ac_ext <<_ACEOF
85826 /* end confdefs.h.  */
85827 $ac_includes_default
85828 #include <$ac_header>
85829 _ACEOF
85830 rm -f conftest.$ac_objext
85831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85832   (eval $ac_compile) 2>conftest.er1
85833   ac_status=$?
85834   grep -v '^ *+' conftest.er1 >conftest.err
85835   rm -f conftest.er1
85836   cat conftest.err >&5
85837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85838   (exit $ac_status); } &&
85839          { ac_try='test -z "$ac_c_werror_flag"
85840                          || test ! -s conftest.err'
85841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85842   (eval $ac_try) 2>&5
85843   ac_status=$?
85844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85845   (exit $ac_status); }; } &&
85846          { ac_try='test -s conftest.$ac_objext'
85847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85848   (eval $ac_try) 2>&5
85849   ac_status=$?
85850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85851   (exit $ac_status); }; }; then
85852   ac_header_compiler=yes
85853 else
85854   echo "$as_me: failed program was:" >&5
85855 sed 's/^/| /' conftest.$ac_ext >&5
85856
85857 ac_header_compiler=no
85858 fi
85859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85860 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85861 echo "${ECHO_T}$ac_header_compiler" >&6
85862
85863 # Is the header present?
85864 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85865 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85866 cat >conftest.$ac_ext <<_ACEOF
85867 /* confdefs.h.  */
85868 _ACEOF
85869 cat confdefs.h >>conftest.$ac_ext
85870 cat >>conftest.$ac_ext <<_ACEOF
85871 /* end confdefs.h.  */
85872 #include <$ac_header>
85873 _ACEOF
85874 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85875   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85876   ac_status=$?
85877   grep -v '^ *+' conftest.er1 >conftest.err
85878   rm -f conftest.er1
85879   cat conftest.err >&5
85880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85881   (exit $ac_status); } >/dev/null; then
85882   if test -s conftest.err; then
85883     ac_cpp_err=$ac_c_preproc_warn_flag
85884     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85885   else
85886     ac_cpp_err=
85887   fi
85888 else
85889   ac_cpp_err=yes
85890 fi
85891 if test -z "$ac_cpp_err"; then
85892   ac_header_preproc=yes
85893 else
85894   echo "$as_me: failed program was:" >&5
85895 sed 's/^/| /' conftest.$ac_ext >&5
85896
85897   ac_header_preproc=no
85898 fi
85899 rm -f conftest.err conftest.$ac_ext
85900 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85901 echo "${ECHO_T}$ac_header_preproc" >&6
85902
85903 # So?  What about this header?
85904 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85905   yes:no: )
85906     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85907 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85908     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85909 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85910     ac_header_preproc=yes
85911     ;;
85912   no:yes:* )
85913     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85914 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85915     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
85916 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
85917     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85918 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85919     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
85920 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
85921     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85922 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85923     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85924 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85925     (
85926       cat <<\_ASBOX
85927 ## ----------------------------------------- ##
85928 ## Report this to the package-unused lists.  ##
85929 ## ----------------------------------------- ##
85930 _ASBOX
85931     ) |
85932       sed "s/^/$as_me: WARNING:     /" >&2
85933     ;;
85934 esac
85935 echo "$as_me:$LINENO: checking for $ac_header" >&5
85936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85938   echo $ECHO_N "(cached) $ECHO_C" >&6
85939 else
85940   eval "$as_ac_Header=\$ac_header_preproc"
85941 fi
85942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85944
85945 fi
85946 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85947   cat >>confdefs.h <<_ACEOF
85948 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85949 _ACEOF
85950  ac_has_wctype_h=yes
85951 else
85952   ac_has_wctype_h=no
85953 fi
85954
85955 done
85956
85957
85958   # Only continue checking if the ISO C99 headers exist and support is on.
85959   if test x"$ac_has_wchar_h" = xyes &&
85960      test x"$ac_has_wctype_h" = xyes &&
85961      test x"$enable_c_mbchar" != xno; then
85962
85963     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
85964     # numeric_limits can instantiate type_traits<wchar_t>
85965     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
85966 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
85967     cat >conftest.$ac_ext <<_ACEOF
85968 /* confdefs.h.  */
85969 _ACEOF
85970 cat confdefs.h >>conftest.$ac_ext
85971 cat >>conftest.$ac_ext <<_ACEOF
85972 /* end confdefs.h.  */
85973 #include <wchar.h>
85974 int
85975 main ()
85976 {
85977 int i = WCHAR_MIN; int j = WCHAR_MAX;
85978   ;
85979   return 0;
85980 }
85981 _ACEOF
85982 rm -f conftest.$ac_objext
85983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85984   (eval $ac_compile) 2>conftest.er1
85985   ac_status=$?
85986   grep -v '^ *+' conftest.er1 >conftest.err
85987   rm -f conftest.er1
85988   cat conftest.err >&5
85989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85990   (exit $ac_status); } &&
85991          { ac_try='test -z "$ac_c_werror_flag"
85992                          || test ! -s conftest.err'
85993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85994   (eval $ac_try) 2>&5
85995   ac_status=$?
85996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85997   (exit $ac_status); }; } &&
85998          { ac_try='test -s conftest.$ac_objext'
85999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86000   (eval $ac_try) 2>&5
86001   ac_status=$?
86002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86003   (exit $ac_status); }; }; then
86004   has_wchar_minmax=yes
86005 else
86006   echo "$as_me: failed program was:" >&5
86007 sed 's/^/| /' conftest.$ac_ext >&5
86008
86009 has_wchar_minmax=no
86010 fi
86011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86012     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
86013 echo "${ECHO_T}$has_wchar_minmax" >&6
86014
86015     # Test wchar.h for WEOF, which is what we use to determine whether
86016     # to specialize for char_traits<wchar_t> or not.
86017     echo "$as_me:$LINENO: checking for WEOF" >&5
86018 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
86019     cat >conftest.$ac_ext <<_ACEOF
86020 /* confdefs.h.  */
86021 _ACEOF
86022 cat confdefs.h >>conftest.$ac_ext
86023 cat >>conftest.$ac_ext <<_ACEOF
86024 /* end confdefs.h.  */
86025
86026       #include <wchar.h>
86027       #include <stddef.h>
86028 int
86029 main ()
86030 {
86031 wint_t i = WEOF;
86032   ;
86033   return 0;
86034 }
86035 _ACEOF
86036 rm -f conftest.$ac_objext
86037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86038   (eval $ac_compile) 2>conftest.er1
86039   ac_status=$?
86040   grep -v '^ *+' conftest.er1 >conftest.err
86041   rm -f conftest.er1
86042   cat conftest.err >&5
86043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86044   (exit $ac_status); } &&
86045          { ac_try='test -z "$ac_c_werror_flag"
86046                          || test ! -s conftest.err'
86047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86048   (eval $ac_try) 2>&5
86049   ac_status=$?
86050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86051   (exit $ac_status); }; } &&
86052          { ac_try='test -s conftest.$ac_objext'
86053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86054   (eval $ac_try) 2>&5
86055   ac_status=$?
86056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86057   (exit $ac_status); }; }; then
86058   has_weof=yes
86059 else
86060   echo "$as_me: failed program was:" >&5
86061 sed 's/^/| /' conftest.$ac_ext >&5
86062
86063 has_weof=no
86064 fi
86065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86066     echo "$as_me:$LINENO: result: $has_weof" >&5
86067 echo "${ECHO_T}$has_weof" >&6
86068
86069     # Tests for wide character functions used in char_traits<wchar_t>.
86070     ac_wfuncs=yes
86071
86072
86073
86074
86075
86076
86077 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
86078 do
86079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86080 echo "$as_me:$LINENO: checking for $ac_func" >&5
86081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86082 if eval "test \"\${$as_ac_var+set}\" = set"; then
86083   echo $ECHO_N "(cached) $ECHO_C" >&6
86084 else
86085   if test x$gcc_no_link = xyes; then
86086   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86088    { (exit 1); exit 1; }; }
86089 fi
86090 cat >conftest.$ac_ext <<_ACEOF
86091 /* confdefs.h.  */
86092 _ACEOF
86093 cat confdefs.h >>conftest.$ac_ext
86094 cat >>conftest.$ac_ext <<_ACEOF
86095 /* end confdefs.h.  */
86096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86097    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86098 #define $ac_func innocuous_$ac_func
86099
86100 /* System header to define __stub macros and hopefully few prototypes,
86101     which can conflict with char $ac_func (); below.
86102     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86103     <limits.h> exists even on freestanding compilers.  */
86104
86105 #ifdef __STDC__
86106 # include <limits.h>
86107 #else
86108 # include <assert.h>
86109 #endif
86110
86111 #undef $ac_func
86112
86113 /* Override any gcc2 internal prototype to avoid an error.  */
86114 #ifdef __cplusplus
86115 extern "C"
86116 {
86117 #endif
86118 /* We use char because int might match the return type of a gcc2
86119    builtin and then its argument prototype would still apply.  */
86120 char $ac_func ();
86121 /* The GNU C library defines this for functions which it implements
86122     to always fail with ENOSYS.  Some functions are actually named
86123     something starting with __ and the normal name is an alias.  */
86124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86125 choke me
86126 #else
86127 char (*f) () = $ac_func;
86128 #endif
86129 #ifdef __cplusplus
86130 }
86131 #endif
86132
86133 int
86134 main ()
86135 {
86136 return f != $ac_func;
86137   ;
86138   return 0;
86139 }
86140 _ACEOF
86141 rm -f conftest.$ac_objext conftest$ac_exeext
86142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86143   (eval $ac_link) 2>conftest.er1
86144   ac_status=$?
86145   grep -v '^ *+' conftest.er1 >conftest.err
86146   rm -f conftest.er1
86147   cat conftest.err >&5
86148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86149   (exit $ac_status); } &&
86150          { ac_try='test -z "$ac_c_werror_flag"
86151                          || test ! -s conftest.err'
86152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86153   (eval $ac_try) 2>&5
86154   ac_status=$?
86155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86156   (exit $ac_status); }; } &&
86157          { ac_try='test -s conftest$ac_exeext'
86158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86159   (eval $ac_try) 2>&5
86160   ac_status=$?
86161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86162   (exit $ac_status); }; }; then
86163   eval "$as_ac_var=yes"
86164 else
86165   echo "$as_me: failed program was:" >&5
86166 sed 's/^/| /' conftest.$ac_ext >&5
86167
86168 eval "$as_ac_var=no"
86169 fi
86170 rm -f conftest.err conftest.$ac_objext \
86171       conftest$ac_exeext conftest.$ac_ext
86172 fi
86173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86175 if test `eval echo '${'$as_ac_var'}'` = yes; then
86176   cat >>confdefs.h <<_ACEOF
86177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86178 _ACEOF
86179
86180 else
86181   ac_wfuncs=no
86182 fi
86183 done
86184
86185
86186     # Checks for names injected into std:: by the c_std headers.
86187
86188
86189
86190
86191
86192
86193
86194
86195
86196
86197
86198
86199
86200
86201
86202
86203
86204
86205
86206
86207
86208
86209
86210
86211
86212
86213
86214
86215
86216
86217
86218
86219
86220
86221
86222
86223
86224
86225
86226
86227
86228
86229
86230
86231
86232
86233 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
86234     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
86235     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
86236     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
86237     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
86238     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
86239 do
86240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86241 echo "$as_me:$LINENO: checking for $ac_func" >&5
86242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86243 if eval "test \"\${$as_ac_var+set}\" = set"; then
86244   echo $ECHO_N "(cached) $ECHO_C" >&6
86245 else
86246   if test x$gcc_no_link = xyes; then
86247   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86249    { (exit 1); exit 1; }; }
86250 fi
86251 cat >conftest.$ac_ext <<_ACEOF
86252 /* confdefs.h.  */
86253 _ACEOF
86254 cat confdefs.h >>conftest.$ac_ext
86255 cat >>conftest.$ac_ext <<_ACEOF
86256 /* end confdefs.h.  */
86257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86258    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86259 #define $ac_func innocuous_$ac_func
86260
86261 /* System header to define __stub macros and hopefully few prototypes,
86262     which can conflict with char $ac_func (); below.
86263     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86264     <limits.h> exists even on freestanding compilers.  */
86265
86266 #ifdef __STDC__
86267 # include <limits.h>
86268 #else
86269 # include <assert.h>
86270 #endif
86271
86272 #undef $ac_func
86273
86274 /* Override any gcc2 internal prototype to avoid an error.  */
86275 #ifdef __cplusplus
86276 extern "C"
86277 {
86278 #endif
86279 /* We use char because int might match the return type of a gcc2
86280    builtin and then its argument prototype would still apply.  */
86281 char $ac_func ();
86282 /* The GNU C library defines this for functions which it implements
86283     to always fail with ENOSYS.  Some functions are actually named
86284     something starting with __ and the normal name is an alias.  */
86285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86286 choke me
86287 #else
86288 char (*f) () = $ac_func;
86289 #endif
86290 #ifdef __cplusplus
86291 }
86292 #endif
86293
86294 int
86295 main ()
86296 {
86297 return f != $ac_func;
86298   ;
86299   return 0;
86300 }
86301 _ACEOF
86302 rm -f conftest.$ac_objext conftest$ac_exeext
86303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86304   (eval $ac_link) 2>conftest.er1
86305   ac_status=$?
86306   grep -v '^ *+' conftest.er1 >conftest.err
86307   rm -f conftest.er1
86308   cat conftest.err >&5
86309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86310   (exit $ac_status); } &&
86311          { ac_try='test -z "$ac_c_werror_flag"
86312                          || test ! -s conftest.err'
86313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86314   (eval $ac_try) 2>&5
86315   ac_status=$?
86316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86317   (exit $ac_status); }; } &&
86318          { ac_try='test -s conftest$ac_exeext'
86319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86320   (eval $ac_try) 2>&5
86321   ac_status=$?
86322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86323   (exit $ac_status); }; }; then
86324   eval "$as_ac_var=yes"
86325 else
86326   echo "$as_me: failed program was:" >&5
86327 sed 's/^/| /' conftest.$ac_ext >&5
86328
86329 eval "$as_ac_var=no"
86330 fi
86331 rm -f conftest.err conftest.$ac_objext \
86332       conftest$ac_exeext conftest.$ac_ext
86333 fi
86334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86336 if test `eval echo '${'$as_ac_var'}'` = yes; then
86337   cat >>confdefs.h <<_ACEOF
86338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86339 _ACEOF
86340
86341 else
86342   ac_wfuncs=no
86343 fi
86344 done
86345
86346
86347     # Checks for wide character functions that are not required
86348     # for basic wchar_t support.  Don't disable support if they are missing.
86349     # Injection of these is wrapped with guard macros.
86350
86351
86352
86353
86354
86355 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
86356 do
86357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86358 echo "$as_me:$LINENO: checking for $ac_func" >&5
86359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86360 if eval "test \"\${$as_ac_var+set}\" = set"; then
86361   echo $ECHO_N "(cached) $ECHO_C" >&6
86362 else
86363   if test x$gcc_no_link = xyes; then
86364   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86366    { (exit 1); exit 1; }; }
86367 fi
86368 cat >conftest.$ac_ext <<_ACEOF
86369 /* confdefs.h.  */
86370 _ACEOF
86371 cat confdefs.h >>conftest.$ac_ext
86372 cat >>conftest.$ac_ext <<_ACEOF
86373 /* end confdefs.h.  */
86374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86375    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86376 #define $ac_func innocuous_$ac_func
86377
86378 /* System header to define __stub macros and hopefully few prototypes,
86379     which can conflict with char $ac_func (); below.
86380     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86381     <limits.h> exists even on freestanding compilers.  */
86382
86383 #ifdef __STDC__
86384 # include <limits.h>
86385 #else
86386 # include <assert.h>
86387 #endif
86388
86389 #undef $ac_func
86390
86391 /* Override any gcc2 internal prototype to avoid an error.  */
86392 #ifdef __cplusplus
86393 extern "C"
86394 {
86395 #endif
86396 /* We use char because int might match the return type of a gcc2
86397    builtin and then its argument prototype would still apply.  */
86398 char $ac_func ();
86399 /* The GNU C library defines this for functions which it implements
86400     to always fail with ENOSYS.  Some functions are actually named
86401     something starting with __ and the normal name is an alias.  */
86402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86403 choke me
86404 #else
86405 char (*f) () = $ac_func;
86406 #endif
86407 #ifdef __cplusplus
86408 }
86409 #endif
86410
86411 int
86412 main ()
86413 {
86414 return f != $ac_func;
86415   ;
86416   return 0;
86417 }
86418 _ACEOF
86419 rm -f conftest.$ac_objext conftest$ac_exeext
86420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86421   (eval $ac_link) 2>conftest.er1
86422   ac_status=$?
86423   grep -v '^ *+' conftest.er1 >conftest.err
86424   rm -f conftest.er1
86425   cat conftest.err >&5
86426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86427   (exit $ac_status); } &&
86428          { ac_try='test -z "$ac_c_werror_flag"
86429                          || test ! -s conftest.err'
86430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86431   (eval $ac_try) 2>&5
86432   ac_status=$?
86433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86434   (exit $ac_status); }; } &&
86435          { ac_try='test -s conftest$ac_exeext'
86436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86437   (eval $ac_try) 2>&5
86438   ac_status=$?
86439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86440   (exit $ac_status); }; }; then
86441   eval "$as_ac_var=yes"
86442 else
86443   echo "$as_me: failed program was:" >&5
86444 sed 's/^/| /' conftest.$ac_ext >&5
86445
86446 eval "$as_ac_var=no"
86447 fi
86448 rm -f conftest.err conftest.$ac_objext \
86449       conftest$ac_exeext conftest.$ac_ext
86450 fi
86451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86453 if test `eval echo '${'$as_ac_var'}'` = yes; then
86454   cat >>confdefs.h <<_ACEOF
86455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86456 _ACEOF
86457
86458 fi
86459 done
86460
86461
86462     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
86463 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
86464     if test x"$has_weof" = xyes &&
86465        test x"$has_wchar_minmax" = xyes &&
86466        test x"$ac_wfuncs" = xyes;
86467     then
86468       ac_isoC99_wchar_t=yes
86469     else
86470       ac_isoC99_wchar_t=no
86471     fi
86472     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
86473 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
86474
86475     # Use iconv for wchar_t to char conversions. As such, check for
86476     # X/Open Portability Guide, version 2 features (XPG2).
86477     if test "${ac_cv_header_iconv_h+set}" = set; then
86478   echo "$as_me:$LINENO: checking for iconv.h" >&5
86479 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86480 if test "${ac_cv_header_iconv_h+set}" = set; then
86481   echo $ECHO_N "(cached) $ECHO_C" >&6
86482 fi
86483 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86484 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86485 else
86486   # Is the header compilable?
86487 echo "$as_me:$LINENO: checking iconv.h usability" >&5
86488 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
86489 cat >conftest.$ac_ext <<_ACEOF
86490 /* confdefs.h.  */
86491 _ACEOF
86492 cat confdefs.h >>conftest.$ac_ext
86493 cat >>conftest.$ac_ext <<_ACEOF
86494 /* end confdefs.h.  */
86495 $ac_includes_default
86496 #include <iconv.h>
86497 _ACEOF
86498 rm -f conftest.$ac_objext
86499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86500   (eval $ac_compile) 2>conftest.er1
86501   ac_status=$?
86502   grep -v '^ *+' conftest.er1 >conftest.err
86503   rm -f conftest.er1
86504   cat conftest.err >&5
86505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86506   (exit $ac_status); } &&
86507          { ac_try='test -z "$ac_c_werror_flag"
86508                          || test ! -s conftest.err'
86509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86510   (eval $ac_try) 2>&5
86511   ac_status=$?
86512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86513   (exit $ac_status); }; } &&
86514          { ac_try='test -s conftest.$ac_objext'
86515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86516   (eval $ac_try) 2>&5
86517   ac_status=$?
86518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86519   (exit $ac_status); }; }; then
86520   ac_header_compiler=yes
86521 else
86522   echo "$as_me: failed program was:" >&5
86523 sed 's/^/| /' conftest.$ac_ext >&5
86524
86525 ac_header_compiler=no
86526 fi
86527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86528 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86529 echo "${ECHO_T}$ac_header_compiler" >&6
86530
86531 # Is the header present?
86532 echo "$as_me:$LINENO: checking iconv.h presence" >&5
86533 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
86534 cat >conftest.$ac_ext <<_ACEOF
86535 /* confdefs.h.  */
86536 _ACEOF
86537 cat confdefs.h >>conftest.$ac_ext
86538 cat >>conftest.$ac_ext <<_ACEOF
86539 /* end confdefs.h.  */
86540 #include <iconv.h>
86541 _ACEOF
86542 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86543   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86544   ac_status=$?
86545   grep -v '^ *+' conftest.er1 >conftest.err
86546   rm -f conftest.er1
86547   cat conftest.err >&5
86548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86549   (exit $ac_status); } >/dev/null; then
86550   if test -s conftest.err; then
86551     ac_cpp_err=$ac_c_preproc_warn_flag
86552     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86553   else
86554     ac_cpp_err=
86555   fi
86556 else
86557   ac_cpp_err=yes
86558 fi
86559 if test -z "$ac_cpp_err"; then
86560   ac_header_preproc=yes
86561 else
86562   echo "$as_me: failed program was:" >&5
86563 sed 's/^/| /' conftest.$ac_ext >&5
86564
86565   ac_header_preproc=no
86566 fi
86567 rm -f conftest.err conftest.$ac_ext
86568 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86569 echo "${ECHO_T}$ac_header_preproc" >&6
86570
86571 # So?  What about this header?
86572 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86573   yes:no: )
86574     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
86575 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86576     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
86577 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
86578     ac_header_preproc=yes
86579     ;;
86580   no:yes:* )
86581     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
86582 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
86583     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
86584 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
86585     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
86586 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
86587     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
86588 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
86589     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
86590 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
86591     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
86592 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
86593     (
86594       cat <<\_ASBOX
86595 ## ----------------------------------------- ##
86596 ## Report this to the package-unused lists.  ##
86597 ## ----------------------------------------- ##
86598 _ASBOX
86599     ) |
86600       sed "s/^/$as_me: WARNING:     /" >&2
86601     ;;
86602 esac
86603 echo "$as_me:$LINENO: checking for iconv.h" >&5
86604 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86605 if test "${ac_cv_header_iconv_h+set}" = set; then
86606   echo $ECHO_N "(cached) $ECHO_C" >&6
86607 else
86608   ac_cv_header_iconv_h=$ac_header_preproc
86609 fi
86610 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86611 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86612
86613 fi
86614 if test $ac_cv_header_iconv_h = yes; then
86615   ac_has_iconv_h=yes
86616 else
86617   ac_has_iconv_h=no
86618 fi
86619
86620
86621     if test "${ac_cv_header_langinfo_h+set}" = set; then
86622   echo "$as_me:$LINENO: checking for langinfo.h" >&5
86623 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86624 if test "${ac_cv_header_langinfo_h+set}" = set; then
86625   echo $ECHO_N "(cached) $ECHO_C" >&6
86626 fi
86627 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86628 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86629 else
86630   # Is the header compilable?
86631 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
86632 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
86633 cat >conftest.$ac_ext <<_ACEOF
86634 /* confdefs.h.  */
86635 _ACEOF
86636 cat confdefs.h >>conftest.$ac_ext
86637 cat >>conftest.$ac_ext <<_ACEOF
86638 /* end confdefs.h.  */
86639 $ac_includes_default
86640 #include <langinfo.h>
86641 _ACEOF
86642 rm -f conftest.$ac_objext
86643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86644   (eval $ac_compile) 2>conftest.er1
86645   ac_status=$?
86646   grep -v '^ *+' conftest.er1 >conftest.err
86647   rm -f conftest.er1
86648   cat conftest.err >&5
86649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86650   (exit $ac_status); } &&
86651          { ac_try='test -z "$ac_c_werror_flag"
86652                          || test ! -s conftest.err'
86653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86654   (eval $ac_try) 2>&5
86655   ac_status=$?
86656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86657   (exit $ac_status); }; } &&
86658          { ac_try='test -s conftest.$ac_objext'
86659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86660   (eval $ac_try) 2>&5
86661   ac_status=$?
86662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86663   (exit $ac_status); }; }; then
86664   ac_header_compiler=yes
86665 else
86666   echo "$as_me: failed program was:" >&5
86667 sed 's/^/| /' conftest.$ac_ext >&5
86668
86669 ac_header_compiler=no
86670 fi
86671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86672 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86673 echo "${ECHO_T}$ac_header_compiler" >&6
86674
86675 # Is the header present?
86676 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
86677 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
86678 cat >conftest.$ac_ext <<_ACEOF
86679 /* confdefs.h.  */
86680 _ACEOF
86681 cat confdefs.h >>conftest.$ac_ext
86682 cat >>conftest.$ac_ext <<_ACEOF
86683 /* end confdefs.h.  */
86684 #include <langinfo.h>
86685 _ACEOF
86686 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86687   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86688   ac_status=$?
86689   grep -v '^ *+' conftest.er1 >conftest.err
86690   rm -f conftest.er1
86691   cat conftest.err >&5
86692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86693   (exit $ac_status); } >/dev/null; then
86694   if test -s conftest.err; then
86695     ac_cpp_err=$ac_c_preproc_warn_flag
86696     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86697   else
86698     ac_cpp_err=
86699   fi
86700 else
86701   ac_cpp_err=yes
86702 fi
86703 if test -z "$ac_cpp_err"; then
86704   ac_header_preproc=yes
86705 else
86706   echo "$as_me: failed program was:" >&5
86707 sed 's/^/| /' conftest.$ac_ext >&5
86708
86709   ac_header_preproc=no
86710 fi
86711 rm -f conftest.err conftest.$ac_ext
86712 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86713 echo "${ECHO_T}$ac_header_preproc" >&6
86714
86715 # So?  What about this header?
86716 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86717   yes:no: )
86718     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
86719 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86720     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
86721 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
86722     ac_header_preproc=yes
86723     ;;
86724   no:yes:* )
86725     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
86726 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
86727     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
86728 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
86729     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
86730 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
86731     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
86732 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
86733     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
86734 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
86735     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
86736 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
86737     (
86738       cat <<\_ASBOX
86739 ## ----------------------------------------- ##
86740 ## Report this to the package-unused lists.  ##
86741 ## ----------------------------------------- ##
86742 _ASBOX
86743     ) |
86744       sed "s/^/$as_me: WARNING:     /" >&2
86745     ;;
86746 esac
86747 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86748 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86749 if test "${ac_cv_header_langinfo_h+set}" = set; then
86750   echo $ECHO_N "(cached) $ECHO_C" >&6
86751 else
86752   ac_cv_header_langinfo_h=$ac_header_preproc
86753 fi
86754 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86755 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86756
86757 fi
86758 if test $ac_cv_header_langinfo_h = yes; then
86759   ac_has_langinfo_h=yes
86760 else
86761   ac_has_langinfo_h=no
86762 fi
86763
86764
86765
86766     # Check for existence of libiconv.a providing XPG2 wchar_t support.
86767     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
86768 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
86769 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
86770   echo $ECHO_N "(cached) $ECHO_C" >&6
86771 else
86772   ac_check_lib_save_LIBS=$LIBS
86773 LIBS="-liconv  $LIBS"
86774 if test x$gcc_no_link = xyes; then
86775   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86777    { (exit 1); exit 1; }; }
86778 fi
86779 cat >conftest.$ac_ext <<_ACEOF
86780 /* confdefs.h.  */
86781 _ACEOF
86782 cat confdefs.h >>conftest.$ac_ext
86783 cat >>conftest.$ac_ext <<_ACEOF
86784 /* end confdefs.h.  */
86785
86786 /* Override any gcc2 internal prototype to avoid an error.  */
86787 #ifdef __cplusplus
86788 extern "C"
86789 #endif
86790 /* We use char because int might match the return type of a gcc2
86791    builtin and then its argument prototype would still apply.  */
86792 char iconv ();
86793 int
86794 main ()
86795 {
86796 iconv ();
86797   ;
86798   return 0;
86799 }
86800 _ACEOF
86801 rm -f conftest.$ac_objext conftest$ac_exeext
86802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86803   (eval $ac_link) 2>conftest.er1
86804   ac_status=$?
86805   grep -v '^ *+' conftest.er1 >conftest.err
86806   rm -f conftest.er1
86807   cat conftest.err >&5
86808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86809   (exit $ac_status); } &&
86810          { ac_try='test -z "$ac_c_werror_flag"
86811                          || test ! -s conftest.err'
86812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86813   (eval $ac_try) 2>&5
86814   ac_status=$?
86815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86816   (exit $ac_status); }; } &&
86817          { ac_try='test -s conftest$ac_exeext'
86818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86819   (eval $ac_try) 2>&5
86820   ac_status=$?
86821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86822   (exit $ac_status); }; }; then
86823   ac_cv_lib_iconv_iconv=yes
86824 else
86825   echo "$as_me: failed program was:" >&5
86826 sed 's/^/| /' conftest.$ac_ext >&5
86827
86828 ac_cv_lib_iconv_iconv=no
86829 fi
86830 rm -f conftest.err conftest.$ac_objext \
86831       conftest$ac_exeext conftest.$ac_ext
86832 LIBS=$ac_check_lib_save_LIBS
86833 fi
86834 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
86835 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
86836 if test $ac_cv_lib_iconv_iconv = yes; then
86837   LIBICONV="-liconv"
86838 fi
86839
86840     ac_save_LIBS="$LIBS"
86841     LIBS="$LIBS $LIBICONV"
86842
86843
86844
86845
86846
86847
86848 for ac_func in iconv_open iconv_close iconv nl_langinfo
86849 do
86850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86851 echo "$as_me:$LINENO: checking for $ac_func" >&5
86852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86853 if eval "test \"\${$as_ac_var+set}\" = set"; then
86854   echo $ECHO_N "(cached) $ECHO_C" >&6
86855 else
86856   if test x$gcc_no_link = xyes; then
86857   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86859    { (exit 1); exit 1; }; }
86860 fi
86861 cat >conftest.$ac_ext <<_ACEOF
86862 /* confdefs.h.  */
86863 _ACEOF
86864 cat confdefs.h >>conftest.$ac_ext
86865 cat >>conftest.$ac_ext <<_ACEOF
86866 /* end confdefs.h.  */
86867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86868    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86869 #define $ac_func innocuous_$ac_func
86870
86871 /* System header to define __stub macros and hopefully few prototypes,
86872     which can conflict with char $ac_func (); below.
86873     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86874     <limits.h> exists even on freestanding compilers.  */
86875
86876 #ifdef __STDC__
86877 # include <limits.h>
86878 #else
86879 # include <assert.h>
86880 #endif
86881
86882 #undef $ac_func
86883
86884 /* Override any gcc2 internal prototype to avoid an error.  */
86885 #ifdef __cplusplus
86886 extern "C"
86887 {
86888 #endif
86889 /* We use char because int might match the return type of a gcc2
86890    builtin and then its argument prototype would still apply.  */
86891 char $ac_func ();
86892 /* The GNU C library defines this for functions which it implements
86893     to always fail with ENOSYS.  Some functions are actually named
86894     something starting with __ and the normal name is an alias.  */
86895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86896 choke me
86897 #else
86898 char (*f) () = $ac_func;
86899 #endif
86900 #ifdef __cplusplus
86901 }
86902 #endif
86903
86904 int
86905 main ()
86906 {
86907 return f != $ac_func;
86908   ;
86909   return 0;
86910 }
86911 _ACEOF
86912 rm -f conftest.$ac_objext conftest$ac_exeext
86913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86914   (eval $ac_link) 2>conftest.er1
86915   ac_status=$?
86916   grep -v '^ *+' conftest.er1 >conftest.err
86917   rm -f conftest.er1
86918   cat conftest.err >&5
86919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86920   (exit $ac_status); } &&
86921          { ac_try='test -z "$ac_c_werror_flag"
86922                          || test ! -s conftest.err'
86923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86924   (eval $ac_try) 2>&5
86925   ac_status=$?
86926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86927   (exit $ac_status); }; } &&
86928          { ac_try='test -s conftest$ac_exeext'
86929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86930   (eval $ac_try) 2>&5
86931   ac_status=$?
86932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86933   (exit $ac_status); }; }; then
86934   eval "$as_ac_var=yes"
86935 else
86936   echo "$as_me: failed program was:" >&5
86937 sed 's/^/| /' conftest.$ac_ext >&5
86938
86939 eval "$as_ac_var=no"
86940 fi
86941 rm -f conftest.err conftest.$ac_objext \
86942       conftest$ac_exeext conftest.$ac_ext
86943 fi
86944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86946 if test `eval echo '${'$as_ac_var'}'` = yes; then
86947   cat >>confdefs.h <<_ACEOF
86948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86949 _ACEOF
86950  ac_XPG2funcs=yes
86951 else
86952   ac_XPG2funcs=no
86953 fi
86954 done
86955
86956
86957     LIBS="$ac_save_LIBS"
86958
86959     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
86960 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
86961     if test x"$ac_has_iconv_h" = xyes &&
86962        test x"$ac_has_langinfo_h" = xyes &&
86963        test x"$ac_XPG2funcs" = xyes;
86964     then
86965       ac_XPG2_wchar_t=yes
86966     else
86967       ac_XPG2_wchar_t=no
86968     fi
86969     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
86970 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
86971
86972     # At the moment, only enable wchar_t specializations if all the
86973     # above support is present.
86974     if test x"$ac_isoC99_wchar_t" = xyes &&
86975        test x"$ac_XPG2_wchar_t" = xyes;
86976     then
86977       cat >>confdefs.h <<\_ACEOF
86978 #define _GLIBCXX_USE_WCHAR_T 1
86979 _ACEOF
86980
86981       enable_wchar_t=yes
86982     fi
86983   fi
86984   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
86985 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
86986   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
86987 echo "${ECHO_T}$enable_wchar_t" >&6
86988
86989     cat >>confdefs.h <<\_ACEOF
86990 #define HAVE_COPYSIGN 1
86991 _ACEOF
86992
86993     cat >>confdefs.h <<\_ACEOF
86994 #define HAVE_COPYSIGNF 1
86995 _ACEOF
86996
86997     cat >>confdefs.h <<\_ACEOF
86998 #define HAVE_FINITEF 1
86999 _ACEOF
87000
87001     cat >>confdefs.h <<\_ACEOF
87002 #define HAVE_FINITE 1
87003 _ACEOF
87004
87005     cat >>confdefs.h <<\_ACEOF
87006 #define HAVE_FREXPF 1
87007 _ACEOF
87008
87009     cat >>confdefs.h <<\_ACEOF
87010 #define HAVE_HYPOTF 1
87011 _ACEOF
87012
87013     cat >>confdefs.h <<\_ACEOF
87014 #define HAVE_ISINF 1
87015 _ACEOF
87016
87017     cat >>confdefs.h <<\_ACEOF
87018 #define HAVE_ISINFF 1
87019 _ACEOF
87020
87021     cat >>confdefs.h <<\_ACEOF
87022 #define HAVE_ISNAN 1
87023 _ACEOF
87024
87025     cat >>confdefs.h <<\_ACEOF
87026 #define HAVE_ISNANF 1
87027 _ACEOF
87028
87029     if test x"long_double_math_on_this_cpu" = x"yes"; then
87030       cat >>confdefs.h <<\_ACEOF
87031 #define HAVE_FINITEL 1
87032 _ACEOF
87033
87034       cat >>confdefs.h <<\_ACEOF
87035 #define HAVE_ISINFL 1
87036 _ACEOF
87037
87038       cat >>confdefs.h <<\_ACEOF
87039 #define HAVE_ISNANL 1
87040 _ACEOF
87041
87042     fi
87043     ;;
87044   *-qnx6.1* | *-qnx6.2*)
87045     SECTION_FLAGS='-ffunction-sections -fdata-sections'
87046
87047
87048   # If we're not using GNU ld, then there's no point in even trying these
87049   # tests.  Check for that first.  We should have already tested for gld
87050   # by now (in libtool), but require it now just to be safe...
87051   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87052   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87053
87054
87055
87056   # The name set by libtool depends on the version of libtool.  Shame on us
87057   # for depending on an impl detail, but c'est la vie.  Older versions used
87058   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87059   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87060   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
87061   # set (hence we're using an older libtool), then set it.
87062   if test x${with_gnu_ld+set} != xset; then
87063     if test x${ac_cv_prog_gnu_ld+set} != xset; then
87064       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
87065       with_gnu_ld=no
87066     else
87067       with_gnu_ld=$ac_cv_prog_gnu_ld
87068     fi
87069   fi
87070
87071   # Start by getting the version number.  I think the libtool test already
87072   # does some of this, but throws away the result.
87073
87074   ldver=`$LD --version 2>/dev/null | head -1 | \
87075          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
87076
87077   glibcxx_gnu_ld_version=`echo $ldver | \
87078          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87079
87080   # Set --gc-sections.
87081   if test "$with_gnu_ld" = "notbroken"; then
87082     # GNU ld it is!  Joy and bunny rabbits!
87083
87084     # All these tests are for C++; save the language and the compiler flags.
87085     # Need to do this so that g++ won't try to link in libstdc++
87086     ac_test_CFLAGS="${CFLAGS+set}"
87087     ac_save_CFLAGS="$CFLAGS"
87088     CFLAGS='-x c++  -Wl,--gc-sections'
87089
87090     # Check for -Wl,--gc-sections
87091     # XXX This test is broken at the moment, as symbols required for linking
87092     # are now in libsupc++ (not built yet).  In addition, this test has
87093     # cored on solaris in the past.  In addition, --gc-sections doesn't
87094     # really work at the moment (keeps on discarding used sections, first
87095     # .eh_frame and now some of the glibc sections for iconv).
87096     # Bzzzzt.  Thanks for playing, maybe next time.
87097     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87098 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87099     if test "$cross_compiling" = yes; then
87100   ac_sectionLDflags=yes
87101 else
87102   cat >conftest.$ac_ext <<_ACEOF
87103 /* confdefs.h.  */
87104 _ACEOF
87105 cat confdefs.h >>conftest.$ac_ext
87106 cat >>conftest.$ac_ext <<_ACEOF
87107 /* end confdefs.h.  */
87108
87109      int main(void)
87110      {
87111        try { throw 1; }
87112        catch (...) { };
87113        return 0;
87114      }
87115
87116 _ACEOF
87117 rm -f conftest$ac_exeext
87118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87119   (eval $ac_link) 2>&5
87120   ac_status=$?
87121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87122   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
87123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87124   (eval $ac_try) 2>&5
87125   ac_status=$?
87126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87127   (exit $ac_status); }; }; then
87128   ac_sectionLDflags=yes
87129 else
87130   echo "$as_me: program exited with status $ac_status" >&5
87131 echo "$as_me: failed program was:" >&5
87132 sed 's/^/| /' conftest.$ac_ext >&5
87133
87134 ( exit $ac_status )
87135 ac_sectionLDflags=no
87136 fi
87137 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
87138 fi
87139     if test "$ac_test_CFLAGS" = set; then
87140       CFLAGS="$ac_save_CFLAGS"
87141     else
87142       # this is the suspicious part
87143       CFLAGS=''
87144     fi
87145     if test "$ac_sectionLDflags" = "yes"; then
87146       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87147     fi
87148     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
87149 echo "${ECHO_T}$ac_sectionLDflags" >&6
87150   fi
87151
87152   # Set linker optimization flags.
87153   if test x"$with_gnu_ld" = x"yes"; then
87154     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87155   fi
87156
87157
87158
87159
87160
87161
87162 echo "$as_me:$LINENO: checking for main in -lm" >&5
87163 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
87164 if test "${ac_cv_lib_m_main+set}" = set; then
87165   echo $ECHO_N "(cached) $ECHO_C" >&6
87166 else
87167   ac_check_lib_save_LIBS=$LIBS
87168 LIBS="-lm  $LIBS"
87169 if test x$gcc_no_link = xyes; then
87170   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87172    { (exit 1); exit 1; }; }
87173 fi
87174 cat >conftest.$ac_ext <<_ACEOF
87175 /* confdefs.h.  */
87176 _ACEOF
87177 cat confdefs.h >>conftest.$ac_ext
87178 cat >>conftest.$ac_ext <<_ACEOF
87179 /* end confdefs.h.  */
87180
87181
87182 int
87183 main ()
87184 {
87185 main ();
87186   ;
87187   return 0;
87188 }
87189 _ACEOF
87190 rm -f conftest.$ac_objext conftest$ac_exeext
87191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87192   (eval $ac_link) 2>conftest.er1
87193   ac_status=$?
87194   grep -v '^ *+' conftest.er1 >conftest.err
87195   rm -f conftest.er1
87196   cat conftest.err >&5
87197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87198   (exit $ac_status); } &&
87199          { ac_try='test -z "$ac_c_werror_flag"
87200                          || test ! -s conftest.err'
87201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87202   (eval $ac_try) 2>&5
87203   ac_status=$?
87204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87205   (exit $ac_status); }; } &&
87206          { ac_try='test -s conftest$ac_exeext'
87207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87208   (eval $ac_try) 2>&5
87209   ac_status=$?
87210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87211   (exit $ac_status); }; }; then
87212   ac_cv_lib_m_main=yes
87213 else
87214   echo "$as_me: failed program was:" >&5
87215 sed 's/^/| /' conftest.$ac_ext >&5
87216
87217 ac_cv_lib_m_main=no
87218 fi
87219 rm -f conftest.err conftest.$ac_objext \
87220       conftest$ac_exeext conftest.$ac_ext
87221 LIBS=$ac_check_lib_save_LIBS
87222 fi
87223 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
87224 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
87225 if test $ac_cv_lib_m_main = yes; then
87226   cat >>confdefs.h <<_ACEOF
87227 #define HAVE_LIBM 1
87228 _ACEOF
87229
87230   LIBS="-lm $LIBS"
87231
87232 fi
87233
87234
87235 for ac_func in copysignf
87236 do
87237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87238 echo "$as_me:$LINENO: checking for $ac_func" >&5
87239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87240 if eval "test \"\${$as_ac_var+set}\" = set"; then
87241   echo $ECHO_N "(cached) $ECHO_C" >&6
87242 else
87243   if test x$gcc_no_link = xyes; then
87244   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87246    { (exit 1); exit 1; }; }
87247 fi
87248 cat >conftest.$ac_ext <<_ACEOF
87249 /* confdefs.h.  */
87250 _ACEOF
87251 cat confdefs.h >>conftest.$ac_ext
87252 cat >>conftest.$ac_ext <<_ACEOF
87253 /* end confdefs.h.  */
87254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87255    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87256 #define $ac_func innocuous_$ac_func
87257
87258 /* System header to define __stub macros and hopefully few prototypes,
87259     which can conflict with char $ac_func (); below.
87260     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87261     <limits.h> exists even on freestanding compilers.  */
87262
87263 #ifdef __STDC__
87264 # include <limits.h>
87265 #else
87266 # include <assert.h>
87267 #endif
87268
87269 #undef $ac_func
87270
87271 /* Override any gcc2 internal prototype to avoid an error.  */
87272 #ifdef __cplusplus
87273 extern "C"
87274 {
87275 #endif
87276 /* We use char because int might match the return type of a gcc2
87277    builtin and then its argument prototype would still apply.  */
87278 char $ac_func ();
87279 /* The GNU C library defines this for functions which it implements
87280     to always fail with ENOSYS.  Some functions are actually named
87281     something starting with __ and the normal name is an alias.  */
87282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87283 choke me
87284 #else
87285 char (*f) () = $ac_func;
87286 #endif
87287 #ifdef __cplusplus
87288 }
87289 #endif
87290
87291 int
87292 main ()
87293 {
87294 return f != $ac_func;
87295   ;
87296   return 0;
87297 }
87298 _ACEOF
87299 rm -f conftest.$ac_objext conftest$ac_exeext
87300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87301   (eval $ac_link) 2>conftest.er1
87302   ac_status=$?
87303   grep -v '^ *+' conftest.er1 >conftest.err
87304   rm -f conftest.er1
87305   cat conftest.err >&5
87306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87307   (exit $ac_status); } &&
87308          { ac_try='test -z "$ac_c_werror_flag"
87309                          || test ! -s conftest.err'
87310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87311   (eval $ac_try) 2>&5
87312   ac_status=$?
87313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87314   (exit $ac_status); }; } &&
87315          { ac_try='test -s conftest$ac_exeext'
87316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87317   (eval $ac_try) 2>&5
87318   ac_status=$?
87319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87320   (exit $ac_status); }; }; then
87321   eval "$as_ac_var=yes"
87322 else
87323   echo "$as_me: failed program was:" >&5
87324 sed 's/^/| /' conftest.$ac_ext >&5
87325
87326 eval "$as_ac_var=no"
87327 fi
87328 rm -f conftest.err conftest.$ac_objext \
87329       conftest$ac_exeext conftest.$ac_ext
87330 fi
87331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87333 if test `eval echo '${'$as_ac_var'}'` = yes; then
87334   cat >>confdefs.h <<_ACEOF
87335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87336 _ACEOF
87337
87338 else
87339   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87340 fi
87341 done
87342
87343
87344
87345 for ac_func in __signbit
87346 do
87347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87348 echo "$as_me:$LINENO: checking for $ac_func" >&5
87349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87350 if eval "test \"\${$as_ac_var+set}\" = set"; then
87351   echo $ECHO_N "(cached) $ECHO_C" >&6
87352 else
87353   if test x$gcc_no_link = xyes; then
87354   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87356    { (exit 1); exit 1; }; }
87357 fi
87358 cat >conftest.$ac_ext <<_ACEOF
87359 /* confdefs.h.  */
87360 _ACEOF
87361 cat confdefs.h >>conftest.$ac_ext
87362 cat >>conftest.$ac_ext <<_ACEOF
87363 /* end confdefs.h.  */
87364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87365    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87366 #define $ac_func innocuous_$ac_func
87367
87368 /* System header to define __stub macros and hopefully few prototypes,
87369     which can conflict with char $ac_func (); below.
87370     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87371     <limits.h> exists even on freestanding compilers.  */
87372
87373 #ifdef __STDC__
87374 # include <limits.h>
87375 #else
87376 # include <assert.h>
87377 #endif
87378
87379 #undef $ac_func
87380
87381 /* Override any gcc2 internal prototype to avoid an error.  */
87382 #ifdef __cplusplus
87383 extern "C"
87384 {
87385 #endif
87386 /* We use char because int might match the return type of a gcc2
87387    builtin and then its argument prototype would still apply.  */
87388 char $ac_func ();
87389 /* The GNU C library defines this for functions which it implements
87390     to always fail with ENOSYS.  Some functions are actually named
87391     something starting with __ and the normal name is an alias.  */
87392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87393 choke me
87394 #else
87395 char (*f) () = $ac_func;
87396 #endif
87397 #ifdef __cplusplus
87398 }
87399 #endif
87400
87401 int
87402 main ()
87403 {
87404 return f != $ac_func;
87405   ;
87406   return 0;
87407 }
87408 _ACEOF
87409 rm -f conftest.$ac_objext conftest$ac_exeext
87410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87411   (eval $ac_link) 2>conftest.er1
87412   ac_status=$?
87413   grep -v '^ *+' conftest.er1 >conftest.err
87414   rm -f conftest.er1
87415   cat conftest.err >&5
87416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87417   (exit $ac_status); } &&
87418          { ac_try='test -z "$ac_c_werror_flag"
87419                          || test ! -s conftest.err'
87420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87421   (eval $ac_try) 2>&5
87422   ac_status=$?
87423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87424   (exit $ac_status); }; } &&
87425          { ac_try='test -s conftest$ac_exeext'
87426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87427   (eval $ac_try) 2>&5
87428   ac_status=$?
87429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87430   (exit $ac_status); }; }; then
87431   eval "$as_ac_var=yes"
87432 else
87433   echo "$as_me: failed program was:" >&5
87434 sed 's/^/| /' conftest.$ac_ext >&5
87435
87436 eval "$as_ac_var=no"
87437 fi
87438 rm -f conftest.err conftest.$ac_objext \
87439       conftest$ac_exeext conftest.$ac_ext
87440 fi
87441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87443 if test `eval echo '${'$as_ac_var'}'` = yes; then
87444   cat >>confdefs.h <<_ACEOF
87445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87446 _ACEOF
87447
87448 else
87449   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87450 fi
87451 done
87452
87453
87454
87455 for ac_func in __signbitf
87456 do
87457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87458 echo "$as_me:$LINENO: checking for $ac_func" >&5
87459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87460 if eval "test \"\${$as_ac_var+set}\" = set"; then
87461   echo $ECHO_N "(cached) $ECHO_C" >&6
87462 else
87463   if test x$gcc_no_link = xyes; then
87464   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87466    { (exit 1); exit 1; }; }
87467 fi
87468 cat >conftest.$ac_ext <<_ACEOF
87469 /* confdefs.h.  */
87470 _ACEOF
87471 cat confdefs.h >>conftest.$ac_ext
87472 cat >>conftest.$ac_ext <<_ACEOF
87473 /* end confdefs.h.  */
87474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87475    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87476 #define $ac_func innocuous_$ac_func
87477
87478 /* System header to define __stub macros and hopefully few prototypes,
87479     which can conflict with char $ac_func (); below.
87480     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87481     <limits.h> exists even on freestanding compilers.  */
87482
87483 #ifdef __STDC__
87484 # include <limits.h>
87485 #else
87486 # include <assert.h>
87487 #endif
87488
87489 #undef $ac_func
87490
87491 /* Override any gcc2 internal prototype to avoid an error.  */
87492 #ifdef __cplusplus
87493 extern "C"
87494 {
87495 #endif
87496 /* We use char because int might match the return type of a gcc2
87497    builtin and then its argument prototype would still apply.  */
87498 char $ac_func ();
87499 /* The GNU C library defines this for functions which it implements
87500     to always fail with ENOSYS.  Some functions are actually named
87501     something starting with __ and the normal name is an alias.  */
87502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87503 choke me
87504 #else
87505 char (*f) () = $ac_func;
87506 #endif
87507 #ifdef __cplusplus
87508 }
87509 #endif
87510
87511 int
87512 main ()
87513 {
87514 return f != $ac_func;
87515   ;
87516   return 0;
87517 }
87518 _ACEOF
87519 rm -f conftest.$ac_objext conftest$ac_exeext
87520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87521   (eval $ac_link) 2>conftest.er1
87522   ac_status=$?
87523   grep -v '^ *+' conftest.er1 >conftest.err
87524   rm -f conftest.er1
87525   cat conftest.err >&5
87526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87527   (exit $ac_status); } &&
87528          { ac_try='test -z "$ac_c_werror_flag"
87529                          || test ! -s conftest.err'
87530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87531   (eval $ac_try) 2>&5
87532   ac_status=$?
87533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87534   (exit $ac_status); }; } &&
87535          { ac_try='test -s conftest$ac_exeext'
87536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87537   (eval $ac_try) 2>&5
87538   ac_status=$?
87539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87540   (exit $ac_status); }; }; then
87541   eval "$as_ac_var=yes"
87542 else
87543   echo "$as_me: failed program was:" >&5
87544 sed 's/^/| /' conftest.$ac_ext >&5
87545
87546 eval "$as_ac_var=no"
87547 fi
87548 rm -f conftest.err conftest.$ac_objext \
87549       conftest$ac_exeext conftest.$ac_ext
87550 fi
87551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87553 if test `eval echo '${'$as_ac_var'}'` = yes; then
87554   cat >>confdefs.h <<_ACEOF
87555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87556 _ACEOF
87557
87558 else
87559   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87560 fi
87561 done
87562
87563
87564           if test x$ac_cv_func_copysignl = x"yes"; then
87565
87566 for ac_func in __signbitl
87567 do
87568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87569 echo "$as_me:$LINENO: checking for $ac_func" >&5
87570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87571 if eval "test \"\${$as_ac_var+set}\" = set"; then
87572   echo $ECHO_N "(cached) $ECHO_C" >&6
87573 else
87574   if test x$gcc_no_link = xyes; then
87575   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87577    { (exit 1); exit 1; }; }
87578 fi
87579 cat >conftest.$ac_ext <<_ACEOF
87580 /* confdefs.h.  */
87581 _ACEOF
87582 cat confdefs.h >>conftest.$ac_ext
87583 cat >>conftest.$ac_ext <<_ACEOF
87584 /* end confdefs.h.  */
87585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87586    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87587 #define $ac_func innocuous_$ac_func
87588
87589 /* System header to define __stub macros and hopefully few prototypes,
87590     which can conflict with char $ac_func (); below.
87591     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87592     <limits.h> exists even on freestanding compilers.  */
87593
87594 #ifdef __STDC__
87595 # include <limits.h>
87596 #else
87597 # include <assert.h>
87598 #endif
87599
87600 #undef $ac_func
87601
87602 /* Override any gcc2 internal prototype to avoid an error.  */
87603 #ifdef __cplusplus
87604 extern "C"
87605 {
87606 #endif
87607 /* We use char because int might match the return type of a gcc2
87608    builtin and then its argument prototype would still apply.  */
87609 char $ac_func ();
87610 /* The GNU C library defines this for functions which it implements
87611     to always fail with ENOSYS.  Some functions are actually named
87612     something starting with __ and the normal name is an alias.  */
87613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87614 choke me
87615 #else
87616 char (*f) () = $ac_func;
87617 #endif
87618 #ifdef __cplusplus
87619 }
87620 #endif
87621
87622 int
87623 main ()
87624 {
87625 return f != $ac_func;
87626   ;
87627   return 0;
87628 }
87629 _ACEOF
87630 rm -f conftest.$ac_objext conftest$ac_exeext
87631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87632   (eval $ac_link) 2>conftest.er1
87633   ac_status=$?
87634   grep -v '^ *+' conftest.er1 >conftest.err
87635   rm -f conftest.er1
87636   cat conftest.err >&5
87637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87638   (exit $ac_status); } &&
87639          { ac_try='test -z "$ac_c_werror_flag"
87640                          || test ! -s conftest.err'
87641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87642   (eval $ac_try) 2>&5
87643   ac_status=$?
87644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87645   (exit $ac_status); }; } &&
87646          { ac_try='test -s conftest$ac_exeext'
87647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87648   (eval $ac_try) 2>&5
87649   ac_status=$?
87650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87651   (exit $ac_status); }; }; then
87652   eval "$as_ac_var=yes"
87653 else
87654   echo "$as_me: failed program was:" >&5
87655 sed 's/^/| /' conftest.$ac_ext >&5
87656
87657 eval "$as_ac_var=no"
87658 fi
87659 rm -f conftest.err conftest.$ac_objext \
87660       conftest$ac_exeext conftest.$ac_ext
87661 fi
87662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87664 if test `eval echo '${'$as_ac_var'}'` = yes; then
87665   cat >>confdefs.h <<_ACEOF
87666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87667 _ACEOF
87668
87669 else
87670   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87671 fi
87672 done
87673
87674   fi
87675
87676   # Used in libmath/Makefile.am.
87677   if test -n "$LIBMATHOBJS"; then
87678     need_libmath=yes
87679   fi
87680
87681
87682
87683   # Test wchar.h for mbstate_t, which is needed for char_traits and
87684   # others even if wchar_t support is not on.
87685   echo "$as_me:$LINENO: checking for mbstate_t" >&5
87686 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
87687   cat >conftest.$ac_ext <<_ACEOF
87688 /* confdefs.h.  */
87689 _ACEOF
87690 cat confdefs.h >>conftest.$ac_ext
87691 cat >>conftest.$ac_ext <<_ACEOF
87692 /* end confdefs.h.  */
87693 #include <wchar.h>
87694 int
87695 main ()
87696 {
87697 mbstate_t teststate;
87698   ;
87699   return 0;
87700 }
87701 _ACEOF
87702 rm -f conftest.$ac_objext
87703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87704   (eval $ac_compile) 2>conftest.er1
87705   ac_status=$?
87706   grep -v '^ *+' conftest.er1 >conftest.err
87707   rm -f conftest.er1
87708   cat conftest.err >&5
87709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87710   (exit $ac_status); } &&
87711          { ac_try='test -z "$ac_c_werror_flag"
87712                          || test ! -s conftest.err'
87713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87714   (eval $ac_try) 2>&5
87715   ac_status=$?
87716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87717   (exit $ac_status); }; } &&
87718          { ac_try='test -s conftest.$ac_objext'
87719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87720   (eval $ac_try) 2>&5
87721   ac_status=$?
87722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87723   (exit $ac_status); }; }; then
87724   have_mbstate_t=yes
87725 else
87726   echo "$as_me: failed program was:" >&5
87727 sed 's/^/| /' conftest.$ac_ext >&5
87728
87729 have_mbstate_t=no
87730 fi
87731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87732   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
87733 echo "${ECHO_T}$have_mbstate_t" >&6
87734   if test x"$have_mbstate_t" = xyes; then
87735     cat >>confdefs.h <<\_ACEOF
87736 #define HAVE_MBSTATE_T 1
87737 _ACEOF
87738
87739   fi
87740
87741   # Sanity check for existence of ISO C99 headers for extended encoding.
87742
87743 for ac_header in wchar.h
87744 do
87745 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87746 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87747   echo "$as_me:$LINENO: checking for $ac_header" >&5
87748 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87750   echo $ECHO_N "(cached) $ECHO_C" >&6
87751 fi
87752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87753 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87754 else
87755   # Is the header compilable?
87756 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87757 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87758 cat >conftest.$ac_ext <<_ACEOF
87759 /* confdefs.h.  */
87760 _ACEOF
87761 cat confdefs.h >>conftest.$ac_ext
87762 cat >>conftest.$ac_ext <<_ACEOF
87763 /* end confdefs.h.  */
87764 $ac_includes_default
87765 #include <$ac_header>
87766 _ACEOF
87767 rm -f conftest.$ac_objext
87768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87769   (eval $ac_compile) 2>conftest.er1
87770   ac_status=$?
87771   grep -v '^ *+' conftest.er1 >conftest.err
87772   rm -f conftest.er1
87773   cat conftest.err >&5
87774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87775   (exit $ac_status); } &&
87776          { ac_try='test -z "$ac_c_werror_flag"
87777                          || test ! -s conftest.err'
87778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87779   (eval $ac_try) 2>&5
87780   ac_status=$?
87781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87782   (exit $ac_status); }; } &&
87783          { ac_try='test -s conftest.$ac_objext'
87784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87785   (eval $ac_try) 2>&5
87786   ac_status=$?
87787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87788   (exit $ac_status); }; }; then
87789   ac_header_compiler=yes
87790 else
87791   echo "$as_me: failed program was:" >&5
87792 sed 's/^/| /' conftest.$ac_ext >&5
87793
87794 ac_header_compiler=no
87795 fi
87796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87797 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87798 echo "${ECHO_T}$ac_header_compiler" >&6
87799
87800 # Is the header present?
87801 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87802 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87803 cat >conftest.$ac_ext <<_ACEOF
87804 /* confdefs.h.  */
87805 _ACEOF
87806 cat confdefs.h >>conftest.$ac_ext
87807 cat >>conftest.$ac_ext <<_ACEOF
87808 /* end confdefs.h.  */
87809 #include <$ac_header>
87810 _ACEOF
87811 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87812   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87813   ac_status=$?
87814   grep -v '^ *+' conftest.er1 >conftest.err
87815   rm -f conftest.er1
87816   cat conftest.err >&5
87817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87818   (exit $ac_status); } >/dev/null; then
87819   if test -s conftest.err; then
87820     ac_cpp_err=$ac_c_preproc_warn_flag
87821     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87822   else
87823     ac_cpp_err=
87824   fi
87825 else
87826   ac_cpp_err=yes
87827 fi
87828 if test -z "$ac_cpp_err"; then
87829   ac_header_preproc=yes
87830 else
87831   echo "$as_me: failed program was:" >&5
87832 sed 's/^/| /' conftest.$ac_ext >&5
87833
87834   ac_header_preproc=no
87835 fi
87836 rm -f conftest.err conftest.$ac_ext
87837 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87838 echo "${ECHO_T}$ac_header_preproc" >&6
87839
87840 # So?  What about this header?
87841 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87842   yes:no: )
87843     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87844 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87845     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87846 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87847     ac_header_preproc=yes
87848     ;;
87849   no:yes:* )
87850     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87851 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87852     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
87853 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
87854     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87855 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87856     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
87857 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
87858     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87859 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87860     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87861 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87862     (
87863       cat <<\_ASBOX
87864 ## ----------------------------------------- ##
87865 ## Report this to the package-unused lists.  ##
87866 ## ----------------------------------------- ##
87867 _ASBOX
87868     ) |
87869       sed "s/^/$as_me: WARNING:     /" >&2
87870     ;;
87871 esac
87872 echo "$as_me:$LINENO: checking for $ac_header" >&5
87873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87875   echo $ECHO_N "(cached) $ECHO_C" >&6
87876 else
87877   eval "$as_ac_Header=\$ac_header_preproc"
87878 fi
87879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87880 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87881
87882 fi
87883 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87884   cat >>confdefs.h <<_ACEOF
87885 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87886 _ACEOF
87887  ac_has_wchar_h=yes
87888 else
87889   ac_has_wchar_h=no
87890 fi
87891
87892 done
87893
87894
87895 for ac_header in wctype.h
87896 do
87897 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87898 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87899   echo "$as_me:$LINENO: checking for $ac_header" >&5
87900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87902   echo $ECHO_N "(cached) $ECHO_C" >&6
87903 fi
87904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87905 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87906 else
87907   # Is the header compilable?
87908 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87909 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87910 cat >conftest.$ac_ext <<_ACEOF
87911 /* confdefs.h.  */
87912 _ACEOF
87913 cat confdefs.h >>conftest.$ac_ext
87914 cat >>conftest.$ac_ext <<_ACEOF
87915 /* end confdefs.h.  */
87916 $ac_includes_default
87917 #include <$ac_header>
87918 _ACEOF
87919 rm -f conftest.$ac_objext
87920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87921   (eval $ac_compile) 2>conftest.er1
87922   ac_status=$?
87923   grep -v '^ *+' conftest.er1 >conftest.err
87924   rm -f conftest.er1
87925   cat conftest.err >&5
87926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87927   (exit $ac_status); } &&
87928          { ac_try='test -z "$ac_c_werror_flag"
87929                          || test ! -s conftest.err'
87930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87931   (eval $ac_try) 2>&5
87932   ac_status=$?
87933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87934   (exit $ac_status); }; } &&
87935          { ac_try='test -s conftest.$ac_objext'
87936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87937   (eval $ac_try) 2>&5
87938   ac_status=$?
87939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87940   (exit $ac_status); }; }; then
87941   ac_header_compiler=yes
87942 else
87943   echo "$as_me: failed program was:" >&5
87944 sed 's/^/| /' conftest.$ac_ext >&5
87945
87946 ac_header_compiler=no
87947 fi
87948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87949 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87950 echo "${ECHO_T}$ac_header_compiler" >&6
87951
87952 # Is the header present?
87953 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87954 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87955 cat >conftest.$ac_ext <<_ACEOF
87956 /* confdefs.h.  */
87957 _ACEOF
87958 cat confdefs.h >>conftest.$ac_ext
87959 cat >>conftest.$ac_ext <<_ACEOF
87960 /* end confdefs.h.  */
87961 #include <$ac_header>
87962 _ACEOF
87963 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87964   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87965   ac_status=$?
87966   grep -v '^ *+' conftest.er1 >conftest.err
87967   rm -f conftest.er1
87968   cat conftest.err >&5
87969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87970   (exit $ac_status); } >/dev/null; then
87971   if test -s conftest.err; then
87972     ac_cpp_err=$ac_c_preproc_warn_flag
87973     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87974   else
87975     ac_cpp_err=
87976   fi
87977 else
87978   ac_cpp_err=yes
87979 fi
87980 if test -z "$ac_cpp_err"; then
87981   ac_header_preproc=yes
87982 else
87983   echo "$as_me: failed program was:" >&5
87984 sed 's/^/| /' conftest.$ac_ext >&5
87985
87986   ac_header_preproc=no
87987 fi
87988 rm -f conftest.err conftest.$ac_ext
87989 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87990 echo "${ECHO_T}$ac_header_preproc" >&6
87991
87992 # So?  What about this header?
87993 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87994   yes:no: )
87995     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87996 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87997     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87998 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87999     ac_header_preproc=yes
88000     ;;
88001   no:yes:* )
88002     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88003 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88004     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
88005 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
88006     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88007 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88008     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
88009 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
88010     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88011 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88012     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88013 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88014     (
88015       cat <<\_ASBOX
88016 ## ----------------------------------------- ##
88017 ## Report this to the package-unused lists.  ##
88018 ## ----------------------------------------- ##
88019 _ASBOX
88020     ) |
88021       sed "s/^/$as_me: WARNING:     /" >&2
88022     ;;
88023 esac
88024 echo "$as_me:$LINENO: checking for $ac_header" >&5
88025 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88026 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88027   echo $ECHO_N "(cached) $ECHO_C" >&6
88028 else
88029   eval "$as_ac_Header=\$ac_header_preproc"
88030 fi
88031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88032 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88033
88034 fi
88035 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88036   cat >>confdefs.h <<_ACEOF
88037 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88038 _ACEOF
88039  ac_has_wctype_h=yes
88040 else
88041   ac_has_wctype_h=no
88042 fi
88043
88044 done
88045
88046
88047   # Only continue checking if the ISO C99 headers exist and support is on.
88048   if test x"$ac_has_wchar_h" = xyes &&
88049      test x"$ac_has_wctype_h" = xyes &&
88050      test x"$enable_c_mbchar" != xno; then
88051
88052     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
88053     # numeric_limits can instantiate type_traits<wchar_t>
88054     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
88055 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
88056     cat >conftest.$ac_ext <<_ACEOF
88057 /* confdefs.h.  */
88058 _ACEOF
88059 cat confdefs.h >>conftest.$ac_ext
88060 cat >>conftest.$ac_ext <<_ACEOF
88061 /* end confdefs.h.  */
88062 #include <wchar.h>
88063 int
88064 main ()
88065 {
88066 int i = WCHAR_MIN; int j = WCHAR_MAX;
88067   ;
88068   return 0;
88069 }
88070 _ACEOF
88071 rm -f conftest.$ac_objext
88072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88073   (eval $ac_compile) 2>conftest.er1
88074   ac_status=$?
88075   grep -v '^ *+' conftest.er1 >conftest.err
88076   rm -f conftest.er1
88077   cat conftest.err >&5
88078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88079   (exit $ac_status); } &&
88080          { ac_try='test -z "$ac_c_werror_flag"
88081                          || test ! -s conftest.err'
88082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88083   (eval $ac_try) 2>&5
88084   ac_status=$?
88085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88086   (exit $ac_status); }; } &&
88087          { ac_try='test -s conftest.$ac_objext'
88088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88089   (eval $ac_try) 2>&5
88090   ac_status=$?
88091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88092   (exit $ac_status); }; }; then
88093   has_wchar_minmax=yes
88094 else
88095   echo "$as_me: failed program was:" >&5
88096 sed 's/^/| /' conftest.$ac_ext >&5
88097
88098 has_wchar_minmax=no
88099 fi
88100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88101     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
88102 echo "${ECHO_T}$has_wchar_minmax" >&6
88103
88104     # Test wchar.h for WEOF, which is what we use to determine whether
88105     # to specialize for char_traits<wchar_t> or not.
88106     echo "$as_me:$LINENO: checking for WEOF" >&5
88107 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
88108     cat >conftest.$ac_ext <<_ACEOF
88109 /* confdefs.h.  */
88110 _ACEOF
88111 cat confdefs.h >>conftest.$ac_ext
88112 cat >>conftest.$ac_ext <<_ACEOF
88113 /* end confdefs.h.  */
88114
88115       #include <wchar.h>
88116       #include <stddef.h>
88117 int
88118 main ()
88119 {
88120 wint_t i = WEOF;
88121   ;
88122   return 0;
88123 }
88124 _ACEOF
88125 rm -f conftest.$ac_objext
88126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88127   (eval $ac_compile) 2>conftest.er1
88128   ac_status=$?
88129   grep -v '^ *+' conftest.er1 >conftest.err
88130   rm -f conftest.er1
88131   cat conftest.err >&5
88132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88133   (exit $ac_status); } &&
88134          { ac_try='test -z "$ac_c_werror_flag"
88135                          || test ! -s conftest.err'
88136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88137   (eval $ac_try) 2>&5
88138   ac_status=$?
88139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88140   (exit $ac_status); }; } &&
88141          { ac_try='test -s conftest.$ac_objext'
88142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88143   (eval $ac_try) 2>&5
88144   ac_status=$?
88145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88146   (exit $ac_status); }; }; then
88147   has_weof=yes
88148 else
88149   echo "$as_me: failed program was:" >&5
88150 sed 's/^/| /' conftest.$ac_ext >&5
88151
88152 has_weof=no
88153 fi
88154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88155     echo "$as_me:$LINENO: result: $has_weof" >&5
88156 echo "${ECHO_T}$has_weof" >&6
88157
88158     # Tests for wide character functions used in char_traits<wchar_t>.
88159     ac_wfuncs=yes
88160
88161
88162
88163
88164
88165
88166 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
88167 do
88168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88169 echo "$as_me:$LINENO: checking for $ac_func" >&5
88170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88171 if eval "test \"\${$as_ac_var+set}\" = set"; then
88172   echo $ECHO_N "(cached) $ECHO_C" >&6
88173 else
88174   if test x$gcc_no_link = xyes; then
88175   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88177    { (exit 1); exit 1; }; }
88178 fi
88179 cat >conftest.$ac_ext <<_ACEOF
88180 /* confdefs.h.  */
88181 _ACEOF
88182 cat confdefs.h >>conftest.$ac_ext
88183 cat >>conftest.$ac_ext <<_ACEOF
88184 /* end confdefs.h.  */
88185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88186    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88187 #define $ac_func innocuous_$ac_func
88188
88189 /* System header to define __stub macros and hopefully few prototypes,
88190     which can conflict with char $ac_func (); below.
88191     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88192     <limits.h> exists even on freestanding compilers.  */
88193
88194 #ifdef __STDC__
88195 # include <limits.h>
88196 #else
88197 # include <assert.h>
88198 #endif
88199
88200 #undef $ac_func
88201
88202 /* Override any gcc2 internal prototype to avoid an error.  */
88203 #ifdef __cplusplus
88204 extern "C"
88205 {
88206 #endif
88207 /* We use char because int might match the return type of a gcc2
88208    builtin and then its argument prototype would still apply.  */
88209 char $ac_func ();
88210 /* The GNU C library defines this for functions which it implements
88211     to always fail with ENOSYS.  Some functions are actually named
88212     something starting with __ and the normal name is an alias.  */
88213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88214 choke me
88215 #else
88216 char (*f) () = $ac_func;
88217 #endif
88218 #ifdef __cplusplus
88219 }
88220 #endif
88221
88222 int
88223 main ()
88224 {
88225 return f != $ac_func;
88226   ;
88227   return 0;
88228 }
88229 _ACEOF
88230 rm -f conftest.$ac_objext conftest$ac_exeext
88231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88232   (eval $ac_link) 2>conftest.er1
88233   ac_status=$?
88234   grep -v '^ *+' conftest.er1 >conftest.err
88235   rm -f conftest.er1
88236   cat conftest.err >&5
88237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88238   (exit $ac_status); } &&
88239          { ac_try='test -z "$ac_c_werror_flag"
88240                          || test ! -s conftest.err'
88241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88242   (eval $ac_try) 2>&5
88243   ac_status=$?
88244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88245   (exit $ac_status); }; } &&
88246          { ac_try='test -s conftest$ac_exeext'
88247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88248   (eval $ac_try) 2>&5
88249   ac_status=$?
88250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88251   (exit $ac_status); }; }; then
88252   eval "$as_ac_var=yes"
88253 else
88254   echo "$as_me: failed program was:" >&5
88255 sed 's/^/| /' conftest.$ac_ext >&5
88256
88257 eval "$as_ac_var=no"
88258 fi
88259 rm -f conftest.err conftest.$ac_objext \
88260       conftest$ac_exeext conftest.$ac_ext
88261 fi
88262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88264 if test `eval echo '${'$as_ac_var'}'` = yes; then
88265   cat >>confdefs.h <<_ACEOF
88266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88267 _ACEOF
88268
88269 else
88270   ac_wfuncs=no
88271 fi
88272 done
88273
88274
88275     # Checks for names injected into std:: by the c_std headers.
88276
88277
88278
88279
88280
88281
88282
88283
88284
88285
88286
88287
88288
88289
88290
88291
88292
88293
88294
88295
88296
88297
88298
88299
88300
88301
88302
88303
88304
88305
88306
88307
88308
88309
88310
88311
88312
88313
88314
88315
88316
88317
88318
88319
88320
88321
88322 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
88323     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
88324     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
88325     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
88326     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
88327     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
88328 do
88329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88330 echo "$as_me:$LINENO: checking for $ac_func" >&5
88331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88332 if eval "test \"\${$as_ac_var+set}\" = set"; then
88333   echo $ECHO_N "(cached) $ECHO_C" >&6
88334 else
88335   if test x$gcc_no_link = xyes; then
88336   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88338    { (exit 1); exit 1; }; }
88339 fi
88340 cat >conftest.$ac_ext <<_ACEOF
88341 /* confdefs.h.  */
88342 _ACEOF
88343 cat confdefs.h >>conftest.$ac_ext
88344 cat >>conftest.$ac_ext <<_ACEOF
88345 /* end confdefs.h.  */
88346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88347    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88348 #define $ac_func innocuous_$ac_func
88349
88350 /* System header to define __stub macros and hopefully few prototypes,
88351     which can conflict with char $ac_func (); below.
88352     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88353     <limits.h> exists even on freestanding compilers.  */
88354
88355 #ifdef __STDC__
88356 # include <limits.h>
88357 #else
88358 # include <assert.h>
88359 #endif
88360
88361 #undef $ac_func
88362
88363 /* Override any gcc2 internal prototype to avoid an error.  */
88364 #ifdef __cplusplus
88365 extern "C"
88366 {
88367 #endif
88368 /* We use char because int might match the return type of a gcc2
88369    builtin and then its argument prototype would still apply.  */
88370 char $ac_func ();
88371 /* The GNU C library defines this for functions which it implements
88372     to always fail with ENOSYS.  Some functions are actually named
88373     something starting with __ and the normal name is an alias.  */
88374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88375 choke me
88376 #else
88377 char (*f) () = $ac_func;
88378 #endif
88379 #ifdef __cplusplus
88380 }
88381 #endif
88382
88383 int
88384 main ()
88385 {
88386 return f != $ac_func;
88387   ;
88388   return 0;
88389 }
88390 _ACEOF
88391 rm -f conftest.$ac_objext conftest$ac_exeext
88392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88393   (eval $ac_link) 2>conftest.er1
88394   ac_status=$?
88395   grep -v '^ *+' conftest.er1 >conftest.err
88396   rm -f conftest.er1
88397   cat conftest.err >&5
88398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88399   (exit $ac_status); } &&
88400          { ac_try='test -z "$ac_c_werror_flag"
88401                          || test ! -s conftest.err'
88402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88403   (eval $ac_try) 2>&5
88404   ac_status=$?
88405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88406   (exit $ac_status); }; } &&
88407          { ac_try='test -s conftest$ac_exeext'
88408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88409   (eval $ac_try) 2>&5
88410   ac_status=$?
88411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88412   (exit $ac_status); }; }; then
88413   eval "$as_ac_var=yes"
88414 else
88415   echo "$as_me: failed program was:" >&5
88416 sed 's/^/| /' conftest.$ac_ext >&5
88417
88418 eval "$as_ac_var=no"
88419 fi
88420 rm -f conftest.err conftest.$ac_objext \
88421       conftest$ac_exeext conftest.$ac_ext
88422 fi
88423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88425 if test `eval echo '${'$as_ac_var'}'` = yes; then
88426   cat >>confdefs.h <<_ACEOF
88427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88428 _ACEOF
88429
88430 else
88431   ac_wfuncs=no
88432 fi
88433 done
88434
88435
88436     # Checks for wide character functions that are not required
88437     # for basic wchar_t support.  Don't disable support if they are missing.
88438     # Injection of these is wrapped with guard macros.
88439
88440
88441
88442
88443
88444 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
88445 do
88446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88447 echo "$as_me:$LINENO: checking for $ac_func" >&5
88448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88449 if eval "test \"\${$as_ac_var+set}\" = set"; then
88450   echo $ECHO_N "(cached) $ECHO_C" >&6
88451 else
88452   if test x$gcc_no_link = xyes; then
88453   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88455    { (exit 1); exit 1; }; }
88456 fi
88457 cat >conftest.$ac_ext <<_ACEOF
88458 /* confdefs.h.  */
88459 _ACEOF
88460 cat confdefs.h >>conftest.$ac_ext
88461 cat >>conftest.$ac_ext <<_ACEOF
88462 /* end confdefs.h.  */
88463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88464    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88465 #define $ac_func innocuous_$ac_func
88466
88467 /* System header to define __stub macros and hopefully few prototypes,
88468     which can conflict with char $ac_func (); below.
88469     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88470     <limits.h> exists even on freestanding compilers.  */
88471
88472 #ifdef __STDC__
88473 # include <limits.h>
88474 #else
88475 # include <assert.h>
88476 #endif
88477
88478 #undef $ac_func
88479
88480 /* Override any gcc2 internal prototype to avoid an error.  */
88481 #ifdef __cplusplus
88482 extern "C"
88483 {
88484 #endif
88485 /* We use char because int might match the return type of a gcc2
88486    builtin and then its argument prototype would still apply.  */
88487 char $ac_func ();
88488 /* The GNU C library defines this for functions which it implements
88489     to always fail with ENOSYS.  Some functions are actually named
88490     something starting with __ and the normal name is an alias.  */
88491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88492 choke me
88493 #else
88494 char (*f) () = $ac_func;
88495 #endif
88496 #ifdef __cplusplus
88497 }
88498 #endif
88499
88500 int
88501 main ()
88502 {
88503 return f != $ac_func;
88504   ;
88505   return 0;
88506 }
88507 _ACEOF
88508 rm -f conftest.$ac_objext conftest$ac_exeext
88509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88510   (eval $ac_link) 2>conftest.er1
88511   ac_status=$?
88512   grep -v '^ *+' conftest.er1 >conftest.err
88513   rm -f conftest.er1
88514   cat conftest.err >&5
88515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88516   (exit $ac_status); } &&
88517          { ac_try='test -z "$ac_c_werror_flag"
88518                          || test ! -s conftest.err'
88519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88520   (eval $ac_try) 2>&5
88521   ac_status=$?
88522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88523   (exit $ac_status); }; } &&
88524          { ac_try='test -s conftest$ac_exeext'
88525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88526   (eval $ac_try) 2>&5
88527   ac_status=$?
88528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88529   (exit $ac_status); }; }; then
88530   eval "$as_ac_var=yes"
88531 else
88532   echo "$as_me: failed program was:" >&5
88533 sed 's/^/| /' conftest.$ac_ext >&5
88534
88535 eval "$as_ac_var=no"
88536 fi
88537 rm -f conftest.err conftest.$ac_objext \
88538       conftest$ac_exeext conftest.$ac_ext
88539 fi
88540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88542 if test `eval echo '${'$as_ac_var'}'` = yes; then
88543   cat >>confdefs.h <<_ACEOF
88544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88545 _ACEOF
88546
88547 fi
88548 done
88549
88550
88551     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
88552 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
88553     if test x"$has_weof" = xyes &&
88554        test x"$has_wchar_minmax" = xyes &&
88555        test x"$ac_wfuncs" = xyes;
88556     then
88557       ac_isoC99_wchar_t=yes
88558     else
88559       ac_isoC99_wchar_t=no
88560     fi
88561     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
88562 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
88563
88564     # Use iconv for wchar_t to char conversions. As such, check for
88565     # X/Open Portability Guide, version 2 features (XPG2).
88566     if test "${ac_cv_header_iconv_h+set}" = set; then
88567   echo "$as_me:$LINENO: checking for iconv.h" >&5
88568 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
88569 if test "${ac_cv_header_iconv_h+set}" = set; then
88570   echo $ECHO_N "(cached) $ECHO_C" >&6
88571 fi
88572 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
88573 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
88574 else
88575   # Is the header compilable?
88576 echo "$as_me:$LINENO: checking iconv.h usability" >&5
88577 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
88578 cat >conftest.$ac_ext <<_ACEOF
88579 /* confdefs.h.  */
88580 _ACEOF
88581 cat confdefs.h >>conftest.$ac_ext
88582 cat >>conftest.$ac_ext <<_ACEOF
88583 /* end confdefs.h.  */
88584 $ac_includes_default
88585 #include <iconv.h>
88586 _ACEOF
88587 rm -f conftest.$ac_objext
88588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88589   (eval $ac_compile) 2>conftest.er1
88590   ac_status=$?
88591   grep -v '^ *+' conftest.er1 >conftest.err
88592   rm -f conftest.er1
88593   cat conftest.err >&5
88594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88595   (exit $ac_status); } &&
88596          { ac_try='test -z "$ac_c_werror_flag"
88597                          || test ! -s conftest.err'
88598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88599   (eval $ac_try) 2>&5
88600   ac_status=$?
88601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88602   (exit $ac_status); }; } &&
88603          { ac_try='test -s conftest.$ac_objext'
88604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88605   (eval $ac_try) 2>&5
88606   ac_status=$?
88607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88608   (exit $ac_status); }; }; then
88609   ac_header_compiler=yes
88610 else
88611   echo "$as_me: failed program was:" >&5
88612 sed 's/^/| /' conftest.$ac_ext >&5
88613
88614 ac_header_compiler=no
88615 fi
88616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88617 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88618 echo "${ECHO_T}$ac_header_compiler" >&6
88619
88620 # Is the header present?
88621 echo "$as_me:$LINENO: checking iconv.h presence" >&5
88622 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
88623 cat >conftest.$ac_ext <<_ACEOF
88624 /* confdefs.h.  */
88625 _ACEOF
88626 cat confdefs.h >>conftest.$ac_ext
88627 cat >>conftest.$ac_ext <<_ACEOF
88628 /* end confdefs.h.  */
88629 #include <iconv.h>
88630 _ACEOF
88631 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88632   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88633   ac_status=$?
88634   grep -v '^ *+' conftest.er1 >conftest.err
88635   rm -f conftest.er1
88636   cat conftest.err >&5
88637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88638   (exit $ac_status); } >/dev/null; then
88639   if test -s conftest.err; then
88640     ac_cpp_err=$ac_c_preproc_warn_flag
88641     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88642   else
88643     ac_cpp_err=
88644   fi
88645 else
88646   ac_cpp_err=yes
88647 fi
88648 if test -z "$ac_cpp_err"; then
88649   ac_header_preproc=yes
88650 else
88651   echo "$as_me: failed program was:" >&5
88652 sed 's/^/| /' conftest.$ac_ext >&5
88653
88654   ac_header_preproc=no
88655 fi
88656 rm -f conftest.err conftest.$ac_ext
88657 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88658 echo "${ECHO_T}$ac_header_preproc" >&6
88659
88660 # So?  What about this header?
88661 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88662   yes:no: )
88663     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
88664 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
88665     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
88666 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
88667     ac_header_preproc=yes
88668     ;;
88669   no:yes:* )
88670     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
88671 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
88672     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
88673 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
88674     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
88675 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
88676     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
88677 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
88678     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
88679 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
88680     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
88681 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
88682     (
88683       cat <<\_ASBOX
88684 ## ----------------------------------------- ##
88685 ## Report this to the package-unused lists.  ##
88686 ## ----------------------------------------- ##
88687 _ASBOX
88688     ) |
88689       sed "s/^/$as_me: WARNING:     /" >&2
88690     ;;
88691 esac
88692 echo "$as_me:$LINENO: checking for iconv.h" >&5
88693 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
88694 if test "${ac_cv_header_iconv_h+set}" = set; then
88695   echo $ECHO_N "(cached) $ECHO_C" >&6
88696 else
88697   ac_cv_header_iconv_h=$ac_header_preproc
88698 fi
88699 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
88700 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
88701
88702 fi
88703 if test $ac_cv_header_iconv_h = yes; then
88704   ac_has_iconv_h=yes
88705 else
88706   ac_has_iconv_h=no
88707 fi
88708
88709
88710     if test "${ac_cv_header_langinfo_h+set}" = set; then
88711   echo "$as_me:$LINENO: checking for langinfo.h" >&5
88712 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
88713 if test "${ac_cv_header_langinfo_h+set}" = set; then
88714   echo $ECHO_N "(cached) $ECHO_C" >&6
88715 fi
88716 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
88717 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
88718 else
88719   # Is the header compilable?
88720 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
88721 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
88722 cat >conftest.$ac_ext <<_ACEOF
88723 /* confdefs.h.  */
88724 _ACEOF
88725 cat confdefs.h >>conftest.$ac_ext
88726 cat >>conftest.$ac_ext <<_ACEOF
88727 /* end confdefs.h.  */
88728 $ac_includes_default
88729 #include <langinfo.h>
88730 _ACEOF
88731 rm -f conftest.$ac_objext
88732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88733   (eval $ac_compile) 2>conftest.er1
88734   ac_status=$?
88735   grep -v '^ *+' conftest.er1 >conftest.err
88736   rm -f conftest.er1
88737   cat conftest.err >&5
88738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88739   (exit $ac_status); } &&
88740          { ac_try='test -z "$ac_c_werror_flag"
88741                          || test ! -s conftest.err'
88742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88743   (eval $ac_try) 2>&5
88744   ac_status=$?
88745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88746   (exit $ac_status); }; } &&
88747          { ac_try='test -s conftest.$ac_objext'
88748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88749   (eval $ac_try) 2>&5
88750   ac_status=$?
88751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88752   (exit $ac_status); }; }; then
88753   ac_header_compiler=yes
88754 else
88755   echo "$as_me: failed program was:" >&5
88756 sed 's/^/| /' conftest.$ac_ext >&5
88757
88758 ac_header_compiler=no
88759 fi
88760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88761 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88762 echo "${ECHO_T}$ac_header_compiler" >&6
88763
88764 # Is the header present?
88765 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
88766 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
88767 cat >conftest.$ac_ext <<_ACEOF
88768 /* confdefs.h.  */
88769 _ACEOF
88770 cat confdefs.h >>conftest.$ac_ext
88771 cat >>conftest.$ac_ext <<_ACEOF
88772 /* end confdefs.h.  */
88773 #include <langinfo.h>
88774 _ACEOF
88775 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88776   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88777   ac_status=$?
88778   grep -v '^ *+' conftest.er1 >conftest.err
88779   rm -f conftest.er1
88780   cat conftest.err >&5
88781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88782   (exit $ac_status); } >/dev/null; then
88783   if test -s conftest.err; then
88784     ac_cpp_err=$ac_c_preproc_warn_flag
88785     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88786   else
88787     ac_cpp_err=
88788   fi
88789 else
88790   ac_cpp_err=yes
88791 fi
88792 if test -z "$ac_cpp_err"; then
88793   ac_header_preproc=yes
88794 else
88795   echo "$as_me: failed program was:" >&5
88796 sed 's/^/| /' conftest.$ac_ext >&5
88797
88798   ac_header_preproc=no
88799 fi
88800 rm -f conftest.err conftest.$ac_ext
88801 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88802 echo "${ECHO_T}$ac_header_preproc" >&6
88803
88804 # So?  What about this header?
88805 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88806   yes:no: )
88807     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
88808 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
88809     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
88810 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
88811     ac_header_preproc=yes
88812     ;;
88813   no:yes:* )
88814     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
88815 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
88816     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
88817 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
88818     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
88819 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
88820     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
88821 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
88822     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
88823 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
88824     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
88825 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
88826     (
88827       cat <<\_ASBOX
88828 ## ----------------------------------------- ##
88829 ## Report this to the package-unused lists.  ##
88830 ## ----------------------------------------- ##
88831 _ASBOX
88832     ) |
88833       sed "s/^/$as_me: WARNING:     /" >&2
88834     ;;
88835 esac
88836 echo "$as_me:$LINENO: checking for langinfo.h" >&5
88837 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
88838 if test "${ac_cv_header_langinfo_h+set}" = set; then
88839   echo $ECHO_N "(cached) $ECHO_C" >&6
88840 else
88841   ac_cv_header_langinfo_h=$ac_header_preproc
88842 fi
88843 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
88844 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
88845
88846 fi
88847 if test $ac_cv_header_langinfo_h = yes; then
88848   ac_has_langinfo_h=yes
88849 else
88850   ac_has_langinfo_h=no
88851 fi
88852
88853
88854
88855     # Check for existence of libiconv.a providing XPG2 wchar_t support.
88856     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
88857 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
88858 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
88859   echo $ECHO_N "(cached) $ECHO_C" >&6
88860 else
88861   ac_check_lib_save_LIBS=$LIBS
88862 LIBS="-liconv  $LIBS"
88863 if test x$gcc_no_link = xyes; then
88864   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88866    { (exit 1); exit 1; }; }
88867 fi
88868 cat >conftest.$ac_ext <<_ACEOF
88869 /* confdefs.h.  */
88870 _ACEOF
88871 cat confdefs.h >>conftest.$ac_ext
88872 cat >>conftest.$ac_ext <<_ACEOF
88873 /* end confdefs.h.  */
88874
88875 /* Override any gcc2 internal prototype to avoid an error.  */
88876 #ifdef __cplusplus
88877 extern "C"
88878 #endif
88879 /* We use char because int might match the return type of a gcc2
88880    builtin and then its argument prototype would still apply.  */
88881 char iconv ();
88882 int
88883 main ()
88884 {
88885 iconv ();
88886   ;
88887   return 0;
88888 }
88889 _ACEOF
88890 rm -f conftest.$ac_objext conftest$ac_exeext
88891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88892   (eval $ac_link) 2>conftest.er1
88893   ac_status=$?
88894   grep -v '^ *+' conftest.er1 >conftest.err
88895   rm -f conftest.er1
88896   cat conftest.err >&5
88897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88898   (exit $ac_status); } &&
88899          { ac_try='test -z "$ac_c_werror_flag"
88900                          || test ! -s conftest.err'
88901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88902   (eval $ac_try) 2>&5
88903   ac_status=$?
88904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88905   (exit $ac_status); }; } &&
88906          { ac_try='test -s conftest$ac_exeext'
88907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88908   (eval $ac_try) 2>&5
88909   ac_status=$?
88910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88911   (exit $ac_status); }; }; then
88912   ac_cv_lib_iconv_iconv=yes
88913 else
88914   echo "$as_me: failed program was:" >&5
88915 sed 's/^/| /' conftest.$ac_ext >&5
88916
88917 ac_cv_lib_iconv_iconv=no
88918 fi
88919 rm -f conftest.err conftest.$ac_objext \
88920       conftest$ac_exeext conftest.$ac_ext
88921 LIBS=$ac_check_lib_save_LIBS
88922 fi
88923 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
88924 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
88925 if test $ac_cv_lib_iconv_iconv = yes; then
88926   LIBICONV="-liconv"
88927 fi
88928
88929     ac_save_LIBS="$LIBS"
88930     LIBS="$LIBS $LIBICONV"
88931
88932
88933
88934
88935
88936
88937 for ac_func in iconv_open iconv_close iconv nl_langinfo
88938 do
88939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88940 echo "$as_me:$LINENO: checking for $ac_func" >&5
88941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88942 if eval "test \"\${$as_ac_var+set}\" = set"; then
88943   echo $ECHO_N "(cached) $ECHO_C" >&6
88944 else
88945   if test x$gcc_no_link = xyes; then
88946   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88948    { (exit 1); exit 1; }; }
88949 fi
88950 cat >conftest.$ac_ext <<_ACEOF
88951 /* confdefs.h.  */
88952 _ACEOF
88953 cat confdefs.h >>conftest.$ac_ext
88954 cat >>conftest.$ac_ext <<_ACEOF
88955 /* end confdefs.h.  */
88956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88957    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88958 #define $ac_func innocuous_$ac_func
88959
88960 /* System header to define __stub macros and hopefully few prototypes,
88961     which can conflict with char $ac_func (); below.
88962     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88963     <limits.h> exists even on freestanding compilers.  */
88964
88965 #ifdef __STDC__
88966 # include <limits.h>
88967 #else
88968 # include <assert.h>
88969 #endif
88970
88971 #undef $ac_func
88972
88973 /* Override any gcc2 internal prototype to avoid an error.  */
88974 #ifdef __cplusplus
88975 extern "C"
88976 {
88977 #endif
88978 /* We use char because int might match the return type of a gcc2
88979    builtin and then its argument prototype would still apply.  */
88980 char $ac_func ();
88981 /* The GNU C library defines this for functions which it implements
88982     to always fail with ENOSYS.  Some functions are actually named
88983     something starting with __ and the normal name is an alias.  */
88984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88985 choke me
88986 #else
88987 char (*f) () = $ac_func;
88988 #endif
88989 #ifdef __cplusplus
88990 }
88991 #endif
88992
88993 int
88994 main ()
88995 {
88996 return f != $ac_func;
88997   ;
88998   return 0;
88999 }
89000 _ACEOF
89001 rm -f conftest.$ac_objext conftest$ac_exeext
89002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89003   (eval $ac_link) 2>conftest.er1
89004   ac_status=$?
89005   grep -v '^ *+' conftest.er1 >conftest.err
89006   rm -f conftest.er1
89007   cat conftest.err >&5
89008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89009   (exit $ac_status); } &&
89010          { ac_try='test -z "$ac_c_werror_flag"
89011                          || test ! -s conftest.err'
89012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89013   (eval $ac_try) 2>&5
89014   ac_status=$?
89015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89016   (exit $ac_status); }; } &&
89017          { ac_try='test -s conftest$ac_exeext'
89018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89019   (eval $ac_try) 2>&5
89020   ac_status=$?
89021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89022   (exit $ac_status); }; }; then
89023   eval "$as_ac_var=yes"
89024 else
89025   echo "$as_me: failed program was:" >&5
89026 sed 's/^/| /' conftest.$ac_ext >&5
89027
89028 eval "$as_ac_var=no"
89029 fi
89030 rm -f conftest.err conftest.$ac_objext \
89031       conftest$ac_exeext conftest.$ac_ext
89032 fi
89033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89035 if test `eval echo '${'$as_ac_var'}'` = yes; then
89036   cat >>confdefs.h <<_ACEOF
89037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89038 _ACEOF
89039  ac_XPG2funcs=yes
89040 else
89041   ac_XPG2funcs=no
89042 fi
89043 done
89044
89045
89046     LIBS="$ac_save_LIBS"
89047
89048     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
89049 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
89050     if test x"$ac_has_iconv_h" = xyes &&
89051        test x"$ac_has_langinfo_h" = xyes &&
89052        test x"$ac_XPG2funcs" = xyes;
89053     then
89054       ac_XPG2_wchar_t=yes
89055     else
89056       ac_XPG2_wchar_t=no
89057     fi
89058     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
89059 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
89060
89061     # At the moment, only enable wchar_t specializations if all the
89062     # above support is present.
89063     if test x"$ac_isoC99_wchar_t" = xyes &&
89064        test x"$ac_XPG2_wchar_t" = xyes;
89065     then
89066       cat >>confdefs.h <<\_ACEOF
89067 #define _GLIBCXX_USE_WCHAR_T 1
89068 _ACEOF
89069
89070       enable_wchar_t=yes
89071     fi
89072   fi
89073   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
89074 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
89075   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
89076 echo "${ECHO_T}$enable_wchar_t" >&6
89077
89078     cat >>confdefs.h <<\_ACEOF
89079 #define HAVE_COSF 1
89080 _ACEOF
89081
89082     cat >>confdefs.h <<\_ACEOF
89083 #define HAVE_COSL 1
89084 _ACEOF
89085
89086     cat >>confdefs.h <<\_ACEOF
89087 #define HAVE_COSHF 1
89088 _ACEOF
89089
89090     cat >>confdefs.h <<\_ACEOF
89091 #define HAVE_COSHL 1
89092 _ACEOF
89093
89094     cat >>confdefs.h <<\_ACEOF
89095 #define HAVE_LOGF 1
89096 _ACEOF
89097
89098     cat >>confdefs.h <<\_ACEOF
89099 #define HAVE_LOGL 1
89100 _ACEOF
89101
89102     cat >>confdefs.h <<\_ACEOF
89103 #define HAVE_LOG10F 1
89104 _ACEOF
89105
89106     cat >>confdefs.h <<\_ACEOF
89107 #define HAVE_LOG10L 1
89108 _ACEOF
89109
89110     cat >>confdefs.h <<\_ACEOF
89111 #define HAVE_SINF 1
89112 _ACEOF
89113
89114     cat >>confdefs.h <<\_ACEOF
89115 #define HAVE_SINL 1
89116 _ACEOF
89117
89118     cat >>confdefs.h <<\_ACEOF
89119 #define HAVE_SINHF 1
89120 _ACEOF
89121
89122     cat >>confdefs.h <<\_ACEOF
89123 #define HAVE_SINHL 1
89124 _ACEOF
89125
89126     ;;
89127   *-solaris*)
89128     case "$target" in
89129     #  *-solaris2.5)
89130     #    os_include_dir="os/solaris/solaris2.5"
89131     #    ;;
89132     #  *-solaris2.6)
89133     #    os_include_dir="os/solaris/solaris2.6"
89134     #    ;;
89135       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
89136          cat >>confdefs.h <<\_ACEOF
89137 #define HAVE_GETPAGESIZE 1
89138 _ACEOF
89139
89140          cat >>confdefs.h <<\_ACEOF
89141 #define HAVE_SIGSETJMP 1
89142 _ACEOF
89143
89144          cat >>confdefs.h <<\_ACEOF
89145 #define HAVE_MBSTATE_T 1
89146 _ACEOF
89147
89148          cat >>confdefs.h <<\_ACEOF
89149 #define HAVE_POLL 1
89150 _ACEOF
89151
89152          cat >>confdefs.h <<\_ACEOF
89153 #define HAVE_S_ISREG 1
89154 _ACEOF
89155
89156          cat >>confdefs.h <<\_ACEOF
89157 #define HAVE_LC_MESSAGES 1
89158 _ACEOF
89159
89160          cat >>confdefs.h <<\_ACEOF
89161 #define HAVE_BTOWC 1
89162 _ACEOF
89163
89164          cat >>confdefs.h <<\_ACEOF
89165 #define HAVE_FGETWC 1
89166 _ACEOF
89167
89168          cat >>confdefs.h <<\_ACEOF
89169 #define HAVE_FGETWS 1
89170 _ACEOF
89171
89172          cat >>confdefs.h <<\_ACEOF
89173 #define HAVE_FINITE 1
89174 _ACEOF
89175
89176          cat >>confdefs.h <<\_ACEOF
89177 #define HAVE_FPCLASS 1
89178 _ACEOF
89179
89180          cat >>confdefs.h <<\_ACEOF
89181 #define HAVE_FPUTWC 1
89182 _ACEOF
89183
89184          cat >>confdefs.h <<\_ACEOF
89185 #define HAVE_FPUTWS 1
89186 _ACEOF
89187
89188          cat >>confdefs.h <<\_ACEOF
89189 #define HAVE_FWIDE 1
89190 _ACEOF
89191
89192          cat >>confdefs.h <<\_ACEOF
89193 #define HAVE_FWPRINTF 1
89194 _ACEOF
89195
89196          cat >>confdefs.h <<\_ACEOF
89197 #define HAVE_FWSCANF 1
89198 _ACEOF
89199
89200          cat >>confdefs.h <<\_ACEOF
89201 #define HAVE_GETPAGESIZE 1
89202 _ACEOF
89203
89204          cat >>confdefs.h <<\_ACEOF
89205 #define HAVE_GETWC 1
89206 _ACEOF
89207
89208          cat >>confdefs.h <<\_ACEOF
89209 #define HAVE_GETWCHAR 1
89210 _ACEOF
89211
89212          cat >>confdefs.h <<\_ACEOF
89213 #define HAVE_MBRLEN 1
89214 _ACEOF
89215
89216          cat >>confdefs.h <<\_ACEOF
89217 #define HAVE_MBRTOWC 1
89218 _ACEOF
89219
89220          cat >>confdefs.h <<\_ACEOF
89221 #define HAVE_MBSINIT 1
89222 _ACEOF
89223
89224          cat >>confdefs.h <<\_ACEOF
89225 #define HAVE_MBSRTOWCS 1
89226 _ACEOF
89227
89228          cat >>confdefs.h <<\_ACEOF
89229 #define HAVE_NL_LANGINFO 1
89230 _ACEOF
89231
89232          cat >>confdefs.h <<\_ACEOF
89233 #define HAVE_PUTWC 1
89234 _ACEOF
89235
89236          cat >>confdefs.h <<\_ACEOF
89237 #define HAVE_PUTWCHAR 1
89238 _ACEOF
89239
89240          cat >>confdefs.h <<\_ACEOF
89241 #define HAVE_SWPRINTF 1
89242 _ACEOF
89243
89244          cat >>confdefs.h <<\_ACEOF
89245 #define HAVE_SWSCANF 1
89246 _ACEOF
89247
89248          cat >>confdefs.h <<\_ACEOF
89249 #define HAVE_UNGETWC 1
89250 _ACEOF
89251
89252          cat >>confdefs.h <<\_ACEOF
89253 #define HAVE_VFWPRINTF 1
89254 _ACEOF
89255
89256          cat >>confdefs.h <<\_ACEOF
89257 #define HAVE_VSWPRINTF 1
89258 _ACEOF
89259
89260          cat >>confdefs.h <<\_ACEOF
89261 #define HAVE_VWPRINTF 1
89262 _ACEOF
89263
89264          cat >>confdefs.h <<\_ACEOF
89265 #define HAVE_WCRTOMB 1
89266 _ACEOF
89267
89268          cat >>confdefs.h <<\_ACEOF
89269 #define HAVE_WCSCAT 1
89270 _ACEOF
89271
89272          cat >>confdefs.h <<\_ACEOF
89273 #define HAVE_WCSCHR 1
89274 _ACEOF
89275
89276          cat >>confdefs.h <<\_ACEOF
89277 #define HAVE_WCSCMP 1
89278 _ACEOF
89279
89280          cat >>confdefs.h <<\_ACEOF
89281 #define HAVE_WCSCOLL 1
89282 _ACEOF
89283
89284          cat >>confdefs.h <<\_ACEOF
89285 #define HAVE_WCSCPY 1
89286 _ACEOF
89287
89288          cat >>confdefs.h <<\_ACEOF
89289 #define HAVE_WCSCSPN 1
89290 _ACEOF
89291
89292          cat >>confdefs.h <<\_ACEOF
89293 #define HAVE_WCSFTIME 1
89294 _ACEOF
89295
89296          cat >>confdefs.h <<\_ACEOF
89297 #define HAVE_WCSLEN 1
89298 _ACEOF
89299
89300          cat >>confdefs.h <<\_ACEOF
89301 #define HAVE_WCSNCAT 1
89302 _ACEOF
89303
89304          cat >>confdefs.h <<\_ACEOF
89305 #define HAVE_WCSNCMP 1
89306 _ACEOF
89307
89308          cat >>confdefs.h <<\_ACEOF
89309 #define HAVE_WCSNCPY 1
89310 _ACEOF
89311
89312          cat >>confdefs.h <<\_ACEOF
89313 #define HAVE_WCSPBRK 1
89314 _ACEOF
89315
89316          cat >>confdefs.h <<\_ACEOF
89317 #define HAVE_WCSRCHR 1
89318 _ACEOF
89319
89320          cat >>confdefs.h <<\_ACEOF
89321 #define HAVE_WCSRTOMBS 1
89322 _ACEOF
89323
89324          cat >>confdefs.h <<\_ACEOF
89325 #define HAVE_WCSSPN 1
89326 _ACEOF
89327
89328          cat >>confdefs.h <<\_ACEOF
89329 #define HAVE_WCSSTR 1
89330 _ACEOF
89331
89332          cat >>confdefs.h <<\_ACEOF
89333 #define HAVE_WCSTOD 1
89334 _ACEOF
89335
89336          cat >>confdefs.h <<\_ACEOF
89337 #define HAVE_WCSTOK 1
89338 _ACEOF
89339
89340          cat >>confdefs.h <<\_ACEOF
89341 #define HAVE_WCSTOL 1
89342 _ACEOF
89343
89344          cat >>confdefs.h <<\_ACEOF
89345 #define HAVE_WCSTOUL 1
89346 _ACEOF
89347
89348          cat >>confdefs.h <<\_ACEOF
89349 #define HAVE_WCSXFRM 1
89350 _ACEOF
89351
89352          cat >>confdefs.h <<\_ACEOF
89353 #define HAVE_WCTOB 1
89354 _ACEOF
89355
89356          cat >>confdefs.h <<\_ACEOF
89357 #define HAVE_WMEMCHR 1
89358 _ACEOF
89359
89360          cat >>confdefs.h <<\_ACEOF
89361 #define HAVE_WMEMCMP 1
89362 _ACEOF
89363
89364          cat >>confdefs.h <<\_ACEOF
89365 #define HAVE_WMEMCPY 1
89366 _ACEOF
89367
89368          cat >>confdefs.h <<\_ACEOF
89369 #define HAVE_WMEMMOVE 1
89370 _ACEOF
89371
89372          cat >>confdefs.h <<\_ACEOF
89373 #define HAVE_WMEMSET 1
89374 _ACEOF
89375
89376          cat >>confdefs.h <<\_ACEOF
89377 #define HAVE_WPRINTF 1
89378 _ACEOF
89379
89380          cat >>confdefs.h <<\_ACEOF
89381 #define HAVE_WSCANF 1
89382 _ACEOF
89383
89384          cat >>confdefs.h <<\_ACEOF
89385 #define HAVE_ICONV 1
89386 _ACEOF
89387
89388          cat >>confdefs.h <<\_ACEOF
89389 #define HAVE_ICONV_CLOSE 1
89390 _ACEOF
89391
89392          cat >>confdefs.h <<\_ACEOF
89393 #define HAVE_ICONV_OPEN 1
89394 _ACEOF
89395
89396          # Look for the pieces required for wchar_t support in order to
89397          # get all the right HAVE_* macros defined.
89398
89399   # Test wchar.h for mbstate_t, which is needed for char_traits and
89400   # others even if wchar_t support is not on.
89401   echo "$as_me:$LINENO: checking for mbstate_t" >&5
89402 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
89403   cat >conftest.$ac_ext <<_ACEOF
89404 /* confdefs.h.  */
89405 _ACEOF
89406 cat confdefs.h >>conftest.$ac_ext
89407 cat >>conftest.$ac_ext <<_ACEOF
89408 /* end confdefs.h.  */
89409 #include <wchar.h>
89410 int
89411 main ()
89412 {
89413 mbstate_t teststate;
89414   ;
89415   return 0;
89416 }
89417 _ACEOF
89418 rm -f conftest.$ac_objext
89419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89420   (eval $ac_compile) 2>conftest.er1
89421   ac_status=$?
89422   grep -v '^ *+' conftest.er1 >conftest.err
89423   rm -f conftest.er1
89424   cat conftest.err >&5
89425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89426   (exit $ac_status); } &&
89427          { ac_try='test -z "$ac_c_werror_flag"
89428                          || test ! -s conftest.err'
89429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89430   (eval $ac_try) 2>&5
89431   ac_status=$?
89432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89433   (exit $ac_status); }; } &&
89434          { ac_try='test -s conftest.$ac_objext'
89435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89436   (eval $ac_try) 2>&5
89437   ac_status=$?
89438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89439   (exit $ac_status); }; }; then
89440   have_mbstate_t=yes
89441 else
89442   echo "$as_me: failed program was:" >&5
89443 sed 's/^/| /' conftest.$ac_ext >&5
89444
89445 have_mbstate_t=no
89446 fi
89447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89448   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
89449 echo "${ECHO_T}$have_mbstate_t" >&6
89450   if test x"$have_mbstate_t" = xyes; then
89451     cat >>confdefs.h <<\_ACEOF
89452 #define HAVE_MBSTATE_T 1
89453 _ACEOF
89454
89455   fi
89456
89457   # Sanity check for existence of ISO C99 headers for extended encoding.
89458
89459 for ac_header in wchar.h
89460 do
89461 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89463   echo "$as_me:$LINENO: checking for $ac_header" >&5
89464 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89466   echo $ECHO_N "(cached) $ECHO_C" >&6
89467 fi
89468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89470 else
89471   # Is the header compilable?
89472 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89473 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89474 cat >conftest.$ac_ext <<_ACEOF
89475 /* confdefs.h.  */
89476 _ACEOF
89477 cat confdefs.h >>conftest.$ac_ext
89478 cat >>conftest.$ac_ext <<_ACEOF
89479 /* end confdefs.h.  */
89480 $ac_includes_default
89481 #include <$ac_header>
89482 _ACEOF
89483 rm -f conftest.$ac_objext
89484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89485   (eval $ac_compile) 2>conftest.er1
89486   ac_status=$?
89487   grep -v '^ *+' conftest.er1 >conftest.err
89488   rm -f conftest.er1
89489   cat conftest.err >&5
89490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89491   (exit $ac_status); } &&
89492          { ac_try='test -z "$ac_c_werror_flag"
89493                          || test ! -s conftest.err'
89494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89495   (eval $ac_try) 2>&5
89496   ac_status=$?
89497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89498   (exit $ac_status); }; } &&
89499          { ac_try='test -s conftest.$ac_objext'
89500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89501   (eval $ac_try) 2>&5
89502   ac_status=$?
89503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89504   (exit $ac_status); }; }; then
89505   ac_header_compiler=yes
89506 else
89507   echo "$as_me: failed program was:" >&5
89508 sed 's/^/| /' conftest.$ac_ext >&5
89509
89510 ac_header_compiler=no
89511 fi
89512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89513 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89514 echo "${ECHO_T}$ac_header_compiler" >&6
89515
89516 # Is the header present?
89517 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89518 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89519 cat >conftest.$ac_ext <<_ACEOF
89520 /* confdefs.h.  */
89521 _ACEOF
89522 cat confdefs.h >>conftest.$ac_ext
89523 cat >>conftest.$ac_ext <<_ACEOF
89524 /* end confdefs.h.  */
89525 #include <$ac_header>
89526 _ACEOF
89527 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89528   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89529   ac_status=$?
89530   grep -v '^ *+' conftest.er1 >conftest.err
89531   rm -f conftest.er1
89532   cat conftest.err >&5
89533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89534   (exit $ac_status); } >/dev/null; then
89535   if test -s conftest.err; then
89536     ac_cpp_err=$ac_c_preproc_warn_flag
89537     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89538   else
89539     ac_cpp_err=
89540   fi
89541 else
89542   ac_cpp_err=yes
89543 fi
89544 if test -z "$ac_cpp_err"; then
89545   ac_header_preproc=yes
89546 else
89547   echo "$as_me: failed program was:" >&5
89548 sed 's/^/| /' conftest.$ac_ext >&5
89549
89550   ac_header_preproc=no
89551 fi
89552 rm -f conftest.err conftest.$ac_ext
89553 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89554 echo "${ECHO_T}$ac_header_preproc" >&6
89555
89556 # So?  What about this header?
89557 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89558   yes:no: )
89559     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89560 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89561     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89562 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89563     ac_header_preproc=yes
89564     ;;
89565   no:yes:* )
89566     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89567 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89568     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
89569 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
89570     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89571 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89572     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
89573 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
89574     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89575 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89576     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89577 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89578     (
89579       cat <<\_ASBOX
89580 ## ----------------------------------------- ##
89581 ## Report this to the package-unused lists.  ##
89582 ## ----------------------------------------- ##
89583 _ASBOX
89584     ) |
89585       sed "s/^/$as_me: WARNING:     /" >&2
89586     ;;
89587 esac
89588 echo "$as_me:$LINENO: checking for $ac_header" >&5
89589 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89590 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89591   echo $ECHO_N "(cached) $ECHO_C" >&6
89592 else
89593   eval "$as_ac_Header=\$ac_header_preproc"
89594 fi
89595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89596 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89597
89598 fi
89599 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89600   cat >>confdefs.h <<_ACEOF
89601 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89602 _ACEOF
89603  ac_has_wchar_h=yes
89604 else
89605   ac_has_wchar_h=no
89606 fi
89607
89608 done
89609
89610
89611 for ac_header in wctype.h
89612 do
89613 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89615   echo "$as_me:$LINENO: checking for $ac_header" >&5
89616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89618   echo $ECHO_N "(cached) $ECHO_C" >&6
89619 fi
89620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89621 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89622 else
89623   # Is the header compilable?
89624 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89625 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89626 cat >conftest.$ac_ext <<_ACEOF
89627 /* confdefs.h.  */
89628 _ACEOF
89629 cat confdefs.h >>conftest.$ac_ext
89630 cat >>conftest.$ac_ext <<_ACEOF
89631 /* end confdefs.h.  */
89632 $ac_includes_default
89633 #include <$ac_header>
89634 _ACEOF
89635 rm -f conftest.$ac_objext
89636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89637   (eval $ac_compile) 2>conftest.er1
89638   ac_status=$?
89639   grep -v '^ *+' conftest.er1 >conftest.err
89640   rm -f conftest.er1
89641   cat conftest.err >&5
89642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89643   (exit $ac_status); } &&
89644          { ac_try='test -z "$ac_c_werror_flag"
89645                          || test ! -s conftest.err'
89646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89647   (eval $ac_try) 2>&5
89648   ac_status=$?
89649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89650   (exit $ac_status); }; } &&
89651          { ac_try='test -s conftest.$ac_objext'
89652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89653   (eval $ac_try) 2>&5
89654   ac_status=$?
89655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89656   (exit $ac_status); }; }; then
89657   ac_header_compiler=yes
89658 else
89659   echo "$as_me: failed program was:" >&5
89660 sed 's/^/| /' conftest.$ac_ext >&5
89661
89662 ac_header_compiler=no
89663 fi
89664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89665 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89666 echo "${ECHO_T}$ac_header_compiler" >&6
89667
89668 # Is the header present?
89669 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89670 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89671 cat >conftest.$ac_ext <<_ACEOF
89672 /* confdefs.h.  */
89673 _ACEOF
89674 cat confdefs.h >>conftest.$ac_ext
89675 cat >>conftest.$ac_ext <<_ACEOF
89676 /* end confdefs.h.  */
89677 #include <$ac_header>
89678 _ACEOF
89679 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89680   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89681   ac_status=$?
89682   grep -v '^ *+' conftest.er1 >conftest.err
89683   rm -f conftest.er1
89684   cat conftest.err >&5
89685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89686   (exit $ac_status); } >/dev/null; then
89687   if test -s conftest.err; then
89688     ac_cpp_err=$ac_c_preproc_warn_flag
89689     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89690   else
89691     ac_cpp_err=
89692   fi
89693 else
89694   ac_cpp_err=yes
89695 fi
89696 if test -z "$ac_cpp_err"; then
89697   ac_header_preproc=yes
89698 else
89699   echo "$as_me: failed program was:" >&5
89700 sed 's/^/| /' conftest.$ac_ext >&5
89701
89702   ac_header_preproc=no
89703 fi
89704 rm -f conftest.err conftest.$ac_ext
89705 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89706 echo "${ECHO_T}$ac_header_preproc" >&6
89707
89708 # So?  What about this header?
89709 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89710   yes:no: )
89711     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89712 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89713     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89714 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89715     ac_header_preproc=yes
89716     ;;
89717   no:yes:* )
89718     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89719 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89720     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
89721 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
89722     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89723 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89724     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
89725 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
89726     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89727 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89728     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89729 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89730     (
89731       cat <<\_ASBOX
89732 ## ----------------------------------------- ##
89733 ## Report this to the package-unused lists.  ##
89734 ## ----------------------------------------- ##
89735 _ASBOX
89736     ) |
89737       sed "s/^/$as_me: WARNING:     /" >&2
89738     ;;
89739 esac
89740 echo "$as_me:$LINENO: checking for $ac_header" >&5
89741 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89742 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89743   echo $ECHO_N "(cached) $ECHO_C" >&6
89744 else
89745   eval "$as_ac_Header=\$ac_header_preproc"
89746 fi
89747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89748 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89749
89750 fi
89751 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89752   cat >>confdefs.h <<_ACEOF
89753 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89754 _ACEOF
89755  ac_has_wctype_h=yes
89756 else
89757   ac_has_wctype_h=no
89758 fi
89759
89760 done
89761
89762
89763   # Only continue checking if the ISO C99 headers exist and support is on.
89764   if test x"$ac_has_wchar_h" = xyes &&
89765      test x"$ac_has_wctype_h" = xyes &&
89766      test x"$enable_c_mbchar" != xno; then
89767
89768     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
89769     # numeric_limits can instantiate type_traits<wchar_t>
89770     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
89771 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
89772     cat >conftest.$ac_ext <<_ACEOF
89773 /* confdefs.h.  */
89774 _ACEOF
89775 cat confdefs.h >>conftest.$ac_ext
89776 cat >>conftest.$ac_ext <<_ACEOF
89777 /* end confdefs.h.  */
89778 #include <wchar.h>
89779 int
89780 main ()
89781 {
89782 int i = WCHAR_MIN; int j = WCHAR_MAX;
89783   ;
89784   return 0;
89785 }
89786 _ACEOF
89787 rm -f conftest.$ac_objext
89788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89789   (eval $ac_compile) 2>conftest.er1
89790   ac_status=$?
89791   grep -v '^ *+' conftest.er1 >conftest.err
89792   rm -f conftest.er1
89793   cat conftest.err >&5
89794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89795   (exit $ac_status); } &&
89796          { ac_try='test -z "$ac_c_werror_flag"
89797                          || test ! -s conftest.err'
89798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89799   (eval $ac_try) 2>&5
89800   ac_status=$?
89801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89802   (exit $ac_status); }; } &&
89803          { ac_try='test -s conftest.$ac_objext'
89804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89805   (eval $ac_try) 2>&5
89806   ac_status=$?
89807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89808   (exit $ac_status); }; }; then
89809   has_wchar_minmax=yes
89810 else
89811   echo "$as_me: failed program was:" >&5
89812 sed 's/^/| /' conftest.$ac_ext >&5
89813
89814 has_wchar_minmax=no
89815 fi
89816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89817     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
89818 echo "${ECHO_T}$has_wchar_minmax" >&6
89819
89820     # Test wchar.h for WEOF, which is what we use to determine whether
89821     # to specialize for char_traits<wchar_t> or not.
89822     echo "$as_me:$LINENO: checking for WEOF" >&5
89823 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
89824     cat >conftest.$ac_ext <<_ACEOF
89825 /* confdefs.h.  */
89826 _ACEOF
89827 cat confdefs.h >>conftest.$ac_ext
89828 cat >>conftest.$ac_ext <<_ACEOF
89829 /* end confdefs.h.  */
89830
89831       #include <wchar.h>
89832       #include <stddef.h>
89833 int
89834 main ()
89835 {
89836 wint_t i = WEOF;
89837   ;
89838   return 0;
89839 }
89840 _ACEOF
89841 rm -f conftest.$ac_objext
89842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89843   (eval $ac_compile) 2>conftest.er1
89844   ac_status=$?
89845   grep -v '^ *+' conftest.er1 >conftest.err
89846   rm -f conftest.er1
89847   cat conftest.err >&5
89848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89849   (exit $ac_status); } &&
89850          { ac_try='test -z "$ac_c_werror_flag"
89851                          || test ! -s conftest.err'
89852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89853   (eval $ac_try) 2>&5
89854   ac_status=$?
89855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89856   (exit $ac_status); }; } &&
89857          { ac_try='test -s conftest.$ac_objext'
89858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89859   (eval $ac_try) 2>&5
89860   ac_status=$?
89861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89862   (exit $ac_status); }; }; then
89863   has_weof=yes
89864 else
89865   echo "$as_me: failed program was:" >&5
89866 sed 's/^/| /' conftest.$ac_ext >&5
89867
89868 has_weof=no
89869 fi
89870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89871     echo "$as_me:$LINENO: result: $has_weof" >&5
89872 echo "${ECHO_T}$has_weof" >&6
89873
89874     # Tests for wide character functions used in char_traits<wchar_t>.
89875     ac_wfuncs=yes
89876
89877
89878
89879
89880
89881
89882 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
89883 do
89884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89885 echo "$as_me:$LINENO: checking for $ac_func" >&5
89886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89887 if eval "test \"\${$as_ac_var+set}\" = set"; then
89888   echo $ECHO_N "(cached) $ECHO_C" >&6
89889 else
89890   if test x$gcc_no_link = xyes; then
89891   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89893    { (exit 1); exit 1; }; }
89894 fi
89895 cat >conftest.$ac_ext <<_ACEOF
89896 /* confdefs.h.  */
89897 _ACEOF
89898 cat confdefs.h >>conftest.$ac_ext
89899 cat >>conftest.$ac_ext <<_ACEOF
89900 /* end confdefs.h.  */
89901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89902    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89903 #define $ac_func innocuous_$ac_func
89904
89905 /* System header to define __stub macros and hopefully few prototypes,
89906     which can conflict with char $ac_func (); below.
89907     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89908     <limits.h> exists even on freestanding compilers.  */
89909
89910 #ifdef __STDC__
89911 # include <limits.h>
89912 #else
89913 # include <assert.h>
89914 #endif
89915
89916 #undef $ac_func
89917
89918 /* Override any gcc2 internal prototype to avoid an error.  */
89919 #ifdef __cplusplus
89920 extern "C"
89921 {
89922 #endif
89923 /* We use char because int might match the return type of a gcc2
89924    builtin and then its argument prototype would still apply.  */
89925 char $ac_func ();
89926 /* The GNU C library defines this for functions which it implements
89927     to always fail with ENOSYS.  Some functions are actually named
89928     something starting with __ and the normal name is an alias.  */
89929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89930 choke me
89931 #else
89932 char (*f) () = $ac_func;
89933 #endif
89934 #ifdef __cplusplus
89935 }
89936 #endif
89937
89938 int
89939 main ()
89940 {
89941 return f != $ac_func;
89942   ;
89943   return 0;
89944 }
89945 _ACEOF
89946 rm -f conftest.$ac_objext conftest$ac_exeext
89947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89948   (eval $ac_link) 2>conftest.er1
89949   ac_status=$?
89950   grep -v '^ *+' conftest.er1 >conftest.err
89951   rm -f conftest.er1
89952   cat conftest.err >&5
89953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89954   (exit $ac_status); } &&
89955          { ac_try='test -z "$ac_c_werror_flag"
89956                          || test ! -s conftest.err'
89957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89958   (eval $ac_try) 2>&5
89959   ac_status=$?
89960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89961   (exit $ac_status); }; } &&
89962          { ac_try='test -s conftest$ac_exeext'
89963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89964   (eval $ac_try) 2>&5
89965   ac_status=$?
89966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89967   (exit $ac_status); }; }; then
89968   eval "$as_ac_var=yes"
89969 else
89970   echo "$as_me: failed program was:" >&5
89971 sed 's/^/| /' conftest.$ac_ext >&5
89972
89973 eval "$as_ac_var=no"
89974 fi
89975 rm -f conftest.err conftest.$ac_objext \
89976       conftest$ac_exeext conftest.$ac_ext
89977 fi
89978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89980 if test `eval echo '${'$as_ac_var'}'` = yes; then
89981   cat >>confdefs.h <<_ACEOF
89982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89983 _ACEOF
89984
89985 else
89986   ac_wfuncs=no
89987 fi
89988 done
89989
89990
89991     # Checks for names injected into std:: by the c_std headers.
89992
89993
89994
89995
89996
89997
89998
89999
90000
90001
90002
90003
90004
90005
90006
90007
90008
90009
90010
90011
90012
90013
90014
90015
90016
90017
90018
90019
90020
90021
90022
90023
90024
90025
90026
90027
90028
90029
90030
90031
90032
90033
90034
90035
90036
90037
90038 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
90039     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
90040     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
90041     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
90042     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
90043     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
90044 do
90045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90046 echo "$as_me:$LINENO: checking for $ac_func" >&5
90047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90048 if eval "test \"\${$as_ac_var+set}\" = set"; then
90049   echo $ECHO_N "(cached) $ECHO_C" >&6
90050 else
90051   if test x$gcc_no_link = xyes; then
90052   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90054    { (exit 1); exit 1; }; }
90055 fi
90056 cat >conftest.$ac_ext <<_ACEOF
90057 /* confdefs.h.  */
90058 _ACEOF
90059 cat confdefs.h >>conftest.$ac_ext
90060 cat >>conftest.$ac_ext <<_ACEOF
90061 /* end confdefs.h.  */
90062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90063    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90064 #define $ac_func innocuous_$ac_func
90065
90066 /* System header to define __stub macros and hopefully few prototypes,
90067     which can conflict with char $ac_func (); below.
90068     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90069     <limits.h> exists even on freestanding compilers.  */
90070
90071 #ifdef __STDC__
90072 # include <limits.h>
90073 #else
90074 # include <assert.h>
90075 #endif
90076
90077 #undef $ac_func
90078
90079 /* Override any gcc2 internal prototype to avoid an error.  */
90080 #ifdef __cplusplus
90081 extern "C"
90082 {
90083 #endif
90084 /* We use char because int might match the return type of a gcc2
90085    builtin and then its argument prototype would still apply.  */
90086 char $ac_func ();
90087 /* The GNU C library defines this for functions which it implements
90088     to always fail with ENOSYS.  Some functions are actually named
90089     something starting with __ and the normal name is an alias.  */
90090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90091 choke me
90092 #else
90093 char (*f) () = $ac_func;
90094 #endif
90095 #ifdef __cplusplus
90096 }
90097 #endif
90098
90099 int
90100 main ()
90101 {
90102 return f != $ac_func;
90103   ;
90104   return 0;
90105 }
90106 _ACEOF
90107 rm -f conftest.$ac_objext conftest$ac_exeext
90108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90109   (eval $ac_link) 2>conftest.er1
90110   ac_status=$?
90111   grep -v '^ *+' conftest.er1 >conftest.err
90112   rm -f conftest.er1
90113   cat conftest.err >&5
90114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90115   (exit $ac_status); } &&
90116          { ac_try='test -z "$ac_c_werror_flag"
90117                          || test ! -s conftest.err'
90118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90119   (eval $ac_try) 2>&5
90120   ac_status=$?
90121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90122   (exit $ac_status); }; } &&
90123          { ac_try='test -s conftest$ac_exeext'
90124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90125   (eval $ac_try) 2>&5
90126   ac_status=$?
90127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90128   (exit $ac_status); }; }; then
90129   eval "$as_ac_var=yes"
90130 else
90131   echo "$as_me: failed program was:" >&5
90132 sed 's/^/| /' conftest.$ac_ext >&5
90133
90134 eval "$as_ac_var=no"
90135 fi
90136 rm -f conftest.err conftest.$ac_objext \
90137       conftest$ac_exeext conftest.$ac_ext
90138 fi
90139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90141 if test `eval echo '${'$as_ac_var'}'` = yes; then
90142   cat >>confdefs.h <<_ACEOF
90143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90144 _ACEOF
90145
90146 else
90147   ac_wfuncs=no
90148 fi
90149 done
90150
90151
90152     # Checks for wide character functions that are not required
90153     # for basic wchar_t support.  Don't disable support if they are missing.
90154     # Injection of these is wrapped with guard macros.
90155
90156
90157
90158
90159
90160 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
90161 do
90162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90163 echo "$as_me:$LINENO: checking for $ac_func" >&5
90164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90165 if eval "test \"\${$as_ac_var+set}\" = set"; then
90166   echo $ECHO_N "(cached) $ECHO_C" >&6
90167 else
90168   if test x$gcc_no_link = xyes; then
90169   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90171    { (exit 1); exit 1; }; }
90172 fi
90173 cat >conftest.$ac_ext <<_ACEOF
90174 /* confdefs.h.  */
90175 _ACEOF
90176 cat confdefs.h >>conftest.$ac_ext
90177 cat >>conftest.$ac_ext <<_ACEOF
90178 /* end confdefs.h.  */
90179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90180    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90181 #define $ac_func innocuous_$ac_func
90182
90183 /* System header to define __stub macros and hopefully few prototypes,
90184     which can conflict with char $ac_func (); below.
90185     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90186     <limits.h> exists even on freestanding compilers.  */
90187
90188 #ifdef __STDC__
90189 # include <limits.h>
90190 #else
90191 # include <assert.h>
90192 #endif
90193
90194 #undef $ac_func
90195
90196 /* Override any gcc2 internal prototype to avoid an error.  */
90197 #ifdef __cplusplus
90198 extern "C"
90199 {
90200 #endif
90201 /* We use char because int might match the return type of a gcc2
90202    builtin and then its argument prototype would still apply.  */
90203 char $ac_func ();
90204 /* The GNU C library defines this for functions which it implements
90205     to always fail with ENOSYS.  Some functions are actually named
90206     something starting with __ and the normal name is an alias.  */
90207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90208 choke me
90209 #else
90210 char (*f) () = $ac_func;
90211 #endif
90212 #ifdef __cplusplus
90213 }
90214 #endif
90215
90216 int
90217 main ()
90218 {
90219 return f != $ac_func;
90220   ;
90221   return 0;
90222 }
90223 _ACEOF
90224 rm -f conftest.$ac_objext conftest$ac_exeext
90225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90226   (eval $ac_link) 2>conftest.er1
90227   ac_status=$?
90228   grep -v '^ *+' conftest.er1 >conftest.err
90229   rm -f conftest.er1
90230   cat conftest.err >&5
90231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90232   (exit $ac_status); } &&
90233          { ac_try='test -z "$ac_c_werror_flag"
90234                          || test ! -s conftest.err'
90235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90236   (eval $ac_try) 2>&5
90237   ac_status=$?
90238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90239   (exit $ac_status); }; } &&
90240          { ac_try='test -s conftest$ac_exeext'
90241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90242   (eval $ac_try) 2>&5
90243   ac_status=$?
90244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90245   (exit $ac_status); }; }; then
90246   eval "$as_ac_var=yes"
90247 else
90248   echo "$as_me: failed program was:" >&5
90249 sed 's/^/| /' conftest.$ac_ext >&5
90250
90251 eval "$as_ac_var=no"
90252 fi
90253 rm -f conftest.err conftest.$ac_objext \
90254       conftest$ac_exeext conftest.$ac_ext
90255 fi
90256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90258 if test `eval echo '${'$as_ac_var'}'` = yes; then
90259   cat >>confdefs.h <<_ACEOF
90260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90261 _ACEOF
90262
90263 fi
90264 done
90265
90266
90267     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
90268 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
90269     if test x"$has_weof" = xyes &&
90270        test x"$has_wchar_minmax" = xyes &&
90271        test x"$ac_wfuncs" = xyes;
90272     then
90273       ac_isoC99_wchar_t=yes
90274     else
90275       ac_isoC99_wchar_t=no
90276     fi
90277     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
90278 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
90279
90280     # Use iconv for wchar_t to char conversions. As such, check for
90281     # X/Open Portability Guide, version 2 features (XPG2).
90282     if test "${ac_cv_header_iconv_h+set}" = set; then
90283   echo "$as_me:$LINENO: checking for iconv.h" >&5
90284 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
90285 if test "${ac_cv_header_iconv_h+set}" = set; then
90286   echo $ECHO_N "(cached) $ECHO_C" >&6
90287 fi
90288 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
90289 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
90290 else
90291   # Is the header compilable?
90292 echo "$as_me:$LINENO: checking iconv.h usability" >&5
90293 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
90294 cat >conftest.$ac_ext <<_ACEOF
90295 /* confdefs.h.  */
90296 _ACEOF
90297 cat confdefs.h >>conftest.$ac_ext
90298 cat >>conftest.$ac_ext <<_ACEOF
90299 /* end confdefs.h.  */
90300 $ac_includes_default
90301 #include <iconv.h>
90302 _ACEOF
90303 rm -f conftest.$ac_objext
90304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90305   (eval $ac_compile) 2>conftest.er1
90306   ac_status=$?
90307   grep -v '^ *+' conftest.er1 >conftest.err
90308   rm -f conftest.er1
90309   cat conftest.err >&5
90310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90311   (exit $ac_status); } &&
90312          { ac_try='test -z "$ac_c_werror_flag"
90313                          || test ! -s conftest.err'
90314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90315   (eval $ac_try) 2>&5
90316   ac_status=$?
90317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90318   (exit $ac_status); }; } &&
90319          { ac_try='test -s conftest.$ac_objext'
90320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90321   (eval $ac_try) 2>&5
90322   ac_status=$?
90323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90324   (exit $ac_status); }; }; then
90325   ac_header_compiler=yes
90326 else
90327   echo "$as_me: failed program was:" >&5
90328 sed 's/^/| /' conftest.$ac_ext >&5
90329
90330 ac_header_compiler=no
90331 fi
90332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90333 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90334 echo "${ECHO_T}$ac_header_compiler" >&6
90335
90336 # Is the header present?
90337 echo "$as_me:$LINENO: checking iconv.h presence" >&5
90338 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
90339 cat >conftest.$ac_ext <<_ACEOF
90340 /* confdefs.h.  */
90341 _ACEOF
90342 cat confdefs.h >>conftest.$ac_ext
90343 cat >>conftest.$ac_ext <<_ACEOF
90344 /* end confdefs.h.  */
90345 #include <iconv.h>
90346 _ACEOF
90347 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90348   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90349   ac_status=$?
90350   grep -v '^ *+' conftest.er1 >conftest.err
90351   rm -f conftest.er1
90352   cat conftest.err >&5
90353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90354   (exit $ac_status); } >/dev/null; then
90355   if test -s conftest.err; then
90356     ac_cpp_err=$ac_c_preproc_warn_flag
90357     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90358   else
90359     ac_cpp_err=
90360   fi
90361 else
90362   ac_cpp_err=yes
90363 fi
90364 if test -z "$ac_cpp_err"; then
90365   ac_header_preproc=yes
90366 else
90367   echo "$as_me: failed program was:" >&5
90368 sed 's/^/| /' conftest.$ac_ext >&5
90369
90370   ac_header_preproc=no
90371 fi
90372 rm -f conftest.err conftest.$ac_ext
90373 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90374 echo "${ECHO_T}$ac_header_preproc" >&6
90375
90376 # So?  What about this header?
90377 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90378   yes:no: )
90379     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
90380 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
90381     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
90382 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
90383     ac_header_preproc=yes
90384     ;;
90385   no:yes:* )
90386     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
90387 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
90388     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
90389 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
90390     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
90391 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
90392     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
90393 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
90394     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
90395 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
90396     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
90397 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
90398     (
90399       cat <<\_ASBOX
90400 ## ----------------------------------------- ##
90401 ## Report this to the package-unused lists.  ##
90402 ## ----------------------------------------- ##
90403 _ASBOX
90404     ) |
90405       sed "s/^/$as_me: WARNING:     /" >&2
90406     ;;
90407 esac
90408 echo "$as_me:$LINENO: checking for iconv.h" >&5
90409 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
90410 if test "${ac_cv_header_iconv_h+set}" = set; then
90411   echo $ECHO_N "(cached) $ECHO_C" >&6
90412 else
90413   ac_cv_header_iconv_h=$ac_header_preproc
90414 fi
90415 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
90416 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
90417
90418 fi
90419 if test $ac_cv_header_iconv_h = yes; then
90420   ac_has_iconv_h=yes
90421 else
90422   ac_has_iconv_h=no
90423 fi
90424
90425
90426     if test "${ac_cv_header_langinfo_h+set}" = set; then
90427   echo "$as_me:$LINENO: checking for langinfo.h" >&5
90428 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
90429 if test "${ac_cv_header_langinfo_h+set}" = set; then
90430   echo $ECHO_N "(cached) $ECHO_C" >&6
90431 fi
90432 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
90433 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
90434 else
90435   # Is the header compilable?
90436 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
90437 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
90438 cat >conftest.$ac_ext <<_ACEOF
90439 /* confdefs.h.  */
90440 _ACEOF
90441 cat confdefs.h >>conftest.$ac_ext
90442 cat >>conftest.$ac_ext <<_ACEOF
90443 /* end confdefs.h.  */
90444 $ac_includes_default
90445 #include <langinfo.h>
90446 _ACEOF
90447 rm -f conftest.$ac_objext
90448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90449   (eval $ac_compile) 2>conftest.er1
90450   ac_status=$?
90451   grep -v '^ *+' conftest.er1 >conftest.err
90452   rm -f conftest.er1
90453   cat conftest.err >&5
90454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90455   (exit $ac_status); } &&
90456          { ac_try='test -z "$ac_c_werror_flag"
90457                          || test ! -s conftest.err'
90458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90459   (eval $ac_try) 2>&5
90460   ac_status=$?
90461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90462   (exit $ac_status); }; } &&
90463          { ac_try='test -s conftest.$ac_objext'
90464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90465   (eval $ac_try) 2>&5
90466   ac_status=$?
90467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90468   (exit $ac_status); }; }; then
90469   ac_header_compiler=yes
90470 else
90471   echo "$as_me: failed program was:" >&5
90472 sed 's/^/| /' conftest.$ac_ext >&5
90473
90474 ac_header_compiler=no
90475 fi
90476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90477 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90478 echo "${ECHO_T}$ac_header_compiler" >&6
90479
90480 # Is the header present?
90481 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
90482 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
90483 cat >conftest.$ac_ext <<_ACEOF
90484 /* confdefs.h.  */
90485 _ACEOF
90486 cat confdefs.h >>conftest.$ac_ext
90487 cat >>conftest.$ac_ext <<_ACEOF
90488 /* end confdefs.h.  */
90489 #include <langinfo.h>
90490 _ACEOF
90491 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90492   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90493   ac_status=$?
90494   grep -v '^ *+' conftest.er1 >conftest.err
90495   rm -f conftest.er1
90496   cat conftest.err >&5
90497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90498   (exit $ac_status); } >/dev/null; then
90499   if test -s conftest.err; then
90500     ac_cpp_err=$ac_c_preproc_warn_flag
90501     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90502   else
90503     ac_cpp_err=
90504   fi
90505 else
90506   ac_cpp_err=yes
90507 fi
90508 if test -z "$ac_cpp_err"; then
90509   ac_header_preproc=yes
90510 else
90511   echo "$as_me: failed program was:" >&5
90512 sed 's/^/| /' conftest.$ac_ext >&5
90513
90514   ac_header_preproc=no
90515 fi
90516 rm -f conftest.err conftest.$ac_ext
90517 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90518 echo "${ECHO_T}$ac_header_preproc" >&6
90519
90520 # So?  What about this header?
90521 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90522   yes:no: )
90523     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
90524 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
90525     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
90526 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
90527     ac_header_preproc=yes
90528     ;;
90529   no:yes:* )
90530     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
90531 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
90532     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
90533 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
90534     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
90535 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
90536     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
90537 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
90538     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
90539 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
90540     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
90541 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
90542     (
90543       cat <<\_ASBOX
90544 ## ----------------------------------------- ##
90545 ## Report this to the package-unused lists.  ##
90546 ## ----------------------------------------- ##
90547 _ASBOX
90548     ) |
90549       sed "s/^/$as_me: WARNING:     /" >&2
90550     ;;
90551 esac
90552 echo "$as_me:$LINENO: checking for langinfo.h" >&5
90553 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
90554 if test "${ac_cv_header_langinfo_h+set}" = set; then
90555   echo $ECHO_N "(cached) $ECHO_C" >&6
90556 else
90557   ac_cv_header_langinfo_h=$ac_header_preproc
90558 fi
90559 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
90560 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
90561
90562 fi
90563 if test $ac_cv_header_langinfo_h = yes; then
90564   ac_has_langinfo_h=yes
90565 else
90566   ac_has_langinfo_h=no
90567 fi
90568
90569
90570
90571     # Check for existence of libiconv.a providing XPG2 wchar_t support.
90572     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
90573 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
90574 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
90575   echo $ECHO_N "(cached) $ECHO_C" >&6
90576 else
90577   ac_check_lib_save_LIBS=$LIBS
90578 LIBS="-liconv  $LIBS"
90579 if test x$gcc_no_link = xyes; then
90580   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90582    { (exit 1); exit 1; }; }
90583 fi
90584 cat >conftest.$ac_ext <<_ACEOF
90585 /* confdefs.h.  */
90586 _ACEOF
90587 cat confdefs.h >>conftest.$ac_ext
90588 cat >>conftest.$ac_ext <<_ACEOF
90589 /* end confdefs.h.  */
90590
90591 /* Override any gcc2 internal prototype to avoid an error.  */
90592 #ifdef __cplusplus
90593 extern "C"
90594 #endif
90595 /* We use char because int might match the return type of a gcc2
90596    builtin and then its argument prototype would still apply.  */
90597 char iconv ();
90598 int
90599 main ()
90600 {
90601 iconv ();
90602   ;
90603   return 0;
90604 }
90605 _ACEOF
90606 rm -f conftest.$ac_objext conftest$ac_exeext
90607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90608   (eval $ac_link) 2>conftest.er1
90609   ac_status=$?
90610   grep -v '^ *+' conftest.er1 >conftest.err
90611   rm -f conftest.er1
90612   cat conftest.err >&5
90613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90614   (exit $ac_status); } &&
90615          { ac_try='test -z "$ac_c_werror_flag"
90616                          || test ! -s conftest.err'
90617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90618   (eval $ac_try) 2>&5
90619   ac_status=$?
90620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90621   (exit $ac_status); }; } &&
90622          { ac_try='test -s conftest$ac_exeext'
90623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90624   (eval $ac_try) 2>&5
90625   ac_status=$?
90626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90627   (exit $ac_status); }; }; then
90628   ac_cv_lib_iconv_iconv=yes
90629 else
90630   echo "$as_me: failed program was:" >&5
90631 sed 's/^/| /' conftest.$ac_ext >&5
90632
90633 ac_cv_lib_iconv_iconv=no
90634 fi
90635 rm -f conftest.err conftest.$ac_objext \
90636       conftest$ac_exeext conftest.$ac_ext
90637 LIBS=$ac_check_lib_save_LIBS
90638 fi
90639 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
90640 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
90641 if test $ac_cv_lib_iconv_iconv = yes; then
90642   LIBICONV="-liconv"
90643 fi
90644
90645     ac_save_LIBS="$LIBS"
90646     LIBS="$LIBS $LIBICONV"
90647
90648
90649
90650
90651
90652
90653 for ac_func in iconv_open iconv_close iconv nl_langinfo
90654 do
90655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90656 echo "$as_me:$LINENO: checking for $ac_func" >&5
90657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90658 if eval "test \"\${$as_ac_var+set}\" = set"; then
90659   echo $ECHO_N "(cached) $ECHO_C" >&6
90660 else
90661   if test x$gcc_no_link = xyes; then
90662   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90664    { (exit 1); exit 1; }; }
90665 fi
90666 cat >conftest.$ac_ext <<_ACEOF
90667 /* confdefs.h.  */
90668 _ACEOF
90669 cat confdefs.h >>conftest.$ac_ext
90670 cat >>conftest.$ac_ext <<_ACEOF
90671 /* end confdefs.h.  */
90672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90673    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90674 #define $ac_func innocuous_$ac_func
90675
90676 /* System header to define __stub macros and hopefully few prototypes,
90677     which can conflict with char $ac_func (); below.
90678     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90679     <limits.h> exists even on freestanding compilers.  */
90680
90681 #ifdef __STDC__
90682 # include <limits.h>
90683 #else
90684 # include <assert.h>
90685 #endif
90686
90687 #undef $ac_func
90688
90689 /* Override any gcc2 internal prototype to avoid an error.  */
90690 #ifdef __cplusplus
90691 extern "C"
90692 {
90693 #endif
90694 /* We use char because int might match the return type of a gcc2
90695    builtin and then its argument prototype would still apply.  */
90696 char $ac_func ();
90697 /* The GNU C library defines this for functions which it implements
90698     to always fail with ENOSYS.  Some functions are actually named
90699     something starting with __ and the normal name is an alias.  */
90700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90701 choke me
90702 #else
90703 char (*f) () = $ac_func;
90704 #endif
90705 #ifdef __cplusplus
90706 }
90707 #endif
90708
90709 int
90710 main ()
90711 {
90712 return f != $ac_func;
90713   ;
90714   return 0;
90715 }
90716 _ACEOF
90717 rm -f conftest.$ac_objext conftest$ac_exeext
90718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90719   (eval $ac_link) 2>conftest.er1
90720   ac_status=$?
90721   grep -v '^ *+' conftest.er1 >conftest.err
90722   rm -f conftest.er1
90723   cat conftest.err >&5
90724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90725   (exit $ac_status); } &&
90726          { ac_try='test -z "$ac_c_werror_flag"
90727                          || test ! -s conftest.err'
90728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90729   (eval $ac_try) 2>&5
90730   ac_status=$?
90731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90732   (exit $ac_status); }; } &&
90733          { ac_try='test -s conftest$ac_exeext'
90734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90735   (eval $ac_try) 2>&5
90736   ac_status=$?
90737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90738   (exit $ac_status); }; }; then
90739   eval "$as_ac_var=yes"
90740 else
90741   echo "$as_me: failed program was:" >&5
90742 sed 's/^/| /' conftest.$ac_ext >&5
90743
90744 eval "$as_ac_var=no"
90745 fi
90746 rm -f conftest.err conftest.$ac_objext \
90747       conftest$ac_exeext conftest.$ac_ext
90748 fi
90749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90751 if test `eval echo '${'$as_ac_var'}'` = yes; then
90752   cat >>confdefs.h <<_ACEOF
90753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90754 _ACEOF
90755  ac_XPG2funcs=yes
90756 else
90757   ac_XPG2funcs=no
90758 fi
90759 done
90760
90761
90762     LIBS="$ac_save_LIBS"
90763
90764     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
90765 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
90766     if test x"$ac_has_iconv_h" = xyes &&
90767        test x"$ac_has_langinfo_h" = xyes &&
90768        test x"$ac_XPG2funcs" = xyes;
90769     then
90770       ac_XPG2_wchar_t=yes
90771     else
90772       ac_XPG2_wchar_t=no
90773     fi
90774     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
90775 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
90776
90777     # At the moment, only enable wchar_t specializations if all the
90778     # above support is present.
90779     if test x"$ac_isoC99_wchar_t" = xyes &&
90780        test x"$ac_XPG2_wchar_t" = xyes;
90781     then
90782       cat >>confdefs.h <<\_ACEOF
90783 #define _GLIBCXX_USE_WCHAR_T 1
90784 _ACEOF
90785
90786       enable_wchar_t=yes
90787     fi
90788   fi
90789   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
90790 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
90791   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
90792 echo "${ECHO_T}$enable_wchar_t" >&6
90793
90794          # All of the dependencies for wide character support are here, so
90795          # turn it on.  This requires some syncronization with the
90796          # GLIBCXX_CHECK_WCHAR_T_SUPPORT in acinclude.m4
90797          cat >>confdefs.h <<\_ACEOF
90798 #define _GLIBCXX_USE_WCHAR_T 1
90799 _ACEOF
90800
90801          # Are these tested for even when cross?
90802          cat >>confdefs.h <<\_ACEOF
90803 #define HAVE_FLOAT_H 1
90804 _ACEOF
90805
90806          cat >>confdefs.h <<\_ACEOF
90807 #define HAVE_IEEEFP_H 1
90808 _ACEOF
90809
90810          cat >>confdefs.h <<\_ACEOF
90811 #define HAVE_INTTYPES_H 1
90812 _ACEOF
90813
90814          cat >>confdefs.h <<\_ACEOF
90815 #define HAVE_LOCALE_H 1
90816 _ACEOF
90817
90818          cat >>confdefs.h <<\_ACEOF
90819 #define HAVE_NAN_H 1
90820 _ACEOF
90821
90822          cat >>confdefs.h <<\_ACEOF
90823 #define HAVE_SYS_FILIO_H 1
90824 _ACEOF
90825
90826          cat >>confdefs.h <<\_ACEOF
90827 #define HAVE_SYS_IOCTL_H 1
90828 _ACEOF
90829
90830          cat >>confdefs.h <<\_ACEOF
90831 #define HAVE_SYS_ISA_DEFS_H 1
90832 _ACEOF
90833
90834          cat >>confdefs.h <<\_ACEOF
90835 #define HAVE_SYS_RESOURCE_H 1
90836 _ACEOF
90837
90838          cat >>confdefs.h <<\_ACEOF
90839 #define HAVE_SYS_TIME_H 1
90840 _ACEOF
90841
90842          cat >>confdefs.h <<\_ACEOF
90843 #define HAVE_SYS_TYPES_H 1
90844 _ACEOF
90845
90846          cat >>confdefs.h <<\_ACEOF
90847 #define HAVE_UNISTD_H 1
90848 _ACEOF
90849
90850          cat >>confdefs.h <<\_ACEOF
90851 #define HAVE_WCHAR_H 1
90852 _ACEOF
90853
90854          cat >>confdefs.h <<\_ACEOF
90855 #define HAVE_WCTYPE_H 1
90856 _ACEOF
90857
90858          cat >>confdefs.h <<\_ACEOF
90859 #define HAVE_LIBM 1
90860 _ACEOF
90861
90862         ;;
90863     esac
90864     case "$target" in
90865       sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
90866         # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
90867         cat >>confdefs.h <<\_ACEOF
90868 #define HAVE___BUILTIN_ABS 1
90869 _ACEOF
90870
90871         cat >>confdefs.h <<\_ACEOF
90872 #define HAVE___BUILTIN_LABS 1
90873 _ACEOF
90874
90875         cat >>confdefs.h <<\_ACEOF
90876 #define HAVE___BUILTIN_FABS 1
90877 _ACEOF
90878
90879         cat >>confdefs.h <<\_ACEOF
90880 #define HAVE___BUILTIN_FABSF 1
90881 _ACEOF
90882
90883         cat >>confdefs.h <<\_ACEOF
90884 #define HAVE___BUILTIN_FABSL 1
90885 _ACEOF
90886
90887         cat >>confdefs.h <<\_ACEOF
90888 #define HAVE___BUILTIN_COS 1
90889 _ACEOF
90890
90891         cat >>confdefs.h <<\_ACEOF
90892 #define HAVE___BUILTIN_COSF 1
90893 _ACEOF
90894
90895         cat >>confdefs.h <<\_ACEOF
90896 #define HAVE___BUILTIN_SIN 1
90897 _ACEOF
90898
90899         cat >>confdefs.h <<\_ACEOF
90900 #define HAVE___BUILTIN_SINF 1
90901 _ACEOF
90902
90903        ;;
90904     esac
90905     cat >>confdefs.h <<\_ACEOF
90906 #define HAVE_STRTOF 1
90907 _ACEOF
90908
90909     cat >>confdefs.h <<\_ACEOF
90910 #define HAVE_STRTOLD 1
90911 _ACEOF
90912
90913     cat >>confdefs.h <<\_ACEOF
90914 #define HAVE_MMAP 1
90915 _ACEOF
90916
90917     cat >>confdefs.h <<\_ACEOF
90918 #define HAVE_COPYSIGN 1
90919 _ACEOF
90920
90921     cat >>confdefs.h <<\_ACEOF
90922 #define HAVE_ISNAN 1
90923 _ACEOF
90924
90925     cat >>confdefs.h <<\_ACEOF
90926 #define HAVE_ISNANF 1
90927 _ACEOF
90928
90929     cat >>confdefs.h <<\_ACEOF
90930 #define HAVE_MODFF 1
90931 _ACEOF
90932
90933     cat >>confdefs.h <<\_ACEOF
90934 #define HAVE_HYPOT 1
90935 _ACEOF
90936
90937     ;;
90938   *-tpf)
90939
90940
90941
90942
90943
90944
90945
90946
90947 for ac_header in nan.h endian.h machine/endian.h  \
90948       sys/param.h sys/types.h locale.h float.h inttypes.h
90949 do
90950 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
90951 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90952   echo "$as_me:$LINENO: checking for $ac_header" >&5
90953 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90954 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90955   echo $ECHO_N "(cached) $ECHO_C" >&6
90956 fi
90957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90958 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90959 else
90960   # Is the header compilable?
90961 echo "$as_me:$LINENO: checking $ac_header usability" >&5
90962 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
90963 cat >conftest.$ac_ext <<_ACEOF
90964 /* confdefs.h.  */
90965 _ACEOF
90966 cat confdefs.h >>conftest.$ac_ext
90967 cat >>conftest.$ac_ext <<_ACEOF
90968 /* end confdefs.h.  */
90969 $ac_includes_default
90970 #include <$ac_header>
90971 _ACEOF
90972 rm -f conftest.$ac_objext
90973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90974   (eval $ac_compile) 2>conftest.er1
90975   ac_status=$?
90976   grep -v '^ *+' conftest.er1 >conftest.err
90977   rm -f conftest.er1
90978   cat conftest.err >&5
90979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90980   (exit $ac_status); } &&
90981          { ac_try='test -z "$ac_c_werror_flag"
90982                          || test ! -s conftest.err'
90983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90984   (eval $ac_try) 2>&5
90985   ac_status=$?
90986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90987   (exit $ac_status); }; } &&
90988          { ac_try='test -s conftest.$ac_objext'
90989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90990   (eval $ac_try) 2>&5
90991   ac_status=$?
90992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90993   (exit $ac_status); }; }; then
90994   ac_header_compiler=yes
90995 else
90996   echo "$as_me: failed program was:" >&5
90997 sed 's/^/| /' conftest.$ac_ext >&5
90998
90999 ac_header_compiler=no
91000 fi
91001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91002 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91003 echo "${ECHO_T}$ac_header_compiler" >&6
91004
91005 # Is the header present?
91006 echo "$as_me:$LINENO: checking $ac_header presence" >&5
91007 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
91008 cat >conftest.$ac_ext <<_ACEOF
91009 /* confdefs.h.  */
91010 _ACEOF
91011 cat confdefs.h >>conftest.$ac_ext
91012 cat >>conftest.$ac_ext <<_ACEOF
91013 /* end confdefs.h.  */
91014 #include <$ac_header>
91015 _ACEOF
91016 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91017   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91018   ac_status=$?
91019   grep -v '^ *+' conftest.er1 >conftest.err
91020   rm -f conftest.er1
91021   cat conftest.err >&5
91022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91023   (exit $ac_status); } >/dev/null; then
91024   if test -s conftest.err; then
91025     ac_cpp_err=$ac_c_preproc_warn_flag
91026     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91027   else
91028     ac_cpp_err=
91029   fi
91030 else
91031   ac_cpp_err=yes
91032 fi
91033 if test -z "$ac_cpp_err"; then
91034   ac_header_preproc=yes
91035 else
91036   echo "$as_me: failed program was:" >&5
91037 sed 's/^/| /' conftest.$ac_ext >&5
91038
91039   ac_header_preproc=no
91040 fi
91041 rm -f conftest.err conftest.$ac_ext
91042 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91043 echo "${ECHO_T}$ac_header_preproc" >&6
91044
91045 # So?  What about this header?
91046 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91047   yes:no: )
91048     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
91049 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
91050     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
91051 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
91052     ac_header_preproc=yes
91053     ;;
91054   no:yes:* )
91055     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
91056 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
91057     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
91058 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
91059     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
91060 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
91061     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
91062 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
91063     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
91064 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
91065     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
91066 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
91067     (
91068       cat <<\_ASBOX
91069 ## ----------------------------------------- ##
91070 ## Report this to the package-unused lists.  ##
91071 ## ----------------------------------------- ##
91072 _ASBOX
91073     ) |
91074       sed "s/^/$as_me: WARNING:     /" >&2
91075     ;;
91076 esac
91077 echo "$as_me:$LINENO: checking for $ac_header" >&5
91078 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
91079 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91080   echo $ECHO_N "(cached) $ECHO_C" >&6
91081 else
91082   eval "$as_ac_Header=\$ac_header_preproc"
91083 fi
91084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
91085 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
91086
91087 fi
91088 if test `eval echo '${'$as_ac_Header'}'` = yes; then
91089   cat >>confdefs.h <<_ACEOF
91090 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
91091 _ACEOF
91092
91093 fi
91094
91095 done
91096
91097     SECTION_FLAGS='-ffunction-sections -fdata-sections'
91098
91099
91100   # If we're not using GNU ld, then there's no point in even trying these
91101   # tests.  Check for that first.  We should have already tested for gld
91102   # by now (in libtool), but require it now just to be safe...
91103   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
91104   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
91105
91106
91107
91108   # The name set by libtool depends on the version of libtool.  Shame on us
91109   # for depending on an impl detail, but c'est la vie.  Older versions used
91110   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
91111   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
91112   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
91113   # set (hence we're using an older libtool), then set it.
91114   if test x${with_gnu_ld+set} != xset; then
91115     if test x${ac_cv_prog_gnu_ld+set} != xset; then
91116       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
91117       with_gnu_ld=no
91118     else
91119       with_gnu_ld=$ac_cv_prog_gnu_ld
91120     fi
91121   fi
91122
91123   # Start by getting the version number.  I think the libtool test already
91124   # does some of this, but throws away the result.
91125
91126   ldver=`$LD --version 2>/dev/null | head -1 | \
91127          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
91128
91129   glibcxx_gnu_ld_version=`echo $ldver | \
91130          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
91131
91132   # Set --gc-sections.
91133   if test "$with_gnu_ld" = "notbroken"; then
91134     # GNU ld it is!  Joy and bunny rabbits!
91135
91136     # All these tests are for C++; save the language and the compiler flags.
91137     # Need to do this so that g++ won't try to link in libstdc++
91138     ac_test_CFLAGS="${CFLAGS+set}"
91139     ac_save_CFLAGS="$CFLAGS"
91140     CFLAGS='-x c++  -Wl,--gc-sections'
91141
91142     # Check for -Wl,--gc-sections
91143     # XXX This test is broken at the moment, as symbols required for linking
91144     # are now in libsupc++ (not built yet).  In addition, this test has
91145     # cored on solaris in the past.  In addition, --gc-sections doesn't
91146     # really work at the moment (keeps on discarding used sections, first
91147     # .eh_frame and now some of the glibc sections for iconv).
91148     # Bzzzzt.  Thanks for playing, maybe next time.
91149     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
91150 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
91151     if test "$cross_compiling" = yes; then
91152   ac_sectionLDflags=yes
91153 else
91154   cat >conftest.$ac_ext <<_ACEOF
91155 /* confdefs.h.  */
91156 _ACEOF
91157 cat confdefs.h >>conftest.$ac_ext
91158 cat >>conftest.$ac_ext <<_ACEOF
91159 /* end confdefs.h.  */
91160
91161      int main(void)
91162      {
91163        try { throw 1; }
91164        catch (...) { };
91165        return 0;
91166      }
91167
91168 _ACEOF
91169 rm -f conftest$ac_exeext
91170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91171   (eval $ac_link) 2>&5
91172   ac_status=$?
91173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91174   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
91175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91176   (eval $ac_try) 2>&5
91177   ac_status=$?
91178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91179   (exit $ac_status); }; }; then
91180   ac_sectionLDflags=yes
91181 else
91182   echo "$as_me: program exited with status $ac_status" >&5
91183 echo "$as_me: failed program was:" >&5
91184 sed 's/^/| /' conftest.$ac_ext >&5
91185
91186 ( exit $ac_status )
91187 ac_sectionLDflags=no
91188 fi
91189 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
91190 fi
91191     if test "$ac_test_CFLAGS" = set; then
91192       CFLAGS="$ac_save_CFLAGS"
91193     else
91194       # this is the suspicious part
91195       CFLAGS=''
91196     fi
91197     if test "$ac_sectionLDflags" = "yes"; then
91198       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
91199     fi
91200     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
91201 echo "${ECHO_T}$ac_sectionLDflags" >&6
91202   fi
91203
91204   # Set linker optimization flags.
91205   if test x"$with_gnu_ld" = x"yes"; then
91206     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
91207   fi
91208
91209
91210
91211
91212
91213
91214 echo "$as_me:$LINENO: checking for main in -lm" >&5
91215 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
91216 if test "${ac_cv_lib_m_main+set}" = set; then
91217   echo $ECHO_N "(cached) $ECHO_C" >&6
91218 else
91219   ac_check_lib_save_LIBS=$LIBS
91220 LIBS="-lm  $LIBS"
91221 if test x$gcc_no_link = xyes; then
91222   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91224    { (exit 1); exit 1; }; }
91225 fi
91226 cat >conftest.$ac_ext <<_ACEOF
91227 /* confdefs.h.  */
91228 _ACEOF
91229 cat confdefs.h >>conftest.$ac_ext
91230 cat >>conftest.$ac_ext <<_ACEOF
91231 /* end confdefs.h.  */
91232
91233
91234 int
91235 main ()
91236 {
91237 main ();
91238   ;
91239   return 0;
91240 }
91241 _ACEOF
91242 rm -f conftest.$ac_objext conftest$ac_exeext
91243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91244   (eval $ac_link) 2>conftest.er1
91245   ac_status=$?
91246   grep -v '^ *+' conftest.er1 >conftest.err
91247   rm -f conftest.er1
91248   cat conftest.err >&5
91249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91250   (exit $ac_status); } &&
91251          { ac_try='test -z "$ac_c_werror_flag"
91252                          || test ! -s conftest.err'
91253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91254   (eval $ac_try) 2>&5
91255   ac_status=$?
91256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91257   (exit $ac_status); }; } &&
91258          { ac_try='test -s conftest$ac_exeext'
91259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91260   (eval $ac_try) 2>&5
91261   ac_status=$?
91262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91263   (exit $ac_status); }; }; then
91264   ac_cv_lib_m_main=yes
91265 else
91266   echo "$as_me: failed program was:" >&5
91267 sed 's/^/| /' conftest.$ac_ext >&5
91268
91269 ac_cv_lib_m_main=no
91270 fi
91271 rm -f conftest.err conftest.$ac_objext \
91272       conftest$ac_exeext conftest.$ac_ext
91273 LIBS=$ac_check_lib_save_LIBS
91274 fi
91275 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
91276 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
91277 if test $ac_cv_lib_m_main = yes; then
91278   cat >>confdefs.h <<_ACEOF
91279 #define HAVE_LIBM 1
91280 _ACEOF
91281
91282   LIBS="-lm $LIBS"
91283
91284 fi
91285
91286
91287 for ac_func in copysignf
91288 do
91289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91290 echo "$as_me:$LINENO: checking for $ac_func" >&5
91291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91292 if eval "test \"\${$as_ac_var+set}\" = set"; then
91293   echo $ECHO_N "(cached) $ECHO_C" >&6
91294 else
91295   if test x$gcc_no_link = xyes; then
91296   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91298    { (exit 1); exit 1; }; }
91299 fi
91300 cat >conftest.$ac_ext <<_ACEOF
91301 /* confdefs.h.  */
91302 _ACEOF
91303 cat confdefs.h >>conftest.$ac_ext
91304 cat >>conftest.$ac_ext <<_ACEOF
91305 /* end confdefs.h.  */
91306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91307    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91308 #define $ac_func innocuous_$ac_func
91309
91310 /* System header to define __stub macros and hopefully few prototypes,
91311     which can conflict with char $ac_func (); below.
91312     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91313     <limits.h> exists even on freestanding compilers.  */
91314
91315 #ifdef __STDC__
91316 # include <limits.h>
91317 #else
91318 # include <assert.h>
91319 #endif
91320
91321 #undef $ac_func
91322
91323 /* Override any gcc2 internal prototype to avoid an error.  */
91324 #ifdef __cplusplus
91325 extern "C"
91326 {
91327 #endif
91328 /* We use char because int might match the return type of a gcc2
91329    builtin and then its argument prototype would still apply.  */
91330 char $ac_func ();
91331 /* The GNU C library defines this for functions which it implements
91332     to always fail with ENOSYS.  Some functions are actually named
91333     something starting with __ and the normal name is an alias.  */
91334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91335 choke me
91336 #else
91337 char (*f) () = $ac_func;
91338 #endif
91339 #ifdef __cplusplus
91340 }
91341 #endif
91342
91343 int
91344 main ()
91345 {
91346 return f != $ac_func;
91347   ;
91348   return 0;
91349 }
91350 _ACEOF
91351 rm -f conftest.$ac_objext conftest$ac_exeext
91352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91353   (eval $ac_link) 2>conftest.er1
91354   ac_status=$?
91355   grep -v '^ *+' conftest.er1 >conftest.err
91356   rm -f conftest.er1
91357   cat conftest.err >&5
91358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91359   (exit $ac_status); } &&
91360          { ac_try='test -z "$ac_c_werror_flag"
91361                          || test ! -s conftest.err'
91362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91363   (eval $ac_try) 2>&5
91364   ac_status=$?
91365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91366   (exit $ac_status); }; } &&
91367          { ac_try='test -s conftest$ac_exeext'
91368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91369   (eval $ac_try) 2>&5
91370   ac_status=$?
91371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91372   (exit $ac_status); }; }; then
91373   eval "$as_ac_var=yes"
91374 else
91375   echo "$as_me: failed program was:" >&5
91376 sed 's/^/| /' conftest.$ac_ext >&5
91377
91378 eval "$as_ac_var=no"
91379 fi
91380 rm -f conftest.err conftest.$ac_objext \
91381       conftest$ac_exeext conftest.$ac_ext
91382 fi
91383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91385 if test `eval echo '${'$as_ac_var'}'` = yes; then
91386   cat >>confdefs.h <<_ACEOF
91387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91388 _ACEOF
91389
91390 else
91391   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
91392 fi
91393 done
91394
91395
91396
91397 for ac_func in __signbit
91398 do
91399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91400 echo "$as_me:$LINENO: checking for $ac_func" >&5
91401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91402 if eval "test \"\${$as_ac_var+set}\" = set"; then
91403   echo $ECHO_N "(cached) $ECHO_C" >&6
91404 else
91405   if test x$gcc_no_link = xyes; then
91406   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91408    { (exit 1); exit 1; }; }
91409 fi
91410 cat >conftest.$ac_ext <<_ACEOF
91411 /* confdefs.h.  */
91412 _ACEOF
91413 cat confdefs.h >>conftest.$ac_ext
91414 cat >>conftest.$ac_ext <<_ACEOF
91415 /* end confdefs.h.  */
91416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91417    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91418 #define $ac_func innocuous_$ac_func
91419
91420 /* System header to define __stub macros and hopefully few prototypes,
91421     which can conflict with char $ac_func (); below.
91422     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91423     <limits.h> exists even on freestanding compilers.  */
91424
91425 #ifdef __STDC__
91426 # include <limits.h>
91427 #else
91428 # include <assert.h>
91429 #endif
91430
91431 #undef $ac_func
91432
91433 /* Override any gcc2 internal prototype to avoid an error.  */
91434 #ifdef __cplusplus
91435 extern "C"
91436 {
91437 #endif
91438 /* We use char because int might match the return type of a gcc2
91439    builtin and then its argument prototype would still apply.  */
91440 char $ac_func ();
91441 /* The GNU C library defines this for functions which it implements
91442     to always fail with ENOSYS.  Some functions are actually named
91443     something starting with __ and the normal name is an alias.  */
91444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91445 choke me
91446 #else
91447 char (*f) () = $ac_func;
91448 #endif
91449 #ifdef __cplusplus
91450 }
91451 #endif
91452
91453 int
91454 main ()
91455 {
91456 return f != $ac_func;
91457   ;
91458   return 0;
91459 }
91460 _ACEOF
91461 rm -f conftest.$ac_objext conftest$ac_exeext
91462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91463   (eval $ac_link) 2>conftest.er1
91464   ac_status=$?
91465   grep -v '^ *+' conftest.er1 >conftest.err
91466   rm -f conftest.er1
91467   cat conftest.err >&5
91468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91469   (exit $ac_status); } &&
91470          { ac_try='test -z "$ac_c_werror_flag"
91471                          || test ! -s conftest.err'
91472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91473   (eval $ac_try) 2>&5
91474   ac_status=$?
91475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91476   (exit $ac_status); }; } &&
91477          { ac_try='test -s conftest$ac_exeext'
91478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91479   (eval $ac_try) 2>&5
91480   ac_status=$?
91481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91482   (exit $ac_status); }; }; then
91483   eval "$as_ac_var=yes"
91484 else
91485   echo "$as_me: failed program was:" >&5
91486 sed 's/^/| /' conftest.$ac_ext >&5
91487
91488 eval "$as_ac_var=no"
91489 fi
91490 rm -f conftest.err conftest.$ac_objext \
91491       conftest$ac_exeext conftest.$ac_ext
91492 fi
91493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91495 if test `eval echo '${'$as_ac_var'}'` = yes; then
91496   cat >>confdefs.h <<_ACEOF
91497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91498 _ACEOF
91499
91500 else
91501   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
91502 fi
91503 done
91504
91505
91506
91507 for ac_func in __signbitf
91508 do
91509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91510 echo "$as_me:$LINENO: checking for $ac_func" >&5
91511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91512 if eval "test \"\${$as_ac_var+set}\" = set"; then
91513   echo $ECHO_N "(cached) $ECHO_C" >&6
91514 else
91515   if test x$gcc_no_link = xyes; then
91516   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91518    { (exit 1); exit 1; }; }
91519 fi
91520 cat >conftest.$ac_ext <<_ACEOF
91521 /* confdefs.h.  */
91522 _ACEOF
91523 cat confdefs.h >>conftest.$ac_ext
91524 cat >>conftest.$ac_ext <<_ACEOF
91525 /* end confdefs.h.  */
91526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91527    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91528 #define $ac_func innocuous_$ac_func
91529
91530 /* System header to define __stub macros and hopefully few prototypes,
91531     which can conflict with char $ac_func (); below.
91532     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91533     <limits.h> exists even on freestanding compilers.  */
91534
91535 #ifdef __STDC__
91536 # include <limits.h>
91537 #else
91538 # include <assert.h>
91539 #endif
91540
91541 #undef $ac_func
91542
91543 /* Override any gcc2 internal prototype to avoid an error.  */
91544 #ifdef __cplusplus
91545 extern "C"
91546 {
91547 #endif
91548 /* We use char because int might match the return type of a gcc2
91549    builtin and then its argument prototype would still apply.  */
91550 char $ac_func ();
91551 /* The GNU C library defines this for functions which it implements
91552     to always fail with ENOSYS.  Some functions are actually named
91553     something starting with __ and the normal name is an alias.  */
91554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91555 choke me
91556 #else
91557 char (*f) () = $ac_func;
91558 #endif
91559 #ifdef __cplusplus
91560 }
91561 #endif
91562
91563 int
91564 main ()
91565 {
91566 return f != $ac_func;
91567   ;
91568   return 0;
91569 }
91570 _ACEOF
91571 rm -f conftest.$ac_objext conftest$ac_exeext
91572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91573   (eval $ac_link) 2>conftest.er1
91574   ac_status=$?
91575   grep -v '^ *+' conftest.er1 >conftest.err
91576   rm -f conftest.er1
91577   cat conftest.err >&5
91578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91579   (exit $ac_status); } &&
91580          { ac_try='test -z "$ac_c_werror_flag"
91581                          || test ! -s conftest.err'
91582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91583   (eval $ac_try) 2>&5
91584   ac_status=$?
91585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91586   (exit $ac_status); }; } &&
91587          { ac_try='test -s conftest$ac_exeext'
91588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91589   (eval $ac_try) 2>&5
91590   ac_status=$?
91591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91592   (exit $ac_status); }; }; then
91593   eval "$as_ac_var=yes"
91594 else
91595   echo "$as_me: failed program was:" >&5
91596 sed 's/^/| /' conftest.$ac_ext >&5
91597
91598 eval "$as_ac_var=no"
91599 fi
91600 rm -f conftest.err conftest.$ac_objext \
91601       conftest$ac_exeext conftest.$ac_ext
91602 fi
91603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91605 if test `eval echo '${'$as_ac_var'}'` = yes; then
91606   cat >>confdefs.h <<_ACEOF
91607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91608 _ACEOF
91609
91610 else
91611   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
91612 fi
91613 done
91614
91615
91616           if test x$ac_cv_func_copysignl = x"yes"; then
91617
91618 for ac_func in __signbitl
91619 do
91620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91621 echo "$as_me:$LINENO: checking for $ac_func" >&5
91622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91623 if eval "test \"\${$as_ac_var+set}\" = set"; then
91624   echo $ECHO_N "(cached) $ECHO_C" >&6
91625 else
91626   if test x$gcc_no_link = xyes; then
91627   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91629    { (exit 1); exit 1; }; }
91630 fi
91631 cat >conftest.$ac_ext <<_ACEOF
91632 /* confdefs.h.  */
91633 _ACEOF
91634 cat confdefs.h >>conftest.$ac_ext
91635 cat >>conftest.$ac_ext <<_ACEOF
91636 /* end confdefs.h.  */
91637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91638    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91639 #define $ac_func innocuous_$ac_func
91640
91641 /* System header to define __stub macros and hopefully few prototypes,
91642     which can conflict with char $ac_func (); below.
91643     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91644     <limits.h> exists even on freestanding compilers.  */
91645
91646 #ifdef __STDC__
91647 # include <limits.h>
91648 #else
91649 # include <assert.h>
91650 #endif
91651
91652 #undef $ac_func
91653
91654 /* Override any gcc2 internal prototype to avoid an error.  */
91655 #ifdef __cplusplus
91656 extern "C"
91657 {
91658 #endif
91659 /* We use char because int might match the return type of a gcc2
91660    builtin and then its argument prototype would still apply.  */
91661 char $ac_func ();
91662 /* The GNU C library defines this for functions which it implements
91663     to always fail with ENOSYS.  Some functions are actually named
91664     something starting with __ and the normal name is an alias.  */
91665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91666 choke me
91667 #else
91668 char (*f) () = $ac_func;
91669 #endif
91670 #ifdef __cplusplus
91671 }
91672 #endif
91673
91674 int
91675 main ()
91676 {
91677 return f != $ac_func;
91678   ;
91679   return 0;
91680 }
91681 _ACEOF
91682 rm -f conftest.$ac_objext conftest$ac_exeext
91683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91684   (eval $ac_link) 2>conftest.er1
91685   ac_status=$?
91686   grep -v '^ *+' conftest.er1 >conftest.err
91687   rm -f conftest.er1
91688   cat conftest.err >&5
91689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91690   (exit $ac_status); } &&
91691          { ac_try='test -z "$ac_c_werror_flag"
91692                          || test ! -s conftest.err'
91693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91694   (eval $ac_try) 2>&5
91695   ac_status=$?
91696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91697   (exit $ac_status); }; } &&
91698          { ac_try='test -s conftest$ac_exeext'
91699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91700   (eval $ac_try) 2>&5
91701   ac_status=$?
91702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91703   (exit $ac_status); }; }; then
91704   eval "$as_ac_var=yes"
91705 else
91706   echo "$as_me: failed program was:" >&5
91707 sed 's/^/| /' conftest.$ac_ext >&5
91708
91709 eval "$as_ac_var=no"
91710 fi
91711 rm -f conftest.err conftest.$ac_objext \
91712       conftest$ac_exeext conftest.$ac_ext
91713 fi
91714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91716 if test `eval echo '${'$as_ac_var'}'` = yes; then
91717   cat >>confdefs.h <<_ACEOF
91718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91719 _ACEOF
91720
91721 else
91722   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
91723 fi
91724 done
91725
91726   fi
91727
91728   # Used in libmath/Makefile.am.
91729   if test -n "$LIBMATHOBJS"; then
91730     need_libmath=yes
91731   fi
91732
91733
91734
91735   # Test wchar.h for mbstate_t, which is needed for char_traits and
91736   # others even if wchar_t support is not on.
91737   echo "$as_me:$LINENO: checking for mbstate_t" >&5
91738 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
91739   cat >conftest.$ac_ext <<_ACEOF
91740 /* confdefs.h.  */
91741 _ACEOF
91742 cat confdefs.h >>conftest.$ac_ext
91743 cat >>conftest.$ac_ext <<_ACEOF
91744 /* end confdefs.h.  */
91745 #include <wchar.h>
91746 int
91747 main ()
91748 {
91749 mbstate_t teststate;
91750   ;
91751   return 0;
91752 }
91753 _ACEOF
91754 rm -f conftest.$ac_objext
91755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91756   (eval $ac_compile) 2>conftest.er1
91757   ac_status=$?
91758   grep -v '^ *+' conftest.er1 >conftest.err
91759   rm -f conftest.er1
91760   cat conftest.err >&5
91761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91762   (exit $ac_status); } &&
91763          { ac_try='test -z "$ac_c_werror_flag"
91764                          || test ! -s conftest.err'
91765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91766   (eval $ac_try) 2>&5
91767   ac_status=$?
91768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91769   (exit $ac_status); }; } &&
91770          { ac_try='test -s conftest.$ac_objext'
91771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91772   (eval $ac_try) 2>&5
91773   ac_status=$?
91774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91775   (exit $ac_status); }; }; then
91776   have_mbstate_t=yes
91777 else
91778   echo "$as_me: failed program was:" >&5
91779 sed 's/^/| /' conftest.$ac_ext >&5
91780
91781 have_mbstate_t=no
91782 fi
91783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91784   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
91785 echo "${ECHO_T}$have_mbstate_t" >&6
91786   if test x"$have_mbstate_t" = xyes; then
91787     cat >>confdefs.h <<\_ACEOF
91788 #define HAVE_MBSTATE_T 1
91789 _ACEOF
91790
91791   fi
91792
91793   # Sanity check for existence of ISO C99 headers for extended encoding.
91794
91795 for ac_header in wchar.h
91796 do
91797 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
91798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91799   echo "$as_me:$LINENO: checking for $ac_header" >&5
91800 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
91801 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91802   echo $ECHO_N "(cached) $ECHO_C" >&6
91803 fi
91804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
91805 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
91806 else
91807   # Is the header compilable?
91808 echo "$as_me:$LINENO: checking $ac_header usability" >&5
91809 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
91810 cat >conftest.$ac_ext <<_ACEOF
91811 /* confdefs.h.  */
91812 _ACEOF
91813 cat confdefs.h >>conftest.$ac_ext
91814 cat >>conftest.$ac_ext <<_ACEOF
91815 /* end confdefs.h.  */
91816 $ac_includes_default
91817 #include <$ac_header>
91818 _ACEOF
91819 rm -f conftest.$ac_objext
91820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91821   (eval $ac_compile) 2>conftest.er1
91822   ac_status=$?
91823   grep -v '^ *+' conftest.er1 >conftest.err
91824   rm -f conftest.er1
91825   cat conftest.err >&5
91826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91827   (exit $ac_status); } &&
91828          { ac_try='test -z "$ac_c_werror_flag"
91829                          || test ! -s conftest.err'
91830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91831   (eval $ac_try) 2>&5
91832   ac_status=$?
91833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91834   (exit $ac_status); }; } &&
91835          { ac_try='test -s conftest.$ac_objext'
91836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91837   (eval $ac_try) 2>&5
91838   ac_status=$?
91839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91840   (exit $ac_status); }; }; then
91841   ac_header_compiler=yes
91842 else
91843   echo "$as_me: failed program was:" >&5
91844 sed 's/^/| /' conftest.$ac_ext >&5
91845
91846 ac_header_compiler=no
91847 fi
91848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91849 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91850 echo "${ECHO_T}$ac_header_compiler" >&6
91851
91852 # Is the header present?
91853 echo "$as_me:$LINENO: checking $ac_header presence" >&5
91854 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
91855 cat >conftest.$ac_ext <<_ACEOF
91856 /* confdefs.h.  */
91857 _ACEOF
91858 cat confdefs.h >>conftest.$ac_ext
91859 cat >>conftest.$ac_ext <<_ACEOF
91860 /* end confdefs.h.  */
91861 #include <$ac_header>
91862 _ACEOF
91863 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91864   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91865   ac_status=$?
91866   grep -v '^ *+' conftest.er1 >conftest.err
91867   rm -f conftest.er1
91868   cat conftest.err >&5
91869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91870   (exit $ac_status); } >/dev/null; then
91871   if test -s conftest.err; then
91872     ac_cpp_err=$ac_c_preproc_warn_flag
91873     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91874   else
91875     ac_cpp_err=
91876   fi
91877 else
91878   ac_cpp_err=yes
91879 fi
91880 if test -z "$ac_cpp_err"; then
91881   ac_header_preproc=yes
91882 else
91883   echo "$as_me: failed program was:" >&5
91884 sed 's/^/| /' conftest.$ac_ext >&5
91885
91886   ac_header_preproc=no
91887 fi
91888 rm -f conftest.err conftest.$ac_ext
91889 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91890 echo "${ECHO_T}$ac_header_preproc" >&6
91891
91892 # So?  What about this header?
91893 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91894   yes:no: )
91895     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
91896 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
91897     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
91898 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
91899     ac_header_preproc=yes
91900     ;;
91901   no:yes:* )
91902     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
91903 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
91904     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
91905 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
91906     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
91907 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
91908     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
91909 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
91910     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
91911 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
91912     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
91913 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
91914     (
91915       cat <<\_ASBOX
91916 ## ----------------------------------------- ##
91917 ## Report this to the package-unused lists.  ##
91918 ## ----------------------------------------- ##
91919 _ASBOX
91920     ) |
91921       sed "s/^/$as_me: WARNING:     /" >&2
91922     ;;
91923 esac
91924 echo "$as_me:$LINENO: checking for $ac_header" >&5
91925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
91926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91927   echo $ECHO_N "(cached) $ECHO_C" >&6
91928 else
91929   eval "$as_ac_Header=\$ac_header_preproc"
91930 fi
91931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
91932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
91933
91934 fi
91935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
91936   cat >>confdefs.h <<_ACEOF
91937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
91938 _ACEOF
91939  ac_has_wchar_h=yes
91940 else
91941   ac_has_wchar_h=no
91942 fi
91943
91944 done
91945
91946
91947 for ac_header in wctype.h
91948 do
91949 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
91950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91951   echo "$as_me:$LINENO: checking for $ac_header" >&5
91952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
91953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91954   echo $ECHO_N "(cached) $ECHO_C" >&6
91955 fi
91956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
91957 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
91958 else
91959   # Is the header compilable?
91960 echo "$as_me:$LINENO: checking $ac_header usability" >&5
91961 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
91962 cat >conftest.$ac_ext <<_ACEOF
91963 /* confdefs.h.  */
91964 _ACEOF
91965 cat confdefs.h >>conftest.$ac_ext
91966 cat >>conftest.$ac_ext <<_ACEOF
91967 /* end confdefs.h.  */
91968 $ac_includes_default
91969 #include <$ac_header>
91970 _ACEOF
91971 rm -f conftest.$ac_objext
91972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91973   (eval $ac_compile) 2>conftest.er1
91974   ac_status=$?
91975   grep -v '^ *+' conftest.er1 >conftest.err
91976   rm -f conftest.er1
91977   cat conftest.err >&5
91978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91979   (exit $ac_status); } &&
91980          { ac_try='test -z "$ac_c_werror_flag"
91981                          || test ! -s conftest.err'
91982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91983   (eval $ac_try) 2>&5
91984   ac_status=$?
91985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91986   (exit $ac_status); }; } &&
91987          { ac_try='test -s conftest.$ac_objext'
91988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91989   (eval $ac_try) 2>&5
91990   ac_status=$?
91991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91992   (exit $ac_status); }; }; then
91993   ac_header_compiler=yes
91994 else
91995   echo "$as_me: failed program was:" >&5
91996 sed 's/^/| /' conftest.$ac_ext >&5
91997
91998 ac_header_compiler=no
91999 fi
92000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92001 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92002 echo "${ECHO_T}$ac_header_compiler" >&6
92003
92004 # Is the header present?
92005 echo "$as_me:$LINENO: checking $ac_header presence" >&5
92006 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
92007 cat >conftest.$ac_ext <<_ACEOF
92008 /* confdefs.h.  */
92009 _ACEOF
92010 cat confdefs.h >>conftest.$ac_ext
92011 cat >>conftest.$ac_ext <<_ACEOF
92012 /* end confdefs.h.  */
92013 #include <$ac_header>
92014 _ACEOF
92015 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92016   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92017   ac_status=$?
92018   grep -v '^ *+' conftest.er1 >conftest.err
92019   rm -f conftest.er1
92020   cat conftest.err >&5
92021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92022   (exit $ac_status); } >/dev/null; then
92023   if test -s conftest.err; then
92024     ac_cpp_err=$ac_c_preproc_warn_flag
92025     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92026   else
92027     ac_cpp_err=
92028   fi
92029 else
92030   ac_cpp_err=yes
92031 fi
92032 if test -z "$ac_cpp_err"; then
92033   ac_header_preproc=yes
92034 else
92035   echo "$as_me: failed program was:" >&5
92036 sed 's/^/| /' conftest.$ac_ext >&5
92037
92038   ac_header_preproc=no
92039 fi
92040 rm -f conftest.err conftest.$ac_ext
92041 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92042 echo "${ECHO_T}$ac_header_preproc" >&6
92043
92044 # So?  What about this header?
92045 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92046   yes:no: )
92047     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
92048 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
92049     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
92050 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
92051     ac_header_preproc=yes
92052     ;;
92053   no:yes:* )
92054     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
92055 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
92056     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
92057 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
92058     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
92059 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
92060     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
92061 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
92062     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
92063 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
92064     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
92065 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
92066     (
92067       cat <<\_ASBOX
92068 ## ----------------------------------------- ##
92069 ## Report this to the package-unused lists.  ##
92070 ## ----------------------------------------- ##
92071 _ASBOX
92072     ) |
92073       sed "s/^/$as_me: WARNING:     /" >&2
92074     ;;
92075 esac
92076 echo "$as_me:$LINENO: checking for $ac_header" >&5
92077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92079   echo $ECHO_N "(cached) $ECHO_C" >&6
92080 else
92081   eval "$as_ac_Header=\$ac_header_preproc"
92082 fi
92083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92084 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92085
92086 fi
92087 if test `eval echo '${'$as_ac_Header'}'` = yes; then
92088   cat >>confdefs.h <<_ACEOF
92089 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
92090 _ACEOF
92091  ac_has_wctype_h=yes
92092 else
92093   ac_has_wctype_h=no
92094 fi
92095
92096 done
92097
92098
92099   # Only continue checking if the ISO C99 headers exist and support is on.
92100   if test x"$ac_has_wchar_h" = xyes &&
92101      test x"$ac_has_wctype_h" = xyes &&
92102      test x"$enable_c_mbchar" != xno; then
92103
92104     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
92105     # numeric_limits can instantiate type_traits<wchar_t>
92106     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
92107 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
92108     cat >conftest.$ac_ext <<_ACEOF
92109 /* confdefs.h.  */
92110 _ACEOF
92111 cat confdefs.h >>conftest.$ac_ext
92112 cat >>conftest.$ac_ext <<_ACEOF
92113 /* end confdefs.h.  */
92114 #include <wchar.h>
92115 int
92116 main ()
92117 {
92118 int i = WCHAR_MIN; int j = WCHAR_MAX;
92119   ;
92120   return 0;
92121 }
92122 _ACEOF
92123 rm -f conftest.$ac_objext
92124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92125   (eval $ac_compile) 2>conftest.er1
92126   ac_status=$?
92127   grep -v '^ *+' conftest.er1 >conftest.err
92128   rm -f conftest.er1
92129   cat conftest.err >&5
92130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92131   (exit $ac_status); } &&
92132          { ac_try='test -z "$ac_c_werror_flag"
92133                          || test ! -s conftest.err'
92134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92135   (eval $ac_try) 2>&5
92136   ac_status=$?
92137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92138   (exit $ac_status); }; } &&
92139          { ac_try='test -s conftest.$ac_objext'
92140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92141   (eval $ac_try) 2>&5
92142   ac_status=$?
92143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92144   (exit $ac_status); }; }; then
92145   has_wchar_minmax=yes
92146 else
92147   echo "$as_me: failed program was:" >&5
92148 sed 's/^/| /' conftest.$ac_ext >&5
92149
92150 has_wchar_minmax=no
92151 fi
92152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92153     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
92154 echo "${ECHO_T}$has_wchar_minmax" >&6
92155
92156     # Test wchar.h for WEOF, which is what we use to determine whether
92157     # to specialize for char_traits<wchar_t> or not.
92158     echo "$as_me:$LINENO: checking for WEOF" >&5
92159 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
92160     cat >conftest.$ac_ext <<_ACEOF
92161 /* confdefs.h.  */
92162 _ACEOF
92163 cat confdefs.h >>conftest.$ac_ext
92164 cat >>conftest.$ac_ext <<_ACEOF
92165 /* end confdefs.h.  */
92166
92167       #include <wchar.h>
92168       #include <stddef.h>
92169 int
92170 main ()
92171 {
92172 wint_t i = WEOF;
92173   ;
92174   return 0;
92175 }
92176 _ACEOF
92177 rm -f conftest.$ac_objext
92178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92179   (eval $ac_compile) 2>conftest.er1
92180   ac_status=$?
92181   grep -v '^ *+' conftest.er1 >conftest.err
92182   rm -f conftest.er1
92183   cat conftest.err >&5
92184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92185   (exit $ac_status); } &&
92186          { ac_try='test -z "$ac_c_werror_flag"
92187                          || test ! -s conftest.err'
92188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92189   (eval $ac_try) 2>&5
92190   ac_status=$?
92191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92192   (exit $ac_status); }; } &&
92193          { ac_try='test -s conftest.$ac_objext'
92194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92195   (eval $ac_try) 2>&5
92196   ac_status=$?
92197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92198   (exit $ac_status); }; }; then
92199   has_weof=yes
92200 else
92201   echo "$as_me: failed program was:" >&5
92202 sed 's/^/| /' conftest.$ac_ext >&5
92203
92204 has_weof=no
92205 fi
92206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92207     echo "$as_me:$LINENO: result: $has_weof" >&5
92208 echo "${ECHO_T}$has_weof" >&6
92209
92210     # Tests for wide character functions used in char_traits<wchar_t>.
92211     ac_wfuncs=yes
92212
92213
92214
92215
92216
92217
92218 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
92219 do
92220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92221 echo "$as_me:$LINENO: checking for $ac_func" >&5
92222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92223 if eval "test \"\${$as_ac_var+set}\" = set"; then
92224   echo $ECHO_N "(cached) $ECHO_C" >&6
92225 else
92226   if test x$gcc_no_link = xyes; then
92227   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92229    { (exit 1); exit 1; }; }
92230 fi
92231 cat >conftest.$ac_ext <<_ACEOF
92232 /* confdefs.h.  */
92233 _ACEOF
92234 cat confdefs.h >>conftest.$ac_ext
92235 cat >>conftest.$ac_ext <<_ACEOF
92236 /* end confdefs.h.  */
92237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92238    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92239 #define $ac_func innocuous_$ac_func
92240
92241 /* System header to define __stub macros and hopefully few prototypes,
92242     which can conflict with char $ac_func (); below.
92243     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92244     <limits.h> exists even on freestanding compilers.  */
92245
92246 #ifdef __STDC__
92247 # include <limits.h>
92248 #else
92249 # include <assert.h>
92250 #endif
92251
92252 #undef $ac_func
92253
92254 /* Override any gcc2 internal prototype to avoid an error.  */
92255 #ifdef __cplusplus
92256 extern "C"
92257 {
92258 #endif
92259 /* We use char because int might match the return type of a gcc2
92260    builtin and then its argument prototype would still apply.  */
92261 char $ac_func ();
92262 /* The GNU C library defines this for functions which it implements
92263     to always fail with ENOSYS.  Some functions are actually named
92264     something starting with __ and the normal name is an alias.  */
92265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92266 choke me
92267 #else
92268 char (*f) () = $ac_func;
92269 #endif
92270 #ifdef __cplusplus
92271 }
92272 #endif
92273
92274 int
92275 main ()
92276 {
92277 return f != $ac_func;
92278   ;
92279   return 0;
92280 }
92281 _ACEOF
92282 rm -f conftest.$ac_objext conftest$ac_exeext
92283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92284   (eval $ac_link) 2>conftest.er1
92285   ac_status=$?
92286   grep -v '^ *+' conftest.er1 >conftest.err
92287   rm -f conftest.er1
92288   cat conftest.err >&5
92289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92290   (exit $ac_status); } &&
92291          { ac_try='test -z "$ac_c_werror_flag"
92292                          || test ! -s conftest.err'
92293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92294   (eval $ac_try) 2>&5
92295   ac_status=$?
92296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92297   (exit $ac_status); }; } &&
92298          { ac_try='test -s conftest$ac_exeext'
92299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92300   (eval $ac_try) 2>&5
92301   ac_status=$?
92302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92303   (exit $ac_status); }; }; then
92304   eval "$as_ac_var=yes"
92305 else
92306   echo "$as_me: failed program was:" >&5
92307 sed 's/^/| /' conftest.$ac_ext >&5
92308
92309 eval "$as_ac_var=no"
92310 fi
92311 rm -f conftest.err conftest.$ac_objext \
92312       conftest$ac_exeext conftest.$ac_ext
92313 fi
92314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92316 if test `eval echo '${'$as_ac_var'}'` = yes; then
92317   cat >>confdefs.h <<_ACEOF
92318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92319 _ACEOF
92320
92321 else
92322   ac_wfuncs=no
92323 fi
92324 done
92325
92326
92327     # Checks for names injected into std:: by the c_std headers.
92328
92329
92330
92331
92332
92333
92334
92335
92336
92337
92338
92339
92340
92341
92342
92343
92344
92345
92346
92347
92348
92349
92350
92351
92352
92353
92354
92355
92356
92357
92358
92359
92360
92361
92362
92363
92364
92365
92366
92367
92368
92369
92370
92371
92372
92373
92374 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
92375     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
92376     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
92377     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
92378     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
92379     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
92380 do
92381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92382 echo "$as_me:$LINENO: checking for $ac_func" >&5
92383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92384 if eval "test \"\${$as_ac_var+set}\" = set"; then
92385   echo $ECHO_N "(cached) $ECHO_C" >&6
92386 else
92387   if test x$gcc_no_link = xyes; then
92388   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92390    { (exit 1); exit 1; }; }
92391 fi
92392 cat >conftest.$ac_ext <<_ACEOF
92393 /* confdefs.h.  */
92394 _ACEOF
92395 cat confdefs.h >>conftest.$ac_ext
92396 cat >>conftest.$ac_ext <<_ACEOF
92397 /* end confdefs.h.  */
92398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92399    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92400 #define $ac_func innocuous_$ac_func
92401
92402 /* System header to define __stub macros and hopefully few prototypes,
92403     which can conflict with char $ac_func (); below.
92404     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92405     <limits.h> exists even on freestanding compilers.  */
92406
92407 #ifdef __STDC__
92408 # include <limits.h>
92409 #else
92410 # include <assert.h>
92411 #endif
92412
92413 #undef $ac_func
92414
92415 /* Override any gcc2 internal prototype to avoid an error.  */
92416 #ifdef __cplusplus
92417 extern "C"
92418 {
92419 #endif
92420 /* We use char because int might match the return type of a gcc2
92421    builtin and then its argument prototype would still apply.  */
92422 char $ac_func ();
92423 /* The GNU C library defines this for functions which it implements
92424     to always fail with ENOSYS.  Some functions are actually named
92425     something starting with __ and the normal name is an alias.  */
92426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92427 choke me
92428 #else
92429 char (*f) () = $ac_func;
92430 #endif
92431 #ifdef __cplusplus
92432 }
92433 #endif
92434
92435 int
92436 main ()
92437 {
92438 return f != $ac_func;
92439   ;
92440   return 0;
92441 }
92442 _ACEOF
92443 rm -f conftest.$ac_objext conftest$ac_exeext
92444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92445   (eval $ac_link) 2>conftest.er1
92446   ac_status=$?
92447   grep -v '^ *+' conftest.er1 >conftest.err
92448   rm -f conftest.er1
92449   cat conftest.err >&5
92450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92451   (exit $ac_status); } &&
92452          { ac_try='test -z "$ac_c_werror_flag"
92453                          || test ! -s conftest.err'
92454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92455   (eval $ac_try) 2>&5
92456   ac_status=$?
92457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92458   (exit $ac_status); }; } &&
92459          { ac_try='test -s conftest$ac_exeext'
92460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92461   (eval $ac_try) 2>&5
92462   ac_status=$?
92463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92464   (exit $ac_status); }; }; then
92465   eval "$as_ac_var=yes"
92466 else
92467   echo "$as_me: failed program was:" >&5
92468 sed 's/^/| /' conftest.$ac_ext >&5
92469
92470 eval "$as_ac_var=no"
92471 fi
92472 rm -f conftest.err conftest.$ac_objext \
92473       conftest$ac_exeext conftest.$ac_ext
92474 fi
92475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92477 if test `eval echo '${'$as_ac_var'}'` = yes; then
92478   cat >>confdefs.h <<_ACEOF
92479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92480 _ACEOF
92481
92482 else
92483   ac_wfuncs=no
92484 fi
92485 done
92486
92487
92488     # Checks for wide character functions that are not required
92489     # for basic wchar_t support.  Don't disable support if they are missing.
92490     # Injection of these is wrapped with guard macros.
92491
92492
92493
92494
92495
92496 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
92497 do
92498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92499 echo "$as_me:$LINENO: checking for $ac_func" >&5
92500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92501 if eval "test \"\${$as_ac_var+set}\" = set"; then
92502   echo $ECHO_N "(cached) $ECHO_C" >&6
92503 else
92504   if test x$gcc_no_link = xyes; then
92505   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92507    { (exit 1); exit 1; }; }
92508 fi
92509 cat >conftest.$ac_ext <<_ACEOF
92510 /* confdefs.h.  */
92511 _ACEOF
92512 cat confdefs.h >>conftest.$ac_ext
92513 cat >>conftest.$ac_ext <<_ACEOF
92514 /* end confdefs.h.  */
92515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92516    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92517 #define $ac_func innocuous_$ac_func
92518
92519 /* System header to define __stub macros and hopefully few prototypes,
92520     which can conflict with char $ac_func (); below.
92521     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92522     <limits.h> exists even on freestanding compilers.  */
92523
92524 #ifdef __STDC__
92525 # include <limits.h>
92526 #else
92527 # include <assert.h>
92528 #endif
92529
92530 #undef $ac_func
92531
92532 /* Override any gcc2 internal prototype to avoid an error.  */
92533 #ifdef __cplusplus
92534 extern "C"
92535 {
92536 #endif
92537 /* We use char because int might match the return type of a gcc2
92538    builtin and then its argument prototype would still apply.  */
92539 char $ac_func ();
92540 /* The GNU C library defines this for functions which it implements
92541     to always fail with ENOSYS.  Some functions are actually named
92542     something starting with __ and the normal name is an alias.  */
92543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92544 choke me
92545 #else
92546 char (*f) () = $ac_func;
92547 #endif
92548 #ifdef __cplusplus
92549 }
92550 #endif
92551
92552 int
92553 main ()
92554 {
92555 return f != $ac_func;
92556   ;
92557   return 0;
92558 }
92559 _ACEOF
92560 rm -f conftest.$ac_objext conftest$ac_exeext
92561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92562   (eval $ac_link) 2>conftest.er1
92563   ac_status=$?
92564   grep -v '^ *+' conftest.er1 >conftest.err
92565   rm -f conftest.er1
92566   cat conftest.err >&5
92567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92568   (exit $ac_status); } &&
92569          { ac_try='test -z "$ac_c_werror_flag"
92570                          || test ! -s conftest.err'
92571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92572   (eval $ac_try) 2>&5
92573   ac_status=$?
92574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92575   (exit $ac_status); }; } &&
92576          { ac_try='test -s conftest$ac_exeext'
92577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92578   (eval $ac_try) 2>&5
92579   ac_status=$?
92580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92581   (exit $ac_status); }; }; then
92582   eval "$as_ac_var=yes"
92583 else
92584   echo "$as_me: failed program was:" >&5
92585 sed 's/^/| /' conftest.$ac_ext >&5
92586
92587 eval "$as_ac_var=no"
92588 fi
92589 rm -f conftest.err conftest.$ac_objext \
92590       conftest$ac_exeext conftest.$ac_ext
92591 fi
92592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92594 if test `eval echo '${'$as_ac_var'}'` = yes; then
92595   cat >>confdefs.h <<_ACEOF
92596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92597 _ACEOF
92598
92599 fi
92600 done
92601
92602
92603     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
92604 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
92605     if test x"$has_weof" = xyes &&
92606        test x"$has_wchar_minmax" = xyes &&
92607        test x"$ac_wfuncs" = xyes;
92608     then
92609       ac_isoC99_wchar_t=yes
92610     else
92611       ac_isoC99_wchar_t=no
92612     fi
92613     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
92614 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
92615
92616     # Use iconv for wchar_t to char conversions. As such, check for
92617     # X/Open Portability Guide, version 2 features (XPG2).
92618     if test "${ac_cv_header_iconv_h+set}" = set; then
92619   echo "$as_me:$LINENO: checking for iconv.h" >&5
92620 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
92621 if test "${ac_cv_header_iconv_h+set}" = set; then
92622   echo $ECHO_N "(cached) $ECHO_C" >&6
92623 fi
92624 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
92625 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
92626 else
92627   # Is the header compilable?
92628 echo "$as_me:$LINENO: checking iconv.h usability" >&5
92629 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
92630 cat >conftest.$ac_ext <<_ACEOF
92631 /* confdefs.h.  */
92632 _ACEOF
92633 cat confdefs.h >>conftest.$ac_ext
92634 cat >>conftest.$ac_ext <<_ACEOF
92635 /* end confdefs.h.  */
92636 $ac_includes_default
92637 #include <iconv.h>
92638 _ACEOF
92639 rm -f conftest.$ac_objext
92640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92641   (eval $ac_compile) 2>conftest.er1
92642   ac_status=$?
92643   grep -v '^ *+' conftest.er1 >conftest.err
92644   rm -f conftest.er1
92645   cat conftest.err >&5
92646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92647   (exit $ac_status); } &&
92648          { ac_try='test -z "$ac_c_werror_flag"
92649                          || test ! -s conftest.err'
92650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92651   (eval $ac_try) 2>&5
92652   ac_status=$?
92653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92654   (exit $ac_status); }; } &&
92655          { ac_try='test -s conftest.$ac_objext'
92656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92657   (eval $ac_try) 2>&5
92658   ac_status=$?
92659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92660   (exit $ac_status); }; }; then
92661   ac_header_compiler=yes
92662 else
92663   echo "$as_me: failed program was:" >&5
92664 sed 's/^/| /' conftest.$ac_ext >&5
92665
92666 ac_header_compiler=no
92667 fi
92668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92669 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92670 echo "${ECHO_T}$ac_header_compiler" >&6
92671
92672 # Is the header present?
92673 echo "$as_me:$LINENO: checking iconv.h presence" >&5
92674 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
92675 cat >conftest.$ac_ext <<_ACEOF
92676 /* confdefs.h.  */
92677 _ACEOF
92678 cat confdefs.h >>conftest.$ac_ext
92679 cat >>conftest.$ac_ext <<_ACEOF
92680 /* end confdefs.h.  */
92681 #include <iconv.h>
92682 _ACEOF
92683 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92684   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92685   ac_status=$?
92686   grep -v '^ *+' conftest.er1 >conftest.err
92687   rm -f conftest.er1
92688   cat conftest.err >&5
92689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92690   (exit $ac_status); } >/dev/null; then
92691   if test -s conftest.err; then
92692     ac_cpp_err=$ac_c_preproc_warn_flag
92693     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92694   else
92695     ac_cpp_err=
92696   fi
92697 else
92698   ac_cpp_err=yes
92699 fi
92700 if test -z "$ac_cpp_err"; then
92701   ac_header_preproc=yes
92702 else
92703   echo "$as_me: failed program was:" >&5
92704 sed 's/^/| /' conftest.$ac_ext >&5
92705
92706   ac_header_preproc=no
92707 fi
92708 rm -f conftest.err conftest.$ac_ext
92709 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92710 echo "${ECHO_T}$ac_header_preproc" >&6
92711
92712 # So?  What about this header?
92713 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92714   yes:no: )
92715     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
92716 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
92717     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
92718 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
92719     ac_header_preproc=yes
92720     ;;
92721   no:yes:* )
92722     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
92723 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
92724     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
92725 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
92726     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
92727 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
92728     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
92729 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
92730     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
92731 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
92732     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
92733 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
92734     (
92735       cat <<\_ASBOX
92736 ## ----------------------------------------- ##
92737 ## Report this to the package-unused lists.  ##
92738 ## ----------------------------------------- ##
92739 _ASBOX
92740     ) |
92741       sed "s/^/$as_me: WARNING:     /" >&2
92742     ;;
92743 esac
92744 echo "$as_me:$LINENO: checking for iconv.h" >&5
92745 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
92746 if test "${ac_cv_header_iconv_h+set}" = set; then
92747   echo $ECHO_N "(cached) $ECHO_C" >&6
92748 else
92749   ac_cv_header_iconv_h=$ac_header_preproc
92750 fi
92751 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
92752 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
92753
92754 fi
92755 if test $ac_cv_header_iconv_h = yes; then
92756   ac_has_iconv_h=yes
92757 else
92758   ac_has_iconv_h=no
92759 fi
92760
92761
92762     if test "${ac_cv_header_langinfo_h+set}" = set; then
92763   echo "$as_me:$LINENO: checking for langinfo.h" >&5
92764 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
92765 if test "${ac_cv_header_langinfo_h+set}" = set; then
92766   echo $ECHO_N "(cached) $ECHO_C" >&6
92767 fi
92768 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
92769 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
92770 else
92771   # Is the header compilable?
92772 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
92773 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
92774 cat >conftest.$ac_ext <<_ACEOF
92775 /* confdefs.h.  */
92776 _ACEOF
92777 cat confdefs.h >>conftest.$ac_ext
92778 cat >>conftest.$ac_ext <<_ACEOF
92779 /* end confdefs.h.  */
92780 $ac_includes_default
92781 #include <langinfo.h>
92782 _ACEOF
92783 rm -f conftest.$ac_objext
92784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92785   (eval $ac_compile) 2>conftest.er1
92786   ac_status=$?
92787   grep -v '^ *+' conftest.er1 >conftest.err
92788   rm -f conftest.er1
92789   cat conftest.err >&5
92790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92791   (exit $ac_status); } &&
92792          { ac_try='test -z "$ac_c_werror_flag"
92793                          || test ! -s conftest.err'
92794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92795   (eval $ac_try) 2>&5
92796   ac_status=$?
92797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92798   (exit $ac_status); }; } &&
92799          { ac_try='test -s conftest.$ac_objext'
92800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92801   (eval $ac_try) 2>&5
92802   ac_status=$?
92803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92804   (exit $ac_status); }; }; then
92805   ac_header_compiler=yes
92806 else
92807   echo "$as_me: failed program was:" >&5
92808 sed 's/^/| /' conftest.$ac_ext >&5
92809
92810 ac_header_compiler=no
92811 fi
92812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92813 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92814 echo "${ECHO_T}$ac_header_compiler" >&6
92815
92816 # Is the header present?
92817 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
92818 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
92819 cat >conftest.$ac_ext <<_ACEOF
92820 /* confdefs.h.  */
92821 _ACEOF
92822 cat confdefs.h >>conftest.$ac_ext
92823 cat >>conftest.$ac_ext <<_ACEOF
92824 /* end confdefs.h.  */
92825 #include <langinfo.h>
92826 _ACEOF
92827 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92828   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92829   ac_status=$?
92830   grep -v '^ *+' conftest.er1 >conftest.err
92831   rm -f conftest.er1
92832   cat conftest.err >&5
92833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92834   (exit $ac_status); } >/dev/null; then
92835   if test -s conftest.err; then
92836     ac_cpp_err=$ac_c_preproc_warn_flag
92837     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92838   else
92839     ac_cpp_err=
92840   fi
92841 else
92842   ac_cpp_err=yes
92843 fi
92844 if test -z "$ac_cpp_err"; then
92845   ac_header_preproc=yes
92846 else
92847   echo "$as_me: failed program was:" >&5
92848 sed 's/^/| /' conftest.$ac_ext >&5
92849
92850   ac_header_preproc=no
92851 fi
92852 rm -f conftest.err conftest.$ac_ext
92853 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92854 echo "${ECHO_T}$ac_header_preproc" >&6
92855
92856 # So?  What about this header?
92857 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92858   yes:no: )
92859     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
92860 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
92861     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
92862 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
92863     ac_header_preproc=yes
92864     ;;
92865   no:yes:* )
92866     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
92867 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
92868     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
92869 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
92870     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
92871 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
92872     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
92873 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
92874     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
92875 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
92876     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
92877 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
92878     (
92879       cat <<\_ASBOX
92880 ## ----------------------------------------- ##
92881 ## Report this to the package-unused lists.  ##
92882 ## ----------------------------------------- ##
92883 _ASBOX
92884     ) |
92885       sed "s/^/$as_me: WARNING:     /" >&2
92886     ;;
92887 esac
92888 echo "$as_me:$LINENO: checking for langinfo.h" >&5
92889 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
92890 if test "${ac_cv_header_langinfo_h+set}" = set; then
92891   echo $ECHO_N "(cached) $ECHO_C" >&6
92892 else
92893   ac_cv_header_langinfo_h=$ac_header_preproc
92894 fi
92895 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
92896 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
92897
92898 fi
92899 if test $ac_cv_header_langinfo_h = yes; then
92900   ac_has_langinfo_h=yes
92901 else
92902   ac_has_langinfo_h=no
92903 fi
92904
92905
92906
92907     # Check for existence of libiconv.a providing XPG2 wchar_t support.
92908     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
92909 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
92910 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
92911   echo $ECHO_N "(cached) $ECHO_C" >&6
92912 else
92913   ac_check_lib_save_LIBS=$LIBS
92914 LIBS="-liconv  $LIBS"
92915 if test x$gcc_no_link = xyes; then
92916   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92918    { (exit 1); exit 1; }; }
92919 fi
92920 cat >conftest.$ac_ext <<_ACEOF
92921 /* confdefs.h.  */
92922 _ACEOF
92923 cat confdefs.h >>conftest.$ac_ext
92924 cat >>conftest.$ac_ext <<_ACEOF
92925 /* end confdefs.h.  */
92926
92927 /* Override any gcc2 internal prototype to avoid an error.  */
92928 #ifdef __cplusplus
92929 extern "C"
92930 #endif
92931 /* We use char because int might match the return type of a gcc2
92932    builtin and then its argument prototype would still apply.  */
92933 char iconv ();
92934 int
92935 main ()
92936 {
92937 iconv ();
92938   ;
92939   return 0;
92940 }
92941 _ACEOF
92942 rm -f conftest.$ac_objext conftest$ac_exeext
92943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92944   (eval $ac_link) 2>conftest.er1
92945   ac_status=$?
92946   grep -v '^ *+' conftest.er1 >conftest.err
92947   rm -f conftest.er1
92948   cat conftest.err >&5
92949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92950   (exit $ac_status); } &&
92951          { ac_try='test -z "$ac_c_werror_flag"
92952                          || test ! -s conftest.err'
92953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92954   (eval $ac_try) 2>&5
92955   ac_status=$?
92956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92957   (exit $ac_status); }; } &&
92958          { ac_try='test -s conftest$ac_exeext'
92959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92960   (eval $ac_try) 2>&5
92961   ac_status=$?
92962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92963   (exit $ac_status); }; }; then
92964   ac_cv_lib_iconv_iconv=yes
92965 else
92966   echo "$as_me: failed program was:" >&5
92967 sed 's/^/| /' conftest.$ac_ext >&5
92968
92969 ac_cv_lib_iconv_iconv=no
92970 fi
92971 rm -f conftest.err conftest.$ac_objext \
92972       conftest$ac_exeext conftest.$ac_ext
92973 LIBS=$ac_check_lib_save_LIBS
92974 fi
92975 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
92976 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
92977 if test $ac_cv_lib_iconv_iconv = yes; then
92978   LIBICONV="-liconv"
92979 fi
92980
92981     ac_save_LIBS="$LIBS"
92982     LIBS="$LIBS $LIBICONV"
92983
92984
92985
92986
92987
92988
92989 for ac_func in iconv_open iconv_close iconv nl_langinfo
92990 do
92991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92992 echo "$as_me:$LINENO: checking for $ac_func" >&5
92993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92994 if eval "test \"\${$as_ac_var+set}\" = set"; then
92995   echo $ECHO_N "(cached) $ECHO_C" >&6
92996 else
92997   if test x$gcc_no_link = xyes; then
92998   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93000    { (exit 1); exit 1; }; }
93001 fi
93002 cat >conftest.$ac_ext <<_ACEOF
93003 /* confdefs.h.  */
93004 _ACEOF
93005 cat confdefs.h >>conftest.$ac_ext
93006 cat >>conftest.$ac_ext <<_ACEOF
93007 /* end confdefs.h.  */
93008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93009    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93010 #define $ac_func innocuous_$ac_func
93011
93012 /* System header to define __stub macros and hopefully few prototypes,
93013     which can conflict with char $ac_func (); below.
93014     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93015     <limits.h> exists even on freestanding compilers.  */
93016
93017 #ifdef __STDC__
93018 # include <limits.h>
93019 #else
93020 # include <assert.h>
93021 #endif
93022
93023 #undef $ac_func
93024
93025 /* Override any gcc2 internal prototype to avoid an error.  */
93026 #ifdef __cplusplus
93027 extern "C"
93028 {
93029 #endif
93030 /* We use char because int might match the return type of a gcc2
93031    builtin and then its argument prototype would still apply.  */
93032 char $ac_func ();
93033 /* The GNU C library defines this for functions which it implements
93034     to always fail with ENOSYS.  Some functions are actually named
93035     something starting with __ and the normal name is an alias.  */
93036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93037 choke me
93038 #else
93039 char (*f) () = $ac_func;
93040 #endif
93041 #ifdef __cplusplus
93042 }
93043 #endif
93044
93045 int
93046 main ()
93047 {
93048 return f != $ac_func;
93049   ;
93050   return 0;
93051 }
93052 _ACEOF
93053 rm -f conftest.$ac_objext conftest$ac_exeext
93054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93055   (eval $ac_link) 2>conftest.er1
93056   ac_status=$?
93057   grep -v '^ *+' conftest.er1 >conftest.err
93058   rm -f conftest.er1
93059   cat conftest.err >&5
93060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93061   (exit $ac_status); } &&
93062          { ac_try='test -z "$ac_c_werror_flag"
93063                          || test ! -s conftest.err'
93064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93065   (eval $ac_try) 2>&5
93066   ac_status=$?
93067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93068   (exit $ac_status); }; } &&
93069          { ac_try='test -s conftest$ac_exeext'
93070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93071   (eval $ac_try) 2>&5
93072   ac_status=$?
93073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93074   (exit $ac_status); }; }; then
93075   eval "$as_ac_var=yes"
93076 else
93077   echo "$as_me: failed program was:" >&5
93078 sed 's/^/| /' conftest.$ac_ext >&5
93079
93080 eval "$as_ac_var=no"
93081 fi
93082 rm -f conftest.err conftest.$ac_objext \
93083       conftest$ac_exeext conftest.$ac_ext
93084 fi
93085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93087 if test `eval echo '${'$as_ac_var'}'` = yes; then
93088   cat >>confdefs.h <<_ACEOF
93089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93090 _ACEOF
93091  ac_XPG2funcs=yes
93092 else
93093   ac_XPG2funcs=no
93094 fi
93095 done
93096
93097
93098     LIBS="$ac_save_LIBS"
93099
93100     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
93101 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
93102     if test x"$ac_has_iconv_h" = xyes &&
93103        test x"$ac_has_langinfo_h" = xyes &&
93104        test x"$ac_XPG2funcs" = xyes;
93105     then
93106       ac_XPG2_wchar_t=yes
93107     else
93108       ac_XPG2_wchar_t=no
93109     fi
93110     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
93111 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
93112
93113     # At the moment, only enable wchar_t specializations if all the
93114     # above support is present.
93115     if test x"$ac_isoC99_wchar_t" = xyes &&
93116        test x"$ac_XPG2_wchar_t" = xyes;
93117     then
93118       cat >>confdefs.h <<\_ACEOF
93119 #define _GLIBCXX_USE_WCHAR_T 1
93120 _ACEOF
93121
93122       enable_wchar_t=yes
93123     fi
93124   fi
93125   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
93126 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
93127   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
93128 echo "${ECHO_T}$enable_wchar_t" >&6
93129
93130     cat >>confdefs.h <<\_ACEOF
93131 #define HAVE_COPYSIGN 1
93132 _ACEOF
93133
93134     cat >>confdefs.h <<\_ACEOF
93135 #define HAVE_COPYSIGNF 1
93136 _ACEOF
93137
93138     cat >>confdefs.h <<\_ACEOF
93139 #define HAVE_FINITE 1
93140 _ACEOF
93141
93142     cat >>confdefs.h <<\_ACEOF
93143 #define HAVE_FINITEF 1
93144 _ACEOF
93145
93146     cat >>confdefs.h <<\_ACEOF
93147 #define HAVE_FREXPF 1
93148 _ACEOF
93149
93150     cat >>confdefs.h <<\_ACEOF
93151 #define HAVE_HYPOTF 1
93152 _ACEOF
93153
93154     cat >>confdefs.h <<\_ACEOF
93155 #define HAVE_ISINF 1
93156 _ACEOF
93157
93158     cat >>confdefs.h <<\_ACEOF
93159 #define HAVE_ISINFF 1
93160 _ACEOF
93161
93162     cat >>confdefs.h <<\_ACEOF
93163 #define HAVE_ISNAN 1
93164 _ACEOF
93165
93166     cat >>confdefs.h <<\_ACEOF
93167 #define HAVE_ISNANF 1
93168 _ACEOF
93169
93170     cat >>confdefs.h <<\_ACEOF
93171 #define HAVE_SINCOS 1
93172 _ACEOF
93173
93174     cat >>confdefs.h <<\_ACEOF
93175 #define HAVE_SINCOSF 1
93176 _ACEOF
93177
93178     if test x"long_double_math_on_this_cpu" = x"yes"; then
93179       cat >>confdefs.h <<\_ACEOF
93180 #define HAVE_FINITEL 1
93181 _ACEOF
93182
93183       cat >>confdefs.h <<\_ACEOF
93184 #define HAVE_HYPOTL 1
93185 _ACEOF
93186
93187       cat >>confdefs.h <<\_ACEOF
93188 #define HAVE_ISINFL 1
93189 _ACEOF
93190
93191       cat >>confdefs.h <<\_ACEOF
93192 #define HAVE_ISNANL 1
93193 _ACEOF
93194
93195     fi
93196     ;;
93197   *-vxworks)
93198     cat >>confdefs.h <<\_ACEOF
93199 #define HAVE_MMAP 1
93200 _ACEOF
93201
93202     cat >>confdefs.h <<\_ACEOF
93203 #define HAVE_ACOSF 1
93204 _ACEOF
93205
93206     cat >>confdefs.h <<\_ACEOF
93207 #define HAVE_ASINF 1
93208 _ACEOF
93209
93210     cat >>confdefs.h <<\_ACEOF
93211 #define HAVE_ATAN2F 1
93212 _ACEOF
93213
93214     cat >>confdefs.h <<\_ACEOF
93215 #define HAVE_ATANF 1
93216 _ACEOF
93217
93218     cat >>confdefs.h <<\_ACEOF
93219 #define HAVE_CEILF 1
93220 _ACEOF
93221
93222     cat >>confdefs.h <<\_ACEOF
93223 #define HAVE_COSF 1
93224 _ACEOF
93225
93226     cat >>confdefs.h <<\_ACEOF
93227 #define HAVE_COSHF 1
93228 _ACEOF
93229
93230     cat >>confdefs.h <<\_ACEOF
93231 #define HAVE_EXPF 1
93232 _ACEOF
93233
93234     cat >>confdefs.h <<\_ACEOF
93235 #define HAVE_FABSF 1
93236 _ACEOF
93237
93238     cat >>confdefs.h <<\_ACEOF
93239 #define HAVE_FLOORF 1
93240 _ACEOF
93241
93242     cat >>confdefs.h <<\_ACEOF
93243 #define HAVE_FMODF 1
93244 _ACEOF
93245
93246     cat >>confdefs.h <<\_ACEOF
93247 #define HAVE_HYPOT 1
93248 _ACEOF
93249
93250     cat >>confdefs.h <<\_ACEOF
93251 #define HAVE_LOG10F 1
93252 _ACEOF
93253
93254     cat >>confdefs.h <<\_ACEOF
93255 #define HAVE_LOGF 1
93256 _ACEOF
93257
93258     cat >>confdefs.h <<\_ACEOF
93259 #define HAVE_POWF 1
93260 _ACEOF
93261
93262     cat >>confdefs.h <<\_ACEOF
93263 #define HAVE_SINF 1
93264 _ACEOF
93265
93266     cat >>confdefs.h <<\_ACEOF
93267 #define HAVE_SINHF 1
93268 _ACEOF
93269
93270     cat >>confdefs.h <<\_ACEOF
93271 #define HAVE_SQRTF 1
93272 _ACEOF
93273
93274     cat >>confdefs.h <<\_ACEOF
93275 #define HAVE_TANF 1
93276 _ACEOF
93277
93278     cat >>confdefs.h <<\_ACEOF
93279 #define HAVE_TANHF 1
93280 _ACEOF
93281
93282     ;;
93283   *-windiss*)
93284     cat >>confdefs.h <<\_ACEOF
93285 #define HAVE_ACOSF 1
93286 _ACEOF
93287
93288     cat >>confdefs.h <<\_ACEOF
93289 #define HAVE_ACOSL 1
93290 _ACEOF
93291
93292     cat >>confdefs.h <<\_ACEOF
93293 #define HAVE_ASINF 1
93294 _ACEOF
93295
93296     cat >>confdefs.h <<\_ACEOF
93297 #define HAVE_ASINL 1
93298 _ACEOF
93299
93300     cat >>confdefs.h <<\_ACEOF
93301 #define HAVE_ATAN2F 1
93302 _ACEOF
93303
93304     cat >>confdefs.h <<\_ACEOF
93305 #define HAVE_ATAN2L 1
93306 _ACEOF
93307
93308     cat >>confdefs.h <<\_ACEOF
93309 #define HAVE_ATANF 1
93310 _ACEOF
93311
93312     cat >>confdefs.h <<\_ACEOF
93313 #define HAVE_ATANL 1
93314 _ACEOF
93315
93316     cat >>confdefs.h <<\_ACEOF
93317 #define HAVE_CEILF 1
93318 _ACEOF
93319
93320     cat >>confdefs.h <<\_ACEOF
93321 #define HAVE_CEILL 1
93322 _ACEOF
93323
93324     cat >>confdefs.h <<\_ACEOF
93325 #define HAVE_COPYSIGN 1
93326 _ACEOF
93327
93328     cat >>confdefs.h <<\_ACEOF
93329 #define HAVE_COPYSIGNF 1
93330 _ACEOF
93331
93332     cat >>confdefs.h <<\_ACEOF
93333 #define HAVE_COSF 1
93334 _ACEOF
93335
93336     cat >>confdefs.h <<\_ACEOF
93337 #define HAVE_COSL 1
93338 _ACEOF
93339
93340     cat >>confdefs.h <<\_ACEOF
93341 #define HAVE_COSHF 1
93342 _ACEOF
93343
93344     cat >>confdefs.h <<\_ACEOF
93345 #define HAVE_COSHL 1
93346 _ACEOF
93347
93348     cat >>confdefs.h <<\_ACEOF
93349 #define HAVE_EXPF 1
93350 _ACEOF
93351
93352     cat >>confdefs.h <<\_ACEOF
93353 #define HAVE_EXPL 1
93354 _ACEOF
93355
93356     cat >>confdefs.h <<\_ACEOF
93357 #define HAVE_FABSF 1
93358 _ACEOF
93359
93360     cat >>confdefs.h <<\_ACEOF
93361 #define HAVE_FABSL 1
93362 _ACEOF
93363
93364     cat >>confdefs.h <<\_ACEOF
93365 #define HAVE_FLOORF 1
93366 _ACEOF
93367
93368     cat >>confdefs.h <<\_ACEOF
93369 #define HAVE_FLOORL 1
93370 _ACEOF
93371
93372     cat >>confdefs.h <<\_ACEOF
93373 #define HAVE_FMODF 1
93374 _ACEOF
93375
93376     cat >>confdefs.h <<\_ACEOF
93377 #define HAVE_FMODL 1
93378 _ACEOF
93379
93380     cat >>confdefs.h <<\_ACEOF
93381 #define HAVE_FREXPF 1
93382 _ACEOF
93383
93384     cat >>confdefs.h <<\_ACEOF
93385 #define HAVE_FREXPL 1
93386 _ACEOF
93387
93388     cat >>confdefs.h <<\_ACEOF
93389 #define HAVE_LDEXPF 1
93390 _ACEOF
93391
93392     cat >>confdefs.h <<\_ACEOF
93393 #define HAVE_LDEXPL 1
93394 _ACEOF
93395
93396     cat >>confdefs.h <<\_ACEOF
93397 #define HAVE_LOG10F 1
93398 _ACEOF
93399
93400     cat >>confdefs.h <<\_ACEOF
93401 #define HAVE_LOG10L 1
93402 _ACEOF
93403
93404     cat >>confdefs.h <<\_ACEOF
93405 #define HAVE_LOGF 1
93406 _ACEOF
93407
93408     cat >>confdefs.h <<\_ACEOF
93409 #define HAVE_MODFF 1
93410 _ACEOF
93411
93412     cat >>confdefs.h <<\_ACEOF
93413 #define HAVE_MODFL 1
93414 _ACEOF
93415
93416     cat >>confdefs.h <<\_ACEOF
93417 #define HAVE_POWF 1
93418 _ACEOF
93419
93420     cat >>confdefs.h <<\_ACEOF
93421 #define HAVE_POWL 1
93422 _ACEOF
93423
93424     cat >>confdefs.h <<\_ACEOF
93425 #define HAVE_SINF 1
93426 _ACEOF
93427
93428     cat >>confdefs.h <<\_ACEOF
93429 #define HAVE_SINL 1
93430 _ACEOF
93431
93432     cat >>confdefs.h <<\_ACEOF
93433 #define HAVE_SINHF 1
93434 _ACEOF
93435
93436     cat >>confdefs.h <<\_ACEOF
93437 #define HAVE_SINHL 1
93438 _ACEOF
93439
93440     cat >>confdefs.h <<\_ACEOF
93441 #define HAVE_SQRTF 1
93442 _ACEOF
93443
93444     cat >>confdefs.h <<\_ACEOF
93445 #define HAVE_SQRTL 1
93446 _ACEOF
93447
93448     cat >>confdefs.h <<\_ACEOF
93449 #define HAVE_TANF 1
93450 _ACEOF
93451
93452     cat >>confdefs.h <<\_ACEOF
93453 #define HAVE_TANL 1
93454 _ACEOF
93455
93456     cat >>confdefs.h <<\_ACEOF
93457 #define HAVE_TANHF 1
93458 _ACEOF
93459
93460     cat >>confdefs.h <<\_ACEOF
93461 #define HAVE_TANHL 1
93462 _ACEOF
93463
93464     ;;
93465   *)
93466     { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
93467 echo "$as_me: error: No support for this host/target combination." >&2;}
93468    { (exit 1); exit 1; }; }
93469    ;;
93470 esac
93471
93472
93473   fi
93474
93475   # At some point, we should differentiate between architectures
93476   # like x86, which have long double versions, and alpha/powerpc/etc.,
93477   # which don't. For the time being, punt.
93478   if test x"long_double_math_on_this_cpu" = x"yes"; then
93479     cat >>confdefs.h <<\_ACEOF
93480 #define HAVE_ACOSL 1
93481 _ACEOF
93482
93483     cat >>confdefs.h <<\_ACEOF
93484 #define HAVE_ASINL 1
93485 _ACEOF
93486
93487     cat >>confdefs.h <<\_ACEOF
93488 #define HAVE_ATAN2L 1
93489 _ACEOF
93490
93491     cat >>confdefs.h <<\_ACEOF
93492 #define HAVE_ATANL 1
93493 _ACEOF
93494
93495     cat >>confdefs.h <<\_ACEOF
93496 #define HAVE_CEILL 1
93497 _ACEOF
93498
93499     cat >>confdefs.h <<\_ACEOF
93500 #define HAVE_COPYSIGNL 1
93501 _ACEOF
93502
93503     cat >>confdefs.h <<\_ACEOF
93504 #define HAVE_COSL 1
93505 _ACEOF
93506
93507     cat >>confdefs.h <<\_ACEOF
93508 #define HAVE_COSHL 1
93509 _ACEOF
93510
93511     cat >>confdefs.h <<\_ACEOF
93512 #define HAVE_EXPL 1
93513 _ACEOF
93514
93515     cat >>confdefs.h <<\_ACEOF
93516 #define HAVE_FABSL 1
93517 _ACEOF
93518
93519     cat >>confdefs.h <<\_ACEOF
93520 #define HAVE_FLOORL 1
93521 _ACEOF
93522
93523     cat >>confdefs.h <<\_ACEOF
93524 #define HAVE_FMODL 1
93525 _ACEOF
93526
93527     cat >>confdefs.h <<\_ACEOF
93528 #define HAVE_FREXPL 1
93529 _ACEOF
93530
93531     cat >>confdefs.h <<\_ACEOF
93532 #define HAVE_LDEXPL 1
93533 _ACEOF
93534
93535     cat >>confdefs.h <<\_ACEOF
93536 #define HAVE_LOG10L 1
93537 _ACEOF
93538
93539     cat >>confdefs.h <<\_ACEOF
93540 #define HAVE_LOGL 1
93541 _ACEOF
93542
93543     cat >>confdefs.h <<\_ACEOF
93544 #define HAVE_MODFL 1
93545 _ACEOF
93546
93547     cat >>confdefs.h <<\_ACEOF
93548 #define HAVE_POWL 1
93549 _ACEOF
93550
93551     cat >>confdefs.h <<\_ACEOF
93552 #define HAVE_SINCOSL 1
93553 _ACEOF
93554
93555     cat >>confdefs.h <<\_ACEOF
93556 #define HAVE_SINL 1
93557 _ACEOF
93558
93559     cat >>confdefs.h <<\_ACEOF
93560 #define HAVE_SINHL 1
93561 _ACEOF
93562
93563     cat >>confdefs.h <<\_ACEOF
93564 #define HAVE_SQRTL 1
93565 _ACEOF
93566
93567     cat >>confdefs.h <<\_ACEOF
93568 #define HAVE_TANL 1
93569 _ACEOF
93570
93571     cat >>confdefs.h <<\_ACEOF
93572 #define HAVE_TANHL 1
93573 _ACEOF
93574
93575   fi
93576
93577 fi
93578
93579 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
93580
93581
93582  # Check whether --enable-symvers or --disable-symvers was given.
93583 if test "${enable_symvers+set}" = set; then
93584   enableval="$enable_symvers"
93585
93586       case "$enableval" in
93587        yes|no|gnu) ;;
93588        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
93589 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
93590    { (exit 1); exit 1; }; } ;;
93591                           esac
93592
93593 else
93594   enable_symvers=yes
93595 fi;
93596
93597
93598 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
93599 # don't know enough about $LD to do tricks...
93600
93601 # FIXME  The following test is too strict, in theory.
93602 if test $enable_shared = no ||
93603         test "x$LD" = x ||
93604         test x$glibcxx_gnu_ld_version = x; then
93605   enable_symvers=no
93606 fi
93607
93608 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
93609 if test $enable_symvers != no; then
93610   echo "$as_me:$LINENO: checking for shared libgcc" >&5
93611 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
93612   ac_save_CFLAGS="$CFLAGS"
93613   CFLAGS=' -lgcc_s'
93614   if test x$gcc_no_link = xyes; then
93615   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93617    { (exit 1); exit 1; }; }
93618 fi
93619 cat >conftest.$ac_ext <<_ACEOF
93620 /* confdefs.h.  */
93621 _ACEOF
93622 cat confdefs.h >>conftest.$ac_ext
93623 cat >>conftest.$ac_ext <<_ACEOF
93624 /* end confdefs.h.  */
93625
93626 int
93627 main ()
93628 {
93629 return 0;
93630   ;
93631   return 0;
93632 }
93633 _ACEOF
93634 rm -f conftest.$ac_objext conftest$ac_exeext
93635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93636   (eval $ac_link) 2>conftest.er1
93637   ac_status=$?
93638   grep -v '^ *+' conftest.er1 >conftest.err
93639   rm -f conftest.er1
93640   cat conftest.err >&5
93641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93642   (exit $ac_status); } &&
93643          { ac_try='test -z "$ac_c_werror_flag"
93644                          || test ! -s conftest.err'
93645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93646   (eval $ac_try) 2>&5
93647   ac_status=$?
93648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93649   (exit $ac_status); }; } &&
93650          { ac_try='test -s conftest$ac_exeext'
93651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93652   (eval $ac_try) 2>&5
93653   ac_status=$?
93654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93655   (exit $ac_status); }; }; then
93656   glibcxx_shared_libgcc=yes
93657 else
93658   echo "$as_me: failed program was:" >&5
93659 sed 's/^/| /' conftest.$ac_ext >&5
93660
93661 glibcxx_shared_libgcc=no
93662 fi
93663 rm -f conftest.err conftest.$ac_objext \
93664       conftest$ac_exeext conftest.$ac_ext
93665   CFLAGS="$ac_save_CFLAGS"
93666   if test $glibcxx_shared_libgcc = no; then
93667     cat > conftest.c <<EOF
93668 int main (void) { return 0; }
93669 EOF
93670     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
93671                              -shared -shared-libgcc -o conftest.so \
93672                              conftest.c -v 2>&1 >/dev/null \
93673                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
93674     rm -f conftest.c conftest.so
93675     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
93676       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
93677       if test x$gcc_no_link = xyes; then
93678   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93680    { (exit 1); exit 1; }; }
93681 fi
93682 cat >conftest.$ac_ext <<_ACEOF
93683 /* confdefs.h.  */
93684 _ACEOF
93685 cat confdefs.h >>conftest.$ac_ext
93686 cat >>conftest.$ac_ext <<_ACEOF
93687 /* end confdefs.h.  */
93688
93689 int
93690 main ()
93691 {
93692 return 0;
93693   ;
93694   return 0;
93695 }
93696 _ACEOF
93697 rm -f conftest.$ac_objext conftest$ac_exeext
93698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93699   (eval $ac_link) 2>conftest.er1
93700   ac_status=$?
93701   grep -v '^ *+' conftest.er1 >conftest.err
93702   rm -f conftest.er1
93703   cat conftest.err >&5
93704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93705   (exit $ac_status); } &&
93706          { ac_try='test -z "$ac_c_werror_flag"
93707                          || test ! -s conftest.err'
93708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93709   (eval $ac_try) 2>&5
93710   ac_status=$?
93711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93712   (exit $ac_status); }; } &&
93713          { ac_try='test -s conftest$ac_exeext'
93714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93715   (eval $ac_try) 2>&5
93716   ac_status=$?
93717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93718   (exit $ac_status); }; }; then
93719   glibcxx_shared_libgcc=yes
93720 else
93721   echo "$as_me: failed program was:" >&5
93722 sed 's/^/| /' conftest.$ac_ext >&5
93723
93724 fi
93725 rm -f conftest.err conftest.$ac_objext \
93726       conftest$ac_exeext conftest.$ac_ext
93727       CFLAGS="$ac_save_CFLAGS"
93728     fi
93729   fi
93730   echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
93731 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
93732 fi
93733
93734 # For GNU ld, we need at least this version.  The format is described in
93735 # GLIBCXX_CHECK_LINKER_FEATURES above.
93736 glibcxx_min_gnu_ld_version=21400
93737 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
93738
93739 # Check to see if unspecified "yes" value can win, given results above.
93740 # Change "yes" into either "no" or a style name.
93741 if test $enable_symvers = yes; then
93742   if test $with_gnu_ld = yes &&
93743      test $glibcxx_shared_libgcc = yes;
93744   then
93745     if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
93746       enable_symvers=gnu
93747     else
93748       # The right tools, the right setup, but too old.  Fallbacks?
93749       { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
93750 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
93751       { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
93752 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
93753       { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
93754 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
93755       { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
93756 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
93757       if test $glibcxx_gnu_ld_version -ge 21200 ; then
93758         # Globbing fix is present, proper block support is not.
93759                         { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
93760 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
93761         enable_symvers=no
93762       else
93763         # 2.11 or older.
93764         { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
93765 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
93766         enable_symvers=no
93767       fi
93768     fi
93769   else
93770     # just fail for now
93771     { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
93772 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
93773     { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
93774 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
93775     { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
93776 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
93777     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
93778 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
93779     enable_symvers=no
93780   fi
93781 fi
93782
93783 # Everything parsed; figure out what file to use.
93784 case $enable_symvers in
93785   no)
93786     SYMVER_MAP=config/linker-map.dummy
93787     ;;
93788   gnu)
93789     SYMVER_MAP=config/linker-map.gnu
93790     cat >>confdefs.h <<\_ACEOF
93791 #define _GLIBCXX_SYMVER 1
93792 _ACEOF
93793
93794     ;;
93795 esac
93796
93797
93798
93799
93800 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
93801 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
93802
93803
93804 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
93805
93806   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
93807     # Do checks for resource limit functions.
93808
93809   setrlimit_have_headers=yes
93810
93811
93812
93813 for ac_header in unistd.h sys/time.h sys/resource.h
93814 do
93815 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
93816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93817   echo "$as_me:$LINENO: checking for $ac_header" >&5
93818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
93819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93820   echo $ECHO_N "(cached) $ECHO_C" >&6
93821 fi
93822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
93823 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
93824 else
93825   # Is the header compilable?
93826 echo "$as_me:$LINENO: checking $ac_header usability" >&5
93827 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
93828 cat >conftest.$ac_ext <<_ACEOF
93829 /* confdefs.h.  */
93830 _ACEOF
93831 cat confdefs.h >>conftest.$ac_ext
93832 cat >>conftest.$ac_ext <<_ACEOF
93833 /* end confdefs.h.  */
93834 $ac_includes_default
93835 #include <$ac_header>
93836 _ACEOF
93837 rm -f conftest.$ac_objext
93838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93839   (eval $ac_compile) 2>conftest.er1
93840   ac_status=$?
93841   grep -v '^ *+' conftest.er1 >conftest.err
93842   rm -f conftest.er1
93843   cat conftest.err >&5
93844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93845   (exit $ac_status); } &&
93846          { ac_try='test -z "$ac_c_werror_flag"
93847                          || test ! -s conftest.err'
93848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93849   (eval $ac_try) 2>&5
93850   ac_status=$?
93851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93852   (exit $ac_status); }; } &&
93853          { ac_try='test -s conftest.$ac_objext'
93854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93855   (eval $ac_try) 2>&5
93856   ac_status=$?
93857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93858   (exit $ac_status); }; }; then
93859   ac_header_compiler=yes
93860 else
93861   echo "$as_me: failed program was:" >&5
93862 sed 's/^/| /' conftest.$ac_ext >&5
93863
93864 ac_header_compiler=no
93865 fi
93866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93867 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93868 echo "${ECHO_T}$ac_header_compiler" >&6
93869
93870 # Is the header present?
93871 echo "$as_me:$LINENO: checking $ac_header presence" >&5
93872 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
93873 cat >conftest.$ac_ext <<_ACEOF
93874 /* confdefs.h.  */
93875 _ACEOF
93876 cat confdefs.h >>conftest.$ac_ext
93877 cat >>conftest.$ac_ext <<_ACEOF
93878 /* end confdefs.h.  */
93879 #include <$ac_header>
93880 _ACEOF
93881 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93882   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93883   ac_status=$?
93884   grep -v '^ *+' conftest.er1 >conftest.err
93885   rm -f conftest.er1
93886   cat conftest.err >&5
93887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93888   (exit $ac_status); } >/dev/null; then
93889   if test -s conftest.err; then
93890     ac_cpp_err=$ac_c_preproc_warn_flag
93891     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93892   else
93893     ac_cpp_err=
93894   fi
93895 else
93896   ac_cpp_err=yes
93897 fi
93898 if test -z "$ac_cpp_err"; then
93899   ac_header_preproc=yes
93900 else
93901   echo "$as_me: failed program was:" >&5
93902 sed 's/^/| /' conftest.$ac_ext >&5
93903
93904   ac_header_preproc=no
93905 fi
93906 rm -f conftest.err conftest.$ac_ext
93907 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93908 echo "${ECHO_T}$ac_header_preproc" >&6
93909
93910 # So?  What about this header?
93911 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93912   yes:no: )
93913     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
93914 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
93915     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
93916 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
93917     ac_header_preproc=yes
93918     ;;
93919   no:yes:* )
93920     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
93921 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
93922     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
93923 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
93924     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
93925 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
93926     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
93927 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
93928     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
93929 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
93930     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
93931 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
93932     (
93933       cat <<\_ASBOX
93934 ## ----------------------------------------- ##
93935 ## Report this to the package-unused lists.  ##
93936 ## ----------------------------------------- ##
93937 _ASBOX
93938     ) |
93939       sed "s/^/$as_me: WARNING:     /" >&2
93940     ;;
93941 esac
93942 echo "$as_me:$LINENO: checking for $ac_header" >&5
93943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
93944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93945   echo $ECHO_N "(cached) $ECHO_C" >&6
93946 else
93947   eval "$as_ac_Header=\$ac_header_preproc"
93948 fi
93949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
93950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
93951
93952 fi
93953 if test `eval echo '${'$as_ac_Header'}'` = yes; then
93954   cat >>confdefs.h <<_ACEOF
93955 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
93956 _ACEOF
93957
93958 else
93959   setrlimit_have_headers=no
93960 fi
93961
93962 done
93963
93964   # If don't have the headers, then we can't run the tests now, and we
93965   # won't be seeing any of these during testsuite compilation.
93966   if test $setrlimit_have_headers = yes; then
93967     # Can't do these in a loop, else the resulting syntax is wrong.
93968
93969   cat >conftest.$ac_ext <<_ACEOF
93970 /* confdefs.h.  */
93971 _ACEOF
93972 cat confdefs.h >>conftest.$ac_ext
93973 cat >>conftest.$ac_ext <<_ACEOF
93974 /* end confdefs.h.  */
93975 #include <unistd.h>
93976      #include <sys/time.h>
93977      #include <sys/resource.h>
93978
93979 int
93980 main ()
93981 {
93982  int f = RLIMIT_DATA ;
93983   ;
93984   return 0;
93985 }
93986 _ACEOF
93987 rm -f conftest.$ac_objext
93988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93989   (eval $ac_compile) 2>conftest.er1
93990   ac_status=$?
93991   grep -v '^ *+' conftest.er1 >conftest.err
93992   rm -f conftest.er1
93993   cat conftest.err >&5
93994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93995   (exit $ac_status); } &&
93996          { ac_try='test -z "$ac_c_werror_flag"
93997                          || test ! -s conftest.err'
93998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93999   (eval $ac_try) 2>&5
94000   ac_status=$?
94001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94002   (exit $ac_status); }; } &&
94003          { ac_try='test -s conftest.$ac_objext'
94004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94005   (eval $ac_try) 2>&5
94006   ac_status=$?
94007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94008   (exit $ac_status); }; }; then
94009   glibcxx_mresult=1
94010 else
94011   echo "$as_me: failed program was:" >&5
94012 sed 's/^/| /' conftest.$ac_ext >&5
94013
94014 glibcxx_mresult=0
94015 fi
94016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94017
94018 cat >>confdefs.h <<_ACEOF
94019 #define HAVE_LIMIT_DATA $glibcxx_mresult
94020 _ACEOF
94021
94022
94023
94024   cat >conftest.$ac_ext <<_ACEOF
94025 /* confdefs.h.  */
94026 _ACEOF
94027 cat confdefs.h >>conftest.$ac_ext
94028 cat >>conftest.$ac_ext <<_ACEOF
94029 /* end confdefs.h.  */
94030 #include <unistd.h>
94031      #include <sys/time.h>
94032      #include <sys/resource.h>
94033
94034 int
94035 main ()
94036 {
94037  int f = RLIMIT_RSS ;
94038   ;
94039   return 0;
94040 }
94041 _ACEOF
94042 rm -f conftest.$ac_objext
94043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94044   (eval $ac_compile) 2>conftest.er1
94045   ac_status=$?
94046   grep -v '^ *+' conftest.er1 >conftest.err
94047   rm -f conftest.er1
94048   cat conftest.err >&5
94049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94050   (exit $ac_status); } &&
94051          { ac_try='test -z "$ac_c_werror_flag"
94052                          || test ! -s conftest.err'
94053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94054   (eval $ac_try) 2>&5
94055   ac_status=$?
94056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94057   (exit $ac_status); }; } &&
94058          { ac_try='test -s conftest.$ac_objext'
94059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94060   (eval $ac_try) 2>&5
94061   ac_status=$?
94062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94063   (exit $ac_status); }; }; then
94064   glibcxx_mresult=1
94065 else
94066   echo "$as_me: failed program was:" >&5
94067 sed 's/^/| /' conftest.$ac_ext >&5
94068
94069 glibcxx_mresult=0
94070 fi
94071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94072
94073 cat >>confdefs.h <<_ACEOF
94074 #define HAVE_LIMIT_RSS $glibcxx_mresult
94075 _ACEOF
94076
94077
94078
94079   cat >conftest.$ac_ext <<_ACEOF
94080 /* confdefs.h.  */
94081 _ACEOF
94082 cat confdefs.h >>conftest.$ac_ext
94083 cat >>conftest.$ac_ext <<_ACEOF
94084 /* end confdefs.h.  */
94085 #include <unistd.h>
94086      #include <sys/time.h>
94087      #include <sys/resource.h>
94088
94089 int
94090 main ()
94091 {
94092  int f = RLIMIT_VMEM ;
94093   ;
94094   return 0;
94095 }
94096 _ACEOF
94097 rm -f conftest.$ac_objext
94098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94099   (eval $ac_compile) 2>conftest.er1
94100   ac_status=$?
94101   grep -v '^ *+' conftest.er1 >conftest.err
94102   rm -f conftest.er1
94103   cat conftest.err >&5
94104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94105   (exit $ac_status); } &&
94106          { ac_try='test -z "$ac_c_werror_flag"
94107                          || test ! -s conftest.err'
94108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94109   (eval $ac_try) 2>&5
94110   ac_status=$?
94111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94112   (exit $ac_status); }; } &&
94113          { ac_try='test -s conftest.$ac_objext'
94114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94115   (eval $ac_try) 2>&5
94116   ac_status=$?
94117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94118   (exit $ac_status); }; }; then
94119   glibcxx_mresult=1
94120 else
94121   echo "$as_me: failed program was:" >&5
94122 sed 's/^/| /' conftest.$ac_ext >&5
94123
94124 glibcxx_mresult=0
94125 fi
94126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94127
94128 cat >>confdefs.h <<_ACEOF
94129 #define HAVE_LIMIT_VMEM $glibcxx_mresult
94130 _ACEOF
94131
94132
94133
94134   cat >conftest.$ac_ext <<_ACEOF
94135 /* confdefs.h.  */
94136 _ACEOF
94137 cat confdefs.h >>conftest.$ac_ext
94138 cat >>conftest.$ac_ext <<_ACEOF
94139 /* end confdefs.h.  */
94140 #include <unistd.h>
94141      #include <sys/time.h>
94142      #include <sys/resource.h>
94143
94144 int
94145 main ()
94146 {
94147  int f = RLIMIT_AS ;
94148   ;
94149   return 0;
94150 }
94151 _ACEOF
94152 rm -f conftest.$ac_objext
94153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94154   (eval $ac_compile) 2>conftest.er1
94155   ac_status=$?
94156   grep -v '^ *+' conftest.er1 >conftest.err
94157   rm -f conftest.er1
94158   cat conftest.err >&5
94159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94160   (exit $ac_status); } &&
94161          { ac_try='test -z "$ac_c_werror_flag"
94162                          || test ! -s conftest.err'
94163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94164   (eval $ac_try) 2>&5
94165   ac_status=$?
94166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94167   (exit $ac_status); }; } &&
94168          { ac_try='test -s conftest.$ac_objext'
94169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94170   (eval $ac_try) 2>&5
94171   ac_status=$?
94172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94173   (exit $ac_status); }; }; then
94174   glibcxx_mresult=1
94175 else
94176   echo "$as_me: failed program was:" >&5
94177 sed 's/^/| /' conftest.$ac_ext >&5
94178
94179 glibcxx_mresult=0
94180 fi
94181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94182
94183 cat >>confdefs.h <<_ACEOF
94184 #define HAVE_LIMIT_AS $glibcxx_mresult
94185 _ACEOF
94186
94187
94188
94189   cat >conftest.$ac_ext <<_ACEOF
94190 /* confdefs.h.  */
94191 _ACEOF
94192 cat confdefs.h >>conftest.$ac_ext
94193 cat >>conftest.$ac_ext <<_ACEOF
94194 /* end confdefs.h.  */
94195 #include <unistd.h>
94196      #include <sys/time.h>
94197      #include <sys/resource.h>
94198
94199 int
94200 main ()
94201 {
94202  int f = RLIMIT_FSIZE ;
94203   ;
94204   return 0;
94205 }
94206 _ACEOF
94207 rm -f conftest.$ac_objext
94208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94209   (eval $ac_compile) 2>conftest.er1
94210   ac_status=$?
94211   grep -v '^ *+' conftest.er1 >conftest.err
94212   rm -f conftest.er1
94213   cat conftest.err >&5
94214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94215   (exit $ac_status); } &&
94216          { ac_try='test -z "$ac_c_werror_flag"
94217                          || test ! -s conftest.err'
94218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94219   (eval $ac_try) 2>&5
94220   ac_status=$?
94221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94222   (exit $ac_status); }; } &&
94223          { ac_try='test -s conftest.$ac_objext'
94224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94225   (eval $ac_try) 2>&5
94226   ac_status=$?
94227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94228   (exit $ac_status); }; }; then
94229   glibcxx_mresult=1
94230 else
94231   echo "$as_me: failed program was:" >&5
94232 sed 's/^/| /' conftest.$ac_ext >&5
94233
94234 glibcxx_mresult=0
94235 fi
94236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94237
94238 cat >>confdefs.h <<_ACEOF
94239 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
94240 _ACEOF
94241
94242
94243
94244     # Check for rlimit, setrlimit.
94245     if test "${ac_setrlimit+set}" = set; then
94246   echo $ECHO_N "(cached) $ECHO_C" >&6
94247 else
94248
94249       cat >conftest.$ac_ext <<_ACEOF
94250 /* confdefs.h.  */
94251 _ACEOF
94252 cat confdefs.h >>conftest.$ac_ext
94253 cat >>conftest.$ac_ext <<_ACEOF
94254 /* end confdefs.h.  */
94255 #include <unistd.h>
94256          #include <sys/time.h>
94257          #include <sys/resource.h>
94258
94259 int
94260 main ()
94261 {
94262 struct rlimit r;
94263          setrlimit(0, &r);
94264   ;
94265   return 0;
94266 }
94267 _ACEOF
94268 rm -f conftest.$ac_objext
94269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94270   (eval $ac_compile) 2>conftest.er1
94271   ac_status=$?
94272   grep -v '^ *+' conftest.er1 >conftest.err
94273   rm -f conftest.er1
94274   cat conftest.err >&5
94275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94276   (exit $ac_status); } &&
94277          { ac_try='test -z "$ac_c_werror_flag"
94278                          || test ! -s conftest.err'
94279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94280   (eval $ac_try) 2>&5
94281   ac_status=$?
94282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94283   (exit $ac_status); }; } &&
94284          { ac_try='test -s conftest.$ac_objext'
94285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94286   (eval $ac_try) 2>&5
94287   ac_status=$?
94288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94289   (exit $ac_status); }; }; then
94290   ac_setrlimit=yes
94291 else
94292   echo "$as_me: failed program was:" >&5
94293 sed 's/^/| /' conftest.$ac_ext >&5
94294
94295 ac_setrlimit=no
94296 fi
94297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94298
94299 fi
94300
94301   fi
94302
94303   echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
94304 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
94305   if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
94306     ac_res_limits=yes
94307     cat >>confdefs.h <<\_ACEOF
94308 #define _GLIBCXX_RES_LIMITS 1
94309 _ACEOF
94310
94311   else
94312     ac_res_limits=no
94313   fi
94314   echo "$as_me:$LINENO: result: $ac_res_limits" >&5
94315 echo "${ECHO_T}$ac_res_limits" >&6
94316
94317
94318     # Look for setenv, so that extended locale tests can be performed.
94319
94320   echo "$as_me:$LINENO: checking for setenv declaration" >&5
94321 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
94322   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
94323     if test "${glibcxx_cv_func_setenv_use+set}" = set; then
94324   echo $ECHO_N "(cached) $ECHO_C" >&6
94325 else
94326
94327
94328
94329       ac_ext=cc
94330 ac_cpp='$CXXCPP $CPPFLAGS'
94331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94334
94335       cat >conftest.$ac_ext <<_ACEOF
94336 /* confdefs.h.  */
94337 _ACEOF
94338 cat confdefs.h >>conftest.$ac_ext
94339 cat >>conftest.$ac_ext <<_ACEOF
94340 /* end confdefs.h.  */
94341 #include <stdlib.h>
94342 int
94343 main ()
94344 {
94345  setenv(0, 0, 0);
94346   ;
94347   return 0;
94348 }
94349 _ACEOF
94350 rm -f conftest.$ac_objext
94351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94352   (eval $ac_compile) 2>conftest.er1
94353   ac_status=$?
94354   grep -v '^ *+' conftest.er1 >conftest.err
94355   rm -f conftest.er1
94356   cat conftest.err >&5
94357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94358   (exit $ac_status); } &&
94359          { ac_try='test -z "$ac_cxx_werror_flag"
94360                          || test ! -s conftest.err'
94361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94362   (eval $ac_try) 2>&5
94363   ac_status=$?
94364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94365   (exit $ac_status); }; } &&
94366          { ac_try='test -s conftest.$ac_objext'
94367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94368   (eval $ac_try) 2>&5
94369   ac_status=$?
94370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94371   (exit $ac_status); }; }; then
94372   glibcxx_cv_func_setenv_use=yes
94373 else
94374   echo "$as_me: failed program was:" >&5
94375 sed 's/^/| /' conftest.$ac_ext >&5
94376
94377 glibcxx_cv_func_setenv_use=no
94378 fi
94379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94380       ac_ext=c
94381 ac_cpp='$CPP $CPPFLAGS'
94382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94385
94386
94387 fi
94388
94389   fi
94390   echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
94391 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
94392   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
94393
94394 for ac_func in setenv
94395 do
94396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94397 echo "$as_me:$LINENO: checking for $ac_func" >&5
94398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94399 if eval "test \"\${$as_ac_var+set}\" = set"; then
94400   echo $ECHO_N "(cached) $ECHO_C" >&6
94401 else
94402   if test x$gcc_no_link = xyes; then
94403   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94405    { (exit 1); exit 1; }; }
94406 fi
94407 cat >conftest.$ac_ext <<_ACEOF
94408 /* confdefs.h.  */
94409 _ACEOF
94410 cat confdefs.h >>conftest.$ac_ext
94411 cat >>conftest.$ac_ext <<_ACEOF
94412 /* end confdefs.h.  */
94413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94414    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94415 #define $ac_func innocuous_$ac_func
94416
94417 /* System header to define __stub macros and hopefully few prototypes,
94418     which can conflict with char $ac_func (); below.
94419     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94420     <limits.h> exists even on freestanding compilers.  */
94421
94422 #ifdef __STDC__
94423 # include <limits.h>
94424 #else
94425 # include <assert.h>
94426 #endif
94427
94428 #undef $ac_func
94429
94430 /* Override any gcc2 internal prototype to avoid an error.  */
94431 #ifdef __cplusplus
94432 extern "C"
94433 {
94434 #endif
94435 /* We use char because int might match the return type of a gcc2
94436    builtin and then its argument prototype would still apply.  */
94437 char $ac_func ();
94438 /* The GNU C library defines this for functions which it implements
94439     to always fail with ENOSYS.  Some functions are actually named
94440     something starting with __ and the normal name is an alias.  */
94441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94442 choke me
94443 #else
94444 char (*f) () = $ac_func;
94445 #endif
94446 #ifdef __cplusplus
94447 }
94448 #endif
94449
94450 int
94451 main ()
94452 {
94453 return f != $ac_func;
94454   ;
94455   return 0;
94456 }
94457 _ACEOF
94458 rm -f conftest.$ac_objext conftest$ac_exeext
94459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94460   (eval $ac_link) 2>conftest.er1
94461   ac_status=$?
94462   grep -v '^ *+' conftest.er1 >conftest.err
94463   rm -f conftest.er1
94464   cat conftest.err >&5
94465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94466   (exit $ac_status); } &&
94467          { ac_try='test -z "$ac_c_werror_flag"
94468                          || test ! -s conftest.err'
94469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94470   (eval $ac_try) 2>&5
94471   ac_status=$?
94472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94473   (exit $ac_status); }; } &&
94474          { ac_try='test -s conftest$ac_exeext'
94475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94476   (eval $ac_try) 2>&5
94477   ac_status=$?
94478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94479   (exit $ac_status); }; }; then
94480   eval "$as_ac_var=yes"
94481 else
94482   echo "$as_me: failed program was:" >&5
94483 sed 's/^/| /' conftest.$ac_ext >&5
94484
94485 eval "$as_ac_var=no"
94486 fi
94487 rm -f conftest.err conftest.$ac_objext \
94488       conftest$ac_exeext conftest.$ac_ext
94489 fi
94490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94492 if test `eval echo '${'$as_ac_var'}'` = yes; then
94493   cat >>confdefs.h <<_ACEOF
94494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94495 _ACEOF
94496
94497 fi
94498 done
94499
94500   fi
94501
94502
94503     if test $enable_symvers = no; then
94504       enable_abi_check=no
94505     else
94506       case "$host" in
94507         *-*-cygwin*)
94508           enable_abi_check=no ;;
94509         *)
94510           enable_abi_check=yes ;;
94511       esac
94512     fi
94513   else
94514     # Only build this as native, since automake does not understand
94515     # CXX_FOR_BUILD.
94516     enable_abi_check=no
94517   fi
94518
94519   # Export file names for ABI checking.
94520   baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
94521
94522
94523
94524
94525
94526
94527 # Propagate the target-specific source directories through the build chain.
94528 ATOMICITY_SRCDIR=config/${atomicity_dir}
94529 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
94530 OS_INC_SRCDIR=config/${os_include_dir}
94531 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
94532
94533
94534
94535
94536
94537 # Determine cross-compile flags and AM_CONDITIONALs.
94538 #AC_SUBST(GLIBCXX_IS_NATIVE)
94539 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
94540 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
94541 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
94542
94543
94544 if test $is_hosted = yes; then
94545   GLIBCXX_HOSTED_TRUE=
94546   GLIBCXX_HOSTED_FALSE='#'
94547 else
94548   GLIBCXX_HOSTED_TRUE='#'
94549   GLIBCXX_HOSTED_FALSE=
94550 fi
94551
94552
94553
94554
94555 if test $enable_libstdcxx_pch = yes; then
94556   GLIBCXX_BUILD_PCH_TRUE=
94557   GLIBCXX_BUILD_PCH_FALSE='#'
94558 else
94559   GLIBCXX_BUILD_PCH_TRUE='#'
94560   GLIBCXX_BUILD_PCH_FALSE=
94561 fi
94562
94563
94564
94565
94566 if test $enable_cheaders = c; then
94567   GLIBCXX_C_HEADERS_C_TRUE=
94568   GLIBCXX_C_HEADERS_C_FALSE='#'
94569 else
94570   GLIBCXX_C_HEADERS_C_TRUE='#'
94571   GLIBCXX_C_HEADERS_C_FALSE=
94572 fi
94573
94574
94575
94576
94577 if test $enable_cheaders = c_std; then
94578   GLIBCXX_C_HEADERS_C_STD_TRUE=
94579   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
94580 else
94581   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
94582   GLIBCXX_C_HEADERS_C_STD_FALSE=
94583 fi
94584
94585
94586
94587
94588 if test $c_compatibility = yes; then
94589   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
94590   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
94591 else
94592   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
94593   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
94594 fi
94595
94596
94597
94598
94599 if test $enable_libstdcxx_debug = yes; then
94600   GLIBCXX_BUILD_DEBUG_TRUE=
94601   GLIBCXX_BUILD_DEBUG_FALSE='#'
94602 else
94603   GLIBCXX_BUILD_DEBUG_TRUE='#'
94604   GLIBCXX_BUILD_DEBUG_FALSE=
94605 fi
94606
94607
94608
94609
94610 if test $enable_symvers != no; then
94611   GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
94612   GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
94613 else
94614   GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
94615   GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
94616 fi
94617
94618
94619
94620
94621 if test $enable_wchar_t = yes; then
94622   GLIBCXX_TEST_WCHAR_T_TRUE=
94623   GLIBCXX_TEST_WCHAR_T_FALSE='#'
94624 else
94625   GLIBCXX_TEST_WCHAR_T_TRUE='#'
94626   GLIBCXX_TEST_WCHAR_T_FALSE=
94627 fi
94628
94629
94630
94631
94632 if test $enable_abi_check = yes; then
94633   GLIBCXX_TEST_ABI_TRUE=
94634   GLIBCXX_TEST_ABI_FALSE='#'
94635 else
94636   GLIBCXX_TEST_ABI_TRUE='#'
94637   GLIBCXX_TEST_ABI_FALSE=
94638 fi
94639
94640
94641
94642
94643 cat >confcache <<\_ACEOF
94644 # This file is a shell script that caches the results of configure
94645 # tests run on this system so they can be shared between configure
94646 # scripts and configure runs, see configure's option --config-cache.
94647 # It is not useful on other systems.  If it contains results you don't
94648 # want to keep, you may remove or edit it.
94649 #
94650 # config.status only pays attention to the cache file if you give it
94651 # the --recheck option to rerun configure.
94652 #
94653 # `ac_cv_env_foo' variables (set or unset) will be overridden when
94654 # loading this file, other *unset* `ac_cv_foo' will be assigned the
94655 # following values.
94656
94657 _ACEOF
94658
94659 # The following way of writing the cache mishandles newlines in values,
94660 # but we know of no workaround that is simple, portable, and efficient.
94661 # So, don't put newlines in cache variables' values.
94662 # Ultrix sh set writes to stderr and can't be redirected directly,
94663 # and sets the high bit in the cache file unless we assign to the vars.
94664 {
94665   (set) 2>&1 |
94666     case `(ac_space=' '; set | grep ac_space) 2>&1` in
94667     *ac_space=\ *)
94668       # `set' does not quote correctly, so add quotes (double-quote
94669       # substitution turns \\\\ into \\, and sed turns \\ into \).
94670       sed -n \
94671         "s/'/'\\\\''/g;
94672           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
94673       ;;
94674     *)
94675       # `set' quotes correctly as required by POSIX, so do not add quotes.
94676       sed -n \
94677         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
94678       ;;
94679     esac;
94680 } |
94681   sed '
94682      t clear
94683      : clear
94684      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
94685      t end
94686      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
94687      : end' >>confcache
94688 if diff $cache_file confcache >/dev/null 2>&1; then :; else
94689   if test -w $cache_file; then
94690     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
94691     cat confcache >$cache_file
94692   else
94693     echo "not updating unwritable cache $cache_file"
94694   fi
94695 fi
94696 rm -f confcache
94697
94698 if test ${multilib} = yes; then
94699   multilib_arg="--enable-multilib"
94700 else
94701   multilib_arg=
94702 fi
94703
94704 # Export all the install information.
94705
94706   glibcxx_toolexecdir=no
94707   glibcxx_toolexeclibdir=no
94708   glibcxx_prefixdir=$prefix
94709
94710   echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
94711 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
94712
94713 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
94714 if test "${with_gxx_include_dir+set}" = set; then
94715   withval="$with_gxx_include_dir"
94716   case "$withval" in
94717       yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
94718 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
94719    { (exit 1); exit 1; }; } ;;
94720       no)  gxx_include_dir=no ;;
94721       *)   gxx_include_dir=$withval ;;
94722      esac
94723 else
94724   gxx_include_dir=no
94725 fi;
94726   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
94727 echo "${ECHO_T}$gxx_include_dir" >&6
94728
94729   echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
94730 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
94731   # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
94732 if test "${enable_version_specific_runtime_libs+set}" = set; then
94733   enableval="$enable_version_specific_runtime_libs"
94734   case "$enableval" in
94735       yes) version_specific_libs=yes ;;
94736       no)  version_specific_libs=no ;;
94737       *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
94738 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
94739    { (exit 1); exit 1; }; };;
94740      esac
94741 else
94742   version_specific_libs=no
94743 fi;
94744   echo "$as_me:$LINENO: result: $version_specific_libs" >&5
94745 echo "${ECHO_T}$version_specific_libs" >&6
94746
94747   # Default case for install directory for include files.
94748   if test $version_specific_libs = no && test $gxx_include_dir = no; then
94749     gxx_include_dir='${prefix}'/include/c++/${gcc_version}
94750   fi
94751
94752   # Version-specific runtime libs processing.
94753   if test $version_specific_libs = yes; then
94754     # Need the gcc compiler version to know where to install libraries
94755     # and header files if --enable-version-specific-runtime-libs option
94756     # is selected.  FIXME: these variables are misnamed, there are
94757     # no executables installed in _toolexecdir or _toolexeclibdir.
94758     if test x"$gxx_include_dir" = x"no"; then
94759       gxx_include_dir='${libdir}/gcc/${host_alias}/'$gcc_version/include/c++
94760     fi
94761     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
94762     glibcxx_toolexeclibdir='${toolexecdir}/'$gcc_version'$(MULTISUBDIR)'
94763   fi
94764
94765   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
94766   # Install a library built with a cross compiler in tooldir, not libdir.
94767   if test x"$glibcxx_toolexecdir" = x"no"; then
94768     if test -n "$with_cross_host" &&
94769        test x"$with_cross_host" != x"no"; then
94770       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
94771       glibcxx_toolexeclibdir='${toolexecdir}/lib'
94772     else
94773       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
94774       glibcxx_toolexeclibdir='${libdir}'
94775     fi
94776     multi_os_directory=`$CXX -print-multi-os-directory`
94777     case $multi_os_directory in
94778       .) ;; # Avoid trailing /.
94779       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
94780     esac
94781   fi
94782
94783   echo "$as_me:$LINENO: checking for install location" >&5
94784 echo $ECHO_N "checking for install location... $ECHO_C" >&6
94785   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
94786 echo "${ECHO_T}$gxx_include_dir" >&6
94787
94788
94789
94790
94791
94792
94793
94794 # Export all the include and flag information to Makefiles.
94795
94796   # Used for every C++ compile we perform.
94797   GLIBCXX_INCLUDES="\
94798 -I$glibcxx_builddir/include/$host_alias \
94799 -I$glibcxx_builddir/include \
94800 -I$glibcxx_srcdir/libsupc++"
94801
94802   # For Canadian crosses, pick this up too.
94803   if test $CANADIAN = yes; then
94804     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
94805   fi
94806
94807   # Stuff in the actual top level.  Currently only used by libsupc++ to
94808   # get unwind* headers from the gcc dir.
94809   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
94810   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
94811
94812   # Now, export this to all the little Makefiles....
94813
94814
94815
94816
94817   # Optimization flags that are probably a good idea for thrill-seekers. Just
94818   # uncomment the lines below and make, everything else is ready to go...
94819   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
94820   OPTIMIZE_CXXFLAGS=
94821
94822
94823   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
94824
94825
94826
94827 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
94828    grep "enable shared" > /dev/null;
94829 then
94830   LIBSUPCXX_PICFLAGS=-prefer-pic
94831 else
94832   LIBSUPCXX_PICFLAGS=
94833 fi
94834
94835
94836                                                                       ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
94837
94838           ac_config_files="$ac_config_files scripts/check_survey"
94839
94840           ac_config_files="$ac_config_files scripts/testsuite_flags"
94841
94842
94843           ac_config_commands="$ac_config_commands default"
94844
94845
94846 cat >confcache <<\_ACEOF
94847 # This file is a shell script that caches the results of configure
94848 # tests run on this system so they can be shared between configure
94849 # scripts and configure runs, see configure's option --config-cache.
94850 # It is not useful on other systems.  If it contains results you don't
94851 # want to keep, you may remove or edit it.
94852 #
94853 # config.status only pays attention to the cache file if you give it
94854 # the --recheck option to rerun configure.
94855 #
94856 # `ac_cv_env_foo' variables (set or unset) will be overridden when
94857 # loading this file, other *unset* `ac_cv_foo' will be assigned the
94858 # following values.
94859
94860 _ACEOF
94861
94862 # The following way of writing the cache mishandles newlines in values,
94863 # but we know of no workaround that is simple, portable, and efficient.
94864 # So, don't put newlines in cache variables' values.
94865 # Ultrix sh set writes to stderr and can't be redirected directly,
94866 # and sets the high bit in the cache file unless we assign to the vars.
94867 {
94868   (set) 2>&1 |
94869     case `(ac_space=' '; set | grep ac_space) 2>&1` in
94870     *ac_space=\ *)
94871       # `set' does not quote correctly, so add quotes (double-quote
94872       # substitution turns \\\\ into \\, and sed turns \\ into \).
94873       sed -n \
94874         "s/'/'\\\\''/g;
94875           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
94876       ;;
94877     *)
94878       # `set' quotes correctly as required by POSIX, so do not add quotes.
94879       sed -n \
94880         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
94881       ;;
94882     esac;
94883 } |
94884   sed '
94885      t clear
94886      : clear
94887      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
94888      t end
94889      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
94890      : end' >>confcache
94891 if diff $cache_file confcache >/dev/null 2>&1; then :; else
94892   if test -w $cache_file; then
94893     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
94894     cat confcache >$cache_file
94895   else
94896     echo "not updating unwritable cache $cache_file"
94897   fi
94898 fi
94899 rm -f confcache
94900
94901 test "x$prefix" = xNONE && prefix=$ac_default_prefix
94902 # Let make expand exec_prefix.
94903 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
94904
94905 # VPATH may cause trouble with some makes, so we remove $(srcdir),
94906 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
94907 # trailing colons and then remove the whole line if VPATH becomes empty
94908 # (actually we leave an empty line to preserve line numbers).
94909 if test "x$srcdir" = x.; then
94910   ac_vpsub='/^[  ]*VPATH[        ]*=/{
94911 s/:*\$(srcdir):*/:/;
94912 s/:*\${srcdir}:*/:/;
94913 s/:*@srcdir@:*/:/;
94914 s/^\([^=]*=[     ]*\):*/\1/;
94915 s/:*$//;
94916 s/^[^=]*=[       ]*$//;
94917 }'
94918 fi
94919
94920 DEFS=-DHAVE_CONFIG_H
94921
94922 ac_libobjs=
94923 ac_ltlibobjs=
94924 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
94925   # 1. Remove the extension, and $U if already installed.
94926   ac_i=`echo "$ac_i" |
94927          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
94928   # 2. Add them.
94929   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
94930   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
94931 done
94932 LIBOBJS=$ac_libobjs
94933
94934 LTLIBOBJS=$ac_ltlibobjs
94935
94936
94937 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
94938   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
94939 Usually this means the macro was only invoked conditionally." >&5
94940 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
94941 Usually this means the macro was only invoked conditionally." >&2;}
94942    { (exit 1); exit 1; }; }
94943 fi
94944 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
94945   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
94946 Usually this means the macro was only invoked conditionally." >&5
94947 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
94948 Usually this means the macro was only invoked conditionally." >&2;}
94949    { (exit 1); exit 1; }; }
94950 fi
94951 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
94952   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
94953 Usually this means the macro was only invoked conditionally." >&5
94954 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
94955 Usually this means the macro was only invoked conditionally." >&2;}
94956    { (exit 1); exit 1; }; }
94957 fi
94958 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
94959   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
94960 Usually this means the macro was only invoked conditionally." >&5
94961 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
94962 Usually this means the macro was only invoked conditionally." >&2;}
94963    { (exit 1); exit 1; }; }
94964 fi
94965 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
94966   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
94967 Usually this means the macro was only invoked conditionally." >&5
94968 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
94969 Usually this means the macro was only invoked conditionally." >&2;}
94970    { (exit 1); exit 1; }; }
94971 fi
94972 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
94973   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
94974 Usually this means the macro was only invoked conditionally." >&5
94975 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
94976 Usually this means the macro was only invoked conditionally." >&2;}
94977    { (exit 1); exit 1; }; }
94978 fi
94979 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
94980   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
94981 Usually this means the macro was only invoked conditionally." >&5
94982 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
94983 Usually this means the macro was only invoked conditionally." >&2;}
94984    { (exit 1); exit 1; }; }
94985 fi
94986 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
94987   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
94988 Usually this means the macro was only invoked conditionally." >&5
94989 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
94990 Usually this means the macro was only invoked conditionally." >&2;}
94991    { (exit 1); exit 1; }; }
94992 fi
94993 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
94994   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
94995 Usually this means the macro was only invoked conditionally." >&5
94996 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
94997 Usually this means the macro was only invoked conditionally." >&2;}
94998    { (exit 1); exit 1; }; }
94999 fi
95000 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
95001   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
95002 Usually this means the macro was only invoked conditionally." >&5
95003 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
95004 Usually this means the macro was only invoked conditionally." >&2;}
95005    { (exit 1); exit 1; }; }
95006 fi
95007
95008 : ${CONFIG_STATUS=./config.status}
95009 ac_clean_files_save=$ac_clean_files
95010 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
95011 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
95012 echo "$as_me: creating $CONFIG_STATUS" >&6;}
95013 cat >$CONFIG_STATUS <<_ACEOF
95014 #! $SHELL
95015 # Generated by $as_me.
95016 # Run this file to recreate the current configuration.
95017 # Compiler output produced by configure, useful for debugging
95018 # configure, is in config.log if it exists.
95019
95020 debug=false
95021 ac_cs_recheck=false
95022 ac_cs_silent=false
95023 SHELL=\${CONFIG_SHELL-$SHELL}
95024 _ACEOF
95025
95026 cat >>$CONFIG_STATUS <<\_ACEOF
95027 ## --------------------- ##
95028 ## M4sh Initialization.  ##
95029 ## --------------------- ##
95030
95031 # Be Bourne compatible
95032 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
95033   emulate sh
95034   NULLCMD=:
95035   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
95036   # is contrary to our usage.  Disable this feature.
95037   alias -g '${1+"$@"}'='"$@"'
95038 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
95039   set -o posix
95040 fi
95041 DUALCASE=1; export DUALCASE # for MKS sh
95042
95043 # Support unset when possible.
95044 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
95045   as_unset=unset
95046 else
95047   as_unset=false
95048 fi
95049
95050
95051 # Work around bugs in pre-3.0 UWIN ksh.
95052 $as_unset ENV MAIL MAILPATH
95053 PS1='$ '
95054 PS2='> '
95055 PS4='+ '
95056
95057 # NLS nuisances.
95058 for as_var in \
95059   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
95060   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
95061   LC_TELEPHONE LC_TIME
95062 do
95063   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
95064     eval $as_var=C; export $as_var
95065   else
95066     $as_unset $as_var
95067   fi
95068 done
95069
95070 # Required to use basename.
95071 if expr a : '\(a\)' >/dev/null 2>&1; then
95072   as_expr=expr
95073 else
95074   as_expr=false
95075 fi
95076
95077 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
95078   as_basename=basename
95079 else
95080   as_basename=false
95081 fi
95082
95083
95084 # Name of the executable.
95085 as_me=`$as_basename "$0" ||
95086 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
95087          X"$0" : 'X\(//\)$' \| \
95088          X"$0" : 'X\(/\)$' \| \
95089          .     : '\(.\)' 2>/dev/null ||
95090 echo X/"$0" |
95091     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
95092           /^X\/\(\/\/\)$/{ s//\1/; q; }
95093           /^X\/\(\/\).*/{ s//\1/; q; }
95094           s/.*/./; q'`
95095
95096
95097 # PATH needs CR, and LINENO needs CR and PATH.
95098 # Avoid depending upon Character Ranges.
95099 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
95100 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
95101 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
95102 as_cr_digits='0123456789'
95103 as_cr_alnum=$as_cr_Letters$as_cr_digits
95104
95105 # The user is always right.
95106 if test "${PATH_SEPARATOR+set}" != set; then
95107   echo "#! /bin/sh" >conf$$.sh
95108   echo  "exit 0"   >>conf$$.sh
95109   chmod +x conf$$.sh
95110   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95111     PATH_SEPARATOR=';'
95112   else
95113     PATH_SEPARATOR=:
95114   fi
95115   rm -f conf$$.sh
95116 fi
95117
95118
95119   as_lineno_1=$LINENO
95120   as_lineno_2=$LINENO
95121   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
95122   test "x$as_lineno_1" != "x$as_lineno_2" &&
95123   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
95124   # Find who we are.  Look in the path if we contain no path at all
95125   # relative or not.
95126   case $0 in
95127     *[\\/]* ) as_myself=$0 ;;
95128     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95129 for as_dir in $PATH
95130 do
95131   IFS=$as_save_IFS
95132   test -z "$as_dir" && as_dir=.
95133   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
95134 done
95135
95136        ;;
95137   esac
95138   # We did not find ourselves, most probably we were run as `sh COMMAND'
95139   # in which case we are not to be found in the path.
95140   if test "x$as_myself" = x; then
95141     as_myself=$0
95142   fi
95143   if test ! -f "$as_myself"; then
95144     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
95145 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
95146    { (exit 1); exit 1; }; }
95147   fi
95148   case $CONFIG_SHELL in
95149   '')
95150     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95151 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
95152 do
95153   IFS=$as_save_IFS
95154   test -z "$as_dir" && as_dir=.
95155   for as_base in sh bash ksh sh5; do
95156          case $as_dir in
95157          /*)
95158            if ("$as_dir/$as_base" -c '
95159   as_lineno_1=$LINENO
95160   as_lineno_2=$LINENO
95161   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
95162   test "x$as_lineno_1" != "x$as_lineno_2" &&
95163   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
95164              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
95165              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
95166              CONFIG_SHELL=$as_dir/$as_base
95167              export CONFIG_SHELL
95168              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
95169            fi;;
95170          esac
95171        done
95172 done
95173 ;;
95174   esac
95175
95176   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
95177   # uniformly replaced by the line number.  The first 'sed' inserts a
95178   # line-number line before each line; the second 'sed' does the real
95179   # work.  The second script uses 'N' to pair each line-number line
95180   # with the numbered line, and appends trailing '-' during
95181   # substitution so that $LINENO is not a special case at line end.
95182   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
95183   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
95184   sed '=' <$as_myself |
95185     sed '
95186       N
95187       s,$,-,
95188       : loop
95189       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
95190       t loop
95191       s,-$,,
95192       s,^['$as_cr_digits']*\n,,
95193     ' >$as_me.lineno &&
95194   chmod +x $as_me.lineno ||
95195     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
95196 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
95197    { (exit 1); exit 1; }; }
95198
95199   # Don't try to exec as it changes $[0], causing all sort of problems
95200   # (the dirname of $[0] is not the place where we might find the
95201   # original and so on.  Autoconf is especially sensible to this).
95202   . ./$as_me.lineno
95203   # Exit status is that of the last command.
95204   exit
95205 }
95206
95207
95208 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
95209   *c*,-n*) ECHO_N= ECHO_C='
95210 ' ECHO_T='      ' ;;
95211   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
95212   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
95213 esac
95214
95215 if expr a : '\(a\)' >/dev/null 2>&1; then
95216   as_expr=expr
95217 else
95218   as_expr=false
95219 fi
95220
95221 rm -f conf$$ conf$$.exe conf$$.file
95222 echo >conf$$.file
95223 if ln -s conf$$.file conf$$ 2>/dev/null; then
95224   # We could just check for DJGPP; but this test a) works b) is more generic
95225   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
95226   if test -f conf$$.exe; then
95227     # Don't use ln at all; we don't have any links
95228     as_ln_s='cp -p'
95229   else
95230     as_ln_s='ln -s'
95231   fi
95232 elif ln conf$$.file conf$$ 2>/dev/null; then
95233   as_ln_s=ln
95234 else
95235   as_ln_s='cp -p'
95236 fi
95237 rm -f conf$$ conf$$.exe conf$$.file
95238
95239 if mkdir -p . 2>/dev/null; then
95240   as_mkdir_p=:
95241 else
95242   test -d ./-p && rmdir ./-p
95243   as_mkdir_p=false
95244 fi
95245
95246 as_executable_p="test -f"
95247
95248 # Sed expression to map a string onto a valid CPP name.
95249 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
95250
95251 # Sed expression to map a string onto a valid variable name.
95252 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
95253
95254
95255 # IFS
95256 # We need space, tab and new line, in precisely that order.
95257 as_nl='
95258 '
95259 IFS="   $as_nl"
95260
95261 # CDPATH.
95262 $as_unset CDPATH
95263
95264 exec 6>&1
95265
95266 # Open the log real soon, to keep \$[0] and so on meaningful, and to
95267 # report actual input values of CONFIG_FILES etc. instead of their
95268 # values after options handling.  Logging --version etc. is OK.
95269 exec 5>>config.log
95270 {
95271   echo
95272   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
95273 ## Running $as_me. ##
95274 _ASBOX
95275 } >&5
95276 cat >&5 <<_CSEOF
95277
95278 This file was extended by package-unused $as_me version-unused, which was
95279 generated by GNU Autoconf 2.59.  Invocation command line was
95280
95281   CONFIG_FILES    = $CONFIG_FILES
95282   CONFIG_HEADERS  = $CONFIG_HEADERS
95283   CONFIG_LINKS    = $CONFIG_LINKS
95284   CONFIG_COMMANDS = $CONFIG_COMMANDS
95285   $ $0 $@
95286
95287 _CSEOF
95288 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
95289 echo >&5
95290 _ACEOF
95291
95292 # Files that config.status was made for.
95293 if test -n "$ac_config_files"; then
95294   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
95295 fi
95296
95297 if test -n "$ac_config_headers"; then
95298   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
95299 fi
95300
95301 if test -n "$ac_config_links"; then
95302   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
95303 fi
95304
95305 if test -n "$ac_config_commands"; then
95306   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
95307 fi
95308
95309 cat >>$CONFIG_STATUS <<\_ACEOF
95310
95311 ac_cs_usage="\
95312 \`$as_me' instantiates files from templates according to the
95313 current configuration.
95314
95315 Usage: $0 [OPTIONS] [FILE]...
95316
95317   -h, --help       print this help, then exit
95318   -V, --version    print version number, then exit
95319   -q, --quiet      do not print progress messages
95320   -d, --debug      don't remove temporary files
95321       --recheck    update $as_me by reconfiguring in the same conditions
95322   --file=FILE[:TEMPLATE]
95323                    instantiate the configuration file FILE
95324   --header=FILE[:TEMPLATE]
95325                    instantiate the configuration header FILE
95326
95327 Configuration files:
95328 $config_files
95329
95330 Configuration headers:
95331 $config_headers
95332
95333 Configuration commands:
95334 $config_commands
95335
95336 Report bugs to <bug-autoconf@gnu.org>."
95337 _ACEOF
95338
95339 cat >>$CONFIG_STATUS <<_ACEOF
95340 ac_cs_version="\\
95341 package-unused config.status version-unused
95342 configured by $0, generated by GNU Autoconf 2.59,
95343   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
95344
95345 Copyright (C) 2003 Free Software Foundation, Inc.
95346 This config.status script is free software; the Free Software Foundation
95347 gives unlimited permission to copy, distribute and modify it."
95348 srcdir=$srcdir
95349 INSTALL="$INSTALL"
95350 _ACEOF
95351
95352 cat >>$CONFIG_STATUS <<\_ACEOF
95353 # If no file are specified by the user, then we need to provide default
95354 # value.  By we need to know if files were specified by the user.
95355 ac_need_defaults=:
95356 while test $# != 0
95357 do
95358   case $1 in
95359   --*=*)
95360     ac_option=`expr "x$1" : 'x\([^=]*\)='`
95361     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
95362     ac_shift=:
95363     ;;
95364   -*)
95365     ac_option=$1
95366     ac_optarg=$2
95367     ac_shift=shift
95368     ;;
95369   *) # This is not an option, so the user has probably given explicit
95370      # arguments.
95371      ac_option=$1
95372      ac_need_defaults=false;;
95373   esac
95374
95375   case $ac_option in
95376   # Handling of the options.
95377 _ACEOF
95378 cat >>$CONFIG_STATUS <<\_ACEOF
95379   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
95380     ac_cs_recheck=: ;;
95381   --version | --vers* | -V )
95382     echo "$ac_cs_version"; exit 0 ;;
95383   --he | --h)
95384     # Conflict between --help and --header
95385     { { echo "$as_me:$LINENO: error: ambiguous option: $1
95386 Try \`$0 --help' for more information." >&5
95387 echo "$as_me: error: ambiguous option: $1
95388 Try \`$0 --help' for more information." >&2;}
95389    { (exit 1); exit 1; }; };;
95390   --help | --hel | -h )
95391     echo "$ac_cs_usage"; exit 0 ;;
95392   --debug | --d* | -d )
95393     debug=: ;;
95394   --file | --fil | --fi | --f )
95395     $ac_shift
95396     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
95397     ac_need_defaults=false;;
95398   --header | --heade | --head | --hea )
95399     $ac_shift
95400     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
95401     ac_need_defaults=false;;
95402   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
95403   | -silent | --silent | --silen | --sile | --sil | --si | --s)
95404     ac_cs_silent=: ;;
95405
95406   # This is an error.
95407   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
95408 Try \`$0 --help' for more information." >&5
95409 echo "$as_me: error: unrecognized option: $1
95410 Try \`$0 --help' for more information." >&2;}
95411    { (exit 1); exit 1; }; } ;;
95412
95413   *) ac_config_targets="$ac_config_targets $1" ;;
95414
95415   esac
95416   shift
95417 done
95418
95419 ac_configure_extra_args=
95420
95421 if $ac_cs_silent; then
95422   exec 6>/dev/null
95423   ac_configure_extra_args="$ac_configure_extra_args --silent"
95424 fi
95425
95426 _ACEOF
95427 cat >>$CONFIG_STATUS <<_ACEOF
95428 if \$ac_cs_recheck; then
95429   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
95430   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
95431 fi
95432
95433 _ACEOF
95434
95435 cat >>$CONFIG_STATUS <<_ACEOF
95436 #
95437 # INIT-COMMANDS section.
95438 #
95439
95440
95441 srcdir="$srcdir"
95442 host="$host"
95443 target="$target"
95444 with_multisubdir="$with_multisubdir"
95445 with_multisrctop="$with_multisrctop"
95446 with_target_subdir="$with_target_subdir"
95447 ac_configure_args="${multilib_arg} ${ac_configure_args}"
95448 multi_basedir="$multi_basedir"
95449 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
95450 CC="$CC"
95451
95452 # Variables needed in config.status (file generation) which aren't already
95453 # passed by autoconf.
95454 SUBDIRS="$SUBDIRS"
95455
95456
95457 _ACEOF
95458
95459
95460
95461 cat >>$CONFIG_STATUS <<\_ACEOF
95462 for ac_config_target in $ac_config_targets
95463 do
95464   case "$ac_config_target" in
95465   # Handling of arguments.
95466   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
95467   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
95468   "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
95469   "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
95470   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
95471   "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
95472   "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
95473   "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
95474   "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
95475   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
95476   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
95477   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
95478   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
95479 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
95480    { (exit 1); exit 1; }; };;
95481   esac
95482 done
95483
95484 # If the user did not use the arguments to specify the items to instantiate,
95485 # then the envvar interface is used.  Set only those that are not.
95486 # We use the long form for the default assignment because of an extremely
95487 # bizarre bug on SunOS 4.1.3.
95488 if $ac_need_defaults; then
95489   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
95490   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
95491   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
95492 fi
95493
95494 # Have a temporary directory for convenience.  Make it in the build tree
95495 # simply because there is no reason to put it here, and in addition,
95496 # creating and moving files from /tmp can sometimes cause problems.
95497 # Create a temporary directory, and hook for its removal unless debugging.
95498 $debug ||
95499 {
95500   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
95501   trap '{ (exit 1); exit 1; }' 1 2 13 15
95502 }
95503
95504 # Create a (secure) tmp directory for tmp files.
95505
95506 {
95507   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
95508   test -n "$tmp" && test -d "$tmp"
95509 }  ||
95510 {
95511   tmp=./confstat$$-$RANDOM
95512   (umask 077 && mkdir $tmp)
95513 } ||
95514 {
95515    echo "$me: cannot create a temporary directory in ." >&2
95516    { (exit 1); exit 1; }
95517 }
95518
95519 _ACEOF
95520
95521 cat >>$CONFIG_STATUS <<_ACEOF
95522
95523 #
95524 # CONFIG_FILES section.
95525 #
95526
95527 # No need to generate the scripts if there are no CONFIG_FILES.
95528 # This happens for instance when ./config.status config.h
95529 if test -n "\$CONFIG_FILES"; then
95530   # Protect against being on the right side of a sed subst in config.status.
95531   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
95532    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
95533 s,@SHELL@,$SHELL,;t t
95534 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
95535 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
95536 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
95537 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
95538 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
95539 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
95540 s,@exec_prefix@,$exec_prefix,;t t
95541 s,@prefix@,$prefix,;t t
95542 s,@program_transform_name@,$program_transform_name,;t t
95543 s,@bindir@,$bindir,;t t
95544 s,@sbindir@,$sbindir,;t t
95545 s,@libexecdir@,$libexecdir,;t t
95546 s,@datadir@,$datadir,;t t
95547 s,@sysconfdir@,$sysconfdir,;t t
95548 s,@sharedstatedir@,$sharedstatedir,;t t
95549 s,@localstatedir@,$localstatedir,;t t
95550 s,@libdir@,$libdir,;t t
95551 s,@includedir@,$includedir,;t t
95552 s,@oldincludedir@,$oldincludedir,;t t
95553 s,@infodir@,$infodir,;t t
95554 s,@mandir@,$mandir,;t t
95555 s,@build_alias@,$build_alias,;t t
95556 s,@host_alias@,$host_alias,;t t
95557 s,@target_alias@,$target_alias,;t t
95558 s,@DEFS@,$DEFS,;t t
95559 s,@ECHO_C@,$ECHO_C,;t t
95560 s,@ECHO_N@,$ECHO_N,;t t
95561 s,@ECHO_T@,$ECHO_T,;t t
95562 s,@LIBS@,$LIBS,;t t
95563 s,@libtool_VERSION@,$libtool_VERSION,;t t
95564 s,@multi_basedir@,$multi_basedir,;t t
95565 s,@build@,$build,;t t
95566 s,@build_cpu@,$build_cpu,;t t
95567 s,@build_vendor@,$build_vendor,;t t
95568 s,@build_os@,$build_os,;t t
95569 s,@host@,$host,;t t
95570 s,@host_cpu@,$host_cpu,;t t
95571 s,@host_vendor@,$host_vendor,;t t
95572 s,@host_os@,$host_os,;t t
95573 s,@target@,$target,;t t
95574 s,@target_cpu@,$target_cpu,;t t
95575 s,@target_vendor@,$target_vendor,;t t
95576 s,@target_os@,$target_os,;t t
95577 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
95578 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
95579 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
95580 s,@CYGPATH_W@,$CYGPATH_W,;t t
95581 s,@PACKAGE@,$PACKAGE,;t t
95582 s,@VERSION@,$VERSION,;t t
95583 s,@ACLOCAL@,$ACLOCAL,;t t
95584 s,@AUTOCONF@,$AUTOCONF,;t t
95585 s,@AUTOMAKE@,$AUTOMAKE,;t t
95586 s,@AUTOHEADER@,$AUTOHEADER,;t t
95587 s,@MAKEINFO@,$MAKEINFO,;t t
95588 s,@AMTAR@,$AMTAR,;t t
95589 s,@install_sh@,$install_sh,;t t
95590 s,@STRIP@,$STRIP,;t t
95591 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
95592 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
95593 s,@AWK@,$AWK,;t t
95594 s,@SET_MAKE@,$SET_MAKE,;t t
95595 s,@am__leading_dot@,$am__leading_dot,;t t
95596 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
95597 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
95598 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
95599 s,@CC@,$CC,;t t
95600 s,@ac_ct_CC@,$ac_ct_CC,;t t
95601 s,@EXEEXT@,$EXEEXT,;t t
95602 s,@OBJEXT@,$OBJEXT,;t t
95603 s,@CXX@,$CXX,;t t
95604 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
95605 s,@CFLAGS@,$CFLAGS,;t t
95606 s,@CXXFLAGS@,$CXXFLAGS,;t t
95607 s,@LN_S@,$LN_S,;t t
95608 s,@AS@,$AS,;t t
95609 s,@ac_ct_AS@,$ac_ct_AS,;t t
95610 s,@AR@,$AR,;t t
95611 s,@ac_ct_AR@,$ac_ct_AR,;t t
95612 s,@RANLIB@,$RANLIB,;t t
95613 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
95614 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
95615 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
95616 s,@MAINT@,$MAINT,;t t
95617 s,@LIBTOOL@,$LIBTOOL,;t t
95618 s,@CXXCPP@,$CXXCPP,;t t
95619 s,@CPPFLAGS@,$CPPFLAGS,;t t
95620 s,@enable_shared@,$enable_shared,;t t
95621 s,@enable_static@,$enable_static,;t t
95622 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
95623 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
95624 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
95625 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
95626 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
95627 s,@CSTDIO_H@,$CSTDIO_H,;t t
95628 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
95629 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
95630 s,@CPP@,$CPP,;t t
95631 s,@EGREP@,$EGREP,;t t
95632 s,@check_msgfmt@,$check_msgfmt,;t t
95633 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
95634 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
95635 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
95636 s,@USE_NLS@,$USE_NLS,;t t
95637 s,@CLOCALE_H@,$CLOCALE_H,;t t
95638 s,@CCODECVT_H@,$CCODECVT_H,;t t
95639 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
95640 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
95641 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
95642 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
95643 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
95644 s,@CMONEY_CC@,$CMONEY_CC,;t t
95645 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
95646 s,@CTIME_H@,$CTIME_H,;t t
95647 s,@CTIME_CC@,$CTIME_CC,;t t
95648 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
95649 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
95650 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
95651 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
95652 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
95653 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
95654 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
95655 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
95656 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
95657 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
95658 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
95659 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
95660 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
95661 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
95662 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
95663 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
95664 s,@WERROR@,$WERROR,;t t
95665 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
95666 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
95667 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
95668 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
95669 s,@LIBICONV@,$LIBICONV,;t t
95670 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
95671 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
95672 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
95673 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
95674 s,@baseline_dir@,$baseline_dir,;t t
95675 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
95676 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
95677 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
95678 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
95679 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
95680 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
95681 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
95682 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
95683 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
95684 s,@gxx_include_dir@,$gxx_include_dir,;t t
95685 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
95686 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
95687 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
95688 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
95689 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
95690 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
95691 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
95692 s,@LIBOBJS@,$LIBOBJS,;t t
95693 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
95694 CEOF
95695
95696 _ACEOF
95697
95698   cat >>$CONFIG_STATUS <<\_ACEOF
95699   # Split the substitutions into bite-sized pieces for seds with
95700   # small command number limits, like on Digital OSF/1 and HP-UX.
95701   ac_max_sed_lines=48
95702   ac_sed_frag=1 # Number of current file.
95703   ac_beg=1 # First line for current file.
95704   ac_end=$ac_max_sed_lines # Line after last line for current file.
95705   ac_more_lines=:
95706   ac_sed_cmds=
95707   while $ac_more_lines; do
95708     if test $ac_beg -gt 1; then
95709       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
95710     else
95711       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
95712     fi
95713     if test ! -s $tmp/subs.frag; then
95714       ac_more_lines=false
95715     else
95716       # The purpose of the label and of the branching condition is to
95717       # speed up the sed processing (if there are no `@' at all, there
95718       # is no need to browse any of the substitutions).
95719       # These are the two extra sed commands mentioned above.
95720       (echo ':t
95721   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
95722       if test -z "$ac_sed_cmds"; then
95723         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
95724       else
95725         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
95726       fi
95727       ac_sed_frag=`expr $ac_sed_frag + 1`
95728       ac_beg=$ac_end
95729       ac_end=`expr $ac_end + $ac_max_sed_lines`
95730     fi
95731   done
95732   if test -z "$ac_sed_cmds"; then
95733     ac_sed_cmds=cat
95734   fi
95735 fi # test -n "$CONFIG_FILES"
95736
95737 _ACEOF
95738 cat >>$CONFIG_STATUS <<\_ACEOF
95739 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
95740   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
95741   case $ac_file in
95742   - | *:- | *:-:* ) # input from stdin
95743         cat >$tmp/stdin
95744         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
95745         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
95746   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
95747         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
95748   * )   ac_file_in=$ac_file.in ;;
95749   esac
95750
95751   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
95752   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
95753 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95754          X"$ac_file" : 'X\(//\)[^/]' \| \
95755          X"$ac_file" : 'X\(//\)$' \| \
95756          X"$ac_file" : 'X\(/\)' \| \
95757          .     : '\(.\)' 2>/dev/null ||
95758 echo X"$ac_file" |
95759     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95760           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95761           /^X\(\/\/\)$/{ s//\1/; q; }
95762           /^X\(\/\).*/{ s//\1/; q; }
95763           s/.*/./; q'`
95764   { if $as_mkdir_p; then
95765     mkdir -p "$ac_dir"
95766   else
95767     as_dir="$ac_dir"
95768     as_dirs=
95769     while test ! -d "$as_dir"; do
95770       as_dirs="$as_dir $as_dirs"
95771       as_dir=`(dirname "$as_dir") 2>/dev/null ||
95772 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95773          X"$as_dir" : 'X\(//\)[^/]' \| \
95774          X"$as_dir" : 'X\(//\)$' \| \
95775          X"$as_dir" : 'X\(/\)' \| \
95776          .     : '\(.\)' 2>/dev/null ||
95777 echo X"$as_dir" |
95778     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95779           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95780           /^X\(\/\/\)$/{ s//\1/; q; }
95781           /^X\(\/\).*/{ s//\1/; q; }
95782           s/.*/./; q'`
95783     done
95784     test ! -n "$as_dirs" || mkdir $as_dirs
95785   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
95786 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
95787    { (exit 1); exit 1; }; }; }
95788
95789   ac_builddir=.
95790
95791 if test "$ac_dir" != .; then
95792   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
95793   # A "../" for each directory in $ac_dir_suffix.
95794   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
95795 else
95796   ac_dir_suffix= ac_top_builddir=
95797 fi
95798
95799 case $srcdir in
95800   .)  # No --srcdir option.  We are building in place.
95801     ac_srcdir=.
95802     if test -z "$ac_top_builddir"; then
95803        ac_top_srcdir=.
95804     else
95805        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
95806     fi ;;
95807   [\\/]* | ?:[\\/]* )  # Absolute path.
95808     ac_srcdir=$srcdir$ac_dir_suffix;
95809     ac_top_srcdir=$srcdir ;;
95810   *) # Relative path.
95811     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
95812     ac_top_srcdir=$ac_top_builddir$srcdir ;;
95813 esac
95814
95815 # Do not use `cd foo && pwd` to compute absolute paths, because
95816 # the directories may not exist.
95817 case `pwd` in
95818 .) ac_abs_builddir="$ac_dir";;
95819 *)
95820   case "$ac_dir" in
95821   .) ac_abs_builddir=`pwd`;;
95822   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
95823   *) ac_abs_builddir=`pwd`/"$ac_dir";;
95824   esac;;
95825 esac
95826 case $ac_abs_builddir in
95827 .) ac_abs_top_builddir=${ac_top_builddir}.;;
95828 *)
95829   case ${ac_top_builddir}. in
95830   .) ac_abs_top_builddir=$ac_abs_builddir;;
95831   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
95832   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
95833   esac;;
95834 esac
95835 case $ac_abs_builddir in
95836 .) ac_abs_srcdir=$ac_srcdir;;
95837 *)
95838   case $ac_srcdir in
95839   .) ac_abs_srcdir=$ac_abs_builddir;;
95840   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
95841   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
95842   esac;;
95843 esac
95844 case $ac_abs_builddir in
95845 .) ac_abs_top_srcdir=$ac_top_srcdir;;
95846 *)
95847   case $ac_top_srcdir in
95848   .) ac_abs_top_srcdir=$ac_abs_builddir;;
95849   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
95850   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
95851   esac;;
95852 esac
95853
95854
95855   case $INSTALL in
95856   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
95857   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
95858   esac
95859
95860   if test x"$ac_file" != x-; then
95861     { echo "$as_me:$LINENO: creating $ac_file" >&5
95862 echo "$as_me: creating $ac_file" >&6;}
95863     rm -f "$ac_file"
95864   fi
95865   # Let's still pretend it is `configure' which instantiates (i.e., don't
95866   # use $as_me), people would be surprised to read:
95867   #    /* config.h.  Generated by config.status.  */
95868   if test x"$ac_file" = x-; then
95869     configure_input=
95870   else
95871     configure_input="$ac_file.  "
95872   fi
95873   configure_input=$configure_input"Generated from `echo $ac_file_in |
95874                                      sed 's,.*/,,'` by configure."
95875
95876   # First look for the input files in the build tree, otherwise in the
95877   # src tree.
95878   ac_file_inputs=`IFS=:
95879     for f in $ac_file_in; do
95880       case $f in
95881       -) echo $tmp/stdin ;;
95882       [\\/$]*)
95883          # Absolute (can't be DOS-style, as IFS=:)
95884          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
95885 echo "$as_me: error: cannot find input file: $f" >&2;}
95886    { (exit 1); exit 1; }; }
95887          echo "$f";;
95888       *) # Relative
95889          if test -f "$f"; then
95890            # Build tree
95891            echo "$f"
95892          elif test -f "$srcdir/$f"; then
95893            # Source tree
95894            echo "$srcdir/$f"
95895          else
95896            # /dev/null tree
95897            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
95898 echo "$as_me: error: cannot find input file: $f" >&2;}
95899    { (exit 1); exit 1; }; }
95900          fi;;
95901       esac
95902     done` || { (exit 1); exit 1; }
95903 _ACEOF
95904 cat >>$CONFIG_STATUS <<_ACEOF
95905   sed "$ac_vpsub
95906 $extrasub
95907 _ACEOF
95908 cat >>$CONFIG_STATUS <<\_ACEOF
95909 :t
95910 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
95911 s,@configure_input@,$configure_input,;t t
95912 s,@srcdir@,$ac_srcdir,;t t
95913 s,@abs_srcdir@,$ac_abs_srcdir,;t t
95914 s,@top_srcdir@,$ac_top_srcdir,;t t
95915 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
95916 s,@builddir@,$ac_builddir,;t t
95917 s,@abs_builddir@,$ac_abs_builddir,;t t
95918 s,@top_builddir@,$ac_top_builddir,;t t
95919 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
95920 s,@INSTALL@,$ac_INSTALL,;t t
95921 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
95922   rm -f $tmp/stdin
95923   if test x"$ac_file" != x-; then
95924     mv $tmp/out $ac_file
95925   else
95926     cat $tmp/out
95927     rm -f $tmp/out
95928   fi
95929
95930   # Run the commands associated with the file.
95931   case $ac_file in
95932     scripts/check_survey ) chmod +x scripts/check_survey ;;
95933     scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
95934   esac
95935 done
95936 _ACEOF
95937 cat >>$CONFIG_STATUS <<\_ACEOF
95938
95939 #
95940 # CONFIG_HEADER section.
95941 #
95942
95943 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
95944 # NAME is the cpp macro being defined and VALUE is the value it is being given.
95945 #
95946 # ac_d sets the value in "#define NAME VALUE" lines.
95947 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
95948 ac_dB='[         ].*$,\1#\2'
95949 ac_dC=' '
95950 ac_dD=',;t'
95951 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
95952 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
95953 ac_uB='$,\1#\2define\3'
95954 ac_uC=' '
95955 ac_uD=',;t'
95956
95957 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
95958   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
95959   case $ac_file in
95960   - | *:- | *:-:* ) # input from stdin
95961         cat >$tmp/stdin
95962         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
95963         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
95964   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
95965         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
95966   * )   ac_file_in=$ac_file.in ;;
95967   esac
95968
95969   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
95970 echo "$as_me: creating $ac_file" >&6;}
95971
95972   # First look for the input files in the build tree, otherwise in the
95973   # src tree.
95974   ac_file_inputs=`IFS=:
95975     for f in $ac_file_in; do
95976       case $f in
95977       -) echo $tmp/stdin ;;
95978       [\\/$]*)
95979          # Absolute (can't be DOS-style, as IFS=:)
95980          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
95981 echo "$as_me: error: cannot find input file: $f" >&2;}
95982    { (exit 1); exit 1; }; }
95983          # Do quote $f, to prevent DOS paths from being IFS'd.
95984          echo "$f";;
95985       *) # Relative
95986          if test -f "$f"; then
95987            # Build tree
95988            echo "$f"
95989          elif test -f "$srcdir/$f"; then
95990            # Source tree
95991            echo "$srcdir/$f"
95992          else
95993            # /dev/null tree
95994            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
95995 echo "$as_me: error: cannot find input file: $f" >&2;}
95996    { (exit 1); exit 1; }; }
95997          fi;;
95998       esac
95999     done` || { (exit 1); exit 1; }
96000   # Remove the trailing spaces.
96001   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
96002
96003 _ACEOF
96004
96005 # Transform confdefs.h into two sed scripts, `conftest.defines' and
96006 # `conftest.undefs', that substitutes the proper values into
96007 # config.h.in to produce config.h.  The first handles `#define'
96008 # templates, and the second `#undef' templates.
96009 # And first: Protect against being on the right side of a sed subst in
96010 # config.status.  Protect against being in an unquoted here document
96011 # in config.status.
96012 rm -f conftest.defines conftest.undefs
96013 # Using a here document instead of a string reduces the quoting nightmare.
96014 # Putting comments in sed scripts is not portable.
96015 #
96016 # `end' is used to avoid that the second main sed command (meant for
96017 # 0-ary CPP macros) applies to n-ary macro definitions.
96018 # See the Autoconf documentation for `clear'.
96019 cat >confdef2sed.sed <<\_ACEOF
96020 s/[\\&,]/\\&/g
96021 s,[\\$`],\\&,g
96022 t clear
96023 : clear
96024 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
96025 t end
96026 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
96027 : end
96028 _ACEOF
96029 # If some macros were called several times there might be several times
96030 # the same #defines, which is useless.  Nevertheless, we may not want to
96031 # sort them, since we want the *last* AC-DEFINE to be honored.
96032 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
96033 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
96034 rm -f confdef2sed.sed
96035
96036 # This sed command replaces #undef with comments.  This is necessary, for
96037 # example, in the case of _POSIX_SOURCE, which is predefined and required
96038 # on some systems where configure will not decide to define it.
96039 cat >>conftest.undefs <<\_ACEOF
96040 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
96041 _ACEOF
96042
96043 # Break up conftest.defines because some shells have a limit on the size
96044 # of here documents, and old seds have small limits too (100 cmds).
96045 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
96046 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
96047 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
96048 echo '  :' >>$CONFIG_STATUS
96049 rm -f conftest.tail
96050 while grep . conftest.defines >/dev/null
96051 do
96052   # Write a limited-size here document to $tmp/defines.sed.
96053   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
96054   # Speed up: don't consider the non `#define' lines.
96055   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
96056   # Work around the forget-to-reset-the-flag bug.
96057   echo 't clr' >>$CONFIG_STATUS
96058   echo ': clr' >>$CONFIG_STATUS
96059   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
96060   echo 'CEOF
96061   sed -f $tmp/defines.sed $tmp/in >$tmp/out
96062   rm -f $tmp/in
96063   mv $tmp/out $tmp/in
96064 ' >>$CONFIG_STATUS
96065   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
96066   rm -f conftest.defines
96067   mv conftest.tail conftest.defines
96068 done
96069 rm -f conftest.defines
96070 echo '  fi # grep' >>$CONFIG_STATUS
96071 echo >>$CONFIG_STATUS
96072
96073 # Break up conftest.undefs because some shells have a limit on the size
96074 # of here documents, and old seds have small limits too (100 cmds).
96075 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
96076 rm -f conftest.tail
96077 while grep . conftest.undefs >/dev/null
96078 do
96079   # Write a limited-size here document to $tmp/undefs.sed.
96080   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
96081   # Speed up: don't consider the non `#undef'
96082   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
96083   # Work around the forget-to-reset-the-flag bug.
96084   echo 't clr' >>$CONFIG_STATUS
96085   echo ': clr' >>$CONFIG_STATUS
96086   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
96087   echo 'CEOF
96088   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
96089   rm -f $tmp/in
96090   mv $tmp/out $tmp/in
96091 ' >>$CONFIG_STATUS
96092   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
96093   rm -f conftest.undefs
96094   mv conftest.tail conftest.undefs
96095 done
96096 rm -f conftest.undefs
96097
96098 cat >>$CONFIG_STATUS <<\_ACEOF
96099   # Let's still pretend it is `configure' which instantiates (i.e., don't
96100   # use $as_me), people would be surprised to read:
96101   #    /* config.h.  Generated by config.status.  */
96102   if test x"$ac_file" = x-; then
96103     echo "/* Generated by configure.  */" >$tmp/config.h
96104   else
96105     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
96106   fi
96107   cat $tmp/in >>$tmp/config.h
96108   rm -f $tmp/in
96109   if test x"$ac_file" != x-; then
96110     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
96111       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
96112 echo "$as_me: $ac_file is unchanged" >&6;}
96113     else
96114       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
96115 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
96116          X"$ac_file" : 'X\(//\)[^/]' \| \
96117          X"$ac_file" : 'X\(//\)$' \| \
96118          X"$ac_file" : 'X\(/\)' \| \
96119          .     : '\(.\)' 2>/dev/null ||
96120 echo X"$ac_file" |
96121     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
96122           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
96123           /^X\(\/\/\)$/{ s//\1/; q; }
96124           /^X\(\/\).*/{ s//\1/; q; }
96125           s/.*/./; q'`
96126       { if $as_mkdir_p; then
96127     mkdir -p "$ac_dir"
96128   else
96129     as_dir="$ac_dir"
96130     as_dirs=
96131     while test ! -d "$as_dir"; do
96132       as_dirs="$as_dir $as_dirs"
96133       as_dir=`(dirname "$as_dir") 2>/dev/null ||
96134 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
96135          X"$as_dir" : 'X\(//\)[^/]' \| \
96136          X"$as_dir" : 'X\(//\)$' \| \
96137          X"$as_dir" : 'X\(/\)' \| \
96138          .     : '\(.\)' 2>/dev/null ||
96139 echo X"$as_dir" |
96140     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
96141           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
96142           /^X\(\/\/\)$/{ s//\1/; q; }
96143           /^X\(\/\).*/{ s//\1/; q; }
96144           s/.*/./; q'`
96145     done
96146     test ! -n "$as_dirs" || mkdir $as_dirs
96147   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
96148 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
96149    { (exit 1); exit 1; }; }; }
96150
96151       rm -f $ac_file
96152       mv $tmp/config.h $ac_file
96153     fi
96154   else
96155     cat $tmp/config.h
96156     rm -f $tmp/config.h
96157   fi
96158 # Compute $ac_file's index in $config_headers.
96159 _am_stamp_count=1
96160 for _am_header in $config_headers :; do
96161   case $_am_header in
96162     $ac_file | $ac_file:* )
96163       break ;;
96164     * )
96165       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
96166   esac
96167 done
96168 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
96169 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
96170          X$ac_file : 'X\(//\)[^/]' \| \
96171          X$ac_file : 'X\(//\)$' \| \
96172          X$ac_file : 'X\(/\)' \| \
96173          .     : '\(.\)' 2>/dev/null ||
96174 echo X$ac_file |
96175     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
96176           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
96177           /^X\(\/\/\)$/{ s//\1/; q; }
96178           /^X\(\/\).*/{ s//\1/; q; }
96179           s/.*/./; q'`/stamp-h$_am_stamp_count
96180 done
96181 _ACEOF
96182 cat >>$CONFIG_STATUS <<\_ACEOF
96183
96184 #
96185 # CONFIG_COMMANDS section.
96186 #
96187 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
96188   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
96189   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
96190   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
96191 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
96192          X"$ac_dest" : 'X\(//\)[^/]' \| \
96193          X"$ac_dest" : 'X\(//\)$' \| \
96194          X"$ac_dest" : 'X\(/\)' \| \
96195          .     : '\(.\)' 2>/dev/null ||
96196 echo X"$ac_dest" |
96197     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
96198           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
96199           /^X\(\/\/\)$/{ s//\1/; q; }
96200           /^X\(\/\).*/{ s//\1/; q; }
96201           s/.*/./; q'`
96202   { if $as_mkdir_p; then
96203     mkdir -p "$ac_dir"
96204   else
96205     as_dir="$ac_dir"
96206     as_dirs=
96207     while test ! -d "$as_dir"; do
96208       as_dirs="$as_dir $as_dirs"
96209       as_dir=`(dirname "$as_dir") 2>/dev/null ||
96210 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
96211          X"$as_dir" : 'X\(//\)[^/]' \| \
96212          X"$as_dir" : 'X\(//\)$' \| \
96213          X"$as_dir" : 'X\(/\)' \| \
96214          .     : '\(.\)' 2>/dev/null ||
96215 echo X"$as_dir" |
96216     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
96217           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
96218           /^X\(\/\/\)$/{ s//\1/; q; }
96219           /^X\(\/\).*/{ s//\1/; q; }
96220           s/.*/./; q'`
96221     done
96222     test ! -n "$as_dirs" || mkdir $as_dirs
96223   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
96224 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
96225    { (exit 1); exit 1; }; }; }
96226
96227   ac_builddir=.
96228
96229 if test "$ac_dir" != .; then
96230   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
96231   # A "../" for each directory in $ac_dir_suffix.
96232   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
96233 else
96234   ac_dir_suffix= ac_top_builddir=
96235 fi
96236
96237 case $srcdir in
96238   .)  # No --srcdir option.  We are building in place.
96239     ac_srcdir=.
96240     if test -z "$ac_top_builddir"; then
96241        ac_top_srcdir=.
96242     else
96243        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
96244     fi ;;
96245   [\\/]* | ?:[\\/]* )  # Absolute path.
96246     ac_srcdir=$srcdir$ac_dir_suffix;
96247     ac_top_srcdir=$srcdir ;;
96248   *) # Relative path.
96249     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
96250     ac_top_srcdir=$ac_top_builddir$srcdir ;;
96251 esac
96252
96253 # Do not use `cd foo && pwd` to compute absolute paths, because
96254 # the directories may not exist.
96255 case `pwd` in
96256 .) ac_abs_builddir="$ac_dir";;
96257 *)
96258   case "$ac_dir" in
96259   .) ac_abs_builddir=`pwd`;;
96260   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
96261   *) ac_abs_builddir=`pwd`/"$ac_dir";;
96262   esac;;
96263 esac
96264 case $ac_abs_builddir in
96265 .) ac_abs_top_builddir=${ac_top_builddir}.;;
96266 *)
96267   case ${ac_top_builddir}. in
96268   .) ac_abs_top_builddir=$ac_abs_builddir;;
96269   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
96270   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
96271   esac;;
96272 esac
96273 case $ac_abs_builddir in
96274 .) ac_abs_srcdir=$ac_srcdir;;
96275 *)
96276   case $ac_srcdir in
96277   .) ac_abs_srcdir=$ac_abs_builddir;;
96278   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
96279   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
96280   esac;;
96281 esac
96282 case $ac_abs_builddir in
96283 .) ac_abs_top_srcdir=$ac_top_srcdir;;
96284 *)
96285   case $ac_top_srcdir in
96286   .) ac_abs_top_srcdir=$ac_abs_builddir;;
96287   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
96288   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
96289   esac;;
96290 esac
96291
96292
96293   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
96294 echo "$as_me: executing $ac_dest commands" >&6;}
96295   case $ac_dest in
96296     default-1 )
96297 # Only add multilib support code if we just rebuilt the top-level
96298 # Makefile.
96299 case " $CONFIG_FILES " in
96300  *" Makefile "*)
96301    ac_file=Makefile . ${multi_basedir}/config-ml.in
96302    ;;
96303 esac ;;
96304     default ) if test -n "$CONFIG_FILES"; then
96305    # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
96306    # that multilib installs will end up installed in the correct place.
96307    # The testsuite needs it for multilib-aware ABI baseline files.
96308    # To work around this not being passed down from config-ml.in ->
96309    # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
96310    # append it here.  Only modify Makefiles that have just been created.
96311    #
96312    # Also, get rid of this simulated-VPATH thing that automake does.
96313    cat > vpsed << \_EOF
96314 s!`test -f '$<' || echo '$(srcdir)/'`!!
96315 _EOF
96316    for i in $SUBDIRS; do
96317     case $CONFIG_FILES in
96318      *${i}/Makefile*)
96319        #echo "Adding MULTISUBDIR to $i/Makefile"
96320        sed -f vpsed $i/Makefile > tmp
96321        grep '^MULTISUBDIR =' Makefile >> tmp
96322        mv tmp $i/Makefile
96323        ;;
96324     esac
96325    done
96326    rm vpsed
96327  fi
96328  (cd include && ${MAKE-make})
96329  ;;
96330   esac
96331 done
96332 _ACEOF
96333
96334 cat >>$CONFIG_STATUS <<\_ACEOF
96335
96336 { (exit 0); exit 0; }
96337 _ACEOF
96338 chmod +x $CONFIG_STATUS
96339 ac_clean_files=$ac_clean_files_save
96340
96341
96342 # configure is writing to config.log, and then calls config.status.
96343 # config.status does its own redirection, appending to config.log.
96344 # Unfortunately, on DOS this fails, as config.log is still kept open
96345 # by configure, so config.status won't be able to write to it; its
96346 # output is simply discarded.  So we exec the FD to /dev/null,
96347 # effectively closing config.log, so it can be properly (re)opened and
96348 # appended to by config.status.  When coming back to configure, we
96349 # need to make the FD available again.
96350 if test "$no_create" != yes; then
96351   ac_cs_success=:
96352   ac_config_status_args=
96353   test "$silent" = yes &&
96354     ac_config_status_args="$ac_config_status_args --quiet"
96355   exec 5>/dev/null
96356   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
96357   exec 5>>config.log
96358   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
96359   # would make configure fail if this is the last instruction.
96360   $ac_cs_success || { (exit 1); exit 1; }
96361 fi
96362